diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-17 14:32:22 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-17 14:32:22 +0300 |
| commit | b27a2ae24487709a880582867170ae3aa5ce33a5 (patch) | |
| tree | 09cdc2cc3070c4e72199699849a55b0ba9b97b69 /Software/Visual_Studio/SideChains | |
| parent | 8d223ccd400fb855eb73f046b25338a04e5f9d34 (diff) | |
| download | Tango-b27a2ae24487709a880582867170ae3aa5ce33a5.tar.gz Tango-b27a2ae24487709a880582867170ae3aa5ce33a5.zip | |
Working on PanelPC project.
Diffstat (limited to 'Software/Visual_Studio/SideChains')
671 files changed, 68221 insertions, 0 deletions
diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.gitattributes b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.gitattributes new file mode 100644 index 000000000..bdb0cabc8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.gitattributes @@ -0,0 +1,17 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.github/CONTRIBUTING.md b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.github/CONTRIBUTING.md new file mode 100644 index 000000000..dde7e904d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.github/CONTRIBUTING.md @@ -0,0 +1,29 @@ +# Contribution Guidelines + +PRs to this project are welcome, but before contributing please bear in mind my thoughts below. If you want to get involved but are unsure, please ask (say hello in the [Gitter chat room](http://gitter.im/ButchersBoy/MaterialDesignInXamlToolkit)). Also note I wrote these guidelines several months after the library was first made available, with the benefit of hindsight. Apologies if there are inconsistencies with what you read below and what's already in the library. + +## The purpose of this libary: + +This is a theme library, **not** a control library. There is a subtle difference. Yes, there are some new custom controls, but their role is to specifically support either styling of existing WPF controls, or to Material Design components, as per the "Components" section in [Google's guidelines](https://www.google.com/design/spec/material-design/introduction.html). + +The role of this library is to give users Material Design themes for standard WPF controls, and custom controls for Google specified components where no parallel exists in WPF, or where existing WPF controls cannot be sufficiently styled to meet the Google specification. Anything else is outside the scope of this library. WPF is very powerful and flexible when it comes to creating custom controls, but that doesn't mean I want to fill up this library with random controls. I want to provide the base tools and controls for Material Design, giving people a springboard to create their own controls where required. + +In no way is this library a home for any sort of application or business logic. + +## Coding standards: + +I code using standard Visual Studio settings, using Resharper, and adopt (most of) ReSharper's suggestions. I'd like code to look pretty similar. + +The API is king. If adding anything to the public interface of this library (controls, helpers etc) be mindful of the naming and usage. Don't be offended if I accept your PR but rename things slightly. + +## UWP: + +This whole project is a personal hobby, and this is even more true of the UWP section. I'm not accepting any PRs to UWP as I will be coding on this in my spare time, and using it as a way to learn and explore UWP for my onw enlightenment. If and when the UWP solution becomes more mature I will relax this stance. + +## TabControl: + +There is no TabControl style, I won't create one, and I wont accept one. I have Dragablz, and don't want the added burden of supporting two styles; even if it is fully complete. I don't want the duplication and the overhead. + +## Submitting a PR: + +Probably the smaller the better (within sensible bounds for the nature of your change); at least keep a single feature to a single branch/PR.
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.github/ISSUE_TEMPLATE b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.github/ISSUE_TEMPLATE new file mode 100644 index 000000000..ba34f3fc4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.github/ISSUE_TEMPLATE @@ -0,0 +1,15 @@ +# PLEASE READ BEFORE POSTING AN ISSUE + +# This is a place for issues. Questions are better asked in the Gitter chat room. + +# Seriously consider creating and linking to a test repo which takes absolutely minimal setup to illustrate how reproduce the problem. + +My time is limited and .Zip files, code snippets and partial examples are often a time sink. GitHub also provides great communication and code review tools which can be utilised. + +# HOW TO POST A GOOD SAMPLE. Follow these guidelines and I will most likely look at the issue sooner: + +* Post a full GitHub repository. Not a zip file, half baked snippet etc. If GitHub is new to you consider it a great learning opportunity and chance to get involved. +* The repository should have just ONE step max for me to get running, and that is "Restore NuGet Packages". If there are any other missing dependencies, or uncompiling features I will most likely move on to another issue. +* I'm not trying to be awkward. I'm just busy and I'm helping a lot of people, not just you, so help me out and I will help you out. + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.gitignore b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.gitignore new file mode 100644 index 000000000..53590a334 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.gitignore @@ -0,0 +1,237 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ + +# Roslyn cache directories +*.ide/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +#NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding addin-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# If using the old MSBuild-Integrated Package Restore, uncomment this: +#!**/packages/repositories.config + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# ========================= +# Operating System Files +# ========================= + +# OSX +# ========================= + +.DS_Store +.AppleDouble +.LSOverride + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# Windows +# ========================= + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + +#React.JS +.module-cache diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.Config b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.Config new file mode 100644 index 000000000..67f8ea046 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.Config @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <solution> + <add key="disableSourceControlIntegration" value="true" /> + </solution> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.exe b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.exe Binary files differnew file mode 100644 index 000000000..324daa842 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.exe diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.targets b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.targets new file mode 100644 index 000000000..3f8c37b22 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.nuget/NuGet.targets @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir> + + <!-- Enable the restore command to run before builds --> + <RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages> + + <!-- Property that enables building a package from a project --> + <BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage> + + <!-- Determines if package restore consent is required to restore packages --> + <RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent> + + <!-- Download NuGet.exe if it does not already exist --> + <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe> + </PropertyGroup> + + <ItemGroup Condition=" '$(PackageSources)' == '' "> + <!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used --> + <!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list --> + <!-- + <PackageSource Include="https://www.nuget.org/api/v2/" /> + <PackageSource Include="https://my-nuget-source/nuget/" /> + --> + </ItemGroup> + + <PropertyGroup Condition=" '$(OS)' == 'Windows_NT'"> + <!-- Windows specific commands --> + <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath> + </PropertyGroup> + + <PropertyGroup Condition=" '$(OS)' != 'Windows_NT'"> + <!-- We need to launch nuget.exe with the mono command if we're not on windows --> + <NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath> + </PropertyGroup> + + <PropertyGroup> + <PackagesProjectConfig Condition=" '$(OS)' == 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config</PackagesProjectConfig> + <PackagesProjectConfig Condition=" '$(OS)' != 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config</PackagesProjectConfig> + </PropertyGroup> + + <PropertyGroup> + <PackagesConfig Condition="Exists('$(MSBuildProjectDirectory)\packages.config')">$(MSBuildProjectDirectory)\packages.config</PackagesConfig> + <PackagesConfig Condition="Exists('$(PackagesProjectConfig)')">$(PackagesProjectConfig)</PackagesConfig> + </PropertyGroup> + + <PropertyGroup> + <!-- NuGet command --> + <NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath> + <PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources> + + <NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand> + <NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(NuGetExePath)"</NuGetCommand> + + <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir> + + <RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch> + <NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch> + + <PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir> + <PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir> + + <!-- Commands --> + <RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand> + <BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand> + + <!-- We need to ensure packages are restored prior to assembly resolve --> + <BuildDependsOn Condition="$(RestorePackages) == 'true'"> + RestorePackages; + $(BuildDependsOn); + </BuildDependsOn> + + <!-- Make the build depend on restore packages --> + <BuildDependsOn Condition="$(BuildPackage) == 'true'"> + $(BuildDependsOn); + BuildPackage; + </BuildDependsOn> + </PropertyGroup> + + <Target Name="CheckPrerequisites"> + <!-- Raise an error if we're unable to locate nuget.exe --> + <Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" /> + <!-- + Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once. + This effectively acts as a lock that makes sure that the download operation will only happen once and all + parallel builds will have to wait for it to complete. + --> + <MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" /> + </Target> + + <Target Name="_DownloadNuGet"> + <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" /> + </Target> + + <Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites"> + <Exec Command="$(RestoreCommand)" + Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" /> + + <Exec Command="$(RestoreCommand)" + LogStandardErrorAsError="true" + Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" /> + </Target> + + <Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites"> + <Exec Command="$(BuildCommand)" + Condition=" '$(OS)' != 'Windows_NT' " /> + + <Exec Command="$(BuildCommand)" + LogStandardErrorAsError="true" + Condition=" '$(OS)' == 'Windows_NT' " /> + </Target> + + <UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> + <ParameterGroup> + <OutputFilename ParameterType="System.String" Required="true" /> + </ParameterGroup> + <Task> + <Reference Include="System.Core" /> + <Using Namespace="System" /> + <Using Namespace="System.IO" /> + <Using Namespace="System.Net" /> + <Using Namespace="Microsoft.Build.Framework" /> + <Using Namespace="Microsoft.Build.Utilities" /> + <Code Type="Fragment" Language="cs"> + <![CDATA[ + try { + OutputFilename = Path.GetFullPath(OutputFilename); + + Log.LogMessage("Downloading latest version of NuGet.exe..."); + WebClient webClient = new WebClient(); + webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename); + + return true; + } + catch (Exception ex) { + Log.LogErrorFromException(ex); + return false; + } + ]]> + </Code> + </Task> + </UsingTask> +</Project> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/Paket.Restore.targets b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/Paket.Restore.targets new file mode 100644 index 000000000..713677347 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/Paket.Restore.targets @@ -0,0 +1,267 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <!-- Prevent dotnet template engine to parse this file --> + <!--/-:cnd:noEmit--> + <PropertyGroup> + <!-- make MSBuild track this file for incremental builds. --> + <!-- ref https://blogs.msdn.microsoft.com/msbuild/2005/09/26/how-to-ensure-changes-to-a-custom-target-file-prompt-a-rebuild/ --> + <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> + <!-- Mark that this target file has been loaded. --> + <IsPaketRestoreTargetsFileLoaded>true</IsPaketRestoreTargetsFileLoaded> + <PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath> + <PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath> + <PaketRestoreCacheFile>$(PaketRootPath)paket-files\paket.restore.cached</PaketRestoreCacheFile> + <PaketLockFilePath>$(PaketRootPath)paket.lock</PaketLockFilePath> + <MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath> + <MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath> + <!-- Paket command --> + <PaketExePath Condition=" '$(PaketExePath)' == '' AND Exists('$(PaketRootPath)paket.exe')">$(PaketRootPath)paket.exe</PaketExePath> + <PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath> + <PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand> + <PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand> + <PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' AND Exists('$(PaketRootPath)paket.bootstrapper.exe')">$(PaketRootPath)paket.bootstrapper.exe</PaketBootStrapperExePath> + <PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath> + <PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)"</PaketBootStrapperCommand> + <PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)"</PaketBootStrapperCommand> + + <!-- Disable automagic references for F# dotnet sdk --> + <!-- This will not do anything for other project types --> + <!-- see https://github.com/fsharp/fslang-design/blob/master/RFCs/FS-1032-fsharp-in-dotnet-sdk.md --> + <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> + <DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference> + </PropertyGroup> + + <Target Name="PaketRestore" Condition="'$(PaketRestoreDisabled)' != 'True'" BeforeTargets="_GenerateDotnetCliToolReferenceSpecs;_GenerateProjectRestoreGraphPerFramework;_GenerateRestoreGraphWalkPerFramework;CollectPackageReferences" > + + <!-- Step 1 Check if lockfile is properly restored --> + <PropertyGroup> + <PaketRestoreRequired>true</PaketRestoreRequired> + <NoWarn>$(NoWarn);NU1603</NoWarn> + </PropertyGroup> + + <!-- Because ReadAllText is slow on osx/linux, try to find shasum and awk --> + <PropertyGroup> + <PaketRestoreCachedHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreCachedHasher)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum $(PaketRestoreCacheFile) | /usr/bin/awk '{ print $1 }'</PaketRestoreCachedHasher> + <PaketRestoreLockFileHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreLockFileHash)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum $(PaketLockFilePath) | /usr/bin/awk '{ print $1 }'</PaketRestoreLockFileHasher> + </PropertyGroup> + + <!-- If shasum and awk exist get the hashes --> + <Exec Condition=" '$(PaketRestoreCachedHasher)' != '' " Command="$(PaketRestoreCachedHasher)" ConsoleToMSBuild='true'> + <Output TaskParameter="ConsoleOutput" PropertyName="PaketRestoreCachedHash" /> + </Exec> + <Exec Condition=" '$(PaketRestoreLockFileHasher)' != '' " Command="$(PaketRestoreLockFileHasher)" ConsoleToMSBuild='true'> + <Output TaskParameter="ConsoleOutput" PropertyName="PaketRestoreLockFileHash" /> + </Exec> + + <PropertyGroup Condition="Exists('$(PaketRestoreCacheFile)') "> + <!-- if no hash has been done yet fall back to just reading in the files and comparing them --> + <PaketRestoreCachedHash Condition=" '$(PaketRestoreCachedHash)' == '' ">$([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)'))</PaketRestoreCachedHash> + <PaketRestoreLockFileHash Condition=" '$(PaketRestoreLockFileHash)' == '' ">$([System.IO.File]::ReadAllText('$(PaketLockFilePath)'))</PaketRestoreLockFileHash> + <PaketRestoreRequired>true</PaketRestoreRequired> + <PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '$(PaketRestoreCachedHash)' ">false</PaketRestoreRequired> + <PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '' ">true</PaketRestoreRequired> + </PropertyGroup> + + <!-- Do a global restore if required --> + <Exec Command='$(PaketBootStrapperCommand)' Condition="Exists('$(PaketBootStrapperExePath)') AND !(Exists('$(PaketExePath)'))" ContinueOnError="false" /> + <Exec Command='$(PaketCommand) restore' Condition=" '$(PaketRestoreRequired)' == 'true' " ContinueOnError="false" /> + + <!-- Step 2 Detect project specific changes --> + <PropertyGroup> + <PaketReferencesCachedFilePath>$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).paket.references.cached</PaketReferencesCachedFilePath> + <!-- MyProject.fsproj.paket.references has the highest precedence --> + <PaketOriginalReferencesFilePath>$(MSBuildProjectFullPath).paket.references</PaketOriginalReferencesFilePath> + <!-- MyProject.paket.references --> + <PaketOriginalReferencesFilePath Condition=" !Exists('$(PaketOriginalReferencesFilePath)')">$(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references</PaketOriginalReferencesFilePath> + <!-- paket.references --> + <PaketOriginalReferencesFilePath Condition=" !Exists('$(PaketOriginalReferencesFilePath)')">$(MSBuildProjectDirectory)\paket.references</PaketOriginalReferencesFilePath> + <PaketResolvedFilePath>$(MSBuildProjectDirectory)\obj\$(MSBuildProjectFile).$(TargetFramework).paket.resolved</PaketResolvedFilePath> + <PaketRestoreRequired>true</PaketRestoreRequired> + <PaketRestoreRequiredReason>references-file-or-cache-not-found</PaketRestoreRequiredReason> + </PropertyGroup> + + <!-- Step 2 a Detect changes in references file --> + <PropertyGroup Condition="Exists('$(PaketOriginalReferencesFilePath)') AND Exists('$(PaketReferencesCachedFilePath)') "> + <PaketRestoreCachedHash>$([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)'))</PaketRestoreCachedHash> + <PaketRestoreReferencesFileHash>$([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)'))</PaketRestoreReferencesFileHash> + <PaketRestoreRequiredReason>references-file</PaketRestoreRequiredReason> + <PaketRestoreRequired Condition=" '$(PaketRestoreReferencesFileHash)' == '$(PaketRestoreCachedHash)' ">false</PaketRestoreRequired> + </PropertyGroup> + + <PropertyGroup Condition="!Exists('$(PaketOriginalReferencesFilePath)') AND !Exists('$(PaketReferencesCachedFilePath)') "> + <!-- If both don't exist there is nothing to do. --> + <PaketRestoreRequired>false</PaketRestoreRequired> + </PropertyGroup> + + <!-- Step 2 b detect relevant changes in project file (new targetframework) --> + <PropertyGroup Condition=" !Exists('$(PaketResolvedFilePath)') AND '$(TargetFramework)' != '' "> + <PaketRestoreRequired>true</PaketRestoreRequired> + <PaketRestoreRequiredReason>target-framework '$(TargetFramework)'</PaketRestoreRequiredReason> + </PropertyGroup> + + <!-- Step 3 Restore project specific stuff if required --> + <Message Condition=" '$(PaketRestoreRequired)' == 'true' " Importance="low" Text="Detected a change ('$(PaketRestoreRequiredReason)') in the project file '$(MSBuildProjectFullPath)', calling paket restore" /> + <Exec Command='$(PaketCommand) restore --project "$(MSBuildProjectFullPath)"' Condition=" '$(PaketRestoreRequired)' == 'true' " ContinueOnError="false" /> + + <!-- This shouldn't actually happen, but just to be sure. --> + <Error Condition=" !Exists('$(PaketResolvedFilePath)') AND '$(TargetFramework)' != '' AND '$(ResolveNuGetPackages)' != 'False' " Text="Paket file '$(PaketResolvedFilePath)' is missing while restoring $(MSBuildProjectFile). Please delete 'paket-files/paket.restore.cached' and call 'paket restore'." /> + + <!-- Step 4 forward all msbuild properties (PackageReference, DotNetCliToolReference) to msbuild --> + <ReadLinesFromFile Condition="Exists('$(PaketResolvedFilePath)')" File="$(PaketResolvedFilePath)" > + <Output TaskParameter="Lines" ItemName="PaketReferencesFileLines"/> + </ReadLinesFromFile> + + <ItemGroup Condition=" Exists('$(PaketResolvedFilePath)') AND '@(PaketReferencesFileLines)' != '' " > + <PaketReferencesFileLinesInfo Include="@(PaketReferencesFileLines)" > + <PackageName>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])</PackageName> + <PackageVersion>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])</PackageVersion> + <AllPrivateAssets>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4])</AllPrivateAssets> + </PaketReferencesFileLinesInfo> + <PackageReference Include="%(PaketReferencesFileLinesInfo.PackageName)"> + <Version>%(PaketReferencesFileLinesInfo.PackageVersion)</Version> + <PrivateAssets Condition="%(PaketReferencesFileLinesInfo.AllPrivateAssets) == 'true'">All</PrivateAssets> + </PackageReference> + </ItemGroup> + + <PropertyGroup> + <PaketCliToolFilePath>$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).paket.clitools</PaketCliToolFilePath> + </PropertyGroup> + + <ReadLinesFromFile File="$(PaketCliToolFilePath)" > + <Output TaskParameter="Lines" ItemName="PaketCliToolFileLines"/> + </ReadLinesFromFile> + + <ItemGroup Condition=" '@(PaketCliToolFileLines)' != '' " > + <PaketCliToolFileLinesInfo Include="@(PaketCliToolFileLines)" > + <PackageName>$([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0])</PackageName> + <PackageVersion>$([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1])</PackageVersion> + </PaketCliToolFileLinesInfo> + <DotNetCliToolReference Include="%(PaketCliToolFileLinesInfo.PackageName)"> + <Version>%(PaketCliToolFileLinesInfo.PackageVersion)</Version> + </DotNetCliToolReference> + </ItemGroup> + + <PropertyGroup> + <RestoreConfigFile>$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).NuGet.Config</RestoreConfigFile> + </PropertyGroup> + + </Target> + + <Target Name="PaketDisableDirectPack" AfterTargets="_IntermediatePack" BeforeTargets="GenerateNuspec" Condition="('$(IsPackable)' == '' Or '$(IsPackable)' == 'true') And Exists('$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).references')" > + <PropertyGroup> + <ContinuePackingAfterGeneratingNuspec>false</ContinuePackingAfterGeneratingNuspec> + </PropertyGroup> + </Target> + + <Target Name="PaketOverrideNuspec" AfterTargets="GenerateNuspec" Condition="('$(IsPackable)' == '' Or '$(IsPackable)' == 'true') And Exists('$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).references')" > + <ItemGroup> + <_NuspecFilesNewLocation Include="$(BaseIntermediateOutputPath)$(Configuration)\*.nuspec"/> + </ItemGroup> + + <PropertyGroup> + <PaketProjectFile>$(MSBuildProjectDirectory)/$(MSBuildProjectFile)</PaketProjectFile> + <ContinuePackingAfterGeneratingNuspec>true</ContinuePackingAfterGeneratingNuspec> + <UseNewPack>false</UseNewPack> + <UseNewPack Condition=" '$(NuGetToolVersion)' != '4.0.0' ">true</UseNewPack> + <AdjustedNuspecOutputPath>$(BaseIntermediateOutputPath)$(Configuration)</AdjustedNuspecOutputPath> + <AdjustedNuspecOutputPath Condition="@(_NuspecFilesNewLocation) == ''">$(BaseIntermediateOutputPath)</AdjustedNuspecOutputPath> + </PropertyGroup> + + <ItemGroup> + <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.nuspec"/> + </ItemGroup> + + <Exec Command='$(PaketCommand) fix-nuspecs files "@(_NuspecFiles)" project-file "$(PaketProjectFile)" ' Condition="@(_NuspecFiles) != ''" /> + + <ConvertToAbsolutePath Condition="@(_NuspecFiles) != ''" Paths="@(_NuspecFiles)"> + <Output TaskParameter="AbsolutePaths" PropertyName="NuspecFileAbsolutePath" /> + </ConvertToAbsolutePath> + + + <!-- Call Pack --> + <PackTask Condition="$(UseNewPack)" + PackItem="$(PackProjectInputFile)" + PackageFiles="@(_PackageFiles)" + PackageFilesToExclude="@(_PackageFilesToExclude)" + PackageVersion="$(PackageVersion)" + PackageId="$(PackageId)" + Title="$(Title)" + Authors="$(Authors)" + Description="$(Description)" + Copyright="$(Copyright)" + RequireLicenseAcceptance="$(PackageRequireLicenseAcceptance)" + LicenseUrl="$(PackageLicenseUrl)" + ProjectUrl="$(PackageProjectUrl)" + IconUrl="$(PackageIconUrl)" + ReleaseNotes="$(PackageReleaseNotes)" + Tags="$(PackageTags)" + DevelopmentDependency="$(DevelopmentDependency)" + BuildOutputInPackage="@(_BuildOutputInPackage)" + TargetPathsToSymbols="@(_TargetPathsToSymbols)" + TargetFrameworks="@(_TargetFrameworks)" + AssemblyName="$(AssemblyName)" + PackageOutputPath="$(PackageOutputAbsolutePath)" + IncludeSymbols="$(IncludeSymbols)" + IncludeSource="$(IncludeSource)" + PackageTypes="$(PackageType)" + IsTool="$(IsTool)" + RepositoryUrl="$(RepositoryUrl)" + RepositoryType="$(RepositoryType)" + SourceFiles="@(_SourceFiles->Distinct())" + NoPackageAnalysis="$(NoPackageAnalysis)" + MinClientVersion="$(MinClientVersion)" + Serviceable="$(Serviceable)" + FrameworkAssemblyReferences="@(_FrameworkAssemblyReferences)" + ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)" + NuspecOutputPath="$(AdjustedNuspecOutputPath)" + IncludeBuildOutput="$(IncludeBuildOutput)" + BuildOutputFolder="$(BuildOutputTargetFolder)" + ContentTargetFolders="$(ContentTargetFolders)" + RestoreOutputPath="$(RestoreOutputAbsolutePath)" + NuspecFile="$(NuspecFileAbsolutePath)" + NuspecBasePath="$(NuspecBasePath)" + NuspecProperties="$(NuspecProperties)"/> + + <PackTask Condition="! $(UseNewPack)" + PackItem="$(PackProjectInputFile)" + PackageFiles="@(_PackageFiles)" + PackageFilesToExclude="@(_PackageFilesToExclude)" + PackageVersion="$(PackageVersion)" + PackageId="$(PackageId)" + Title="$(Title)" + Authors="$(Authors)" + Description="$(Description)" + Copyright="$(Copyright)" + RequireLicenseAcceptance="$(PackageRequireLicenseAcceptance)" + LicenseUrl="$(PackageLicenseUrl)" + ProjectUrl="$(PackageProjectUrl)" + IconUrl="$(PackageIconUrl)" + ReleaseNotes="$(PackageReleaseNotes)" + Tags="$(PackageTags)" + TargetPathsToAssemblies="@(_TargetPathsToAssemblies->'%(FinalOutputPath)')" + TargetPathsToSymbols="@(_TargetPathsToSymbols)" + TargetFrameworks="@(_TargetFrameworks)" + AssemblyName="$(AssemblyName)" + PackageOutputPath="$(PackageOutputAbsolutePath)" + IncludeSymbols="$(IncludeSymbols)" + IncludeSource="$(IncludeSource)" + PackageTypes="$(PackageType)" + IsTool="$(IsTool)" + RepositoryUrl="$(RepositoryUrl)" + RepositoryType="$(RepositoryType)" + SourceFiles="@(_SourceFiles->Distinct())" + NoPackageAnalysis="$(NoPackageAnalysis)" + MinClientVersion="$(MinClientVersion)" + Serviceable="$(Serviceable)" + AssemblyReferences="@(_References)" + ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)" + NuspecOutputPath="$(AdjustedNuspecOutputPath)" + IncludeBuildOutput="$(IncludeBuildOutput)" + BuildOutputFolder="$(BuildOutputTargetFolder)" + ContentTargetFolders="$(ContentTargetFolders)" + RestoreOutputPath="$(RestoreOutputAbsolutePath)" + NuspecFile="$(NuspecFileAbsolutePath)" + NuspecBasePath="$(NuspecBasePath)" + NuspecProperties="$(NuspecProperties)"/> + </Target> + <!--/+:cnd:noEmit--> +</Project> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.bootstrapper.exe b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.bootstrapper.exe Binary files differnew file mode 100644 index 000000000..e65914f3f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.bootstrapper.exe diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.exe b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.exe Binary files differnew file mode 100644 index 000000000..0b0ca3140 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.exe diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.targets b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.targets new file mode 100644 index 000000000..e57d15cad --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/.paket/paket.targets @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <PropertyGroup> + <!-- Enable the restore command to run before builds --> + <RestorePackages Condition=" '$(RestorePackages)' == '' ">true</RestorePackages> + <PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath> + <PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath> + <PaketLockFilePath>$(PaketRootPath)paket.lock</PaketLockFilePath> + <PaketRestoreCacheFile>$(PaketRootPath)paket-files\paket.restore.cached</PaketRestoreCacheFile> + <MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath> + <MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath> + </PropertyGroup> + + <PropertyGroup> + <!-- Paket command --> + <PaketExePath Condition=" '$(PaketExePath)' == '' AND Exists('$(PaketRootPath)paket.exe')">$(PaketRootPath)paket.exe</PaketExePath> + <PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath> + <PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand> + <PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand> + </PropertyGroup> + + <Choose> <!-- MyProject.fsproj.paket.references has the highest precedence --> + <When Condition="Exists('$(MSBuildProjectFullPath).paket.references')"> + <PropertyGroup> + <PaketReferences>$(MSBuildProjectFullPath).paket.references</PaketReferences> + </PropertyGroup> + </When> <!-- MyProject.paket.references --> + <When Condition="Exists('$(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references')"> + <PropertyGroup> + <PaketReferences>$(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references</PaketReferences> + </PropertyGroup> + </When> <!-- paket.references --> + <When Condition="Exists('$(MSBuildProjectDirectory)\paket.references')"> + <PropertyGroup> + <PaketReferences>$(MSBuildProjectDirectory)\paket.references</PaketReferences> + </PropertyGroup> + </When> <!-- Set to empty if a reference file isn't found matching one of the 3 format options --> + <Otherwise> + <PropertyGroup> + <PaketReferences></PaketReferences> + </PropertyGroup> + </Otherwise> + </Choose> + + <PropertyGroup> + <!-- Commands --> + <RestoreCommand>$(PaketCommand) restore --references-file "$(PaketReferences)"</RestoreCommand> + <!-- We need to ensure packages are restored prior to assembly resolve --> + <BuildDependsOn Condition="$(RestorePackages) == 'true'">RestorePackages; $(BuildDependsOn);</BuildDependsOn> + </PropertyGroup> + <Target Name="RestorePackages"> + <PropertyGroup> + <PaketRestoreRequired>true</PaketRestoreRequired> + </PropertyGroup> + + <PropertyGroup Condition="Exists('$(PaketRestoreCacheFile)') "> + <PaketRestoreCachedHash>$([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)'))</PaketRestoreCachedHash> + <PaketRestoreLockFileHash>$([System.IO.File]::ReadAllText('$(PaketLockFilePath)'))</PaketRestoreLockFileHash> + <PaketRestoreRequired>true</PaketRestoreRequired> + <PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '$(PaketRestoreCachedHash)' ">false</PaketRestoreRequired> + <PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '' ">true</PaketRestoreRequired> + </PropertyGroup> + + <Exec Command="$(RestoreCommand)" + IgnoreStandardErrorWarningFormat="true" + WorkingDirectory="$(PaketRootPath)" + ContinueOnError="false" + Condition=" '$(PaketRestoreRequired)' == 'true' AND Exists('$(PaketReferences)') AND '$(PaketReferences)' != '' " + /> + </Target> +</Project> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/Code b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/Code Binary files differnew file mode 100644 index 000000000..9d9c616fc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/Code diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/LICENSE b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/LICENSE new file mode 100644 index 000000000..320040e61 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) James Willock, Mulholland Software and Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/AnotherCommandImplementation.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/AnotherCommandImplementation.cs new file mode 100644 index 000000000..dc3e83552 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/AnotherCommandImplementation.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Input; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// No WPF project is complete without it's own version of this. + /// </summary> + public class AnotherCommandImplementation : ICommand + { + private readonly Action<object> _execute; + private readonly Func<object, bool> _canExecute; + + public AnotherCommandImplementation(Action<object> execute) : this(execute, null) + { + } + + public AnotherCommandImplementation(Action<object> execute, Func<object, bool> canExecute) + { + if (execute == null) throw new ArgumentNullException(nameof(execute)); + + _execute = execute; + _canExecute = canExecute ?? (x => true); + } + + public bool CanExecute(object parameter) + { + return _canExecute(parameter); + } + + public void Execute(object parameter) + { + _execute(parameter); + } + + public event EventHandler CanExecuteChanged + { + add + { + CommandManager.RequerySuggested += value; + } + remove + { + CommandManager.RequerySuggested -= value; + } + } + + public void Refresh() + { + CommandManager.InvalidateRequerySuggested(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.config b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.config new file mode 100644 index 000000000..8e1564635 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.config @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> + </startup> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.xaml new file mode 100644 index 000000000..021d4caeb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.xaml @@ -0,0 +1,55 @@ +<Application x:Class="MahMaterialDragablzMashUp.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:dragablz="clr-namespace:Dragablz;assembly=Dragablz" + xmlns:options="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options" + StartupUri="MainWindow.xaml"> + <Application.Resources> + <ResourceDictionary> + + <ResourceDictionary.MergedDictionaries> + + <!-- MahApps --> + <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" /> + + <!-- Material Design --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" /> + + <!-- Material Design: MahApps Compatibility --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Defaults.xaml "/> + + <!-- Dragablz Material Design --> + <ResourceDictionary Source="pack://application:,,,/Dragablz;component/Themes/materialdesign.xaml"/> + + </ResourceDictionary.MergedDictionaries> + + <!-- MahApps Brushes --> + <SolidColorBrush x:Key="HighlightBrush" Color="{DynamicResource Primary700}"/> + <SolidColorBrush x:Key="AccentColorBrush" Color="{DynamicResource Primary500}"/> + <SolidColorBrush x:Key="AccentColorBrush2" Color="{DynamicResource Primary400}"/> + <SolidColorBrush x:Key="AccentColorBrush3" Color="{DynamicResource Primary300}"/> + <SolidColorBrush x:Key="AccentColorBrush4" Color="{DynamicResource Primary200}"/> + <SolidColorBrush x:Key="WindowTitleColorBrush" Color="{DynamicResource Primary700}"/> + <SolidColorBrush x:Key="AccentSelectedColorBrush" Color="{DynamicResource Primary500Foreground}"/> + <LinearGradientBrush x:Key="ProgressBrush" EndPoint="0.001,0.5" StartPoint="1.002,0.5"> + <GradientStop Color="{DynamicResource Primary700}" Offset="0"/> + <GradientStop Color="{DynamicResource Primary300}" Offset="1"/> + </LinearGradientBrush> + <SolidColorBrush x:Key="CheckmarkFill" Color="{DynamicResource Primary500}"/> + <SolidColorBrush x:Key="RightArrowFill" Color="{DynamicResource Primary500}"/> + <SolidColorBrush x:Key="IdealForegroundColorBrush" Color="{DynamicResource Primary500Foreground}"/> + <SolidColorBrush x:Key="IdealForegroundDisabledBrush" Color="{DynamicResource Primary500}" Opacity="0.4"/> + + <!-- Dragablz Material Design --> + <Style TargetType="{x:Type dragablz:TabablzControl}" BasedOn="{StaticResource MaterialDesignTabablzControlStyle}" /> + + </ResourceDictionary> + </Application.Resources> +</Application> +
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.xaml.cs new file mode 100644 index 000000000..d4cf503ea --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// Interaction logic for App.xaml + /// </summary> + public partial class App : Application + { + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Dialogs.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Dialogs.xaml new file mode 100644 index 000000000..ce0ca0551 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Dialogs.xaml @@ -0,0 +1,17 @@ +<UserControl x:Class="MahMaterialDragablzMashUp.Dialogs" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MahMaterialDragablzMashUp" + xmlns:dialogs="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro" + mc:Ignorable="d" + dialogs:DialogParticipation.Register="{Binding}" + d:DesignHeight="300" d:DesignWidth="300" + d:DataContext="{d:DesignInstance local:DialogsViewModel}"> + <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"> + <Button Command="{Binding ShowInputDialogCommand}">INPUT DIALOG</Button> + <Button Command="{Binding ShowProgressDialogCommand}" Margin="0 48 0 0">PROGRESS DIALOG</Button> + <Button Command="{Binding ShowLeftFlyoutCommand}" Margin="0 48 0 0">FLYOUT</Button> + </StackPanel> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Dialogs.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Dialogs.xaml.cs new file mode 100644 index 000000000..19aa39fac --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Dialogs.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// Interaction logic for Dialogs.xaml + /// </summary> + public partial class Dialogs : UserControl + { + public Dialogs() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/DialogsViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/DialogsViewModel.cs new file mode 100644 index 000000000..6175587c4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/DialogsViewModel.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; +using MahApps.Metro.Controls; +using MahApps.Metro.Controls.Dialogs; + +namespace MahMaterialDragablzMashUp +{ + public class DialogsViewModel + { + public ICommand ShowInputDialogCommand { get; } + + public ICommand ShowProgressDialogCommand { get; } + + public ICommand ShowLeftFlyoutCommand { get; } + + private ResourceDictionary DialogDictionary = new ResourceDictionary() { Source = new Uri("pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Dialogs.xaml") }; + + public DialogsViewModel() + { + ShowInputDialogCommand = new AnotherCommandImplementation(_ => InputDialog()); + ShowProgressDialogCommand = new AnotherCommandImplementation(_ => ProgressDialog()); + ShowLeftFlyoutCommand = new AnotherCommandImplementation(_ => ShowLeftFlyout()); + } + + public Flyout LeftFlyout { get; set; } + + private void InputDialog() + { + var metroDialogSettings = new MetroDialogSettings + { + CustomResourceDictionary = DialogDictionary, + NegativeButtonText = "CANCEL", + SuppressDefaultResources = true + }; + + DialogCoordinator.Instance.ShowInputAsync(this, "MahApps Dialog", "Using Material Design Themes", metroDialogSettings); + } + + private async void ProgressDialog() + { + var metroDialogSettings = new MetroDialogSettings + { + CustomResourceDictionary = DialogDictionary, + NegativeButtonText = "CANCEL", + SuppressDefaultResources = true + }; + + var controller = await DialogCoordinator.Instance.ShowProgressAsync(this, "MahApps Dialog", "Using Material Design Themes (WORK IN PROGRESS)", true, metroDialogSettings); + controller.SetIndeterminate(); + await Task.Delay(3000); + await controller.CloseAsync(); + } + + private void ShowLeftFlyout() + { + ((MainWindow)Application.Current.MainWindow).LeftFlyout.IsOpen = !((MainWindow)Application.Current.MainWindow).LeftFlyout.IsOpen; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/FlyoutContent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/FlyoutContent.xaml new file mode 100644 index 000000000..cbd1597b0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/FlyoutContent.xaml @@ -0,0 +1,21 @@ +<UserControl x:Class="MahMaterialDragablzMashUp.FlyoutContent" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MahMaterialDragablzMashUp" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <StackPanel Margin="24"> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" FontSize="18" MinWidth="120" /> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" MinWidth="120" Margin="0 8 0 0" /> + </StackPanel> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/FlyoutContent.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/FlyoutContent.xaml.cs new file mode 100644 index 000000000..a862d73a4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/FlyoutContent.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// Interaction logic for FlyoutContent.xaml + /// </summary> + public partial class FlyoutContent : UserControl + { + public FlyoutContent() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml new file mode 100644 index 000000000..cc5ee62ba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml @@ -0,0 +1,22 @@ +<UserControl x:Class="MahMaterialDragablzMashUp.Mah" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <StackPanel> + <TextBlock TextWrapping="Wrap">All controls using MahApps themes, will use Material Design pallete.</TextBlock> + <ListBox Margin="0 8 0 0"> + <ListBoxItem IsSelected="True">MahApps</ListBoxItem> + <ListBoxItem>Dragablz</ListBoxItem> + <ListBoxItem>Material</ListBoxItem> + </ListBox> + <controls:ToggleSwitch IsChecked="True" HorizontalAlignment="Left" /> + <Button Width="100" Margin="0 8 0 0" Content="Nice" HorizontalAlignment="Left" + Style="{DynamicResource AccentedSquareButtonStyle}" /> + <controls:RangeSlider Margin="0 16 0 0" LowerValue="25" UpperValue="75" /> + <controls:RangeSlider Margin="0 16 0 0" LowerValue="25" UpperValue="75" Orientation="Vertical" Height="200" /> + </StackPanel> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml.cs new file mode 100644 index 000000000..7b2cd9520 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Mah.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// Interaction logic for MahApps.xaml + /// </summary> + public partial class Mah : UserControl + { + public Mah() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj new file mode 100644 index 000000000..9c62a9b09 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj @@ -0,0 +1,197 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}</ProjectGuid> + <OutputType>WinExe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MahAppsDragablzDemo</RootNamespace> + <AssemblyName>MahAppsDragablzDemo</AssemblyName> + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <WarningLevel>4</WarningLevel> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup> + <StartupObject> + </StartupObject> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppVeyor|AnyCPU'"> + <OutputPath>bin\AppVeyor\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>AnyCPU</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Xaml"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="WindowsBase" /> + <Reference Include="PresentationCore" /> + <Reference Include="PresentationFramework" /> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </ApplicationDefinition> + <Page Include="Dialogs.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="FlyoutContent.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Mah.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="MainWindow.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Compile Include="AnotherCommandImplementation.cs" /> + <Compile Include="App.xaml.cs"> + <DependentUpon>App.xaml</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="Dialogs.xaml.cs"> + <DependentUpon>Dialogs.xaml</DependentUpon> + </Compile> + <Compile Include="DialogsViewModel.cs" /> + <Compile Include="FlyoutContent.xaml.cs"> + <DependentUpon>FlyoutContent.xaml</DependentUpon> + </Compile> + <Compile Include="PaletteSelectorViewModel.cs" /> + <Compile Include="Mah.xaml.cs"> + <DependentUpon>Mah.xaml</DependentUpon> + </Compile> + <Compile Include="MainWindow.xaml.cs"> + <DependentUpon>MainWindow.xaml</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Page Include="PaletteSelector.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + </ItemGroup> + <ItemGroup> + <Compile Include="NotEmptyValidationRule.cs" /> + <Compile Include="PaletteSelector.xaml.cs"> + <DependentUpon>PaletteSelector.xaml</DependentUpon> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + <None Include="paket.references" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <AppDesigner Include="Properties\" /> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignColors.Wpf\MaterialDesignColors.Wpf.csproj"> + <Project>{90b53209-c60c-4655-b28d-a1b3e1044ba3}</Project> + <Name>MaterialDesignColors.Wpf</Name> + </ProjectReference> + <ProjectReference Include="..\MaterialDesignThemes.MahApps\MaterialDesignThemes.MahApps.csproj"> + <Project>{81556a2d-d467-43e7-945b-fd987c676cf6}</Project> + <Name>MaterialDesignThemes.MahApps</Name> + </ProjectReference> + <ProjectReference Include="..\MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj"> + <Project>{f079fb0a-a8ed-4216-b6a5-345756751a04}</Project> + <Name>MaterialDesignThemes.Wpf</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Resource Include="Resources\ProfilePic.jpg" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <Import Project="..\.paket\paket.targets" /> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="Dragablz"> + <HintPath>..\packages\Dragablz\lib\net45\Dragablz.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="MahApps.Metro"> + <HintPath>..\packages\MahApps.Metro\lib\net45\MahApps.Metro.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + <Reference Include="System.Windows.Interactivity"> + <HintPath>..\packages\MahApps.Metro\lib\net45\System.Windows.Interactivity.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MainWindow.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MainWindow.xaml new file mode 100644 index 000000000..53bd2e88e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MainWindow.xaml @@ -0,0 +1,58 @@ +<controls:MetroWindow x:Class="MahMaterialDragablzMashUp.MainWindow" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls" + xmlns:dragablz="clr-namespace:Dragablz;assembly=Dragablz" + xmlns:mahMaterialDragablzMashUp="clr-namespace:MahMaterialDragablzMashUp" + xmlns:dockablz="clr-namespace:Dragablz.Dockablz;assembly=Dragablz" + xmlns:wpf="http://materialdesigninxaml.net/winfx/xaml/themes" + WindowTransitionsEnabled="False" + TextElement.Foreground="{DynamicResource MaterialDesignBody}" + Background="{DynamicResource MaterialDesignPaper}" + GlowBrush="{DynamicResource AccentColorBrush}" + FontFamily="{StaticResource DefaultFont}" + Title="Material-MahApps-Dragablz Mash Up" Height="640" Width="800"> + <controls:MetroWindow.Flyouts> + <controls:FlyoutsControl> + <controls:Flyout x:Name="LeftFlyout" Position="Left" Header="Settings" wpf:FlyoutAssist.HeaderColorMode="Accent"> + <mahMaterialDragablzMashUp:FlyoutContent /> + </controls:Flyout> + </controls:FlyoutsControl> + </controls:MetroWindow.Flyouts> + <controls:MetroWindow.LeftWindowCommands> + <controls:WindowCommands> + <wpf:PopupBox Style="{StaticResource WindowCommandsPopupBoxStyle}"> + <StackPanel> + <Button Content="Hello World"/> + <Button Content="Nice Popup"/> + <Button Content="Goodbye"/> + </StackPanel> + </wpf:PopupBox> + </controls:WindowCommands> + </controls:MetroWindow.LeftWindowCommands> + <dockablz:Layout> + <dragablz:TabablzControl BorderThickness="0" + Margin="0,-1,0,1"> + <dragablz:TabablzControl.InterTabController> + <dragablz:InterTabController /> + </dragablz:TabablzControl.InterTabController> + <TabItem Header="DIALOGS"> + <mahMaterialDragablzMashUp:Dialogs Margin="8"> + <mahMaterialDragablzMashUp:Dialogs.DataContext> + <mahMaterialDragablzMashUp:DialogsViewModel /> + </mahMaterialDragablzMashUp:Dialogs.DataContext> + </mahMaterialDragablzMashUp:Dialogs> + </TabItem> + <TabItem Header="MAHAPPS"> + <mahMaterialDragablzMashUp:Mah Margin="16" /> + </TabItem> + <TabItem Header="PALETTE"> + <mahMaterialDragablzMashUp:PaletteSelector Margin="16"> + <mahMaterialDragablzMashUp:PaletteSelector.DataContext> + <mahMaterialDragablzMashUp:PaletteSelectorViewModel /> + </mahMaterialDragablzMashUp:PaletteSelector.DataContext> + </mahMaterialDragablzMashUp:PaletteSelector> + </TabItem> + </dragablz:TabablzControl> + </dockablz:Layout> +</controls:MetroWindow> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MainWindow.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MainWindow.xaml.cs new file mode 100644 index 000000000..68abdb899 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/MainWindow.xaml.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MahApps.Metro.Controls; +using MaterialDesignColors; +using MaterialDesignThemes.Wpf; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// Interaction logic for MainWindow.xaml + /// </summary> + public partial class MainWindow + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/NotEmptyValidationRule.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/NotEmptyValidationRule.cs new file mode 100644 index 000000000..64965d8f2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/NotEmptyValidationRule.cs @@ -0,0 +1,15 @@ +using System.Globalization; +using System.Windows.Controls; + +namespace MaterialDesignColors.WpfExample +{ + public class NotEmptyValidationRule : ValidationRule + { + public override ValidationResult Validate(object value, CultureInfo cultureInfo) + { + return string.IsNullOrWhiteSpace((value ?? "").ToString()) + ? new ValidationResult(false, "Field is required.") + : ValidationResult.ValidResult; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelector.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelector.xaml new file mode 100644 index 000000000..93544f39f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelector.xaml @@ -0,0 +1,115 @@ +<UserControl x:Class="MahMaterialDragablzMashUp.PaletteSelector" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" + xmlns:materialDesignColors="clr-namespace:MaterialDesignColors;assembly=MaterialDesignColors" + xmlns:mahMaterialDragablzMashUp="clr-namespace:MahMaterialDragablzMashUp" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300" + d:DataContext="{d:DesignInstance mahMaterialDragablzMashUp:PaletteSelectorViewModel, IsDesignTimeCreatable=False}"> + <UserControl.Resources> + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + <Style TargetType="Button" BasedOn="{StaticResource MaterialDesignFlatButton}"> + <Setter Property="Margin" Value="0" /> + <Setter Property="CommandParameter" Value="{Binding}" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="Foreground"> + <Setter.Value> + <SolidColorBrush Color="{Binding ExemplarHue.Foreground, Mode=OneTime}" /> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="PalettePath" TargetType="Path"> + <Setter Property="Data" Value="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z" /> + <Setter Property="Fill"> + <Setter.Value> + <SolidColorBrush Color="{Binding ExemplarHue.Foreground, Mode=OneTime}" /> + </Setter.Value> + </Setter> + </Style> + <DataTemplate DataType="{x:Type materialDesignColors:Swatch}"> + <wpf:Card Margin="4" Width="240"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <TextBlock Text="{Binding Name}" Margin="8" Grid.ColumnSpan="2" /> + <Border Grid.Row="1" Grid.Column="0" MinWidth="120"> + <Border.Background> + <SolidColorBrush Color="{Binding ExemplarHue.Color, Mode=OneTime}" /> + </Border.Background> + <Button Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type mahMaterialDragablzMashUp:PaletteSelector}}, Path=DataContext.ApplyPrimaryCommand, Mode=OneTime}" + CommandParameter="{Binding}"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="Primary" /> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Style="{StaticResource PalettePath}" /> + </Canvas> + </Viewbox> + </StackPanel> + </Button> + </Border> + <Border Grid.Row="1" Grid.Column="1" + Visibility="{Binding IsAccented, Converter={StaticResource BooleanToVisibilityConverter}, Mode=OneTime}" + Width="120"> + <Border.Background> + <SolidColorBrush Color="{Binding AccentExemplarHue.Color, Mode=OneTime}" /> + </Border.Background> + <Button Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type mahMaterialDragablzMashUp:PaletteSelector}}, Path=DataContext.ApplyAccentCommand, Mode=OneTime}" + CommandParameter="{Binding}"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="Accent" /> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Style="{StaticResource PalettePath}" /> + </Canvas> + </Viewbox> + </StackPanel> + </Button> + </Border> + </Grid> + </wpf:Card> + </DataTemplate> + </UserControl.Resources> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Grid HorizontalAlignment="Left" Margin="16 0 0 4"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition /> + <ColumnDefinition /> + <ColumnDefinition /> + </Grid.ColumnDefinitions> + <TextBlock VerticalAlignment="Center">Standard Style</TextBlock> + <ToggleButton Grid.Column="1" Margin="8 4 16 4" Command="{Binding ToggleStyleCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=IsChecked}" /> + <TextBlock Grid.Column="2" VerticalAlignment="Center">Alternate Style</TextBlock> + <TextBlock Grid.Row="1" VerticalAlignment="Center">Light</TextBlock> + <ToggleButton Grid.Row="1" Grid.Column="1" Margin="8 4 16 4" Command="{Binding ToggleBaseCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=IsChecked}" /> + <TextBlock Grid.Row="1" Grid.Column="2" VerticalAlignment="Center">Dark</TextBlock> + </Grid> + <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"> + <ItemsControl ItemsSource="{Binding Swatches, Mode=OneTime}"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <WrapPanel /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + </ItemsControl> + </ScrollViewer> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelector.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelector.xaml.cs new file mode 100644 index 000000000..98e50beb2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelector.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MahMaterialDragablzMashUp +{ + /// <summary> + /// Interaction logic for Palette.xaml + /// </summary> + public partial class PaletteSelector : UserControl + { + public PaletteSelector() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelectorViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelectorViewModel.cs new file mode 100644 index 000000000..541479e1e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/PaletteSelectorViewModel.cs @@ -0,0 +1,59 @@ +using System; +using MaterialDesignColors; +using MaterialDesignThemes.Wpf; +using System.Collections.Generic; +using System.Windows; +using System.Windows.Input; + +namespace MahMaterialDragablzMashUp +{ + public class PaletteSelectorViewModel + { + public PaletteSelectorViewModel() + { + Swatches = new SwatchesProvider().Swatches; + } + + public ICommand ToggleStyleCommand { get; } = new AnotherCommandImplementation(o => ApplyStyle((bool)o)); + + public ICommand ToggleBaseCommand { get; } = new AnotherCommandImplementation(o => ApplyBase((bool)o)); + + public IEnumerable<Swatch> Swatches { get; } + + public ICommand ApplyPrimaryCommand { get; } = new AnotherCommandImplementation(o => ApplyPrimary((Swatch)o)); + + public ICommand ApplyAccentCommand { get; } = new AnotherCommandImplementation(o => ApplyAccent((Swatch)o)); + + private static void ApplyStyle(bool alternate) + { + var resourceDictionary = new ResourceDictionary + { + Source = new Uri(@"pack://application:,,,/Dragablz;component/Themes/materialdesign.xaml") + }; + + var styleKey = alternate ? "MaterialDesignAlternateTabablzControlStyle" : "MaterialDesignTabablzControlStyle"; + var style = (Style) resourceDictionary[styleKey]; + + foreach (var tabablzControl in Dragablz.TabablzControl.GetLoadedInstances()) + { + tabablzControl.Style = style; + } + } + + private static void ApplyBase(bool isDark) + { + new PaletteHelper().SetLightDark(isDark); + } + + private static void ApplyPrimary(Swatch swatch) + { + new PaletteHelper().ReplacePrimaryColor(swatch); + } + + private static void ApplyAccent(Swatch swatch) + { + new PaletteHelper().ReplaceAccentColor(swatch); + } + + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..a99b069cf --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MahMaterialDragablzMashUp")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MahMaterialDragablzMashUp")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file +//inside a <PropertyGroup>. For example, if you are using US english +//in your source files, set the <UICulture> to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Resources.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Resources.Designer.cs new file mode 100644 index 000000000..da980a757 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MahAppsDragablzDemo.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MahAppsDragablzDemo.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Resources.resx b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Settings.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Settings.Designer.cs new file mode 100644 index 000000000..99e96b217 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MahAppsDragablzDemo.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Settings.settings b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Resources/ProfilePic.jpg b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Resources/ProfilePic.jpg Binary files differnew file mode 100644 index 000000000..a483a9907 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/Resources/ProfilePic.jpg diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/paket.references b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/paket.references new file mode 100644 index 000000000..4c87afcf7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MahMaterialDragablzMashUp/paket.references @@ -0,0 +1,2 @@ +MahApps.Metro +Dragablz
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/App.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/App.xaml new file mode 100644 index 000000000..9a6b8847a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/App.xaml @@ -0,0 +1,26 @@ +<Application + x:Class="MainDemo.Uwp.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:MainDemo.Uwp" + RequestedTheme="Light"> + <Application.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="ms-appx:///MaterialDesignThemes.Uwp/Themes/MaterialDesign.xaml" /> + <ResourceDictionary Source="ms-appx:///MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Indigo.Named.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <ResourceDictionary.ThemeDictionaries> + <ResourceDictionary x:Key="Light"> + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource IndigoPrimary900}"/> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource IndigoPrimary300Foreground}"/> + </ResourceDictionary> + </ResourceDictionary.ThemeDictionaries> + + + + + </ResourceDictionary> + </Application.Resources> +</Application> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/App.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/App.xaml.cs new file mode 100644 index 000000000..03999644d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/App.xaml.cs @@ -0,0 +1,108 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +namespace MainDemo.Uwp +{ + /// <summary> + /// Provides application-specific behavior to supplement the default Application class. + /// </summary> + sealed partial class App : Application + { + /// <summary> + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// </summary> + public App() + { + Microsoft.ApplicationInsights.WindowsAppInitializer.InitializeAsync( + Microsoft.ApplicationInsights.WindowsCollectors.Metadata | + Microsoft.ApplicationInsights.WindowsCollectors.Session); + this.InitializeComponent(); + this.Suspending += OnSuspending; + } + + /// <summary> + /// Invoked when the application is launched normally by the end user. Other entry points + /// will be used such as when the application is launched to open a specific file. + /// </summary> + /// <param name="e">Details about the launch request and process.</param> + protected override void OnLaunched(LaunchActivatedEventArgs e) + { + +#if DEBUG + if (System.Diagnostics.Debugger.IsAttached) + { + this.DebugSettings.EnableFrameRateCounter = true; + } +#endif + + Frame rootFrame = Window.Current.Content as Frame; + + // Do not repeat app initialization when the Window already has content, + // just ensure that the window is active + if (rootFrame == null) + { + // Create a Frame to act as the navigation context and navigate to the first page + rootFrame = new Frame(); + + rootFrame.NavigationFailed += OnNavigationFailed; + + if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) + { + //TODO: Load state from previously suspended application + } + + // Place the frame in the current Window + Window.Current.Content = rootFrame; + } + + if (rootFrame.Content == null) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + rootFrame.Navigate(typeof(MainPage), e.Arguments); + } + // Ensure the current window is active + Window.Current.Activate(); + } + + /// <summary> + /// Invoked when Navigation to a certain page fails + /// </summary> + /// <param name="sender">The Frame which failed navigation</param> + /// <param name="e">Details about the navigation failure</param> + void OnNavigationFailed(object sender, NavigationFailedEventArgs e) + { + throw new Exception("Failed to load Page " + e.SourcePageType.FullName); + } + + /// <summary> + /// Invoked when application execution is being suspended. Application state is saved + /// without knowing whether the application will be terminated or resumed with the contents + /// of memory still intact. + /// </summary> + /// <param name="sender">The source of the suspend request.</param> + /// <param name="e">Details about the suspend request.</param> + private void OnSuspending(object sender, SuspendingEventArgs e) + { + var deferral = e.SuspendingOperation.GetDeferral(); + //TODO: Save application state and stop any background activity + deferral.Complete(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/ApplicationInsights.config b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/ApplicationInsights.config new file mode 100644 index 000000000..cb2a232da --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/ApplicationInsights.config @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<ApplicationInsights xmlns = "http://schemas.microsoft.com/ApplicationInsights/2013/Settings"> +</ApplicationInsights> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/LockScreenLogo.scale-200.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/LockScreenLogo.scale-200.png Binary files differnew file mode 100644 index 000000000..735f57adb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/LockScreenLogo.scale-200.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/SplashScreen.scale-200.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/SplashScreen.scale-200.png Binary files differnew file mode 100644 index 000000000..023e7f1fe --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/SplashScreen.scale-200.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square150x150Logo.scale-200.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square150x150Logo.scale-200.png Binary files differnew file mode 100644 index 000000000..af49fec1a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square150x150Logo.scale-200.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square44x44Logo.scale-200.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square44x44Logo.scale-200.png Binary files differnew file mode 100644 index 000000000..ce342a2ec --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square44x44Logo.scale-200.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png Binary files differnew file mode 100644 index 000000000..f6c02ce97 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/StoreLogo.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/StoreLogo.png Binary files differnew file mode 100644 index 000000000..7385b56c0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/StoreLogo.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Wide310x150Logo.scale-200.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Wide310x150Logo.scale-200.png Binary files differnew file mode 100644 index 000000000..288995b39 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Assets/Wide310x150Logo.scale-200.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainDemo.Uwp.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainDemo.Uwp.csproj new file mode 100644 index 000000000..179fda551 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainDemo.Uwp.csproj @@ -0,0 +1,150 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProjectGuid>{666A0F51-6B18-4C48-9772-5ED3FDB03A2E}</ProjectGuid> + <OutputType>AppContainerExe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MainDemo.Uwp</RootNamespace> + <AssemblyName>MainDemo.Uwp</AssemblyName> + <DefaultLanguage>en-US</DefaultLanguage> + <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier> + <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> + <TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion> + <MinimumVisualStudioVersion>14</MinimumVisualStudioVersion> + <EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <PackageCertificateKeyFile>MainDemo.Uwp_TemporaryKey.pfx</PackageCertificateKeyFile> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\ARM\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>ARM</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> + <OutputPath>bin\ARM\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>ARM</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x64\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>x64</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> + <OutputPath>bin\x64\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x64</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x86\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <OutputPath>bin\x86\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> + </PropertyGroup> + <ItemGroup> + <!-- A reference to the entire .Net Framework and Windows SDK are automatically included --> + <Content Include="ApplicationInsights.config"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <None Include="project.json" /> + </ItemGroup> + <ItemGroup> + <Compile Include="App.xaml.cs"> + <DependentUpon>App.xaml</DependentUpon> + </Compile> + <Compile Include="MainPage.xaml.cs"> + <DependentUpon>MainPage.xaml</DependentUpon> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <AppxManifest Include="Package.appxmanifest"> + <SubType>Designer</SubType> + </AppxManifest> + <None Include="MainDemo.Uwp_TemporaryKey.pfx" /> + </ItemGroup> + <ItemGroup> + <Content Include="Properties\Default.rd.xml" /> + <Content Include="Assets\LockScreenLogo.scale-200.png" /> + <Content Include="Assets\SplashScreen.scale-200.png" /> + <Content Include="Assets\Square150x150Logo.scale-200.png" /> + <Content Include="Assets\Square44x44Logo.scale-200.png" /> + <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> + <Content Include="Assets\StoreLogo.png" /> + <Content Include="Assets\Wide310x150Logo.scale-200.png" /> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </ApplicationDefinition> + <Page Include="MainPage.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignThemes.Uwp\MaterialDesignThemes.Uwp.csproj"> + <Project>{e4686a3f-cc25-4eef-9a24-7cd4a22da233}</Project> + <Name>MaterialDesignThemes.Uwp</Name> + </ProjectReference> + </ItemGroup> + <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' "> + <VisualStudioVersion>14.0</VisualStudioVersion> + </PropertyGroup> + <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainPage.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainPage.xaml new file mode 100644 index 000000000..fc1488409 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainPage.xaml @@ -0,0 +1,39 @@ +<Page + x:Class="MainDemo.Uwp.MainPage" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:MainDemo.Uwp" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:uwp="using:MaterialDesignThemes.Uwp" + mc:Ignorable="d" + FontFamily="ms-appx:///MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Regular.ttf#Roboto" + FontSize="14" + Background="{ThemeResource MaterialDesignPaper}" + Foreground="{ThemeResource MaterialDesignBody}" + RequestedTheme="Light" + > + + <Page.Resources> + <ResourceDictionary> + + + + </ResourceDictionary> + </Page.Resources> + + <Grid> + <StackPanel> + <TextBlock FontSize="28" Margin="8 0 0 0">Material Design In XAML Toolkit</TextBlock> + <TextBlock Margin="8 0 0 0" Foreground="{ThemeResource MaterialDesignBodyLight}">UWP Edition</TextBlock> + <StackPanel Margin="8 8 0 0" Orientation="Horizontal" VerticalAlignment="Top"> + <Button Width="100" Style="{StaticResource MaterialDesignRaisedLightButton}">LIGHT</Button> + <Button Margin="8 0 0 0" Width="100" Style="{StaticResource MaterialDesignRaisedButton}">MID</Button> + <Button Margin="8 0 0 0" Width="100" Style="{StaticResource MaterialDesignRaisedDarkButton}">DARK</Button> + <Button Margin="8 0 0 0" Width="100" Style="{StaticResource MaterialDesignRaisedAccentButton}">ACCENT</Button> + </StackPanel> + <ToggleSwitch Style="{StaticResource MaterialDesignToggleSwitch}" /> + <CheckBox Style="{StaticResource MaterialDesignCheckBox}">Material Design</CheckBox> + </StackPanel> + </Grid> +</Page> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainPage.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainPage.xaml.cs new file mode 100644 index 000000000..1b71c3b81 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/MainPage.xaml.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 + +namespace MainDemo.Uwp +{ + /// <summary> + /// An empty page that can be used on its own or navigated to within a Frame. + /// </summary> + public sealed partial class MainPage : Page + { + public MainPage() + { + this.InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Package.appxmanifest b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Package.appxmanifest new file mode 100644 index 000000000..0b4d55810 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Package.appxmanifest @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> + +<Package + xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" + xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" + xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" + IgnorableNamespaces="uap mp"> + + <Identity + Name="2c2ec2e1-32c5-4b22-a09e-2d1ddd37c5da" + Publisher="CN=james" + Version="1.0.0.0" /> + + <mp:PhoneIdentity PhoneProductId="2c2ec2e1-32c5-4b22-a09e-2d1ddd37c5da" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> + + <Properties> + <DisplayName>MainDemo.Uwp</DisplayName> + <PublisherDisplayName>james</PublisherDisplayName> + <Logo>Assets\StoreLogo.png</Logo> + </Properties> + + <Dependencies> + <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" /> + </Dependencies> + + <Resources> + <Resource Language="x-generate"/> + </Resources> + + <Applications> + <Application Id="App" + Executable="$targetnametoken$.exe" + EntryPoint="MainDemo.Uwp.App"> + <uap:VisualElements + DisplayName="MainDemo.Uwp" + Square150x150Logo="Assets\Square150x150Logo.png" + Square44x44Logo="Assets\Square44x44Logo.png" + Description="MainDemo.Uwp" + BackgroundColor="transparent"> + <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/> + <uap:SplashScreen Image="Assets\SplashScreen.png" /> + </uap:VisualElements> + </Application> + </Applications> + + <Capabilities> + <Capability Name="internetClient" /> + </Capabilities> +</Package>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..94721ae65 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MainDemo.Uwp")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MainDemo.Uwp")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: ComVisible(false)]
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Properties/Default.rd.xml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Properties/Default.rd.xml new file mode 100644 index 000000000..80a960ce3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/Properties/Default.rd.xml @@ -0,0 +1,31 @@ +<!-- + This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most + developers. However, you can modify these parameters to modify the behavior of the .NET Native + optimizer. + + Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919 + + To fully enable reflection for App1.MyClass and all of its public/private members + <Type Name="App1.MyClass" Dynamic="Required All"/> + + To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32 + <TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" /> + + Using the Namespace directive to apply reflection policy to all the types in a particular namespace + <Namespace Name="DataClasses.ViewModels" Seralize="All" /> +--> + +<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> + <Application> + <!-- + An Assembly element with Name="*Application*" applies to all assemblies in + the application package. The asterisks are not wildcards. + --> + <Assembly Name="*Application*" Dynamic="Required All" /> + + + <!-- Add your application specific runtime directives here. --> + + + </Application> +</Directives>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/project.json b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/project.json new file mode 100644 index 000000000..e3b2dba25 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Uwp/project.json @@ -0,0 +1,19 @@ +{ + "dependencies": { + "Microsoft.ApplicationInsights": "1.0.0", + "Microsoft.ApplicationInsights.PersistenceChannel": "1.0.0", + "Microsoft.ApplicationInsights.WindowsApps": "1.0.0", + "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" + }, + "frameworks": { + "uap10.0": {} + }, + "runtimes": { + "win10-arm": {}, + "win10-arm-aot": {}, + "win10-x86": {}, + "win10-x86-aot": {}, + "win10-x64": {}, + "win10-x64-aot": {} + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.config b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.config new file mode 100644 index 000000000..11fe398db --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.config @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> + </startup> + <appSettings> + <add key="GitHub" value="https://github.com/ButchersBoy/MaterialDesignInXamlToolkit"/> + </appSettings> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.xaml new file mode 100644 index 000000000..2f8d71d0d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.xaml @@ -0,0 +1,111 @@ +<Application x:Class="MaterialDesignColors.WpfExample.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:showMeTheXaml="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit" + xmlns:smtxAe="clr-namespace:ShowMeTheXAML.AvalonEdit;assembly=ShowMeTheXAML.AvalonEdit" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:materialDesignDemo="clr-namespace:MaterialDesignDemo" + StartupUri="MainWindow.xaml"> + <Application.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" /> + <ResourceDictionary Source="pack://application:,,,/ShowMeTheXAML.AvalonEdit;component/Themes/xamldisplayer.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style TargetType="showMeTheXaml:XamlDisplay" BasedOn="{StaticResource {x:Type showMeTheXaml:XamlDisplay}}"> + <Style.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToggleButton.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <smtxAe:TextDocumentValueConverter x:Key="TextDocumentValueConverter"/> + </ResourceDictionary> + </Style.Resources> + <Setter Property="VerticalContentAlignment" Value="Bottom" /> + <Setter Property="HorizontalContentAlignment" Value="Right" /> + <Setter Property="materialDesignDemo:XamlDisplayEx.ButtonDock" Value="Right" /> + <Setter Property="Formatter"> + <Setter.Value> + <showMeTheXaml:XamlFormatter NewLineOnAttributes="True" Indent=" "> + <showMeTheXaml:XamlFormatter.NamespacesToRemove> + <system:String>http://materialdesigninxaml.net/winfx/xaml/themes</system:String> + </showMeTheXaml:XamlFormatter.NamespacesToRemove> + </showMeTheXaml:XamlFormatter> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="showMeTheXaml:XamlDisplay"> + <DockPanel> + <materialDesign:PopupBox DockPanel.Dock="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(materialDesignDemo:XamlDisplayEx.ButtonDock)}" + Padding="10" StaysOpen="True" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + x:Name="PopupBox"> + <materialDesign:PopupBox.ToggleContent> + <materialDesign:PackIcon Kind="Xaml" Cursor="Hand" ToolTip="View XAML" + Foreground="{DynamicResource PrimaryHueDarkBrush}" + Background="Transparent" + Margin="3"> + <materialDesign:PackIcon.Style> + <Style TargetType="materialDesign:PackIcon" BasedOn="{StaticResource {x:Type materialDesign:PackIcon}}"> + <Setter Property="Opacity" Value="0.2" /> + <Style.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Opacity" Value="1" /> + </Trigger> + </Style.Triggers> + </Style> + </materialDesign:PackIcon.Style> + </materialDesign:PackIcon> + </materialDesign:PopupBox.ToggleContent> + <Border MaxHeight="600" MaxWidth="800"> + <StackPanel> + <avalonEdit:TextEditor Document="{Binding Xaml, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource TextDocumentValueConverter}}" + Style="{StaticResource AvalonTextEditorXamlDisplay}" /> + <Button + Margin="0 10 0 0" + Tag="{Binding Xaml, RelativeSource={RelativeSource TemplatedParent}}" + HorizontalAlignment="Right" + Command="Copy" + CommandParameter="{Binding Xaml, RelativeSource={RelativeSource TemplatedParent}}" + Content="_COPY" + Style="{StaticResource MaterialDesignRaisedButton}"> + </Button> + </StackPanel> + </Border> + + </materialDesign:PopupBox> + <Grid> + <AdornerDecorator> + <Border BorderBrush="{DynamicResource SecondaryAccentBrush}" Opacity=".4" Margin="-5"> + <Border.Style> + <Style TargetType="Border"> + <Setter Property="BorderThickness" Value="0" /> + <Style.Triggers> + <DataTrigger Binding="{Binding ElementName=PopupBox, Path=IsPopupOpen}" Value="True"> + <Setter Property="BorderThickness" Value="5" /> + </DataTrigger> + </Style.Triggers> + </Style> + </Border.Style> + </Border> + </AdornerDecorator> + <ContentPresenter /> + </Grid> + </DockPanel> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </ResourceDictionary> + </Application.Resources> +</Application> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.xaml.cs new file mode 100644 index 000000000..bf1fd433f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/App.xaml.cs @@ -0,0 +1,25 @@ +using ShowMeTheXAML; +using System.Windows; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for App.xaml + /// </summary> + public partial class App : Application + { + protected override void OnStartup(StartupEventArgs e) + { + XamlDisplay.Init(); + //Illustration of setting culture info fully in WPF: + /* + Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR"); + Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR"); + FrameworkElement.LanguageProperty.OverrideMetadata(typeof(FrameworkElement), new FrameworkPropertyMetadata( + XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag))); + */ + + base.OnStartup(e); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Buttons.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Buttons.xaml new file mode 100644 index 000000000..4fe921f19 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Buttons.xaml @@ -0,0 +1,577 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Buttons" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:materialDesignConverters="clr-namespace:MaterialDesignThemes.Wpf.Converters;assembly=MaterialDesignThemes.Wpf" + xmlns:wpfExample="clr-namespace:MaterialDesignColors.WpfExample" + xmlns:domain="clr-namespace:MaterialDesignDemo.Domain" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="500" d:DesignWidth="800"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.CheckBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ListBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PopupBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.RadioButton.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToggleButton.xaml" /> + </ResourceDictionary.MergedDictionaries> + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + <materialDesignConverters:BooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible" /> + </ResourceDictionary> + </UserControl.Resources> + <Grid VerticalAlignment="Top"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}">Buttons</TextBlock> + <Grid Grid.Row="1" > + <StackPanel Orientation="Horizontal" Margin="0 12 0 0"> + <smtx:XamlDisplay Key="buttons_1" Margin="8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionMiniLightButton}" + ToolTip="MaterialDesignFloatingActionMiniLightButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_2" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionMiniButton}" + HorizontalAlignment="Left" + ToolTip="MaterialDesignFloatingActionMiniButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_3" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionMiniDarkButton}" + ToolTip="MaterialDesignFloatingActionMiniDarkButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_4" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" + ToolTip="MaterialDesignFloatingActionMiniAccentButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_5" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionLightButton}" + ToolTip="MaterialDesignFloatingActionLightButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_6" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionButton}" + ToolTip="MaterialDesignFloatingActionButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_7" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionDarkButton}" + ToolTip="MaterialDesignFloatingActionDarkButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_8" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionAccentButton}" + ToolTip="MaterialDesignFloatingActionAccentButton"> + <materialDesign:PackIcon Kind="Alarm" Height="24" Width="24" /> + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_9"> + <materialDesign:PopupBox Style="{StaticResource MaterialDesignMultiFloatingActionPopupBox}" + PlacementMode="BottomAndAlignCentres" + ToolTipService.Placement="Right" + ToolTip="PopupBox, Style MaterialDesignMultiFloatingActionPopupBox" + Opened="PopupBox_OnOpened" + Closed="PopupBox_OnClosed"> + <StackPanel> + <Button ToolTip="One with custom opacity" Opacity="0.5">1</Button> + <Button ToolTip="Two">2</Button> + <Button ToolTip="Three">3</Button> + </StackPanel> + </materialDesign:PopupBox> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom"> + <smtx:XamlDisplay Key="buttons_10"> + <StackPanel Orientation="Horizontal"> + <CheckBox Name="PopupEnabled">Enable Popup</CheckBox> + <materialDesign:PopupBox Margin="16,0,16,0" StaysOpen="True" IsEnabled="{Binding IsChecked, ElementName=PopupEnabled}"> + <Grid Width="300" Margin="8,8,8,8"> + <Grid.Resources> + <Style TargetType="CheckBox" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="Margin" Value="8,8,10,8"/> + </Style> + <Style TargetType="TextBox" BasedOn="{StaticResource MaterialDesignTextBox}"> + <Setter Property="materialDesign:HintAssist.IsFloating" Value="True"/> + <Setter Property="Margin" Value="8,8,8,8"/> + </Style> + </Grid.Resources> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="*"/> + <RowDefinition Height="*"/> + <RowDefinition Height="*"/> + <RowDefinition Height="*"/> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <TextBlock Grid.Column="0" Grid.Row="0" Style="{StaticResource MaterialDesignTitleTextBlock}" Margin="8,8,8,16">OPTIONS</TextBlock> + <TextBox Grid.Column="0" Grid.Row="1" materialDesign:HintAssist.Hint="Setting 1" Text="200"/> + <TextBox Grid.Column="0" Grid.Row="2" materialDesign:HintAssist.Hint="Setting 2" Text="400"/> + <TextBox Grid.Column="0" Grid.Row="3" materialDesign:HintAssist.Hint="Setting 3" Text="600"/> + <CheckBox Grid.Column="1" Grid.Row="1" VerticalAlignment="Bottom" /> + <CheckBox Grid.Column="1" Grid.Row="2" IsChecked="True" VerticalAlignment="Bottom" /> + <CheckBox Grid.Column="1" Grid.Row="3" VerticalAlignment="Bottom" /> + <ComboBox Grid.Column="0" Grid.Row="4" materialDesign:HintAssist.Hint="Setting 4" materialDesign:HintAssist.IsFloating="True" + MaxDropDownHeight="200" + Margin="8 8 8 8"> + <ComboBoxItem>25%</ComboBoxItem> + <ComboBoxItem>50%</ComboBoxItem> + <ComboBoxItem>75%</ComboBoxItem> + <ComboBoxItem>100%</ComboBoxItem> + <ComboBoxItem>150%</ComboBoxItem> + <ComboBoxItem>200%</ComboBoxItem> + <ComboBoxItem>250%</ComboBoxItem> + <ComboBoxItem>501%</ComboBoxItem> + </ComboBox> + </Grid> + + </materialDesign:PopupBox> + </StackPanel> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_11" Margin="0 0 48 0"> + <materialDesign:PopupBox Style="{StaticResource MaterialDesignMultiFloatingActionAccentPopupBox}" + PlacementMode="BottomAndAlignCentres" + ToggleCheckedContentCommand="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpfExample:Buttons}, Path=FloatingActionDemoCommand}" + ToggleCheckedContentCommandParameter="wowsers" + ToolTip="PopupBox, Style MaterialDesignMultiFloatingActionAccentPopupBox"> + <materialDesign:PopupBox.ToggleCheckedContent> + <materialDesign:PackIcon Kind="Pencil" Width="24" Height="24" /> + </materialDesign:PopupBox.ToggleCheckedContent> + <StackPanel> + <Button ToolTip="One">1</Button> + <Button ToolTip="Two" IsEnabled="False">2</Button> + <Button ToolTip="Three">3</Button> + </StackPanel> + </materialDesign:PopupBox> + </smtx:XamlDisplay> + </StackPanel> + </Grid> + <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0 20 0 0"> + <smtx:XamlDisplay Key="buttons_12" Margin="5 12 4 5"> + <Button Style="{StaticResource MaterialDesignRaisedLightButton}" Width="100" + ToolTip="Resource name: MaterialDesignRaisedLightButton"> + _LIGHT + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_13" Margin="0 12 4 5"> + <Button Style="{StaticResource MaterialDesignRaisedButton}" Width="100" + ToolTip="Resource name: MaterialDesignRaisedButton"> + _MID + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_14" Margin="0 12 4 5"> + <Button Style="{StaticResource MaterialDesignRaisedDarkButton}" Width="100" + ToolTip="Resource name: MaterialDesignRaisedLightDarkButton"> + _DARK + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_15" Margin="0 12 8 5"> + <Button Style="{StaticResource MaterialDesignRaisedAccentButton}" Width="100" + ToolTip="Resource name: MaterialDesignRaisedAccentButton"> + ACCENT + </Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_16" Margin="0 12 8 5"> + <materialDesign:Badged Badge="3"> + <Button>MAIL</Button> + </materialDesign:Badged> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="buttons_17" Margin="0 12 8 5"> + <materialDesign:Badged Badge="{materialDesign:PackIcon Heart}" + BadgeColorZoneMode="Accent"> + <Button>LOVE</Button> + </materialDesign:Badged> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="buttons_18" Margin="0 12 14 5"> + <materialDesign:Badged Badge="DANGER" BadgeColorZoneMode="Dark"> + <Button>STATUS</Button> + </materialDesign:Badged> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_19" Margin="0 12 14 5"> + <materialDesign:Badged x:Name="CountingBadge" BadgeColorZoneMode="PrimaryDark"> + <Button Style="{StaticResource MaterialDesignRaisedLightButton}" + Click="CountingButton_OnClick">CLICK ME!</Button> + </materialDesign:Badged> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_20" Margin="0 12 4 5"> + <Button Content="{materialDesign:PackIcon AirplaneTakeoff}" ToolTip="Icon" /> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Grid.Row="3" Margin="0 24 0 0" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_21" Margin="5 0 8 0"> + <Button Style="{StaticResource MaterialDesignRaisedAccentButton}" + Width="150" + ToolTip="Resource name: MaterialDesignRaisedAccentButton" + materialDesign:RippleAssist.Feedback="#DD000000">CUSTOM RIPPLE</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_22" Margin="0 0 8 0"> + <Button Style="{StaticResource MaterialDesignRaisedAccentButton}" + Width="150" + ToolTip="Resource name: MaterialDesignRaisedAccentButton" + materialDesign:RippleAssist.IsDisabled="True">NO RIPPLE</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_23" Margin="0 0 8 0"> + <RepeatButton Width="100" ToolTip="Resource name: MaterialDesignRaisedButton"> + REPEAT + </RepeatButton> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_24" Margin="200 0 0 0"> + <Button Style="{StaticResource MaterialDesignFlatButton}" Click="ButtonBase_OnClick" ToolTip="MaterialDesignFlatButton">ACCEPT</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_25"> + <Button Style="{StaticResource MaterialDesignFlatButton}" ToolTip="MaterialDesignFlatButton">CANCEL</Button> + </smtx:XamlDisplay> + </StackPanel> + <Border Margin="0 16 0 0" BorderThickness="0 1 0 0" BorderBrush="{DynamicResource MaterialDesignDivider}" Grid.Row="4" /> + + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}" + Grid.Row="5" Margin="0 12 0 12">Buttons - With Progress</TextBlock> + <StackPanel Grid.Row="6" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_26" Margin="5 0 0 0"> + <Grid Width="124"> + <!-- raised button with progress, useful to auto dismiss/accept something --> + <Button Command="{Binding DismissComand}" + Style="{StaticResource MaterialDesignRaisedButton}" + HorizontalAlignment="Left" + materialDesign:ButtonProgressAssist.Value="{Binding DismissButtonProgress}" + Visibility="{Binding ShowDismissButton, Converter={StaticResource BooleanToVisibilityConverter}}"> + <StackPanel Orientation="Horizontal"> + <TextBlock>DISMISS</TextBlock> + <materialDesign:PackIcon Margin="4 .5 0 0" Kind="Close" /> + </StackPanel> + </Button> + <TextBlock Text="{Binding DemoRestartCountdownText}" + VerticalAlignment="Center" + Visibility="{Binding ShowDismissButton, Converter={StaticResource InvertedBooleanToVisibilityConverter}}" + /> + </Grid> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="buttons_27"> + <StackPanel Orientation="Horizontal" smtx:XamlDisplay.Ignore="This"> + <!-- floating action button with progress --> + <TextBlock Margin="24 0 0 0" VerticalAlignment="Center">Click Me:</TextBlock> + <Button Style="{StaticResource MaterialDesignFloatingActionLightButton}" Margin="8 0 0 0" + Command="{Binding SaveComand}" + materialDesign:ButtonProgressAssist.IsIndicatorVisible="{Binding IsSaving}" + materialDesign:ButtonProgressAssist.Value="{Binding SaveProgress}"> + <!-- simple example of toggling/animating pack icon with a data trigger--> + <materialDesign:PackIcon Height="24" Width="24"> + <materialDesign:PackIcon.Style> + <Style TargetType="materialDesign:PackIcon" BasedOn="{StaticResource {x:Type materialDesign:PackIcon}}"> + <Setter Property="Kind" Value="CloudSync" /> + <Style.Triggers> + <DataTrigger Binding="{Binding IsSaveComplete}" Value="True"> + <Setter Property="Kind" Value="Check" /> + <DataTrigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.8" /> + </Storyboard> + </BeginStoryboard> + </DataTrigger.EnterActions> + </DataTrigger> + </Style.Triggers> + </Style> + </materialDesign:PackIcon.Style> + </materialDesign:PackIcon> + </Button> + </StackPanel> + </smtx:XamlDisplay> + + <TextBlock Margin="24 0 0 0" VerticalAlignment="Center">Variations:</TextBlock> + <smtx:XamlDisplay Key="buttons_28" Margin="16 0 0 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionButton}" + materialDesign:ButtonProgressAssist.IsIndicatorVisible="True" + materialDesign:ButtonProgressAssist.Value="-1" + materialDesign:ButtonProgressAssist.IsIndeterminate="True" + Content="{materialDesign:PackIcon DotsHorizontal}" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_29" Margin="16 0 0 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionAccentButton}" + materialDesign:ButtonProgressAssist.IsIndicatorVisible="True" + materialDesign:ButtonProgressAssist.Value="50" + Content="{materialDesign:PackIcon DotsHorizontal}" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_30" Margin="16 0 0 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionButton}" + Background="#81d4fa" + BorderBrush="#81d4fa" + Foreground="#DD000000" + materialDesign:ButtonProgressAssist.IsIndicatorVisible="True" + materialDesign:ButtonProgressAssist.Value="25" + materialDesign:ButtonProgressAssist.IndicatorForeground="#e65100" + materialDesign:ButtonProgressAssist.IndicatorBackground="#ffcc80" + Content="{materialDesign:PackIcon DotsHorizontal}" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_31" Margin="16 0 0 0"> + <Button Style="{StaticResource MaterialDesignFloatingActionMiniDarkButton}" + materialDesign:ButtonProgressAssist.IsIndicatorVisible="True" + materialDesign:ButtonProgressAssist.Value="75" + Content="{materialDesign:PackIcon DotsHorizontal}" /> + </smtx:XamlDisplay> + </StackPanel> + <Border Margin="0 16 0 0" BorderThickness="0 1 0 0" BorderBrush="{DynamicResource MaterialDesignDivider}" Grid.Row="7" /> + + <TextBlock Margin="0 32 0 24" Grid.Row="7" Style="{StaticResource MaterialDesignHeadlineTextBlock}">Toggles</TextBlock> + <Grid Grid.Row="8"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="1*" /> + </Grid.ColumnDefinitions> + <StackPanel Grid.Row="0" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_32" Margin="5 5 8 8"> + <ToggleButton Content="C" Style="{StaticResource MaterialDesignActionLightToggleButton}" IsChecked="True" + ToolTip="MaterialDesignActionLightToggleButton"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_33" Margin="0 5 8 8"> + <ToggleButton Content="H" Style="{StaticResource MaterialDesignActionToggleButton}" + ToolTip="MaterialDesignActionToggleButton"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_34" Margin="0 5 8 8"> + <!-- checkbox style same as toggle button --> + <CheckBox Content="E" Style="{StaticResource MaterialDesignActionDarkCheckBox}" + ToolTip="MaterialDesignActionDarkCheckBox"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_35" Margin="0 5 8 8"> + <ToggleButton Content="C" Style="{StaticResource MaterialDesignActionAccentToggleButton}" + IsChecked="True" + ToolTip="MaterialDesignActionAccentToggleButton"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_36" Margin="0 5 8 8"> + <ToggleButton Content="K" Style="{StaticResource MaterialDesignActionToggleButton}" IsEnabled="False" + ToolTip="MaterialDesignActionToggleButton"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_37" Margin="0 5 8 8"> + <ToggleButton Style="{StaticResource MaterialDesignActionToggleButton}" + ToolTip="MaterialDesignActionToggleButton"> + <Image Source="Resources/ProfilePic.jpg"></Image> + </ToggleButton> + </smtx:XamlDisplay> + <TextBlock Margin="16 0 8 0" VerticalAlignment="Center">Customise On Content:</TextBlock> + <smtx:XamlDisplay Key="buttons_38"> + <ToggleButton Style="{StaticResource MaterialDesignActionToggleButton}" + ToolTip="MaterialDesignActionLightToggleButton"> + <ToggleButton.Content> + <materialDesign:PackIcon Kind="EmoticonSad" /> + </ToggleButton.Content> + <materialDesign:ToggleButtonAssist.OnContent> + <materialDesign:PackIcon Kind="EmoticonHappy" /> + </materialDesign:ToggleButtonAssist.OnContent> + </ToggleButton> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2" Margin="0 16 0 0" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_39" Margin="5 5 8 8" VerticalAlignment="Center"> + <RadioButton Style="{StaticResource MaterialDesignRadioButton}" Tag="True"> + <RadioButton.IsChecked> + <Binding Path="Tag" RelativeSource="{RelativeSource Self}"> + <Binding.ValidationRules> + <domain:IsCheckedValidationRule /> + </Binding.ValidationRules> + </Binding> + </RadioButton.IsChecked> + Radio + </RadioButton> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_40" Margin="0 5 8 8" VerticalAlignment="Center"> + <RadioButton Style="{StaticResource MaterialDesignRadioButton}" > + Ga Ga + </RadioButton> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_41" Margin="0 5 8 8" VerticalAlignment="Center"> + <RadioButton Style="{StaticResource MaterialDesignRadioButton}" IsEnabled="False"> + Disabled + </RadioButton> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_42" Margin="0 5 8 8" VerticalAlignment="Center"> + <CheckBox Style="{StaticResource MaterialDesignCheckBox}"> + Check + </CheckBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_43" Margin="0 5 8 8" VerticalAlignment="Center"> + <CheckBox Style="{StaticResource MaterialDesignCheckBox}" Tag="True"> + <CheckBox.IsChecked> + <Binding Path="Tag" RelativeSource="{RelativeSource Self}"> + <Binding.ValidationRules> + <domain:IsCheckedValidationRule /> + </Binding.ValidationRules> + </Binding> + </CheckBox.IsChecked> + Mate + </CheckBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_44" Margin="0 5 8 8" VerticalAlignment="Center"> + <CheckBox Style="{StaticResource MaterialDesignCheckBox}" IsEnabled="False" IsChecked="True"> + Disabled + </CheckBox> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Grid.Column="0" Grid.Row="2" Margin="0 16 0 0" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_45" VerticalAlignment="Center" Margin="5 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignSwitchToggleButton}" ToolTip="Default ToggleButton Style"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_46" VerticalAlignment="Center" Margin="8 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignSwitchToggleButton}" IsEnabled="False" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_47" VerticalAlignment="Center" Margin="8 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignSwitchLightToggleButton}" + ToolTip="MaterialDesignSwitchLightToggleButton" IsChecked="True" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_48" VerticalAlignment="Center" Margin="8 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignSwitchToggleButton}" + ToolTip="MaterialDesignSwitchToggleButton" IsChecked="True" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_49" VerticalAlignment="Center" Margin="8 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignSwitchDarkToggleButton}" + ToolTip="MaterialDesignSwitchDarkToggleButton" IsChecked="True" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_50" VerticalAlignment="Center" Margin="8 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignSwitchAccentToggleButton}" + ToolTip="MaterialDesignSwitchAccentToggleButton" IsChecked="True" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_51" VerticalAlignment="Center" Margin="8 0 0 0" > + <ToggleButton Style="{StaticResource MaterialDesignSwitchToggleButton}" + ToolTip="MaterialDesignSwitchToggleButton with Content and ToggleButtonAssist.OnContent"> + <materialDesign:PackIcon Kind="Pin" RenderTransformOrigin=".5,.5"> + <materialDesign:PackIcon.RenderTransform> + <RotateTransform Angle="45" /> + </materialDesign:PackIcon.RenderTransform> + </materialDesign:PackIcon> + <materialDesign:ToggleButtonAssist.OnContent> + <materialDesign:PackIcon Kind="Pin"/> + </materialDesign:ToggleButtonAssist.OnContent> + </ToggleButton> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Grid.Column="0" Grid.Row="3" Margin="0 16 0 0" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_52" Margin="5 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignFlatToggleButton}" ToolTip="MaterialDesignFlatToggleButton"> + <materialDesign:PackIcon Kind="Paperclip" Height="21" Width="21" /> + </ToggleButton> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_53" Margin="8 0 0 0" > + <ToggleButton Style="{StaticResource MaterialDesignFlatPrimaryToggleButton}" + ToolTip="MaterialDesignFlatPrimaryToggleButton" + IsChecked="True"> + <materialDesign:PackIcon Kind="Heart" Height="21" Width="21" /> + </ToggleButton> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_54" Margin="8 0 0 0"> + <ToggleButton Style="{StaticResource MaterialDesignFlatPrimaryToggleButton}" + ToolTip="MaterialDesignFlatPrimaryToggleButton" + IsEnabled="False"> + <materialDesign:PackIcon Kind="Heart" Height="21" Width="21" /> + </ToggleButton> + </smtx:XamlDisplay> + </StackPanel> + + <smtx:XamlDisplay Key="buttons_55" Grid.Column="1" Grid.Row="0" Margin="25,0,0,0" HorizontalAlignment="Left"> + <!-- the following based on https://material.io/guidelines/components/buttons.html#buttons-toggle-buttons --> + <ListBox Style="{StaticResource MaterialDesignToolToggleListBox}" SelectedIndex="0"> + <ListBox.ToolTip> + <StackPanel> + <TextBlock Text="MaterialDesignToolToggleListBox" /> + <TextBlock Text="Exclusive selection" /> + <TextBlock Text="ListBoxAssist.IsToggle allows more natural toggle behaviour" /> + </StackPanel> + </ListBox.ToolTip> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignLeft"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignCenter"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignRight"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignJustify"/> + </ListBoxItem> + </ListBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="buttons_56" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left"> + <ListBox SelectionMode="Extended" Style="{StaticResource MaterialDesignToolToggleFlatListBox}"> + <ListBox.ToolTip> + <StackPanel> + <TextBlock Text="MaterialDesignToolToggleListBox" /> + <TextBlock Text="Multiple selection" /> + <TextBlock Text="ListBoxAssist.IsToggle allows more natural toggle behaviour" /> + </StackPanel> + </ListBox.ToolTip> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatBold"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatItalic"/> + </ListBoxItem> + <ListBoxItem x:Name="UnderlineCheckbox"> + <materialDesign:PackIcon Kind="FormatUnderline"/> + </ListBoxItem> + </ListBox> + </smtx:XamlDisplay> + </Grid> + + <Border Grid.Row="9" Margin="0 16 0 0" BorderThickness="0 1 0 0" BorderBrush="{DynamicResource MaterialDesignDivider}" /> + <TextBlock Margin="0 32 0 0" Grid.Row="9" Style="{StaticResource MaterialDesignHeadlineTextBlock}">Rating bar</TextBlock> + <StackPanel Grid.Row="10" Margin="0 16 0 0" Orientation="Horizontal"> + <smtx:XamlDisplay Key="buttons_57" VerticalContentAlignment="Top" Margin="5 0 0 5"> + <materialDesign:RatingBar Value="3" x:Name="BasicRatingBar" /> + </smtx:XamlDisplay> + <TextBlock Text="{Binding ElementName=BasicRatingBar, Path=Value, StringFormat=Rating: {0}}" VerticalAlignment="Top" Margin="10,2,0,0" /> + <smtx:XamlDisplay Key="buttons_58" Margin="24 0 0 5"> + <materialDesign:RatingBar x:Name="CustomRatingBar" Max="3" Value="2" Orientation="Vertical"> + <materialDesign:RatingBar.ValueItemTemplate> + <DataTemplate DataType="system:Int32"> + <Grid> + <materialDesign:PackIcon Kind="Heart" Height="24" Width="24" /> + <TextBlock Text="{Binding}" HorizontalAlignment="Center" VerticalAlignment="Center" + FontSize="8" + Foreground="{DynamicResource PrimaryHueMidForegroundBrush}"/> + </Grid> + </DataTemplate> + </materialDesign:RatingBar.ValueItemTemplate> + </materialDesign:RatingBar> + </smtx:XamlDisplay> + <TextBlock Text="{Binding ElementName=CustomRatingBar, Path=Value, StringFormat=Rating: {0}}" VerticalAlignment="Top" Margin="10,2,0,0" /> + </StackPanel> + </Grid> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Buttons.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Buttons.xaml.cs new file mode 100644 index 000000000..9c1da6dc6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Buttons.xaml.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MaterialDesignColors.WpfExample.Domain; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Buttons.xaml + /// </summary> + public partial class Buttons : UserControl + { + public Buttons() + { + InitializeComponent(); + + FloatingActionDemoCommand = new AnotherCommandImplementation(Execute); + } + + public ICommand FloatingActionDemoCommand { get; } + + private void Execute(object o) + { + Console.WriteLine("Floating action button command. - " + (o ?? "NULL").ToString()); + } + + private void ButtonBase_OnClick(object sender, RoutedEventArgs e) + { + Console.WriteLine("Just checking we haven't suppressed the button."); + } + + private void PopupBox_OnOpened(object sender, RoutedEventArgs e) + { + Console.WriteLine("Just making sure the popup has opened."); + } + + private void PopupBox_OnClosed(object sender, RoutedEventArgs e) + { + Console.WriteLine("Just making sure the popup has closed."); + } + + private void CountingButton_OnClick(object sender, RoutedEventArgs e) + { + if (CountingBadge.Badge == null || Equals(CountingBadge.Badge, "")) + CountingBadge.Badge = 0; + + var next = int.Parse(CountingBadge.Badge.ToString()) + 1; + + CountingBadge.Badge = next < 21 ? (object)next : null; + + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ButtonsViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ButtonsViewModel.cs new file mode 100644 index 000000000..69fb455c1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ButtonsViewModel.cs @@ -0,0 +1,171 @@ +using MaterialDesignColors.WpfExample.Domain; +using System; +using System.ComponentModel; +using System.Threading; +using System.Windows.Input; +using System.Windows.Threading; + +namespace MaterialDesignColors.WpfExample +{ + public class ButtonsViewModel : INotifyPropertyChanged + { + private bool _showDismissButton; + private double _dismissButtonProgress; + private string _demoRestartCountdownText; + + public ButtonsViewModel() + { + var autoStartingActionCountdownStart = DateTime.Now; + var demoRestartCountdownComplete = DateTime.Now; + var dismissRequested = false; + DismissComand = new AnotherCommandImplementation(_ => dismissRequested = true); + ShowDismissButton = true; + + #region DISMISS button demo control + //just some demo code for the DISMISS button...it's up to you to set + //up the progress on the button as it would be with a progress bar. + //and then hide the button, do whatever action you want to do + new DispatcherTimer( + TimeSpan.FromMilliseconds(100), + DispatcherPriority.Normal, + new EventHandler((o, e) => + { + if (dismissRequested) + { + ShowDismissButton = false; + dismissRequested = false; + demoRestartCountdownComplete = DateTime.Now.AddSeconds(3); + DismissButtonProgress = 0; + } + + if (ShowDismissButton) + { + var totalDuration = autoStartingActionCountdownStart.AddSeconds(5).Ticks - autoStartingActionCountdownStart.Ticks; + var currentDuration = DateTime.Now.Ticks - autoStartingActionCountdownStart.Ticks; + var autoCountdownPercentComplete = 100.0 / totalDuration * currentDuration; + DismissButtonProgress = autoCountdownPercentComplete; + + if (DismissButtonProgress >= 100) + { + demoRestartCountdownComplete = DateTime.Now.AddSeconds(3); + ShowDismissButton = false; + UpdateDemoRestartCountdownText(demoRestartCountdownComplete, out _); + } + } + else + { + UpdateDemoRestartCountdownText(demoRestartCountdownComplete, out bool isComplete); + if (isComplete) + { + autoStartingActionCountdownStart = DateTime.Now; + ShowDismissButton = true; + } + } + + }), Dispatcher.CurrentDispatcher); + #endregion + + //just some demo code for the SAVE button + SaveComand = new AnotherCommandImplementation(_ => + { + if (IsSaveComplete == true) + { + IsSaveComplete = false; + return; + } + + if (SaveProgress != 0) return; + + var started = DateTime.Now; + IsSaving = true; + + new DispatcherTimer( + TimeSpan.FromMilliseconds(50), + DispatcherPriority.Normal, + new EventHandler((o, e) => + { + var totalDuration = started.AddSeconds(3).Ticks - started.Ticks; + var currentProgress = DateTime.Now.Ticks - started.Ticks; + var currentProgressPercent = 100.0 / totalDuration * currentProgress; + + SaveProgress = currentProgressPercent; + + if (SaveProgress >= 100) + { + IsSaveComplete = true; + IsSaving = false; + SaveProgress = 0; + ((DispatcherTimer)o).Stop(); + } + + }), Dispatcher.CurrentDispatcher); + }); + } + + #region Dismiss button demo + + public ICommand DismissComand { get; } + + public bool ShowDismissButton + { + get { return _showDismissButton; } + set { this.MutateVerbose(ref _showDismissButton, value, RaisePropertyChanged()); } + } + + public double DismissButtonProgress + { + get { return _dismissButtonProgress; } + set { this.MutateVerbose(ref _dismissButtonProgress, value, RaisePropertyChanged()); } + } + + public string DemoRestartCountdownText + { + get { return _demoRestartCountdownText; } + private set { this.MutateVerbose(ref _demoRestartCountdownText, value, RaisePropertyChanged()); } + } + + private void UpdateDemoRestartCountdownText(DateTime endTime, out bool isComplete) + { + var span = endTime - DateTime.Now; + var seconds = Math.Round(span.TotalSeconds < 0 ? 0 : span.TotalSeconds); + DemoRestartCountdownText = "Demo in " + seconds; + isComplete = seconds == 0; + } + + #endregion + + #region floating Save button demo + + public ICommand SaveComand { get; } + + private bool _isSaving; + public bool IsSaving + { + get { return _isSaving; } + private set { this.MutateVerbose(ref _isSaving, value, RaisePropertyChanged()); } + } + + private bool _isSaveComplete; + public bool IsSaveComplete + { + get { return _isSaveComplete; } + private set { this.MutateVerbose(ref _isSaveComplete, value, RaisePropertyChanged()); } + } + + private double _saveProgress; + public double SaveProgress + { + get { return _saveProgress; } + private set { this.MutateVerbose(ref _saveProgress, value, RaisePropertyChanged()); } + } + + #endregion + + public event PropertyChangedEventHandler PropertyChanged; + + private Action<PropertyChangedEventArgs> RaisePropertyChanged() + { + return args => PropertyChanged?.Invoke(this, args); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Cards.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Cards.xaml new file mode 100644 index 000000000..b15199072 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Cards.xaml @@ -0,0 +1,331 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Cards" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="400" d:DesignWidth="1200"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Card.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.CheckBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Flipper.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Popupbox.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <WrapPanel Margin="0 0 8 8"> + <smtx:XamlDisplay Key="cards_1" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Card Width="200"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="140" /> + <RowDefinition Height="*" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Image Source="Resources/Chartridge046_small.jpg" Height="140" Width="196" Stretch="UniformToFill" /> + <Button Grid.Row="0" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + Margin="0 0 16 -20"> + <materialDesign:PackIcon Kind="Bike" /> + </Button> + <StackPanel Grid.Row="1" Margin="8 24 8 0" > + <TextBlock FontWeight="Bold">Cycling</TextBlock> + <TextBlock TextWrapping="Wrap" VerticalAlignment="Center">A great way to keep fit and forget about the constant grind of IT.</TextBlock> + </StackPanel> + <StackPanel HorizontalAlignment="Right" Grid.Row="2" Orientation="Horizontal" Margin="8"> + <Button Style="{StaticResource MaterialDesignToolButton}" Width="30" Padding="2 0 2 0" + materialDesign:RippleAssist.IsCentered="True"> + <materialDesign:PackIcon Kind="ShareVariant" /> + </Button> + <Button Style="{StaticResource MaterialDesignToolButton}" Width="30" Padding="2 0 2 0" + materialDesign:RippleAssist.IsCentered="True"> + <materialDesign:PackIcon Kind="Heart" /> + </Button> + <materialDesign:PopupBox Style="{StaticResource MaterialDesignToolPopupBox}" Padding="2 0 2 0"> + <StackPanel> + <Button Content="More"/> + <Button Content="Options"/> + </StackPanel> + </materialDesign:PopupBox> + </StackPanel> + </Grid> + </materialDesign:Card> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="cards_2" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Card Width="220"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="140" /> + <RowDefinition Height="*" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Image Source="Resources/Contact.png" Height="140" Stretch="UniformToFill"/> + <Button Grid.Row="0" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + Margin="0 0 16 -20"> + <materialDesign:PackIcon Kind="ShareVariant" /> + </Button> + <StackPanel Grid.Row="1" Margin="8 24 8 4" > + <TextBlock Style="{StaticResource MaterialDesignSubheadingTextBlock}" Margin="0">E.T. the Extra-Terrestrial</TextBlock> + <Viewbox Margin="0 4 0 8" Height="16" HorizontalAlignment="Left"> + <materialDesign:RatingBar Value="3" Orientation="Horizontal" Foreground="Gold" Margin="0" /> + </Viewbox> + <TextBlock Style="{StaticResource MaterialDesignBody1TextBlock}" TextWrapping="Wrap" VerticalAlignment="Center">After a gentle alien becomes stranded on Earth, the being is discovered and befriended by a young boy named Elliott.</TextBlock> + </StackPanel> + <Separator Grid.Row="2" Style="{StaticResource MaterialDesignDarkSeparator}" Margin="8 0 8 0"/> + <TextBlock Grid.Row="3" Margin="8 4 8 4" Style="{StaticResource MaterialDesignBody2TextBlock}">Tonight's availability</TextBlock> + <Grid Grid.Row="4"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition/> + </Grid.ColumnDefinitions> + <materialDesign:PackIcon Grid.Column="0" Kind="Clock" VerticalAlignment="Center" Margin="8 4 4 4"/> + <ListBox Grid.Column="1" Style="{StaticResource MaterialDesignToolToggleFlatListBox}" SelectedIndex="0" Margin="4 8 8 4"> + <ListBox.Resources> + <Style TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource MaterialDesignToolToggleListBoxItem}"> + <Setter Property="Padding" Value="4 6 4 6" /> + </Style> + </ListBox.Resources> + <ListBox.ToolTip> + <StackPanel> + <TextBlock Text="MaterialDesignFlatToggleListBox" /> + <TextBlock Text="Exclusive selection" /> + <TextBlock Text="ListBoxAssist.IsToggle allows more natural toggle behaviour" /> + </StackPanel> + </ListBox.ToolTip> + <ListBoxItem> + <TextBlock Text="18:00"/> + </ListBoxItem> + <ListBoxItem> + <TextBlock Text="19:00"/> + </ListBoxItem> + <ListBoxItem> + <TextBlock Text="22:00"/> + </ListBoxItem> + </ListBox> + </Grid> + + <StackPanel Grid.Row="5"> + <Button Style="{StaticResource MaterialDesignFlatButton}" HorizontalAlignment="Left" Margin="8 4 8 8">RESERVE</Button> + </StackPanel> + </Grid> + </materialDesign:Card> + </smtx:XamlDisplay> + <StackPanel> + <smtx:XamlDisplay Key="cards_3" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Card Background="#03a9f4" + Foreground="{DynamicResource PrimaryHueDarkForegroundBrush}" + Padding="0" + Width="200"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Grid.Row="0" Margin="16 16 16 4" Style="{StaticResource MaterialDesignHeadlineTextBlock}">Call Jennifer</TextBlock> + <Separator Grid.Row="1" Style="{StaticResource MaterialDesignLightSeparator}"/> + <TextBlock Grid.Row="2" Margin="16 0 16 8" VerticalAlignment="Center" HorizontalAlignment="Left" Style="{StaticResource MaterialDesignBody2TextBlock}">March 19, 2016</TextBlock> + <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="16 0 16 8" HorizontalAlignment="Right"> + <Button HorizontalAlignment="Right" Style="{StaticResource MaterialDesignToolForegroundButton}" Width="30" Padding="2 0 2 0" + materialDesign:RippleAssist.IsCentered="True"> + <materialDesign:PackIcon Kind="Phone" /> + </Button> + <materialDesign:PopupBox HorizontalAlignment="Right" Style="{StaticResource MaterialDesignToolForegroundPopupBox}" Padding="2 0 2 0"> + <StackPanel> + <Button Content="More"/> + <Button Content="Options"/> + </StackPanel> + </materialDesign:PopupBox> + </StackPanel> + </Grid> + </materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="cards_4" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Card Background="{DynamicResource PrimaryHueLightBrush}" + Foreground="{DynamicResource PrimaryHueLightForegroundBrush}" + Width="200" + Padding="8"> + <TextBlock FontSize="16">Boring Text</TextBlock> + </materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="cards_5" Margin="4 4 0 0"> + <materialDesign:Card Background="{DynamicResource PrimaryHueDarkBrush}" + Foreground="{DynamicResource PrimaryHueDarkForegroundBrush}" + Width="200" + Padding="8" UniformCornerRadius="6"> + <TextBlock TextWrapping="Wrap">You can adjust the corner radius</TextBlock> + </materialDesign:Card> + </smtx:XamlDisplay> + </StackPanel> + <smtx:XamlDisplay Key="cards_6" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Card Background="{DynamicResource PrimaryHueDarkBrush}" + Foreground="{DynamicResource PrimaryHueDarkForegroundBrush}" + Width="200" + Padding="8"> + <StackPanel> + <TextBlock Margin="16 16 12 8" FontSize="16">Notes</TextBlock> + <CheckBox Margin="16 4 16 0" Style="{StaticResource MaterialDesignUserForegroundCheckBox}">Do something good</CheckBox> + <CheckBox Margin="16 4 16 0" Style="{StaticResource MaterialDesignUserForegroundCheckBox}">Take a breather</CheckBox> + <CheckBox Margin="16 4 16 0" Style="{StaticResource MaterialDesignUserForegroundCheckBox}">And go create</CheckBox> + <Separator Style="{StaticResource MaterialDesignLightSeparator}"/> + <StackPanel Margin="8 0 8 8" Orientation="Horizontal" HorizontalAlignment="Right"> + <Button HorizontalAlignment="Right" Style="{StaticResource MaterialDesignToolForegroundButton}" Width="30" Padding="2 0 0 0" + materialDesign:RippleAssist.IsCentered="True"> + <materialDesign:PackIcon Kind="CheckAll" /> + </Button> + </StackPanel> + </StackPanel> + </materialDesign:Card> + </smtx:XamlDisplay> + + <!-- + For the Card styled <Flipper />, bring in this resource dictionary (see top of this file) + pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Flipper.xaml + --> + <StackPanel> + <smtx:XamlDisplay Key="cards_7" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Flipper Style="{StaticResource MaterialDesignCardFlipper}" + IsFlippedChanged="Flipper_OnIsFlippedChanged"> + <materialDesign:Flipper.FrontContent> + <Button Style="{StaticResource MaterialDesignFlatButton}" + Command="{x:Static materialDesign:Flipper.FlipCommand}" + Margin="8" + Width="184" + >FLIPPABLZ!</Button> + </materialDesign:Flipper.FrontContent> + <materialDesign:Flipper.BackContent> + <Button Style="{StaticResource MaterialDesignFlatButton}" + Command="{x:Static materialDesign:Flipper.FlipCommand}" + Margin="8" + Width="184" + >GO BACK</Button> + </materialDesign:Flipper.BackContent> + </materialDesign:Flipper> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="cards_8" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Flipper Style="{StaticResource MaterialDesignCardFlipper}"> + <materialDesign:Flipper.FrontContent> + <Grid Height="256" Width="200"> + <Grid.RowDefinitions> + <RowDefinition Height="160" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <materialDesign:ColorZone Mode="PrimaryLight" VerticalAlignment="Stretch"> + <materialDesign:PackIcon Kind="AccountCircle" Height="128" Width="128" + VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + <StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"> + <TextBlock>James Willock</TextBlock> + <Button Style="{StaticResource MaterialDesignFlatButton}" + Command="{x:Static materialDesign:Flipper.FlipCommand}" + Margin="0 4 0 0" + >EDIT</Button> + </StackPanel> + </Grid> + </materialDesign:Flipper.FrontContent> + <materialDesign:Flipper.BackContent> + <Grid Height="256" Width="200"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <materialDesign:ColorZone Mode="Accent" Padding="6"> + <StackPanel Orientation="Horizontal"> + <Button Style="{StaticResource MaterialDesignToolForegroundButton}" + Command="{x:Static materialDesign:Flipper.FlipCommand}" + HorizontalAlignment="Left"> + <materialDesign:PackIcon Kind="ArrowLeft" HorizontalAlignment="Right" /> + </Button> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">EDIT USER</TextBlock> + </StackPanel> + </materialDesign:ColorZone> + <Grid Grid.Row="1" Margin="0 6 0 0" HorizontalAlignment="Center" VerticalAlignment="Top" + Width="172"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <TextBox materialDesign:HintAssist.Hint="First name" materialDesign:HintAssist.IsFloating="True" + Margin="0 12 0 0">James</TextBox> + <TextBox Grid.Row="1" materialDesign:HintAssist.Hint="Last name" materialDesign:HintAssist.IsFloating="True" + Margin="0 12 0 0">Willock</TextBox> + <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0 12 0 0" HorizontalAlignment="Right"> + <TextBlock VerticalAlignment="Center">Email Contact</TextBlock> + <ToggleButton Margin="8 0 0 0"></ToggleButton> + </StackPanel> + <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="0 12 0 0" HorizontalAlignment="Right"> + <TextBlock VerticalAlignment="Center">Telephone Contact</TextBlock> + <ToggleButton Margin="8 0 0 0"></ToggleButton> + </StackPanel> + </Grid> + </Grid> + </materialDesign:Flipper.BackContent> + </materialDesign:Flipper> + </smtx:XamlDisplay> + </StackPanel> + + <smtx:XamlDisplay Key="cards_9" Margin="4 4 0 0" VerticalContentAlignment="Top"> + <materialDesign:Flipper Style="{StaticResource MaterialDesignCardFlipper}"> + <materialDesign:Flipper.FrontContent> + <Button Style="{StaticResource MaterialDesignFlatButton}" + Command="{x:Static materialDesign:Flipper.FlipCommand}" + Margin="8" + Width="192" + >RESIZING...</Button> + </materialDesign:Flipper.FrontContent> + <materialDesign:Flipper.BackContent> + <Grid Height="256" Width="200"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <materialDesign:ColorZone Mode="Accent" Padding="6"> + <StackPanel Orientation="Horizontal"> + <Button Style="{StaticResource MaterialDesignToolForegroundButton}" + Command="{x:Static materialDesign:Flipper.FlipCommand}" + HorizontalAlignment="Left"> + <materialDesign:PackIcon Kind="ArrowLeft" HorizontalAlignment="Right" /> + </Button> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">EDIT USER</TextBlock> + </StackPanel> + </materialDesign:ColorZone> + <Grid Grid.Row="1" Margin="0 6 0 0" HorizontalAlignment="Center" VerticalAlignment="Top" + Width="172"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <TextBox materialDesign:HintAssist.Hint="First name" materialDesign:HintAssist.IsFloating="True" + Margin="0 12 0 0">James</TextBox> + <TextBox Grid.Row="1" materialDesign:HintAssist.Hint="Last name" materialDesign:HintAssist.IsFloating="True" + Margin="0 12 0 0">Willock</TextBox> + <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0 12 0 0" HorizontalAlignment="Right"> + <TextBlock VerticalAlignment="Center">Email Contact</TextBlock> + <ToggleButton Margin="8 0 0 0"></ToggleButton> + </StackPanel> + <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="0 12 0 0" HorizontalAlignment="Right"> + <TextBlock VerticalAlignment="Center">Telephone Contact</TextBlock> + <ToggleButton Margin="8 0 0 0"></ToggleButton> + </StackPanel> + </Grid> + </Grid> + </materialDesign:Flipper.BackContent> + </materialDesign:Flipper> + </smtx:XamlDisplay> + </WrapPanel> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Cards.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Cards.xaml.cs new file mode 100644 index 000000000..81aabc3a5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Cards.xaml.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Cards.xaml + /// </summary> + public partial class Cards : UserControl + { + public Cards() + { + InitializeComponent(); + } + + private void Flipper_OnIsFlippedChanged(object sender, RoutedPropertyChangedEventArgs<bool> e) + { + System.Diagnostics.Debug.WriteLine("Card is flipped = " + e.NewValue); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Chips.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Chips.xaml new file mode 100644 index 000000000..52eef6e82 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Chips.xaml @@ -0,0 +1,85 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Chips" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <Grid Margin="32"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}">Chips</TextBlock> + <StackPanel Grid.Row="1" Margin="0 16 0 0"> + <WrapPanel Orientation="Horizontal" smtx:XamlDisplay.Ignore="This"> + <smtx:XamlDisplay Key="chips_1" Margin="0 0 6 4"> + <materialDesign:Chip Content="James Willock"> + <materialDesign:Chip.Icon> + <Image Source="Resources/ProfilePic.jpg" /> + </materialDesign:Chip.Icon> + </materialDesign:Chip> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="chips_2" Margin="0 0 4 4"> + <materialDesign:Chip> + Example Chip + </materialDesign:Chip> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="chips_3" Margin="0 0 4 4"> + <materialDesign:Chip Content="ANZ Bank" Icon="A" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="chips_4" Margin="0 0 4 4"> + <materialDesign:Chip Content="ZNA Inc" Icon="Z" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="chips_5" Margin="0 0 4 4"> + <materialDesign:Chip Content="Twitter" + IconBackground="{DynamicResource PrimaryHueDarkBrush}" + IconForeground="{DynamicResource PrimaryHueDarkForegroundBrush}"> + <materialDesign:Chip.Icon> + <materialDesign:PackIcon Kind="Twitter"></materialDesign:PackIcon> + </materialDesign:Chip.Icon> + </materialDesign:Chip> + </smtx:XamlDisplay> + </WrapPanel> + + <WrapPanel Margin="0 12 0 0" Orientation="Horizontal" smtx:XamlDisplay.Ignore="This"> + <smtx:XamlDisplay Key="chips_6" Margin="0 0 4 4"> + <materialDesign:Chip Content="James Willock" + IsDeletable="True" + x:Name="ButtonsDemoChip" + Click="ButtonsDemoChip_OnClick" + DeleteClick="ButtonsDemoChip_OnDeleteClick" + ToolTip="Just a tool tip" + DeleteToolTip="Your friendly neighbour delete button" + > + <materialDesign:Chip.Icon> + <Image Source="Resources/ProfilePic.jpg"></Image> + </materialDesign:Chip.Icon> + </materialDesign:Chip> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="chips_7" Margin="0 0 4 4"> + <materialDesign:Chip Content="Example Chip" + IsDeletable="True" + ToolTip="This is an example chip"> + </materialDesign:Chip> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="chips_8" Margin="0 0 4 4"> + <materialDesign:Chip Content="ANZ Bank" + Icon="A" + IsDeletable="True" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="chips_9" Margin="0 0 4 4"> + <materialDesign:Chip Content="ZNA Inc" + Icon="Z" + IsDeletable="True" + IconBackground="{DynamicResource PrimaryHueLightBrush}" + IconForeground="{DynamicResource PrimaryHueLightForegroundBrush}" /> + </smtx:XamlDisplay> + </WrapPanel> + </StackPanel> + </Grid> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Chips.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Chips.xaml.cs new file mode 100644 index 000000000..70866cf5a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Chips.xaml.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Xml; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Chips.xaml + /// </summary> + public partial class Chips : UserControl + { + public Chips() + { + InitializeComponent(); + + } + + private void ButtonsDemoChip_OnClick(object sender, RoutedEventArgs e) + { + MainWindow.Snackbar.MessageQueue.Enqueue("Chip clicked!"); + } + + private void ButtonsDemoChip_OnDeleteClick(object sender, RoutedEventArgs e) + { + MainWindow.Snackbar.MessageQueue.Enqueue("Chip delete clicked!"); + } + + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ColorZones.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ColorZones.xaml new file mode 100644 index 000000000..9c92750de --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ColorZones.xaml @@ -0,0 +1,111 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.ColorZones" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="800" d:DesignWidth="600"> + <ScrollViewer> + <StackPanel> + <StackPanel Margin="16"> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}">Colour Zones</TextBlock> + <TextBlock TextWrapping="Wrap" MaxWidth="800" Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}">The ColorZone control allows you to easily define striking blocks of colour to give your application extra clarity and style, whilst still remaining within the bounds of your Material Design palette.</TextBlock> + <TextBlock Margin="0 16 0 0" FontSize="10">Invert the basic paper/body colours.</TextBlock> + </StackPanel> + <smtx:XamlDisplay Key="color_zones_inverted"> + <materialDesign:ColorZone Mode="Inverted" Padding="16"> + <DockPanel> + <materialDesign:PopupBox DockPanel.Dock="Right" PlacementMode="BottomAndAlignRightEdges"> + <ListBox> + <ListBoxItem>Hello World</ListBoxItem> + <ListBoxItem>Nice Popup</ListBoxItem> + <ListBoxItem>Goodbye.</ListBoxItem> + </ListBox> + </materialDesign:PopupBox> + <StackPanel Orientation="Horizontal"> + <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" /> + <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock> + </StackPanel> + </DockPanel> + </materialDesign:ColorZone> + </smtx:XamlDisplay> + + <TextBlock Margin="0 16 0 0" TextWrapping="Wrap" Style="{StaticResource MaterialDesignSubheadingTextBlock}">Use primary light back and fore colours.</TextBlock> + <smtx:XamlDisplay Key="color_zones_primary_light"> + <materialDesign:ColorZone Mode="PrimaryLight" Padding="16"> + <StackPanel Orientation="Horizontal"> + <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" /> + <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock> + </StackPanel> + </materialDesign:ColorZone> + </smtx:XamlDisplay> + + <TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}">Use primary mid colours, and nest colour zones!</TextBlock> + <smtx:XamlDisplay Key="color_zones_primary_mid"> + <materialDesign:ColorZone Mode="PrimaryMid" Padding="16"> + <DockPanel> + <ToggleButton Style="{StaticResource MaterialDesignSwitchAccentToggleButton}" VerticalAlignment="Center" + DockPanel.Dock="Right" /> + <StackPanel Orientation="Horizontal" + materialDesign:RippleAssist.IsCentered="True"> + <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" /> + <materialDesign:ColorZone Mode="Standard" Padding="8 4 8 4" CornerRadius="2" Panel.ZIndex="1" + Margin="16 0 0 0" + materialDesign:ShadowAssist.ShadowDepth="Depth1"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <Button Style="{DynamicResource MaterialDesignToolButton}"> + <materialDesign:PackIcon Kind="Magnify" Opacity=".56" /> + </Button> + <TextBox Grid.Column="1" Margin="8 0 0 0" materialDesign:HintAssist.Hint="Build a search bar" + materialDesign:TextFieldAssist.DecorationVisibility="Hidden" BorderThickness="0" + MinWidth="200" VerticalAlignment="Center" /> + <Button Style="{DynamicResource MaterialDesignToolButton}" Grid.Column="2"> + <materialDesign:PackIcon Kind="Microphone" Opacity=".56" Margin="8 0 0 0" /> + </Button> + </Grid> + </materialDesign:ColorZone> + <Button Style="{DynamicResource MaterialDesignToolForegroundButton}" Margin="8 0 0 0" Panel.ZIndex="0"> + <materialDesign:PackIcon Kind="Send" /> + </Button> + </StackPanel> + </DockPanel> + </materialDesign:ColorZone> + </smtx:XamlDisplay> + + <TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}">Add in a corner radius and shadow.</TextBlock> + <smtx:XamlDisplay Key="color_zones_primary_dark"> + <materialDesign:ColorZone Mode="PrimaryDark" Padding="16" CornerRadius="3" materialDesign:ShadowAssist.ShadowDepth="Depth3" Margin="2"> + <StackPanel Orientation="Horizontal"> + <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" /> + <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock> + </StackPanel> + </materialDesign:ColorZone> + </smtx:XamlDisplay> + + <TextBlock Margin="0 16 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}">Use accent back and fore colours.</TextBlock> + <smtx:XamlDisplay Key="color_zones_accent"> + <materialDesign:ColorZone Mode="Accent" Padding="16"> + <StackPanel Orientation="Horizontal"> + <ToggleButton Style="{DynamicResource MaterialDesignHamburgerToggleButton}" /> + <TextBlock VerticalAlignment="Center" Margin="16 0 0 0">Material Design In XAML Toolkit</TextBlock> + </StackPanel> + </materialDesign:ColorZone> + </smtx:XamlDisplay> + + </StackPanel> + </ScrollViewer> +</UserControl> + + + + + + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ColorZones.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ColorZones.xaml.cs new file mode 100644 index 000000000..dcc115a74 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ColorZones.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for ColorZones.xaml + /// </summary> + public partial class ColorZones : UserControl + { + public ColorZones() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Dialogs.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Dialogs.xaml new file mode 100644 index 000000000..c32c8dd13 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Dialogs.xaml @@ -0,0 +1,175 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Dialogs" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <TextBlock TextWrapping="Wrap" Margin="32">Dialogs are supported via the DialogHost control which was designed to work with MVVM/binding, code-behind, routed commands, and a pure code-based API.</TextBlock> + + <ScrollViewer HorizontalScrollBarVisibility="Auto" Grid.Row="1"> + <Grid VerticalAlignment="Top"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="320" /> + <ColumnDefinition Width="320" /> + <ColumnDefinition Width="320" /> + <ColumnDefinition Width="320" /> + </Grid.ColumnDefinitions> + + <!--#region SAMPLE 1--> + <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Top" + Margin="8 0 8 0" + >SAMPLE 1: Localised dialog encapsulating specific content, launched from a routed command, response handled in code-behind.</TextBlock> + <smtx:XamlDisplay Key="dialogs_sample1" Grid.Column="0" Grid.Row="1" Margin="5 0 0 0"> + <materialDesign:DialogHost DialogClosing="Sample1_DialogHost_OnDialogClosing" + HorizontalAlignment="Center" VerticalAlignment="Center"> + <materialDesign:DialogHost.DialogContent> + <StackPanel Margin="16"> + <TextBlock>Add a new fruit.</TextBlock> + <TextBox Margin="0 8 0 0" HorizontalAlignment="Stretch" x:Name="FruitTextBox" /> + <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" > + <Button Style="{StaticResource MaterialDesignFlatButton}" + IsDefault="True" + Margin="0 8 8 0" + Command="materialDesign:DialogHost.CloseDialogCommand"> + <Button.CommandParameter> + <system:Boolean>True</system:Boolean> + </Button.CommandParameter> + ACCEPT + </Button> + <Button Style="{StaticResource MaterialDesignFlatButton}" + IsCancel="True" + Margin="0 8 8 0" + Command="materialDesign:DialogHost.CloseDialogCommand"> + <Button.CommandParameter> + <system:Boolean>False</system:Boolean> + </Button.CommandParameter> + CANCEL + </Button> + </StackPanel> + </StackPanel> + </materialDesign:DialogHost.DialogContent> + <Border BorderThickness="1" BorderBrush="{DynamicResource PrimaryHueMidBrush}" + MinWidth="256" MinHeight="256" ClipToBounds="True"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="*" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <ListBox x:Name="FruitListBox"> + <ListBoxItem>Apple</ListBoxItem> + <ListBoxItem>Banana</ListBoxItem> + <ListBoxItem>Pear</ListBoxItem> + </ListBox> + <materialDesign:ColorZone Mode="PrimaryMid" Grid.Row="1" Effect="{DynamicResource MaterialDesignShadowDepth5}"> + <TextBlock Margin="16">Fruit Bowl</TextBlock> + </materialDesign:ColorZone> + <Button Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" + Command="{x:Static materialDesign:DialogHost.OpenDialogCommand}" + VerticalAlignment="Bottom" HorizontalAlignment="Right" + Grid.Row="0" Margin="0 0 28 -20"> + <Viewbox Width="22" Height="22"> + <Canvas Width="24" Height="24"> + <Path Data="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Button}, Path=Foreground}" /> + </Canvas> + </Viewbox> + </Button> + </Grid> + </Border> + </materialDesign:DialogHost> + </smtx:XamlDisplay> + <!--#endregion --> + + <!--#region SAMPLE 2--> + <TextBlock Grid.Column="1" Grid.Row="0" TextWrapping="Wrap" VerticalAlignment="Top" Margin="8 0 8 0">SAMPLE 2: Top level dialog, using OpenDialog, passing content via the Parameter. You can pass a view model, provided a corresponding DataTemplate can be found in the scope of the root DialogHost.</TextBlock> + <smtx:XamlDisplay Grid.Column="1" Grid.Row="1" Key="dialogs_sample2"> + <StackPanel VerticalAlignment="Center"> + <!--the request to open the dialog will bubble up to the top-most DialogHost, but we can used the attached property based event to handle the response --> + <Button Command="{x:Static materialDesign:DialogHost.OpenDialogCommand}" + materialDesign:DialogHost.DialogClosingAttached="Sample2_DialogHost_OnDialogClosing" + Width="128"> + <Button.CommandParameter> + <StackPanel Margin="16"> + <ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="16" IsIndeterminate="True" Value="0" /> + <Button Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True" + Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" + CommandParameter="Sample2Cancel" + HorizontalAlignment="Center">CANCEL</Button> + </StackPanel> + </Button.CommandParameter> + PASS VIEW + </Button> + <Button Command="{x:Static materialDesign:DialogHost.OpenDialogCommand}" + Width="128" Margin="0 32 0 0"> + <Button.CommandParameter> + <!-- the simplest view model of all, a DateTime. the view can be found in the resources of MainWindow.xaml --> + <system:DateTime>1966-JUL-30</system:DateTime> + </Button.CommandParameter> + PASS MODEL + </Button> + </StackPanel> + </smtx:XamlDisplay> + <!--#endregion--> + + <!--#region SAMPLE 3--> + <TextBlock Grid.Column="2" Grid.Row="0" TextWrapping="Wrap" VerticalAlignment="Top" Margin="8 0 8 0">SAMPLE 3: Open and listen to the dialog entirely from code in a view model.</TextBlock> + <!-- Executes a command on DialogsViewModel.cs, which will launch the dialog from code --> + <smtx:XamlDisplay Grid.Column="2" Grid.Row="1" Key="dialogs_sample3"> + <StackPanel> + <Button Command="{Binding RunDialogCommand}" + Width="128"> + RUN CODE + </Button> + <Button Command="{Binding RunExtendedDialogCommand}" + Width="128" Margin="0 32 0 0"> + EXTENDED + </Button> + </StackPanel> + </smtx:XamlDisplay> + <!--#endregion--> + + <!--#region SAMPLE 4--> + <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" VerticalAlignment="Top" + Grid.Column="3" Margin="8 0 8 0" + >SAMPLE 4: Dialog managed from view model using IsOpen and custom commands (ignoring the provided routed commands).</TextBlock> + <smtx:XamlDisplay Key="dialogs_sample4" Grid.Column="3" Grid.Row="1" > + <materialDesign:DialogHost HorizontalAlignment="Center" VerticalAlignment="Center" + IsOpen="{Binding IsSample4DialogOpen}" + DialogContent="{Binding Sample4Content}" + CloseOnClickAway="True"> + <Border BorderThickness="1" BorderBrush="{DynamicResource PrimaryHueMidBrush}" + MinWidth="256" MinHeight="256" ClipToBounds="True"> + <Button HorizontalAlignment="Center" VerticalAlignment="Center" + Command="{Binding OpenSample4DialogCommand}" + >RUN</Button> + </Border> + </materialDesign:DialogHost> + </smtx:XamlDisplay> + <!--#endregion--> + </Grid> + </ScrollViewer> + </Grid> +</UserControl> + + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Dialogs.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Dialogs.xaml.cs new file mode 100644 index 000000000..544836f75 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Dialogs.xaml.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Dialogs.xaml + /// </summary> + public partial class Dialogs : UserControl + { + public Dialogs() + { + InitializeComponent(); + } + + private void Sample1_DialogHost_OnDialogClosing(object sender, DialogClosingEventArgs eventArgs) + { + Console.WriteLine("SAMPLE 1: Closing dialog with parameter: " + (eventArgs.Parameter ?? "")); + + //you can cancel the dialog close: + //eventArgs.Cancel(); + + if (!Equals(eventArgs.Parameter, true)) return; + + if (!string.IsNullOrWhiteSpace(FruitTextBox.Text)) + FruitListBox.Items.Add(FruitTextBox.Text.Trim()); + } + + private void Sample2_DialogHost_OnDialogClosing(object sender, DialogClosingEventArgs eventArgs) + { + Console.WriteLine("SAMPLE 2: Closing dialog with parameter: " + (eventArgs.Parameter ?? "")); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/AnotherCommandImplementation.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/AnotherCommandImplementation.cs new file mode 100644 index 000000000..e9a21b67b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/AnotherCommandImplementation.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Input; + +namespace MaterialDesignColors.WpfExample.Domain +{ + /// <summary> + /// No WPF project is complete without it's own version of this. + /// </summary> + public class AnotherCommandImplementation : ICommand + { + private readonly Action<object> _execute; + private readonly Func<object, bool> _canExecute; + + public AnotherCommandImplementation(Action<object> execute) : this(execute, null) + { + } + + public AnotherCommandImplementation(Action<object> execute, Func<object, bool> canExecute) + { + if (execute == null) throw new ArgumentNullException(nameof(execute)); + + _execute = execute; + _canExecute = canExecute ?? (x => true); + } + + public bool CanExecute(object parameter) + { + return _canExecute(parameter); + } + + public void Execute(object parameter) + { + _execute(parameter); + } + + public event EventHandler CanExecuteChanged + { + add + { + CommandManager.RequerySuggested += value; + } + remove + { + CommandManager.RequerySuggested -= value; + } + } + + public void Refresh() + { + CommandManager.InvalidateRequerySuggested(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DemoItem.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DemoItem.cs new file mode 100644 index 000000000..afa834858 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DemoItem.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Markup; + +namespace MaterialDesignColors.WpfExample.Domain +{ + public class DemoItem : INotifyPropertyChanged + { + private string _name; + private object _content; + private ScrollBarVisibility _horizontalScrollBarVisibilityRequirement; + private ScrollBarVisibility _verticalScrollBarVisibilityRequirement; + private Thickness _marginRequirement = new Thickness(16); + + public DemoItem(string name, object content, IEnumerable<DocumentationLink> documentation) + { + _name = name; + Content = content; + Documentation = documentation; + } + + public string Name + { + get { return _name; } + set { this.MutateVerbose(ref _name, value, RaisePropertyChanged()); } + } + + public object Content + { + get { return _content; } + set { this.MutateVerbose(ref _content, value, RaisePropertyChanged()); } + } + + public ScrollBarVisibility HorizontalScrollBarVisibilityRequirement + { + get { return _horizontalScrollBarVisibilityRequirement; } + set { this.MutateVerbose(ref _horizontalScrollBarVisibilityRequirement, value, RaisePropertyChanged()); } + } + + public ScrollBarVisibility VerticalScrollBarVisibilityRequirement + { + get { return _verticalScrollBarVisibilityRequirement; } + set { this.MutateVerbose(ref _verticalScrollBarVisibilityRequirement, value, RaisePropertyChanged()); } + } + + public Thickness MarginRequirement + { + get { return _marginRequirement; } + set { this.MutateVerbose(ref _marginRequirement, value, RaisePropertyChanged()); } + } + + public IEnumerable<DocumentationLink> Documentation { get; } + + public event PropertyChangedEventHandler PropertyChanged; + + private Action<PropertyChangedEventArgs> RaisePropertyChanged() + { + return args => PropertyChanged?.Invoke(this, args); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DialogsViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DialogsViewModel.cs new file mode 100644 index 000000000..216b3a125 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DialogsViewModel.cs @@ -0,0 +1,147 @@ +using System; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using System.Threading.Tasks; +using System.Windows.Input; +using MaterialDesignColors.WpfExample.Domain; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignDemo.Domain +{ + public class DialogsViewModel : INotifyPropertyChanged + { + public DialogsViewModel() + { + //Sample 4 + OpenSample4DialogCommand = new AnotherCommandImplementation(OpenSample4Dialog); + AcceptSample4DialogCommand = new AnotherCommandImplementation(AcceptSample4Dialog); + CancelSample4DialogCommand = new AnotherCommandImplementation(CancelSample4Dialog); + } + + #region SAMPLE 3 + + public ICommand RunDialogCommand => new AnotherCommandImplementation(ExecuteRunDialog); + + public ICommand RunExtendedDialogCommand => new AnotherCommandImplementation(ExecuteRunExtendedDialog); + + private async void ExecuteRunDialog(object o) + { + //let's set up a little MVVM, cos that's what the cool kids are doing: + var view = new SampleDialog + { + DataContext = new SampleDialogViewModel() + }; + + //show the dialog + var result = await DialogHost.Show(view, "RootDialog", ClosingEventHandler); + + //check the result... + Console.WriteLine("Dialog was closed, the CommandParameter used to close it was: " + (result ?? "NULL")); + } + + private void ClosingEventHandler(object sender, DialogClosingEventArgs eventArgs) + { + Console.WriteLine("You can intercept the closing event, and cancel here."); + } + + private async void ExecuteRunExtendedDialog(object o) + { + //let's set up a little MVVM, cos that's what the cool kids are doing: + var view = new SampleDialog + { + DataContext = new SampleDialogViewModel() + }; + + //show the dialog + var result = await DialogHost.Show(view, "RootDialog", ExtendedOpenedEventHandler, ExtendedClosingEventHandler); + + //check the result... + Console.WriteLine("Dialog was closed, the CommandParameter used to close it was: " + (result ?? "NULL")); + } + + private void ExtendedOpenedEventHandler(object sender, DialogOpenedEventArgs eventargs) + { + Console.WriteLine("You could intercept the open and affect the dialog using eventArgs.Session."); + } + + private void ExtendedClosingEventHandler(object sender, DialogClosingEventArgs eventArgs) + { + if ((bool)eventArgs.Parameter == false) return; + + //OK, lets cancel the close... + eventArgs.Cancel(); + + //...now, lets update the "session" with some new content! + eventArgs.Session.UpdateContent(new SampleProgressDialog()); + //note, you can also grab the session when the dialog opens via the DialogOpenedEventHandler + + //lets run a fake operation for 3 seconds then close this baby. + Task.Delay(TimeSpan.FromSeconds(3)) + .ContinueWith((t, _) => eventArgs.Session.Close(false), null, + TaskScheduler.FromCurrentSynchronizationContext()); + } + + #endregion + + #region SAMPLE 4 + + //pretty much ignore all the stuff provided, and manage everything via custom commands and a binding for .IsOpen + public ICommand OpenSample4DialogCommand { get; } + public ICommand AcceptSample4DialogCommand { get; } + public ICommand CancelSample4DialogCommand { get; } + + private bool _isSample4DialogOpen; + private object _sample4Content; + + public bool IsSample4DialogOpen + { + get { return _isSample4DialogOpen; } + set + { + if (_isSample4DialogOpen == value) return; + _isSample4DialogOpen = value; + OnPropertyChanged(); + } + } + + public object Sample4Content + { + get { return _sample4Content; } + set + { + if (_sample4Content == value) return; + _sample4Content = value; + OnPropertyChanged(); + } + } + + private void OpenSample4Dialog(object obj) + { + Sample4Content = new Sample4Dialog(); + IsSample4DialogOpen = true; + } + + private void CancelSample4Dialog(object obj) + { + IsSample4DialogOpen = false; + } + + private void AcceptSample4Dialog(object obj) + { + //pretend to do something for 3 seconds, then close + Sample4Content = new SampleProgressDialog(); + Task.Delay(TimeSpan.FromSeconds(3)) + .ContinueWith((t, _) => IsSample4DialogOpen = false, null, + TaskScheduler.FromCurrentSynchronizationContext()); + } + + #endregion + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLink.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLink.cs new file mode 100644 index 000000000..3868dbdfd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLink.cs @@ -0,0 +1,94 @@ +using System; +using System.Configuration; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; + +namespace MaterialDesignColors.WpfExample.Domain +{ + public class DocumentationLink + { + public DocumentationLink(DocumentationLinkType type, string url) : this(type, url, null) + { + } + + public DocumentationLink(DocumentationLinkType type, string url, string label) + { + Label = label ?? type.ToString(); + Url = url; + Type = type; + Open = new AnotherCommandImplementation(Execute); + } + + public static DocumentationLink WikiLink(string page, string label) + { + return new DocumentationLink(DocumentationLinkType.Wiki, + $"{ConfigurationManager.AppSettings["GitHub"]}/wiki/" + page, label); + } + + public static DocumentationLink StyleLink(string nameChunk) + { + return new DocumentationLink( + DocumentationLinkType.StyleSource, + $"{ConfigurationManager.AppSettings["GitHub"]}/blob/master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.{nameChunk}.xaml", + nameChunk); + } + + public static DocumentationLink ApiLink<TClass>(string subNamespace) + { + var typeName = typeof(TClass).Name; + + return new DocumentationLink( + DocumentationLinkType.ControlSource, + $"{ConfigurationManager.AppSettings["GitHub"]}/blob/master/MaterialDesignThemes.Wpf/{subNamespace}/{typeName}.cs", + typeName); + } + + + public static DocumentationLink ApiLink<TClass>() + { + var typeName = typeof(TClass).Name; + + return new DocumentationLink( + DocumentationLinkType.ControlSource, + $"{ConfigurationManager.AppSettings["GitHub"]}/blob/master/MaterialDesignThemes.Wpf/{typeName}.cs", + typeName); + } + + public static DocumentationLink DemoPageLink<TDemoPage>() + { + return DemoPageLink<TDemoPage>(null); + } + + public static DocumentationLink DemoPageLink<TDemoPage>(string label) + { + return DemoPageLink<TDemoPage>(label, null); + } + + public static DocumentationLink DemoPageLink<TDemoPage>(string label, string nameSpace) + { + var ext = typeof(UserControl).IsAssignableFrom(typeof(TDemoPage)) + ? "xaml" + : "cs"; + + + return new DocumentationLink( + DocumentationLinkType.DemoPageSource, + $"{ConfigurationManager.AppSettings["GitHub"]}/blob/master/MainDemo.Wpf/{(string.IsNullOrWhiteSpace(nameSpace) ? "" : ("/" + nameSpace + "/" ))}{typeof(TDemoPage).Name}.{ext}", + label ?? typeof(TDemoPage).Name); + } + + public string Label { get; } + + public string Url { get; } + + public DocumentationLinkType Type { get; } + + public ICommand Open { get; } + + private void Execute(object o) + { + System.Diagnostics.Process.Start(Url); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinkType.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinkType.cs new file mode 100644 index 000000000..585d5abb2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinkType.cs @@ -0,0 +1,11 @@ +namespace MaterialDesignColors.WpfExample.Domain +{ + public enum DocumentationLinkType + { + Wiki, + DemoPageSource, + ControlSource, + StyleSource, + Video + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinks.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinks.xaml new file mode 100644 index 000000000..304099310 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinks.xaml @@ -0,0 +1,69 @@ +<UserControl x:Class="MaterialDesignDemo.Domain.DocumentationLinks" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:domain="clr-namespace:MaterialDesignColors.WpfExample.Domain" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300" + d:DataContext="{d:DesignInstance domain:DemoItem, IsDesignTimeCreatable=True }"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + </ResourceDictionary.MergedDictionaries> + <DataTemplate DataType="{x:Type domain:DocumentationLink}"> + <Button x:Name="Root" ToolTip="Wiki Article" ToolTipService.InitialShowDelay="0" + Style="{DynamicResource MaterialDesignFlatButton}" + Command="{Binding Open}"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon x:Name="PackIcon" Kind="BookOpenVariant" /> + <TextBlock Margin="8 0 0 0" Style="{StaticResource MaterialDesignBody1TextBlock}" + Text="{Binding Label, Mode=OneWay}" /> + </StackPanel> + </Button> + <DataTemplate.Triggers> + <DataTrigger Binding="{Binding Type}" Value="DemoPageSource"> + <Setter TargetName="PackIcon" Property="Kind" Value="Xml" /> + <Setter TargetName="Root" Property="ToolTip" Value="Demo Source" /> + </DataTrigger> + <DataTrigger Binding="{Binding Type}" Value="StyleSource"> + <Setter TargetName="PackIcon" Property="Kind" Value="Brush" /> + <Setter TargetName="Root" Property="ToolTip" Value="Style Source" /> + </DataTrigger> + <DataTrigger Binding="{Binding Type}" Value="Video"> + <Setter TargetName="PackIcon" Property="Kind" Value="YoutubePlay" /> + <Setter TargetName="Root" Property="ToolTip" Value="Video Help" /> + </DataTrigger> + <DataTrigger Binding="{Binding Type}" Value="ControlSource"> + <Setter TargetName="PackIcon" Property="Kind" Value="CodeBraces" /> + <Setter TargetName="Root" Property="ToolTip" Value="Object Source/API" /> + </DataTrigger> + </DataTemplate.Triggers> + </DataTemplate> + </ResourceDictionary> + </UserControl.Resources> + <Grid> + <ScrollViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled"> + <StackPanel Margin="16" Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Information" VerticalAlignment="Center" /> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Information Links:</TextBlock> + <ItemsControl Margin="16 0 0 0" ItemsSource="{Binding Documentation}"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <StackPanel Orientation="Horizontal" /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + <ItemsControl.ItemContainerStyle> + <Style TargetType="ContentPresenter"> + <Setter Property="Margin" Value="0 0 32 0"></Setter> + </Style> + </ItemsControl.ItemContainerStyle> + </ItemsControl> + </StackPanel> + </ScrollViewer> + <Border BorderBrush="{DynamicResource MaterialDesignDivider}" BorderThickness="0 0 0 1" /> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinks.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinks.xaml.cs new file mode 100644 index 000000000..30472b835 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/DocumentationLinks.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.Domain +{ + /// <summary> + /// Interaction logic for DocumentationLinks.xaml + /// </summary> + public partial class DocumentationLinks : UserControl + { + public DocumentationLinks() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/FutureDateValidationRule.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/FutureDateValidationRule.cs new file mode 100644 index 000000000..7f53e0bdc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/FutureDateValidationRule.cs @@ -0,0 +1,22 @@ +using System; +using System.Globalization; +using System.Windows.Controls; + +namespace MaterialDesignDemo.Domain +{ + public class FutureDateValidationRule : ValidationRule + { + public override ValidationResult Validate(object value, CultureInfo cultureInfo) + { + DateTime time; + if (!DateTime.TryParse((value ?? "").ToString(), + CultureInfo.CurrentCulture, + DateTimeStyles.AssumeLocal | DateTimeStyles.AllowWhiteSpaces, + out time)) return new ValidationResult(false, "Invalid date"); + + return time.Date <= DateTime.Now.Date + ? new ValidationResult(false, "Future date required") + : ValidationResult.ValidResult; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/IsCheckedValidationRule.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/IsCheckedValidationRule.cs new file mode 100644 index 000000000..dd5b9f3bd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/IsCheckedValidationRule.cs @@ -0,0 +1,18 @@ +using System; +using System.Globalization; +using System.Windows.Controls; + +namespace MaterialDesignDemo.Domain +{ + public class IsCheckedValidationRule : ValidationRule + { + public override ValidationResult Validate(object value, CultureInfo cultureInfo) + { + if( value is bool && (bool) value) + { + return ValidationResult.ValidResult; + } + return new ValidationResult(false, "Option must be checked"); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/ListsAndGridsViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/ListsAndGridsViewModel.cs new file mode 100644 index 000000000..6b0763a41 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/ListsAndGridsViewModel.cs @@ -0,0 +1,96 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using MaterialDesignColors.WpfExample.Domain; + +namespace MaterialDesignDemo.Domain +{ + public class ListsAndGridsViewModel : INotifyPropertyChanged + { + private readonly ObservableCollection<SelectableViewModel> _items1; + private readonly ObservableCollection<SelectableViewModel> _items2; + private readonly ObservableCollection<SelectableViewModel> _items3; + private bool? _isAllItems3Selected; + + public ListsAndGridsViewModel() + { + _items1 = CreateData(); + _items2 = CreateData(); + _items3 = CreateData(); + } + + public bool? IsAllItems3Selected + { + get { return _isAllItems3Selected; } + set + { + if (_isAllItems3Selected == value) return; + + _isAllItems3Selected = value; + + if (_isAllItems3Selected.HasValue) + SelectAll(_isAllItems3Selected.Value, Items3); + + OnPropertyChanged(); + } + } + + private static void SelectAll(bool select, IEnumerable<SelectableViewModel> models) + { + foreach (var model in models) + { + model.IsSelected = select; + } + } + + private static ObservableCollection<SelectableViewModel> CreateData() + { + return new ObservableCollection<SelectableViewModel> + { + new SelectableViewModel + { + Code = 'M', + Name = "Material Design", + Description = "Material Design in XAML Toolkit" + }, + new SelectableViewModel + { + Code = 'D', + Name = "Dragablz", + Description = "Dragablz Tab Control", + Food = "Fries" + }, + new SelectableViewModel + { + Code = 'P', + Name = "Predator", + Description = "If it bleeds, we can kill it" + } + }; + } + + public ObservableCollection<SelectableViewModel> Items1 => _items1; + public ObservableCollection<SelectableViewModel> Items2 => _items2; + + public ObservableCollection<SelectableViewModel> Items3 => _items3; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + + public IEnumerable<string> Foods + { + get + { + yield return "Burger"; + yield return "Fries"; + yield return "Shake"; + yield return "Lettuce"; + } + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/MainWindowViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/MainWindowViewModel.cs new file mode 100644 index 000000000..bb599e2f6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/MainWindowViewModel.cs @@ -0,0 +1,203 @@ +using System.Configuration; +using MaterialDesignDemo; +using MaterialDesignDemo.Domain; +using MaterialDesignThemes.Wpf; +using MaterialDesignThemes.Wpf.Transitions; +using System.Windows.Controls; +using System; + +namespace MaterialDesignColors.WpfExample.Domain +{ + public class MainWindowViewModel + { + public MainWindowViewModel(ISnackbarMessageQueue snackbarMessageQueue) + { + if (snackbarMessageQueue == null) throw new ArgumentNullException(nameof(snackbarMessageQueue)); + + DemoItems = new[] + { + new DemoItem("Home", new Home(), + new [] + { + new DocumentationLink(DocumentationLinkType.Wiki, $"{ConfigurationManager.AppSettings["GitHub"]}/wiki", "WIKI"), + DocumentationLink.DemoPageLink<Home>() + } + ), + new DemoItem("Palette", new PaletteSelector { DataContext = new PaletteSelectorViewModel() }, + new [] + { + DocumentationLink.WikiLink("Brush-Names", "Brushes"), + DocumentationLink.WikiLink("Custom-Palette-Hues", "Custom Palettes"), + DocumentationLink.WikiLink("Swatches-and-Recommended-Colors", "Swatches"), + DocumentationLink.DemoPageLink<PaletteSelector>("Demo View"), + DocumentationLink.DemoPageLink<PaletteSelectorViewModel>("Demo View Model"), + DocumentationLink.ApiLink<PaletteHelper>() + }), + new DemoItem("Buttons & Toggles", new Buttons { DataContext = new ButtonsViewModel() } , + new [] + { + DocumentationLink.WikiLink("Button-Styles", "Buttons"), + DocumentationLink.DemoPageLink<Buttons>("Demo View"), + DocumentationLink.DemoPageLink<ButtonsViewModel>("Demo View Model"), + DocumentationLink.StyleLink("Button"), + DocumentationLink.StyleLink("CheckBox"), + DocumentationLink.StyleLink("PopupBox"), + DocumentationLink.StyleLink("ToggleButton"), + DocumentationLink.ApiLink<PopupBox>() + }) + { + VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Auto + }, + new DemoItem("Fields", new TextFields(), + new [] + { + DocumentationLink.DemoPageLink<TextFields>(), + DocumentationLink.StyleLink("TextBox"), + DocumentationLink.StyleLink("ComboBox"), + }) + { + VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Auto + }, + new DemoItem("Pickers", new Pickers { DataContext = new PickersViewModel()}, + new [] + { + DocumentationLink.DemoPageLink<Pickers>(), + DocumentationLink.StyleLink("Clock"), + DocumentationLink.StyleLink("DatePicker"), + DocumentationLink.ApiLink<TimePicker>() + }), + new DemoItem("Sliders", new Sliders(), new [] + { + DocumentationLink.DemoPageLink<Sliders>(), + DocumentationLink.StyleLink("Sliders") + }), + new DemoItem("Chips", new Chips(), new [] + { + DocumentationLink.DemoPageLink<Chips>(), + DocumentationLink.StyleLink("Chip"), + DocumentationLink.ApiLink<Chip>() + }), + new DemoItem("Typography", new Typography(), new [] + { + DocumentationLink.DemoPageLink<Typography>(), + DocumentationLink.StyleLink("TextBlock") + }) + { + VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Auto, + HorizontalScrollBarVisibilityRequirement = ScrollBarVisibility.Auto + }, + new DemoItem("Cards", new Cards(), new [] + { + DocumentationLink.DemoPageLink<Cards>(), + DocumentationLink.StyleLink("Card"), + DocumentationLink.ApiLink<Card>() + }) + { + VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Auto + }, + new DemoItem("Icon Pack", new IconPack { DataContext = new IconPackViewModel(snackbarMessageQueue) }, + new [] + { + DocumentationLink.DemoPageLink<IconPack>("Demo View"), + DocumentationLink.DemoPageLink<IconPackViewModel>("Demo View Model"), + DocumentationLink.ApiLink<PackIcon>() + }), + new DemoItem("Colour Zones", new ColorZones(), + new [] + { + DocumentationLink.DemoPageLink<ColorZones>(), + DocumentationLink.ApiLink<ColorZone>() + }), + new DemoItem("Lists", new Lists { DataContext = new ListsAndGridsViewModel()}, + new [] + { + DocumentationLink.DemoPageLink<Lists>("Demo View"), + DocumentationLink.DemoPageLink<ListsAndGridsViewModel>("Demo View Model", "Domain"), + DocumentationLink.StyleLink("ListBox"), + DocumentationLink.StyleLink("ListView") + }) + { + VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Auto + }, + new DemoItem("Trees", new Trees { DataContext = new TreesViewModel() }, + new [] + { + DocumentationLink.DemoPageLink<Trees>("Demo View"), + DocumentationLink.DemoPageLink<TreesViewModel>("Demo View Model"), + DocumentationLink.StyleLink("TreeView") + }), + new DemoItem("Grids", new Grids { DataContext = new ListsAndGridsViewModel()}, + new [] + { + DocumentationLink.DemoPageLink<Grids>("Demo View"), + DocumentationLink.DemoPageLink<ListsAndGridsViewModel>("Demo View Model", "Domain"), + DocumentationLink.StyleLink("DataGrid") + }), + new DemoItem("Expander", new Expander(), + new [] + { + DocumentationLink.DemoPageLink<Expander>(), + DocumentationLink.StyleLink("Expander") + }), + new DemoItem("Group Boxes", new GroupBoxes(), + new [] + { + DocumentationLink.DemoPageLink<GroupBoxes>(), + DocumentationLink.StyleLink("GroupBox") + }), + new DemoItem("Menus & Tool Bars", new MenusAndToolBars(), + new [] + { + DocumentationLink.DemoPageLink<MenusAndToolBars>(), + DocumentationLink.StyleLink("Menu"), + DocumentationLink.StyleLink("ToolBar") + }), + new DemoItem("Progress Indicators", new Progress(), + new [] + { + DocumentationLink.DemoPageLink<Progress>(), + DocumentationLink.StyleLink("ProgressBar") + }), + new DemoItem("Dialogs", new Dialogs { DataContext = new DialogsViewModel()}, + new [] + { + DocumentationLink.WikiLink("Dialogs", "Dialogs"), + DocumentationLink.DemoPageLink<Dialogs>("Demo View"), + DocumentationLink.DemoPageLink<DialogsViewModel>("Demo View Model", "Domain"), + DocumentationLink.ApiLink<DialogHost>() + }), + new DemoItem("Drawer", new Drawers(), + new [] + { + DocumentationLink.DemoPageLink<Drawers>(), + DocumentationLink.ApiLink<DrawerHost>() + }), + new DemoItem("Snackbar", new Snackbars(), + new [] + { + DocumentationLink.WikiLink("Snackbar", "Snackbar"), + DocumentationLink.DemoPageLink<Snackbars>(), + DocumentationLink.StyleLink("Snackbar"), + DocumentationLink.ApiLink<Snackbar>(), + DocumentationLink.ApiLink<ISnackbarMessageQueue>() + }), + new DemoItem("Transitions", new Transitions(), + new [] + { + DocumentationLink.WikiLink("Transitions", "Transitions"), + DocumentationLink.DemoPageLink<Transitions>(), + DocumentationLink.ApiLink<Transitioner>("Transitions"), + DocumentationLink.ApiLink<TransitionerSlide>("Transitions"), + DocumentationLink.ApiLink<TransitioningContent>("Transitions"), + }), + new DemoItem("Shadows", new Shadows(), + new [] + { + DocumentationLink.DemoPageLink<Shadows>(), + }), + }; + } + + public DemoItem[] DemoItems { get; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/NotEmptyValidationRule.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/NotEmptyValidationRule.cs new file mode 100644 index 000000000..48fa6c154 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/NotEmptyValidationRule.cs @@ -0,0 +1,15 @@ +using System.Globalization; +using System.Windows.Controls; + +namespace MaterialDesignDemo.Domain +{ + public class NotEmptyValidationRule : ValidationRule + { + public override ValidationResult Validate(object value, CultureInfo cultureInfo) + { + return string.IsNullOrWhiteSpace((value ?? "").ToString()) + ? new ValidationResult(false, "Field is required.") + : ValidationResult.ValidResult; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/NotifyPropertyChangedExtension.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/NotifyPropertyChangedExtension.cs new file mode 100644 index 000000000..41ca615f9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/NotifyPropertyChangedExtension.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace MaterialDesignColors.WpfExample.Domain +{ + public static class NotifyPropertyChangedExtension + { + public static void MutateVerbose<TField>(this INotifyPropertyChanged instance, ref TField field, TField newValue, Action<PropertyChangedEventArgs> raise, [CallerMemberName] string propertyName = null) + { + if (EqualityComparer<TField>.Default.Equals(field, newValue)) return; + field = newValue; + raise?.Invoke(new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/Sample4Dialog.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/Sample4Dialog.xaml new file mode 100644 index 000000000..c544a8d22 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/Sample4Dialog.xaml @@ -0,0 +1,29 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Domain.Sample4Dialog" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" + mc:Ignorable="d" > + <Grid Margin="16"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <TextBox wpf:HintAssist.Hint="Name" Style="{DynamicResource MaterialDesignFloatingHintTextBox}" + Margin="0 6 0 0" + FontSize="18" Grid.Row="0" + /> + <StackPanel Orientation="Horizontal" Grid.Row="1" + Margin="0 16 0 0"> + <Button IsDefault="True" Style="{DynamicResource MaterialDesignFlatButton}" + Command="{Binding AcceptSample4DialogCommand}"> + ACCEPT + </Button> + <Button IsCancel="True" Margin="8 0 0 0" Style="{DynamicResource MaterialDesignFlatButton}" + Command="{Binding CancelSample4DialogCommand}"> + CANCEL + </Button> + </StackPanel> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/Sample4Dialog.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/Sample4Dialog.xaml.cs new file mode 100644 index 000000000..b3f984209 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/Sample4Dialog.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample.Domain +{ + /// <summary> + /// Interaction logic for SampleDialog.xaml + /// </summary> + public partial class Sample4Dialog : UserControl + { + public Sample4Dialog() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialog.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialog.xaml new file mode 100644 index 000000000..89da95fe4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialog.xaml @@ -0,0 +1,54 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Domain.SampleDialog" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:materialDesignDemo="clr-namespace:MaterialDesignDemo" + xmlns:domain="clr-namespace:MaterialDesignDemo.Domain" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <Grid Margin="16"> + + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <TextBlock>New contact:</TextBlock> + <TextBox wpf:HintAssist.Hint="Name" Style="{DynamicResource MaterialDesignFloatingHintTextBox}" + Margin="0 6 0 0" + FontSize="18" Grid.Row="1"> + <TextBox.Text> + <Binding Path="Name" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain:NotEmptyValidationRule ValidatesOnTargetUpdated="True" /> + </Binding.ValidationRules> + </Binding> + </TextBox.Text> + </TextBox> + <TextBox wpf:HintAssist.Hint="Number" Style="{DynamicResource MaterialDesignFloatingHintTextBox}" + Margin="0 8 0 0" + FontSize="16" Grid.Row="2" + /> + <StackPanel Orientation="Horizontal" Grid.Row="3" + Margin="0 16 0 0"> + <Button IsDefault="True" Style="{DynamicResource MaterialDesignFlatButton}" + Command="{x:Static wpf:DialogHost.CloseDialogCommand}"> + <Button.CommandParameter> + <system:Boolean>True</system:Boolean> + </Button.CommandParameter> + ACCEPT + </Button> + <Button IsCancel="True" Margin="8 0 0 0" Style="{DynamicResource MaterialDesignFlatButton}" + Command="{x:Static wpf:DialogHost.CloseDialogCommand}"> + <Button.CommandParameter> + <system:Boolean>False</system:Boolean> + </Button.CommandParameter> + CANCEL + </Button> + </StackPanel> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialog.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialog.xaml.cs new file mode 100644 index 000000000..4b63946be --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialog.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample.Domain +{ + /// <summary> + /// Interaction logic for SampleDialog.xaml + /// </summary> + public partial class SampleDialog : UserControl + { + public SampleDialog() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialogViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialogViewModel.cs new file mode 100644 index 000000000..134b8c1e9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleDialogViewModel.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using MaterialDesignColors.WpfExample.Domain; + +namespace MaterialDesignDemo.Domain +{ + public class SampleDialogViewModel : INotifyPropertyChanged + { + private string _name; + + public string Name + { + get { return _name; } + set + { + this.MutateVerbose(ref _name, value, RaisePropertyChanged()); + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + private Action<PropertyChangedEventArgs> RaisePropertyChanged() + { + return args => PropertyChanged?.Invoke(this, args); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleMessageDialog.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleMessageDialog.xaml new file mode 100644 index 000000000..d4a381f4f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleMessageDialog.xaml @@ -0,0 +1,26 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Domain.SampleMessageDialog" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300" + MaxWidth="400"> + <Grid Margin="16"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <TextBlock x:Name="Message" + Margin="0 6 0 0" + FontSize="18" Grid.Row="0"/> + <Button Grid.Row="1" + IsDefault="True" Style="{DynamicResource MaterialDesignFlatButton}" + HorizontalAlignment="Right" + Margin="16 16 16 0" + Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}"> + ACCEPT + </Button> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleMessageDialog.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleMessageDialog.xaml.cs new file mode 100644 index 000000000..a7fc91ec7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleMessageDialog.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample.Domain +{ + /// <summary> + /// Interaction logic for SampleMessageDialog.xaml + /// </summary> + public partial class SampleMessageDialog : UserControl + { + public SampleMessageDialog() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleProgressDialog.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleProgressDialog.xaml new file mode 100644 index 000000000..433c83ece --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleProgressDialog.xaml @@ -0,0 +1,11 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Domain.SampleProgressDialog" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + mc:Ignorable="d"> + <ProgressBar Width="24" Height="24" Margin="16" + Style="{DynamicResource MaterialDesignCircularProgressBar}" + IsIndeterminate="True" + Value="33"/> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleProgressDialog.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleProgressDialog.xaml.cs new file mode 100644 index 000000000..042f81e7c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SampleProgressDialog.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample.Domain +{ + /// <summary> + /// Interaction logic for SampleProgressDialog.xaml + /// </summary> + public partial class SampleProgressDialog : UserControl + { + public SampleProgressDialog() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SelectableViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SelectableViewModel.cs new file mode 100644 index 000000000..55cd9bcbf --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SelectableViewModel.cs @@ -0,0 +1,91 @@ +using System.ComponentModel; +using System.Runtime.CompilerServices; + + +namespace MaterialDesignColors.WpfExample.Domain +{ + + public class SelectableViewModel : INotifyPropertyChanged + { + private bool _isSelected; + private string _name; + private string _description; + private char _code; + private double _numeric; + private string _food; + + public bool IsSelected + { + get { return _isSelected; } + set + { + if (_isSelected == value) return; + _isSelected = value; + OnPropertyChanged(); + } + } + + public char Code + { + get { return _code; } + set + { + if (_code == value) return; + _code = value; + OnPropertyChanged(); + } + } + + public string Name + { + get { return _name; } + set + { + if (_name == value) return; + _name = value; + OnPropertyChanged(); + } + } + + public string Description + { + get { return _description; } + set + { + if (_description == value) return; + _description = value; + OnPropertyChanged(); + } + } + + public double Numeric + { + get { return _numeric; } + set + { + if (_numeric == value) return; + _numeric = value; + OnPropertyChanged(); + } + } + + public string Food + { + get { return _food; } + set + { + if (_food == value) return; + _food = value; + OnPropertyChanged(); + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + var handler = PropertyChanged; + if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SimpleDataTemplateSelector.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SimpleDataTemplateSelector.cs new file mode 100644 index 000000000..4b0e11c9c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SimpleDataTemplateSelector.cs @@ -0,0 +1,15 @@ +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignDemo.Domain +{ + public class SimpleDataTemplateSelector : DataTemplateSelector + { + public DataTemplate FixedTemplate { get; set; } + + public override DataTemplate SelectTemplate(object item, DependencyObject container) + { + return FixedTemplate; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SimpleDateValidationRule.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SimpleDateValidationRule.cs new file mode 100644 index 000000000..600902483 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/SimpleDateValidationRule.cs @@ -0,0 +1,20 @@ +using System; +using System.Globalization; +using System.Windows.Controls; + +namespace MaterialDesignDemo.Domain +{ + public class SimpleDateValidationRule : ValidationRule + { + public override ValidationResult Validate(object value, CultureInfo cultureInfo) + { + DateTime time; + return DateTime.TryParse((value ?? "").ToString(), + CultureInfo.CurrentCulture, + DateTimeStyles.AssumeLocal | DateTimeStyles.AllowWhiteSpaces, + out time) + ? ValidationResult.ValidResult + : new ValidationResult(false, "Invalid date"); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/TextFieldsViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/TextFieldsViewModel.cs new file mode 100644 index 000000000..642b73b73 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/TextFieldsViewModel.cs @@ -0,0 +1,65 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignColors.WpfExample.Domain +{ + public class TextFieldsViewModel : INotifyPropertyChanged + { + private string _name; + private int? _selectedValueOne; + private string _selectedTextTwo; + + public TextFieldsViewModel() + { + LongListToTestComboVirtualization = new List<int>(Enumerable.Range(0, 1000)); + + SelectedValueOne = LongListToTestComboVirtualization.Skip(2).First(); + SelectedTextTwo = null; + } + + public string Name + { + get { return _name; } + set + { + this.MutateVerbose(ref _name, value, RaisePropertyChanged()); + } + } + + public int? SelectedValueOne + { + get { return _selectedValueOne; } + set + { + this.MutateVerbose(ref _selectedValueOne, value, RaisePropertyChanged()); + } + } + + public string SelectedTextTwo + { + get { return _selectedTextTwo; } + set + { + this.MutateVerbose(ref _selectedTextTwo, value, RaisePropertyChanged()); + } + } + + public IList<int> LongListToTestComboVirtualization { get; } + + public DemoItem DemoItem => new DemoItem("Mr. Test", null, Enumerable.Empty<DocumentationLink>()); + + public event PropertyChangedEventHandler PropertyChanged; + + private Action<PropertyChangedEventArgs> RaisePropertyChanged() + { + return args => PropertyChanged?.Invoke(this, args); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/TreesViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/TreesViewModel.cs new file mode 100644 index 000000000..52c5a1329 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Domain/TreesViewModel.cs @@ -0,0 +1,149 @@ +using MaterialDesignThemes.Wpf; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignColors.WpfExample.Domain +{ + public class TreeExampleSimpleTemplateSelector : DataTemplateSelector + { + public DataTemplate PlanetTemplate { get; set; } + + public DataTemplate SolarSystemTemplate { get; set; } + + public override DataTemplate SelectTemplate(object item, DependencyObject container) + { + if (item is Planet) + return PlanetTemplate; + + if (item?.ToString() == "Solar System") + return SolarSystemTemplate; + + return TreeViewAssist.SuppressAdditionalTemplate; + } + } + + public sealed class Movie + { + public Movie(string name, string director) + { + Name = name; + Director = director; + } + + public string Name { get; } + + public string Director { get; } + } + + public class Planet + { + public string Name { get; set; } + + public double DistanceFromSun { get; set; } + + public double DistanceFromEarth { get; set; } + + public double Velocity { get; set; } + } + + public sealed class MovieCategory + { + public MovieCategory(string name, params Movie[] movies) + { + Name = name; + Movies = new ObservableCollection<Movie>(movies); + } + + public string Name { get; } + + public ObservableCollection<Movie> Movies { get; } + } + + public sealed class TreesViewModel : INotifyPropertyChanged + { + private object _selectedItem; + + public ObservableCollection<MovieCategory> MovieCategories { get; } + + public AnotherCommandImplementation AddCommand { get; } + + public AnotherCommandImplementation RemoveSelectedItemCommand { get; } + + public object SelectedItem + { + get { return _selectedItem; } + set + { + this.MutateVerbose(ref _selectedItem, value, args => PropertyChanged?.Invoke(this, args)); + } + } + + public TreesViewModel() + { + MovieCategories = new ObservableCollection<MovieCategory> + { + new MovieCategory("Action", + new Movie ("Predator", "John McTiernan"), + new Movie("Alien", "Ridley Scott"), + new Movie("Prometheus", "Ridley Scott")), + new MovieCategory("Comedy", + new Movie("EuroTrip", "Jeff Schaffer"), + new Movie("EuroTrip", "Jeff Schaffer") + ) + }; + + AddCommand = new AnotherCommandImplementation( + _ => + { + if (!MovieCategories.Any()) + { + MovieCategories.Add(new MovieCategory(GenerateString(15))); + } + else + { + var index = new Random().Next(0, MovieCategories.Count); + + MovieCategories[index].Movies.Add( + new Movie(GenerateString(15), GenerateString(20))); + } + }); + + RemoveSelectedItemCommand = new AnotherCommandImplementation( + _ => + { + var movieCategory = SelectedItem as MovieCategory; + if (movieCategory != null) + { + MovieCategories.Remove(movieCategory); + } + else + { + var movie = SelectedItem as Movie; + if (movie == null) return; + MovieCategories.FirstOrDefault(v => v.Movies.Contains(movie))?.Movies.Remove(movie); + } + }, + _ => SelectedItem != null); + } + + private static string GenerateString(int length) + { + var random = new Random(); + + return string.Join(string.Empty, + Enumerable.Range(0, length) + .Select(v => (char) random.Next('a', 'z' + 1))); + } + + public event PropertyChangedEventHandler PropertyChanged; + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Drawers.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Drawers.xaml new file mode 100644 index 000000000..56792aaa3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Drawers.xaml @@ -0,0 +1,118 @@ +<UserControl x:Class="MaterialDesignDemo.Drawers" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + xmlns:system="clr-namespace:System;assembly=mscorlib" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <smtx:XamlDisplay Key="drawers_1" MaxHeight="{x:Static system:Double.MaxValue}" Margin="5"> + <materialDesign:DrawerHost Margin="64" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2" BorderBrush="{DynamicResource MaterialDesignDivider}"> + <materialDesign:DrawerHost.LeftDrawerContent> + <StackPanel Margin="16"> + <TextBlock Margin="4" HorizontalAlignment="Center">LEFT FIELD</TextBlock> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + CommandParameter="{x:Static Dock.Left}" + Margin="4" HorizontalAlignment="Center" + Style="{DynamicResource MaterialDesignFlatButton}"> + CLOSE THIS + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + Margin="4" HorizontalAlignment="Center" + Style="{DynamicResource MaterialDesignFlatButton}"> + CLOSE ALL + </Button> + </StackPanel> + </materialDesign:DrawerHost.LeftDrawerContent> + <materialDesign:DrawerHost.TopDrawerContent> + <StackPanel Margin="16" HorizontalAlignment="Center" Orientation="Horizontal"> + <TextBlock Margin="4" VerticalAlignment="Center">TOP BANANA</TextBlock> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + Style="{DynamicResource MaterialDesignFlatButton}" + Margin="4" VerticalAlignment="Center"> + CLOSE ALL + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + CommandParameter="{x:Static Dock.Top}" + Style="{DynamicResource MaterialDesignFlatButton}" + Margin="4" VerticalAlignment="Center"> + CLOSE THIS + </Button> + </StackPanel> + </materialDesign:DrawerHost.TopDrawerContent> + <materialDesign:DrawerHost.RightDrawerContent> + <StackPanel Margin="16"> + <TextBlock Margin="4" HorizontalAlignment="Center">THE RIGHT STUFF</TextBlock> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + CommandParameter="{x:Static Dock.Right}" + Margin="4" HorizontalAlignment="Center" + Style="{DynamicResource MaterialDesignFlatButton}"> + CLOSE THIS + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + Margin="4" HorizontalAlignment="Center" + Style="{DynamicResource MaterialDesignFlatButton}"> + CLOSE ALL + </Button> + </StackPanel> + </materialDesign:DrawerHost.RightDrawerContent> + <materialDesign:DrawerHost.BottomDrawerContent> + <StackPanel Margin="16" HorizontalAlignment="Center" Orientation="Horizontal"> + <TextBlock Margin="4" VerticalAlignment="Center">BOTTOM BRACKET</TextBlock> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + Style="{DynamicResource MaterialDesignFlatButton}" + Margin="4" VerticalAlignment="Center"> + CLOSE ALL + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.CloseDrawerCommand}" + CommandParameter="{x:Static Dock.Bottom}" + Style="{DynamicResource MaterialDesignFlatButton}" + Margin="4" VerticalAlignment="Center"> + CLOSE THIS + </Button> + </StackPanel> + </materialDesign:DrawerHost.BottomDrawerContent> + <Grid MinWidth="480" MinHeight="480"> + <Grid VerticalAlignment="Center" HorizontalAlignment="Center"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition /> + <ColumnDefinition /> + <ColumnDefinition /> + </Grid.ColumnDefinitions> + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" + CommandParameter="{x:Static Dock.Left}" + Grid.Row="1" Grid.Column="0" Margin="4"> + <materialDesign:PackIcon Kind="ArrowLeft" /> + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" + CommandParameter="{x:Static Dock.Top}" + Grid.Row="0" Grid.Column="1" Margin="4"> + <materialDesign:PackIcon Kind="ArrowUp" /> + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" + CommandParameter="{x:Static Dock.Right}" + Grid.Row="1" Grid.Column="2" Margin="4"> + <materialDesign:PackIcon Kind="ArrowRight" /> + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" + CommandParameter="{x:Static Dock.Bottom}" + Grid.Row="2" Grid.Column="1" Margin="4"> + <materialDesign:PackIcon Kind="ArrowDown" /> + </Button> + <Button Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" + Grid.Row="1" Grid.Column="1" Margin="4" + Style="{DynamicResource MaterialDesignRaisedAccentButton}"> + <materialDesign:PackIcon Kind="ArrowAll" /> + </Button> + </Grid> + </Grid> + </materialDesign:DrawerHost> + </smtx:XamlDisplay> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Drawers.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Drawers.xaml.cs new file mode 100644 index 000000000..5b92cbed1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Drawers.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo +{ + /// <summary> + /// Interaction logic for Drawers.xaml + /// </summary> + public partial class Drawers : UserControl + { + public Drawers() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Expander.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Expander.xaml new file mode 100644 index 000000000..08f3d71b5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Expander.xaml @@ -0,0 +1,153 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Expander" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="400" d:DesignWidth="600"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="1*" /> + <ColumnDefinition Width="1*" /> + </Grid.ColumnDefinitions> + <smtx:XamlDisplay Key="explander_1"> + <StackPanel> + <Expander HorizontalAlignment="Stretch" + Header="Expander Example 1a"> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="24,8,24,16"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + <Expander HorizontalAlignment="Stretch" + Header="Expander Example 1b"> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="24,8,24,16"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + <Expander HorizontalAlignment="Stretch" + Header="Expander Example 1c"> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="24,8,24,16"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + + </StackPanel> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="expander_2" Grid.Column="0" Grid.Row="1" Margin="4 24 0 0"> + <materialDesign:Card Background="{DynamicResource MaterialDesignBackground}"> + <StackPanel> + <Expander HorizontalAlignment="Stretch" + Header="Expander Example 2a"> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="24,8,24,16"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + <Border Background="{DynamicResource MaterialDesignDivider}" Height="1" HorizontalAlignment="Stretch" SnapsToDevicePixels="True" /> + <Expander HorizontalAlignment="Stretch" + Header="Expander Example 2b"> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="24,8,24,16"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + <Border Background="{DynamicResource MaterialDesignDivider}" Height="1" HorizontalAlignment="Stretch" SnapsToDevicePixels="True" /> + <Expander HorizontalAlignment="Stretch" + Header="Expander Example 2c"> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="24,8,24,16"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + </StackPanel> + </materialDesign:Card> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="expander_3" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="8"> + <StackPanel Orientation="Horizontal"> + <Expander ExpandDirection="Right"> + <Expander.Header> + <TextBlock Text="Expander Example 3a" RenderTransformOrigin=".5,.5"> + <TextBlock.LayoutTransform> + <RotateTransform Angle="90" /> + </TextBlock.LayoutTransform> + </TextBlock> + </Expander.Header> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="8,24,16,24"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + MaxWidth="180" + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + <Border Background="{DynamicResource MaterialDesignDivider}" Width="1" VerticalAlignment="Stretch" SnapsToDevicePixels="True" /> + <Expander ExpandDirection="Right"> + <Expander.Header> + <TextBlock Text="Expander Example 3b" RenderTransformOrigin=".5,.5"> + <TextBlock.LayoutTransform> + <RotateTransform Angle="90" /> + </TextBlock.LayoutTransform> + </TextBlock> + </Expander.Header> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="8,24,16,24"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + MaxWidth="180" + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + <Border Background="{DynamicResource MaterialDesignDivider}" Width="1" VerticalAlignment="Stretch" SnapsToDevicePixels="True" /> + <Expander ExpandDirection="Right"> + <Expander.Header> + <TextBlock Text="Expander Example 3c" RenderTransformOrigin=".5,.5"> + <TextBlock.LayoutTransform> + <RotateTransform Angle="90" /> + </TextBlock.LayoutTransform> + </TextBlock> + </Expander.Header> + <StackPanel Orientation="Vertical" + TextBlock.Foreground="{DynamicResource MaterialDesignBody}" + Margin="8,24,16,24"> + <TextBlock Text="Your Content" /> + <TextBlock Opacity=".68" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + MaxWidth="180" + TextWrapping="Wrap"/> + </StackPanel> + </Expander> + </StackPanel> + </smtx:XamlDisplay> + </Grid> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Expander.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Expander.xaml.cs new file mode 100644 index 000000000..309ec0c58 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Expander.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaktionslogik für Expander.xaml + /// </summary> + public partial class Expander : UserControl + { + public Expander() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Grids.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Grids.xaml new file mode 100644 index 000000000..514cc3553 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Grids.xaml @@ -0,0 +1,84 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Grids" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.DataGrid.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <ScrollViewer> + <StackPanel> + <TextBlock>Custom Columns</TextBlock> + <smtx:XamlDisplay Key="grids_1"> + <DataGrid Margin="0 8 0 0" ItemsSource="{Binding Items3}" CanUserSortColumns="True" CanUserAddRows="False" AutoGenerateColumns="False" + materialDesign:DataGridAssist.CellPadding="13 8 8 8" materialDesign:DataGridAssist.ColumnHeaderPadding="8"> + <DataGrid.Columns> + <DataGridCheckBoxColumn Binding="{Binding IsSelected}" + ElementStyle="{StaticResource MaterialDesignDataGridCheckBoxColumnStyle}" + EditingElementStyle="{StaticResource MaterialDesignDataGridCheckBoxColumnEditingStyle}"> + <DataGridCheckBoxColumn.Header> + <!--padding to allow hit test to pass thru for sorting --> + <Border Background="Transparent" Padding="6 0 6 0" HorizontalAlignment="Center"> + <CheckBox HorizontalAlignment="Center" + DataContext="{Binding RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}, Path=DataContext}" + IsChecked="{Binding IsAllItems3Selected}" /> + </Border> + </DataGridCheckBoxColumn.Header> + </DataGridCheckBoxColumn> + <DataGridTextColumn Binding="{Binding Code}" + Header="Code" + EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnEditingStyle}" /> + <!-- if you want to use the pop up style (MaterialDesignDataGridTextColumnPopupEditingStyle), you must use MaterialDataGridTextColumn --> + <materialDesign:MaterialDataGridTextColumn Binding="{Binding Name}" + Header="Name" + EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" + /> + <!-- set a max length to get an indicator in the editor --> + <materialDesign:MaterialDataGridTextColumn Binding="{Binding Description}" + Header="Description" + MaxLength="255" + EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" /> + <materialDesign:MaterialDataGridTextColumn Binding="{Binding Numeric}" + Header="Numeric" + EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}"> + <DataGridTextColumn.HeaderStyle> + <Style TargetType="{x:Type DataGridColumnHeader}" BasedOn="{StaticResource MaterialDesignDataGridColumnHeader}"> + <Setter Property="HorizontalAlignment" Value="Right" /> + </Style> + </DataGridTextColumn.HeaderStyle> + <DataGridTextColumn.ElementStyle> + <Style TargetType="{x:Type TextBlock}"> + <Setter Property="HorizontalAlignment" Value="Right" /> + </Style> + </DataGridTextColumn.ElementStyle> + </materialDesign:MaterialDataGridTextColumn> + + <!-- use custom combo box column to get better combos. Use ItemsSourceBinding as your binding template to be applied to each combo --> + <materialDesign:MaterialDataGridComboBoxColumn Header="Food" + SelectedValueBinding="{Binding Food}" + ItemsSourceBinding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type DataGrid}}, Path=DataContext.Foods}" /> + </DataGrid.Columns> + </DataGrid> + </smtx:XamlDisplay> + <TextBlock Margin="0 24 0 0">Auto Generated Columns</TextBlock> + <smtx:XamlDisplay Key="grids_2"> + <DataGrid Margin="0 8 0 0" ItemsSource="{Binding Items3}" CanUserSortColumns="True" CanUserAddRows="False" /> + </smtx:XamlDisplay> + <TextBlock Margin="0 24 0 0">Custom Padding</TextBlock> + <smtx:XamlDisplay Key="grids_3"> + <DataGrid Margin="0 8 0 0" ItemsSource="{Binding Items3}" CanUserSortColumns="True" CanUserAddRows="False" + materialDesign:DataGridAssist.CellPadding="4 2 2 2" materialDesign:DataGridAssist.ColumnHeaderPadding="4 2 2 2" + /> + </smtx:XamlDisplay> + </StackPanel> + </ScrollViewer> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Grids.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Grids.xaml.cs new file mode 100644 index 000000000..aeef38e24 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Grids.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Grids.xaml + /// </summary> + public partial class Grids : UserControl + { + public Grids() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/GroupBoxes.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/GroupBoxes.xaml new file mode 100644 index 000000000..69e36dda5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/GroupBoxes.xaml @@ -0,0 +1,73 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.GroupBoxes" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.GroupBox.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + + </UserControl.Resources> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition/> + <ColumnDefinition/> + <ColumnDefinition/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition/> + <RowDefinition/> + </Grid.RowDefinitions> + + <smtx:XamlDisplay Key="groupbox_1" Grid.Column="0" Grid.Row="0"> + <GroupBox Header="Default Look" Margin="16"> + <TextBlock>My Content</TextBlock> + </GroupBox> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="groupbox_2" Grid.Column="1" Grid.Row="0"> + <GroupBox Header="Shadow Header" Style="{DynamicResource MaterialDesignGroupBox}" Margin="16" materialDesign:ShadowAssist.ShadowDepth="Depth3" BorderThickness="0"> + <TextBlock Margin="6,6,6,6" TextWrapping="Wrap">Short loin picanha boudin pork belly. Ground round porchetta biltong, cow t-bone tri-tip strip steak chuck filet mignon jowl turducken. Landjaeger strip steak pork chop, jowl sirloin pork capicola andouille. Kevin ribeye tongue, drumstick hamburger frankfurter t-bone corned beef beef biltong cow venison. Biltong picanha bresaola pork belly, filet mignon spare ribs doner pork chop kielbasa. Swine flank drumstick pork belly pancetta spare ribs rump filet mignon.</TextBlock> + </GroupBox> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="groupbox_3" Grid.Column="2" Grid.Row="0"> + <Border Background="{DynamicResource MaterialDesignBackground}"> + <GroupBox Header="Transparent Background" Style="{DynamicResource MaterialDesignGroupBox}" Margin="16" UseLayoutRounding="True" SnapsToDevicePixels="True"> + <TextBlock>My Content</TextBlock> + </GroupBox> + </Border> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="groupbox_4" Grid.Column="0" Grid.Row="1"> + <GroupBox Header="Accent Header" Style="{DynamicResource MaterialDesignGroupBox}" Margin="16" materialDesign:ColorZoneAssist.Mode="Accent"> + <TextBlock>My Content</TextBlock> + </GroupBox> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="groupbox_5" Grid.Column="1" Grid.Row="1"> + <GroupBox Header="Card Group Box" Style="{DynamicResource MaterialDesignCardGroupBox}" Margin="16"> + <GroupBox.HeaderTemplate> + <DataTemplate> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="ImageArea" Height="32" Width="32" VerticalAlignment="Center" /> + <TextBlock Margin="8,0,0,0" VerticalAlignment="Center" Style="{StaticResource MaterialDesignSubheadingTextBlock}" Text="{Binding}"/> + </StackPanel> + </DataTemplate> + </GroupBox.HeaderTemplate> + <Image Source="Resources/Contact.png" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </GroupBox> + </smtx:XamlDisplay> + </Grid> +</UserControl> + + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/GroupBoxes.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/GroupBoxes.xaml.cs new file mode 100644 index 000000000..bafdfb2d7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/GroupBoxes.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for GroupBoxes.xaml + /// </summary> + public partial class GroupBoxes : UserControl + { + public GroupBoxes() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Home.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Home.xaml new file mode 100644 index 000000000..eafc9e37d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Home.xaml @@ -0,0 +1,180 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Home" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PopupBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + <!-- throw in some extra colour for our floating action button --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Green.Named.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Grid HorizontalAlignment="Center" VerticalAlignment="Top" Margin="16"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + <Image Source="Resources/ms-icon-310x310.png" Stretch="Uniform" Width="100" Height="100" /> + <StackPanel Grid.Column="1" Margin="24 0 0 0" VerticalAlignment="Center"> + <TextBlock Style="{StaticResource MaterialDesignDisplay1TextBlock}" TextWrapping="Wrap">Welcome to Material Design In XAML Toolkit</TextBlock> + <Button Style="{StaticResource MaterialDesignFlatButton}" + Command="{x:Static materialDesign:DrawerHost.OpenDrawerCommand}" + CommandParameter="{x:Static Dock.Left}"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Binoculars" /> + <TextBlock Margin="8 0 0 0">EXPLORE</TextBlock> + </StackPanel> + </Button> + </StackPanel> + </Grid> + <ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled" + HorizontalAlignment="Center" + VerticalAlignment="Bottom" + Margin="0 0 0 32"> + <Grid> + <StackPanel Orientation="Horizontal"> + <materialDesign:Card Width="420" Margin="4 2 8 16" Height="270"> + <Grid VerticalAlignment="Stretch" > + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="200" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + <Image Source="Resources/Contact.png" Grid.RowSpan="5" StretchDirection="Both" VerticalAlignment="Stretch" Stretch="UniformToFill" /> + <TextBlock Grid.Column="1" Style="{StaticResource MaterialDesignHeadlineTextBlock}" Margin="16 16 16 2">Get In Touch</TextBlock> + <TextBlock Grid.Column="1" Grid.Row="1" TextWrapping="Wrap" Margin="16 0 16 8" Foreground="{DynamicResource MaterialDesignBodyLight}" + VerticalAlignment="Center">Say hello, make a feature request, or raise a bug through one of these channels:</TextBlock> + <Border Grid.Column="1" Grid.Row="2" BorderThickness="0 1 0 0" BorderBrush="{DynamicResource MaterialDesignDivider}" Margin="0 8 0 0"> + <Grid Margin="8"> + <Button Style="{DynamicResource MaterialDesignFlatButton}" HorizontalAlignment="Left" + x:Name="GitHubButton" Click="GitHubButton_OnClick"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="GithubCircle" /> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">GitHub</TextBlock> + </StackPanel> + </Button> + <Button Style="{DynamicResource MaterialDesignFlatButton}" HorizontalAlignment="Right" + x:Name="TwitterButton" Click="TwitterButton_OnClick"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Twitter" /> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Twitter</TextBlock> + </StackPanel> + </Button> + </Grid> + </Border> + <Border Grid.Column="1" Grid.Row="3" BorderThickness="0 1 0 0" BorderBrush="{DynamicResource MaterialDesignDivider}"> + <Grid Margin="8"> + <Button Style="{DynamicResource MaterialDesignFlatButton}" HorizontalAlignment="Left" + x:Name="ChatButton" Click="ChatButton_OnClick"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Message" /> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Chat</TextBlock> + </StackPanel> + </Button> + <Button Style="{DynamicResource MaterialDesignFlatButton}" HorizontalAlignment="Right" + x:Name="EmailButton" Click="EmailButton_OnClick"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Email" /> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Email</TextBlock> + </StackPanel> + </Button> + </Grid> + </Border> + </Grid> + </materialDesign:Card> + <materialDesign:Card Width="420" Margin="8 2 4 16" Height="270"> + <Grid VerticalAlignment="Stretch"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="200" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + <materialDesign:PackIcon Kind="GithubCircle" Width="160" Height="160" HorizontalAlignment="Center" VerticalAlignment="Center" /> + <StackPanel Grid.Column="1"> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}" Margin="16 16 16 8">Open Source</TextBlock> + <TextBlock TextWrapping="Wrap" Margin="16 0 16 8" Foreground="{DynamicResource MaterialDesignBodyLight}" + VerticalAlignment="Top">This project is completely open source. If you like it and want to say thanks you could hit the GitHub Star button, tweet or post about it, or tell your mum about it!</TextBlock> + </StackPanel> + <Border Grid.Row="1" Grid.ColumnSpan="2" BorderThickness="0 1 0 0" BorderBrush="{DynamicResource MaterialDesignDivider}" Padding="8"> + <DockPanel> + <Button Style="{DynamicResource MaterialDesignFlatButton}" + DockPanel.Dock="Right" + x:Name="DonateButton" Click="DonateButton_OnClick"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Gift" /> + <TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Donate</TextBlock> + </StackPanel> + </Button> + <TextBlock Foreground="{DynamicResource MaterialDesignBodyLight}" TextWrapping="Wrap" Margin="16" VerticalAlignment="Center"> + Feel like you want to make a donation? It would be gratefully received. Click the button to donate via Pledgie. + </TextBlock> + </DockPanel> + </Border> + </Grid> + </materialDesign:Card> + </StackPanel> + </Grid> + </ScrollViewer> + <materialDesign:PopupBox Style="{StaticResource MaterialDesignMultiFloatingActionPopupBox}" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + Margin="32" Grid.Row="1"> + <StackPanel> + <Button ToolTip="GitHub" Click="GitHubButton_OnClick"> + <materialDesign:PackIcon Kind="GithubCircle" Height="20" Width="20" /> + </Button> + <Button ToolTip="Twitter" Click="TwitterButton_OnClick" + Background="{DynamicResource PrimaryHueMidBrush}" + Foreground="{DynamicResource PrimaryHueMidForegroundBrush}"> + <materialDesign:PackIcon Kind="Twitter" /> + </Button> + <Button ToolTip="Chat" Click="ChatButton_OnClick"> + <!-- mix up the colours by brinking in a named palette (see merged dictionaries at top) --> + <Button.Background> + <SolidColorBrush Color="{StaticResource GreenPrimary500}" /> + </Button.Background> + <Button.Foreground> + <SolidColorBrush Color="{StaticResource GreenPrimary500Foreground}" /> + </Button.Foreground> + <materialDesign:PackIcon Kind="Message" /> + </Button> + <Button ToolTip="Email" Click="EmailButton_OnClick" + Background="{DynamicResource SecondaryAccentBrush}" + Foreground="{DynamicResource SecondaryAccentForegroundBrush}" + > + <materialDesign:PackIcon Kind="Email" /> + </Button> + <Button ToolTip="Feel like you want to make a donation? It would be gratefully received. Click the button to donate via Pledgie." + Click="DonateButton_OnClick"> + <Button.Background> + <SolidColorBrush Color="{StaticResource GreenPrimary200}" /> + </Button.Background> + <Button.Foreground> + <SolidColorBrush Color="{StaticResource GreenPrimary200Foreground}" /> + </Button.Foreground> + <materialDesign:PackIcon Kind="Gift" /> + </Button> + </StackPanel> + </materialDesign:PopupBox> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Home.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Home.xaml.cs new file mode 100644 index 000000000..f3b35fd2a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Home.xaml.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Home.xaml + /// </summary> + public partial class Home : UserControl + { + public Home() + { + InitializeComponent(); + } + + private void GitHubButton_OnClick(object sender, RoutedEventArgs e) + { + Process.Start(ConfigurationManager.AppSettings["GitHub"]); + } + + private void TwitterButton_OnClick(object sender, RoutedEventArgs e) + { + Process.Start("https://twitter.com/James_Willock"); + } + + private void ChatButton_OnClick(object sender, RoutedEventArgs e) + { + Process.Start("https://gitter.im/ButchersBoy/MaterialDesignInXamlToolkit"); + } + + private void EmailButton_OnClick(object sender, RoutedEventArgs e) + { + Process.Start("mailto://james@dragablz.net"); + } + + private void DonateButton_OnClick(object sender, RoutedEventArgs e) + { + Process.Start("https://pledgie.com/campaigns/31029"); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPack.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPack.xaml new file mode 100644 index 000000000..b6d4ad728 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPack.xaml @@ -0,0 +1,93 @@ +<UserControl x:Class="MaterialDesignDemo.IconPack" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesignDemo="clr-namespace:MaterialDesignDemo" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:virtualCollection="clr-namespace:VirtualCollection.VirtualCollection" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <StackPanel> + <TextBlock Style="{StaticResource MaterialDesignDisplay2TextBlock}">Icon Pack</TextBlock> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}" + Margin="0 8 0 0"> + Material Design In XAML Toolkit includes the Material Design Icons collection. + </TextBlock> + <TextBlock Margin="0 12 0 0"> + For more information on Material Design Icons see the official website: + <Hyperlink Command="{Binding OpenDotComCommand}">materialdesignicons.com</Hyperlink> + </TextBlock> + </StackPanel> + <ListBox ItemsSource="{Binding Kinds}" Grid.Row="1" Margin="0 8 0 0" + x:Name="KindsListBox"> + <ListBox.ItemsPanel> + <ItemsPanelTemplate> + <virtualCollection:VirtualizingWrapPanel ItemHeight="80" ItemWidth="80" /> + </ItemsPanelTemplate> + </ListBox.ItemsPanel> + <ListBox.ItemTemplate> + <DataTemplate DataType="materialDesign:PackIconKind"> + <DockPanel ToolTip="{Binding }" Width="64" Height="64" Background="Transparent"> + <TextBlock Text="{Binding }" DockPanel.Dock="Bottom" TextTrimming="CharacterEllipsis" HorizontalAlignment="Center" /> + <materialDesign:PackIcon Kind="{Binding }" VerticalAlignment="Center" HorizontalAlignment="Center" + Width="32" Height="32" + /> + </DockPanel> + </DataTemplate> + </ListBox.ItemTemplate> + </ListBox> + <materialDesign:ColorZone Mode="PrimaryLight" Grid.Row="2" Margin="0 8 0 0" CornerRadius="2" materialDesign:ShadowAssist.ShadowDepth="Depth2"> + <StackPanel Orientation="Horizontal" Margin="8"> + <Border Background="White" MaxHeight="30" CornerRadius="3" ToolTip="Enter to search, ignore case"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + <Button Style="{DynamicResource MaterialDesignToolButton}" + Command="{Binding SearchCommand}" x:Name="SearchButton" + CommandParameter="{Binding ElementName=SearchBox, Path=Text}" + Height="24" Width="24"> + <materialDesign:PackIcon Kind="Magnify" Opacity=".56" /> + </Button> + <TextBox Grid.Column="1" Margin="5 0 0 0" KeyDown="Search_OnKeyDown" + materialDesign:HintAssist.Hint="Search" x:Name="SearchBox" + materialDesign:TextFieldAssist.DecorationVisibility="Hidden" BorderThickness="0" + MinWidth="200" VerticalAlignment="Center" /> + </Grid> + </Border> + <TextBlock Margin="8 0 0 0" Style="{StaticResource MaterialDesignSubheadingTextBlock}" VerticalAlignment="Center">Usage:</TextBlock> + <materialDesign:ColorZone Mode="Standard" Margin="8" CornerRadius="2" Padding="6 2 6 2"> + <TextBox IsReadOnly="True" + materialDesign:TextFieldAssist.DecorationVisibility="Collapsed" + BorderThickness="0" + FontFamily="Courier New" + FontWeight="Bold" + GotFocus="TextBox_OnGotFocus" + Text="{Binding ElementName=KindsListBox, Path=SelectedValue, StringFormat='<materialDesign:PackIcon Kind="{0}" \/>'}" /> + </materialDesign:ColorZone> + <materialDesign:PackIcon Kind="{Binding ElementName=KindsListBox, Path=SelectedValue}" VerticalAlignment="Center" /> + <Button Margin="8 0" Command="{Binding CopyToClipboardCommand, Mode=OneTime}" CommandParameter="{Binding ElementName=KindsListBox, Path=SelectedValue}"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="ContentCopy"/> + <TextBlock Text="Copy To Clipboard" Margin="8 0 0 0" /> + </StackPanel> + </Button> + </StackPanel> + </materialDesign:ColorZone> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPack.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPack.xaml.cs new file mode 100644 index 000000000..c1abea70a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPack.xaml.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo +{ + /// <summary> + /// Interaction logic for Icons.xaml + /// </summary> + public partial class IconPack : UserControl + { + public IconPack() + { + InitializeComponent(); + } + + private void TextBox_OnGotFocus(object sender, RoutedEventArgs e) + { + var textBox = (TextBox)sender; + textBox.Dispatcher.BeginInvoke(new Action(textBox.SelectAll)); + } + + private void Search_OnKeyDown(object sender, KeyEventArgs e) + { + var textBox = (TextBox)sender; + if (e.Key == Key.Enter) + SearchButton.Command.Execute(textBox.Text); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPackViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPackViewModel.cs new file mode 100644 index 000000000..234ff87ab --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/IconPackViewModel.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Input; +using MaterialDesignColors.WpfExample; +using MaterialDesignColors.WpfExample.Domain; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignDemo +{ + public class IconPackViewModel : INotifyPropertyChanged + { + private readonly Lazy<IEnumerable<PackIconKind>> _packIconKinds; + private readonly ISnackbarMessageQueue _snackbarMessageQueue; + + public IconPackViewModel(ISnackbarMessageQueue snackbarMessageQueue) + { + _snackbarMessageQueue = snackbarMessageQueue ?? throw new ArgumentNullException(nameof(snackbarMessageQueue)); + + OpenDotComCommand = new AnotherCommandImplementation(OpenDotCom); + SearchCommand = new AnotherCommandImplementation(Search); + CopyToClipboardCommand = new AnotherCommandImplementation(CopyToClipboard); + _packIconKinds = new Lazy<IEnumerable<PackIconKind>>(() => + Enum.GetValues(typeof (PackIconKind)).OfType<PackIconKind>() + .OrderBy(k => k.ToString(), StringComparer.InvariantCultureIgnoreCase).ToList() + ); + } + + public ICommand OpenDotComCommand { get; } + public ICommand SearchCommand { get; } + public ICommand CopyToClipboardCommand { get; } + + private IEnumerable<PackIconKind> _kinds; + public IEnumerable<PackIconKind> Kinds + { + get { return _kinds ?? (_kinds = _packIconKinds.Value); } + set + { + _kinds = value; + OnPropertyChanged(); + } + } + + private void OpenDotCom(object obj) + { + Process.Start("https://materialdesignicons.com/"); + } + + private void Search(object obj) + { + var text = obj as string; + if (string.IsNullOrWhiteSpace(text)) + Kinds = _packIconKinds.Value; + else + Kinds = + _packIconKinds.Value.Where( + x => x.ToString().IndexOf(text, StringComparison.CurrentCultureIgnoreCase) >= 0); + } + + private void CopyToClipboard(object obj) + { + var kind = (PackIconKind?)obj; + string toBeCopied = $"<materialDesign:PackIcon Kind=\"{kind}\" />"; + Clipboard.SetDataObject(toBeCopied); + _snackbarMessageQueue.Enqueue(toBeCopied + " copied to clipboard"); + } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Lists.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Lists.xaml new file mode 100644 index 000000000..04ef733c0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Lists.xaml @@ -0,0 +1,137 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Lists" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:domain="clr-namespace:MaterialDesignColors.WpfExample.Domain" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToggleButton.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <Grid Margin="8" > + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}">ListBox</TextBlock> + <Grid Grid.Row="1"> + <Grid.RowDefinitions> + <RowDefinition/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="1*" /> + <ColumnDefinition Width="1*" /> + <ColumnDefinition Width="1*" /> + </Grid.ColumnDefinitions> + <smtx:XamlDisplay Key="list_1" Grid.Column="0"> + <ListBox IsEnabled="{Binding IsChecked, ElementName=EnableListBox}"> + <TextBlock>Plain</TextBlock> + <TextBlock>Old</TextBlock> + <TextBlock>ListBox</TextBlock> + <TextBlock>Full of junk</TextBlock> + </ListBox> + </smtx:XamlDisplay> + <CheckBox Name="EnableListBox" Grid.Column="0" Grid.Row="1" IsChecked="True">Enabled</CheckBox> + + <smtx:XamlDisplay Key="list_2" Grid.Column="1" Grid.Row="0"> + <!-- piece together your own items control to create some nice stuff that will make everyone think you are cool. and rightly so, because you are cool. you might even be a hipster for all I know --> + <ItemsControl ItemsSource="{Binding Items1}" + Grid.IsSharedSizeScope="True" + Margin="12 0 12 0"> + <ItemsControl.ItemTemplate> + <DataTemplate DataType="{x:Type domain:SelectableViewModel}"> + <Border x:Name="Border" Padding="8"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition SharedSizeGroup="Checkerz" /> + <ColumnDefinition /> + </Grid.ColumnDefinitions> + <CheckBox VerticalAlignment="Center" IsChecked="{Binding IsSelected}"/> + <StackPanel Margin="8 0 0 0" Grid.Column="1"> + <TextBlock FontWeight="Bold" Text="{Binding Name}" /> + <TextBlock Text="{Binding Description}" /> + </StackPanel> + </Grid> + </Border> + <DataTemplate.Triggers> + <DataTrigger Binding="{Binding IsSelected}" Value="True"> + <Setter TargetName="Border" Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + </DataTrigger> + </DataTemplate.Triggers> + </DataTemplate> + </ItemsControl.ItemTemplate> + </ItemsControl> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="list_3" Grid.Column="2" Grid.Row="0"> + <!-- and here's another --> + <ItemsControl ItemsSource="{Binding Items2}" Grid.IsSharedSizeScope="True"> + <ItemsControl.ItemTemplate> + <DataTemplate DataType="{x:Type domain:SelectableViewModel}"> + <Border x:Name="Border" Padding="8" BorderThickness="0 0 0 1" BorderBrush="{DynamicResource MaterialDesignDivider}"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition SharedSizeGroup="Checkerz" /> + <ColumnDefinition /> + </Grid.ColumnDefinitions> + <ToggleButton VerticalAlignment="Center" IsChecked="{Binding IsSelected}" + Style="{StaticResource MaterialDesignActionLightToggleButton}" + Content="{Binding Code}" /> + <StackPanel Margin="8 0 0 0" Grid.Column="1"> + <TextBlock FontWeight="Bold" Text="{Binding Name}" /> + <TextBlock Text="{Binding Description}" /> + </StackPanel> + </Grid> + </Border> + <DataTemplate.Triggers> + <DataTrigger Binding="{Binding IsSelected}" Value="True"> + <Setter TargetName="Border" Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + </DataTrigger> + </DataTemplate.Triggers> + </DataTemplate> + </ItemsControl.ItemTemplate> + </ItemsControl> + </smtx:XamlDisplay> + </Grid> + <TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}" Grid.Row="2" Margin="0 32 0 0">ListView</TextBlock> + <smtx:XamlDisplay Key="lists_4" Grid.Row="3"> + <ListView> + <ListViewItem> + Hello + </ListViewItem> + <ListViewItem> + World + </ListViewItem> + <ListViewItem> + :) + </ListViewItem> + </ListView> + </smtx:XamlDisplay> + <TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}" Grid.Row="4" Margin="0 32 0 0">ListView.GridView</TextBlock> + <smtx:XamlDisplay Key="lists_5" Grid.Row="5"> + <ListView ItemsSource="{Binding Items1}"> + <ListView.View> + <GridView> + <GridViewColumn DisplayMemberBinding="{Binding Code}" Header="Code" /> + <GridViewColumn DisplayMemberBinding="{Binding Name}" Header="Name" /> + <GridViewColumn DisplayMemberBinding="{Binding Description}" Header="Description" /> + </GridView> + </ListView.View> + </ListView> + </smtx:XamlDisplay> + </Grid> + +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Lists.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Lists.xaml.cs new file mode 100644 index 000000000..3227fbf25 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Lists.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Lists.xaml + /// </summary> + public partial class Lists : UserControl + { + public Lists() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MainWindow.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MainWindow.xaml new file mode 100644 index 000000000..c8c67b435 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MainWindow.xaml @@ -0,0 +1,97 @@ +<Window x:Class="MaterialDesignColors.WpfExample.MainWindow" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:domain="clr-namespace:MaterialDesignColors.WpfExample.Domain" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:domain1="clr-namespace:MaterialDesignDemo.Domain" + Title="Material Design in XAML" Height="800" Width="1100" + TextElement.Foreground="{DynamicResource MaterialDesignBody}" + TextElement.FontWeight="Regular" + TextElement.FontSize="13" + TextOptions.TextFormattingMode="Ideal" + TextOptions.TextRenderingMode="Auto" + Background="{DynamicResource MaterialDesignPaper}" + FontFamily="{StaticResource MaterialDesignFont}" Icon="favicon.ico"> + <Window.CommandBindings> + <CommandBinding Command="Copy" Executed="OnCopy"></CommandBinding> + </Window.CommandBindings> + <Window.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToggleButton.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <!-- data template used for the dialogs example, defines a View for a ViewModel of type DateTime --> + <DataTemplate DataType="{x:Type system:DateTime}"> + <StackPanel Margin="16"> + <TextBlock>England win the World Cup:</TextBlock> + <TextBlock Margin="0 8 0 0" Text="{Binding }" /> + <TextBlock Margin="0 8 0 0" >You will never see that again.</TextBlock> + <Button Margin="0 8 0 0" IsDefault="True" Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" Style="{DynamicResource MaterialDesignFlatButton}">AWESOME</Button> + </StackPanel> + </DataTemplate> + </ResourceDictionary> + </Window.Resources> + + <materialDesign:DialogHost Identifier="RootDialog" SnackbarMessageQueue="{Binding ElementName=MainSnackbar, Path=MessageQueue}"> + <materialDesign:DrawerHost IsLeftDrawerOpen="{Binding ElementName=MenuToggleButton, Path=IsChecked}"> + <materialDesign:DrawerHost.LeftDrawerContent> + <DockPanel MinWidth="212"> + <ToggleButton Style="{StaticResource MaterialDesignHamburgerToggleButton}" + DockPanel.Dock="Top" + HorizontalAlignment="Right" Margin="16" + IsChecked="{Binding ElementName=MenuToggleButton, Path=IsChecked, Mode=TwoWay}" /> + <ListBox x:Name="DemoItemsListBox" Margin="0 16 0 16" SelectedIndex="0" + ItemsSource="{Binding DemoItems}" + PreviewMouseLeftButtonUp="UIElement_OnPreviewMouseLeftButtonUp"> + <ListBox.ItemTemplate> + <DataTemplate DataType="domain:DemoItem"> + <TextBlock Text="{Binding Name}" Margin="32 0 32 0" /> + </DataTemplate> + </ListBox.ItemTemplate> + </ListBox> + </DockPanel> + </materialDesign:DrawerHost.LeftDrawerContent> + <DockPanel> + <materialDesign:ColorZone Padding="16" materialDesign:ShadowAssist.ShadowDepth="Depth2" + Mode="PrimaryMid" DockPanel.Dock="Top"> + <DockPanel> + <ToggleButton Style="{StaticResource MaterialDesignHamburgerToggleButton}" IsChecked="False" + x:Name="MenuToggleButton"/> + <materialDesign:PopupBox DockPanel.Dock="Right" PlacementMode="BottomAndAlignRightEdges" StaysOpen="False"> + <StackPanel> + <Button Content="Hello World" Click="MenuPopupButton_OnClick"/> + <Button Content="Nice Popup" Click="MenuPopupButton_OnClick"/> + <Button Content="Can't Touch This" IsEnabled="False" /> + <Separator/> + <Button Content="Goodbye" Click="MenuPopupButton_OnClick"/> + </StackPanel> + </materialDesign:PopupBox> + <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="22">Material Design In XAML Toolkit</TextBlock> + </DockPanel> + </materialDesign:ColorZone> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <domain1:DocumentationLinks DataContext="{Binding ElementName=DemoItemsListBox, Path=SelectedItem}" + Margin="0 0 0 16" + /> + <ScrollViewer Grid.Row="1" + HorizontalScrollBarVisibility="{Binding ElementName=DemoItemsListBox, Path=SelectedItem.HorizontalScrollBarVisibilityRequirement}" + VerticalScrollBarVisibility="{Binding ElementName=DemoItemsListBox, Path=SelectedItem.VerticalScrollBarVisibilityRequirement}" + Padding="{Binding ElementName=DemoItemsListBox, Path=SelectedItem.MarginRequirement}"> + <ContentControl Content="{Binding ElementName=DemoItemsListBox, Path=SelectedItem.Content}" /> + </ScrollViewer> + + <materialDesign:Snackbar MessageQueue="{materialDesign:MessageQueue}" x:Name="MainSnackbar" + Grid.Row="1" /> + </Grid> + </DockPanel> + </materialDesign:DrawerHost> + </materialDesign:DialogHost> +</Window> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MainWindow.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MainWindow.xaml.cs new file mode 100644 index 000000000..76a6ccf4a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MainWindow.xaml.cs @@ -0,0 +1,76 @@ +using System; +using System.Diagnostics; +using MaterialDesignColors.WpfExample.Domain; +using MaterialDesignThemes.Wpf; +using System.Threading; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls.Primitives; +using System.Windows.Input; +using System.Windows.Media; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for MainWindow.xaml + /// </summary> + public partial class MainWindow : Window { + public static Snackbar Snackbar; + public MainWindow() + { + InitializeComponent(); + + Task.Factory.StartNew(() => + { + Thread.Sleep(2500); + }).ContinueWith(t => + { + //note you can use the message queue from any thread, but just for the demo here we + //need to get the message queue from the snackbar, so need to be on the dispatcher + MainSnackbar.MessageQueue.Enqueue("Welcome to Material Design In XAML Tookit"); + }, TaskScheduler.FromCurrentSynchronizationContext()); + + DataContext = new MainWindowViewModel(MainSnackbar.MessageQueue); + + Snackbar = this.MainSnackbar; + } + + private void UIElement_OnPreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) + { + //until we had a StaysOpen glag to Drawer, this will help with scroll bars + var dependencyObject = Mouse.Captured as DependencyObject; + while (dependencyObject != null) + { + if (dependencyObject is ScrollBar) return; + dependencyObject = VisualTreeHelper.GetParent(dependencyObject); + } + + MenuToggleButton.IsChecked = false; + } + + private async void MenuPopupButton_OnClick(object sender, RoutedEventArgs e) + { + var sampleMessageDialog = new SampleMessageDialog + { + Message = {Text = ((ButtonBase) sender).Content.ToString()} + }; + + await DialogHost.Show(sampleMessageDialog, "RootDialog"); + } + + private void OnCopy(object sender, ExecutedRoutedEventArgs e) + { + if (e.Parameter is string stringValue) + { + try + { + Clipboard.SetDataObject(stringValue); + } + catch (Exception ex) + { + Trace.WriteLine(ex.ToString()); + } + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MaterialDesignDemo.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MaterialDesignDemo.csproj new file mode 100644 index 000000000..65b994fea --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MaterialDesignDemo.csproj @@ -0,0 +1,497 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{CF0A27A8-EF82-44E5-B673-ECCC150C48ED}</ProjectGuid> + <OutputType>WinExe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignDemo</RootNamespace> + <AssemblyName>MaterialDesignDemo</AssemblyName> + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppVeyor|AnyCPU'"> + <OutputPath>bin\AppVeyor\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>AnyCPU</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup> + <ApplicationIcon>favicon.ico</ApplicationIcon> + </PropertyGroup> + <ItemGroup> + <Compile Include="..\paket-files\samueldjack\VirtualCollection\VirtualCollection\VirtualCollection\VirtualizingWrapPanel.cs"> + <Paket>True</Paket> + <Link>VirtualCollection/VirtualizingWrapPanel.cs</Link> + </Compile> + <Compile Include="XamlDisplayEx.cs" /> + <Reference Include="PresentationFramework.Aero2" /> + <Reference Include="System" /> + <Reference Include="System.Configuration" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Xaml"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="WindowsBase" /> + <Reference Include="PresentationCore" /> + <Reference Include="PresentationFramework" /> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </ApplicationDefinition> + <Compile Include="Buttons.xaml.cs"> + <DependentUpon>Buttons.xaml</DependentUpon> + </Compile> + <Compile Include="ButtonsViewModel.cs" /> + <Compile Include="Cards.xaml.cs"> + <DependentUpon>Cards.xaml</DependentUpon> + </Compile> + <Compile Include="Chips.xaml.cs"> + <DependentUpon>Chips.xaml</DependentUpon> + </Compile> + <Compile Include="ColorZones.xaml.cs"> + <DependentUpon>ColorZones.xaml</DependentUpon> + </Compile> + <Compile Include="Dialogs.xaml.cs"> + <DependentUpon>Dialogs.xaml</DependentUpon> + </Compile> + <Compile Include="Domain\AnotherCommandImplementation.cs" /> + <Compile Include="Domain\DocumentationLink.cs" /> + <Compile Include="Domain\DocumentationLinks.xaml.cs"> + <DependentUpon>DocumentationLinks.xaml</DependentUpon> + </Compile> + <Compile Include="Domain\DocumentationLinkType.cs" /> + <Compile Include="Domain\FutureDateValidationRule.cs" /> + <Compile Include="Domain\IsCheckedValidationRule.cs" /> + <Compile Include="Domain\MainWindowViewModel.cs" /> + <Compile Include="Domain\NotEmptyValidationRule.cs" /> + <Compile Include="Domain\NotifyPropertyChangedExtension.cs" /> + <Compile Include="Domain\DemoItem.cs" /> + <Compile Include="Domain\DialogsViewModel.cs" /> + <Compile Include="Domain\ListsAndGridsViewModel.cs" /> + <Compile Include="Domain\Sample4Dialog.xaml.cs"> + <DependentUpon>Sample4Dialog.xaml</DependentUpon> + </Compile> + <Compile Include="Domain\SampleDialog.xaml.cs"> + <DependentUpon>SampleDialog.xaml</DependentUpon> + </Compile> + <Compile Include="Domain\SampleDialogViewModel.cs" /> + <Compile Include="Domain\SampleMessageDialog.xaml.cs"> + <DependentUpon>SampleMessageDialog.xaml</DependentUpon> + </Compile> + <Compile Include="Domain\SampleProgressDialog.xaml.cs"> + <DependentUpon>SampleProgressDialog.xaml</DependentUpon> + </Compile> + <Compile Include="Domain\SelectableViewModel.cs" /> + <Compile Include="Domain\SimpleDataTemplateSelector.cs" /> + <Compile Include="Domain\SimpleDateValidationRule.cs" /> + <Compile Include="Domain\TextFieldsViewModel.cs" /> + <Compile Include="Domain\TreesViewModel.cs" /> + <Compile Include="Drawers.xaml.cs"> + <DependentUpon>Drawers.xaml</DependentUpon> + </Compile> + <Compile Include="Expander.xaml.cs"> + <DependentUpon>Expander.xaml</DependentUpon> + </Compile> + <Compile Include="Grids.xaml.cs"> + <DependentUpon>Grids.xaml</DependentUpon> + </Compile> + <Compile Include="GroupBoxes.xaml.cs"> + <DependentUpon>GroupBoxes.xaml</DependentUpon> + </Compile> + <Compile Include="Home.xaml.cs"> + <DependentUpon>Home.xaml</DependentUpon> + </Compile> + <Compile Include="IconPack.xaml.cs"> + <DependentUpon>IconPack.xaml</DependentUpon> + </Compile> + <Compile Include="IconPackViewModel.cs" /> + <Compile Include="Lists.xaml.cs"> + <DependentUpon>Lists.xaml</DependentUpon> + </Compile> + <Compile Include="MenusAndToolBars.xaml.cs"> + <DependentUpon>MenusAndToolBars.xaml</DependentUpon> + </Compile> + <Compile Include="PaletteSelector.xaml.cs"> + <DependentUpon>PaletteSelector.xaml</DependentUpon> + </Compile> + <Compile Include="PaletteSelectorViewModel.cs" /> + <Compile Include="Pickers.xaml.cs"> + <DependentUpon>Pickers.xaml</DependentUpon> + </Compile> + <Compile Include="PickersViewModel.cs" /> + <Compile Include="Progress.xaml.cs"> + <DependentUpon>Progress.xaml</DependentUpon> + </Compile> + <Compile Include="ProvingGround.xaml.cs"> + <DependentUpon>ProvingGround.xaml</DependentUpon> + </Compile> + <Compile Include="ProvingGroundStuff\MeasuringTextBox.cs" /> + <Compile Include="Shadows.xaml.cs"> + <DependentUpon>Shadows.xaml</DependentUpon> + </Compile> + <Compile Include="Sliders.xaml.cs"> + <DependentUpon>Sliders.xaml</DependentUpon> + </Compile> + <Compile Include="Snackbars.xaml.cs"> + <DependentUpon>Snackbars.xaml</DependentUpon> + </Compile> + <Compile Include="TextFields.xaml.cs"> + <DependentUpon>TextFields.xaml</DependentUpon> + </Compile> + <Compile Include="Transitions.xaml.cs"> + <DependentUpon>Transitions.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide1_Intro.xaml.cs"> + <DependentUpon>Slide1_Intro.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide2_Intro.xaml.cs"> + <DependentUpon>Slide2_Intro.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide3_Intro.xaml.cs"> + <DependentUpon>Slide3_Intro.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide4_CombineTransitions.xaml.cs"> + <DependentUpon>Slide4_CombineTransitions.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide5_TransitioningContent.xaml.cs"> + <DependentUpon>Slide5_TransitioningContent.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide7_MVVM.xaml.cs"> + <DependentUpon>Slide7_MVVM.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide6_Origins.xaml.cs"> + <DependentUpon>Slide6_Origins.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\Slide7_MasterModel.cs" /> + <Compile Include="TransitionsDemo\Slide8_Details.xaml.cs"> + <DependentUpon>Slide8_Details.xaml</DependentUpon> + </Compile> + <Compile Include="TransitionsDemo\TransitionsDemoHome.xaml.cs"> + <DependentUpon>TransitionsDemoHome.xaml</DependentUpon> + </Compile> + <Compile Include="Trees.xaml.cs"> + <DependentUpon>Trees.xaml</DependentUpon> + </Compile> + <Compile Include="Typography.xaml.cs"> + <DependentUpon>Typography.xaml</DependentUpon> + </Compile> + <Page Include="Buttons.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Cards.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Chips.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="ColorZones.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Domain\DocumentationLinks.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Domain\SampleMessageDialog.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Drawers.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Expander.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Dialogs.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Domain\Sample4Dialog.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Domain\SampleDialog.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Domain\SampleProgressDialog.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Grids.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="GroupBoxes.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Home.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="IconPack.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Lists.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="MainWindow.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Compile Include="App.xaml.cs"> + <DependentUpon>App.xaml</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="MainWindow.xaml.cs"> + <DependentUpon>MainWindow.xaml</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Page Include="MenusAndToolBars.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Palette.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="PaletteSelector.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Pickers.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Progress.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="ProvingGround.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Shadows.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Sliders.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Snackbars.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TextFields.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Transitions.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide1_Intro.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide2_Intro.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide3_Intro.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide4_CombineTransitions.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide5_TransitioningContent.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide7_MVVM.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide6_Origins.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\Slide8_Details.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="TransitionsDemo\TransitionsDemoHome.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Trees.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Typography.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + </ItemGroup> + <ItemGroup> + <Compile Include="Palette.xaml.cs"> + <DependentUpon>Palette.xaml</DependentUpon> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + <None Include="paket.references" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <AppDesigner Include="Properties\" /> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignColors.Wpf\MaterialDesignColors.Wpf.csproj"> + <Project>{90b53209-c60c-4655-b28d-a1b3e1044ba3}</Project> + <Name>MaterialDesignColors.Wpf</Name> + </ProjectReference> + <ProjectReference Include="..\MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj"> + <Project>{f079fb0a-a8ed-4216-b6a5-345756751a04}</Project> + <Name>MaterialDesignThemes.Wpf</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Resource Include="Resources\ProfilePic.jpg" /> + </ItemGroup> + <ItemGroup> + <Resource Include="ScreenGrabFromGoogle.gif" /> + </ItemGroup> + <ItemGroup> + <Resource Include="Resources\Chartridge046_small.jpg" /> + </ItemGroup> + <ItemGroup> + <Resource Include="Resources\ms-icon-310x310.png" /> + </ItemGroup> + <ItemGroup> + <Resource Include="Resources\Contact.png" /> + </ItemGroup> + <ItemGroup> + <Resource Include="favicon.ico" /> + </ItemGroup> + <ItemGroup> + <Folder Include="Helper\" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <PropertyGroup> + <__paket__ShowMeTheXAML_MSBuild_targets>net45\ShowMeTheXAML.MSBuild</__paket__ShowMeTheXAML_MSBuild_targets> + </PropertyGroup> + </When> + </Choose> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <Import Project="..\.paket\paket.targets" /> + <Target Name="ShowMeTheXAML_EnsureXamlCreated" AfterTargets="BeforeCompile"> + <Error Condition="('$(ShowMeTheXAMLGeneratedFileName)' == '' Or $(ShowMeTheXAMLGeneratedFileName) == '*Undefined*') And Exists('..\packages\ShowMeTheXAML.MSBuild\build\$(__paket__ShowMeTheXAML_MSBuild_targets).targets')" Text="ShowMeTheXAML was added to the $(ProjectName) project. Please rebuild the project." /> + </Target> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="ICSharpCode.AvalonEdit"> + <HintPath>..\packages\AvalonEdit\lib\Net40\ICSharpCode.AvalonEdit.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="ShowMeTheXAML"> + <HintPath>..\packages\ShowMeTheXAML\lib\net45\ShowMeTheXAML.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="ShowMeTheXAML.AvalonEdit"> + <HintPath>..\packages\ShowMeTheXAML.AvalonEdit\lib\net45\ShowMeTheXAML.AvalonEdit.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Import Project="..\packages\ShowMeTheXAML.MSBuild\build\$(__paket__ShowMeTheXAML_MSBuild_targets).targets" Condition="Exists('..\packages\ShowMeTheXAML.MSBuild\build\$(__paket__ShowMeTheXAML_MSBuild_targets).targets')" Label="Paket" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MenusAndToolBars.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MenusAndToolBars.xaml new file mode 100644 index 000000000..fc31f62d2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MenusAndToolBars.xaml @@ -0,0 +1,171 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.MenusAndToolBars" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <DockPanel> + <smtx:XamlDisplay Key="menus_1" DockPanel.Dock="Top" Margin="5 5 0 5"> + <Menu IsMainMenu="True"> + <MenuItem Header="_File"> + <MenuItem Header="Save"> + <MenuItem.Icon> + <materialDesign:PackIcon Kind="ContentSave" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="Save As.." /> + <MenuItem Header="Exit" InputGestureText="Ctrl+E"> + <MenuItem.Icon> + <materialDesign:PackIcon Kind="ExitToApp" /> + </MenuItem.Icon> + </MenuItem> + <Separator /> + <MenuItem Header="Excellent" IsCheckable="True" IsChecked="True" /> + <MenuItem Header="Rubbish" IsCheckable="True" /> + <MenuItem Header="Dig Deeper" InputGestureText="Ctrl+D"> + <MenuItem Header="Enlightenment?" IsCheckable="True" /> + <MenuItem Header="Disappointment" IsCheckable="True" /> + </MenuItem> + <MenuItem Header="Look Deeper" InputGestureText="Ctrl+D"> + <MenuItem Header="Plain" /> + <MenuItem Header="Ice Cream" /> + </MenuItem> + </MenuItem> + <MenuItem Header="_Edit"> + <MenuItem Header="_Cut" Command="Cut"> + <MenuItem.Icon> + <materialDesign:PackIcon Kind="ContentCut" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="_Copy" Command="Copy"> + <MenuItem.Icon> + <materialDesign:PackIcon Kind="ContentCopy" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="_Paste" Command="Paste"> + <MenuItem.Icon> + <materialDesign:PackIcon Kind="ContentPaste" /> + </MenuItem.Icon> + </MenuItem> + </MenuItem> + </Menu> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="menus_2" DockPanel.Dock="Top" Margin="5 0 0 0"> + <ToolBarTray> + <ToolBar Style="{DynamicResource MaterialDesignToolBar}" ClipToBounds="False"> + <Button ToolTip="Follow me on Twitter" Click="TwitterButton_OnClick"> + <materialDesign:PackIcon Kind="TwitterBox" /> + </Button> + <Button ToolTip="Save"> + <materialDesign:PackIcon Kind="ContentSave" /> + </Button> + <Separator /> + <Button Command="Cut" ToolTip="Cut" ToolBar.OverflowMode="AsNeeded"> + <materialDesign:PackIcon Kind="ContentCut" /> + </Button> + <Button Command="Copy" ToolTip="Copy that stuff" ToolBar.OverflowMode="AsNeeded"> + <materialDesign:PackIcon Kind="ContentCopy" /> + </Button> + <Separator /> + <Button Command="Paste" ToolTip="Paste some stuff" ToolBar.OverflowMode="AsNeeded"> + <materialDesign:PackIcon Kind="ContentPaste" /> + </Button> + <!-- when badging in a toolbar, make sure the parent ToolBar.ClipToBounds="False", and + manually apply the button style --> + <materialDesign:Badged ToolBar.OverflowMode="AsNeeded" Badge="{materialDesign:PackIcon Alert}"> + <Button ToolTip="Badge it up!" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"> + <materialDesign:PackIcon Kind="AirplaneTakeoff" /> + </Button> + </materialDesign:Badged> + <Separator/> + <ListBox> + <ListBoxItem ToolTip="This is a lonley toggle with TextBlock instead of icon"> + <TextBlock>W</TextBlock> + </ListBoxItem> + </ListBox> + <Separator/> + <ListBox SelectedIndex="0"> + <ListBox.ToolTip> + <StackPanel> + <TextBlock Text="MaterialDesignToolToggleFlatListBox" /> + <TextBlock Text="Exclusive selection" /> + <TextBlock Text="ListBoxAssist.IsToggle allows more natural toggle behaviour" /> + </StackPanel> + </ListBox.ToolTip> + <ListBoxItem > + <materialDesign:PackIcon Kind="FormatAlignLeft"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignCenter"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignRight"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatAlignJustify"/> + </ListBoxItem> + </ListBox> + <Separator/> + <ListBox SelectionMode="Extended"> + <ListBox.ToolTip> + <StackPanel> + <TextBlock Text="MaterialDesignToolToggleListBox" /> + <TextBlock Text="Multiple selection" /> + <TextBlock Text="ListBoxAssist.IsToggle allows more natural toggle behaviour" /> + </StackPanel> + </ListBox.ToolTip> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatBold"/> + </ListBoxItem> + <ListBoxItem> + <materialDesign:PackIcon Kind="FormatItalic"/> + </ListBoxItem> + <ListBoxItem x:Name="UnderlineCheckbox"> + <materialDesign:PackIcon Kind="FormatUnderline"/> + </ListBoxItem> + </ListBox> + <Separator/> + <Label Content="Font size:" VerticalAlignment="Center"/> + <ComboBox> + <ComboBoxItem Content="10"/> + <ComboBoxItem IsSelected="True" Content="12"/> + <ComboBoxItem Content="14"/> + <ComboBoxItem Content="16"/> + </ComboBox> + <CheckBox> + Check + </CheckBox> + <Button ToolTip="Take a nap" ToolBar.OverflowMode="Always"> + <materialDesign:PackIcon Kind="Hotel" /> + </Button> + <RadioButton GroupName="XXX" Content="Radio" /> + <RadioButton GroupName="XXX" Content="Ga Ga" /> + <ToggleButton/> + </ToolBar> + </ToolBarTray> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="menus_3" Margin="16" VerticalAlignment="Top" HorizontalAlignment="Left"> + <TextBox Text="With Default Context Menu" /> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="menus_4" Margin="16" VerticalAlignment="Top" HorizontalAlignment="Left"> + <TextBox Text="With Custom Context Menu"> + <TextBox.ContextMenu> + <ContextMenu> + <MenuItem Header="Hello World" /> + <MenuItem Header="Clickety Click"> + <MenuItem Header="Clackety Clack" /> + </MenuItem> + </ContextMenu> + </TextBox.ContextMenu> + </TextBox> + </smtx:XamlDisplay> + + </DockPanel> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MenusAndToolBars.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MenusAndToolBars.xaml.cs new file mode 100644 index 000000000..ab702b715 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/MenusAndToolBars.xaml.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for MenusAndToolBars.xaml + /// </summary> + public partial class MenusAndToolBars : UserControl + { + public MenusAndToolBars() + { + InitializeComponent(); + } + + private void TwitterButton_OnClick(object sender, RoutedEventArgs e) + { + Process.Start("https://twitter.com/James_Willock"); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Palette.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Palette.xaml new file mode 100644 index 000000000..026e5d0f3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Palette.xaml @@ -0,0 +1,46 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Palette" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <Grid> + <Grid.Resources> + <Style TargetType="TextBlock"> + <Setter Property="FontSize" Value="14" /> + <Setter Property="FontWeight" Value="DemiBold" /> + <Setter Property="Margin" Value="4" /> + </Style> + </Grid.Resources> + <Grid.RowDefinitions> + <RowDefinition Height="1*" /> + <RowDefinition Height="1*" /> + <RowDefinition Height="1*" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="1*" /> + <ColumnDefinition Width="1*" /> + <ColumnDefinition Width="1*" /> + </Grid.ColumnDefinitions> + <Border Background="{DynamicResource PrimaryHueMidBrush}" Grid.ColumnSpan="3"> + <TextBlock Foreground="{DynamicResource PrimaryHueMidForegroundBrush}">Primary - Mid</TextBlock> + </Border> + <Border Background="{DynamicResource PrimaryHueLightBrush}" + Grid.Row="1" Grid.Column="0"> + <TextBlock FontWeight="Bold" Foreground="{DynamicResource PrimaryHueLightForegroundBrush}">Light</TextBlock> + </Border> + <Border Background="{DynamicResource PrimaryHueMidBrush}" + Grid.Row="1" Grid.Column="1"> + <TextBlock Foreground="{DynamicResource PrimaryHueMidForegroundBrush}">Mid</TextBlock> + </Border> + <Border Background="{DynamicResource PrimaryHueDarkBrush}" + Grid.Row="1" Grid.Column="2"> + <TextBlock Foreground="{DynamicResource PrimaryHueDarkForegroundBrush}">Dark</TextBlock> + </Border> + <Border Background="{DynamicResource SecondaryAccentBrush}" + Grid.Row="2" Grid.ColumnSpan="3" Grid.Column="0"> + <TextBlock Foreground="{DynamicResource SecondaryAccentForegroundBrush}">Accent</TextBlock> + </Border> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Palette.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Palette.xaml.cs new file mode 100644 index 000000000..d998fa8f2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Palette.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Palette.xaml + /// </summary> + public partial class Palette : UserControl + { + public Palette() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelector.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelector.xaml new file mode 100644 index 000000000..ed90c71e8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelector.xaml @@ -0,0 +1,110 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.PaletteSelector" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignColors.WpfExample" + xmlns:materialDesignColors="clr-namespace:MaterialDesignColors;assembly=MaterialDesignColors" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <Style TargetType="Button" BasedOn="{StaticResource MaterialDesignFlatButton}"> + <Setter Property="Margin" Value="0" /> + <Setter Property="CommandParameter" Value="{Binding}" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="Foreground"> + <Setter.Value> + <SolidColorBrush Color="{Binding ExemplarHue.Foreground, Mode=OneTime}" /> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="PalettePath" TargetType="Path"> + <Setter Property="Data" Value="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z" /> + <Setter Property="Fill"> + <Setter.Value> + <SolidColorBrush Color="{Binding ExemplarHue.Foreground, Mode=OneTime}" /> + </Setter.Value> + </Setter> + </Style> + <DataTemplate DataType="{x:Type materialDesignColors:Swatch}"> + <wpf:Card Margin="2 2 6 6" Width="240"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <TextBlock Text="{Binding Name}" Margin="8" Grid.ColumnSpan="2" /> + <Border Grid.Row="1" Grid.Column="0" MinWidth="120"> + <Border.Background> + <SolidColorBrush Color="{Binding ExemplarHue.Color, Mode=OneTime}" /> + </Border.Background> + <Button Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:PaletteSelector}}, Path=DataContext.ApplyPrimaryCommand, Mode=OneTime}" + CommandParameter="{Binding}"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="Primary" /> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Style="{StaticResource PalettePath}" /> + </Canvas> + </Viewbox> + </StackPanel> + </Button> + </Border> + <Border Grid.Row="1" Grid.Column="1" + Visibility="{Binding IsAccented, Converter={StaticResource BooleanToVisibilityConverter}, Mode=OneTime}" + Width="120"> + <Border.Background> + <SolidColorBrush Color="{Binding AccentExemplarHue.Color, Mode=OneTime}" /> + </Border.Background> + <Button Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:PaletteSelector}}, Path=DataContext.ApplyAccentCommand, Mode=OneTime}" + CommandParameter="{Binding}"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="Accent" /> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Style="{StaticResource PalettePath}" /> + </Canvas> + </Viewbox> + </StackPanel> + </Button> + </Border> + </Grid> + </wpf:Card> + </DataTemplate> + </UserControl.Resources> + <DockPanel> + <wpf:Card DockPanel.Dock="Top" Margin="2"> + <DockPanel> + <local:Palette DockPanel.Dock="Left" Width="200" /> + <TextBlock Margin="16" TextWrapping="Wrap" VerticalAlignment="Center">This is your current palette. Configure your initial palette in App.xaml, but palettes can be changed at runtime.</TextBlock> + </DockPanel> + </wpf:Card> + <Grid Margin="0 16 0 0"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <StackPanel Orientation="Horizontal" Margin="8"> + <TextBlock VerticalAlignment="Center">Light</TextBlock> + <ToggleButton Margin="8 0 16 0" Command="{Binding ToggleBaseCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=IsChecked}" /> + <TextBlock VerticalAlignment="Center">Dark</TextBlock> + </StackPanel> + <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Margin="0 12 0 0"> + <ItemsControl ItemsSource="{Binding Swatches, Mode=OneTime}"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <WrapPanel /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + </ItemsControl> + </ScrollViewer> + </Grid> + </DockPanel> + +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelector.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelector.xaml.cs new file mode 100644 index 000000000..a695a2362 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelector.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for PaletteSelector.xaml + /// </summary> + public partial class PaletteSelector : UserControl + { + public PaletteSelector() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelectorViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelectorViewModel.cs new file mode 100644 index 000000000..9af18357f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PaletteSelectorViewModel.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Text.RegularExpressions; +using System.Windows; +using System.Windows.Input; +using System.Windows.Media; +using MaterialDesignColors.WpfExample.Domain; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignColors.WpfExample +{ + public class PaletteSelectorViewModel + { + public PaletteSelectorViewModel() + { + Swatches = new SwatchesProvider().Swatches; + } + + public ICommand ToggleBaseCommand { get; } = new AnotherCommandImplementation(o => ApplyBase((bool)o)); + + private static void ApplyBase(bool isDark) + { + new PaletteHelper().SetLightDark(isDark); + } + + public IEnumerable<Swatch> Swatches { get; } + + public ICommand ApplyPrimaryCommand { get; } = new AnotherCommandImplementation(o => ApplyPrimary((Swatch)o)); + + private static void ApplyPrimary(Swatch swatch) + { + new PaletteHelper().ReplacePrimaryColor(swatch); + } + + public ICommand ApplyAccentCommand { get; } = new AnotherCommandImplementation(o => ApplyAccent((Swatch)o)); + + private static void ApplyAccent(Swatch swatch) + { + new PaletteHelper().ReplaceAccentColor(swatch); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Pickers.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Pickers.xaml new file mode 100644 index 000000000..d88f54867 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Pickers.xaml @@ -0,0 +1,134 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Pickers" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:domain="clr-namespace:MaterialDesignDemo.Domain" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <!-- for some reason to get the validation templates to show on this page need an extra decorator. haven't figure out why yet --> + <AdornerDecorator> + <ScrollViewer> + <Grid Margin="32"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition /> + </Grid.ColumnDefinitions> + <TextBlock Grid.ColumnSpan="3">Classic WPF DatePicker control with Material Design theme, and new TimePicker control:</TextBlock> + <StackPanel Grid.Row="1" Grid.Column="0"> + <smtx:XamlDisplay Key="pickers_1" HorizontalAlignment="Left" Margin="0 16 0 0"> + <DatePicker Width="100" materialDesign:HintAssist.Hint="Pick Date" Style="{StaticResource MaterialDesignFloatingHintDatePicker}" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_2" HorizontalAlignment="Left" Margin="0 16 0 0" > + <DatePicker x:Name="FutureDatePicker" Width="100" + materialDesign:HintAssist.Hint="Future Date"> + <DatePicker.SelectedDate> + <Binding Path="FutureValidatingDate" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain:FutureDateValidationRule ValidatesOnTargetUpdated="True" /> + </Binding.ValidationRules> + </Binding> + </DatePicker.SelectedDate> + </DatePicker> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_3" HorizontalAlignment="Left" Margin="0 32 0 0"> + <ComboBox Name="LocaleCombo" Width="50"> + <ComboBox.ItemsPanel> + <ItemsPanelTemplate> + <VirtualizingStackPanel /> + </ItemsPanelTemplate> + </ComboBox.ItemsPanel> + </ComboBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_4" HorizontalAlignment="Left" Margin="0 16 0 0"> + <DatePicker Name="LocaleDatePicker" Width="120" materialDesign:HintAssist.Hint="Locale Date" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_5" HorizontalAlignment="Left" Margin="0 16 0 0"> + <DatePicker Name="LocaleDatePickerRTL" Width="120" materialDesign:HintAssist.Hint="RTL Locale Date" FlowDirection="RightToLeft" /> + </smtx:XamlDisplay> + </StackPanel> + <smtx:XamlDisplay Key="pickers_6" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Margin="0 16 0 0" VerticalAlignment="Top"> + <materialDesign:TimePicker Width="100" + Style="{StaticResource MaterialDesignFloatingHintTimePicker}" + materialDesign:HintAssist.Hint="Custom hint" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_7" Grid.Row="1" Grid.Column="2" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0 16 0 0"> + <materialDesign:TimePicker Is24Hours="True" x:Name="PresetTimePicker" Width="100" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_8" Grid.Row="1" Grid.Column="3" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0 16 0 0"> + <materialDesign:TimePicker + materialDesign:HintAssist.Hint="Validates" + IsInvalidTextAllowed="True" + Is24Hours="True" Width="100"> + <materialDesign:TimePicker.Text> + <Binding Path="ValidatingTime" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain:SimpleDateValidationRule ValidatesOnTargetUpdated="True" /> + </Binding.ValidationRules> + </Binding> + </materialDesign:TimePicker.Text> + </materialDesign:TimePicker> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Margin="0 128 0 0">By combining the DialogHost (see MainWindow.xaml) and the Calendar and Clock controls, custom popups can be built.</TextBlock> + <smtx:XamlDisplay Key="pickers_9" Grid.Row="3" Grid.Column="0" Margin="0 32 0 0" HorizontalAlignment="Left"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="{Binding Date, StringFormat=d}" VerticalAlignment="Center" FontSize="24" /> + <Button Margin="8 0 0 0" Content="..." + Command="{x:Static materialDesign:DialogHost.OpenDialogCommand}" + materialDesign:DialogHost.DialogOpenedAttached="CalendarDialogOpenedEventHandler" + materialDesign:DialogHost.DialogClosingAttached="CalendarDialogClosingEventHandler"> + <Button.CommandParameter> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Calendar x:Name="Calendar" Margin="-1 -4 -1 0" /> + <StackPanel Grid.Row="1" Margin="8" HorizontalAlignment="Right" Orientation="Horizontal"> + <Button Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" CommandParameter="1" Style="{DynamicResource MaterialDesignFlatButton}">OK</Button> + <Button Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" CommandParameter="0" Style="{DynamicResource MaterialDesignFlatButton}">CANCEL</Button> + </StackPanel> + </Grid> + </Button.CommandParameter> + </Button> + </StackPanel> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="pickers_10" Grid.Row="3" Grid.Column="1" Margin="0 32 0 0" HorizontalAlignment="Left"> + <StackPanel Orientation="Horizontal"> + <TextBlock Text="{Binding Time, StringFormat=t}" VerticalAlignment="Center" FontSize="24" /> + <Button Margin="8 0 0 0" Content="..." + Command="{x:Static materialDesign:DialogHost.OpenDialogCommand}" + materialDesign:DialogHost.DialogOpenedAttached="ClockDialogOpenedEventHandler" + materialDesign:DialogHost.DialogClosingAttached="ClockDialogClosingEventHandler"> + <Button.CommandParameter> + <Grid Margin="-1"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <materialDesign:Clock DisplayAutomation="Cycle" x:Name="Clock" /> + <StackPanel Grid.Row="1" Margin="8" HorizontalAlignment="Right" Orientation="Horizontal"> + <Button Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" CommandParameter="1" Style="{DynamicResource MaterialDesignFlatButton}">OK</Button> + <Button Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" CommandParameter="0" Style="{DynamicResource MaterialDesignFlatButton}">CANCEL</Button> + </StackPanel> + </Grid> + </Button.CommandParameter> + </Button> + </StackPanel> + </smtx:XamlDisplay> + </Grid> +</ScrollViewer> + </AdornerDecorator> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Pickers.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Pickers.xaml.cs new file mode 100644 index 000000000..74859f5a8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Pickers.xaml.cs @@ -0,0 +1,78 @@ +using MaterialDesignThemes.Wpf; +using System.Globalization; +using System.Linq; +using System.Windows.Controls; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Pickers.xaml + /// </summary> + public partial class Pickers : UserControl + { + public Pickers() + { + InitializeComponent(); + FutureDatePicker.BlackoutDates.AddDatesInPast(); + LoadLocales(); + LocaleCombo.SelectionChanged += LocaleCombo_SelectionChanged; + LocaleCombo.SelectedItem = "fr-CA"; + } + + private void LocaleCombo_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + try { + var lang = System.Windows.Markup.XmlLanguage.GetLanguage((string) LocaleCombo.SelectedItem); + LocaleDatePicker.Language = lang; + LocaleDatePickerRTL.Language = lang; + } + catch { + LocaleCombo.SelectedItem = "fr-CA"; + } + //HACK: The calendar only refresh when we change the date + LocaleDatePicker.DisplayDate = LocaleDatePicker.DisplayDate.AddDays(1); + LocaleDatePicker.DisplayDate = LocaleDatePicker.DisplayDate.AddDays(-1); + LocaleDatePickerRTL.DisplayDate = LocaleDatePicker.DisplayDate.AddDays(1); + LocaleDatePickerRTL.DisplayDate = LocaleDatePicker.DisplayDate.AddDays(-1); + } + + private void LoadLocales() + { + foreach (var ci in CultureInfo.GetCultures(CultureTypes.AllCultures) + .Where(ci => ci.Calendar is GregorianCalendar) + .OrderBy(ci => ci.Name)) + { + LocaleCombo.Items.Add(ci.Name); + } + } + + public void CalendarDialogOpenedEventHandler(object sender, DialogOpenedEventArgs eventArgs) + { + Calendar.SelectedDate = ((PickersViewModel)DataContext).Date; + } + + public void CalendarDialogClosingEventHandler(object sender, DialogClosingEventArgs eventArgs) + { + if (!Equals(eventArgs.Parameter, "1")) return; + + if (!Calendar.SelectedDate.HasValue) + { + eventArgs.Cancel(); + return; + } + + ((PickersViewModel)DataContext).Date = Calendar.SelectedDate.Value; + } + + public void ClockDialogOpenedEventHandler(object sender, DialogOpenedEventArgs eventArgs) + { + Clock.Time = ((PickersViewModel) DataContext).Time; + } + + public void ClockDialogClosingEventHandler(object sender, DialogClosingEventArgs eventArgs) + { + if (Equals(eventArgs.Parameter, "1")) + ((PickersViewModel)DataContext).Time = Clock.Time; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PickersViewModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PickersViewModel.cs new file mode 100644 index 000000000..19b5fcec2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/PickersViewModel.cs @@ -0,0 +1,71 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignColors.WpfExample +{ + public class PickersViewModel : INotifyPropertyChanged + { + private DateTime _date; + private DateTime _time; + private string _validatingTime; + private DateTime? _futureValidatingDate; + + public PickersViewModel() + { + Date = DateTime.Now; + Time = DateTime.Now; + } + + public DateTime Date + { + get { return _date; } + set + { + _date = value; + OnPropertyChanged(); + } + } + + public DateTime Time + { + get { return _time; } + set + { + _time = value; + OnPropertyChanged(); + } + } + + public string ValidatingTime + { + get { return _validatingTime; } + set + { + _validatingTime = value; + OnPropertyChanged(); + } + } + + public DateTime? FutureValidatingDate + { + get { return _futureValidatingDate; } + set + { + _futureValidatingDate = value; + OnPropertyChanged(); + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Progress.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Progress.xaml new file mode 100644 index 000000000..d512d8b03 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Progress.xaml @@ -0,0 +1,242 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Progress" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <!-- you only need bring this resource in if you want to specify the circular style statically --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ProgressBar.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <smtx:XamlDisplay Key="progress_1" Margin="24" Grid.RowSpan="2"> + <!-- linear progress bars (the default style --> + <ProgressBar Orientation="Vertical" Value="25" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="progress_2" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Margin="24"> + <ProgressBar Orientation="Vertical" Height="10" IsIndeterminate="True" /> + </smtx:XamlDisplay> + <StackPanel Grid.Row="0" Grid.Column="2" HorizontalAlignment="Stretch"> + <smtx:XamlDisplay Key="progress_3" Margin="24"> + <ProgressBar Value="25" Height="10" /> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="progress_4" Margin="24"> + <ProgressBar Value="50" materialDesign:TransitionAssist.DisableTransitions="True" /> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="progress_5" Margin="24"> + <!-- should disable on 2nd transition... --> + <ProgressBar Value="75" /> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="progress_6" Margin="24"> + <ProgressBar IsIndeterminate="True" /> + </smtx:XamlDisplay> + </StackPanel> + + <!-- circular progress bars.. specify the MaterialDesignCicularProgressBar resource --> + <Grid VerticalAlignment="Top" Grid.Column="2" Grid.Row="1"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + + <TextBlock Grid.ColumnSpan="2" FontSize="16" TextWrapping="Wrap" TextAlignment="Center" HorizontalAlignment="Stretch" + Margin="0 0 0 16"> + No extra control is required for the circular style, it is purely a standard ProgressBar, with the MaterialDesignCircularProgressBar style applied. + </TextBlock> + + <smtx:XamlDisplay Key="progress_7" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12"> + <ProgressBar Style="{StaticResource MaterialDesignCircularProgressBar}" + x:Name="DeterminateCircularProgress"/> + </smtx:XamlDisplay> + <TextBlock Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" TextWrapping="Wrap">Standard deterministic progress bar, running from 0 to 100%.  For the purpose of the demo, a storyboard is used to animate the .Value property.</TextBlock> + + <smtx:XamlDisplay Key="progress_8" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12"> + <ProgressBar Style="{StaticResource MaterialDesignCircularProgressBar}" + Value="35" + IsIndeterminate="True"/> + </smtx:XamlDisplay> + <TextBlock Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" TextWrapping="Wrap">Indeterminate progress bar, at 35%.</TextBlock> + + <smtx:XamlDisplay Key="progress_9" Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12"> + <ProgressBar Style="{StaticResource MaterialDesignCircularProgressBar}" + Value="0" + IsIndeterminate="True"/> + </smtx:XamlDisplay> + <TextBlock Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" TextWrapping="Wrap">Fully indeterminate progress bar, using .Value=0 to inform the theme.</TextBlock> + + <smtx:XamlDisplay Key="progress_10" Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12"> + <ProgressBar Style="{StaticResource MaterialDesignCircularProgressBar}" + Value="20" + IsIndeterminate="True" + x:Name="IndeterminateToDeterminateCircularProgress"/> + </smtx:XamlDisplay> + <TextBlock Grid.Column="1" Grid.Row="4" VerticalAlignment="Center" TextWrapping="Wrap">An indeterminate job transitioning to a determinate job, completing to 100%.  For the purpose of the demo, a storyboard is used to animate the .Value and .IsIndeterminate properties.</TextBlock> + + <smtx:XamlDisplay Key="progress_11" Grid.Row="5" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12"> + <materialDesign:Card UniformCornerRadius="14" Padding="4"> + <ProgressBar Style="{StaticResource MaterialDesignCircularProgressBar}" + Value="50" + IsIndeterminate="True" /> + </materialDesign:Card> + </smtx:XamlDisplay> + <TextBlock Grid.Row="5" Grid.Column="1" VerticalAlignment="Center" TextWrapping="Wrap">Wrap in a Card control to raise the material.</TextBlock> + + <smtx:XamlDisplay Key="progress_12" Grid.Row="6" Grid.Column="0" + VerticalAlignment="Center" HorizontalAlignment="Center" Margin="12"> + <materialDesign:Card UniformCornerRadius="14" + RenderTransformOrigin=".5,.5" + Padding="4"> + <ProgressBar Style="{StaticResource MaterialDesignCircularProgressBar}" + x:Name="AnimatedProgressInCard" /> + <materialDesign:Card.RenderTransform> + <TransformGroup> + <ScaleTransform x:Name="ScaleTransform" ScaleX="0" ScaleY="0" /> + </TransformGroup> + </materialDesign:Card.RenderTransform> + <materialDesign:Card.Style> + <Style TargetType="materialDesign:Card" BasedOn="{StaticResource {x:Type materialDesign:Card}}"> + <Style.Resources> + <Storyboard x:Key="FadeIn" FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"> + <EasingDoubleKeyFrame Value="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.8"> + <EasingDoubleKeyFrame.EasingFunction> + <CircleEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)"> + <EasingDoubleKeyFrame Value="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.8"> + <EasingDoubleKeyFrame.EasingFunction> + <CircleEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + <Storyboard x:Key="FadeOut"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"> + <EasingDoubleKeyFrame Value="1" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.8"> + <EasingDoubleKeyFrame.EasingFunction> + <CircleEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)"> + <EasingDoubleKeyFrame Value="1" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.8"> + <EasingDoubleKeyFrame.EasingFunction> + <CircleEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </Style.Resources> + <Style.Triggers> + <DataTrigger Binding="{Binding ElementName=AnimatedProgressInCard, Path=Value}" Value="20"> + <DataTrigger.EnterActions> + <RemoveStoryboard BeginStoryboardName="FadeOut" /> + <BeginStoryboard Storyboard="{StaticResource FadeIn}" Name="FadeIn" /> + </DataTrigger.EnterActions> + </DataTrigger> + <DataTrigger Binding="{Binding ElementName=AnimatedProgressInCard, Path=Value}" Value="100"> + <DataTrigger.EnterActions> + <RemoveStoryboard BeginStoryboardName="FadeIn" /> + <BeginStoryboard Storyboard="{StaticResource FadeOut}" Name="FadeOut" /> + </DataTrigger.EnterActions> + </DataTrigger> + </Style.Triggers> + </Style> + </materialDesign:Card.Style> + </materialDesign:Card> + </smtx:XamlDisplay> + <TextBlock Grid.Row="6" Grid.Column="1" VerticalAlignment="Center" TextWrapping="Wrap">Apply some animations to the card to get funky!</TextBlock> + </Grid> + </Grid> + + <!-- these animations are used to control the circular progress bars' values, so we don't need + code-behind or a view model to illustrate them in action + --> + <UserControl.Triggers> + <EventTrigger RoutedEvent="FrameworkElement.Loaded"> + <EventTrigger.Actions> + <BeginStoryboard> + <Storyboard TargetName="DeterminateCircularProgress" TargetProperty="Value" RepeatBehavior="Forever" Duration="0:0:3"> + <DoubleAnimation From="0" To="100" Duration="0:0:2.5" FillBehavior="Stop"> + <DoubleAnimation.EasingFunction> + <CircleEase EasingMode="EaseOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </BeginStoryboard> + <BeginStoryboard> + <Storyboard TargetName="IndeterminateToDeterminateCircularProgress" RepeatBehavior="Forever" Duration="0:0:9"> + <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="IsIndeterminate"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0:0:4" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimation From="20" To="100" Duration="0:0:2.5" BeginTime="0:0:4" + Storyboard.TargetProperty="Value" + FillBehavior="HoldEnd"> + <DoubleAnimation.EasingFunction> + <CircleEase EasingMode="EaseOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </BeginStoryboard> + <BeginStoryboard> + <Storyboard TargetName="AnimatedProgressInCard" RepeatBehavior="Forever"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Value"> + <DiscreteDoubleKeyFrame Value="0" KeyTime="0"/> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0:0:0.1"/> + <!-- we have used a 20% startup to fade in on the actual control --> + <DiscreteDoubleKeyFrame Value="20" KeyTime="0:0:1"/> + <!-- pretend we are indeterminate for 4 seconds --> + <DiscreteDoubleKeyFrame Value="20" KeyTime="0:0:4"/> + <!-- now we become determinate and complete to 100% --> + <SplineDoubleKeyFrame Value="100" KeyTime="0:0:8"/> + <SplineDoubleKeyFrame Value="100" KeyTime="0:0:9"/> + </DoubleAnimationUsingKeyFrames> + <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="IsIndeterminate" Duration="0:0:10"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0:0:0.1" /> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0:0:3.9" /> + <!-- now we become determinate and complete to 100% --> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0:0:4" /> + </BooleanAnimationUsingKeyFrames> + </Storyboard> + </BeginStoryboard> + </EventTrigger.Actions> + </EventTrigger> + </UserControl.Triggers> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Progress.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Progress.xaml.cs new file mode 100644 index 000000000..9b4cde3de --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Progress.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Progress.xaml + /// </summary> + public partial class Progress : UserControl + { + public Progress() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..22c516a76 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignColors.WpfExample")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MaterialDesignColors.WpfExample")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file +//inside a <PropertyGroup>. For example, if you are using US english +//in your source files, set the <UICulture> to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Resources.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Resources.Designer.cs new file mode 100644 index 000000000..ae7401399 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignDemo.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MaterialDesignDemo.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Resources.resx b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Settings.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Settings.Designer.cs new file mode 100644 index 000000000..74f642842 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignDemo.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Settings.settings b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGround.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGround.xaml new file mode 100644 index 000000000..3d193e0e2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGround.xaml @@ -0,0 +1,60 @@ +<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + x:Class="MaterialDesignColors.WpfExample.ProvingGround" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:wpfExample="clr-namespace:MaterialDesignColors.WpfExample" + TextElement.Foreground="{DynamicResource MaterialDesignBody}" + TextElement.FontWeight="Regular" + TextElement.FontSize="13" + TextOptions.TextFormattingMode="Ideal" + TextOptions.TextRenderingMode="Auto" + Background="{DynamicResource MaterialDesignPaper}" + FontFamily="{StaticResource MaterialDesignFont}" + mc:Ignorable="d" + d:DesignWidth="477" d:DesignHeight="272" + d:DataContext="{d:DesignInstance wpfExample:ProvingGroundViewModel, d:IsDesignTimeCreatable=False}"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ProgressBar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Flipper.xaml" /> + + <!-- + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ProgressBar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Slider.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" /> + --> + + </ResourceDictionary.MergedDictionaries> + + + + + + + + </ResourceDictionary> + </UserControl.Resources> + + <StackPanel Margin="32"> + <Button Style="{StaticResource MaterialDesignFloatingActionButton}"> + <materialDesign:PackIcon Kind="CloudSync" Height="24" Width="24" /> + </Button> + <Button Style="{StaticResource MaterialDesignFloatingActionAccentButton}" Margin="0 12 0 12"> + <materialDesign:PackIcon Kind="CloudSync" Height="24" Width="24" /> + </Button> + <ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" Value="33" Width="50" Height="50" /> + </StackPanel> +</UserControl> + + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGround.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGround.xaml.cs new file mode 100644 index 000000000..9227a4167 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGround.xaml.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Diagnostics; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MaterialDesignColors.WpfExample.Domain; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for ProvingGround.xaml + /// </summary> + public partial class ProvingGround : UserControl + { + public ProvingGround() + { + InitializeComponent(); + DataContext = new ProvingGroundViewModel + { + SelectedTime = new DateTime(2000, 1, 1, 3, 15, 0) + }; + } + } + + public class ProvingGroundViewModel : INotifyPropertyChanged + { + private string _name; + private DateTime? _selectedTime; + public ICommand ClearItems { get; } + + public ProvingGroundViewModel() + { + ClearItems = new AnotherCommandImplementation(_ => Items.Clear()); + } + + public string Name + { + get { return _name; } + set + { + _name = value; + OnPropertyChanged(); + } + } + + public ObservableCollection<SelectableViewModel> Items { get; } = CreateData(); + + public DateTime? SelectedTime + { + get { return _selectedTime; } + set + { + _selectedTime = value; + System.Diagnostics.Debug.WriteLine(((object)_selectedTime ?? "NULL").ToString()); + OnPropertyChanged(); + } + } + + private static ObservableCollection<SelectableViewModel> CreateData() + { + return new ObservableCollection<SelectableViewModel> + { + new SelectableViewModel + { + Code = 'M', + Name = "Material Design", + Description = "Material Design in XAML Toolkit" + }, + new SelectableViewModel + { + Code = 'D', + Name = "Dragablz", + Description = "Dragablz Tab Control" + }, + new SelectableViewModel + { + Code = 'P', + Name = "Predator", + Description = "If it bleeds, we can kill it" + } + }; + } + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGroundStuff/MeasuringTextBox.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGroundStuff/MeasuringTextBox.cs new file mode 100644 index 000000000..f13df11b6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ProvingGroundStuff/MeasuringTextBox.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignDemo.ProvingGroundStuff +{ + public class MeasuringTextBox : TextBox + { + static MeasuringTextBox() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(MeasuringTextBox), new FrameworkPropertyMetadata(typeof(TextBox))); + } + + protected override Size ArrangeOverride(Size arrangeBounds) + { + var stopwatch = Stopwatch.StartNew(); + var result = base.ArrangeOverride(arrangeBounds); + stopwatch.Stop(); + Debug.WriteLine($"Arrange: {stopwatch.ElapsedMilliseconds} - {stopwatch.ElapsedTicks} - ({GetHashCode()})"); + return result; + } + + + protected override Size MeasureOverride(Size constraint) + { + var stopwatch = Stopwatch.StartNew(); + var result = base.MeasureOverride(constraint); + stopwatch.Stop(); + Debug.WriteLine($"Measure: {stopwatch.ElapsedMilliseconds} - {stopwatch.ElapsedTicks} - ({GetHashCode()})"); + return result; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/Chartridge046_small.jpg b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/Chartridge046_small.jpg Binary files differnew file mode 100644 index 000000000..36a1769ac --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/Chartridge046_small.jpg diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/Contact.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/Contact.png Binary files differnew file mode 100644 index 000000000..1e150da1a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/Contact.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/ProfilePic.jpg b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/ProfilePic.jpg Binary files differnew file mode 100644 index 000000000..a483a9907 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/ProfilePic.jpg diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/favicon.ico b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/favicon.ico Binary files differnew file mode 100644 index 000000000..49b8d358d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/favicon.ico diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/ms-icon-310x310.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/ms-icon-310x310.png Binary files differnew file mode 100644 index 000000000..d71445bde --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Resources/ms-icon-310x310.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ScreenGrabFromGoogle.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ScreenGrabFromGoogle.gif Binary files differnew file mode 100644 index 000000000..87d8647ff --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/ScreenGrabFromGoogle.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Shadows.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Shadows.xaml new file mode 100644 index 000000000..e625eedc4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Shadows.xaml @@ -0,0 +1,95 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Shadows" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <StackPanel Margin="8 8 0 0"> + <TextBlock>Raised controls have default shadows set, but the shadows can be overriden.</TextBlock> + <StackPanel Orientation="Horizontal" Margin="0 32 0 0"> + <smtx:XamlDisplay Key="shadow_1"> + <Button Style="{DynamicResource MaterialDesignRaisedButton}" + >DEPTH 1</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_2" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignRaisedButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth2" + >DEPTH 2</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_3" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignRaisedButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth3" + >DEPTH 3</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_4" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignRaisedButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth4" + >DEPTH 4</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_5" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignRaisedButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth5" + >DEPTH 5</Button> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Orientation="Horizontal" Margin="0 32 0 0"> + <smtx:XamlDisplay Key="shadow_6"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth1" + >1</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_7" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth2" + >2</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_8" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth3" + >3</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_9" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth4" + >4</Button> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_10" Margin="16 0 0 0"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + materialDesign:ShadowAssist.ShadowDepth="Depth5" + >5</Button> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Orientation="Horizontal" Margin="0 32 0 0"> + <smtx:XamlDisplay Key="shadow_11"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth1" Padding="32">DEPTH 1</materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_12" Margin="16 0 0 0"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth2" Padding="32">DEPTH 2</materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_13" Margin="16 0 0 0"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth3" Padding="32">DEPTH 3</materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_14" Margin="16 0 0 0"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth4" Padding="32">DEPTH 4</materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_15" Margin="16 0 0 0"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth5" Padding="32">DEPTH 5</materialDesign:Card> + </smtx:XamlDisplay> + </StackPanel> + <StackPanel Orientation="Horizontal" Margin="0 32 0 0"> + <smtx:XamlDisplay Key="shadow_16"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth3" materialDesign:ShadowAssist.ShadowEdges="Bottom,Right" Padding="32">CUSTOM CLIP</materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_17" Margin="16 0 0 0"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth3" materialDesign:ShadowAssist.ShadowEdges="Top" Padding="32">CUSTOM CLIP</materialDesign:Card> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="shadow_18" Margin="16 0 0 0"> + <materialDesign:Card materialDesign:ShadowAssist.ShadowDepth="Depth3" materialDesign:ShadowAssist.ShadowEdges="Bottom,Left" Padding="32">CUSTOM CLIP</materialDesign:Card> + </smtx:XamlDisplay> + </StackPanel> + </StackPanel> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Shadows.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Shadows.xaml.cs new file mode 100644 index 000000000..9f2e658e2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Shadows.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Shadows.xaml + /// </summary> + public partial class Shadows : UserControl + { + public Shadows() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Sliders.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Sliders.xaml new file mode 100644 index 000000000..afe84ed87 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Sliders.xaml @@ -0,0 +1,66 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Sliders" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <!-- note you only need bring in these extra resource dictionaries when using non-default styles, so only bring them into your controls where the default style is not what you want --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Slider.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + + <Grid VerticalAlignment="Top"> + <Grid.ColumnDefinitions> + <ColumnDefinition /> + <ColumnDefinition /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <smtx:XamlDisplay Key="slider_1" Margin="5 5 0 0"> + <Slider TickFrequency="5" Orientation="Horizontal" Minimum="1" Maximum="50" Value="25" /> + </smtx:XamlDisplay> + <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" + Margin="0 36 0 0"> + <smtx:XamlDisplay Key="slider_2"> + <Slider TickFrequency="5" TickPlacement="BottomRight" Orientation="Vertical" Minimum="1" Maximum="50" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="slider_3" Margin="24 8 0 8"> + <Slider TickFrequency="25" TickPlacement="TopLeft" Orientation="Vertical" Minimum="1" Maximum="50" IsEnabled="False" /> + </smtx:XamlDisplay> + </StackPanel> + <smtx:XamlDisplay Key="slider_4" Grid.Row="1" Grid.Column="0" Margin="5 36 0 0"> + <Slider TickFrequency="5" Orientation="Horizontal" TickPlacement="BottomRight" Minimum="1" Maximum="50" Value="25" IsSelectionRangeEnabled="True" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="slider_5" Grid.Row="2" Grid.Column="0" Margin="5 36 0 0"> + <Slider TickFrequency="5" Orientation="Horizontal" TickPlacement="BottomRight" Minimum="1" Maximum="50" Value="25" IsEnabled="False" /> + </smtx:XamlDisplay> + + <StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="0" Margin="0 16 0 0"> + <TextBlock VerticalAlignment="Bottom">Try me</TextBlock> + <smtx:XamlDisplay Key="slider_6" Margin="8 0 0 0"> + <Slider Minimum="0" Maximum="100" Style="{StaticResource MaterialDesignDiscreteSlider}" + ToolTip="MaterialDesignDiscreteSlider" + Value="50" + Width="280" /> + </smtx:XamlDisplay> + </StackPanel> + <smtx:XamlDisplay Key="slider_7" Grid.Row="4" Grid.Column="0" HorizontalAlignment="Left" Margin="5 24 0 0"> + <Slider Minimum="0" Maximum="10" Style="{StaticResource MaterialDesignDiscreteSlider}" + Width="260" ToolTip="MaterialDesignDiscreteSlider"/> + </smtx:XamlDisplay> + </Grid> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Sliders.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Sliders.xaml.cs new file mode 100644 index 000000000..e6248a33a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Sliders.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Sliders.xaml + /// </summary> + public partial class Sliders : UserControl + { + public Sliders() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Snackbars.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Snackbars.xaml new file mode 100644 index 000000000..bf50ebe81 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Snackbars.xaml @@ -0,0 +1,193 @@ +<UserControl x:Class="MaterialDesignDemo.Snackbars" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + + <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Hidden"> + <Grid Margin="0 0 0 4"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="340" /> + <ColumnDefinition Width="340" /> + <ColumnDefinition Width="340" /> + <ColumnDefinition Width="340" /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + + <!-- example 1 --> + <Border Background="{DynamicResource MaterialDesignSelection}" + Padding="8 0 8 0"> + <Grid> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> + <TextBlock TextWrapping="WrapWithOverflow" Style="{DynamicResource MaterialDesignSubheadingTextBlock}">Example 1.</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow" >Simple definition within XAML. Use the toggle to display the message.</TextBlock> + <ToggleButton IsChecked="{Binding ElementName=SnackbarOne, Path=IsActive, Mode=TwoWay}" + Margin="0 8 0 0"/> + </StackPanel> + + <smtx:XamlDisplay Key="snackbar_1"> + <!-- simplest form --> + <materialDesign:Snackbar Message="hello 1" + IsActive="False" + x:Name="SnackbarOne" /> + </smtx:XamlDisplay> + </Grid> + </Border> + + <!-- example 2 --> + <Border Background="{DynamicResource MaterialDesignPaper}" + Padding="8 0 8 0" + Grid.Column="1" Grid.Row="0"> + <Grid> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> + <TextBlock TextWrapping="WrapWithOverflow" Style="{DynamicResource MaterialDesignSubheadingTextBlock}">Example 2.</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow" >View source to see message defined in long hand, allowing action button content to be set.</TextBlock> + <ToggleButton IsChecked="{Binding ElementName=SnackbarTwo, Path=IsActive, Mode=TwoWay}" + Margin="0 8 0 0" /> + </StackPanel> + + <smtx:XamlDisplay Key="snackbar_2"> + <!-- long hand form for setting the message --> + <materialDesign:Snackbar IsActive="False" x:Name="SnackbarTwo" > + <materialDesign:SnackbarMessage Content="Hello 2" ActionContent="UNDO" /> + </materialDesign:Snackbar> + </smtx:XamlDisplay> + </Grid> + </Border> + + <!-- example 3 --> + <!-- + * using a message queue to manage queuing of messages, and getting onto correct thread + * notice the shorthand syntax {materialDesign:MessageQueue} for creating a new message + queue without expanded XAML. useful in code-behind scenarios if you dont want to bind + a message queue in to the snackbar. + --> + <Border Background="{DynamicResource MaterialDesignSelection}" + Padding="8 0 8 0" Grid.Row="0" Grid.Column="2"> + <Grid> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> + <TextBlock TextWrapping="WrapWithOverflow" Style="{DynamicResource MaterialDesignSubheadingTextBlock}">Example 3.</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow">In many real world scenario, notification display must deal with threading, queuing, and potentially heavy usage. A MessageQueue can be set to handle much of this for you, gicing the following benefits:</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow" Margin="0 8 0 0" Text=" • Messages can be queued from any thread"/> + <TextBlock TextWrapping="WrapWithOverflow" Text=" • Message will auto hide after a time out period"/> + <TextBlock TextWrapping="WrapWithOverflow" Text=" • Notification will not time out if mouse is over it"/> + <TextBlock TextWrapping="WrapWithOverflow" Text=" • Can be paired with a DialogHost so timeout will pause if a active dialog"/> + <TextBlock TextWrapping="WrapWithOverflow" Text=" • Duplicate within a short period will be discarded"/> + <TextBlock TextWrapping="WrapWithOverflow" Text=" • A single message queue can be shared acros multiple Windows"/> + <TextBlock TextWrapping="WrapWithOverflow" Text=" • Works with code-behind and MVVM"/> + <Grid Margin="0 16 0 0"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <TextBox x:Name="MessageTextBox" VerticalAlignment="Top" + Grid.Column="0">Hello World</TextBox> + <Button Click="SnackBar3_OnClick" Margin="16 0 0 0" + Grid.Column="1">Send</Button> + </Grid> + + + </StackPanel> + <smtx:XamlDisplay Key="snackbar_3" VerticalContentAlignment="Top"> + <materialDesign:Snackbar MessageQueue="{materialDesign:MessageQueue}" + x:Name="SnackbarThree" /> + </smtx:XamlDisplay> + </Grid> + </Border> + + <!-- example 4 --> + <!-- illustrates queueing uses some action command call backs --> + <Border Background="{DynamicResource MaterialDesignPaper}" + Padding="8 0 8 0" Grid.Column="3" Grid.Row="0"> + <Grid> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> + <TextBlock TextWrapping="WrapWithOverflow" Style="{DynamicResource MaterialDesignSubheadingTextBlock}">Example 4.</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow">Illustrates queueing (including discarding of duplicates), and handling of commands. Action a notification to see a System.Trace response..</TextBlock> + <Grid Margin="0 16 0 0"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <TextBox AcceptsReturn="True" x:Name="ExampleFourTextBox" TextWrapping="Wrap" + Text="Message One
Message Two
Message Three
Duplicate
Duplicate
Duplicate
Start Fresh
Goodbye" /> + <Button Click="SnackBar4_OnClick" HorizontalAlignment="Center" Grid.Column="1">Send</Button> + </Grid> + </StackPanel> + <smtx:XamlDisplay Key="snackbar_4"> + <materialDesign:Snackbar MessageQueue="{materialDesign:MessageQueue}" + x:Name="SnackbarFour" /> + </smtx:XamlDisplay> + </Grid> + </Border> + + <!-- example 5 --> + <!-- full width snack bar --> + <Border Background="{DynamicResource MaterialDesignChipBackground}" + Grid.ColumnSpan="2" Grid.Row="1" Grid.Column="0"> + <StackPanel VerticalAlignment="Bottom"> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" + Margin="0 0 0 32"> + <TextBlock TextWrapping="WrapWithOverflow" Style="{DynamicResource MaterialDesignSubheadingTextBlock}">Example 5.</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow">Illustrates a full width Snackbar.</TextBlock> + <ToggleButton IsChecked="{Binding ElementName=SnackbarFive, Path=IsActive, Mode=TwoWay}" + Margin="0 8 0 0" /> + </StackPanel> + <smtx:XamlDisplay Key="snackbar_5" HorizontalAlignment="Stretch"> + <materialDesign:Snackbar HorizontalAlignment="Stretch" + x:Name="SnackbarFive"> + <materialDesign:SnackbarMessage Content="This Snackbar is stretched horizontally. Consider allowing your content to push up." + ActionContent="OK" /> + </materialDesign:Snackbar> + </smtx:XamlDisplay> + </StackPanel> + </Border> + + <!-- example 6 --> + <!-- colour variations --> + <Border Grid.Column="2" Grid.Row="1"> + <Border.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <!-- here is where you can get additional snackbar button styles from --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Snackbar.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </Border.Resources> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> + <TextBlock TextWrapping="WrapWithOverflow" Style="{StaticResource MaterialDesignSubheadingTextBlock}">Example 6.</TextBlock> + <TextBlock TextWrapping="WrapWithOverflow">Action button colour variations.</TextBlock> + <smtx:XamlDisplay Key="snackbar_6" Margin="0 8 0 0"> + <materialDesign:Snackbar IsActive="True"> + <materialDesign:SnackbarMessage Content="Default - accent" ActionContent="ACCENT" /> + </materialDesign:Snackbar> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="snackbar_7" Margin="0 8 0 0"> + <materialDesign:Snackbar IsActive="True" + ActionButtonStyle="{StaticResource MaterialDesignSnackbarActionLightButton}"> + <materialDesign:SnackbarMessage Content="Primary Light" ActionContent="LIGHT" /> + </materialDesign:Snackbar> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="snackbar_8" Margin="0 8 0 0"> + <materialDesign:Snackbar IsActive="True" ActionButtonStyle="{StaticResource MaterialDesignSnackbarActionMidButton}"> + <materialDesign:SnackbarMessage Content="Primary Mid" ActionContent="MID" /> + </materialDesign:Snackbar> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="snackbar_9" Margin="0 8 0 0"> + <materialDesign:Snackbar IsActive="True" + ActionButtonStyle="{StaticResource MaterialDesignSnackbarActionDarkButton}"> + <materialDesign:SnackbarMessage Content="Primary Dark" ActionContent="DARK" /> + </materialDesign:Snackbar> + </smtx:XamlDisplay> + </StackPanel> + </Border> + </Grid> + </ScrollViewer> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Snackbars.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Snackbars.xaml.cs new file mode 100644 index 000000000..17e8d8c4d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Snackbars.xaml.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo +{ + /// <summary> + /// Interaction logic for Snackbars.xaml + /// </summary> + public partial class Snackbars : UserControl + { + public Snackbars() + { + InitializeComponent(); + } + + private void SnackBar3_OnClick(object sender, RoutedEventArgs e) + { + //use the message queue to send a message. + var messageQueue = SnackbarThree.MessageQueue; + var message = MessageTextBox.Text; + + //the message queue can be called from any thread + Task.Factory.StartNew(() => messageQueue.Enqueue(message)); + } + + private void SnackBar4_OnClick(object sender, RoutedEventArgs e) + { + foreach (var s in ExampleFourTextBox.Text.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries)) + { + SnackbarFour.MessageQueue.Enqueue( + s, + "TRACE", + param => Trace.WriteLine("Actioned: " + param), + s); + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TextFields.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TextFields.xaml new file mode 100644 index 000000000..67a178685 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TextFields.xaml @@ -0,0 +1,358 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.TextFields" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:domain="clr-namespace:MaterialDesignColors.WpfExample.Domain" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:domain1="clr-namespace:MaterialDesignDemo.Domain" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="600" Loaded="UserControl_Loaded" + d:DataContext="{d:DesignInstance domain:TextFieldsViewModel, d:IsDesignTimeCreatable=False}"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <!-- note you only need bring in these extra resource dictionaries when using non-default styles, so only bring them into your controls where the default style is not what you want --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ComboBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Slider.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" /> + </ResourceDictionary.MergedDictionaries> + <Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignTextBox}"> + <Setter Property="Margin" Value="0 8 0 8" /> + </Style> + <Style TargetType="{x:Type PasswordBox}" BasedOn="{StaticResource MaterialDesignPasswordBox}"> + <Setter Property="Margin" Value="0 8 0 8" /> + </Style> + <Style TargetType="{x:Type ComboBox}" BasedOn="{StaticResource MaterialDesignComboBox}"> + <Setter Property="Margin" Value="0 8 0 8" /> + </Style> + <Style TargetType="{x:Type Viewbox}"> + <Setter Property="Width" Value="18" /> + <Setter Property="Height" Value="18" /> + <Setter Property="Margin" Value="0 0 8 0" /> + <Setter Property="VerticalAlignment" Value="Center" /> + </Style> + <Style TargetType="{x:Type Slider}" BasedOn="{StaticResource MaterialDesignSlider}"> + <Setter Property="Margin" Value="0 8 0 8" /> + </Style> + <Style TargetType="{x:Type materialDesign:PackIcon}" BasedOn="{StaticResource {x:Type materialDesign:PackIcon}}"> + <Setter Property="VerticalAlignment" Value="Center" /> + <Setter Property="Margin" Value="4 0 4 0" /> + </Style> + </ResourceDictionary> + </UserControl.Resources> + <Grid Margin="16" VerticalAlignment="Top"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="155" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="155" /> + <ColumnDefinition Width="*" /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Style="{StaticResource MaterialDesignHeadlineTextBlock}">Common Fields</TextBlock> + <materialDesign:PackIcon Grid.Row="1" Grid.Column="0" Kind="Account" Foreground="{Binding ElementName=NameTextBox, Path=BorderBrush}" /> + <smtx:XamlDisplay Key="fields_1" Grid.Column="1" Grid.Row="1"> + <TextBox x:Name="NameTextBox" + materialDesign:HintAssist.Hint="Name"> + <TextBox.Text> + <Binding Path="Name" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True" /> + </Binding.ValidationRules> + </Binding> + </TextBox.Text> + </TextBox> + </smtx:XamlDisplay> + <TextBlock Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" Margin="16 0 8 0">OS</TextBlock> + <smtx:XamlDisplay Key="fields_2" Grid.Row="1" Grid.Column="3"> + <ComboBox materialDesign:HintAssist.Hint="OS"> + <ComboBoxItem>Android</ComboBoxItem> + <ComboBoxItem>iOS</ComboBoxItem> + <ComboBoxItem>Linux</ComboBoxItem> + <ComboBoxItem>Windows</ComboBoxItem> + </ComboBox> + </smtx:XamlDisplay> + <TextBlock Grid.Row="0" Grid.Column="4" Style="{StaticResource MaterialDesignHeadlineTextBlock}" Margin="32 0 0 0">Multi-line</TextBlock> + + <smtx:XamlDisplay Key="fields_3" Grid.Row="1" Grid.RowSpan="2" Grid.Column="4" Margin="32 0 0 0"> + <TextBox TextWrapping="Wrap" VerticalAlignment="Stretch" + MinWidth="280" + AcceptsReturn="True" + VerticalScrollBarVisibility="Auto" + SpellCheck.IsEnabled="True" + materialDesign:HintAssist.Hint="Multiline text" + Height="80">Multiline. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. The quick brown fox jumps over the lazy dog. War and peace. Keep going. Go on. For how long? Not long. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</TextBox> + </smtx:XamlDisplay> + <materialDesign:PackIcon Grid.Row="2" Grid.Column="0" Kind="Phone" Foreground="{Binding ElementName=PhoneTextBox, Path=BorderBrush}" /> + <smtx:XamlDisplay Key="fields_4" Grid.Row="2" Grid.Column="1"> + <TextBox x:Name="PhoneTextBox" materialDesign:TransitionAssist.DisableTransitions="True"/> + </smtx:XamlDisplay> + <TextBlock Grid.Row="2" Grid.Column="2" VerticalAlignment="Center" Margin="16 0 8 0">Fruit</TextBlock> + <smtx:XamlDisplay Key="fields_5" Grid.Row="2" Grid.Column="3" > + <ComboBox materialDesign:HintAssist.Hint="Search" + IsEditable="True" materialDesign:HintAssist.HintOpacity=".26"> + <ComboBoxItem>Apple</ComboBoxItem> + <ComboBoxItem>Banana</ComboBoxItem> + <ComboBoxItem>Pear</ComboBoxItem> + <ComboBoxItem>Orange</ComboBoxItem> + </ComboBox> + </smtx:XamlDisplay> + <materialDesign:PackIcon Grid.Row="3" Grid.Column="0" Kind="Comment" Foreground="{Binding ElementName=CommentTextBox, Path=BorderBrush}" /> + <smtx:XamlDisplay Key="fields_6" Grid.Row="3" Grid.Column="1"> + <TextBox x:Name="CommentTextBox" + materialDesign:HintAssist.Hint="Comment" /> + </smtx:XamlDisplay> + <materialDesign:PackIcon Grid.Row="3" Grid.Column="2" Kind="Key" Foreground="{Binding ElementName=PasswordBox, Path=BorderBrush}" HorizontalAlignment="Right" /> + <smtx:XamlDisplay Key="fields_7" Grid.Row="3" Grid.Column="3"> + <PasswordBox x:Name="PasswordBox" materialDesign:HintAssist.Hint="Password" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_8" Grid.Row="4" Grid.Column="1"> + <TextBox materialDesign:HintAssist.Hint="Floating Hint" + Style="{StaticResource MaterialDesignFloatingHintTextBox}" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_9" Grid.Row="4" Grid.Column="3"> + <ComboBox materialDesign:HintAssist.Hint="OS" Style="{StaticResource MaterialDesignFloatingHintComboBox}"> + <ComboBoxItem>Android</ComboBoxItem> + <ComboBoxItem>iOS</ComboBoxItem> + <ComboBoxItem>Linux</ComboBoxItem> + <ComboBoxItem>Windows</ComboBoxItem> + </ComboBox> + </smtx:XamlDisplay> + + <StackPanel Grid.Row="3" Grid.Column="4" Grid.RowSpan="3" Margin="32 16 0 0"> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}">Virtualised Comboboxes</TextBlock> + <StackPanel Orientation="Horizontal" Margin="0 12 0 0"> + <smtx:XamlDisplay Key="fields_10"> + <ComboBox materialDesign:HintAssist.Hint="Virtualisation" + MinWidth="72" + Margin="0 0 0 0" + VerticalAlignment="Bottom" + ItemsSource="{Binding LongListToTestComboVirtualization}" + SelectedValue="{Binding SelectedValueOne}"> + <ComboBox.SelectedItem> + <Binding Path="SelectedValueOne" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True"/> + </Binding.ValidationRules> + </Binding> + </ComboBox.SelectedItem> + <ComboBox.ItemsPanel> + <ItemsPanelTemplate> + <VirtualizingStackPanel /> + </ItemsPanelTemplate> + </ComboBox.ItemsPanel> + </ComboBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_11"> + <ComboBox materialDesign:HintAssist.Hint="(editable)" + MinWidth="72" + Margin="16 0 0 0" + VerticalAlignment="Bottom" + IsEditable="True" + ItemsSource="{Binding LongListToTestComboVirtualization}"> + <ComboBox.Text> + <Binding Path="SelectedTextTwo" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True"/> + </Binding.ValidationRules> + </Binding> + </ComboBox.Text> + <ComboBox.ItemsPanel> + <ItemsPanelTemplate> + <VirtualizingStackPanel /> + </ItemsPanelTemplate> + </ComboBox.ItemsPanel> + </ComboBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_12"> + <ComboBox materialDesign:HintAssist.Hint="(float hint)" + MinWidth="72" + Margin="16 0 0 0" + ItemsSource="{Binding LongListToTestComboVirtualization}" + Style="{StaticResource MaterialDesignFloatingHintComboBox}"> + <ComboBox.ItemsPanel> + <ItemsPanelTemplate> + <VirtualizingStackPanel /> + </ItemsPanelTemplate> + </ComboBox.ItemsPanel> + </ComboBox> + </smtx:XamlDisplay> + </StackPanel> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}" Margin="0 16 0 5">Disabled Controls</TextBlock> + <StackPanel Orientation="Horizontal"> + <smtx:XamlDisplay Key="fields_13"> + <TextBox materialDesign:HintAssist.Hint="I'm Disabled" IsEnabled="False" MinWidth="72"/> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_14" Margin="16 0 0 0"> + <ComboBox materialDesign:HintAssist.Hint="Disabled Combo" IsEnabled="False" MinWidth="72" /> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_15" Margin="16 0 0 0"> + <PasswordBox Password="01234" IsEnabled="False" MinWidth="72"/> + </smtx:XamlDisplay> + </StackPanel> + </StackPanel> + + <smtx:XamlDisplay Key="fields_16" Grid.Row="5" Grid.Column="1" Margin="0 8"> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" Text="Good stuff"> + <materialDesign:HintAssist.Hint> + <StackPanel Orientation="Horizontal" Margin="-2 0 0 0"> + <materialDesign:PackIcon Kind="AccessPoint" /> + <TextBlock>WiFi</TextBlock> + </StackPanel> + </materialDesign:HintAssist.Hint> + </TextBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_17" Grid.Row="5" Grid.Column="3" Margin="0 8"> + <ComboBox materialDesign:HintAssist.Hint="Search" IsEditable="True" Style="{StaticResource MaterialDesignFloatingHintComboBox}"> + <ComboBoxItem IsSelected="True">Apple</ComboBoxItem> + <ComboBoxItem>Banana</ComboBoxItem> + <ComboBoxItem>Pear</ComboBoxItem> + <ComboBoxItem>Orange</ComboBoxItem> + </ComboBox> + </smtx:XamlDisplay> + + <materialDesign:PackIcon Grid.Row="6" Grid.Column="0" Kind="Key" + Margin="0 12 0 0" + Foreground="{Binding ElementName=FloatingPasswordBox, Path=BorderBrush}" /> + <smtx:XamlDisplay Key="fields_18" Grid.Row="6" Grid.Column="1" Margin="0 12 0 0"> + <PasswordBox x:Name="FloatingPasswordBox" + materialDesign:HintAssist.Hint="Floating Password" + Style="{StaticResource MaterialDesignFloatingHintPasswordBox}" /> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="fields_19" Grid.Row="6" Grid.Column="3"> + <TextBox materialDesign:HintAssist.Hint="Large Font" + materialDesign:TextFieldAssist.TextBoxViewMargin="1 0 1 0" + materialDesign:HintAssist.FloatingScale="0.50" + Text="Some Text" + Style="{StaticResource MaterialDesignFloatingHintTextBox}" + FontSize="24"/> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="7" Grid.Column="1" Style="{StaticResource MaterialDesignSubheadingTextBlock}" + Margin="0 48 0 0">DataTemplate Test</TextBlock> + + <smtx:XamlDisplay Key="fields_20" Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="3" Margin="0 12 0 0" HorizontalAlignment="Left"> + <ContentControl Content="{Binding DemoItem}"> + <ContentControl.ContentTemplate> + <DataTemplate DataType="domain:DemoItem"> + <StackPanel Orientation="Horizontal"> + <TextBox materialDesign:HintAssist.Hint="Name" Text="{Binding Name}" Margin="0 0 0 0" VerticalAlignment="Bottom" /> + <TextBox materialDesign:HintAssist.Hint="Content" Text="{Binding Content}" Margin="8 0 0 0" VerticalAlignment="Bottom" /> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" materialDesign:HintAssist.Hint="Name" Text="{Binding Name}" Margin="8 0 0 0" VerticalAlignment="Bottom" /> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" materialDesign:HintAssist.Hint="Content" Text="{Binding Content}" Margin="8 0 0 0" VerticalAlignment="Bottom" /> + </StackPanel> + </DataTemplate> + </ContentControl.ContentTemplate> + </ContentControl> + </smtx:XamlDisplay> + <TextBlock Grid.Row="9" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource MaterialDesignSubheadingTextBlock}" + Margin="0 16 0 0">DataTemplateSelector Test</TextBlock> + <smtx:XamlDisplay Key="fields_21" Grid.Row="10" Grid.Column="1" Grid.ColumnSpan="3" Margin="0 12 0 0" HorizontalAlignment="Left"> + <ContentControl Content="{Binding DemoItem}"> + <ContentControl.ContentTemplateSelector> + <domain1:SimpleDataTemplateSelector> + <domain1:SimpleDataTemplateSelector.FixedTemplate> + <DataTemplate DataType="domain:DemoItem"> + <StackPanel Orientation="Horizontal"> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" materialDesign:HintAssist.Hint="Name" Text="{Binding Name}" Margin="0 0 0 0" VerticalAlignment="Bottom" /> + <TextBox Style="{StaticResource MaterialDesignFloatingHintTextBox}" materialDesign:HintAssist.Hint="Content" Text="{Binding Content}" Margin="8 0 0 0" VerticalAlignment="Bottom" /> + <TextBox materialDesign:HintAssist.Hint="Name" Text="{Binding Name}" Margin="8 0 0 0" VerticalAlignment="Bottom" /> + <TextBox materialDesign:HintAssist.Hint="Content" Text="{Binding Content}" Margin="8 0 0 0" VerticalAlignment="Bottom" /> + </StackPanel> + </DataTemplate> + </domain1:SimpleDataTemplateSelector.FixedTemplate> + </domain1:SimpleDataTemplateSelector> + </ContentControl.ContentTemplateSelector> + </ContentControl> + </smtx:XamlDisplay> + <TextBlock Grid.Row="7" Grid.Column="4" Style="{StaticResource MaterialDesignSubheadingTextBlock}" + Margin="0 48 0 0">Tight Space Validation</TextBlock> + <smtx:XamlDisplay Key="fields_22" Grid.Row="8" Grid.Column="4" HorizontalAlignment="Left"> + <TextBox Width="20" + materialDesign:ValidationAssist.UsePopup="True" + HorizontalAlignment="Left" + ToolTip="Use a popup which can escape the bounds of the control where space is limited"> + <TextBox.Text> + <Binding Path="Name" UpdateSourceTrigger="PropertyChanged"> + <Binding.ValidationRules> + <domain1:NotEmptyValidationRule ValidatesOnTargetUpdated="True" /> + </Binding.ValidationRules> + </Binding> + </TextBox.Text> + </TextBox> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="fields_23" Grid.Row="9" Grid.Column="4" Grid.RowSpan="2" HorizontalAlignment="Left"> + <StackPanel> + <CheckBox x:Name="DisplaySelectedItemCheckBox" + IsThreeState="False" + Margin="0 8 0 0">Display Selected Item In Drop Down</CheckBox> + <ComboBox materialDesign:ComboBoxAssist.ShowSelectedItem="{Binding ElementName=DisplaySelectedItemCheckBox, Path=IsChecked}" + Margin="0 8 0 8" HorizontalAlignment="Left"> + <ComboBoxItem IsSelected="True">Apple</ComboBoxItem> + <ComboBoxItem>Banana</ComboBoxItem> + <ComboBoxItem>Pear</ComboBoxItem> + <ComboBoxItem>Orange</ComboBoxItem> + </ComboBox> + </StackPanel> + </smtx:XamlDisplay> + + <smtx:XamlDisplay Key="fields_24" Grid.Row="11" Grid.Column="4" Grid.RowSpan="2" HorizontalAlignment="Left"> + <StackPanel> + <CheckBox x:Name="ClassicModeCheckBox" + IsThreeState="False" IsChecked="True" + Margin="0 8 0 0">Use classic mode</CheckBox> + <ComboBox materialDesign:ComboBoxAssist.ClassicMode="{Binding ElementName=ClassicModeCheckBox, Path=IsChecked}" + Margin="0 8 0 8" HorizontalAlignment="Left"> + <ComboBoxItem IsSelected="True">Apple</ComboBoxItem> + <ComboBoxItem>Banana</ComboBoxItem> + <ComboBoxItem>Pear</ComboBoxItem> + <ComboBoxItem>Orange</ComboBoxItem> + </ComboBox> + </StackPanel> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="13" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource MaterialDesignHeadlineTextBlock}" Margin="0,32,0,16">Text field box</TextBlock> + <smtx:XamlDisplay Key="fields_25" Grid.Row="14" Grid.Column="1" Grid.RowSpan="2" Grid.ColumnSpan="3"> + <StackPanel> + <CheckBox x:Name="MaterialDesignTextFieldBoxTextBoxEnabledComboBox" + IsChecked="True" Margin="0,0,0,8">Enabled</CheckBox> + <TextBox Style="{StaticResource MaterialDesignTextFieldBoxTextBox}" + VerticalAlignment="Top" AcceptsReturn="True" TextWrapping="Wrap" MaxWidth="400" materialDesign:HintAssist.Hint="Floating hint in a box" + IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignTextFieldBoxTextBoxEnabledComboBox}" /> + </StackPanel> + </smtx:XamlDisplay> + + + <TextBlock Grid.Row="13" Grid.Column="4" Style="{StaticResource MaterialDesignHeadlineTextBlock}" Margin="32,32,0,16">Text area box</TextBlock> + <smtx:XamlDisplay Key="fields_26" Grid.Row="14" Grid.Column="4" Grid.RowSpan="2"> + <StackPanel> + <CheckBox x:Name="MaterialDesignTextAreaTextBoxEnabledComboBox" + IsChecked="True" Margin="32,0,0,8">Enabled</CheckBox> + <TextBox Style="{StaticResource MaterialDesignTextAreaTextBox}" Margin="32,0,0,0" + VerticalAlignment="Top" Height="100" AcceptsReturn="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" materialDesign:HintAssist.Hint="This is a text area" + IsEnabled="{Binding Path=IsChecked, ElementName=MaterialDesignTextAreaTextBoxEnabledComboBox}" /> + </StackPanel> + </smtx:XamlDisplay> + </Grid> +</UserControl>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TextFields.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TextFields.xaml.cs new file mode 100644 index 000000000..2a6325097 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TextFields.xaml.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Threading; +using MaterialDesignColors.WpfExample.Domain; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for TextFields.xaml + /// </summary> + public partial class TextFields : UserControl + { + public TextFields() + { + InitializeComponent(); + DataContext = new TextFieldsViewModel(); + } + + private void UserControl_Loaded(object sender, RoutedEventArgs e) + { + } + + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Transitions.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Transitions.xaml new file mode 100644 index 000000000..71a46db8d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Transitions.xaml @@ -0,0 +1,11 @@ +<UserControl x:Class="MaterialDesignDemo.Transitions" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:transitionsDemo="clr-namespace:MaterialDesignDemo.TransitionsDemo" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + + <transitionsDemo:TransitionsDemoHome /> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Transitions.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Transitions.xaml.cs new file mode 100644 index 000000000..ea0628733 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Transitions.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo +{ + /// <summary> + /// Interaction logic for Transitions.xaml + /// </summary> + public partial class Transitions : UserControl + { + public Transitions() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide1_Intro.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide1_Intro.xaml new file mode 100644 index 000000000..ffbd1b800 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide1_Intro.xaml @@ -0,0 +1,22 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide1_Intro" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300" + > + <materialDesign:ColorZone Mode="Light" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> + <StackPanel VerticalAlignment="Center"> + <TextBlock>Welcome to the transitions showcase! Take the red pill to begin...</TextBlock> + + <!-- you can easily use the move next, previous, first and last commands --> + <Button Style="{DynamicResource MaterialDesignFloatingActionButton}" Margin="64" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}"> + <materialDesign:PackIcon Kind="Pill" /> + </Button> + </StackPanel> + </materialDesign:ColorZone> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide1_Intro.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide1_Intro.xaml.cs new file mode 100644 index 000000000..b52fddd49 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide1_Intro.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide1_Intro.xaml + /// </summary> + public partial class Slide1_Intro : UserControl + { + public Slide1_Intro() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide2_Intro.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide2_Intro.xaml new file mode 100644 index 000000000..6309234e8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide2_Intro.xaml @@ -0,0 +1,36 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide2_Intro" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <materialDesign:ColorZone Mode="PrimaryLight" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch"> + <Grid VerticalAlignment="Center" HorizontalAlignment="Center" + MaxWidth="600"> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="32" + Style="{DynamicResource MaterialDesignHeadlineTextBlock}" + TextWrapping="Wrap"> + The transition will originate from where the user clicks the button. Experiment with the back/forward buttons. + </TextBlock> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}" + HorizontalAlignment="Left" + Grid.Row="1"> + <materialDesign:PackIcon Kind="StepBackward" /> + </Button> + <Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}" + HorizontalAlignment="Right" + Grid.Row="1" + > + <materialDesign:PackIcon Kind="StepForward" /> + </Button> + </Grid> + </materialDesign:ColorZone> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide2_Intro.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide2_Intro.xaml.cs new file mode 100644 index 000000000..3b45cdbdf --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide2_Intro.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide2_Intro.xaml + /// </summary> + public partial class Slide2_Intro : UserControl + { + public Slide2_Intro() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide3_Intro.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide3_Intro.xaml new file mode 100644 index 000000000..d7276aca2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide3_Intro.xaml @@ -0,0 +1,27 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide3_Intro" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <materialDesign:ColorZone Mode="PrimaryDark" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch"> + <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="64"> + <TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap" TextAlignment="Center">OK, we've seen some cool stuff. Let's take a look at some more transition types.</TextBlock> + <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}" + VerticalAlignment="Center" + Margin="16"> + <materialDesign:PackIcon Kind="StepBackward" /> + </Button> + <Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}" + Margin="16"> + <materialDesign:PackIcon Kind="StepForward" /> + </Button> + </StackPanel> + </StackPanel> + </materialDesign:ColorZone> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide3_Intro.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide3_Intro.xaml.cs new file mode 100644 index 000000000..fb3073a2a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide3_Intro.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide3_Intro.xaml + /// </summary> + public partial class Slide3_Intro : UserControl + { + public Slide3_Intro() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide4_CombineTransitions.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide4_CombineTransitions.xaml new file mode 100644 index 000000000..5c96e508f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide4_CombineTransitions.xaml @@ -0,0 +1,35 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide4_CombineTransitions" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <materialDesign:ColorZone Mode="Dark" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> + <Grid Margin="64"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap">You can combine some transition effects too. Did you see how this page slid in from the bottom and left?</TextBlock> + <TextBlock Style="{DynamicResource MaterialDesignTitleTextBlock}" TextWrapping="Wrap" Grid.Row="1">Next we will look at some granular transitions on individual elements.</TextBlock> + <StackPanel Orientation="Horizontal" Grid.Row="2"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}" + VerticalAlignment="Center" HorizontalAlignment="Left" + Margin="16"> + <materialDesign:PackIcon Kind="StepBackward" /> + </Button> + <Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}" + VerticalAlignment="Top" + Margin="16"> + <materialDesign:PackIcon Kind="StepForward" /> + </Button> + </StackPanel> + </Grid> + </materialDesign:ColorZone> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide4_CombineTransitions.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide4_CombineTransitions.xaml.cs new file mode 100644 index 000000000..a2e322a31 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide4_CombineTransitions.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide4_CombineTransitions.xaml + /// </summary> + public partial class Slide4_CombineTransitions : UserControl + { + public Slide4_CombineTransitions() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide5_TransitioningContent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide5_TransitioningContent.xaml new file mode 100644 index 000000000..f89d8f047 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide5_TransitioningContent.xaml @@ -0,0 +1,125 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide5_TransitioningContent" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300" + Background="{DynamicResource MaterialDesignPaper}"> + + <Grid HorizontalAlignment="Center" Width="418" > + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <materialDesign:TransitioningContent OpeningEffect="{materialDesign:TransitionEffect SlideInFromRight, Duration=0:0:1.2}"> + <materialDesign:ColorZone Mode="PrimaryMid" materialDesign:ShadowAssist.ShadowDepth="Depth3" Margin="4"> + <StackPanel Margin="16" Orientation="Horizontal"> + <materialDesign:PackIcon Kind="Account" Height="32" Width="32" /> + <TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" Margin="16 0 0 0">Contacts</TextBlock> + </StackPanel> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + <ItemsControl Grid.Row="1"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <UniformGrid Columns="4" /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + <ItemsControl.Resources> + <Style TargetType="{x:Type materialDesign:ColorZone}" BasedOn="{StaticResource {x:Type materialDesign:ColorZone}}"> + <Setter Property="Width" Value="96" /> + <Setter Property="Height" Value="96" /> + <Setter Property="Margin" Value="4" /> + <Setter Property="Mode" Value="PrimaryLight" /> + </Style> + </ItemsControl.Resources> + <materialDesign:TransitioningContent OpeningEffect="{materialDesign:TransitionEffect ExpandIn}"> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + <materialDesign:TransitioningContent OpeningEffectsOffset="{materialDesign:IndexedItemOffsetMultiplier 0:0:0.05}"> + <materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:TransitionEffect Kind="ExpandIn" /> + </materialDesign:TransitioningContent.OpeningEffects> + <materialDesign:ColorZone> + <materialDesign:PackIcon Kind="Phone" VerticalAlignment="Center" HorizontalAlignment="Center" /> + </materialDesign:ColorZone> + </materialDesign:TransitioningContent> + + </ItemsControl> + + <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Right"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}" + VerticalAlignment="Center" HorizontalAlignment="Left" + Margin="16"> + <materialDesign:PackIcon Kind="StepBackward" /> + </Button> + <Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}" + VerticalAlignment="Top" + Margin="16"> + <materialDesign:PackIcon Kind="StepForward" /> + </Button> + </StackPanel> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide5_TransitioningContent.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide5_TransitioningContent.xaml.cs new file mode 100644 index 000000000..82dc901a3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide5_TransitioningContent.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide5_TransitioningContent.xaml + /// </summary> + public partial class Slide5_TransitioningContent : UserControl + { + public Slide5_TransitioningContent() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide6_Origins.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide6_Origins.xaml new file mode 100644 index 000000000..e38246651 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide6_Origins.xaml @@ -0,0 +1,47 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide6_Origins" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition /> + <RowDefinition /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition/> + </Grid.ColumnDefinitions> + <materialDesign:Transitioner Name="Transitioner" Grid.Column="1" SelectedIndex="0" DefaultTransitionOrigin="1, 1"> + <Border Background="#009688"> + <TextBlock Foreground="Azure" Margin="24" TextWrapping="Wrap">You can set .DefaultTransitionOrigin, to help with transitions such as the circle wipe, which are triggered from code.</TextBlock> + </Border> + <materialDesign:TransitionerSlide TransitionOrigin="0.25, 0.25"> + <materialDesign:TransitionerSlide.BackwardWipe> + <materialDesign:CircleWipe/> + </materialDesign:TransitionerSlide.BackwardWipe> + <Border Background="#E64A19"/> + </materialDesign:TransitionerSlide> + </materialDesign:Transitioner> + <StackPanel Margin="16 0 16 0"> + <Button Click="FirstSlideButton_OnClick">First</Button> + <Button Click="SecondSlideButton_OnClick" Margin="0 16 0 0">Second</Button> + </StackPanel> + <StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2" Margin="16" HorizontalAlignment="Right"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}" + > + <materialDesign:PackIcon Kind="StepBackward" /> + </Button> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}" + Margin="16 0 0 0"> + <materialDesign:PackIcon Kind="StepForward" /> + </Button> + </StackPanel> + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide6_Origins.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide6_Origins.xaml.cs new file mode 100644 index 000000000..fdb7456ec --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide6_Origins.xaml.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide6_Origins.xaml + /// </summary> + public partial class Slide6_Origins : UserControl + { + public Slide6_Origins() + { + InitializeComponent(); + } + + private void FirstSlideButton_OnClick(object sender, RoutedEventArgs e) + { + Transitioner.SelectedIndex = 0; + } + + private void SecondSlideButton_OnClick(object sender, RoutedEventArgs e) + { + Transitioner.SelectedIndex = 1; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MVVM.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MVVM.xaml new file mode 100644 index 000000000..523818b9f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MVVM.xaml @@ -0,0 +1,38 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide7_MVVM" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo" + mc:Ignorable="d" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + d:DesignHeight="300" d:DesignWidth="300"> + <materialDesign:ColorZone Mode="Light" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> + <Grid Margin="64"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap" TextAlignment="Center">That's the end of the demo for now; a full MVVM demo coming soon!</TextBlock> + <!-- + <TextBlock Style="{DynamicResource MaterialDesignHeadlineTextBlock}" TextWrapping="Wrap" TextAlignment="Center">Finally, we will put it all together to create full master & details pages, controlled via MVVM.</TextBlock> + --> + <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center"> + <Button Style="{DynamicResource MaterialDesignFloatingActionMiniButton}" + Command="{x:Static materialDesign:Transitioner.MovePreviousCommand}" + VerticalAlignment="Center" HorizontalAlignment="Left" + Margin="16"> + <materialDesign:PackIcon Kind="StepBackward" /> + </Button> + <!-- + <Button Style="{DynamicResource MaterialDesignFloatingActionAccentButton}" + Command="{x:Static materialDesign:Transitioner.MoveNextCommand}" + VerticalAlignment="Top" + Margin="16"> + <materialDesign:PackIcon Kind="StepForward" /> + </Button> + --> + </StackPanel> + </Grid> + </materialDesign:ColorZone> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MVVM.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MVVM.xaml.cs new file mode 100644 index 000000000..8276fe175 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MVVM.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide7_MVVM.xaml + /// </summary> + public partial class Slide7_MVVM : UserControl + { + public Slide7_MVVM() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MasterModel.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MasterModel.cs new file mode 100644 index 000000000..3e131236e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide7_MasterModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignDemo.TransitionsDemo +{ + public class Slide7_MasterModel + { + } + + public class Slide8_DetailsModel + { + + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide8_Details.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide8_Details.xaml new file mode 100644 index 000000000..a81ca7d7c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide8_Details.xaml @@ -0,0 +1,12 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.Slide8_Details" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <Grid> + + </Grid> +</UserControl> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide8_Details.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide8_Details.xaml.cs new file mode 100644 index 000000000..5a09e7d58 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/Slide8_Details.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for Slide8_Details.xaml + /// </summary> + public partial class Slide8_Details : UserControl + { + public Slide8_Details() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/TransitionsDemoHome.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/TransitionsDemoHome.xaml new file mode 100644 index 000000000..4e27f003a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/TransitionsDemoHome.xaml @@ -0,0 +1,71 @@ +<UserControl x:Class="MaterialDesignDemo.TransitionsDemo.TransitionsDemoHome" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:MaterialDesignDemo.TransitionsDemo" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="256" /> + </Grid.RowDefinitions> + <TextBlock Style="{StaticResource MaterialDesignDisplay2TextBlock}">Transitions Demo</TextBlock> + + <smtx:XamlDisplay Key="transitions" Grid.Row="1"> + <!-- the transitioner will manage your transitions. notice how SelectedIndex is set to zero: the first slide (instead of the default of -1) --> + <materialDesign:Transitioner SelectedIndex="0" AutoApplyTransitionOrigins="True"> + + <!-- you can use a slide for each page, let's add a touch of fade for our first page --> + <materialDesign:TransitionerSlide OpeningEffect="{materialDesign:TransitionEffect FadeIn}"> + <local:Slide1_Intro /> + </materialDesign:TransitionerSlide> + + <!-- but you can use bare xaml too --> + <local:Slide2_Intro /> + + <!-- you can control (and create your own) wipes --> + <materialDesign:TransitionerSlide> + <materialDesign:TransitionerSlide.BackwardWipe> + <materialDesign:CircleWipe /> + </materialDesign:TransitionerSlide.BackwardWipe> + <materialDesign:TransitionerSlide.ForwardWipe> + <materialDesign:SlideWipe Direction="Right" /> + </materialDesign:TransitionerSlide.ForwardWipe> + <local:Slide3_Intro /> + </materialDesign:TransitionerSlide> + + <!-- now we are going to slide this in by combining some extra effects. the inner content slides in, so we'll set the outer background and clip, to keep things nice --> + <materialDesign:TransitionerSlide Background="{DynamicResource MaterialDesignDarkBackground}" + Foreground="{DynamicResource MaterialDesignDarkForeground}" + ClipToBounds="True"> + <materialDesign:TransitionerSlide.OpeningEffects> + <materialDesign:TransitionEffect Kind="SlideInFromLeft" Duration="0:0:0.8" /> + <materialDesign:TransitionEffect Kind="SlideInFromBottom" Duration="0:0:0.8" OffsetTime="0:0:0.15" /> + </materialDesign:TransitionerSlide.OpeningEffects> + <local:Slide4_CombineTransitions /> + </materialDesign:TransitionerSlide> + + <local:Slide5_TransitioningContent /> + + <local:Slide6_Origins /> + + <local:Slide7_MVVM /> + + </materialDesign:Transitioner> + </smtx:XamlDisplay> + </Grid> + +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/TransitionsDemoHome.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/TransitionsDemoHome.xaml.cs new file mode 100644 index 000000000..31564e1b5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/TransitionsDemo/TransitionsDemoHome.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignDemo.TransitionsDemo +{ + /// <summary> + /// Interaction logic for TransitionsDemoHome.xaml + /// </summary> + public partial class TransitionsDemoHome : UserControl + { + public TransitionsDemoHome() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Trees.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Trees.xaml new file mode 100644 index 000000000..7f1ea6ff2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Trees.xaml @@ -0,0 +1,275 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Trees" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:domain="clr-namespace:MaterialDesignColors.WpfExample.Domain" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PopupBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </UserControl.Resources> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}">Basic Tree View:</TextBlock> + <smtx:XamlDisplay Key="trees_1" Grid.Column="0" Grid.Row="1" VerticalContentAlignment="Top"> + <TreeView MinWidth="220"> + <TreeViewItem Header="Fruit"> + <TreeViewItem> + <TreeViewItem.Header> + <StackPanel Orientation="Horizontal"> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Data="M20,10C22,13 17,22 15,22C13,22 13,21 12,21C11,21 11,22 9,22C7,22 2,13 4,10C6,7 9,7 11,8V5C5.38,8.07 4.11,3.78 4.11,3.78C4.11,3.78 6.77,0.19 11,5V3H13V8C15,7 18,7 20,10Z" + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TreeViewItem}}, Path=Foreground}" /> + </Canvas> + </Viewbox> + <TextBlock Margin="8 0 0 0">Apple</TextBlock> + </StackPanel> + </TreeViewItem.Header> + </TreeViewItem> + <TreeViewItem Header="Banana"/> + <TreeViewItem Header="Grape"> + <TextBlock><Run Text="Grapes for us"/></TextBlock> + </TreeViewItem> + <TreeViewItem Header="Peach"/> + <TreeViewItem Header="Pear"/> + <TreeViewItem Header="Strawberry"/> + </TreeViewItem> + <TreeViewItem Header="OS" IsExpanded="True"> + <TreeViewItem Header="Amiga"/> + <TreeViewItem> + <TreeViewItem.Header> + <StackPanel Orientation="Horizontal"> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Data="M15,5H14V4H15M10,5H9V4H10M15.53,2.16L16.84,0.85C17.03,0.66 17.03,0.34 16.84,0.14C16.64,-0.05 16.32,-0.05 16.13,0.14L14.65,1.62C13.85,1.23 12.95,1 12,1C11.04,1 10.14,1.23 9.34,1.63L7.85,0.14C7.66,-0.05 7.34,-0.05 7.15,0.14C6.95,0.34 6.95,0.66 7.15,0.85L8.46,2.16C6.97,3.26 6,5 6,7H18C18,5 17,3.25 15.53,2.16M20.5,8A1.5,1.5 0 0,0 19,9.5V16.5A1.5,1.5 0 0,0 20.5,18A1.5,1.5 0 0,0 22,16.5V9.5A1.5,1.5 0 0,0 20.5,8M3.5,8A1.5,1.5 0 0,0 2,9.5V16.5A1.5,1.5 0 0,0 3.5,18A1.5,1.5 0 0,0 5,16.5V9.5A1.5,1.5 0 0,0 3.5,8M6,18A1,1 0 0,0 7,19H8V22.5A1.5,1.5 0 0,0 9.5,24A1.5,1.5 0 0,0 11,22.5V19H13V22.5A1.5,1.5 0 0,0 14.5,24A1.5,1.5 0 0,0 16,22.5V19H17A1,1 0 0,0 18,18V8H6V18Z" + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TreeViewItem}}, Path=Foreground}" /> + </Canvas> + </Viewbox> + <TextBlock Margin="8 0 0 0">Android</TextBlock> + </StackPanel> + </TreeViewItem.Header> + </TreeViewItem> + <TreeViewItem Header="iOS"/> + <TreeViewItem> + <TreeViewItem.Header> + <StackPanel Orientation="Horizontal"> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Data="M13.18,14.5C12.53,15.26 11.47,15.26 10.82,14.5L7.44,10.5C7.16,11.28 7,12.12 7,13C7,14.67 7.57,16.18 8.5,17.27C10,17.37 11.29,17.96 11.78,19C11.85,19 11.93,19 12.22,19C12.71,18 13.95,17.44 15.46,17.33C16.41,16.24 17,14.7 17,13C17,12.12 16.84,11.28 16.56,10.5L13.18,14.5M20,20.75C20,21.3 19.3,22 18.75,22H13.25C12.7,22 12,21.3 12,20.75C12,21.3 11.3,22 10.75,22H5.25C4.7,22 4,21.3 4,20.75C4,19.45 4.94,18.31 6.3,17.65C5.5,16.34 5,14.73 5,13C4,15 2.7,15.56 2.09,15C1.5,14.44 1.79,12.83 3.1,11.41C3.84,10.6 5,9.62 5.81,9.25C6.13,8.56 6.54,7.93 7,7.38V7A5,5 0 0,1 12,2A5,5 0 0,1 17,7V7.38C17.46,7.93 17.87,8.56 18.19,9.25C19,9.62 20.16,10.6 20.9,11.41C22.21,12.83 22.5,14.44 21.91,15C21.3,15.56 20,15 19,13C19,14.75 18.5,16.37 17.67,17.69C19.05,18.33 20,19.44 20,20.75M9.88,9C9.46,9.5 9.46,10.27 9.88,10.75L11.13,12.25C11.54,12.73 12.21,12.73 12.63,12.25L13.88,10.75C14.29,10.27 14.29,9.5 13.88,9H9.88M10,5.25C9.45,5.25 9,5.9 9,7C9,8.1 9.45,8.75 10,8.75C10.55,8.75 11,8.1 11,7C11,5.9 10.55,5.25 10,5.25M14,5.25C13.45,5.25 13,5.9 13,7C13,8.1 13.45,8.75 14,8.75C14.55,8.75 15,8.1 15,7C15,5.9 14.55,5.25 14,5.25Z" + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TreeViewItem}}, Path=Foreground}" /> + </Canvas> + </Viewbox> + <TextBlock Margin="8 0 0 0">Linux</TextBlock> + </StackPanel> + </TreeViewItem.Header> + </TreeViewItem> + <TreeViewItem> + <TreeViewItem.Header> + <StackPanel Orientation="Horizontal"> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Data="M3,12V6.75L9,5.43V11.91L3,12M20,3V11.75L10,11.9V5.21L20,3M3,13L9,13.09V19.9L3,18.75V13M20,13.25V22L10,20.09V13.1L20,13.25Z" + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TreeViewItem}}, Path=Foreground}" /> + </Canvas> + </Viewbox> + <TextBlock Margin="8 0 0 0">Windows</TextBlock> + </StackPanel> + </TreeViewItem.Header> + </TreeViewItem> + </TreeViewItem> + <TreeViewItem Header="Empty" /> + </TreeView> + </smtx:XamlDisplay> + + <TextBlock Grid.Column="1" Margin="32 0 0 0" Style="{StaticResource MaterialDesignTitleTextBlock}">MVVM/Binding:</TextBlock> + <smtx:XamlDisplay Key="trees_2" Grid.Column="1" Grid.Row="1" + Margin="32 0 0 0" + VerticalAlignment="Top" VerticalContentAlignment="Top"> + <Grid MinWidth="220"> + <Grid.RowDefinitions> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <TreeView Grid.Row="0" + ItemsSource="{Binding MovieCategories}" + MinWidth="220" + SelectedItemChanged="TreeView_SelectedItemChanged"> + <TreeView.Resources> + <HierarchicalDataTemplate DataType="{x:Type domain:MovieCategory}" + ItemsSource="{Binding Movies}"> + <TextBlock Text="{Binding Name}" Margin="3 2"/> + </HierarchicalDataTemplate> + <DataTemplate DataType="{x:Type domain:Movie}"> + <TextBlock Text="{Binding Name}" Margin="3 2" + ToolTip="{Binding Director}"/> + </DataTemplate> + </TreeView.Resources> + </TreeView> + <materialDesign:PopupBox Grid.Row="1" + Style="{StaticResource MaterialDesignMultiFloatingActionPopupBox}" + PlacementMode="LeftAndAlignMiddles" + UnfurlOrientation="Horizontal" + ToolTip="Manage items" + Margin="0 0 10 10" + HorizontalAlignment="Right" VerticalAlignment="Bottom"> + <StackPanel Orientation="Horizontal"> + <Button ToolTip="Add an item" + Command="{Binding AddCommand}"> + <Path Data="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" + Stretch="Uniform" + Width="15" Height="15" + Fill="{Binding RelativeSource={RelativeSource AncestorType=Button}, Path=Foreground}"/> + </Button> + <Button ToolTip="Remove selected item" + Command="{Binding RemoveSelectedItemCommand}"> + <Path Data="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z" + Stretch="Uniform" + Width="15" Height="15" + Fill="{Binding RelativeSource={RelativeSource AncestorType=Button}, Path=Foreground}"/> + </Button> + </StackPanel> + </materialDesign:PopupBox> + </Grid> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="2" Style="{StaticResource MaterialDesignTitleTextBlock}">Additional node content, syntax 1:</TextBlock> + <smtx:XamlDisplay Key="trees_3" Grid.Row="3"> + <TreeView> + <materialDesign:TreeViewAssist.AdditionalTemplate> + <DataTemplate> + <materialDesign:ColorZone Mode="PrimaryLight" CornerRadius="6"> + <TextBlock FontSize="10" Margin="8 1 8 1" FontStyle="Italic">8 planets</TextBlock> + </materialDesign:ColorZone> + </DataTemplate> + </materialDesign:TreeViewAssist.AdditionalTemplate> + <TreeViewItem Header="Solar System"> + <TreeViewItem Header="Mercury" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Venus" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Earth" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Mars" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Jupiter" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Saturn" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Uranus" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + <TreeViewItem Header="Neptune" materialDesign:TreeViewAssist.AdditionalTemplate="{x:Static materialDesign:TreeViewAssist.SuppressAdditionalTemplate}" /> + </TreeViewItem> + </TreeView> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="2" Grid.Column="1" Margin="32 0 0 0" Style="{StaticResource MaterialDesignTitleTextBlock}">Additional node content, syntax 2:</TextBlock> + <smtx:XamlDisplay Key="trees_4" Grid.Row="3" Grid.Column="1" Margin="32 0 0 0" > + <TreeView> + <materialDesign:TreeViewAssist.AdditionalTemplateSelector> + <domain:TreeExampleSimpleTemplateSelector> + <domain:TreeExampleSimpleTemplateSelector.SolarSystemTemplate> + <DataTemplate> + <materialDesign:ColorZone Mode="Accent" CornerRadius="6" materialDesign:ShadowAssist.ShadowDepth="Depth1" + Margin="2"> + <DockPanel LastChildFill="True"> + <Button Style="{DynamicResource MaterialDesignToolForegroundButton}" Margin="8 -6 8 -6" DockPanel.Dock="Right"> + <materialDesign:PackIcon Kind="Magnify" /> + </Button> + <TextBlock FontSize="11" Margin="8 0 0 0" VerticalAlignment="Center" FontStyle="Italic">8 planets</TextBlock> + </DockPanel> + </materialDesign:ColorZone> + </DataTemplate> + </domain:TreeExampleSimpleTemplateSelector.SolarSystemTemplate> + </domain:TreeExampleSimpleTemplateSelector> + </materialDesign:TreeViewAssist.AdditionalTemplateSelector> + <TreeViewItem Header="Solar System"> + <TreeViewItem Header="Mercury" /> + <TreeViewItem Header="Venus" /> + <TreeViewItem Header="Earth" /> + <TreeViewItem Header="Mars" /> + <TreeViewItem Header="Jupiter" /> + <TreeViewItem Header="Saturn" /> + <TreeViewItem Header="Uranus" /> + <TreeViewItem Header="Neptune" /> + </TreeViewItem> + </TreeView> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="2" Grid.Column="2" Margin="32 0 0 0" Style="{StaticResource MaterialDesignTitleTextBlock}">Additional node content, showcase:</TextBlock> + <smtx:XamlDisplay Key="trees_5" Grid.Row="3" Grid.Column="2" Margin="32 0 0 0" > + <TreeView DisplayMemberPath="Name" MinWidth="220"> + <TreeView.Resources> + <DataTemplate DataType="{x:Type domain:Planet}"> + <StackPanel Orientation="Horizontal"> + <materialDesign:PackIcon Kind="GoogleEarth" /> + <TextBlock Text="{Binding Name,Mode=OneTime}" Margin="12 0 0 0" /> + </StackPanel> + </DataTemplate> + </TreeView.Resources> + <materialDesign:TreeViewAssist.AdditionalTemplateSelector> + <domain:TreeExampleSimpleTemplateSelector> + <domain:TreeExampleSimpleTemplateSelector.SolarSystemTemplate> + <DataTemplate> + <materialDesign:ColorZone Mode="Standard" CornerRadius="6" materialDesign:ShadowAssist.ShadowDepth="Depth1" + Margin="2"> + <DockPanel LastChildFill="True"> + <Button Style="{DynamicResource MaterialDesignToolForegroundButton}" Margin="8 -6 8 -6" DockPanel.Dock="Right"> + <materialDesign:PackIcon Kind="Magnify" /> + </Button> + <TextBlock FontSize="11" Margin="8 0 0 0" VerticalAlignment="Center" FontStyle="Italic">8 planets</TextBlock> + </DockPanel> + </materialDesign:ColorZone> + </DataTemplate> + </domain:TreeExampleSimpleTemplateSelector.SolarSystemTemplate> + <domain:TreeExampleSimpleTemplateSelector.PlanetTemplate> + <DataTemplate DataType="{x:Type domain:Planet}"> + <Grid TextElement.FontSize="10" TextElement.FontStyle="Italic" Margin="8 0 0 0"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <TextBlock Text="From Sun" /> + <TextBlock Grid.Column="1" Margin="3 0 0 0" Text="{Binding DistanceFromSun, Mode=OneTime, StringFormat={}{0}AU}" /> + <TextBlock Grid.Row="1" Text="From Earth" /> + <TextBlock Grid.Row="1" Grid.Column="1" Margin="3 0 0 0" Text="{Binding DistanceFromEarth,Mode=OneTime, StringFormat={}{0}AU}" /> + <TextBlock Grid.Column="2" Text="Velocity" Margin="12 0 0 0" /> + <TextBlock Grid.Column="3" Margin="3 0 0 0" Text="{Binding Velocity,Mode=OneTime, StringFormat={}{0}km/s}" /> + </Grid> + </DataTemplate> + </domain:TreeExampleSimpleTemplateSelector.PlanetTemplate> + </domain:TreeExampleSimpleTemplateSelector> + </materialDesign:TreeViewAssist.AdditionalTemplateSelector> + <TreeViewItem Header="Solar System"> + <domain:Planet Name="Mercury" DistanceFromSun=".42" DistanceFromEarth="1.4" Velocity="44.29" /> + <domain:Planet Name="Venus" DistanceFromSun=".73" DistanceFromEarth="1.69" Velocity="34.82" /> + <domain:Planet Name="Earth" DistanceFromSun="0.99" DistanceFromEarth="0" Velocity="30.16" /> + <domain:Planet Name="Mars" DistanceFromSun="1.59" DistanceFromEarth="1.55" Velocity="23.12" /> + <domain:Planet Name="Jupiter" DistanceFromSun="5.43" DistanceFromEarth="5.29" Velocity="12.51" /> + <domain:Planet Name="Saturn" DistanceFromSun="10.07" DistanceFromEarth="10.69" Velocity="9.14" /> + <domain:Planet Name="Uranus" DistanceFromSun="19.90" DistanceFromEarth="20.37" Velocity="6.55" /> + <domain:Planet Name="Neptune" DistanceFromSun="29.94" DistanceFromEarth="30.88" Velocity="5.45" /> + </TreeViewItem> + </TreeView> + </smtx:XamlDisplay> + </Grid> +</UserControl> + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Trees.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Trees.xaml.cs new file mode 100644 index 000000000..bf95f9f0b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Trees.xaml.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MaterialDesignColors.WpfExample.Domain; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Trees.xaml + /// </summary> + public partial class Trees : UserControl + { + public Trees() + { + InitializeComponent(); + } + + public TreesViewModel ViewModel => DataContext as TreesViewModel; + + /// <summary> + /// TreesView's SelectedItem is read-only. Hence we can't bind it. There is a way to obtain a selected item. + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void TreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e) + { + if (ViewModel == null) return; + + ViewModel.SelectedItem = e.NewValue; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Typography.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Typography.xaml new file mode 100644 index 000000000..4aeaa8082 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Typography.xaml @@ -0,0 +1,122 @@ +<UserControl x:Class="MaterialDesignColors.WpfExample.Typography" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:smtx="clr-namespace:ShowMeTheXAML;assembly=ShowMeTheXAML" + mc:Ignorable="d" + d:DesignHeight="300" d:DesignWidth="300"> + <UserControl.Resources> + <Style TargetType="TextBlock" BasedOn="{StaticResource MaterialDesignCaptionTextBlock}" x:Key="Caption"> + <Setter Property="Opacity" Value=".68"></Setter> + </Style> + </UserControl.Resources> + <Grid Margin="32"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="64" /> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="64" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <TextBlock Grid.Row="0" Grid.Column="0" Margin="0 26 0 0" Style="{StaticResource Caption}">Display 4 - MaterialDesignDisplay4TextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_1" Grid.Row="0" Grid.Column="2" Margin="0 4 0 4"> + <TextBlock Style="{StaticResource MaterialDesignDisplay4TextBlock}">Light 112sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_2" Grid.Row="0" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock Style="{StaticResource MaterialDesignDisplay4TextBlock}"><Hyperlink IsEnabled="False">Light 112sp (Disabled)</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="1" Grid.Column="0" Margin="0 12 0 0" Style="{StaticResource Caption}">Display 3 - MaterialDesignDisplay3TextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_3" Grid.Row="1" Grid.Column="2" Margin="0 4 0 4"> + <TextBlock Style="{StaticResource MaterialDesignDisplay3TextBlock}">Regular 56sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_4" Grid.Row="1" Grid.Column="4" Margin="0 4 0 4"> + <!-- hyperlinks will pick up owner text block style... --> + <TextBlock Style="{StaticResource MaterialDesignDisplay3TextBlock}"><Hyperlink>Regular 56sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="2" Grid.Column="0" Margin="0 8 0 0" Style="{StaticResource Caption}">Display 2 - MaterialDesignDisplay2TextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_5" Grid.Row="2" Grid.Column="2" Margin="0 4 0 4"> + <TextBlock Style="{StaticResource MaterialDesignDisplay2TextBlock}">Regular 45sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_6" Grid.Row="2" Grid.Column="4" Margin="0 4 0 4"> + <!-- ...or hyperlink style can be set manually --> + <TextBlock><Hyperlink Style="{StaticResource MaterialDesignDisplay2Hyperlink}">Regular 45sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="3" Grid.Column="0" Margin="0 8 0 0" Style="{StaticResource Caption}">Display 1 - MaterialDesignDisplay1TextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_7" Grid.Row="3" Grid.Column="2" Margin="0 4 0 4"> + <TextBlock Style="{StaticResource MaterialDesignDisplay1TextBlock}">Regular 34sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_8" Grid.Row="3" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink Style="{StaticResource MaterialDesignDisplay1Hyperlink}">Regular 34sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="4" Grid.Column="0" Margin="0 8 0 0" Style="{StaticResource Caption}">Headline - MaterialDesignHeadlineTextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_9" Grid.Row="4" Grid.Column="2" Margin="0 4 0 6"> + <TextBlock Style="{StaticResource MaterialDesignHeadlineTextBlock}">Regular 24sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_10" Grid.Row="4" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink IsEnabled="False" Style="{StaticResource MaterialDesignHeadlineHyperlink}">Regular 24sp (Disabled)</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="5" Grid.Column="0" Margin="0 8 0 0" Style="{StaticResource Caption}">Title - MaterialDesignTitleTextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_11" Grid.Row="5" Grid.Column="2" Margin="0 6 0 8"> + <TextBlock Style="{StaticResource MaterialDesignTitleTextBlock}">Medium 20sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_12" Grid.Row="5" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink Style="{StaticResource MaterialDesignTitleHyperlink}">Medium 20sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="6" Grid.Column="0" VerticalAlignment="Center" Style="{StaticResource Caption}">Subheading - MaterialDesignSubheadingTextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_13" Grid.Row="6" Grid.Column="2" Margin="0 8 0 8"> + <TextBlock Style="{StaticResource MaterialDesignSubheadingTextBlock}">Regular 15sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_14" Grid.Row="6" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink Style="{StaticResource MaterialDesignSubheadingHyperlink}">Regular 15sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="7" Grid.Column="0" VerticalAlignment="Center" Style="{StaticResource Caption}">Body 2 - MaterialDesignBody2TextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_15" Grid.Row="7" Grid.Column="2" Margin="0 8 0 8"> + <TextBlock Style="{StaticResource MaterialDesignBody2TextBlock}">Medium 13sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_16" Grid.Row="7" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink Style="{StaticResource MaterialDesignBody2Hyperlink}">Medium 13sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="8" Grid.Column="0" VerticalAlignment="Center" Style="{StaticResource Caption}">Body 1 - MaterialDesignBody1TextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_17" Grid.Row="8" Grid.Column="2" Margin="0 8 0 8"> + <TextBlock Style="{StaticResource MaterialDesignBody1TextBlock}">Regular 13sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_18" Grid.Row="8" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink IsEnabled="False" Style="{StaticResource MaterialDesignBody1Hyperlink}">Regular 13sp (Disabled)</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="9" Grid.Column="0" VerticalAlignment="Center" Style="{StaticResource Caption}">Caption - MaterialDesignCaptionTextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_19" Grid.Row="9" Grid.Column="2" Margin="0 8 0 8"> + <TextBlock Style="{StaticResource MaterialDesignCaptionTextBlock}">Regular 12sp</TextBlock> + </smtx:XamlDisplay> + <smtx:XamlDisplay Key="typography_20" Grid.Row="9" Grid.Column="4" Margin="0 4 0 4"> + <TextBlock><Hyperlink Style="{StaticResource MaterialDesignCaptionHyperlink}">Regular 12sp</Hyperlink></TextBlock> + </smtx:XamlDisplay> + + <TextBlock Grid.Row="10" Grid.Column="0" VerticalAlignment="Center" Style="{StaticResource Caption}">Button - MaterialDesignButtonTextBlock</TextBlock> + <smtx:XamlDisplay Key="typography_21" Grid.Row="10" Grid.Column="2" Margin="0 8 0 8"> + <TextBlock Style="{StaticResource MaterialDesignButtonTextBlock}">MEDIUM (ALL CAPS) 14sp</TextBlock> + </smtx:XamlDisplay> + </Grid> +</UserControl>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Typography.xaml.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Typography.xaml.cs new file mode 100644 index 000000000..98dec8cb0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/Typography.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignColors.WpfExample +{ + /// <summary> + /// Interaction logic for Typography.xaml + /// </summary> + public partial class Typography : UserControl + { + public Typography() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/XamlDisplayEx.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/XamlDisplayEx.cs new file mode 100644 index 000000000..31d37ca91 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/XamlDisplayEx.cs @@ -0,0 +1,21 @@ +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignDemo +{ + public static class XamlDisplayEx + { + public static readonly DependencyProperty ButtonDockProperty = DependencyProperty.RegisterAttached( + "ButtonDock", typeof(Dock), typeof(XamlDisplayEx), new PropertyMetadata(default(Dock))); + + public static void SetButtonDock(DependencyObject element, Dock value) + { + element.SetValue(ButtonDockProperty, value); + } + + public static Dock GetButtonDock(DependencyObject element) + { + return (Dock) element.GetValue(ButtonDockProperty); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/favicon.ico b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/favicon.ico Binary files differnew file mode 100644 index 000000000..49b8d358d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/favicon.ico diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/paket.references b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/paket.references new file mode 100644 index 000000000..f941d2e82 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MainDemo.Wpf/paket.references @@ -0,0 +1,5 @@ +ShowMeTheXAML +ShowMeTheXAML.AvalonEdit +ShowMeTheXAML.MSBuild + +File: VirtualizingWrapPanel.cs VirtualCollection
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj new file mode 100644 index 000000000..96cc7602f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/MaterialDesignColors.Wpf.Tests.csproj @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\packages\xunit.core\build\xunit.core.props" Condition="Exists('..\packages\xunit.core\build\xunit.core.props')" Label="Paket" /> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignColors.Wpf.Fixture</RootNamespace> + <AssemblyName>MaterialDesignColors.Wpf.Fixture</AssemblyName> + <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="ResourceProviderFixture.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignColors.Wpf\MaterialDesignColors.Wpf.csproj"> + <Project>{90B53209-C60C-4655-B28D-A1B3E1044BA3}</Project> + <Name>MaterialDesignColors.Wpf</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <None Include="paket.references" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <Import Project="..\.paket\paket.targets" /> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'"> + <ItemGroup> + <Reference Include="Shouldly"> + <HintPath>..\packages\Shouldly\lib\net40\Shouldly.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5.2'"> + <ItemGroup> + <Reference Include="Shouldly"> + <HintPath>..\packages\Shouldly\lib\net451\Shouldly.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'"> + <ItemGroup> + <Reference Include="System.Runtime.InteropServices.RuntimeInformation"> + <HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="xunit.abstractions"> + <HintPath>..\packages\xunit.abstractions\lib\net35\xunit.abstractions.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Import Project="..\packages\NETStandard.Library\build\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library\build\NETStandard.Library.targets')" Label="Paket" /> + <ItemGroup> + <Analyzer Include="..\packages\xunit.analyzers\analyzers\dotnet\cs\xunit.analyzers.dll"> + <Paket>True</Paket> + </Analyzer> + </ItemGroup> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="xunit.assert"> + <HintPath>..\packages\xunit.assert\lib\netstandard1.1\xunit.assert.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="xunit.core"> + <HintPath>..\packages\xunit.extensibility.core\lib\netstandard1.1\xunit.core.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5.2'"> + <ItemGroup> + <Reference Include="xunit.execution.desktop"> + <HintPath>..\packages\xunit.extensibility.execution\lib\net452\xunit.execution.desktop.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'"> + <ItemGroup> + <Reference Include="xunit.execution.dotnet"> + <HintPath>..\packages\xunit.extensibility.execution\lib\netstandard1.1\xunit.execution.dotnet.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Import Project="..\packages\xunit.core\build\xunit.core.targets" Condition="Exists('..\packages\xunit.core\build\xunit.core.targets')" Label="Paket" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..ca2b59dba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignColors.Wpf.Fixture")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MaterialDesignColors.Wpf.Fixture")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("fd1d557a-251c-4d00-9fde-6ff9ffa747b8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/ResourceProviderFixture.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/ResourceProviderFixture.cs new file mode 100644 index 000000000..a1b0b6c50 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/ResourceProviderFixture.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Shouldly; +using Xunit; + +namespace MaterialDesignColors.Wpf.Fixture +{ + public class ResourceProviderFixture + { + [Fact] + public void ExcludesBlack() + { + var swatchesProvider = new SwatchesProvider(); + + var containsBlack = swatchesProvider.Swatches.Any( + swatch => string.Compare(swatch.Name, "Black", StringComparison.InvariantCultureIgnoreCase) == 0); + + containsBlack.ShouldBe(false); + } + + [Fact] + public void IncludesGrey() + { + var swatchesProvider = new SwatchesProvider(); + + var containsBlack = swatchesProvider.Swatches.Any( + swatch => string.Compare(swatch.Name, "Grey", StringComparison.InvariantCultureIgnoreCase) == 0); + + containsBlack.ShouldBe(true); + } + + [Fact] + public void BrownHasNoAccents() + { + var swatchesProvider = new SwatchesProvider(); + + var brownSwatch = swatchesProvider.Swatches.Single( + swatch => swatch.Name == "brown"); + + brownSwatch.IsAccented.ShouldBe(false); + brownSwatch.AccentHues.ShouldNotBe(null); + brownSwatch.AccentHues.Count().ShouldBe(0); + } + + [Fact] + public void BrownHasPrimaries() + { + var swatchesProvider = new SwatchesProvider(); + + var brownSwatch = swatchesProvider.Swatches.Single( + swatch => swatch.Name == "brown"); + + brownSwatch.IsAccented.ShouldBe(false); + brownSwatch.PrimaryHues.ShouldNotBe(null); + brownSwatch.PrimaryHues.Count().ShouldBe(10); + } + + [Fact] + public void IndigoHasAccents() + { + var swatchesProvider = new SwatchesProvider(); + + var brownSwatch = swatchesProvider.Swatches.Single( + swatch => swatch.Name == "indigo"); + + brownSwatch.IsAccented.ShouldBe(true); + brownSwatch.AccentHues.ShouldNotBe(null); + brownSwatch.AccentHues.Count().ShouldBe(4); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/paket.references b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/paket.references new file mode 100644 index 000000000..0f037237c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf.Tests/paket.references @@ -0,0 +1,2 @@ +Shouldly +xunit
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Hue.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Hue.cs new file mode 100644 index 000000000..58c6007dd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Hue.cs @@ -0,0 +1,28 @@ +using System; +using System.Windows.Media; + +namespace MaterialDesignColors +{ + public class Hue + { + public Hue(string name, Color color, Color foreground) + { + if (name == null) throw new ArgumentNullException(nameof(name)); + + Name = name; + Color = color; + Foreground = foreground; + } + + public string Name { get; } + + public Color Color { get; } + + public Color Foreground { get; } + + public override string ToString() + { + return Name; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/MaterialDesignColors.Wpf.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/MaterialDesignColors.Wpf.csproj new file mode 100644 index 000000000..7b7b61785 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/MaterialDesignColors.Wpf.csproj @@ -0,0 +1,671 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{90B53209-C60C-4655-B28D-A1B3E1044BA3}</ProjectGuid> + <OutputType>library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignColors</RootNamespace> + <AssemblyName>MaterialDesignColors</AssemblyName> + <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <WarningLevel>4</WarningLevel> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <Prefer32Bit>false</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <Prefer32Bit>false</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppVeyor|AnyCPU'"> + <OutputPath>bin\AppVeyor\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>AnyCPU</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <Prefer32Bit>false</Prefer32Bit> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Xaml"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="WindowsBase" /> + <Reference Include="PresentationCore" /> + <Reference Include="PresentationFramework" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Hue.cs" /> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + <Compile Include="Swatch.cs" /> + <Compile Include="SwatchesProvider.cs" /> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <AppDesigner Include="Properties\" /> + </ItemGroup> + <ItemGroup> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Amber.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Blue.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Cyan.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.DeepOrange.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.DeepPurple.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Green.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Indigo.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.LightBlue.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.LightGreen.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Lime.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Orange.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Pink.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Purple.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Red.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Teal.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Accent\MaterialDesignColor.Yellow.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.BlueGrey.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.BlueGrey.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.BlueGrey.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.BlueGrey.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Brown.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Brown.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Brown.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Brown.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Grey.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Grey.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Grey.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Grey.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.Named.Accent.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.Named.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.Primary.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Amber.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Blue.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.BlueGrey.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Brown.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Cyan.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.DeepOrange.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.DeepPurple.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Green.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Grey.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Indigo.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.LightBlue.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.LightGreen.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Lime.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Orange.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Pink.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Purple.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Red.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Teal.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\Recommended\Primary\MaterialDesignColor.Yellow.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..f34d43ba7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; +using System.Windows.Markup; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignColors.Wpf")] +[assembly: AssemblyDescription("Material Design in XAML Toolkit - Colors")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Mulholland Software/James Willock")] +[assembly: AssemblyProduct("MaterialDesignColors.Wpf")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: XmlnsPrefix("http://materialdesigninxaml.net/winfx/xaml/colors", "materialDesignColor")] +[assembly: XmlnsDefinition("http://materialdesigninxaml.net/winfx/xaml/colors", "MaterialDesignColors.Wpf")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file +//inside a <PropertyGroup>. For example, if you are using US english +//in your source files, set the <UICulture> to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly:ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.1.3")] +[assembly: AssemblyFileVersion("1.1.3")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Resources.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Resources.Designer.cs new file mode 100644 index 000000000..be42366f6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignColors.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MaterialDesignColors.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Resources.resx b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Settings.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Settings.Designer.cs new file mode 100644 index 000000000..22b6d594c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignColors.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Settings.settings b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Swatch.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Swatch.cs new file mode 100644 index 000000000..44d004c58 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Swatch.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Windows; + +namespace MaterialDesignColors +{ + /// <summary> + /// Defines a single colour swatch. + /// </summary> + public class Swatch + { + public Swatch(string name, IEnumerable<Hue> primaryHues, IEnumerable<Hue> accentHues) + { + if (name == null) throw new ArgumentNullException(nameof(name)); + if (primaryHues == null) throw new ArgumentNullException(nameof(primaryHues)); + if (accentHues == null) throw new ArgumentNullException(nameof(accentHues)); + + var primaryHuesList = primaryHues.ToList(); + if (primaryHuesList.Count == 0) throw new ArgumentException("Non primary hues provided.", nameof(primaryHues)); + + Name = name; + PrimaryHues = primaryHuesList; + var accentHuesList = accentHues.ToList(); + AccentHues = accentHuesList; + ExemplarHue = primaryHuesList[Math.Min(5, primaryHuesList.Count-1)]; + if (IsAccented) + AccentExemplarHue = accentHuesList[Math.Min(2, accentHuesList.Count - 1)]; + } + + public string Name { get; } + + public Hue ExemplarHue { get; } + + public Hue AccentExemplarHue { get; } + + public IEnumerable<Hue> PrimaryHues { get; } + + public IEnumerable<Hue> AccentHues { get; } + + public bool IsAccented => AccentHues.Any(); + + public override string ToString() + { + return Name; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/SwatchesProvider.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/SwatchesProvider.cs new file mode 100644 index 000000000..5f477cced --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/SwatchesProvider.cs @@ -0,0 +1,107 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Reflection; +using System.Resources; +using System.Text.RegularExpressions; +using System.Windows; +using System.Windows.Media; + +namespace MaterialDesignColors +{ + /// <summary> + /// Provides access to all colour swatches. For information regarding Material Design colours see https://www.google.com/design/spec/style/color.html + /// </summary> + public class SwatchesProvider + { + /// <summary> + /// Generates an instance reading swatches from the provided assembly, allowing + /// colours outside of the standard material palette to be loaded provided the are stored in the expected XAML format. + /// </summary> + /// <param name="assembly"></param> + public SwatchesProvider(Assembly assembly) + { + var resourcesName = assembly.GetName().Name + ".g"; + var manager = new ResourceManager(resourcesName, assembly); + var resourceSet = manager.GetResourceSet(CultureInfo.CurrentUICulture, true, true); + var dictionaryEntries = resourceSet.OfType<DictionaryEntry>().ToList(); + var assemblyName = assembly.GetName().Name; + + var regex = new Regex(@"^themes\/materialdesigncolor\.(?<name>[a-z]+)\.(?<type>primary|accent)\.baml$"); + + Swatches = + dictionaryEntries + .Select(x => new { key = x.Key.ToString(), match = regex.Match(x.Key.ToString()) }) + .Where(x => x.match.Success && x.match.Groups["name"].Value != "black") + .GroupBy(x => x.match.Groups["name"].Value) + .Select(x => + CreateSwatch + ( + x.Key, + Read(assemblyName, x.SingleOrDefault(y => y.match.Groups["type"].Value == "primary")?.key), + Read(assemblyName, x.SingleOrDefault(y => y.match.Groups["type"].Value == "accent")?.key) + )) + .ToList(); + } + + /// <summary> + /// Creates a new swatch provider based on standard Material Design colors. + /// </summary> + public SwatchesProvider() : this(Assembly.GetExecutingAssembly()) + { } + + public IEnumerable<Swatch> Swatches { get; } + + private static Swatch CreateSwatch(string name, ResourceDictionary primaryDictionary, ResourceDictionary accentDictionary) + { + var primaryHues = new List<Hue>(); + var accentHues = new List<Hue>(); + + if (primaryDictionary != null) + { + foreach (var entry in primaryDictionary.OfType<DictionaryEntry>() + .OrderBy(de => de.Key) + .Where(de => !de.Key.ToString().EndsWith("Foreground", StringComparison.Ordinal))) + { + var colour = (Color)entry.Value; + var foregroundColour = (Color) + primaryDictionary.OfType<DictionaryEntry>() + .Single(de => de.Key.ToString().Equals(entry.Key.ToString() + "Foreground")) + .Value; + + primaryHues.Add(new Hue(entry.Key.ToString(), colour, foregroundColour)); + } + } + + if (accentDictionary != null) + { + foreach (var entry in accentDictionary.OfType<DictionaryEntry>() + .OrderBy(de => de.Key) + .Where(de => !de.Key.ToString().EndsWith("Foreground", StringComparison.Ordinal))) + { + var colour = (Color)entry.Value; + var foregroundColour = (Color) + accentDictionary.OfType<DictionaryEntry>() + .Single(de => de.Key.ToString().Equals(entry.Key.ToString() + "Foreground")) + .Value; + + accentHues.Add(new Hue(entry.Key.ToString(), colour, foregroundColour)); + } + } + + return new Swatch(name, primaryHues, accentHues); + } + + private static ResourceDictionary Read(string assemblyName, string path) + { + if (assemblyName == null || path == null) + return null; + + return (ResourceDictionary)Application.LoadComponent(new Uri( + $"/{assemblyName};component/{path.Replace(".baml", ".xaml")}", + UriKind.RelativeOrAbsolute)); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Accent.xaml new file mode 100644 index 000000000..a311fab46 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ffe57f</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ffd740</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ffc400</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#ffab00</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.Accent.xaml new file mode 100644 index 000000000..a0d525fb7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="AmberAccent100">#ffe57f</Color> + <Color x:Key="AmberAccent100Foreground">#DD000000</Color> + <Color x:Key="AmberAccent200">#ffd740</Color> + <Color x:Key="AmberAccent200Foreground">#DD000000</Color> + <Color x:Key="AmberAccent400">#ffc400</Color> + <Color x:Key="AmberAccent400Foreground">#DD000000</Color> + <Color x:Key="AmberAccent700">#ffab00</Color> + <Color x:Key="AmberAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.Primary.xaml new file mode 100644 index 000000000..c799d8a7b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="AmberPrimary50">#fff8e1</Color> + <Color x:Key="AmberPrimary50Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary100">#ffecb3</Color> + <Color x:Key="AmberPrimary100Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary200">#ffe082</Color> + <Color x:Key="AmberPrimary200Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary300">#ffd54f</Color> + <Color x:Key="AmberPrimary300Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary400">#ffca28</Color> + <Color x:Key="AmberPrimary400Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary500">#ffc107</Color> + <Color x:Key="AmberPrimary500Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary600">#ffb300</Color> + <Color x:Key="AmberPrimary600Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary700">#ffa000</Color> + <Color x:Key="AmberPrimary700Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary800">#ff8f00</Color> + <Color x:Key="AmberPrimary800Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary900">#ff6f00</Color> + <Color x:Key="AmberPrimary900Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.xaml new file mode 100644 index 000000000..c5d6697e0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="AmberPrimary50">#fff8e1</Color> + <Color x:Key="AmberPrimary50Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary100">#ffecb3</Color> + <Color x:Key="AmberPrimary100Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary200">#ffe082</Color> + <Color x:Key="AmberPrimary200Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary300">#ffd54f</Color> + <Color x:Key="AmberPrimary300Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary400">#ffca28</Color> + <Color x:Key="AmberPrimary400Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary500">#ffc107</Color> + <Color x:Key="AmberPrimary500Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary600">#ffb300</Color> + <Color x:Key="AmberPrimary600Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary700">#ffa000</Color> + <Color x:Key="AmberPrimary700Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary800">#ff8f00</Color> + <Color x:Key="AmberPrimary800Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary900">#ff6f00</Color> + <Color x:Key="AmberPrimary900Foreground">#DD000000</Color> + <Color x:Key="AmberAccent100">#ffe57f</Color> + <Color x:Key="AmberAccent100Foreground">#DD000000</Color> + <Color x:Key="AmberAccent200">#ffd740</Color> + <Color x:Key="AmberAccent200Foreground">#DD000000</Color> + <Color x:Key="AmberAccent400">#ffc400</Color> + <Color x:Key="AmberAccent400Foreground">#DD000000</Color> + <Color x:Key="AmberAccent700">#ffab00</Color> + <Color x:Key="AmberAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Primary.xaml new file mode 100644 index 000000000..cd3bc7f8c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fff8e1</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffecb3</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ffe082</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ffd54f</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ffca28</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ffc107</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#ffb300</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#ffa000</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#ff8f00</Color> + <Color x:Key="Primary800Foreground">#DD000000</Color> + <Color x:Key="Primary900">#ff6f00</Color> + <Color x:Key="Primary900Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.xaml new file mode 100644 index 000000000..ad620b75c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Amber.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fff8e1</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffecb3</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ffe082</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ffd54f</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ffca28</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ffc107</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#ffb300</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#ffa000</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#ff8f00</Color> + <Color x:Key="Primary800Foreground">#DD000000</Color> + <Color x:Key="Primary900">#ff6f00</Color> + <Color x:Key="Primary900Foreground">#DD000000</Color> + <Color x:Key="Accent100">#ffe57f</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ffd740</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ffc400</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#ffab00</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Accent.xaml new file mode 100644 index 000000000..58581f3d6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#82b1ff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#448aff</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#2979ff</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#2962ff</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.Accent.xaml new file mode 100644 index 000000000..2dd8ace73 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BlueAccent100">#82b1ff</Color> + <Color x:Key="BlueAccent100Foreground">#DD000000</Color> + <Color x:Key="BlueAccent200">#448aff</Color> + <Color x:Key="BlueAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="BlueAccent400">#2979ff</Color> + <Color x:Key="BlueAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="BlueAccent700">#2962ff</Color> + <Color x:Key="BlueAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.Primary.xaml new file mode 100644 index 000000000..a857bf126 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BluePrimary50">#e3f2fd</Color> + <Color x:Key="BluePrimary50Foreground">#DD000000</Color> + <Color x:Key="BluePrimary100">#bbdefb</Color> + <Color x:Key="BluePrimary100Foreground">#DD000000</Color> + <Color x:Key="BluePrimary200">#90caf9</Color> + <Color x:Key="BluePrimary200Foreground">#DD000000</Color> + <Color x:Key="BluePrimary300">#64b5f6</Color> + <Color x:Key="BluePrimary300Foreground">#DD000000</Color> + <Color x:Key="BluePrimary400">#42a5f5</Color> + <Color x:Key="BluePrimary400Foreground">#DD000000</Color> + <Color x:Key="BluePrimary500">#2196f3</Color> + <Color x:Key="BluePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="BluePrimary600">#1e88e5</Color> + <Color x:Key="BluePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary700">#1976d2</Color> + <Color x:Key="BluePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary800">#1565c0</Color> + <Color x:Key="BluePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary900">#0d47a1</Color> + <Color x:Key="BluePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.xaml new file mode 100644 index 000000000..571767eb9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BluePrimary50">#e3f2fd</Color> + <Color x:Key="BluePrimary50Foreground">#DD000000</Color> + <Color x:Key="BluePrimary100">#bbdefb</Color> + <Color x:Key="BluePrimary100Foreground">#DD000000</Color> + <Color x:Key="BluePrimary200">#90caf9</Color> + <Color x:Key="BluePrimary200Foreground">#DD000000</Color> + <Color x:Key="BluePrimary300">#64b5f6</Color> + <Color x:Key="BluePrimary300Foreground">#DD000000</Color> + <Color x:Key="BluePrimary400">#42a5f5</Color> + <Color x:Key="BluePrimary400Foreground">#DD000000</Color> + <Color x:Key="BluePrimary500">#2196f3</Color> + <Color x:Key="BluePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="BluePrimary600">#1e88e5</Color> + <Color x:Key="BluePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary700">#1976d2</Color> + <Color x:Key="BluePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary800">#1565c0</Color> + <Color x:Key="BluePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary900">#0d47a1</Color> + <Color x:Key="BluePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="BlueAccent100">#82b1ff</Color> + <Color x:Key="BlueAccent100Foreground">#DD000000</Color> + <Color x:Key="BlueAccent200">#448aff</Color> + <Color x:Key="BlueAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="BlueAccent400">#2979ff</Color> + <Color x:Key="BlueAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="BlueAccent700">#2962ff</Color> + <Color x:Key="BlueAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Primary.xaml new file mode 100644 index 000000000..e6a3096f9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e3f2fd</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#bbdefb</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#90caf9</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#64b5f6</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#42a5f5</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#2196f3</Color> + <Color x:Key="Primary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary600">#1e88e5</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#1976d2</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#1565c0</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#0d47a1</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.xaml new file mode 100644 index 000000000..740515e52 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Blue.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e3f2fd</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#bbdefb</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#90caf9</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#64b5f6</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#42a5f5</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#2196f3</Color> + <Color x:Key="Primary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary600">#1e88e5</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#1976d2</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#1565c0</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#0d47a1</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#82b1ff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#448aff</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#2979ff</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#2962ff</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Named.Primary.xaml new file mode 100644 index 000000000..a7545100e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Blue GreyPrimary50">#eceff1</Color> + <Color x:Key="Blue GreyPrimary50Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary100">#cfd8dc</Color> + <Color x:Key="Blue GreyPrimary100Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary200">#b0bec5</Color> + <Color x:Key="Blue GreyPrimary200Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary300">#90a4ae</Color> + <Color x:Key="Blue GreyPrimary300Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary400">#78909c</Color> + <Color x:Key="Blue GreyPrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Blue GreyPrimary500">#607d8b</Color> + <Color x:Key="Blue GreyPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary600">#546e7a</Color> + <Color x:Key="Blue GreyPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary700">#455a64</Color> + <Color x:Key="Blue GreyPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary800">#37474f</Color> + <Color x:Key="Blue GreyPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary900">#263238</Color> + <Color x:Key="Blue GreyPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Named.xaml new file mode 100644 index 000000000..a7545100e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Named.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Blue GreyPrimary50">#eceff1</Color> + <Color x:Key="Blue GreyPrimary50Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary100">#cfd8dc</Color> + <Color x:Key="Blue GreyPrimary100Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary200">#b0bec5</Color> + <Color x:Key="Blue GreyPrimary200Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary300">#90a4ae</Color> + <Color x:Key="Blue GreyPrimary300Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary400">#78909c</Color> + <Color x:Key="Blue GreyPrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Blue GreyPrimary500">#607d8b</Color> + <Color x:Key="Blue GreyPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary600">#546e7a</Color> + <Color x:Key="Blue GreyPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary700">#455a64</Color> + <Color x:Key="Blue GreyPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary800">#37474f</Color> + <Color x:Key="Blue GreyPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary900">#263238</Color> + <Color x:Key="Blue GreyPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Primary.xaml new file mode 100644 index 000000000..1e4e9a440 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#eceff1</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#cfd8dc</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#b0bec5</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#90a4ae</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#78909c</Color> + <Color x:Key="Primary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary500">#607d8b</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#546e7a</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#455a64</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#37474f</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#263238</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.xaml new file mode 100644 index 000000000..1e4e9a440 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.BlueGrey.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#eceff1</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#cfd8dc</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#b0bec5</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#90a4ae</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#78909c</Color> + <Color x:Key="Primary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary500">#607d8b</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#546e7a</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#455a64</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#37474f</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#263238</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Named.Primary.xaml new file mode 100644 index 000000000..24325ad45 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BrownPrimary50">#efebe9</Color> + <Color x:Key="BrownPrimary50Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary100">#d7ccc8</Color> + <Color x:Key="BrownPrimary100Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary200">#bcaaa4</Color> + <Color x:Key="BrownPrimary200Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary300">#a1887f</Color> + <Color x:Key="BrownPrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="BrownPrimary400">#8d6e63</Color> + <Color x:Key="BrownPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary500">#795548</Color> + <Color x:Key="BrownPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary600">#6d4c41</Color> + <Color x:Key="BrownPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary700">#5d4037</Color> + <Color x:Key="BrownPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary800">#4e342e</Color> + <Color x:Key="BrownPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary900">#3e2723</Color> + <Color x:Key="BrownPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Named.xaml new file mode 100644 index 000000000..24325ad45 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Named.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BrownPrimary50">#efebe9</Color> + <Color x:Key="BrownPrimary50Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary100">#d7ccc8</Color> + <Color x:Key="BrownPrimary100Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary200">#bcaaa4</Color> + <Color x:Key="BrownPrimary200Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary300">#a1887f</Color> + <Color x:Key="BrownPrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="BrownPrimary400">#8d6e63</Color> + <Color x:Key="BrownPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary500">#795548</Color> + <Color x:Key="BrownPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary600">#6d4c41</Color> + <Color x:Key="BrownPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary700">#5d4037</Color> + <Color x:Key="BrownPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary800">#4e342e</Color> + <Color x:Key="BrownPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary900">#3e2723</Color> + <Color x:Key="BrownPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Primary.xaml new file mode 100644 index 000000000..3ab172a68 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#efebe9</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#d7ccc8</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#bcaaa4</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#a1887f</Color> + <Color x:Key="Primary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary400">#8d6e63</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#795548</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#6d4c41</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#5d4037</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#4e342e</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#3e2723</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.xaml new file mode 100644 index 000000000..3ab172a68 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Brown.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#efebe9</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#d7ccc8</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#bcaaa4</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#a1887f</Color> + <Color x:Key="Primary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary400">#8d6e63</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#795548</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#6d4c41</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#5d4037</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#4e342e</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#3e2723</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Accent.xaml new file mode 100644 index 000000000..4547770a4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#84ffff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#18ffff</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#00e5ff</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#00b8d4</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.Accent.xaml new file mode 100644 index 000000000..5f8ce69bd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="CyanAccent100">#84ffff</Color> + <Color x:Key="CyanAccent100Foreground">#DD000000</Color> + <Color x:Key="CyanAccent200">#18ffff</Color> + <Color x:Key="CyanAccent200Foreground">#DD000000</Color> + <Color x:Key="CyanAccent400">#00e5ff</Color> + <Color x:Key="CyanAccent400Foreground">#DD000000</Color> + <Color x:Key="CyanAccent700">#00b8d4</Color> + <Color x:Key="CyanAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.Primary.xaml new file mode 100644 index 000000000..66f0fd193 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="CyanPrimary50">#e0f7fa</Color> + <Color x:Key="CyanPrimary50Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary100">#b2ebf2</Color> + <Color x:Key="CyanPrimary100Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary200">#80deea</Color> + <Color x:Key="CyanPrimary200Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary300">#4dd0e1</Color> + <Color x:Key="CyanPrimary300Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary400">#26c6da</Color> + <Color x:Key="CyanPrimary400Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary500">#00bcd4</Color> + <Color x:Key="CyanPrimary500Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary600">#00acc1</Color> + <Color x:Key="CyanPrimary600Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary700">#0097a7</Color> + <Color x:Key="CyanPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="CyanPrimary800">#00838f</Color> + <Color x:Key="CyanPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="CyanPrimary900">#006064</Color> + <Color x:Key="CyanPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.xaml new file mode 100644 index 000000000..16197207c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="CyanPrimary50">#e0f7fa</Color> + <Color x:Key="CyanPrimary50Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary100">#b2ebf2</Color> + <Color x:Key="CyanPrimary100Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary200">#80deea</Color> + <Color x:Key="CyanPrimary200Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary300">#4dd0e1</Color> + <Color x:Key="CyanPrimary300Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary400">#26c6da</Color> + <Color x:Key="CyanPrimary400Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary500">#00bcd4</Color> + <Color x:Key="CyanPrimary500Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary600">#00acc1</Color> + <Color x:Key="CyanPrimary600Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary700">#0097a7</Color> + <Color x:Key="CyanPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="CyanPrimary800">#00838f</Color> + <Color x:Key="CyanPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="CyanPrimary900">#006064</Color> + <Color x:Key="CyanPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="CyanAccent100">#84ffff</Color> + <Color x:Key="CyanAccent100Foreground">#DD000000</Color> + <Color x:Key="CyanAccent200">#18ffff</Color> + <Color x:Key="CyanAccent200Foreground">#DD000000</Color> + <Color x:Key="CyanAccent400">#00e5ff</Color> + <Color x:Key="CyanAccent400Foreground">#DD000000</Color> + <Color x:Key="CyanAccent700">#00b8d4</Color> + <Color x:Key="CyanAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Primary.xaml new file mode 100644 index 000000000..46ecd566c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e0f7fa</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#b2ebf2</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#80deea</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#4dd0e1</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#26c6da</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#00bcd4</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#00acc1</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#0097a7</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#00838f</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#006064</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.xaml new file mode 100644 index 000000000..55429cda7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Cyan.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e0f7fa</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#b2ebf2</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#80deea</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#4dd0e1</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#26c6da</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#00bcd4</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#00acc1</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#0097a7</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#00838f</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#006064</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#84ffff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#18ffff</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#00e5ff</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#00b8d4</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Accent.xaml new file mode 100644 index 000000000..89d6ba9a5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ff9e80</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ff6e40</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ff3d00</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#dd2c00</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.Accent.xaml new file mode 100644 index 000000000..c60583be4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep OrangeAccent100">#ff9e80</Color> + <Color x:Key="Deep OrangeAccent100Foreground">#DD000000</Color> + <Color x:Key="Deep OrangeAccent200">#ff6e40</Color> + <Color x:Key="Deep OrangeAccent200Foreground">#DD000000</Color> + <Color x:Key="Deep OrangeAccent400">#ff3d00</Color> + <Color x:Key="Deep OrangeAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangeAccent700">#dd2c00</Color> + <Color x:Key="Deep OrangeAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.Primary.xaml new file mode 100644 index 000000000..3d9afdd0b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep OrangePrimary50">#fbe9e7</Color> + <Color x:Key="Deep OrangePrimary50Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary100">#ffccbc</Color> + <Color x:Key="Deep OrangePrimary100Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary200">#ffab91</Color> + <Color x:Key="Deep OrangePrimary200Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary300">#ff8a65</Color> + <Color x:Key="Deep OrangePrimary300Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary400">#ff7043</Color> + <Color x:Key="Deep OrangePrimary400Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary500">#ff5722</Color> + <Color x:Key="Deep OrangePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangePrimary600">#f4511e</Color> + <Color x:Key="Deep OrangePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangePrimary700">#e64a19</Color> + <Color x:Key="Deep OrangePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangePrimary800">#d84315</Color> + <Color x:Key="Deep OrangePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangePrimary900">#bf360c</Color> + <Color x:Key="Deep OrangePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.xaml new file mode 100644 index 000000000..f7c121bb2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep OrangePrimary50">#fbe9e7</Color> + <Color x:Key="Deep OrangePrimary50Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary100">#ffccbc</Color> + <Color x:Key="Deep OrangePrimary100Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary200">#ffab91</Color> + <Color x:Key="Deep OrangePrimary200Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary300">#ff8a65</Color> + <Color x:Key="Deep OrangePrimary300Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary400">#ff7043</Color> + <Color x:Key="Deep OrangePrimary400Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary500">#ff5722</Color> + <Color x:Key="Deep OrangePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangePrimary600">#f4511e</Color> + <Color x:Key="Deep OrangePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangePrimary700">#e64a19</Color> + <Color x:Key="Deep OrangePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangePrimary800">#d84315</Color> + <Color x:Key="Deep OrangePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangePrimary900">#bf360c</Color> + <Color x:Key="Deep OrangePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangeAccent100">#ff9e80</Color> + <Color x:Key="Deep OrangeAccent100Foreground">#DD000000</Color> + <Color x:Key="Deep OrangeAccent200">#ff6e40</Color> + <Color x:Key="Deep OrangeAccent200Foreground">#DD000000</Color> + <Color x:Key="Deep OrangeAccent400">#ff3d00</Color> + <Color x:Key="Deep OrangeAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep OrangeAccent700">#dd2c00</Color> + <Color x:Key="Deep OrangeAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Primary.xaml new file mode 100644 index 000000000..0d1e5f5c7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fbe9e7</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffccbc</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ffab91</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ff8a65</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ff7043</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ff5722</Color> + <Color x:Key="Primary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary600">#f4511e</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#e64a19</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#d84315</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#bf360c</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.xaml new file mode 100644 index 000000000..335ede89b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepOrange.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fbe9e7</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffccbc</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ffab91</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ff8a65</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ff7043</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ff5722</Color> + <Color x:Key="Primary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary600">#f4511e</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#e64a19</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#d84315</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#bf360c</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#ff9e80</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ff6e40</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ff3d00</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#dd2c00</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Accent.xaml new file mode 100644 index 000000000..f7ce9a3e0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#b388ff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#7c4dff</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#651fff</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#6200ea</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.Accent.xaml new file mode 100644 index 000000000..fc241a45f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep PurpleAccent100">#b388ff</Color> + <Color x:Key="Deep PurpleAccent100Foreground">#DD000000</Color> + <Color x:Key="Deep PurpleAccent200">#7c4dff</Color> + <Color x:Key="Deep PurpleAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep PurpleAccent400">#651fff</Color> + <Color x:Key="Deep PurpleAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurpleAccent700">#6200ea</Color> + <Color x:Key="Deep PurpleAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.Primary.xaml new file mode 100644 index 000000000..c832a3f23 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep PurplePrimary50">#ede7f6</Color> + <Color x:Key="Deep PurplePrimary50Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary100">#d1c4e9</Color> + <Color x:Key="Deep PurplePrimary100Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary200">#b39ddb</Color> + <Color x:Key="Deep PurplePrimary200Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary300">#9575cd</Color> + <Color x:Key="Deep PurplePrimary300Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary400">#7e57c2</Color> + <Color x:Key="Deep PurplePrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary500">#673ab7</Color> + <Color x:Key="Deep PurplePrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary600">#5e35b1</Color> + <Color x:Key="Deep PurplePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary700">#512da8</Color> + <Color x:Key="Deep PurplePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary800">#4527a0</Color> + <Color x:Key="Deep PurplePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary900">#311b92</Color> + <Color x:Key="Deep PurplePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.xaml new file mode 100644 index 000000000..89d29de8d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep PurplePrimary50">#ede7f6</Color> + <Color x:Key="Deep PurplePrimary50Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary100">#d1c4e9</Color> + <Color x:Key="Deep PurplePrimary100Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary200">#b39ddb</Color> + <Color x:Key="Deep PurplePrimary200Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary300">#9575cd</Color> + <Color x:Key="Deep PurplePrimary300Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary400">#7e57c2</Color> + <Color x:Key="Deep PurplePrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary500">#673ab7</Color> + <Color x:Key="Deep PurplePrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary600">#5e35b1</Color> + <Color x:Key="Deep PurplePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary700">#512da8</Color> + <Color x:Key="Deep PurplePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary800">#4527a0</Color> + <Color x:Key="Deep PurplePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary900">#311b92</Color> + <Color x:Key="Deep PurplePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurpleAccent100">#b388ff</Color> + <Color x:Key="Deep PurpleAccent100Foreground">#DD000000</Color> + <Color x:Key="Deep PurpleAccent200">#7c4dff</Color> + <Color x:Key="Deep PurpleAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep PurpleAccent400">#651fff</Color> + <Color x:Key="Deep PurpleAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurpleAccent700">#6200ea</Color> + <Color x:Key="Deep PurpleAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Primary.xaml new file mode 100644 index 000000000..a47b1ec3d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#ede7f6</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#d1c4e9</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#b39ddb</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#9575cd</Color> + <Color x:Key="Primary300Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary400">#7e57c2</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#673ab7</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#5e35b1</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#512da8</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#4527a0</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#311b92</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.xaml new file mode 100644 index 000000000..64e404350 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.DeepPurple.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#ede7f6</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#d1c4e9</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#b39ddb</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#9575cd</Color> + <Color x:Key="Primary300Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary400">#7e57c2</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#673ab7</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#5e35b1</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#512da8</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#4527a0</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#311b92</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#b388ff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#7c4dff</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#651fff</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#6200ea</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Accent.xaml new file mode 100644 index 000000000..df021d1fd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#b9f6ca</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#69f0ae</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#00e676</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#00c853</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.Accent.xaml new file mode 100644 index 000000000..b7a099cfe --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreenAccent100">#b9f6ca</Color> + <Color x:Key="GreenAccent100Foreground">#DD000000</Color> + <Color x:Key="GreenAccent200">#69f0ae</Color> + <Color x:Key="GreenAccent200Foreground">#DD000000</Color> + <Color x:Key="GreenAccent400">#00e676</Color> + <Color x:Key="GreenAccent400Foreground">#DD000000</Color> + <Color x:Key="GreenAccent700">#00c853</Color> + <Color x:Key="GreenAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.Primary.xaml new file mode 100644 index 000000000..f93d3898c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreenPrimary50">#e8f5e9</Color> + <Color x:Key="GreenPrimary50Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary100">#c8e6c9</Color> + <Color x:Key="GreenPrimary100Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary200">#a5d6a7</Color> + <Color x:Key="GreenPrimary200Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary300">#81c784</Color> + <Color x:Key="GreenPrimary300Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary400">#66bb6a</Color> + <Color x:Key="GreenPrimary400Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary500">#4caf50</Color> + <Color x:Key="GreenPrimary500Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary600">#43a047</Color> + <Color x:Key="GreenPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="GreenPrimary700">#388e3c</Color> + <Color x:Key="GreenPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenPrimary800">#2e7d32</Color> + <Color x:Key="GreenPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenPrimary900">#1b5e20</Color> + <Color x:Key="GreenPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.xaml new file mode 100644 index 000000000..74df5b840 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreenPrimary50">#e8f5e9</Color> + <Color x:Key="GreenPrimary50Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary100">#c8e6c9</Color> + <Color x:Key="GreenPrimary100Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary200">#a5d6a7</Color> + <Color x:Key="GreenPrimary200Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary300">#81c784</Color> + <Color x:Key="GreenPrimary300Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary400">#66bb6a</Color> + <Color x:Key="GreenPrimary400Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary500">#4caf50</Color> + <Color x:Key="GreenPrimary500Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary600">#43a047</Color> + <Color x:Key="GreenPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="GreenPrimary700">#388e3c</Color> + <Color x:Key="GreenPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenPrimary800">#2e7d32</Color> + <Color x:Key="GreenPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenPrimary900">#1b5e20</Color> + <Color x:Key="GreenPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenAccent100">#b9f6ca</Color> + <Color x:Key="GreenAccent100Foreground">#DD000000</Color> + <Color x:Key="GreenAccent200">#69f0ae</Color> + <Color x:Key="GreenAccent200Foreground">#DD000000</Color> + <Color x:Key="GreenAccent400">#00e676</Color> + <Color x:Key="GreenAccent400Foreground">#DD000000</Color> + <Color x:Key="GreenAccent700">#00c853</Color> + <Color x:Key="GreenAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Primary.xaml new file mode 100644 index 000000000..01c1cb6e2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e8f5e9</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#c8e6c9</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#a5d6a7</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#81c784</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#66bb6a</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#4caf50</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#43a047</Color> + <Color x:Key="Primary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary700">#388e3c</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#2e7d32</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#1b5e20</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.xaml new file mode 100644 index 000000000..7e7dfcf20 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Green.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e8f5e9</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#c8e6c9</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#a5d6a7</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#81c784</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#66bb6a</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#4caf50</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#43a047</Color> + <Color x:Key="Primary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary700">#388e3c</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#2e7d32</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#1b5e20</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#b9f6ca</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#69f0ae</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#00e676</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#00c853</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Named.Primary.xaml new file mode 100644 index 000000000..7f09279ba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreyPrimary50">#fafafa</Color> + <Color x:Key="GreyPrimary50Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary100">#f5f5f5</Color> + <Color x:Key="GreyPrimary100Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary200">#eeeeee</Color> + <Color x:Key="GreyPrimary200Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary300">#e0e0e0</Color> + <Color x:Key="GreyPrimary300Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary400">#bdbdbd</Color> + <Color x:Key="GreyPrimary400Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary500">#9e9e9e</Color> + <Color x:Key="GreyPrimary500Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary600">#757575</Color> + <Color x:Key="GreyPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary700">#616161</Color> + <Color x:Key="GreyPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary800">#424242</Color> + <Color x:Key="GreyPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary900">#212121</Color> + <Color x:Key="GreyPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Named.xaml new file mode 100644 index 000000000..7f09279ba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Named.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreyPrimary50">#fafafa</Color> + <Color x:Key="GreyPrimary50Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary100">#f5f5f5</Color> + <Color x:Key="GreyPrimary100Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary200">#eeeeee</Color> + <Color x:Key="GreyPrimary200Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary300">#e0e0e0</Color> + <Color x:Key="GreyPrimary300Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary400">#bdbdbd</Color> + <Color x:Key="GreyPrimary400Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary500">#9e9e9e</Color> + <Color x:Key="GreyPrimary500Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary600">#757575</Color> + <Color x:Key="GreyPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary700">#616161</Color> + <Color x:Key="GreyPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary800">#424242</Color> + <Color x:Key="GreyPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary900">#212121</Color> + <Color x:Key="GreyPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Primary.xaml new file mode 100644 index 000000000..3a24be3d2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fafafa</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#f5f5f5</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#eeeeee</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#e0e0e0</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#bdbdbd</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#9e9e9e</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#757575</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#616161</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#424242</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#212121</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.xaml new file mode 100644 index 000000000..3a24be3d2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Grey.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fafafa</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#f5f5f5</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#eeeeee</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#e0e0e0</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#bdbdbd</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#9e9e9e</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#757575</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#616161</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#424242</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#212121</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Accent.xaml new file mode 100644 index 000000000..845f2dc28 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#8c9eff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#536dfe</Color> + <Color x:Key="Accent200Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent400">#3d5afe</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#304ffe</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.Accent.xaml new file mode 100644 index 000000000..ac5685098 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="IndigoAccent100">#8c9eff</Color> + <Color x:Key="IndigoAccent100Foreground">#DD000000</Color> + <Color x:Key="IndigoAccent200">#536dfe</Color> + <Color x:Key="IndigoAccent200Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoAccent400">#3d5afe</Color> + <Color x:Key="IndigoAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoAccent700">#304ffe</Color> + <Color x:Key="IndigoAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.Primary.xaml new file mode 100644 index 000000000..c5820acb9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="IndigoPrimary50">#e8eaf6</Color> + <Color x:Key="IndigoPrimary50Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary100">#c5cae9</Color> + <Color x:Key="IndigoPrimary100Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary200">#9fa8da</Color> + <Color x:Key="IndigoPrimary200Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary300">#7986cb</Color> + <Color x:Key="IndigoPrimary300Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary400">#5c6bc0</Color> + <Color x:Key="IndigoPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary500">#3f51b5</Color> + <Color x:Key="IndigoPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary600">#3949ab</Color> + <Color x:Key="IndigoPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary700">#303f9f</Color> + <Color x:Key="IndigoPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary800">#283593</Color> + <Color x:Key="IndigoPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary900">#1a237e</Color> + <Color x:Key="IndigoPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.xaml new file mode 100644 index 000000000..4e27a5e35 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="IndigoPrimary50">#e8eaf6</Color> + <Color x:Key="IndigoPrimary50Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary100">#c5cae9</Color> + <Color x:Key="IndigoPrimary100Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary200">#9fa8da</Color> + <Color x:Key="IndigoPrimary200Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary300">#7986cb</Color> + <Color x:Key="IndigoPrimary300Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary400">#5c6bc0</Color> + <Color x:Key="IndigoPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary500">#3f51b5</Color> + <Color x:Key="IndigoPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary600">#3949ab</Color> + <Color x:Key="IndigoPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary700">#303f9f</Color> + <Color x:Key="IndigoPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary800">#283593</Color> + <Color x:Key="IndigoPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary900">#1a237e</Color> + <Color x:Key="IndigoPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoAccent100">#8c9eff</Color> + <Color x:Key="IndigoAccent100Foreground">#DD000000</Color> + <Color x:Key="IndigoAccent200">#536dfe</Color> + <Color x:Key="IndigoAccent200Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoAccent400">#3d5afe</Color> + <Color x:Key="IndigoAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoAccent700">#304ffe</Color> + <Color x:Key="IndigoAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Primary.xaml new file mode 100644 index 000000000..3239cae5a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e8eaf6</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#c5cae9</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#9fa8da</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#7986cb</Color> + <Color x:Key="Primary300Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary400">#5c6bc0</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#3f51b5</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#3949ab</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#303f9f</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#283593</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#1a237e</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.xaml new file mode 100644 index 000000000..bef04c06d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Indigo.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e8eaf6</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#c5cae9</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#9fa8da</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#7986cb</Color> + <Color x:Key="Primary300Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary400">#5c6bc0</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#3f51b5</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#3949ab</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#303f9f</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#283593</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#1a237e</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#8c9eff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#536dfe</Color> + <Color x:Key="Accent200Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent400">#3d5afe</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#304ffe</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Accent.xaml new file mode 100644 index 000000000..5af51261f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#80d8ff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#40c4ff</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#00b0ff</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#0091ea</Color> + <Color x:Key="Accent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.Accent.xaml new file mode 100644 index 000000000..4e806714a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light BlueAccent100">#80d8ff</Color> + <Color x:Key="Light BlueAccent100Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent200">#40c4ff</Color> + <Color x:Key="Light BlueAccent200Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent400">#00b0ff</Color> + <Color x:Key="Light BlueAccent400Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent700">#0091ea</Color> + <Color x:Key="Light BlueAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.Primary.xaml new file mode 100644 index 000000000..33a1402d6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light BluePrimary50">#e1f5fe</Color> + <Color x:Key="Light BluePrimary50Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary100">#b3e5fc</Color> + <Color x:Key="Light BluePrimary100Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary200">#81d4fa</Color> + <Color x:Key="Light BluePrimary200Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary300">#4fc3f7</Color> + <Color x:Key="Light BluePrimary300Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary400">#29b6f6</Color> + <Color x:Key="Light BluePrimary400Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary500">#03a9f4</Color> + <Color x:Key="Light BluePrimary500Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary600">#039be5</Color> + <Color x:Key="Light BluePrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Light BluePrimary700">#0288d1</Color> + <Color x:Key="Light BluePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Light BluePrimary800">#0277bd</Color> + <Color x:Key="Light BluePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Light BluePrimary900">#01579b</Color> + <Color x:Key="Light BluePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.xaml new file mode 100644 index 000000000..feee29b6e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light BluePrimary50">#e1f5fe</Color> + <Color x:Key="Light BluePrimary50Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary100">#b3e5fc</Color> + <Color x:Key="Light BluePrimary100Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary200">#81d4fa</Color> + <Color x:Key="Light BluePrimary200Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary300">#4fc3f7</Color> + <Color x:Key="Light BluePrimary300Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary400">#29b6f6</Color> + <Color x:Key="Light BluePrimary400Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary500">#03a9f4</Color> + <Color x:Key="Light BluePrimary500Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary600">#039be5</Color> + <Color x:Key="Light BluePrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Light BluePrimary700">#0288d1</Color> + <Color x:Key="Light BluePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Light BluePrimary800">#0277bd</Color> + <Color x:Key="Light BluePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Light BluePrimary900">#01579b</Color> + <Color x:Key="Light BluePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Light BlueAccent100">#80d8ff</Color> + <Color x:Key="Light BlueAccent100Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent200">#40c4ff</Color> + <Color x:Key="Light BlueAccent200Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent400">#00b0ff</Color> + <Color x:Key="Light BlueAccent400Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent700">#0091ea</Color> + <Color x:Key="Light BlueAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Primary.xaml new file mode 100644 index 000000000..25070f5cd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e1f5fe</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#b3e5fc</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#81d4fa</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#4fc3f7</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#29b6f6</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#03a9f4</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#039be5</Color> + <Color x:Key="Primary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary700">#0288d1</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#0277bd</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#01579b</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.xaml new file mode 100644 index 000000000..a047c8a38 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightBlue.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e1f5fe</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#b3e5fc</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#81d4fa</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#4fc3f7</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#29b6f6</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#03a9f4</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#039be5</Color> + <Color x:Key="Primary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary700">#0288d1</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#0277bd</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#01579b</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#80d8ff</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#40c4ff</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#00b0ff</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#0091ea</Color> + <Color x:Key="Accent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Accent.xaml new file mode 100644 index 000000000..87971f0d5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ccff90</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#b2ff59</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#76ff03</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#64dd17</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.Accent.xaml new file mode 100644 index 000000000..11c0d73b4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light GreenAccent100">#ccff90</Color> + <Color x:Key="Light GreenAccent100Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent200">#b2ff59</Color> + <Color x:Key="Light GreenAccent200Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent400">#76ff03</Color> + <Color x:Key="Light GreenAccent400Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent700">#64dd17</Color> + <Color x:Key="Light GreenAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.Primary.xaml new file mode 100644 index 000000000..5b1b5bfa2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light GreenPrimary50">#f1f8e9</Color> + <Color x:Key="Light GreenPrimary50Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary100">#dcedc8</Color> + <Color x:Key="Light GreenPrimary100Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary200">#c5e1a5</Color> + <Color x:Key="Light GreenPrimary200Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary300">#aed581</Color> + <Color x:Key="Light GreenPrimary300Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary400">#9ccc65</Color> + <Color x:Key="Light GreenPrimary400Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary500">#8bc34a</Color> + <Color x:Key="Light GreenPrimary500Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary600">#7cb342</Color> + <Color x:Key="Light GreenPrimary600Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary700">#689f38</Color> + <Color x:Key="Light GreenPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Light GreenPrimary800">#558b2f</Color> + <Color x:Key="Light GreenPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Light GreenPrimary900">#33691e</Color> + <Color x:Key="Light GreenPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.xaml new file mode 100644 index 000000000..a94c0c561 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light GreenPrimary50">#f1f8e9</Color> + <Color x:Key="Light GreenPrimary50Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary100">#dcedc8</Color> + <Color x:Key="Light GreenPrimary100Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary200">#c5e1a5</Color> + <Color x:Key="Light GreenPrimary200Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary300">#aed581</Color> + <Color x:Key="Light GreenPrimary300Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary400">#9ccc65</Color> + <Color x:Key="Light GreenPrimary400Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary500">#8bc34a</Color> + <Color x:Key="Light GreenPrimary500Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary600">#7cb342</Color> + <Color x:Key="Light GreenPrimary600Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary700">#689f38</Color> + <Color x:Key="Light GreenPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Light GreenPrimary800">#558b2f</Color> + <Color x:Key="Light GreenPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Light GreenPrimary900">#33691e</Color> + <Color x:Key="Light GreenPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Light GreenAccent100">#ccff90</Color> + <Color x:Key="Light GreenAccent100Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent200">#b2ff59</Color> + <Color x:Key="Light GreenAccent200Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent400">#76ff03</Color> + <Color x:Key="Light GreenAccent400Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent700">#64dd17</Color> + <Color x:Key="Light GreenAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Primary.xaml new file mode 100644 index 000000000..f6ea37b31 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#f1f8e9</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#dcedc8</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#c5e1a5</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#aed581</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#9ccc65</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#8bc34a</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#7cb342</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#689f38</Color> + <Color x:Key="Primary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary800">#558b2f</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#33691e</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.xaml new file mode 100644 index 000000000..6298fb73a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.LightGreen.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#f1f8e9</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#dcedc8</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#c5e1a5</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#aed581</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#9ccc65</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#8bc34a</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#7cb342</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#689f38</Color> + <Color x:Key="Primary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary800">#558b2f</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#33691e</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#ccff90</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#b2ff59</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#76ff03</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#64dd17</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Accent.xaml new file mode 100644 index 000000000..6ba6e225b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#f4ff81</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#eeff41</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#c6ff00</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#aeea00</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.Accent.xaml new file mode 100644 index 000000000..8d93b21ab --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="LimeAccent100">#f4ff81</Color> + <Color x:Key="LimeAccent100Foreground">#DD000000</Color> + <Color x:Key="LimeAccent200">#eeff41</Color> + <Color x:Key="LimeAccent200Foreground">#DD000000</Color> + <Color x:Key="LimeAccent400">#c6ff00</Color> + <Color x:Key="LimeAccent400Foreground">#DD000000</Color> + <Color x:Key="LimeAccent700">#aeea00</Color> + <Color x:Key="LimeAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.Primary.xaml new file mode 100644 index 000000000..e720a2002 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="LimePrimary50">#f9fbe7</Color> + <Color x:Key="LimePrimary50Foreground">#DD000000</Color> + <Color x:Key="LimePrimary100">#f0f4c3</Color> + <Color x:Key="LimePrimary100Foreground">#DD000000</Color> + <Color x:Key="LimePrimary200">#e6ee9c</Color> + <Color x:Key="LimePrimary200Foreground">#DD000000</Color> + <Color x:Key="LimePrimary300">#dce775</Color> + <Color x:Key="LimePrimary300Foreground">#DD000000</Color> + <Color x:Key="LimePrimary400">#d4e157</Color> + <Color x:Key="LimePrimary400Foreground">#DD000000</Color> + <Color x:Key="LimePrimary500">#cddc39</Color> + <Color x:Key="LimePrimary500Foreground">#DD000000</Color> + <Color x:Key="LimePrimary600">#c0ca33</Color> + <Color x:Key="LimePrimary600Foreground">#DD000000</Color> + <Color x:Key="LimePrimary700">#afb42b</Color> + <Color x:Key="LimePrimary700Foreground">#DD000000</Color> + <Color x:Key="LimePrimary800">#9e9d24</Color> + <Color x:Key="LimePrimary800Foreground">#DD000000</Color> + <Color x:Key="LimePrimary900">#827717</Color> + <Color x:Key="LimePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.xaml new file mode 100644 index 000000000..5700baeaa --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="LimePrimary50">#f9fbe7</Color> + <Color x:Key="LimePrimary50Foreground">#DD000000</Color> + <Color x:Key="LimePrimary100">#f0f4c3</Color> + <Color x:Key="LimePrimary100Foreground">#DD000000</Color> + <Color x:Key="LimePrimary200">#e6ee9c</Color> + <Color x:Key="LimePrimary200Foreground">#DD000000</Color> + <Color x:Key="LimePrimary300">#dce775</Color> + <Color x:Key="LimePrimary300Foreground">#DD000000</Color> + <Color x:Key="LimePrimary400">#d4e157</Color> + <Color x:Key="LimePrimary400Foreground">#DD000000</Color> + <Color x:Key="LimePrimary500">#cddc39</Color> + <Color x:Key="LimePrimary500Foreground">#DD000000</Color> + <Color x:Key="LimePrimary600">#c0ca33</Color> + <Color x:Key="LimePrimary600Foreground">#DD000000</Color> + <Color x:Key="LimePrimary700">#afb42b</Color> + <Color x:Key="LimePrimary700Foreground">#DD000000</Color> + <Color x:Key="LimePrimary800">#9e9d24</Color> + <Color x:Key="LimePrimary800Foreground">#DD000000</Color> + <Color x:Key="LimePrimary900">#827717</Color> + <Color x:Key="LimePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="LimeAccent100">#f4ff81</Color> + <Color x:Key="LimeAccent100Foreground">#DD000000</Color> + <Color x:Key="LimeAccent200">#eeff41</Color> + <Color x:Key="LimeAccent200Foreground">#DD000000</Color> + <Color x:Key="LimeAccent400">#c6ff00</Color> + <Color x:Key="LimeAccent400Foreground">#DD000000</Color> + <Color x:Key="LimeAccent700">#aeea00</Color> + <Color x:Key="LimeAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Primary.xaml new file mode 100644 index 000000000..8d1c57cde --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#f9fbe7</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#f0f4c3</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#e6ee9c</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#dce775</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#d4e157</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#cddc39</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#c0ca33</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#afb42b</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#9e9d24</Color> + <Color x:Key="Primary800Foreground">#DD000000</Color> + <Color x:Key="Primary900">#827717</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.xaml new file mode 100644 index 000000000..02327a855 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Lime.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#f9fbe7</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#f0f4c3</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#e6ee9c</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#dce775</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#d4e157</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#cddc39</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#c0ca33</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#afb42b</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#9e9d24</Color> + <Color x:Key="Primary800Foreground">#DD000000</Color> + <Color x:Key="Primary900">#827717</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#f4ff81</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#eeff41</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#c6ff00</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#aeea00</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Accent.xaml new file mode 100644 index 000000000..1027e511a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ffd180</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ffab40</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ff9100</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#ff6d00</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.Accent.xaml new file mode 100644 index 000000000..bc2a06670 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="OrangeAccent100">#ffd180</Color> + <Color x:Key="OrangeAccent100Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent200">#ffab40</Color> + <Color x:Key="OrangeAccent200Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent400">#ff9100</Color> + <Color x:Key="OrangeAccent400Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent700">#ff6d00</Color> + <Color x:Key="OrangeAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.Primary.xaml new file mode 100644 index 000000000..9733b8cdd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="OrangePrimary50">#fff3e0</Color> + <Color x:Key="OrangePrimary50Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary100">#ffe0b2</Color> + <Color x:Key="OrangePrimary100Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary200">#ffcc80</Color> + <Color x:Key="OrangePrimary200Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary300">#ffb74d</Color> + <Color x:Key="OrangePrimary300Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary400">#ffa726</Color> + <Color x:Key="OrangePrimary400Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary500">#ff9800</Color> + <Color x:Key="OrangePrimary500Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary600">#fb8c00</Color> + <Color x:Key="OrangePrimary600Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary700">#f57c00</Color> + <Color x:Key="OrangePrimary700Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary800">#ef6c00</Color> + <Color x:Key="OrangePrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="OrangePrimary900">#e65100</Color> + <Color x:Key="OrangePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.xaml new file mode 100644 index 000000000..980e50d0d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="OrangePrimary50">#fff3e0</Color> + <Color x:Key="OrangePrimary50Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary100">#ffe0b2</Color> + <Color x:Key="OrangePrimary100Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary200">#ffcc80</Color> + <Color x:Key="OrangePrimary200Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary300">#ffb74d</Color> + <Color x:Key="OrangePrimary300Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary400">#ffa726</Color> + <Color x:Key="OrangePrimary400Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary500">#ff9800</Color> + <Color x:Key="OrangePrimary500Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary600">#fb8c00</Color> + <Color x:Key="OrangePrimary600Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary700">#f57c00</Color> + <Color x:Key="OrangePrimary700Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary800">#ef6c00</Color> + <Color x:Key="OrangePrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="OrangePrimary900">#e65100</Color> + <Color x:Key="OrangePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="OrangeAccent100">#ffd180</Color> + <Color x:Key="OrangeAccent100Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent200">#ffab40</Color> + <Color x:Key="OrangeAccent200Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent400">#ff9100</Color> + <Color x:Key="OrangeAccent400Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent700">#ff6d00</Color> + <Color x:Key="OrangeAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Primary.xaml new file mode 100644 index 000000000..2ace0df13 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fff3e0</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffe0b2</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ffcc80</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ffb74d</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ffa726</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ff9800</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#fb8c00</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#f57c00</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#ef6c00</Color> + <Color x:Key="Primary800Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary900">#e65100</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.xaml new file mode 100644 index 000000000..6bb695453 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Orange.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fff3e0</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffe0b2</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ffcc80</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ffb74d</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ffa726</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ff9800</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#fb8c00</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#f57c00</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#ef6c00</Color> + <Color x:Key="Primary800Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary900">#e65100</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#ffd180</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ffab40</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ff9100</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#ff6d00</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Accent.xaml new file mode 100644 index 000000000..ec1bb6b80 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ff80ab</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ff4081</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#f50057</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#c51162</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.Accent.xaml new file mode 100644 index 000000000..f8f2d612c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PinkAccent100">#ff80ab</Color> + <Color x:Key="PinkAccent100Foreground">#DD000000</Color> + <Color x:Key="PinkAccent200">#ff4081</Color> + <Color x:Key="PinkAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkAccent400">#f50057</Color> + <Color x:Key="PinkAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkAccent700">#c51162</Color> + <Color x:Key="PinkAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.Primary.xaml new file mode 100644 index 000000000..62531bd78 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PinkPrimary50">#fce4ec</Color> + <Color x:Key="PinkPrimary50Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary100">#f8bbd0</Color> + <Color x:Key="PinkPrimary100Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary200">#f48fb1</Color> + <Color x:Key="PinkPrimary200Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary300">#f06292</Color> + <Color x:Key="PinkPrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkPrimary400">#ec407a</Color> + <Color x:Key="PinkPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary500">#e91e63</Color> + <Color x:Key="PinkPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary600">#d81b60</Color> + <Color x:Key="PinkPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary700">#c2185b</Color> + <Color x:Key="PinkPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary800">#ad1457</Color> + <Color x:Key="PinkPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary900">#880e4f</Color> + <Color x:Key="PinkPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.xaml new file mode 100644 index 000000000..087c06f47 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PinkPrimary50">#fce4ec</Color> + <Color x:Key="PinkPrimary50Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary100">#f8bbd0</Color> + <Color x:Key="PinkPrimary100Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary200">#f48fb1</Color> + <Color x:Key="PinkPrimary200Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary300">#f06292</Color> + <Color x:Key="PinkPrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkPrimary400">#ec407a</Color> + <Color x:Key="PinkPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary500">#e91e63</Color> + <Color x:Key="PinkPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary600">#d81b60</Color> + <Color x:Key="PinkPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary700">#c2185b</Color> + <Color x:Key="PinkPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary800">#ad1457</Color> + <Color x:Key="PinkPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary900">#880e4f</Color> + <Color x:Key="PinkPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkAccent100">#ff80ab</Color> + <Color x:Key="PinkAccent100Foreground">#DD000000</Color> + <Color x:Key="PinkAccent200">#ff4081</Color> + <Color x:Key="PinkAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkAccent400">#f50057</Color> + <Color x:Key="PinkAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkAccent700">#c51162</Color> + <Color x:Key="PinkAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Primary.xaml new file mode 100644 index 000000000..07ae9f622 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fce4ec</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#f8bbd0</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#f48fb1</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#f06292</Color> + <Color x:Key="Primary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary400">#ec407a</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#e91e63</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#d81b60</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#c2185b</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#ad1457</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#880e4f</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.xaml new file mode 100644 index 000000000..88a4b2921 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Pink.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fce4ec</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#f8bbd0</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#f48fb1</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#f06292</Color> + <Color x:Key="Primary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary400">#ec407a</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#e91e63</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#d81b60</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#c2185b</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#ad1457</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#880e4f</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#ff80ab</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ff4081</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#f50057</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#c51162</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Accent.xaml new file mode 100644 index 000000000..99dcfbd15 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ea80fc</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#e040fb</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#d500f9</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#aa00ff</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.Accent.xaml new file mode 100644 index 000000000..9937030d2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PurpleAccent100">#ea80fc</Color> + <Color x:Key="PurpleAccent100Foreground">#DD000000</Color> + <Color x:Key="PurpleAccent200">#e040fb</Color> + <Color x:Key="PurpleAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="PurpleAccent400">#d500f9</Color> + <Color x:Key="PurpleAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="PurpleAccent700">#aa00ff</Color> + <Color x:Key="PurpleAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.Primary.xaml new file mode 100644 index 000000000..fb0a1b35a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PurplePrimary50">#f3e5f5</Color> + <Color x:Key="PurplePrimary50Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary100">#e1bee7</Color> + <Color x:Key="PurplePrimary100Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary200">#ce93d8</Color> + <Color x:Key="PurplePrimary200Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary300">#ba68c8</Color> + <Color x:Key="PurplePrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="PurplePrimary400">#ab47bc</Color> + <Color x:Key="PurplePrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="PurplePrimary500">#9c27b0</Color> + <Color x:Key="PurplePrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary600">#8e24aa</Color> + <Color x:Key="PurplePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary700">#7b1fa2</Color> + <Color x:Key="PurplePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary800">#6a1b9a</Color> + <Color x:Key="PurplePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary900">#4a148c</Color> + <Color x:Key="PurplePrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.xaml new file mode 100644 index 000000000..34642ec04 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PurplePrimary50">#f3e5f5</Color> + <Color x:Key="PurplePrimary50Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary100">#e1bee7</Color> + <Color x:Key="PurplePrimary100Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary200">#ce93d8</Color> + <Color x:Key="PurplePrimary200Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary300">#ba68c8</Color> + <Color x:Key="PurplePrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="PurplePrimary400">#ab47bc</Color> + <Color x:Key="PurplePrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="PurplePrimary500">#9c27b0</Color> + <Color x:Key="PurplePrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary600">#8e24aa</Color> + <Color x:Key="PurplePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary700">#7b1fa2</Color> + <Color x:Key="PurplePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary800">#6a1b9a</Color> + <Color x:Key="PurplePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary900">#4a148c</Color> + <Color x:Key="PurplePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="PurpleAccent100">#ea80fc</Color> + <Color x:Key="PurpleAccent100Foreground">#DD000000</Color> + <Color x:Key="PurpleAccent200">#e040fb</Color> + <Color x:Key="PurpleAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="PurpleAccent400">#d500f9</Color> + <Color x:Key="PurpleAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="PurpleAccent700">#aa00ff</Color> + <Color x:Key="PurpleAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Primary.xaml new file mode 100644 index 000000000..0288f96d7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#f3e5f5</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#e1bee7</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ce93d8</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ba68c8</Color> + <Color x:Key="Primary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary400">#ab47bc</Color> + <Color x:Key="Primary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary500">#9c27b0</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#8e24aa</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#7b1fa2</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#6a1b9a</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#4a148c</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.xaml new file mode 100644 index 000000000..3a75a0c97 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Purple.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#f3e5f5</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#e1bee7</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ce93d8</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#ba68c8</Color> + <Color x:Key="Primary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary400">#ab47bc</Color> + <Color x:Key="Primary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary500">#9c27b0</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#8e24aa</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#7b1fa2</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#6a1b9a</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#4a148c</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#ea80fc</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#e040fb</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#d500f9</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#aa00ff</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Accent.xaml new file mode 100644 index 000000000..4b11416c1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ff8a80</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ff5252</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#ff1744</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#d50000</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.Accent.xaml new file mode 100644 index 000000000..abd6f1088 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="RedAccent100">#ff8a80</Color> + <Color x:Key="RedAccent100Foreground">#DD000000</Color> + <Color x:Key="RedAccent200">#ff5252</Color> + <Color x:Key="RedAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="RedAccent400">#ff1744</Color> + <Color x:Key="RedAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="RedAccent700">#d50000</Color> + <Color x:Key="RedAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.Primary.xaml new file mode 100644 index 000000000..363d08b78 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="RedPrimary50">#ffebee</Color> + <Color x:Key="RedPrimary50Foreground">#DD000000</Color> + <Color x:Key="RedPrimary100">#ffcdd2</Color> + <Color x:Key="RedPrimary100Foreground">#DD000000</Color> + <Color x:Key="RedPrimary200">#ef9a9a</Color> + <Color x:Key="RedPrimary200Foreground">#DD000000</Color> + <Color x:Key="RedPrimary300">#e57373</Color> + <Color x:Key="RedPrimary300Foreground">#DD000000</Color> + <Color x:Key="RedPrimary400">#ef5350</Color> + <Color x:Key="RedPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary500">#f44336</Color> + <Color x:Key="RedPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary600">#e53935</Color> + <Color x:Key="RedPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary700">#d32f2f</Color> + <Color x:Key="RedPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary800">#c62828</Color> + <Color x:Key="RedPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary900">#b71c1c</Color> + <Color x:Key="RedPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.xaml new file mode 100644 index 000000000..51cfa1e8b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="RedPrimary50">#ffebee</Color> + <Color x:Key="RedPrimary50Foreground">#DD000000</Color> + <Color x:Key="RedPrimary100">#ffcdd2</Color> + <Color x:Key="RedPrimary100Foreground">#DD000000</Color> + <Color x:Key="RedPrimary200">#ef9a9a</Color> + <Color x:Key="RedPrimary200Foreground">#DD000000</Color> + <Color x:Key="RedPrimary300">#e57373</Color> + <Color x:Key="RedPrimary300Foreground">#DD000000</Color> + <Color x:Key="RedPrimary400">#ef5350</Color> + <Color x:Key="RedPrimary400Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary500">#f44336</Color> + <Color x:Key="RedPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary600">#e53935</Color> + <Color x:Key="RedPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary700">#d32f2f</Color> + <Color x:Key="RedPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary800">#c62828</Color> + <Color x:Key="RedPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary900">#b71c1c</Color> + <Color x:Key="RedPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="RedAccent100">#ff8a80</Color> + <Color x:Key="RedAccent100Foreground">#DD000000</Color> + <Color x:Key="RedAccent200">#ff5252</Color> + <Color x:Key="RedAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="RedAccent400">#ff1744</Color> + <Color x:Key="RedAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="RedAccent700">#d50000</Color> + <Color x:Key="RedAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Primary.xaml new file mode 100644 index 000000000..f5dfd8c31 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#ffebee</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffcdd2</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ef9a9a</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#e57373</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ef5350</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#f44336</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#e53935</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#d32f2f</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#c62828</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#b71c1c</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.xaml new file mode 100644 index 000000000..e32ab064a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Red.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#ffebee</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#ffcdd2</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#ef9a9a</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#e57373</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ef5350</Color> + <Color x:Key="Primary400Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary500">#f44336</Color> + <Color x:Key="Primary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary600">#e53935</Color> + <Color x:Key="Primary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary700">#d32f2f</Color> + <Color x:Key="Primary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary800">#c62828</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#b71c1c</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#ff8a80</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ff5252</Color> + <Color x:Key="Accent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Accent400">#ff1744</Color> + <Color x:Key="Accent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent700">#d50000</Color> + <Color x:Key="Accent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Accent.xaml new file mode 100644 index 000000000..274bca687 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#a7ffeb</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#64ffda</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#1de9b6</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#00bfa5</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.Accent.xaml new file mode 100644 index 000000000..e1524bfe2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="TealAccent100">#a7ffeb</Color> + <Color x:Key="TealAccent100Foreground">#DD000000</Color> + <Color x:Key="TealAccent200">#64ffda</Color> + <Color x:Key="TealAccent200Foreground">#DD000000</Color> + <Color x:Key="TealAccent400">#1de9b6</Color> + <Color x:Key="TealAccent400Foreground">#DD000000</Color> + <Color x:Key="TealAccent700">#00bfa5</Color> + <Color x:Key="TealAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.Primary.xaml new file mode 100644 index 000000000..b2d8337ed --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="TealPrimary50">#e0f2f1</Color> + <Color x:Key="TealPrimary50Foreground">#DD000000</Color> + <Color x:Key="TealPrimary100">#b2dfdb</Color> + <Color x:Key="TealPrimary100Foreground">#DD000000</Color> + <Color x:Key="TealPrimary200">#80cbc4</Color> + <Color x:Key="TealPrimary200Foreground">#DD000000</Color> + <Color x:Key="TealPrimary300">#4db6ac</Color> + <Color x:Key="TealPrimary300Foreground">#DD000000</Color> + <Color x:Key="TealPrimary400">#26a69a</Color> + <Color x:Key="TealPrimary400Foreground">#DD000000</Color> + <Color x:Key="TealPrimary500">#009688</Color> + <Color x:Key="TealPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary600">#00897b</Color> + <Color x:Key="TealPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary700">#00796b</Color> + <Color x:Key="TealPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary800">#00695c</Color> + <Color x:Key="TealPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="TealPrimary900">#004d40</Color> + <Color x:Key="TealPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.xaml new file mode 100644 index 000000000..8617b4fa6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="TealPrimary50">#e0f2f1</Color> + <Color x:Key="TealPrimary50Foreground">#DD000000</Color> + <Color x:Key="TealPrimary100">#b2dfdb</Color> + <Color x:Key="TealPrimary100Foreground">#DD000000</Color> + <Color x:Key="TealPrimary200">#80cbc4</Color> + <Color x:Key="TealPrimary200Foreground">#DD000000</Color> + <Color x:Key="TealPrimary300">#4db6ac</Color> + <Color x:Key="TealPrimary300Foreground">#DD000000</Color> + <Color x:Key="TealPrimary400">#26a69a</Color> + <Color x:Key="TealPrimary400Foreground">#DD000000</Color> + <Color x:Key="TealPrimary500">#009688</Color> + <Color x:Key="TealPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary600">#00897b</Color> + <Color x:Key="TealPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary700">#00796b</Color> + <Color x:Key="TealPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary800">#00695c</Color> + <Color x:Key="TealPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="TealPrimary900">#004d40</Color> + <Color x:Key="TealPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="TealAccent100">#a7ffeb</Color> + <Color x:Key="TealAccent100Foreground">#DD000000</Color> + <Color x:Key="TealAccent200">#64ffda</Color> + <Color x:Key="TealAccent200Foreground">#DD000000</Color> + <Color x:Key="TealAccent400">#1de9b6</Color> + <Color x:Key="TealAccent400Foreground">#DD000000</Color> + <Color x:Key="TealAccent700">#00bfa5</Color> + <Color x:Key="TealAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Primary.xaml new file mode 100644 index 000000000..23c7e3647 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e0f2f1</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#b2dfdb</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#80cbc4</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#4db6ac</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#26a69a</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#009688</Color> + <Color x:Key="Primary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary600">#00897b</Color> + <Color x:Key="Primary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary700">#00796b</Color> + <Color x:Key="Primary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary800">#00695c</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#004d40</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.xaml new file mode 100644 index 000000000..4206e995b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Teal.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#e0f2f1</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#b2dfdb</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#80cbc4</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#4db6ac</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#26a69a</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#009688</Color> + <Color x:Key="Primary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary600">#00897b</Color> + <Color x:Key="Primary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary700">#00796b</Color> + <Color x:Key="Primary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Primary800">#00695c</Color> + <Color x:Key="Primary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Primary900">#004d40</Color> + <Color x:Key="Primary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Accent100">#a7ffeb</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#64ffda</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#1de9b6</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#00bfa5</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Accent.xaml new file mode 100644 index 000000000..525368e86 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Accent100">#ffff8d</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ffff00</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ffea00</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#ffd600</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.Accent.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.Accent.xaml new file mode 100644 index 000000000..1c5b075a6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.Accent.xaml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="YellowAccent100">#ffff8d</Color> + <Color x:Key="YellowAccent100Foreground">#DD000000</Color> + <Color x:Key="YellowAccent200">#ffff00</Color> + <Color x:Key="YellowAccent200Foreground">#DD000000</Color> + <Color x:Key="YellowAccent400">#ffea00</Color> + <Color x:Key="YellowAccent400Foreground">#DD000000</Color> + <Color x:Key="YellowAccent700">#ffd600</Color> + <Color x:Key="YellowAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.Primary.xaml new file mode 100644 index 000000000..90a86c62f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="YellowPrimary50">#fffde7</Color> + <Color x:Key="YellowPrimary50Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary100">#fff9c4</Color> + <Color x:Key="YellowPrimary100Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary200">#fff59d</Color> + <Color x:Key="YellowPrimary200Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary300">#fff176</Color> + <Color x:Key="YellowPrimary300Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary400">#ffee58</Color> + <Color x:Key="YellowPrimary400Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary500">#ffeb3b</Color> + <Color x:Key="YellowPrimary500Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary600">#fdd835</Color> + <Color x:Key="YellowPrimary600Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary700">#fbc02d</Color> + <Color x:Key="YellowPrimary700Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary800">#f9a825</Color> + <Color x:Key="YellowPrimary800Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary900">#f57f17</Color> + <Color x:Key="YellowPrimary900Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.xaml new file mode 100644 index 000000000..d996e40c2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="YellowPrimary50">#fffde7</Color> + <Color x:Key="YellowPrimary50Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary100">#fff9c4</Color> + <Color x:Key="YellowPrimary100Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary200">#fff59d</Color> + <Color x:Key="YellowPrimary200Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary300">#fff176</Color> + <Color x:Key="YellowPrimary300Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary400">#ffee58</Color> + <Color x:Key="YellowPrimary400Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary500">#ffeb3b</Color> + <Color x:Key="YellowPrimary500Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary600">#fdd835</Color> + <Color x:Key="YellowPrimary600Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary700">#fbc02d</Color> + <Color x:Key="YellowPrimary700Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary800">#f9a825</Color> + <Color x:Key="YellowPrimary800Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary900">#f57f17</Color> + <Color x:Key="YellowPrimary900Foreground">#DD000000</Color> + <Color x:Key="YellowAccent100">#ffff8d</Color> + <Color x:Key="YellowAccent100Foreground">#DD000000</Color> + <Color x:Key="YellowAccent200">#ffff00</Color> + <Color x:Key="YellowAccent200Foreground">#DD000000</Color> + <Color x:Key="YellowAccent400">#ffea00</Color> + <Color x:Key="YellowAccent400Foreground">#DD000000</Color> + <Color x:Key="YellowAccent700">#ffd600</Color> + <Color x:Key="YellowAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Primary.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Primary.xaml new file mode 100644 index 000000000..91a8a1e1b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.Primary.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fffde7</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#fff9c4</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#fff59d</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#fff176</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ffee58</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ffeb3b</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#fdd835</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#fbc02d</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#f9a825</Color> + <Color x:Key="Primary800Foreground">#DD000000</Color> + <Color x:Key="Primary900">#f57f17</Color> + <Color x:Key="Primary900Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.xaml new file mode 100644 index 000000000..e1628749b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/MaterialDesignColor.Yellow.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Primary50">#fffde7</Color> + <Color x:Key="Primary50Foreground">#DD000000</Color> + <Color x:Key="Primary100">#fff9c4</Color> + <Color x:Key="Primary100Foreground">#DD000000</Color> + <Color x:Key="Primary200">#fff59d</Color> + <Color x:Key="Primary200Foreground">#DD000000</Color> + <Color x:Key="Primary300">#fff176</Color> + <Color x:Key="Primary300Foreground">#DD000000</Color> + <Color x:Key="Primary400">#ffee58</Color> + <Color x:Key="Primary400Foreground">#DD000000</Color> + <Color x:Key="Primary500">#ffeb3b</Color> + <Color x:Key="Primary500Foreground">#DD000000</Color> + <Color x:Key="Primary600">#fdd835</Color> + <Color x:Key="Primary600Foreground">#DD000000</Color> + <Color x:Key="Primary700">#fbc02d</Color> + <Color x:Key="Primary700Foreground">#DD000000</Color> + <Color x:Key="Primary800">#f9a825</Color> + <Color x:Key="Primary800Foreground">#DD000000</Color> + <Color x:Key="Primary900">#f57f17</Color> + <Color x:Key="Primary900Foreground">#DD000000</Color> + <Color x:Key="Accent100">#ffff8d</Color> + <Color x:Key="Accent100Foreground">#DD000000</Color> + <Color x:Key="Accent200">#ffff00</Color> + <Color x:Key="Accent200Foreground">#DD000000</Color> + <Color x:Key="Accent400">#ffea00</Color> + <Color x:Key="Accent400Foreground">#DD000000</Color> + <Color x:Key="Accent700">#ffd600</Color> + <Color x:Key="Accent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Amber.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Amber.xaml new file mode 100644 index 000000000..260e3528f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Amber.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Amber.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Blue.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Blue.xaml new file mode 100644 index 000000000..6989669ec --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Blue.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Blue.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Cyan.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Cyan.xaml new file mode 100644 index 000000000..bf85180fc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Cyan.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Cyan.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.DeepOrange.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.DeepOrange.xaml new file mode 100644 index 000000000..80d58731e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.DeepOrange.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.DeepOrange.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.DeepPurple.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.DeepPurple.xaml new file mode 100644 index 000000000..6698cc8fd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.DeepPurple.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.DeepPurple.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Green.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Green.xaml new file mode 100644 index 000000000..096aba08b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Green.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Green.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml new file mode 100644 index 000000000..9abf73b22 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Indigo.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.LightBlue.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.LightBlue.xaml new file mode 100644 index 000000000..b0e46fc24 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.LightBlue.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.LightBlue.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.LightGreen.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.LightGreen.xaml new file mode 100644 index 000000000..4f2c244db --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.LightGreen.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.LightGreen.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml new file mode 100644 index 000000000..11beb2532 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Lime.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Orange.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Orange.xaml new file mode 100644 index 000000000..7fd1f6f6d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Orange.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Orange.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Pink.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Pink.xaml new file mode 100644 index 000000000..25346faab --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Pink.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Pink.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Purple.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Purple.xaml new file mode 100644 index 000000000..41923c828 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Purple.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Purple.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Red.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Red.xaml new file mode 100644 index 000000000..36e5361b8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Red.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Red.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Teal.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Teal.xaml new file mode 100644 index 000000000..fa6b38785 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Teal.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Teal.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Yellow.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Yellow.xaml new file mode 100644 index 000000000..465040d72 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Accent/MaterialDesignColor.Yellow.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Yellow.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Amber.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Amber.xaml new file mode 100644 index 000000000..459f975a9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Amber.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Amber.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml new file mode 100644 index 000000000..780f4da0f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Blue.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.BlueGrey.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.BlueGrey.xaml new file mode 100644 index 000000000..1002898af --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.BlueGrey.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.BlueGrey.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Brown.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Brown.xaml new file mode 100644 index 000000000..e44469c8f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Brown.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Brown.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Cyan.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Cyan.xaml new file mode 100644 index 000000000..7ca2eecef --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Cyan.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Cyan.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.DeepOrange.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.DeepOrange.xaml new file mode 100644 index 000000000..f80408325 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.DeepOrange.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.DeepOrange.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml new file mode 100644 index 000000000..842555b3c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.DeepPurple.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Green.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Green.xaml new file mode 100644 index 000000000..e9e9942a8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Green.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Green.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Grey.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Grey.xaml new file mode 100644 index 000000000..1fb60d765 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Grey.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Grey.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Indigo.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Indigo.xaml new file mode 100644 index 000000000..f0f0143c0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Indigo.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Indigo.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.LightBlue.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.LightBlue.xaml new file mode 100644 index 000000000..828b6ca08 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.LightBlue.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.LightBlue.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.LightGreen.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.LightGreen.xaml new file mode 100644 index 000000000..aeb3ff5dd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.LightGreen.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.LightGreen.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Lime.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Lime.xaml new file mode 100644 index 000000000..b3047d2e6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Lime.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Lime.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Orange.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Orange.xaml new file mode 100644 index 000000000..7f9f9a4c2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Orange.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Orange.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Pink.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Pink.xaml new file mode 100644 index 000000000..09f93caea --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Pink.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Pink.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Purple.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Purple.xaml new file mode 100644 index 000000000..2a9bee371 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Purple.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Purple.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Red.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Red.xaml new file mode 100644 index 000000000..6e8536cff --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Red.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Red.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Teal.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Teal.xaml new file mode 100644 index 000000000..7ae54cdb9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Teal.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Teal.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Yellow.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Yellow.xaml new file mode 100644 index 000000000..07aa4d1f1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.Wpf/Themes/Recommended/Primary/MaterialDesignColor.Yellow.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.Yellow.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.nuspec b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.nuspec new file mode 100644 index 000000000..211b4f722 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignColors.nuspec @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<package > + <metadata> + <id>MaterialDesignColors</id> + <version>1.1.3-beta</version> + <title>Material Design Colors XAML Resources</title> + <authors>James Willock</authors> + <owners>James Willock</owners> + <licenseUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/blob/master/LICENSE</licenseUrl> + <projectUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit</projectUrl> + <iconUrl>http://materialdesigninxaml.net/images/MD4XAML32.png</iconUrl> + <requireLicenseAcceptance>false</requireLicenseAcceptance> + <description>ResourceDictionary instances containing standard Google Material Design swatches, for inclusion in a XAML application.</description> + <releaseNotes>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases</releaseNotes> + <copyright>Copyright 2015 James Willock/Mulholland Software Ltd</copyright> + <tags>WPF XAML WinRT Material Design Colour Color UI UX</tags> + </metadata> + <files> + <file src="MaterialDesignColors.Wpf\bin\Release\MaterialDesignColors.dll" target="lib\net45" /> + <file src="MaterialDesignColors.Wpf\bin\Release\MaterialDesignColors.pdb" target="lib\net45" /> + </files> +</package>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps.nuspec b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps.nuspec new file mode 100644 index 000000000..08a8ab82d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps.nuspec @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<package> + <metadata> + <id>MaterialDesignThemes.MahApps</id> + <version>0.1.0-beta</version> + <title>Material Design Themes XAML Resources For MahApps Controls</title> + <authors>James Willock</authors> + <owners>James Willock</owners> + <licenseUrl>http://opensource.org/licenses/MS-PL</licenseUrl> + <projectUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit</projectUrl> + <iconUrl>http://materialdesigninxaml.net/images/MD4XAML32.png</iconUrl> + <requireLicenseAcceptance>false</requireLicenseAcceptance> + <description>ResourceDictionary instances containing Material Design templates and styles for WPF controls in the MahApps library.</description> + <releaseNotes>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases</releaseNotes> + <copyright>Copyright 2015 James Willock/Mulholland Software Ltd</copyright> + <tags>WPF XAML WinRT Material Design Theme Colour Color UI UX</tags> + <dependencies> + <dependency id="MaterialDesignColors" version="1.1.2" /> + <dependency id="MaterialDesignThemes" version="1.5.0.523" /> + <dependency id="MahApps.Metro" version="1.2.4" /> + </dependencies> + </metadata> + <files> + <file src="MaterialDesignThemes.MahApps\bin\Release\MaterialDesignThemes.MahApps.dll" target="lib\net45" /> + </files> +</package>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/FlyoutAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/FlyoutAssist.cs new file mode 100644 index 000000000..214d84465 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/FlyoutAssist.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using MaterialDesignThemes.Wpf; + +namespace MaterialDesignThemes.MahApps +{ + public static class FlyoutAssist + { + public static readonly DependencyProperty HeaderColorModeProperty = DependencyProperty.RegisterAttached( + "HeaderColorMode", typeof(ColorZoneMode), typeof(FlyoutAssist), new FrameworkPropertyMetadata(default(ColorZoneMode), FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetHeaderColorMode(DependencyObject element, ColorZoneMode value) + { + element.SetValue(HeaderColorModeProperty, value); + } + + public static ColorZoneMode GetHeaderColorMode(DependencyObject element) + { + return (ColorZoneMode)element.GetValue(HeaderColorModeProperty); + } + + public static readonly DependencyProperty HeaderShadowDepthProperty = DependencyProperty.RegisterAttached( + "HeaderShadowDepth", typeof (ShadowDepth), typeof (FlyoutAssist), new FrameworkPropertyMetadata(default(ShadowDepth), FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetHeaderShadowDepth(DependencyObject element, ShadowDepth value) + { + element.SetValue(HeaderShadowDepthProperty, value); + } + + public static ShadowDepth GetHeaderShadowDepth(DependencyObject element) + { + return (ShadowDepth) element.GetValue(HeaderShadowDepthProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj new file mode 100644 index 000000000..19b7d60e6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/MaterialDesignThemes.MahApps.csproj @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{81556A2D-D467-43E7-945B-FD987C676CF6}</ProjectGuid> + <OutputType>library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignThemes.MahApps</RootNamespace> + <AssemblyName>MaterialDesignThemes.MahApps</AssemblyName> + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <WarningLevel>4</WarningLevel> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <Prefer32Bit>false</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <Prefer32Bit>false</Prefer32Bit> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xaml"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="WindowsBase" /> + <Reference Include="PresentationCore" /> + <Reference Include="PresentationFramework" /> + </ItemGroup> + <ItemGroup> + <Page Include="Themes\MaterialDesignTheme.MahApps.Defaults.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.MahApps.Dialogs.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.MahApps.Flyout.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.MahApps.Fonts.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.MahApps.RangeSlider.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.MahApps.WindowCommands.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + </ItemGroup> + <ItemGroup> + <Compile Include="FlyoutAssist.cs" /> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + <None Include="paket.references" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <AppDesigner Include="Properties\" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj"> + <Project>{f079fb0a-a8ed-4216-b6a5-345756751a04}</Project> + <Name>MaterialDesignThemes.Wpf</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <Import Project="..\.paket\paket.targets" /> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="MahApps.Metro"> + <HintPath>..\packages\MahApps.Metro\lib\net45\MahApps.Metro.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + <Reference Include="System.Windows.Interactivity"> + <HintPath>..\packages\MahApps.Metro\lib\net45\System.Windows.Interactivity.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..907a8dd93 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; +using System.Windows.Markup; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignThemes.MahApps")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MaterialDesignThemes.MahApps")] +[assembly: AssemblyCopyright("Copyright © 2015-2016 James Willock, Mulholland Software & Contributors")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file +//inside a <PropertyGroup>. For example, if you are using US english +//in your source files, set the <UICulture> to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly:ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("0.0.10")] +[assembly: AssemblyFileVersion("0.0.10")] +[assembly: XmlnsPrefix("http://materialdesigninxaml.net/winfx/xaml/themes", "materialDesignMahApps")] +[assembly: XmlnsDefinition("http://materialdesigninxaml.net/winfx/xaml/themes", "MaterialDesignThemes.MahApps")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Resources.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Resources.Designer.cs new file mode 100644 index 000000000..449046e1d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignThemes.MahApps.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MaterialDesignThemes.MahApps.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Resources.resx b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Settings.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Settings.Designer.cs new file mode 100644 index 000000000..37a604884 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignThemes.MahApps.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Settings.settings b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml new file mode 100644 index 000000000..85c6c7676 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Defaults.xaml @@ -0,0 +1,13 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Fonts.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Flyout.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.RangeSlider.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.WindowCommands.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style TargetType="{x:Type controls:RangeSlider}" BasedOn="{StaticResource MaterialDesignRangeSlider}" /> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Dialogs.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Dialogs.xaml new file mode 100644 index 000000000..63dff8070 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Dialogs.xaml @@ -0,0 +1,19 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style BasedOn="{StaticResource MaterialDesignFlatButton}" + TargetType="{x:Type Button}" /> + + <Style x:Key="AccentedDialogSquareButton" + BasedOn="{StaticResource MaterialDesignFlatButton}" + TargetType="{x:Type Button}" /> + + <Style x:Key="AccentedDialogHighlightedSquareButton" + BasedOn="{StaticResource MaterialDesignFlatButton}" + TargetType="{x:Type Button}"/> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml new file mode 100644 index 000000000..f588f84f0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml @@ -0,0 +1,262 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:Controls="http://metro.mahapps.com/winfx/xaml/controls" + xmlns:mahApps="clr-namespace:MaterialDesignThemes.MahApps" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf"> + + <DataTemplate x:Key="HeaderTemplate" x:Shared="False"> + <wpf:ColorZone x:Name="PART_ColorZone" + wpf:ShadowAssist.ShadowDepth="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(mahApps:FlyoutAssist.HeaderShadowDepth)}" + Mode="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(mahApps:FlyoutAssist.HeaderColorMode)}"> + <DockPanel x:Name="dpHeader" + Margin="{Binding Path=(Controls:ControlsHelper.HeaderMargin), RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:Flyout}}, Mode=OneWay}" + VerticalAlignment="Center" + LastChildFill="True"> + <Button x:Name="PART_BackButton" + Command="{Binding RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}, Path=InternalCloseCommand, Mode=OneWay}" + CommandParameter="{Binding RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}, Path=CloseCommandParameter, Mode=OneWay}" + Width="34" + Height="34" + Margin="2 4 2 2" + VerticalAlignment="Bottom" + Style="{DynamicResource MaterialDesignToolButton}" + Foreground="{Binding RelativeSource={RelativeSource AncestorType={x:Type wpf:ColorZone}}, Path=Foreground}" + FontSize="16" + DockPanel.Dock="Left" + IsCancel="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:Flyout}}, Path=CloseButtonIsCancel}" + Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:Flyout}}, Path=CloseButtonVisibility}"> + <ContentControl Style="{DynamicResource PathIconContentControlStyle}" + Content="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" + Width="16" + Height="16" /> + </Button> + <TextBlock x:Name="PART_BackHeaderText" + Margin="15 0 0 0" + VerticalAlignment="Center" + Text="{Binding}" + Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:Flyout}}, Path=TitleVisibility}" /> + </DockPanel> + </wpf:ColorZone> + <DataTemplate.Triggers> + <DataTrigger Binding="{Binding Position, RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}}" Value="Left"> + <Setter TargetName="PART_BackHeaderText" Property="Margin" Value="0 0 15 0" /> + <Setter TargetName="PART_BackHeaderText" Property="TextAlignment" Value="Right" /> + <Setter TargetName="PART_BackButton" Property="DockPanel.Dock" Value="Right" /> + <Setter TargetName="PART_BackButton" Property="LayoutTransform"> + <Setter.Value> + <ScaleTransform ScaleX="-1" /> + </Setter.Value> + </Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Position, RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}}" Value="Top"> + <Setter TargetName="PART_ColorZone" Property="VerticalAlignment" Value="Stretch" /> + <Setter TargetName="PART_BackButton" Property="LayoutTransform"> + <Setter.Value> + <RotateTransform Angle="-90" /> + </Setter.Value> + </Setter> + </DataTrigger> + <DataTrigger Binding="{Binding Position, RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}}" Value="Bottom"> + <Setter TargetName="PART_ColorZone" Property="VerticalAlignment" Value="Stretch" /> + <Setter TargetName="PART_BackButton" Property="LayoutTransform"> + <Setter.Value> + <RotateTransform Angle="90" /> + </Setter.Value> + </Setter> + </DataTrigger> + </DataTemplate.Triggers> + </DataTemplate> + + <ControlTemplate x:Key="FlyoutTemplate" TargetType="{x:Type Controls:Flyout}"> + <Grid x:Name="PART_Root" + Background="{TemplateBinding Background}"> + <Grid.RenderTransform> + <TranslateTransform /> + </Grid.RenderTransform> + <AdornerDecorator x:Name="PART_Border" CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border Background="{TemplateBinding Background}" Effect="{DynamicResource MaterialDesignShadowDepth5}" /> + </AdornerDecorator> + <AdornerDecorator> + <DockPanel FocusVisualStyle="{x:Null}" Focusable="False"> + <Controls:MetroThumbContentControl x:Name="PART_Header" + DockPanel.Dock="Top" + FontSize="{TemplateBinding Controls:ControlsHelper.HeaderFontSize}" + FontWeight="{TemplateBinding Controls:ControlsHelper.HeaderFontWeight}" + FontStretch="{TemplateBinding Controls:ControlsHelper.HeaderFontStretch}" + Content="{TemplateBinding Header}" + ContentTemplate="{TemplateBinding HeaderTemplate}" + ContentCharacterCasing="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(Controls:ControlsHelper.ContentCharacterCasing)}" + RecognizesAccessKey="True" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + <ContentPresenter x:Name="PART_Content" DockPanel.Dock="Bottom" /> + </DockPanel> + </AdornerDecorator> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup> + <VisualState x:Name="Default" /> + <VisualState x:Name="Hide"> + <Storyboard x:Name="HideStoryboard"> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"> + <SplineDoubleKeyFrame x:Name="hideFrame" + KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"> + <SplineDoubleKeyFrame x:Name="hideFrameY" + KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.Opacity)"> + <SplineDoubleKeyFrame x:Name="fadeOutFrame" + KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Border" + Storyboard.TargetProperty="(UIElement.Opacity)"> + <SplineDoubleKeyFrame KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="0" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Show"> + <Storyboard x:Name="ShowStoryboard"> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"> + <SplineDoubleKeyFrame x:Name="showFrame" + KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"> + <SplineDoubleKeyFrame x:Name="showFrameY" + KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.Opacity)"> + <SplineDoubleKeyFrame KeySpline="0.25,1,0.05,1" + KeyTime="00:00:00.750" + Value="1" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="HideDirect"> + <Storyboard> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"> + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"> + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.Opacity)"> + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="ShowDirect"> + <Storyboard> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)"> + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)"> + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" + Storyboard.TargetName="PART_Root" + Storyboard.TargetProperty="(UIElement.Opacity)"> + <SplineDoubleKeyFrame KeyTime="0" Value="1" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="Position" Value="Top"> + <Setter TargetName="PART_Content" Property="DockPanel.Dock" Value="Right" /> + <Setter TargetName="PART_Header" Property="DockPanel.Dock" Value="Left" /> + </Trigger> + <Trigger Property="Position" Value="Bottom"> + <Setter TargetName="PART_Content" Property="DockPanel.Dock" Value="Right" /> + <Setter TargetName="PART_Header" Property="DockPanel.Dock" Value="Left" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="CloseButtonVisibility" Value="Collapsed" /> + <Condition Property="TitleVisibility" Value="Collapsed" /> + </MultiTrigger.Conditions> + <Setter TargetName="PART_Header" Property="Visibility" Value="Collapsed" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="CloseButtonVisibility" Value="Hidden" /> + <Condition Property="TitleVisibility" Value="Hidden" /> + </MultiTrigger.Conditions> + <Setter TargetName="PART_Header" Property="Visibility" Value="Collapsed" /> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style TargetType="{x:Type Controls:Flyout}"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="FocusVisualStyle" Value="{x:Null}" /> + <Setter Property="Controls:ControlsHelper.HeaderFontSize" Value="{DynamicResource FlyoutHeaderFontSize}" /> + <Setter Property="Controls:ControlsHelper.HeaderMargin" Value="10" /> + <Setter Property="HeaderTemplate" Value="{StaticResource HeaderTemplate}" /> + <Setter Property="KeyboardNavigation.ControlTabNavigation" Value="Cycle" /> + <Setter Property="KeyboardNavigation.DirectionalNavigation" Value="Cycle" /> + <Setter Property="KeyboardNavigation.TabNavigation" Value="Cycle" /> + <Setter Property="Template" Value="{StaticResource FlyoutTemplate}" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="Visibility" Value="Hidden" /> + <Setter Property="mahApps:FlyoutAssist.HeaderColorMode" Value="PrimaryMid" /> + <Setter Property="mahApps:FlyoutAssist.HeaderShadowDepth" Value="Depth2" /> + <Style.Triggers> + <Trigger Property="Position" Value="Right"> + <Setter Property="Controls:ControlsHelper.HeaderMargin" Value="10 25 10 10" /> + </Trigger> + <Trigger Property="Position" Value="Left"> + <Setter Property="Controls:ControlsHelper.HeaderMargin" Value="10 25 10 10" /> + </Trigger> + <Trigger Property="TitleVisibility" Value="Collapsed"> + <Setter Property="mahApps:FlyoutAssist.HeaderColorMode" Value="Standard" /> + <Setter Property="mahApps:FlyoutAssist.HeaderShadowDepth" Value="Depth0" /> + </Trigger> + <Trigger Property="TitleVisibility" Value="Hidden"> + <Setter Property="mahApps:FlyoutAssist.HeaderColorMode" Value="Standard" /> + <Setter Property="mahApps:FlyoutAssist.HeaderShadowDepth" Value="Depth0" /> + </Trigger> + </Style.Triggers> + </Style> +</ResourceDictionary> + + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Fonts.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Fonts.xaml new file mode 100644 index 000000000..d8e9eb5b8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Fonts.xaml @@ -0,0 +1,13 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <FontFamily x:Key="DefaultFont">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + <FontFamily x:Key="HeaderFontFamily">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + <FontFamily x:Key="ContentFontFamily">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + <FontFamily x:Key="ToggleSwitchFontFamily">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + <FontFamily x:Key="ToggleSwitchHeaderFontFamily">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + + <FontFamily x:Key="ToggleSwitchFontFamily.Win10">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + <FontFamily x:Key="ToggleSwitchHeaderFontFamily.Win10">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.RangeSlider.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.RangeSlider.xaml new file mode 100644 index 000000000..f63b48b81 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.RangeSlider.xaml @@ -0,0 +1,195 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Slider.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <ControlTemplate x:Key="MaterialDesignMahAppsRangeSliderHorizontal" + TargetType="controls:RangeSlider"> + <StackPanel Name="PART_Container" + Orientation="Vertical" + HorizontalAlignment="Stretch" + VerticalAlignment="Center"> + <TickBar Name="PART_TopTick" + Placement="Top" + Fill="{TemplateBinding Foreground}" + TickFrequency="{TemplateBinding TickFrequency}" + Minimum="{TemplateBinding Minimum}" + Maximum="{TemplateBinding Maximum}" + Height="4" + Margin="5,0,5,2" + Visibility="Collapsed" /> + <StackPanel Name="PART_RangeSliderContainer" + Background="Transparent" + Orientation="Horizontal" + HorizontalAlignment="Stretch" + VerticalAlignment="Center" + Panel.ZIndex="1"> + <RepeatButton Name="PART_LeftEdge" + Background="{DynamicResource MaterialDesignCheckBoxOff}" + Height="2" + Style="{DynamicResource HorizontalTrackLargeDecrease}" /> + <Thumb Name="PART_LeftThumb" + Cursor="Arrow" + Foreground="{DynamicResource PrimaryHueMidBrush}" + Template="{StaticResource MaterialDesignSliderThumb}" + Panel.ZIndex="1"/> + <Thumb Name="PART_MiddleThumb" + Cursor="Hand" + MinWidth="{TemplateBinding MinRangeWidth}"> + <Thumb.Style> + <Style TargetType="Thumb"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Height="2" + Margin="0,0,0,0" + Fill="{DynamicResource PrimaryHueMidBrush}" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </Thumb.Style> + </Thumb> + <Thumb Name="PART_RightThumb" + Cursor="Arrow" + Foreground="{DynamicResource PrimaryHueMidBrush}" + Template="{StaticResource MaterialDesignSliderThumb}" + Panel.ZIndex="1"/> + <RepeatButton Name="PART_RightEdge" + Height="2" + Background="{DynamicResource MaterialDesignCheckBoxOff}" + Style="{DynamicResource HorizontalTrackLargeDecrease}" /> + </StackPanel> + <TickBar Name="PART_BottomTick" + Fill="{TemplateBinding Foreground}" + Placement="Top" + TickFrequency="{TemplateBinding TickFrequency}" + Minimum="{TemplateBinding Minimum}" + Maximum="{TemplateBinding Maximum}" + Height="4" + Margin="5,2,5,0" + Visibility="Collapsed" /> + </StackPanel> + <ControlTemplate.Triggers> + <Trigger Property="TickPlacement" Value="TopLeft"> + <Setter Property="Visibility" TargetName="PART_TopTick" Value="Visible" /> + </Trigger> + <Trigger Property="TickPlacement" Value="BottomRight"> + <Setter Property="Visibility" TargetName="PART_BottomTick" Value="Visible" /> + </Trigger> + <Trigger Property="TickPlacement" Value="Both"> + <Setter Property="Visibility" TargetName="PART_TopTick" Value="Visible" /> + <Setter Property="Visibility" TargetName="PART_BottomTick" Value="Visible" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <ControlTemplate x:Key="MaterialDesignRangeSliderVertical" + TargetType="controls:RangeSlider"> + <StackPanel Name="PART_Container" + Orientation="Horizontal" + HorizontalAlignment="Center" + VerticalAlignment="Stretch"> + <TickBar Name="PART_TopTick" + Placement="Left" + Fill="{TemplateBinding Foreground}" + TickFrequency="{TemplateBinding TickFrequency}" + Minimum="{TemplateBinding Minimum}" + Maximum="{TemplateBinding Maximum}" + Width="4" + Margin="0,5,2,5" + Visibility="Collapsed" /> + <StackPanel Orientation="Vertical" + HorizontalAlignment="Center" + VerticalAlignment="Stretch" + Background="Transparent" + Name="PART_RangeSliderContainer" + Panel.ZIndex="1"> + <RepeatButton Name="PART_RightEdge" + VerticalAlignment="Stretch" + Background="{DynamicResource MaterialDesignCheckBoxOff}" + Width="2" + Style="{DynamicResource VerticalTrackLargeDecrease}" /> + <Thumb Name="PART_RightThumb" + Cursor="Arrow" + Foreground="{DynamicResource PrimaryHueMidBrush}" + Template="{StaticResource MaterialDesignSliderThumb}" + Panel.ZIndex="1" /> + + <Thumb Name="PART_MiddleThumb" + Cursor="Hand" + MinHeight="{TemplateBinding MinRangeWidth}"> + <Thumb.Style> + <Style TargetType="Thumb"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Width="2" + Margin="0,0,0,0" + Fill="{DynamicResource PrimaryHueMidBrush}" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </Thumb.Style> + </Thumb> + + <Thumb Name="PART_LeftThumb" + Cursor="Arrow" + Foreground="{DynamicResource PrimaryHueMidBrush}" + Template="{StaticResource MaterialDesignSliderThumb}" + Panel.ZIndex="1" /> + <RepeatButton Name="PART_LeftEdge" + Width="2" + Background="{DynamicResource MaterialDesignCheckBoxOff}" + Style="{DynamicResource VerticalTrackLargeDecrease}" /> + </StackPanel> + <TickBar Name="PART_BottomTick" + Fill="{TemplateBinding Foreground}" + TickFrequency="{TemplateBinding TickFrequency}" + Minimum="{TemplateBinding Minimum}" + Maximum="{TemplateBinding Maximum}" + Placement="Right" + Width="4" + Margin="2,5,0,5" + Visibility="Collapsed" /> + </StackPanel> + <ControlTemplate.Triggers> + <Trigger Property="TickPlacement" + Value="TopLeft"> + <Setter Property="Visibility" + TargetName="PART_TopTick" + Value="Visible" /> + </Trigger> + <Trigger Property="TickPlacement" + Value="BottomRight"> + <Setter Property="Visibility" + TargetName="PART_BottomTick" + Value="Visible" /> + </Trigger> + <Trigger Property="TickPlacement" + Value="Both"> + <Setter Property="Visibility" + TargetName="PART_TopTick" + Value="Visible" /> + <Setter Property="Visibility" + TargetName="PART_BottomTick" + Value="Visible" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style TargetType="{x:Type controls:RangeSlider}" x:Key="MaterialDesignRangeSlider"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Template" Value="{StaticResource MaterialDesignMahAppsRangeSliderHorizontal}" /> + <Style.Triggers> + <Trigger Property="Orientation" Value="Vertical"> + <Setter Property="Template" Value="{StaticResource MaterialDesignRangeSliderVertical}" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.WindowCommands.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.WindowCommands.xaml new file mode 100644 index 000000000..d62c77f86 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.WindowCommands.xaml @@ -0,0 +1,19 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PopupBox.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style x:Key="WindowCommandsPopupBoxStyle" TargetType="{x:Type wpf:PopupBox}" BasedOn="{StaticResource MaterialDesignPopupBox}"> + <Setter Property="Opacity" Value="0.5"/> + <Style.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Opacity" Value="1" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/paket.references b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/paket.references new file mode 100644 index 000000000..65b50f060 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.MahApps/paket.references @@ -0,0 +1 @@ +MahApps.Metro
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Black.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Black.ttf Binary files differnew file mode 100644 index 000000000..fbde625d4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Black.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-BlackItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-BlackItalic.ttf Binary files differnew file mode 100644 index 000000000..60f7782a2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-BlackItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Bold.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Bold.ttf Binary files differnew file mode 100644 index 000000000..a355c27cd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Bold.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-BoldItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-BoldItalic.ttf Binary files differnew file mode 100644 index 000000000..3c9a7a373 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-BoldItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Italic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Italic.ttf Binary files differnew file mode 100644 index 000000000..ff6046d5b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Italic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Light.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Light.ttf Binary files differnew file mode 100644 index 000000000..94c6bcc67 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Light.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-LightItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-LightItalic.ttf Binary files differnew file mode 100644 index 000000000..04cc00230 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-LightItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Medium.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Medium.ttf Binary files differnew file mode 100644 index 000000000..39c63d746 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Medium.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-MediumItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-MediumItalic.ttf Binary files differnew file mode 100644 index 000000000..dc743f0a6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-MediumItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Regular.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Regular.ttf Binary files differnew file mode 100644 index 000000000..8c082c8de --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Regular.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Thin.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Thin.ttf Binary files differnew file mode 100644 index 000000000..d69555029 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Thin.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-ThinItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-ThinItalic.ttf Binary files differnew file mode 100644 index 000000000..07172ff66 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-ThinItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Bold.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Bold.ttf Binary files differnew file mode 100644 index 000000000..fc28868a8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Bold.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-BoldItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-BoldItalic.ttf Binary files differnew file mode 100644 index 000000000..e1a648fff --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-BoldItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Italic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Italic.ttf Binary files differnew file mode 100644 index 000000000..97ff9f1ed --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Italic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Light.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Light.ttf Binary files differnew file mode 100644 index 000000000..2dae31e28 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Light.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-LightItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-LightItalic.ttf Binary files differnew file mode 100644 index 000000000..da108d3aa --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-LightItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Regular.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Regular.ttf Binary files differnew file mode 100644 index 000000000..c2304c14a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Assets/Roboto/RobotoCondensed-Regular.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Class1.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Class1.cs new file mode 100644 index 000000000..37a8016a1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Class1.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignThemes.Uwp +{ + public class Class1 + { + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/MaterialDesignThemes.Uwp.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/MaterialDesignThemes.Uwp.csproj new file mode 100644 index 000000000..875f88e15 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/MaterialDesignThemes.Uwp.csproj @@ -0,0 +1,245 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignThemes.Uwp</RootNamespace> + <AssemblyName>MaterialDesignThemes.Uwp</AssemblyName> + <DefaultLanguage>en-US</DefaultLanguage> + <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier> + <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion> + <TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion> + <MinimumVisualStudioVersion>14</MinimumVisualStudioVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> + <PlatformTarget>ARM</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\ARM\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>ARM</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> + <PlatformTarget>ARM</PlatformTarget> + <OutputPath>bin\ARM\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>ARM</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> + <PlatformTarget>x64</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x64\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>x64</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> + <PlatformTarget>x64</PlatformTarget> + <OutputPath>bin\x64\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x64</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <PlatformTarget>x86</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x86\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <PlatformTarget>x86</PlatformTarget> + <OutputPath>bin\x86\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <ItemGroup> + <!-- A reference to the entire .Net Framework and Windows SDK are automatically included --> + <None Include="project.json" /> + <Content Include="Assets\Roboto\Roboto-Black.ttf" /> + <Content Include="Assets\Roboto\Roboto-BlackItalic.ttf" /> + <Content Include="Assets\Roboto\Roboto-Bold.ttf" /> + <Content Include="Assets\Roboto\Roboto-BoldItalic.ttf" /> + <Content Include="Assets\Roboto\Roboto-Italic.ttf" /> + <Content Include="Assets\Roboto\Roboto-Light.ttf" /> + <Content Include="Assets\Roboto\Roboto-LightItalic.ttf" /> + <Content Include="Assets\Roboto\Roboto-Medium.ttf" /> + <Content Include="Assets\Roboto\Roboto-MediumItalic.ttf" /> + <Content Include="Assets\Roboto\Roboto-Regular.ttf" /> + <Content Include="Assets\Roboto\Roboto-Thin.ttf" /> + <Content Include="Assets\Roboto\Roboto-ThinItalic.ttf" /> + <Content Include="Assets\Roboto\RobotoCondensed-Bold.ttf" /> + <Content Include="Assets\Roboto\RobotoCondensed-BoldItalic.ttf" /> + <Content Include="Assets\Roboto\RobotoCondensed-Italic.ttf" /> + <Content Include="Assets\Roboto\RobotoCondensed-Light.ttf" /> + <Content Include="Assets\Roboto\RobotoCondensed-LightItalic.ttf" /> + <Content Include="Assets\Roboto\RobotoCondensed-Regular.ttf" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Class1.cs" /> + <Compile Include="Shadow.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Ripple.cs" /> + <Content Include="Properties\MaterialDesignThemes.Uwp.rd.xml" /> + </ItemGroup> + <ItemGroup> + <Page Include="Themes\Generic.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesign.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Page> + <Page Include="Themes\MaterialDesignColor.Amber.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Black.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Blue.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.BlueGrey.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Brown.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Cyan.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepOrange.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.DeepPurple.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Green.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Grey.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Indigo.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightBlue.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.LightGreen.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Lime.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Orange.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Pink.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Purple.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Red.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Teal.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignColor.Yellow.Named.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + </ItemGroup> + <ItemGroup> + <Folder Include="Converters\" /> + </ItemGroup> + <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' "> + <VisualStudioVersion>14.0</VisualStudioVersion> + </PropertyGroup> + <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..3effaccb3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignThemes.Uwp")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MaterialDesignThemes.Uwp")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: ComVisible(false)]
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Properties/MaterialDesignThemes.Uwp.rd.xml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Properties/MaterialDesignThemes.Uwp.rd.xml new file mode 100644 index 000000000..96aa839b5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Properties/MaterialDesignThemes.Uwp.rd.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file contains Runtime Directives, specifications about types your application accesses + through reflection and other dynamic code patterns. Runtime Directives are used to control the + .NET Native optimizer and ensure that it does not remove code accessed by your library. If your + library does not do any reflection, then you generally do not need to edit this file. However, + if your library reflects over types, especially types passed to it or derived from its types, + then you should write Runtime Directives. + + The most common use of reflection in libraries is to discover information about types passed + to the library. Runtime Directives have three ways to express requirements on types passed to + your library. + + 1. Parameter, GenericParameter, TypeParameter, TypeEnumerableParameter + Use these directives to reflect over types passed as a parameter. + + 2. SubTypes + Use a SubTypes directive to reflect over types derived from another type. + + 3. AttributeImplies + Use an AttributeImplies directive to indicate that your library needs to reflect over + types or methods decorated with an attribute. + + For more information on writing Runtime Directives for libraries, please visit + http://go.microsoft.com/fwlink/?LinkId=613100 +--> +<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> + <Library Name="MaterialDesignThemes.Uwp"> + + <!-- add directives for your library here --> + + </Library> +</Directives> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Ripple.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Ripple.cs new file mode 100644 index 000000000..15f92d04f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Ripple.cs @@ -0,0 +1,116 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Runtime.CompilerServices; +using Windows.Devices.Input; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Documents; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; + +namespace MaterialDesignThemes.Uwp +{ + [TemplateVisualState(GroupName = "CommonStates", Name = "Normal")] + [TemplateVisualState(GroupName = "CommonStates", Name = "Pressed")] + public sealed class Ripple : ContentControl, INotifyPropertyChanged + { + private double _rippleSize; + private double _rippleX; + private double _rippleY; + + public Ripple() + { + DefaultStyleKey = typeof(Ripple); + SizeChanged += OnSizeChanged; + } + + private void OnSizeChanged(object sender, SizeChangedEventArgs sizeChangedEventArgs) + { + RippleSize = Math.Max(sizeChangedEventArgs.NewSize.Width, sizeChangedEventArgs.NewSize.Height) * RippleSizeMultiplier; + Clip = new RectangleGeometry { Rect = new Windows.Foundation.Rect(0, 0, sizeChangedEventArgs.NewSize.Width, sizeChangedEventArgs.NewSize.Height) }; + } + + public static readonly DependencyProperty FeedbackProperty = DependencyProperty.Register( + "Feedback", typeof (Brush), typeof (Ripple), new PropertyMetadata(default(Brush))); + + public Brush Feedback + { + get { return (Brush) GetValue(FeedbackProperty); } + set { SetValue(FeedbackProperty, value); } + } + + protected override void OnApplyTemplate() + { + VisualStateManager.GoToState(this, "Normal", false); + + base.OnApplyTemplate(); + } + + protected override void OnPointerPressed(PointerRoutedEventArgs e) + { + if (e.Pointer.PointerDeviceType == PointerDeviceType.Mouse) + { + var point = e.GetCurrentPoint(this); + + RippleX = point.Position.X - RippleSize/2; + RippleY = point.Position.Y - RippleSize/2; + + VisualStateManager.GoToState(this, "Normal", true); + VisualStateManager.GoToState(this, "MousePressed", true); + } + + base.OnPointerPressed(e); + } + + public static readonly DependencyProperty RippleSizeMultiplierProperty = DependencyProperty.Register( + "RippleSizeMultiplier", typeof (double), typeof (Ripple), new PropertyMetadata(1.75)); + + public double RippleSizeMultiplier + { + get { return (double) GetValue(RippleSizeMultiplierProperty); } + set { SetValue(RippleSizeMultiplierProperty, value); } + } + + public double RippleSize + { + get { return _rippleSize; } + private set + { + if (_rippleSize == value) return; + _rippleSize = value; + OnPropertyChanged(); + } + } + + public double RippleY + { + get { return _rippleY; } + private set + { + if (_rippleY == value) return; + _rippleY = value; + OnPropertyChanged(); + } + } + + public double RippleX + { + get { return _rippleX; } + private set + { + if (_rippleX == value) return; + _rippleX = value; + OnPropertyChanged(); + } + } + + public event PropertyChangedEventHandler PropertyChanged; + + private void OnPropertyChanged([CallerMemberName] string propertyName = null) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Shadow.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Shadow.cs new file mode 100644 index 000000000..db52bb5af --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Shadow.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.Foundation; +using Windows.UI; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Documents; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Microsoft.Graphics.Canvas; +using Microsoft.Graphics.Canvas.Effects; +using Microsoft.Graphics.Canvas.UI.Xaml; + +namespace MaterialDesignThemes.Uwp +{ + [TemplatePart(Name = CanvasControlPartName, Type = typeof(CanvasControl))] + [TemplatePart(Name = ContentPresenterPartName, Type = typeof(ContentPresenter))] + public sealed class Shadow : ContentControl + { + private CanvasControl _canvasControl; + private ContentPresenter _contentPresenter; + private const string ContentPresenterPartName = "PART_ContentPresenter"; + private const string CanvasControlPartName = "PART_CanvasControl"; + + public Shadow() + { + DefaultStyleKey = typeof(Shadow); + Unloaded += OnUnloaded; + } + + private void OnUnloaded(object sender, RoutedEventArgs routedEventArgs) + { + if (_canvasControl == null) return; + + _canvasControl.RemoveFromVisualTree(); + _canvasControl = null; + } + + protected override void OnApplyTemplate() + { + base.OnApplyTemplate(); + + _canvasControl = GetTemplateChild(CanvasControlPartName) as CanvasControl; + if (_canvasControl != null) + _canvasControl.Draw += Draw; + + _contentPresenter = GetTemplateChild(ContentPresenterPartName) as ContentPresenter; + } + + private void Draw(CanvasControl sender, CanvasDrawEventArgs args) + { + if (_contentPresenter == null) return; + + var border = VisualTreeHelper.GetChild(_contentPresenter, 0) as Border; + if (border == null) return; + + var borderPoint = border.TransformToVisual(this).TransformPoint(new Point(0, 0)); + + var cl = new CanvasCommandList(sender); + using (var clds = cl.CreateDrawingSession()) + { + clds.FillRoundedRectangle(new Rect(borderPoint.X, borderPoint.Y, border.ActualWidth, border.ActualHeight), (float)border.CornerRadius.TopLeft, (float)border.CornerRadius.TopLeft, Color.FromArgb(128, 0, 0, 0)); + } + + var shadowEffect = new Transform2DEffect + { + Source = + new Transform2DEffect + { + Source = new ShadowEffect + { + BlurAmount = 2, + ShadowColor = Color.FromArgb(160, 0, 0, 0), + Source = cl + }, + //TODO not doing any scaling right now, confirm with larger shadows + TransformMatrix = Matrix3x2.CreateScale(1.0f, new Vector2((float)(border.ActualWidth / 2), ((float)border.ActualHeight / 2))) + + }, + TransformMatrix = Matrix3x2.CreateTranslation(0, 1) + }; + + args.DrawingSession.DrawImage(shadowEffect); + // args.DrawingSession.DrawImage(cl); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/Generic.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/Generic.xaml new file mode 100644 index 000000000..1080d4a93 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/Generic.xaml @@ -0,0 +1,109 @@ +<ResourceDictionary + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:MaterialDesignThemes.Uwp" + xmlns:xaml="using:Microsoft.Graphics.Canvas.UI.Xaml"> + + <Style TargetType="local:Shadow" > + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="local:Shadow"> + <Grid> + <xaml:CanvasControl x:Name="PART_CanvasControl" /> + <Grid Margin="1 0 1 3"> + <ContentPresenter x:Name="PART_ContentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTransitions="{TemplateBinding ContentTransitions}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + /> + </Grid> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="local:Ripple"> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Feedback" Value="White" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="local:Ripple"> + <Grid Background="Transparent"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Normal" To="MousePressed"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.05" Value=".26"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value=".26"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="MousePressed" To="Normal"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform" From="1" To="0" Duration="0:0:0" /> + <DoubleAnimation Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform" From="1" To="0" Duration="0:0:0" /> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MousePressed"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform"> + <DiscreteDoubleKeyFrame KeyTime="0" Value="1" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform"> + <DiscreteDoubleKeyFrame KeyTime="0" Value="1" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Canvas IsHitTestVisible="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> + <Ellipse x:Name="ClickEllipse" Fill="{TemplateBinding Feedback}" Opacity="0" + Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleSize}" + Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleSize}" + Canvas.Left="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleX}" + Canvas.Top="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleY}" + RenderTransformOrigin=".5,.5"> + <Ellipse.RenderTransform> + <TransformGroup> + <ScaleTransform x:Name="ScaleTransform" /> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform x:Name="TranslateTransform"/> + </TransformGroup> + </Ellipse.RenderTransform> + </Ellipse> + </Canvas> + <ContentPresenter Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesign.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesign.xaml new file mode 100644 index 000000000..897f7235c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesign.xaml @@ -0,0 +1,617 @@ +<ResourceDictionary + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:uwp="using:MaterialDesignThemes.Uwp"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="MaterialDesignColor.Indigo.Named.xaml" /> + <ResourceDictionary Source="MaterialDesignColor.Yellow.Named.xaml" /> + </ResourceDictionary.MergedDictionaries> + <ResourceDictionary.ThemeDictionaries> + <ResourceDictionary x:Key="Light"> + <SolidColorBrush x:Key="MaterialDesignBackground" Color="#FFFFFFFF"/> + <SolidColorBrush x:Key="MaterialDesignPaper" Color="#FFfafafa"/> + <SolidColorBrush x:Key="MaterialDesignBody" Color="#DD000000"/> + <SolidColorBrush x:Key="MaterialDesignBodyLight" Color="#89000000"/> + <SolidColorBrush x:Key="MaterialDesignColumnHeader" Color="#BC000000"/> + <SolidColorBrush x:Key="MaterialDesignCheckBoxOff" Color="#89000000" /> + <SolidColorBrush x:Key="MaterialDesignCheckBoxDisabled" Color="#42000000" /> + <SolidColorBrush x:Key="MaterialDesignTextBoxBorder" Color="#89000000" /> + <SolidColorBrush x:Key="MaterialDesignDivider" Color="#FFB6B6B6" /> + <SolidColorBrush x:Key="MaterialDesignSelection" Color="#FFDeDeDe" /> + <SolidColorBrush x:Key="MaterialDesignFlatButtonClick" Color="#FFDeDeDe" /> + <SolidColorBrush x:Key="MaterialDesignFlatButtonRipple" Color="#FFB6B6B6" /> + <SolidColorBrush x:Key="MaterialDesignToolTipBackground" Color="#757575" /> + </ResourceDictionary> + <ResourceDictionary x:Key="Dark"> + <SolidColorBrush x:Key="MaterialDesignBackground" Color="#FF000000"/> + <SolidColorBrush x:Key="MaterialDesignPaper" Color="#FF37474f"/> + <SolidColorBrush x:Key="MaterialDesignBody" Color="#DDFFFFFF"/> + <SolidColorBrush x:Key="MaterialDesignBodyLight" Color="#89FFFFFF"/> + <SolidColorBrush x:Key="MaterialDesignColumnHeader" Color="#BCFFFFFF"/> + <SolidColorBrush x:Key="MaterialDesignCheckBoxOff" Color="#89FFFFFF" /> + <SolidColorBrush x:Key="MaterialDesignCheckBoxDisabled" Color="#4CFFFFFF" /> + <SolidColorBrush x:Key="MaterialDesignTextBoxBorder" Color="#89FFFFFF" /> + <SolidColorBrush x:Key="MaterialDesignDivider" Color="#616161" /> + <SolidColorBrush x:Key="MaterialDesignSelection" Color="#757575" /> + <SolidColorBrush x:Key="MaterialDesignFlatButtonClick" Color="#757575" /> + <SolidColorBrush x:Key="MaterialDesignFlatButtonRipple" Color="#FFB6B6B6" /> + <SolidColorBrush x:Key="MaterialDesignToolTipBackground" Color="#eeeeee" /> + </ResourceDictionary> + </ResourceDictionary.ThemeDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource IndigoPrimary300}"/> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource IndigoPrimary300Foreground}"/> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource IndigoPrimary500}"/> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource IndigoPrimary500Foreground}"/> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource IndigoPrimary700}"/> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource IndigoPrimary700Foreground}"/> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource YellowAccent400}"/> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource YellowAccent400Foreground}"/> + + <Style x:Key="MaterialDesignRaisedButton" TargetType="Button" BasedOn="{x:Null}"> + <Setter Property="Background" Value="{ThemeResource PrimaryHueMidBrush}"/> + <Setter Property="BorderBrush" Value="{ThemeResource PrimaryHueMidBrush}"/> + <Setter Property="Foreground" Value="{ThemeResource PrimaryHueMidForegroundBrush}"/> + <Setter Property="FontFamily" Value="ms-appx:///MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Bold.ttf#Roboto" /> + <Setter Property="FontSize" Value="15" /> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="16 4 16 4"/> + <Setter Property="Height" Value="36" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="Button"> + <uwp:Shadow HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"> + <Border Background="{TemplateBinding Background}" x:Name="border" CornerRadius="2"> + <uwp:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" + HorizontalAlignment="Stretch" VerticalAlignment="Stretch" + IsTabStop="False" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" /> + </Border> + </uwp:Shadow> + <!-- + <ControlTemplate.Triggers> + <Trigger Property="IsDefaulted" Value="true"> + <Setter Property="BorderBrush" TargetName="border" Value="{ThemeResource {x:Static SystemColors.HighlightBrushKey}}"/> + </Trigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" TargetName="border" Value="{StaticResource AttentionToActionBrush}" /> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + </ControlTemplate.Triggers> + --> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignRaisedLightButton" TargetType="Button" BasedOn="{StaticResource MaterialDesignRaisedButton}"> + <Setter Property="Background" Value="{ThemeResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{ThemeResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{ThemeResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignRaisedDarkButton" TargetType="Button" BasedOn="{StaticResource MaterialDesignRaisedButton}"> + <Setter Property="Background" Value="{ThemeResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{ThemeResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{ThemeResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignRaisedAccentButton" TargetType="Button" BasedOn="{StaticResource MaterialDesignRaisedButton}"> + <Setter Property="Background" Value="{ThemeResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{ThemeResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{ThemeResource SecondaryAccentForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignToggleSwitch" TargetType="ToggleSwitch"> + <Setter Property="Foreground" Value="{ThemeResource MaterialDesignBody}"/> + <Setter Property="HorizontalAlignment" Value="Left"/> + <Setter Property="VerticalAlignment" Value="Center"/> + <Setter Property="HorizontalContentAlignment" Value="Left"/> + <Setter Property="FontFamily" Value="ms-appx:///MaterialDesignThemes.Uwp/Assets/Roboto/Roboto-Regular.ttf#Roboto" /> + <Setter Property="FontSize" Value="14" /> + <Setter Property="ManipulationMode" Value="System,TranslateX"/> + <Setter Property="UseSystemFocusVisuals" Value="True"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ToggleSwitch"> + <Grid BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="PointerOver" /> + <VisualState x:Name="Pressed"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" + Storyboard.TargetName="KnobShadowTranslateTransform"> + <EasingDoubleKeyFrame KeyTime="0:0:10" Value="11.75"> + <EasingDoubleKeyFrame.EasingFunction> + <QuadraticEase EasingMode="EaseOut"/> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Disabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchGrid" Storyboard.TargetProperty="Opacity"> + <DiscreteObjectKeyFrame KeyTime="0" Value=".12"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="ToggleStates"> + <VisualStateGroup.Transitions> + <VisualTransition x:Name="DraggingToOnTransition" From="Dragging" GeneratedDuration="0" To="On"> + </VisualTransition> + <VisualTransition x:Name="DraggingToOffTransition" From="Dragging" GeneratedDuration="0" To="Off"> + </VisualTransition> + <VisualTransition x:Name="OnToOffTransition" From="On" To="Off"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" + Storyboard.TargetName="KnobShadowTranslateTransform"> + <EasingDoubleKeyFrame KeyTime="0" Value="23.5"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <QuadraticEase EasingMode="EaseOut"/> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition x:Name="OffToOnTransition" From="Off" GeneratedDuration="0" To="On"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" + Storyboard.TargetName="KnobShadowTranslateTransform"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="23.5"> + <EasingDoubleKeyFrame.EasingFunction> + <QuadraticEase EasingMode="EaseOut"/> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" + Storyboard.TargetName="KnobBorder" + Duration="0"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PrimaryHueMidBrush}" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" + Storyboard.TargetName="Track" + Duration="0"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PrimaryHueLightBrush}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Dragging"/> + <VisualState x:Name="Off"/> + <VisualState x:Name="On"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimation Storyboard.TargetProperty="X" + Storyboard.TargetName="KnobShadowTranslateTransform" + Duration="0" To="23.5" /> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" + Storyboard.TargetName="KnobBorder" + Duration="0"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PrimaryHueMidBrush}" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" + Storyboard.TargetName="Track" + Duration="0"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource PrimaryHueLightBrush}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="ContentStates"> + <VisualState x:Name="OffContent"> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="OffContentPresenter"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="OffContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0"> + <DiscreteObjectKeyFrame.Value> + <x:Boolean>True</x:Boolean> + </DiscreteObjectKeyFrame.Value> + </DiscreteObjectKeyFrame> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="OnContent"> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="OnContentPresenter"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="OnContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0"> + <DiscreteObjectKeyFrame.Value> + <x:Boolean>True</x:Boolean> + </DiscreteObjectKeyFrame.Value> + </DiscreteObjectKeyFrame> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <ContentPresenter x:Name="HeaderContentPresenter" AutomationProperties.AccessibilityView="Raw" Grid.ColumnSpan="2" ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" Foreground="{ThemeResource SystemControlForegroundBaseHighBrush}" IsHitTestVisible="False" Visibility="Collapsed" x:DeferLoadStrategy="Lazy"/> + <ContentPresenter x:Name="OffContentPresenter" AutomationProperties.AccessibilityView="Raw" ContentTemplate="{TemplateBinding OffContentTemplate}" Content="{TemplateBinding OffContent}" Grid.Column="1" Foreground="{TemplateBinding Foreground}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="False" Opacity="0" Grid.Row="1" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + <ContentPresenter x:Name="OnContentPresenter" AutomationProperties.AccessibilityView="Raw" ContentTemplate="{TemplateBinding OnContentTemplate}" Content="{TemplateBinding OnContent}" Grid.Column="1" Foreground="{TemplateBinding Foreground}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="False" Opacity="0" Grid.Row="1" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + <Grid Grid.ColumnSpan="2" Grid.Column="0" Control.IsTemplateFocusTarget="True" Margin="0,5" Grid.Row="1" /> + <Grid Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" x:Name="SwitchGrid" Margin="0 0 8 0"> + <Rectangle x:Name="Track" Fill="Black" HorizontalAlignment="Left" Height="15" Margin="4.211,5,4.211,0" Stroke="{x:Null}" VerticalAlignment="Top" Width="40" RadiusY="7.5" RadiusX="7.5" Opacity="0.26"/> + <uwp:Shadow x:Name="KnobShadow" HorizontalContentAlignment="Left"> + <uwp:Shadow.RenderTransform> + <TranslateTransform x:Name="KnobShadowTranslateTransform" X="0"/> + </uwp:Shadow.RenderTransform> + <Border Background="#FFFAFAFA" x:Name="KnobBorder" Width="24" Height="24" CornerRadius="12" HorizontalAlignment="Left" /> + </uwp:Shadow> + </Grid> + <Thumb x:Name="SwitchThumb" AutomationProperties.AccessibilityView="Raw" Grid.ColumnSpan="2" + Grid.Column="0" Grid.Row="1"> + <Thumb.Template> + <ControlTemplate TargetType="Thumb"> + <Rectangle Fill="Transparent"/> + </ControlTemplate> + </Thumb.Template> + </Thumb> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignCheckBox" TargetType="CheckBox"> + <Setter Property="Background" Value="{ThemeResource CheckBoxBackgroundUnchecked}"/> + <Setter Property="Foreground" Value="{ThemeResource CheckBoxForegroundUnchecked}"/> + <Setter Property="BorderBrush" Value="{ThemeResource CheckBoxBorderBrushUnchecked}"/> + <Setter Property="Padding" Value="8,5,0,0"/> + <Setter Property="HorizontalAlignment" Value="Left"/> + <Setter Property="VerticalAlignment" Value="Center"/> + <Setter Property="HorizontalContentAlignment" Value="Left"/> + <Setter Property="VerticalContentAlignment" Value="Top"/> + <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/> + <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/> + <Setter Property="MinWidth" Value="120"/> + <Setter Property="MinHeight" Value="32"/> + <Setter Property="UseSystemFocusVisuals" Value="True"/> + <Setter Property="FocusVisualMargin" Value="-7,-3,-7,-3"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="CheckBox"> + <Grid x:Name="RootGrid" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <!-- + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CombinedStates"> + <VisualState x:Name="UncheckedNormal"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundUnchecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundUnchecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushUnchecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeUnchecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillUnchecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundUnchecked}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="UncheckedPointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundUncheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundUncheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushUncheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeUncheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillUncheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundUncheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="UncheckedPressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundUncheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundUncheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushUncheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeUncheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillUncheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundUncheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="{ThemeResource CheckBoxCheckedStrokeThickness}" Storyboard.TargetProperty="StrokeThickness" Storyboard.TargetName="NormalRectangle"/> + </Storyboard> + </VisualState> + <VisualState x:Name="UncheckedDisabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundUncheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundUncheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushUncheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeUncheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillUncheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundUncheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="CheckedNormal"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundChecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundChecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushChecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeChecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillChecked}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundChecked}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="{ThemeResource CheckBoxCheckedStrokeThickness}" Storyboard.TargetProperty="StrokeThickness" Storyboard.TargetName="NormalRectangle"/> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="CheckedPointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundCheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundCheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushCheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeCheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillCheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundCheckedPointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="CheckedPressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundCheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundCheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushCheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeCheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillCheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundCheckedPressed}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="{ThemeResource CheckBoxCheckedStrokeThickness}" Storyboard.TargetProperty="StrokeThickness" Storyboard.TargetName="NormalRectangle"/> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="CheckedDisabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundCheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundCheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushCheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeCheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillCheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundCheckedDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="IndeterminateNormal"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundIndeterminate}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundIndeterminate}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushIndeterminate}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeIndeterminate}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillIndeterminate}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundIndeterminate}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Glyph" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value=""/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="IndeterminatePointerOver"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundIndeterminatePointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundIndeterminatePointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushIndeterminatePointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeIndeterminatePointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillIndeterminatePointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundIndeterminatePointerOver}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Glyph" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value=""/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="IndeterminatePressed"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundIndeterminatePressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundIndeterminatePressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushIndeterminatePressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeIndeterminatePressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillIndeterminatePressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundIndeterminatePressed}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Glyph" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value=""/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + <VisualState x:Name="IndeterminateDisabled"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentPresenter"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxForegroundIndeterminateDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBackgroundIndeterminateDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="RootGrid"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxBorderBrushIndeterminateDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundStrokeIndeterminateDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="NormalRectangle"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckBackgroundFillIndeterminateDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource CheckBoxCheckGlyphForegroundIndeterminateDisabled}"/> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Glyph" Storyboard.TargetName="CheckGlyph"> + <DiscreteObjectKeyFrame KeyTime="0" Value=""/> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CheckGlyph"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + --> + + <Viewbox Width="18" Height="18" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + FlowDirection="LeftToRight"> + <Canvas Width="24" Height="24"> + <Path x:Name="Graphic" + Data="M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z" + Fill="{ThemeResource MaterialDesignCheckBoxOff}" /> + <Ellipse x:Name="InteractionEllipse" Fill="{TemplateBinding Foreground}" Width="0" Height="0" Canvas.Top="12" Canvas.Left="12" Opacity="0" RenderTransformOrigin="0.5,0.5" + IsHitTestVisible="False"> + <Ellipse.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Ellipse.RenderTransform> + </Ellipse> + </Canvas> + </Viewbox> + <ContentPresenter x:Name="ContentPresenter" AutomationProperties.AccessibilityView="Raw" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTransitions="{TemplateBinding ContentTransitions}" Content="{TemplateBinding Content}" Grid.Column="1" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" TextWrapping="Wrap" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Amber.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Amber.Named.xaml new file mode 100644 index 000000000..8cf68eb55 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Amber.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="AmberPrimary50">#fff8e1</Color> + <Color x:Key="AmberPrimary50Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary100">#ffecb3</Color> + <Color x:Key="AmberPrimary100Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary200">#ffe082</Color> + <Color x:Key="AmberPrimary200Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary300">#ffd54f</Color> + <Color x:Key="AmberPrimary300Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary400">#ffca28</Color> + <Color x:Key="AmberPrimary400Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary500">#ffc107</Color> + <Color x:Key="AmberPrimary500Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary600">#ffb300</Color> + <Color x:Key="AmberPrimary600Foreground">#DD000000</Color> + <Color x:Key="AmberPrimary700">#ffa000</Color> + <Color x:Key="AmberPrimary700Foreground">#FF000000</Color> + <Color x:Key="AmberPrimary800">#ff8f00</Color> + <Color x:Key="AmberPrimary800Foreground">#FF000000</Color> + <Color x:Key="AmberPrimary900">#ff6f00</Color> + <Color x:Key="AmberPrimary900Foreground">#FF000000</Color> + <Color x:Key="AmberAccent100">#ffe57f</Color> + <Color x:Key="AmberAccent100Foreground">#DD000000</Color> + <Color x:Key="AmberAccent200">#ffd740</Color> + <Color x:Key="AmberAccent200Foreground">#DD000000</Color> + <Color x:Key="AmberAccent400">#ffc400</Color> + <Color x:Key="AmberAccent400Foreground">#DD000000</Color> + <Color x:Key="AmberAccent700">#ffab00</Color> + <Color x:Key="AmberAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Black.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Black.Named.xaml new file mode 100644 index 000000000..6085d3a25 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Black.Named.xaml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BlackPrimaryWhite">#ffffff</Color> + <Color x:Key="BlackPrimaryWhiteForeground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Blue.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Blue.Named.xaml new file mode 100644 index 000000000..d59edb5c8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Blue.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BluePrimary50">#e3f2fd</Color> + <Color x:Key="BluePrimary50Foreground">#DD000000</Color> + <Color x:Key="BluePrimary100">#bbdefb</Color> + <Color x:Key="BluePrimary100Foreground">#DD000000</Color> + <Color x:Key="BluePrimary200">#90caf9</Color> + <Color x:Key="BluePrimary200Foreground">#DD000000</Color> + <Color x:Key="BluePrimary300">#64b5f6</Color> + <Color x:Key="BluePrimary300Foreground">#DD000000</Color> + <Color x:Key="BluePrimary400">#42a5f5</Color> + <Color x:Key="BluePrimary400Foreground">#DD000000</Color> + <Color x:Key="BluePrimary500">#2196f3</Color> + <Color x:Key="BluePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="BluePrimary600">#1e88e5</Color> + <Color x:Key="BluePrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="BluePrimary700">#1976d2</Color> + <Color x:Key="BluePrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="BluePrimary800">#1565c0</Color> + <Color x:Key="BluePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="BluePrimary900">#0d47a1</Color> + <Color x:Key="BluePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="BlueAccent100">#82b1ff</Color> + <Color x:Key="BlueAccent100Foreground">#DD000000</Color> + <Color x:Key="BlueAccent200">#448aff</Color> + <Color x:Key="BlueAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="BlueAccent400">#2979ff</Color> + <Color x:Key="BlueAccent400Foreground">#FFFFFFFF</Color> + <Color x:Key="BlueAccent700">#2962ff</Color> + <Color x:Key="BlueAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.BlueGrey.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.BlueGrey.Named.xaml new file mode 100644 index 000000000..e1a6d6c13 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.BlueGrey.Named.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Blue GreyPrimary50">#eceff1</Color> + <Color x:Key="Blue GreyPrimary50Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary100">#cfd8dc</Color> + <Color x:Key="Blue GreyPrimary100Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary200">#b0bec5</Color> + <Color x:Key="Blue GreyPrimary200Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary300">#90a4ae</Color> + <Color x:Key="Blue GreyPrimary300Foreground">#DD000000</Color> + <Color x:Key="Blue GreyPrimary400">#78909c</Color> + <Color x:Key="Blue GreyPrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Blue GreyPrimary500">#607d8b</Color> + <Color x:Key="Blue GreyPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Blue GreyPrimary600">#546e7a</Color> + <Color x:Key="Blue GreyPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary700">#455a64</Color> + <Color x:Key="Blue GreyPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary800">#37474f</Color> + <Color x:Key="Blue GreyPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Blue GreyPrimary900">#263238</Color> + <Color x:Key="Blue GreyPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Brown.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Brown.Named.xaml new file mode 100644 index 000000000..3592a110f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Brown.Named.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="BrownPrimary50">#efebe9</Color> + <Color x:Key="BrownPrimary50Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary100">#d7ccc8</Color> + <Color x:Key="BrownPrimary100Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary200">#bcaaa4</Color> + <Color x:Key="BrownPrimary200Foreground">#DD000000</Color> + <Color x:Key="BrownPrimary300">#a1887f</Color> + <Color x:Key="BrownPrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="BrownPrimary400">#8d6e63</Color> + <Color x:Key="BrownPrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="BrownPrimary500">#795548</Color> + <Color x:Key="BrownPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary600">#6d4c41</Color> + <Color x:Key="BrownPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary700">#5d4037</Color> + <Color x:Key="BrownPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary800">#4e342e</Color> + <Color x:Key="BrownPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="BrownPrimary900">#3e2723</Color> + <Color x:Key="BrownPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Cyan.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Cyan.Named.xaml new file mode 100644 index 000000000..8259618bf --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Cyan.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="CyanPrimary50">#e0f7fa</Color> + <Color x:Key="CyanPrimary50Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary100">#b2ebf2</Color> + <Color x:Key="CyanPrimary100Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary200">#80deea</Color> + <Color x:Key="CyanPrimary200Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary300">#4dd0e1</Color> + <Color x:Key="CyanPrimary300Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary400">#26c6da</Color> + <Color x:Key="CyanPrimary400Foreground">#DD000000</Color> + <Color x:Key="CyanPrimary500">#00bcd4</Color> + <Color x:Key="CyanPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="CyanPrimary600">#00acc1</Color> + <Color x:Key="CyanPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="CyanPrimary700">#0097a7</Color> + <Color x:Key="CyanPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="CyanPrimary800">#00838f</Color> + <Color x:Key="CyanPrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="CyanPrimary900">#006064</Color> + <Color x:Key="CyanPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="CyanAccent100">#84ffff</Color> + <Color x:Key="CyanAccent100Foreground">#DD000000</Color> + <Color x:Key="CyanAccent200">#18ffff</Color> + <Color x:Key="CyanAccent200Foreground">#DD000000</Color> + <Color x:Key="CyanAccent400">#00e5ff</Color> + <Color x:Key="CyanAccent400Foreground">#DD000000</Color> + <Color x:Key="CyanAccent700">#00b8d4</Color> + <Color x:Key="CyanAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.DeepOrange.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.DeepOrange.Named.xaml new file mode 100644 index 000000000..dce48aee2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.DeepOrange.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep OrangePrimary50">#fbe9e7</Color> + <Color x:Key="Deep OrangePrimary50Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary100">#ffccbc</Color> + <Color x:Key="Deep OrangePrimary100Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary200">#ffab91</Color> + <Color x:Key="Deep OrangePrimary200Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary300">#ff8a65</Color> + <Color x:Key="Deep OrangePrimary300Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary400">#ff7043</Color> + <Color x:Key="Deep OrangePrimary400Foreground">#DD000000</Color> + <Color x:Key="Deep OrangePrimary500">#ff5722</Color> + <Color x:Key="Deep OrangePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangePrimary600">#f4511e</Color> + <Color x:Key="Deep OrangePrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangePrimary700">#e64a19</Color> + <Color x:Key="Deep OrangePrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangePrimary800">#d84315</Color> + <Color x:Key="Deep OrangePrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangePrimary900">#bf360c</Color> + <Color x:Key="Deep OrangePrimary900Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangeAccent100">#ff9e80</Color> + <Color x:Key="Deep OrangeAccent100Foreground">#DD000000</Color> + <Color x:Key="Deep OrangeAccent200">#ff6e40</Color> + <Color x:Key="Deep OrangeAccent200Foreground">#DD000000</Color> + <Color x:Key="Deep OrangeAccent400">#ff3d00</Color> + <Color x:Key="Deep OrangeAccent400Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep OrangeAccent700">#dd2c00</Color> + <Color x:Key="Deep OrangeAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.DeepPurple.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.DeepPurple.Named.xaml new file mode 100644 index 000000000..7a55f2efa --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.DeepPurple.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Deep PurplePrimary50">#ede7f6</Color> + <Color x:Key="Deep PurplePrimary50Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary100">#d1c4e9</Color> + <Color x:Key="Deep PurplePrimary100Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary200">#b39ddb</Color> + <Color x:Key="Deep PurplePrimary200Foreground">#DD000000</Color> + <Color x:Key="Deep PurplePrimary300">#9575cd</Color> + <Color x:Key="Deep PurplePrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep PurplePrimary400">#7e57c2</Color> + <Color x:Key="Deep PurplePrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep PurplePrimary500">#673ab7</Color> + <Color x:Key="Deep PurplePrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary600">#5e35b1</Color> + <Color x:Key="Deep PurplePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary700">#512da8</Color> + <Color x:Key="Deep PurplePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary800">#4527a0</Color> + <Color x:Key="Deep PurplePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurplePrimary900">#311b92</Color> + <Color x:Key="Deep PurplePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurpleAccent100">#b388ff</Color> + <Color x:Key="Deep PurpleAccent100Foreground">#DD000000</Color> + <Color x:Key="Deep PurpleAccent200">#7c4dff</Color> + <Color x:Key="Deep PurpleAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="Deep PurpleAccent400">#651fff</Color> + <Color x:Key="Deep PurpleAccent400Foreground">#DDFFFFFF</Color> + <Color x:Key="Deep PurpleAccent700">#6200ea</Color> + <Color x:Key="Deep PurpleAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Green.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Green.Named.xaml new file mode 100644 index 000000000..577156316 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Green.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreenPrimary50">#e8f5e9</Color> + <Color x:Key="GreenPrimary50Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary100">#c8e6c9</Color> + <Color x:Key="GreenPrimary100Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary200">#a5d6a7</Color> + <Color x:Key="GreenPrimary200Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary300">#81c784</Color> + <Color x:Key="GreenPrimary300Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary400">#66bb6a</Color> + <Color x:Key="GreenPrimary400Foreground">#DD000000</Color> + <Color x:Key="GreenPrimary500">#4caf50</Color> + <Color x:Key="GreenPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="GreenPrimary600">#43a047</Color> + <Color x:Key="GreenPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="GreenPrimary700">#388e3c</Color> + <Color x:Key="GreenPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="GreenPrimary800">#2e7d32</Color> + <Color x:Key="GreenPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenPrimary900">#1b5e20</Color> + <Color x:Key="GreenPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="GreenAccent100">#b9f6ca</Color> + <Color x:Key="GreenAccent100Foreground">#DD000000</Color> + <Color x:Key="GreenAccent200">#69f0ae</Color> + <Color x:Key="GreenAccent200Foreground">#DD000000</Color> + <Color x:Key="GreenAccent400">#00e676</Color> + <Color x:Key="GreenAccent400Foreground">#DD000000</Color> + <Color x:Key="GreenAccent700">#00c853</Color> + <Color x:Key="GreenAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Grey.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Grey.Named.xaml new file mode 100644 index 000000000..084389f0a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Grey.Named.xaml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="GreyPrimary50">#fafafa</Color> + <Color x:Key="GreyPrimary50Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary100">#f5f5f5</Color> + <Color x:Key="GreyPrimary100Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary200">#eeeeee</Color> + <Color x:Key="GreyPrimary200Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary300">#e0e0e0</Color> + <Color x:Key="GreyPrimary300Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary400">#bdbdbd</Color> + <Color x:Key="GreyPrimary400Foreground">#DD000000</Color> + <Color x:Key="GreyPrimary500">#9e9e9e</Color> + <Color x:Key="GreyPrimary500Foreground">#FF000000</Color> + <Color x:Key="GreyPrimary600">#757575</Color> + <Color x:Key="GreyPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary700">#616161</Color> + <Color x:Key="GreyPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary800">#424242</Color> + <Color x:Key="GreyPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="GreyPrimary900">#212121</Color> + <Color x:Key="GreyPrimary900Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Indigo.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Indigo.Named.xaml new file mode 100644 index 000000000..257cdbee5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Indigo.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="IndigoPrimary50">#e8eaf6</Color> + <Color x:Key="IndigoPrimary50Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary100">#c5cae9</Color> + <Color x:Key="IndigoPrimary100Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary200">#9fa8da</Color> + <Color x:Key="IndigoPrimary200Foreground">#DD000000</Color> + <Color x:Key="IndigoPrimary300">#7986cb</Color> + <Color x:Key="IndigoPrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="IndigoPrimary400">#5c6bc0</Color> + <Color x:Key="IndigoPrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="IndigoPrimary500">#3f51b5</Color> + <Color x:Key="IndigoPrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary600">#3949ab</Color> + <Color x:Key="IndigoPrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary700">#303f9f</Color> + <Color x:Key="IndigoPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary800">#283593</Color> + <Color x:Key="IndigoPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoPrimary900">#1a237e</Color> + <Color x:Key="IndigoPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="IndigoAccent100">#8c9eff</Color> + <Color x:Key="IndigoAccent100Foreground">#DD000000</Color> + <Color x:Key="IndigoAccent200">#536dfe</Color> + <Color x:Key="IndigoAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="IndigoAccent400">#3d5afe</Color> + <Color x:Key="IndigoAccent400Foreground">#FFFFFFFF</Color> + <Color x:Key="IndigoAccent700">#304ffe</Color> + <Color x:Key="IndigoAccent700Foreground">#DDFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.LightBlue.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.LightBlue.Named.xaml new file mode 100644 index 000000000..44b96bfeb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.LightBlue.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light BluePrimary50">#e1f5fe</Color> + <Color x:Key="Light BluePrimary50Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary100">#b3e5fc</Color> + <Color x:Key="Light BluePrimary100Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary200">#81d4fa</Color> + <Color x:Key="Light BluePrimary200Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary300">#4fc3f7</Color> + <Color x:Key="Light BluePrimary300Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary400">#29b6f6</Color> + <Color x:Key="Light BluePrimary400Foreground">#DD000000</Color> + <Color x:Key="Light BluePrimary500">#03a9f4</Color> + <Color x:Key="Light BluePrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="Light BluePrimary600">#039be5</Color> + <Color x:Key="Light BluePrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="Light BluePrimary700">#0288d1</Color> + <Color x:Key="Light BluePrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="Light BluePrimary800">#0277bd</Color> + <Color x:Key="Light BluePrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="Light BluePrimary900">#01579b</Color> + <Color x:Key="Light BluePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="Light BlueAccent100">#80d8ff</Color> + <Color x:Key="Light BlueAccent100Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent200">#40c4ff</Color> + <Color x:Key="Light BlueAccent200Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent400">#00b0ff</Color> + <Color x:Key="Light BlueAccent400Foreground">#DD000000</Color> + <Color x:Key="Light BlueAccent700">#0091ea</Color> + <Color x:Key="Light BlueAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.LightGreen.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.LightGreen.Named.xaml new file mode 100644 index 000000000..b2747119c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.LightGreen.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="Light GreenPrimary50">#f1f8e9</Color> + <Color x:Key="Light GreenPrimary50Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary100">#dcedc8</Color> + <Color x:Key="Light GreenPrimary100Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary200">#c5e1a5</Color> + <Color x:Key="Light GreenPrimary200Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary300">#aed581</Color> + <Color x:Key="Light GreenPrimary300Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary400">#9ccc65</Color> + <Color x:Key="Light GreenPrimary400Foreground">#DD000000</Color> + <Color x:Key="Light GreenPrimary500">#8bc34a</Color> + <Color x:Key="Light GreenPrimary500Foreground">#FF000000</Color> + <Color x:Key="Light GreenPrimary600">#7cb342</Color> + <Color x:Key="Light GreenPrimary600Foreground">#FF000000</Color> + <Color x:Key="Light GreenPrimary700">#689f38</Color> + <Color x:Key="Light GreenPrimary700Foreground">#FF000000</Color> + <Color x:Key="Light GreenPrimary800">#558b2f</Color> + <Color x:Key="Light GreenPrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="Light GreenPrimary900">#33691e</Color> + <Color x:Key="Light GreenPrimary900Foreground">#FFFFFFFF</Color> + <Color x:Key="Light GreenAccent100">#ccff90</Color> + <Color x:Key="Light GreenAccent100Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent200">#b2ff59</Color> + <Color x:Key="Light GreenAccent200Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent400">#76ff03</Color> + <Color x:Key="Light GreenAccent400Foreground">#DD000000</Color> + <Color x:Key="Light GreenAccent700">#64dd17</Color> + <Color x:Key="Light GreenAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Lime.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Lime.Named.xaml new file mode 100644 index 000000000..98ad5e7ef --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Lime.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="LimePrimary50">#f9fbe7</Color> + <Color x:Key="LimePrimary50Foreground">#DD000000</Color> + <Color x:Key="LimePrimary100">#f0f4c3</Color> + <Color x:Key="LimePrimary100Foreground">#DD000000</Color> + <Color x:Key="LimePrimary200">#e6ee9c</Color> + <Color x:Key="LimePrimary200Foreground">#DD000000</Color> + <Color x:Key="LimePrimary300">#dce775</Color> + <Color x:Key="LimePrimary300Foreground">#DD000000</Color> + <Color x:Key="LimePrimary400">#d4e157</Color> + <Color x:Key="LimePrimary400Foreground">#DD000000</Color> + <Color x:Key="LimePrimary500">#cddc39</Color> + <Color x:Key="LimePrimary500Foreground">#DD000000</Color> + <Color x:Key="LimePrimary600">#c0ca33</Color> + <Color x:Key="LimePrimary600Foreground">#DD000000</Color> + <Color x:Key="LimePrimary700">#afb42b</Color> + <Color x:Key="LimePrimary700Foreground">#FF000000</Color> + <Color x:Key="LimePrimary800">#9e9d24</Color> + <Color x:Key="LimePrimary800Foreground">#FF000000</Color> + <Color x:Key="LimePrimary900">#827717</Color> + <Color x:Key="LimePrimary900Foreground">#FFFFFFFF</Color> + <Color x:Key="LimeAccent100">#f4ff81</Color> + <Color x:Key="LimeAccent100Foreground">#DD000000</Color> + <Color x:Key="LimeAccent200">#eeff41</Color> + <Color x:Key="LimeAccent200Foreground">#DD000000</Color> + <Color x:Key="LimeAccent400">#c6ff00</Color> + <Color x:Key="LimeAccent400Foreground">#DD000000</Color> + <Color x:Key="LimeAccent700">#aeea00</Color> + <Color x:Key="LimeAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Orange.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Orange.Named.xaml new file mode 100644 index 000000000..8fb327050 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Orange.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="OrangePrimary50">#fff3e0</Color> + <Color x:Key="OrangePrimary50Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary100">#ffe0b2</Color> + <Color x:Key="OrangePrimary100Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary200">#ffcc80</Color> + <Color x:Key="OrangePrimary200Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary300">#ffb74d</Color> + <Color x:Key="OrangePrimary300Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary400">#ffa726</Color> + <Color x:Key="OrangePrimary400Foreground">#DD000000</Color> + <Color x:Key="OrangePrimary500">#ff9800</Color> + <Color x:Key="OrangePrimary500Foreground">#FF000000</Color> + <Color x:Key="OrangePrimary600">#fb8c00</Color> + <Color x:Key="OrangePrimary600Foreground">#FF000000</Color> + <Color x:Key="OrangePrimary700">#f57c00</Color> + <Color x:Key="OrangePrimary700Foreground">#FF000000</Color> + <Color x:Key="OrangePrimary800">#ef6c00</Color> + <Color x:Key="OrangePrimary800Foreground">#FFFFFFFF</Color> + <Color x:Key="OrangePrimary900">#e65100</Color> + <Color x:Key="OrangePrimary900Foreground">#FFFFFFFF</Color> + <Color x:Key="OrangeAccent100">#ffd180</Color> + <Color x:Key="OrangeAccent100Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent200">#ffab40</Color> + <Color x:Key="OrangeAccent200Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent400">#ff9100</Color> + <Color x:Key="OrangeAccent400Foreground">#DD000000</Color> + <Color x:Key="OrangeAccent700">#ff6d00</Color> + <Color x:Key="OrangeAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Pink.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Pink.Named.xaml new file mode 100644 index 000000000..6d6ec747e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Pink.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PinkPrimary50">#fce4ec</Color> + <Color x:Key="PinkPrimary50Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary100">#f8bbd0</Color> + <Color x:Key="PinkPrimary100Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary200">#f48fb1</Color> + <Color x:Key="PinkPrimary200Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary300">#f06292</Color> + <Color x:Key="PinkPrimary300Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary400">#ec407a</Color> + <Color x:Key="PinkPrimary400Foreground">#DD000000</Color> + <Color x:Key="PinkPrimary500">#e91e63</Color> + <Color x:Key="PinkPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkPrimary600">#d81b60</Color> + <Color x:Key="PinkPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkPrimary700">#c2185b</Color> + <Color x:Key="PinkPrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary800">#ad1457</Color> + <Color x:Key="PinkPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkPrimary900">#880e4f</Color> + <Color x:Key="PinkPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="PinkAccent100">#ff80ab</Color> + <Color x:Key="PinkAccent100Foreground">#DD000000</Color> + <Color x:Key="PinkAccent200">#ff4081</Color> + <Color x:Key="PinkAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkAccent400">#f50057</Color> + <Color x:Key="PinkAccent400Foreground">#FFFFFFFF</Color> + <Color x:Key="PinkAccent700">#c51162</Color> + <Color x:Key="PinkAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Purple.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Purple.Named.xaml new file mode 100644 index 000000000..f76c325e8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Purple.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="PurplePrimary50">#f3e5f5</Color> + <Color x:Key="PurplePrimary50Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary100">#e1bee7</Color> + <Color x:Key="PurplePrimary100Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary200">#ce93d8</Color> + <Color x:Key="PurplePrimary200Foreground">#DD000000</Color> + <Color x:Key="PurplePrimary300">#ba68c8</Color> + <Color x:Key="PurplePrimary300Foreground">#FFFFFFFF</Color> + <Color x:Key="PurplePrimary400">#ab47bc</Color> + <Color x:Key="PurplePrimary400Foreground">#FFFFFFFF</Color> + <Color x:Key="PurplePrimary500">#9c27b0</Color> + <Color x:Key="PurplePrimary500Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary600">#8e24aa</Color> + <Color x:Key="PurplePrimary600Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary700">#7b1fa2</Color> + <Color x:Key="PurplePrimary700Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary800">#6a1b9a</Color> + <Color x:Key="PurplePrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="PurplePrimary900">#4a148c</Color> + <Color x:Key="PurplePrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="PurpleAccent100">#ea80fc</Color> + <Color x:Key="PurpleAccent100Foreground">#DD000000</Color> + <Color x:Key="PurpleAccent200">#e040fb</Color> + <Color x:Key="PurpleAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="PurpleAccent400">#d500f9</Color> + <Color x:Key="PurpleAccent400Foreground">#FFFFFFFF</Color> + <Color x:Key="PurpleAccent700">#aa00ff</Color> + <Color x:Key="PurpleAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Red.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Red.Named.xaml new file mode 100644 index 000000000..16f204d42 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Red.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="RedPrimary50">#ffebee</Color> + <Color x:Key="RedPrimary50Foreground">#DD000000</Color> + <Color x:Key="RedPrimary100">#ffcdd2</Color> + <Color x:Key="RedPrimary100Foreground">#DD000000</Color> + <Color x:Key="RedPrimary200">#ef9a9a</Color> + <Color x:Key="RedPrimary200Foreground">#DD000000</Color> + <Color x:Key="RedPrimary300">#e57373</Color> + <Color x:Key="RedPrimary300Foreground">#DD000000</Color> + <Color x:Key="RedPrimary400">#ef5350</Color> + <Color x:Key="RedPrimary400Foreground">#DD000000</Color> + <Color x:Key="RedPrimary500">#f44336</Color> + <Color x:Key="RedPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="RedPrimary600">#e53935</Color> + <Color x:Key="RedPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="RedPrimary700">#d32f2f</Color> + <Color x:Key="RedPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="RedPrimary800">#c62828</Color> + <Color x:Key="RedPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="RedPrimary900">#b71c1c</Color> + <Color x:Key="RedPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="RedAccent100">#ff8a80</Color> + <Color x:Key="RedAccent100Foreground">#DD000000</Color> + <Color x:Key="RedAccent200">#ff5252</Color> + <Color x:Key="RedAccent200Foreground">#FFFFFFFF</Color> + <Color x:Key="RedAccent400">#ff1744</Color> + <Color x:Key="RedAccent400Foreground">#FFFFFFFF</Color> + <Color x:Key="RedAccent700">#d50000</Color> + <Color x:Key="RedAccent700Foreground">#FFFFFFFF</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Teal.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Teal.Named.xaml new file mode 100644 index 000000000..8617b4fa6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Teal.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="TealPrimary50">#e0f2f1</Color> + <Color x:Key="TealPrimary50Foreground">#DD000000</Color> + <Color x:Key="TealPrimary100">#b2dfdb</Color> + <Color x:Key="TealPrimary100Foreground">#DD000000</Color> + <Color x:Key="TealPrimary200">#80cbc4</Color> + <Color x:Key="TealPrimary200Foreground">#DD000000</Color> + <Color x:Key="TealPrimary300">#4db6ac</Color> + <Color x:Key="TealPrimary300Foreground">#DD000000</Color> + <Color x:Key="TealPrimary400">#26a69a</Color> + <Color x:Key="TealPrimary400Foreground">#DD000000</Color> + <Color x:Key="TealPrimary500">#009688</Color> + <Color x:Key="TealPrimary500Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary600">#00897b</Color> + <Color x:Key="TealPrimary600Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary700">#00796b</Color> + <Color x:Key="TealPrimary700Foreground">#FFFFFFFF</Color> + <Color x:Key="TealPrimary800">#00695c</Color> + <Color x:Key="TealPrimary800Foreground">#DDFFFFFF</Color> + <Color x:Key="TealPrimary900">#004d40</Color> + <Color x:Key="TealPrimary900Foreground">#DDFFFFFF</Color> + <Color x:Key="TealAccent100">#a7ffeb</Color> + <Color x:Key="TealAccent100Foreground">#DD000000</Color> + <Color x:Key="TealAccent200">#64ffda</Color> + <Color x:Key="TealAccent200Foreground">#DD000000</Color> + <Color x:Key="TealAccent400">#1de9b6</Color> + <Color x:Key="TealAccent400Foreground">#DD000000</Color> + <Color x:Key="TealAccent700">#00bfa5</Color> + <Color x:Key="TealAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Yellow.Named.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Yellow.Named.xaml new file mode 100644 index 000000000..5c3e57b1b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/Themes/MaterialDesignColor.Yellow.Named.xaml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> + <Color x:Key="YellowPrimary50">#fffde7</Color> + <Color x:Key="YellowPrimary50Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary100">#fff9c4</Color> + <Color x:Key="YellowPrimary100Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary200">#fff59d</Color> + <Color x:Key="YellowPrimary200Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary300">#fff176</Color> + <Color x:Key="YellowPrimary300Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary400">#ffee58</Color> + <Color x:Key="YellowPrimary400Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary500">#ffeb3b</Color> + <Color x:Key="YellowPrimary500Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary600">#fdd835</Color> + <Color x:Key="YellowPrimary600Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary700">#fbc02d</Color> + <Color x:Key="YellowPrimary700Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary800">#f9a825</Color> + <Color x:Key="YellowPrimary800Foreground">#DD000000</Color> + <Color x:Key="YellowPrimary900">#f57f17</Color> + <Color x:Key="YellowPrimary900Foreground">#FF000000</Color> + <Color x:Key="YellowAccent100">#ffff8d</Color> + <Color x:Key="YellowAccent100Foreground">#DD000000</Color> + <Color x:Key="YellowAccent200">#ffff00</Color> + <Color x:Key="YellowAccent200Foreground">#DD000000</Color> + <Color x:Key="YellowAccent400">#ffea00</Color> + <Color x:Key="YellowAccent400Foreground">#DD000000</Color> + <Color x:Key="YellowAccent700">#ffd600</Color> + <Color x:Key="YellowAccent700Foreground">#DD000000</Color> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/project.json b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/project.json new file mode 100644 index 000000000..1c58e67da --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Uwp/project.json @@ -0,0 +1,17 @@ +{ + "dependencies": { + "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0", + "Win2D.uwp": "1.3.0" + }, + "frameworks": { + "uap10.0": {} + }, + "runtimes": { + "win10-arm": {}, + "win10-arm-aot": {}, + "win10-x86": {}, + "win10-x86-aot": {}, + "win10-x64": {}, + "win10-x64-aot": {} + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj new file mode 100644 index 000000000..68b2f995d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/MaterialDesignThemes.Wpf.Tests.csproj @@ -0,0 +1,203 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\packages\xunit.core\build\xunit.core.props" Condition="Exists('..\packages\xunit.core\build\xunit.core.props')" Label="Paket" /> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{A361C80E-F6CD-4C57-A96C-002DB159C1F4}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignThemes.Wpf.Tests</RootNamespace> + <AssemblyName>MaterialDesignThemes.Wpf.Tests</AssemblyName> + <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="PaletteHelperFixture.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj"> + <Project>{F079FB0A-A8ED-4216-B6A5-345756751A04}</Project> + <Name>MaterialDesignThemes.Wpf</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <None Include="paket.references" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <Import Project="..\.paket\paket.targets" /> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="System.Configuration"> + <Paket>True</Paket> + </Reference> + <Reference Include="Castle.Core"> + <HintPath>..\packages\Castle.Core\lib\net45\Castle.Core.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="Moq"> + <HintPath>..\packages\Moq\lib\net45\Moq.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="NSubstitute"> + <HintPath>..\packages\NSubstitute\lib\net45\NSubstitute.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="Rhino.Mocks"> + <HintPath>..\packages\RhinoMocks\lib\net\Rhino.Mocks.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'"> + <ItemGroup> + <Reference Include="Shouldly"> + <HintPath>..\packages\Shouldly\lib\net40\Shouldly.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5.2'"> + <ItemGroup> + <Reference Include="Shouldly"> + <HintPath>..\packages\Shouldly\lib\net451\Shouldly.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'"> + <ItemGroup> + <Reference Include="System.Runtime.InteropServices.RuntimeInformation"> + <HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="xunit.abstractions"> + <HintPath>..\packages\xunit.abstractions\lib\net35\xunit.abstractions.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Import Project="..\packages\NETStandard.Library\build\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library\build\NETStandard.Library.targets')" Label="Paket" /> + <ItemGroup> + <Analyzer Include="..\packages\xunit.analyzers\analyzers\dotnet\cs\xunit.analyzers.dll"> + <Paket>True</Paket> + </Analyzer> + </ItemGroup> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="xunit.assert"> + <HintPath>..\packages\xunit.assert\lib\netstandard1.1\xunit.assert.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.2')"> + <ItemGroup> + <Reference Include="xunit.core"> + <HintPath>..\packages\xunit.extensibility.core\lib\netstandard1.1\xunit.core.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Choose> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5.2'"> + <ItemGroup> + <Reference Include="xunit.execution.desktop"> + <HintPath>..\packages\xunit.extensibility.execution\lib\net452\xunit.execution.desktop.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + <When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'"> + <ItemGroup> + <Reference Include="xunit.execution.dotnet"> + <HintPath>..\packages\xunit.extensibility.execution\lib\netstandard1.1\xunit.execution.dotnet.dll</HintPath> + <Private>True</Private> + <Paket>True</Paket> + </Reference> + </ItemGroup> + </When> + </Choose> + <Import Project="..\packages\xunit.core\build\xunit.core.targets" Condition="Exists('..\packages\xunit.core\build\xunit.core.targets')" Label="Paket" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/PaletteHelperFixture.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/PaletteHelperFixture.cs new file mode 100644 index 000000000..ec6782053 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/PaletteHelperFixture.cs @@ -0,0 +1,48 @@ +using Moq; +using NSubstitute; +using Rhino.Mocks; +using Xunit; +using MockRepository = Rhino.Mocks.MockRepository; + +namespace MaterialDesignThemes.Wpf.Tests +{ + /// <summary> + /// Proves that PaletteHelper is mockable, thus allowing TDD for view models which may want to change + /// an application's palette. + /// </summary> + /// <remarks> + /// This is not an exhaustive test of the class itself. + /// </remarks> + public class PaletteHelperFixture + { + [Fact] + public void IsMockableWithRhino() + { + var paletteHelper = MockRepository.GenerateStub<PaletteHelper>(); + + paletteHelper.SetLightDark(true); + + paletteHelper.AssertWasCalled(ph => ph.SetLightDark(true)); + } + + [Fact] + public void IsMockableWithMoq() + { + var mock = new Mock<PaletteHelper>(); + + mock.Object.SetLightDark(true); + + mock.Verify(ph => ph.SetLightDark(true)); + } + + [Fact] + public void IsMockableWithNSubstitute() + { + var mock = Substitute.For<PaletteHelper>(); + + mock.SetLightDark(true); + + mock.Received(1).SetLightDark(true); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..9200ef3ee --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignThemes.Wpf.Tests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MaterialDesignThemes.Wpf.Tests")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a361c80e-f6cd-4c57-a96c-002db159c1f4")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/paket.references b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/paket.references new file mode 100644 index 000000000..6fb2b85cb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf.Tests/paket.references @@ -0,0 +1,5 @@ +Moq +NSubstitute +RhinoMocks +Shouldly +xunit
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Badged.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Badged.cs new file mode 100644 index 000000000..cefc17add --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Badged.cs @@ -0,0 +1,64 @@ +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Media.Animation; +using ControlzEx; + +namespace MaterialDesignThemes.Wpf +{ + [TemplatePart(Name = BadgeContainerPartName, Type = typeof(UIElement))] + public class Badged : BadgedEx + { + public static readonly DependencyProperty BadgeChangedStoryboardProperty = DependencyProperty.Register( + "BadgeChangedStoryboard", typeof(Storyboard), typeof(Badged), new PropertyMetadata(default(Storyboard))); + + public Storyboard BadgeChangedStoryboard + { + get { return (Storyboard)this.GetValue(BadgeChangedStoryboardProperty); } + set { this.SetValue(BadgeChangedStoryboardProperty, value); } + } + + static Badged() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Badged), new FrameworkPropertyMetadata(typeof(Badged))); + } + + public static readonly DependencyProperty BadgeColorZoneModeProperty = DependencyProperty.Register( + "BadgeColorZoneMode", typeof(ColorZoneMode), typeof(Badged), new PropertyMetadata(default(ColorZoneMode))); + + public ColorZoneMode BadgeColorZoneMode + { + get { return (ColorZoneMode) GetValue(BadgeColorZoneModeProperty); } + set { SetValue(BadgeColorZoneModeProperty, value); } + } + + public override void OnApplyTemplate() + { + this.BadgeChanged -= this.OnBadgeChanged; + + base.OnApplyTemplate(); + + this.BadgeChanged += this.OnBadgeChanged; + } + + private void OnBadgeChanged(object sender, RoutedPropertyChangedEventArgs<object> e) + { + var sb = this.BadgeChangedStoryboard; + if (this._badgeContainer != null && sb != null) + { + try + { + this._badgeContainer.BeginStoryboard(sb); + } + catch (Exception exc) + { + Trace.WriteLine("Error during Storyboard execution, exception will be rethrown."); + Trace.WriteLine($"{exc.Message} ({exc.GetType().FullName})"); + Trace.WriteLine(exc.StackTrace); + + throw; + } + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ButtonProgressAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ButtonProgressAssist.cs new file mode 100644 index 000000000..199589f43 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ButtonProgressAssist.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + public static class ButtonProgressAssist + { + public static readonly DependencyProperty MinimumProperty = DependencyProperty.RegisterAttached( + "Minimum", typeof(double), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(default(double))); + + public static void SetMinimum(DependencyObject element, double value) + { + element.SetValue(MinimumProperty, value); + } + + public static double GetMinimum(DependencyObject element) + { + return (double)element.GetValue(MinimumProperty); + } + + public static readonly DependencyProperty MaximumProperty = DependencyProperty.RegisterAttached( + "Maximum", typeof(double), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(100.0)); + + public static void SetMaximum(DependencyObject element, double value) + { + element.SetValue(MaximumProperty, value); + } + + public static double GetMaximum(DependencyObject element) + { + return (double)element.GetValue(MaximumProperty); + } + + public static readonly DependencyProperty ValueProperty = DependencyProperty.RegisterAttached( + "Value", typeof(double), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(default(double))); + + public static void SetValue(DependencyObject element, double value) + { + element.SetValue(ValueProperty, value); + } + + public static double GetValue(DependencyObject element) + { + return (double)element.GetValue(ValueProperty); + } + + public static readonly DependencyProperty IsIndeterminateProperty = DependencyProperty.RegisterAttached( + "IsIndeterminate", typeof(bool), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(default(bool))); + + public static void SetIsIndeterminate(DependencyObject element, bool isIndeterminate) + { + element.SetValue(IsIndeterminateProperty, isIndeterminate); + } + + public static bool GetIsIndeterminate(DependencyObject element) + { + return (bool)element.GetValue(IndicatorForegroundProperty); + } + + public static readonly DependencyProperty IndicatorForegroundProperty = DependencyProperty.RegisterAttached( + "IndicatorForeground", typeof(Brush), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(default(Brush))); + + public static void SetIndicatorForeground(DependencyObject element, Brush indicatorForeground) + { + element.SetValue(IndicatorForegroundProperty, indicatorForeground); + } + + public static Brush GetIndicatorForeground(DependencyObject element) + { + return (Brush)element.GetValue(IndicatorForegroundProperty); + } + + public static readonly DependencyProperty IndicatorBackgroundProperty = DependencyProperty.RegisterAttached( + "IndicatorBackground", typeof(Brush), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(default(Brush))); + + public static void SetIndicatorBackground(DependencyObject element, Brush indicatorBackground) + { + element.SetValue(IndicatorBackgroundProperty, indicatorBackground); + } + + public static Brush GetIndicatorBackground(DependencyObject element) + { + return (Brush)element.GetValue(IndicatorForegroundProperty); + } + + public static readonly DependencyProperty IsIndicatorVisibleProperty = DependencyProperty.RegisterAttached( + "IsIndicatorVisible", typeof(bool), typeof(ButtonProgressAssist), new FrameworkPropertyMetadata(default(bool))); + + public static void SetIsIndicatorVisible(DependencyObject element, bool isIndicatorVisible) + { + element.SetValue(IsIndicatorVisibleProperty, isIndicatorVisible); + } + + public static bool GetIsIndicatorVisible(DependencyObject element) + { + return (bool)element.GetValue(IndicatorForegroundProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Card.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Card.cs new file mode 100644 index 000000000..464523718 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Card.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// A card is a content control, styled according to Material Design guidelines. + /// </summary> + [TemplatePart(Name = ClipBorderPartName, Type = typeof(Border))] + public class Card : ContentControl + { + public const string ClipBorderPartName = "PART_ClipBorder"; + + private Border _clipBorder; + + static Card() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Card), new FrameworkPropertyMetadata(typeof(Card))); + } + + public override void OnApplyTemplate() + { + base.OnApplyTemplate(); + + _clipBorder = Template.FindName(ClipBorderPartName, this) as Border; + } + + protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo) + { + base.OnRenderSizeChanged(sizeInfo); + + if (_clipBorder == null) return; + + var farPoint = new Point( + Math.Max(0, _clipBorder.ActualWidth), + Math.Max(0, _clipBorder.ActualHeight)); + + var clipRect = new Rect( + new Point(), + new Point(farPoint.X, farPoint.Y)); + + ContentClip = new RectangleGeometry(clipRect, UniformCornerRadius, UniformCornerRadius); + } + + public static readonly DependencyProperty UniformCornerRadiusProperty = DependencyProperty.Register( + nameof(UniformCornerRadius), typeof (double), typeof (Card), new FrameworkPropertyMetadata(2.0, FrameworkPropertyMetadataOptions.AffectsMeasure)); + + public double UniformCornerRadius + { + get { return (double) GetValue(UniformCornerRadiusProperty); } + set { SetValue(UniformCornerRadiusProperty, value); } + } + + private static readonly DependencyPropertyKey ContentClipPropertyKey = + DependencyProperty.RegisterReadOnly( + "ContentClip", typeof (Geometry), typeof (Card), + new PropertyMetadata(default(Geometry))); + + public static readonly DependencyProperty ContentClipProperty = + ContentClipPropertyKey.DependencyProperty; + + public Geometry ContentClip + { + get { return (Geometry) GetValue(ContentClipProperty); } + private set { SetValue(ContentClipPropertyKey, value); } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Chip.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Chip.cs new file mode 100644 index 000000000..d3650da64 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Chip.cs @@ -0,0 +1,132 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Input; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + [TemplatePart(Name = DeleteButtonPartName, Type = typeof(Button))] + public class Chip : ButtonBase + { + private ButtonBase _deleteButton; + + public const string DeleteButtonPartName = "PART_DeleteButton"; + + static Chip() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Chip), new FrameworkPropertyMetadata(typeof(Chip))); + } + + public static readonly DependencyProperty IconProperty = DependencyProperty.Register( + "Icon", typeof (object), typeof (Chip), new PropertyMetadata(default(object))); + + public object Icon + { + get { return (object) GetValue(IconProperty); } + set { SetValue(IconProperty, value); } + } + + public static readonly DependencyProperty IconBackgroundProperty = DependencyProperty.Register( + "IconBackground", typeof (Brush), typeof (Chip), new PropertyMetadata(default(Brush))); + + public Brush IconBackground + { + get { return (Brush) GetValue(IconBackgroundProperty); } + set { SetValue(IconBackgroundProperty, value); } + } + + public static readonly DependencyProperty IconForegroundProperty = DependencyProperty.Register( + "IconForeground", typeof (Brush), typeof (Chip), new PropertyMetadata(default(Brush))); + + public Brush IconForeground + { + get { return (Brush) GetValue(IconForegroundProperty); } + set { SetValue(IconForegroundProperty, value); } + } + + public static readonly DependencyProperty IsDeletableProperty = DependencyProperty.Register( + "IsDeletable", typeof (bool), typeof (Chip), new PropertyMetadata(default(bool))); + + /// <summary> + /// Indicates if the delete button should be visible. + /// </summary> + public bool IsDeletable + { + get { return (bool) GetValue(IsDeletableProperty); } + set { SetValue(IsDeletableProperty, value); } + } + + public static readonly DependencyProperty DeleteCommandProperty = DependencyProperty.Register( + "DeleteCommand", typeof (ICommand), typeof (Chip), new PropertyMetadata(default(ICommand))); + + public ICommand DeleteCommand + { + get { return (ICommand) GetValue(DeleteCommandProperty); } + set { SetValue(DeleteCommandProperty, value); } + } + + public static readonly DependencyProperty DeleteCommandParameterProperty = DependencyProperty.Register( + "DeleteCommandParameter", typeof (object), typeof (Chip), new PropertyMetadata(default(object))); + + public object DeleteCommandParameter + { + get { return (object) GetValue(DeleteCommandParameterProperty); } + set { SetValue(DeleteCommandParameterProperty, value); } + } + + public static readonly DependencyProperty DeleteToolTipProperty = DependencyProperty.Register( + "DeleteToolTip", typeof (object), typeof (Chip), new PropertyMetadata(default(object))); + + public object DeleteToolTip + { + get { return (object) GetValue(DeleteToolTipProperty); } + set { SetValue(DeleteToolTipProperty, value); } + } + + /// <summary> + /// Event correspond to delete button left mouse button click + /// </summary> + public static readonly RoutedEvent DeleteClickEvent = EventManager.RegisterRoutedEvent("DeleteClick", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(Chip)); + + /// <summary> + /// Add / Remove DeleteClickEvent handler + /// </summary> + [Category("Behavior")] + public event RoutedEventHandler DeleteClick { add { AddHandler(DeleteClickEvent, value); } remove { RemoveHandler(DeleteClickEvent, value); } } + + public override void OnApplyTemplate() + { + if (_deleteButton != null) + _deleteButton.Click -= DeleteButtonOnClick; + + _deleteButton = GetTemplateChild(DeleteButtonPartName) as ButtonBase; + if (_deleteButton != null) + _deleteButton.Click += DeleteButtonOnClick; + + base.OnApplyTemplate(); + } + + protected virtual void OnDeleteClick() + { + var newEvent = new RoutedEventArgs(DeleteClickEvent, this); + RaiseEvent(newEvent); + + var command = DeleteCommand; + if (command != null && command.CanExecute(DeleteCommandParameter)) + command.Execute(DeleteCommandParameter); + } + + private void DeleteButtonOnClick(object sender, RoutedEventArgs routedEventArgs) + { + OnDeleteClick(); + routedEventArgs.Handled = true; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Clock.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Clock.cs new file mode 100644 index 000000000..8a7e9f17d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Clock.cs @@ -0,0 +1,400 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Converters; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MaterialDesignThemes.Wpf.Converters; +using MaterialDesignThemes.Wpf.Transitions; + +namespace MaterialDesignThemes.Wpf +{ + public enum ClockDisplayMode + { + Hours, + Minutes + } + + public enum ClockDisplayAutomation + { + None, + Cycle, + ToMinutesOnly + } + + [TemplatePart(Name = HoursCanvasPartName, Type = typeof (Canvas))] + [TemplatePart(Name = MinutesCanvasPartName, Type = typeof(Canvas))] + [TemplatePart(Name = MinuteReadOutPartName, Type = typeof(TextBlock))] + [TemplatePart(Name = HourReadOutPartName, Type = typeof(TextBlock))] + [TemplateVisualState(GroupName = "DisplayModeStates", Name = HoursVisualStateName)] + [TemplateVisualState(GroupName = "DisplayModeStates", Name = MinutesVisualStateName)] + public class Clock : Control + { + public const string HoursCanvasPartName = "PART_HoursCanvas"; + public const string MinutesCanvasPartName = "PART_MinutesCanvas"; + public const string MinuteReadOutPartName = "PART_MinuteReadOut"; + public const string HourReadOutPartName = "PART_HourReadOut"; + + public const string HoursVisualStateName = "Hours"; + public const string MinutesVisualStateName = "Minutes"; + + private Point _centreCanvas = new Point(0, 0); + private Point _currentStartPosition = new Point(0, 0); + private TextBlock _hourReadOutPartName; + private TextBlock _minuteReadOutPartName; + + static Clock() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof (Clock), new FrameworkPropertyMetadata(typeof (Clock))); + } + + public Clock() + { + AddHandler(ClockItemButton.DragStartedEvent, new DragStartedEventHandler(ClockItemDragStartedHandler)); + AddHandler(ClockItemButton.DragDeltaEvent, new DragDeltaEventHandler(ClockItemDragDeltaHandler)); + AddHandler(ClockItemButton.DragCompletedEvent, new DragCompletedEventHandler(ClockItemDragCompletedHandler)); + } + + public static readonly DependencyProperty TimeProperty = DependencyProperty.Register( + nameof(Time), typeof (DateTime), typeof (Clock), new FrameworkPropertyMetadata(default(DateTime), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, TimePropertyChangedCallback)); + + private static void TimePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var clock = (Clock) dependencyObject; + SetFlags(clock); + } + + public DateTime Time + { + get { return (DateTime) GetValue(TimeProperty); } + set { SetValue(TimeProperty, value); } + } + + private static readonly DependencyPropertyKey IsMidnightHourPropertyKey = + DependencyProperty.RegisterReadOnly( + "IsMidnightHour", typeof (bool), typeof (Clock), + new PropertyMetadata(default(bool))); + + public static readonly DependencyProperty IsMidnightHourProperty = + IsMidnightHourPropertyKey.DependencyProperty; + + public bool IsMidnightHour + { + get { return (bool)GetValue(IsMidnightHourProperty); } + private set { SetValue(IsMidnightHourPropertyKey, value); } + } + + private static readonly DependencyPropertyKey IsMiddayHourPropertyKey = + DependencyProperty.RegisterReadOnly( + "IsMiddayHour", typeof (bool), typeof (Clock), + new PropertyMetadata(default(bool))); + + public static readonly DependencyProperty IsMiddayHourProperty = + IsMiddayHourPropertyKey.DependencyProperty; + + public bool IsMiddayHour + { + get { return (bool) GetValue(IsMiddayHourProperty); } + private set { SetValue(IsMiddayHourPropertyKey, value); } + } + + public static readonly DependencyProperty IsPostMeridiemProperty = DependencyProperty.Register( + nameof(IsPostMeridiem), typeof (bool), typeof (Clock), new PropertyMetadata(default(bool), IsPostMeridiemPropertyChangedCallback)); + + private static void IsPostMeridiemPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var clock = (Clock)dependencyObject; + if (clock.IsPostMeridiem && clock.Time.Hour < 12) + clock.Time = new DateTime(clock.Time.Year, clock.Time.Month, clock.Time.Day, clock.Time.Hour + 12, clock.Time.Minute, clock.Time.Second); + else if (!clock.IsPostMeridiem && clock.Time.Hour >= 12) + clock.Time = new DateTime(clock.Time.Year, clock.Time.Month, clock.Time.Day, clock.Time.Hour - 12, clock.Time.Minute, clock.Time.Second); + } + + public bool IsPostMeridiem + { + get { return (bool) GetValue(IsPostMeridiemProperty); } + set { SetValue(IsPostMeridiemProperty, value); } + } + + public static readonly DependencyProperty Is24HoursProperty = DependencyProperty.Register( + nameof(Is24Hours), typeof (bool), typeof (Clock), new PropertyMetadata(default(bool))); + + public bool Is24Hours + { + get { return (bool) GetValue(Is24HoursProperty); } + set { SetValue(Is24HoursProperty, value); } + } + + + public static readonly DependencyProperty DisplayModeProperty = DependencyProperty.Register( + nameof(DisplayMode), typeof (ClockDisplayMode), typeof (Clock), new FrameworkPropertyMetadata(ClockDisplayMode.Hours, DisplayModePropertyChangedCallback)); + + private static void DisplayModePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((Clock)dependencyObject).GotoVisualState(!TransitionAssist.GetDisableTransitions(dependencyObject)); + } + + public ClockDisplayMode DisplayMode + { + get { return (ClockDisplayMode) GetValue(DisplayModeProperty); } + set { SetValue(DisplayModeProperty, value); } + } + + public static readonly DependencyProperty DisplayAutomationProperty = DependencyProperty.Register( + nameof(DisplayAutomation), typeof (ClockDisplayAutomation), typeof (Clock), new PropertyMetadata(default(ClockDisplayAutomation))); + + public ClockDisplayAutomation DisplayAutomation + { + get { return (ClockDisplayAutomation) GetValue(DisplayAutomationProperty); } + set { SetValue(DisplayAutomationProperty, value); } + } + + public static readonly DependencyProperty ButtonStyleProperty = DependencyProperty.Register( + nameof(ButtonStyle), typeof (Style), typeof (Clock), new PropertyMetadata(default(Style))); + + public Style ButtonStyle + { + get { return (Style) GetValue(ButtonStyleProperty); } + set { SetValue(ButtonStyleProperty, value); } + } + + public static readonly DependencyProperty LesserButtonStyleProperty = DependencyProperty.Register( + nameof(LesserButtonStyle), typeof (Style), typeof (Clock), new PropertyMetadata(default(Style))); + + public Style LesserButtonStyle + { + get { return (Style) GetValue(LesserButtonStyleProperty); } + set { SetValue(LesserButtonStyleProperty, value); } + } + + public static readonly DependencyProperty ButtonRadiusRatioProperty = DependencyProperty.Register( + nameof(ButtonRadiusRatio), typeof (double), typeof (Clock), new PropertyMetadata(default(double))); + + public double ButtonRadiusRatio + { + get { return (double) GetValue(ButtonRadiusRatioProperty); } + set { SetValue(ButtonRadiusRatioProperty, value); } + } + + public static readonly DependencyProperty ButtonRadiusInnerRatioProperty = DependencyProperty.Register( + nameof(ButtonRadiusInnerRatio), typeof (double), typeof (Clock), new PropertyMetadata(default(double))); + + public double ButtonRadiusInnerRatio + { + get { return (double) GetValue(ButtonRadiusInnerRatioProperty); } + set { SetValue(ButtonRadiusInnerRatioProperty, value); } + } + + private static readonly DependencyPropertyKey HourLineAnglePropertyKey = + DependencyProperty.RegisterReadOnly( + "HourLineAngle", typeof (double), typeof (Clock), + new PropertyMetadata(default(double))); + + public static readonly DependencyProperty HourLineAngleProperty = + HourLineAnglePropertyKey.DependencyProperty; + + public double HourLineAngle + { + get { return (double) GetValue(HourLineAngleProperty); } + private set { SetValue(HourLineAnglePropertyKey, value); } + } + + public static readonly RoutedEvent ClockChoiceMadeEvent = + EventManager.RegisterRoutedEvent( + "ClockChoiceMade", + RoutingStrategy.Bubble, + typeof (ClockChoiceMadeEventHandler), + typeof (Clock)); + + private static void OnClockChoiceMade(DependencyObject d, ClockDisplayMode displayMode) + { + var instance = (Clock)d; + var dragCompletedEventArgs = new ClockChoiceMadeEventArgs(displayMode) + { + RoutedEvent = ClockChoiceMadeEvent, + }; + + instance.RaiseEvent(dragCompletedEventArgs); + } + + public override void OnApplyTemplate() + { + SetFlags(this); + + //TODO we need to re-do this if the flip from 12-24 + GenerateButtons(); + + if (_hourReadOutPartName != null) + _hourReadOutPartName.PreviewMouseLeftButtonDown -= HourReadOutPartNameOnPreviewMouseLeftButtonDown; + if (_minuteReadOutPartName != null) + _minuteReadOutPartName.PreviewMouseLeftButtonDown -= MinuteReadOutPartNameOnPreviewMouseLeftButtonDown; + _hourReadOutPartName = GetTemplateChild(HourReadOutPartName) as TextBlock; + _minuteReadOutPartName = GetTemplateChild(MinuteReadOutPartName) as TextBlock; + if (_hourReadOutPartName != null) + _hourReadOutPartName.PreviewMouseLeftButtonDown += HourReadOutPartNameOnPreviewMouseLeftButtonDown; + if (_minuteReadOutPartName != null) + _minuteReadOutPartName.PreviewMouseLeftButtonDown += MinuteReadOutPartNameOnPreviewMouseLeftButtonDown; + + base.OnApplyTemplate(); + + GotoVisualState(false); + } + + private void GotoVisualState(bool useTransitions) + { + VisualStateManager.GoToState(this, + DisplayMode == ClockDisplayMode.Minutes ? MinutesVisualStateName : HoursVisualStateName, useTransitions); + } + + private void GenerateButtons() + { + var hoursCanvas = GetTemplateChild(HoursCanvasPartName) as Canvas; + if (hoursCanvas != null) + { + if (Is24Hours) + { + GenerateButtons(hoursCanvas, Enumerable.Range(13, 12).ToList(), ButtonRadiusRatio, + new ClockItemIsCheckedConverter(() => Time, ClockDisplayMode.Hours, Is24Hours), i => "ButtonStyle", "00"); + GenerateButtons(hoursCanvas, Enumerable.Range(1, 12).ToList(), ButtonRadiusInnerRatio, + new ClockItemIsCheckedConverter(() => Time, ClockDisplayMode.Hours, Is24Hours), i => "ButtonStyle", "#"); + } + else + GenerateButtons(hoursCanvas, Enumerable.Range(1, 12).ToList(), ButtonRadiusRatio, + new ClockItemIsCheckedConverter(() => Time, ClockDisplayMode.Hours, Is24Hours), i => "ButtonStyle", "0"); + } + + var minutesCanvas = GetTemplateChild(MinutesCanvasPartName) as Canvas; + if (minutesCanvas != null) + GenerateButtons(minutesCanvas, Enumerable.Range(1, 60).ToList(), ButtonRadiusRatio, + new ClockItemIsCheckedConverter(() => Time, ClockDisplayMode.Minutes, Is24Hours), + i => ((i/5.0)%1) == 0.0 ? "ButtonStyle" : "LesserButtonStyle", "0"); + } + + private void MinuteReadOutPartNameOnPreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) + { + SetCurrentValue(Clock.DisplayModeProperty, ClockDisplayMode.Minutes); + } + + private void HourReadOutPartNameOnPreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs mouseButtonEventArgs) + { + SetCurrentValue(Clock.DisplayModeProperty, ClockDisplayMode.Hours); + } + + private void GenerateButtons(Panel canvas, ICollection<int> range, double radiusRatio, IValueConverter isCheckedConverter, Func<int, string> stylePropertySelector, + string format) + { + var anglePerItem = 360.0 / range.Count; + var radiansPerItem = anglePerItem * (Math.PI / 180); + + //nothing fancy with sizing/measuring...we are demanding a height + if (canvas.Width < 10.0 || Math.Abs(canvas.Height - canvas.Width) > 0.0) return; + + _centreCanvas = new Point(canvas.Width / 2, canvas.Height / 2); + var hypotenuseRadius = _centreCanvas.X * radiusRatio; + + foreach (var i in range) + { + var button = new ClockItemButton(); + button.SetBinding(StyleProperty, GetBinding(stylePropertySelector(i))); + + var adjacent = Math.Cos(i*radiansPerItem)*hypotenuseRadius; + var opposite = Math.Sin(i*radiansPerItem)*hypotenuseRadius; + + button.CentreX = _centreCanvas.X + opposite; + button.CentreY = _centreCanvas.Y - adjacent; + + button.SetBinding(ToggleButton.IsCheckedProperty, GetBinding("Time", converter: isCheckedConverter, converterParameter: i)); + button.SetBinding(Canvas.LeftProperty, GetBinding("X", button)); + button.SetBinding(Canvas.TopProperty, GetBinding("Y", button)); + + button.Content = (i == 60 ? 0 : (i == 24 ? 0 : i)).ToString(format); + canvas.Children.Add(button); + } + } + + + private void ClockItemDragCompletedHandler(object sender, DragCompletedEventArgs e) + { + OnClockChoiceMade(this, DisplayMode); + + switch (DisplayAutomation) + { + case ClockDisplayAutomation.None: + break; + case ClockDisplayAutomation.Cycle: + DisplayMode = DisplayMode == ClockDisplayMode.Hours ? ClockDisplayMode.Minutes : ClockDisplayMode.Hours; + break; + case ClockDisplayAutomation.ToMinutesOnly: + if (DisplayMode == ClockDisplayMode.Hours) + DisplayMode = ClockDisplayMode.Minutes; + break; + default: + throw new ArgumentOutOfRangeException(); + } + } + + private void ClockItemDragStartedHandler(object sender, DragStartedEventArgs dragStartedEventArgs) + { + _currentStartPosition = new Point(dragStartedEventArgs.HorizontalOffset, dragStartedEventArgs.VerticalOffset); + } + + private void ClockItemDragDeltaHandler(object sender, DragDeltaEventArgs dragDeltaEventArgs) + { + var currentDragPosition = new Point(_currentStartPosition.X + dragDeltaEventArgs.HorizontalChange, _currentStartPosition.Y + dragDeltaEventArgs.VerticalChange); + var delta = new Point(currentDragPosition.X - _centreCanvas.X, currentDragPosition.Y - _centreCanvas.Y); + + var angle = Math.Atan2(delta.X, -delta.Y); + if (angle < 0) angle += 2 * Math.PI; + + DateTime time; + if (DisplayMode == ClockDisplayMode.Hours) + { + if (Is24Hours) + { + var outerBoundary = (_centreCanvas.X*ButtonRadiusInnerRatio + + (_centreCanvas.X*ButtonRadiusRatio - _centreCanvas.X*ButtonRadiusInnerRatio)/2); + var sqrt = Math.Sqrt((_centreCanvas.X - currentDragPosition.X) * (_centreCanvas.X - currentDragPosition.X) + (_centreCanvas.Y - currentDragPosition.Y) * (_centreCanvas.Y - currentDragPosition.Y)); + var localIsPostMerdiem = sqrt > outerBoundary; + + var hour = (int) Math.Round(6*angle/Math.PI, MidpointRounding.AwayFromZero)%12 + (localIsPostMerdiem ? 12 : 0); + if (hour == 12) + hour = 0; + else if (hour == 0) + hour = 12; + time = new DateTime(Time.Year, Time.Month, Time.Day, hour, Time.Minute, Time.Second); + } + else + time = new DateTime(Time.Year, Time.Month, Time.Day, + (int) Math.Round(6*angle/Math.PI, MidpointRounding.AwayFromZero)%12 + (IsPostMeridiem ? 12 : 0), + Time.Minute, Time.Second); + } + else + time = new DateTime(Time.Year, Time.Month, Time.Day, Time.Hour, (int)Math.Round(30 * angle / Math.PI, MidpointRounding.AwayFromZero) % 60, Time.Second); + + SetCurrentValue(TimeProperty, time); + } + + private static void SetFlags(Clock clock) + { + clock.IsPostMeridiem = clock.Time.Hour >= 12; + clock.IsMidnightHour = clock.Time.Hour == 0; + clock.IsMiddayHour = clock.Time.Hour == 12; + } + + private BindingBase GetBinding(string propertyName, object owner = null, IValueConverter converter = null, object converterParameter = null) + { + var result = new Binding(propertyName) {Source = owner ?? this, Converter = converter, ConverterParameter = converterParameter}; + return result; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ClockChoiceMadeEventArgs.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ClockChoiceMadeEventArgs.cs new file mode 100644 index 000000000..750d1b6e6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ClockChoiceMadeEventArgs.cs @@ -0,0 +1,31 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public delegate void ClockChoiceMadeEventHandler(object sender, ClockChoiceMadeEventArgs e); + + public class ClockChoiceMadeEventArgs : RoutedEventArgs + { + private readonly ClockDisplayMode _displayMode; + + public ClockChoiceMadeEventArgs(ClockDisplayMode displayMode) + { + _displayMode = displayMode; + } + + public ClockChoiceMadeEventArgs(ClockDisplayMode displayMode, RoutedEvent routedEvent) : base(routedEvent) + { + _displayMode = displayMode; + } + + public ClockChoiceMadeEventArgs(ClockDisplayMode displayMode, RoutedEvent routedEvent, object source) : base(routedEvent, source) + { + _displayMode = displayMode; + } + + public ClockDisplayMode Mode + { + get { return _displayMode; } + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ClockItemButton.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ClockItemButton.cs new file mode 100644 index 000000000..7bc8f6aaf --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ClockItemButton.cs @@ -0,0 +1,188 @@ +using System; +using System.Windows; +using System.Windows.Controls.Primitives; +using System.Windows.Input; + +namespace MaterialDesignThemes.Wpf +{ + + [TemplatePart(Name = ThumbPartName, Type = typeof(Thumb))] + public class ClockItemButton : ToggleButton + { + public const string ThumbPartName = "PART_Thumb"; + + public static readonly DependencyProperty CentreXProperty = DependencyProperty.Register( + nameof(CentreX), typeof (double), typeof (ClockItemButton), new PropertyMetadata(default(double))); + + public double CentreX + { + get { return (double) GetValue(CentreXProperty); } + set { SetValue(CentreXProperty, value); } + } + + public static readonly DependencyProperty CentreYProperty = DependencyProperty.Register( + nameof(CentreY), typeof (double), typeof (ClockItemButton), new PropertyMetadata(default(double))); + + public double CentreY + { + get { return (double) GetValue(CentreYProperty); } + set { SetValue(CentreYProperty, value); } + } + + private static readonly DependencyPropertyKey XPropertyKey = + DependencyProperty.RegisterReadOnly( + "X", typeof(double), typeof(ClockItemButton), + new PropertyMetadata(default(double))); + + public static readonly DependencyProperty XProperty = + XPropertyKey.DependencyProperty; + + public double X + { + get { return (double)GetValue(XProperty); } + private set { SetValue(XPropertyKey, value); } + } + + private static readonly DependencyPropertyKey YPropertyKey = + DependencyProperty.RegisterReadOnly( + "Y", typeof(double), typeof(ClockItemButton), + new PropertyMetadata(default(double))); + + public static readonly DependencyProperty YProperty = + YPropertyKey.DependencyProperty; + + private Thumb _thumb; + + public double Y + { + get { return (double)GetValue(YProperty); } + private set { SetValue(YPropertyKey, value); } + } + + public override void OnApplyTemplate() + { + if (_thumb != null) + { + _thumb.DragStarted -= ThumbOnDragStarted; + _thumb.DragDelta -= ThumbOnDragDelta; + _thumb.DragCompleted -= ThumbOnDragCompleted; + } + + _thumb = GetTemplateChild(ThumbPartName) as Thumb; + + if (_thumb != null) + { + _thumb.DragStarted += ThumbOnDragStarted; + _thumb.DragDelta += ThumbOnDragDelta; + _thumb.DragCompleted += ThumbOnDragCompleted; + } + + base.OnApplyTemplate(); + } + + public static readonly RoutedEvent DragDeltaEvent = + EventManager.RegisterRoutedEvent( + "DragDelta", + RoutingStrategy.Bubble, + typeof (DragDeltaEventHandler), + typeof (ClockItemButton)); + + private static void OnDragDelta( + DependencyObject d, double horizontalChange, double verticalChange) + { + var instance = (ClockItemButton) d; + var dragDeltaEventArgs = new DragDeltaEventArgs(horizontalChange, verticalChange) + { + RoutedEvent = DragDeltaEvent, + Source = d + }; + + instance.RaiseEvent(dragDeltaEventArgs); + } + + public static readonly RoutedEvent DragStartedEvent = + EventManager.RegisterRoutedEvent( + "DragStarted", + RoutingStrategy.Bubble, + typeof(DragStartedEventHandler), + typeof(ClockItemButton)); + + public static readonly RoutedEvent DragCompletedEvent = + EventManager.RegisterRoutedEvent( + "DragCompleted", + RoutingStrategy.Bubble, + typeof (DragCompletedEventHandler), + typeof (ClockItemButton)); + + private static void OnDragStarted(DependencyObject d, double horizontalOffset, double verticalOffset) + { + var instance = (ClockItemButton)d; + var dragStartedEventArgs = new DragStartedEventArgs(horizontalOffset, verticalOffset) + { + RoutedEvent = DragStartedEvent, + Source = d + }; + + instance.RaiseEvent(dragStartedEventArgs); + } + + private static void OnDragCompleted(DependencyObject d, double horizontalChange, double verticalChange, bool canceled) + { + var instance = (ClockItemButton)d; + var dragCompletedEventArgs = new DragCompletedEventArgs(horizontalChange, verticalChange, canceled) + { + RoutedEvent = DragCompletedEvent, + Source = d + }; + + instance.RaiseEvent(dragCompletedEventArgs); + } + + protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e) + { + if (_thumb == null) return; + + base.OnPreviewMouseLeftButtonDown(e); + if (!IsChecked.HasValue || !IsChecked.Value) + { + OnToggle(); + } + } + + /// <summary> + /// This override method is called when the control is clicked by mouse or keyboard + /// </summary> + protected override void OnClick() + { + if (_thumb == null) + base.OnClick(); + } + + private void ThumbOnDragStarted(object sender, DragStartedEventArgs dragStartedEventArgs) + { + //Get the absolute position of where the drag operation started + OnDragStarted(this, CentreX + dragStartedEventArgs.HorizontalOffset - Width / 2.0, CentreY + dragStartedEventArgs.VerticalOffset - Height / 2.0); + } + + private void ThumbOnDragDelta(object sender, DragDeltaEventArgs dragDeltaEventArgs) + { + OnDragDelta(this, dragDeltaEventArgs.HorizontalChange, dragDeltaEventArgs.VerticalChange); + } + + private void ThumbOnDragCompleted(object sender, DragCompletedEventArgs dragCompletedEventArgs) + { + OnDragCompleted(this, dragCompletedEventArgs.HorizontalChange, dragCompletedEventArgs.VerticalChange, dragCompletedEventArgs.Canceled); + } + + protected override Size ArrangeOverride(Size finalSize) + { + Dispatcher.BeginInvoke(new Action(() => + { + X = CentreX - finalSize.Width/2; + Y = CentreY - finalSize.Height/2; + })); + + return base.ArrangeOverride(finalSize); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ColorZone.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ColorZone.cs new file mode 100644 index 000000000..de509464a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ColorZone.cs @@ -0,0 +1,58 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignThemes.Wpf +{ + public enum ColorZoneMode + { + Standard, + Inverted, + PrimaryLight, + PrimaryMid, + PrimaryDark, + Accent, + Light, + Dark + } + + /// <summary> + /// User a colour zone to easily switch the background and foreground colours, whilst still remaining within the selected Material Design palette. + /// </summary> + public class ColorZone : ContentControl + { + static ColorZone() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(ColorZone), new FrameworkPropertyMetadata(typeof(ColorZone))); + } + + public static readonly DependencyProperty ModeProperty = DependencyProperty.Register( + nameof(Mode), typeof (ColorZoneMode), typeof (ColorZone), new PropertyMetadata(default(ColorZoneMode))); + + public ColorZoneMode Mode + { + get { return (ColorZoneMode) GetValue(ModeProperty); } + set { SetValue(ModeProperty, value); } + } + + public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register( + nameof(CornerRadius), typeof (CornerRadius), typeof (ColorZone), new PropertyMetadata(default(CornerRadius))); + + public CornerRadius CornerRadius + { + get { return (CornerRadius) GetValue(CornerRadiusProperty); } + set { SetValue(CornerRadiusProperty, value); } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ColorZoneAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ColorZoneAssist.cs new file mode 100644 index 000000000..659f9e5e4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ColorZoneAssist.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public static class ColorZoneAssist + { + public static readonly DependencyProperty ModeProperty = DependencyProperty.RegisterAttached( + "Mode", typeof(ColorZoneMode), typeof(ColorZoneAssist), new FrameworkPropertyMetadata(default(ColorZoneMode), FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetMode(DependencyObject element, ColorZoneMode value) + { + element.SetValue(ModeProperty, value); + } + + public static ColorZoneMode GetMode(DependencyObject element) + { + return (ColorZoneMode)element.GetValue(ModeProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ComboBoxAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ComboBoxAssist.cs new file mode 100644 index 000000000..ef0fa76f2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ComboBoxAssist.cs @@ -0,0 +1,49 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public static class ComboBoxAssist + { + /// <summary> + /// By default ComboBox uses the wrapper popup. Popup can be switched to classic Windows desktop view by means of this attached property. + /// </summary> + public static readonly DependencyProperty ClassicModeProperty = DependencyProperty.RegisterAttached( + "ClassicMode", + typeof (bool), + typeof (ComboBoxAssist), + new FrameworkPropertyMetadata(false, + FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits)); + + public static bool GetClassicMode(DependencyObject element) + { + return (bool)element.GetValue(ClassicModeProperty); + } + + public static void SetClassicMode(DependencyObject element, object value) + { + element.SetValue(ClassicModeProperty, value); + } + + /// <summary> + /// By default the selected item is hidden from the drop down list, as per Material Design specifications. + /// To revert to a more classic Windows desktop behaviour, and show the currently selected item again in the drop + /// down, set this attached propety to true. + /// </summary> + public static readonly DependencyProperty ShowSelectedItemProperty = DependencyProperty.RegisterAttached( + "ShowSelectedItem", + typeof (bool), + typeof (ComboBoxAssist), + new FrameworkPropertyMetadata(false, + FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.Inherits)); + + public static bool GetShowSelectedItem(DependencyObject element) + { + return (bool)element.GetValue(ShowSelectedItemProperty); + } + + public static void SetShowSelectedItem(DependencyObject element, object value) + { + element.SetValue(ShowSelectedItemProperty, value); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ComboBoxPopup.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ComboBoxPopup.cs new file mode 100644 index 000000000..efae354fe --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ComboBoxPopup.cs @@ -0,0 +1,394 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + public enum ComboBoxPopupPlacement + { + Undefined, + Down, + Up, + Classic + } + + public class ComboBoxPopup : Popup + { + #region UpContentTemplate property + + public static readonly DependencyProperty UpContentTemplateProperty + = DependencyProperty.Register(nameof(UpContentTemplate), + typeof(ControlTemplate), + typeof(ComboBoxPopup), + new UIPropertyMetadata(null, CreateTemplatePropertyChangedCallback(ComboBoxPopupPlacement.Classic))); + + public ControlTemplate UpContentTemplate + { + get { return (ControlTemplate)GetValue(UpContentTemplateProperty); } + set { SetValue(UpContentTemplateProperty, value); } + } + + #endregion + + #region DownContentTemplate region + + public static readonly DependencyProperty DownContentTemplateProperty + = DependencyProperty.Register(nameof(DownContentTemplate), + typeof(ControlTemplate), + typeof(ComboBoxPopup), + new UIPropertyMetadata(null, CreateTemplatePropertyChangedCallback(ComboBoxPopupPlacement.Down))); + + public ControlTemplate DownContentTemplate + { + get { return (ControlTemplate)GetValue(DownContentTemplateProperty); } + set { SetValue(DownContentTemplateProperty, value); } + } + + #endregion + + #region ClassicContentTemplate property + + public static readonly DependencyProperty ClassicContentTemplateProperty + = DependencyProperty.Register(nameof(ClassicContentTemplate), + typeof(ControlTemplate), + typeof(ComboBoxPopup), + new UIPropertyMetadata(null, CreateTemplatePropertyChangedCallback(ComboBoxPopupPlacement.Up))); + + public ControlTemplate ClassicContentTemplate + { + get { return (ControlTemplate)GetValue(ClassicContentTemplateProperty); } + set { SetValue(ClassicContentTemplateProperty, value); } + } + + #endregion + + #region UpVerticalOffset property + + public static readonly DependencyProperty UpVerticalOffsetProperty + = DependencyProperty.Register(nameof(UpVerticalOffset), + typeof(double), + typeof(ComboBoxPopup), + new PropertyMetadata(0.0)); + + public double UpVerticalOffset + { + get { return (double)GetValue(UpVerticalOffsetProperty); } + set { SetValue(UpVerticalOffsetProperty, value); } + } + + #endregion + + #region DownVerticalOffset property + + public static readonly DependencyProperty DownVerticalOffsetProperty + = DependencyProperty.Register(nameof(DownVerticalOffset), + typeof(double), + typeof(ComboBoxPopup), + new PropertyMetadata(0.0)); + + public double DownVerticalOffset + { + get { return (double)GetValue(DownVerticalOffsetProperty); } + set { SetValue(DownVerticalOffsetProperty, value); } + } + + #endregion + + #region PopupPlacement property + + public static readonly DependencyProperty PopupPlacementProperty + = DependencyProperty.Register(nameof(PopupPlacement), + typeof(ComboBoxPopupPlacement), + typeof(ComboBoxPopup), + new PropertyMetadata(ComboBoxPopupPlacement.Undefined, PopupPlacementPropertyChangedCallback)); + + public ComboBoxPopupPlacement PopupPlacement + { + get { return (ComboBoxPopupPlacement)GetValue(PopupPlacementProperty); } + set { SetValue(PopupPlacementProperty, value); } + } + + #endregion + + #region Background property + + private static readonly DependencyPropertyKey BackgroundPropertyKey = + DependencyProperty.RegisterReadOnly( + "Background", typeof(Brush), typeof(ComboBoxPopup), + new PropertyMetadata(default(Brush))); + + public static readonly DependencyProperty BackgroundProperty = + BackgroundPropertyKey.DependencyProperty; + + public Brush Background + { + get { return (Brush) GetValue(BackgroundProperty); } + private set { SetValue(BackgroundPropertyKey, value); } + } + + #endregion + + #region DefaultVerticalOffset + + public static readonly DependencyProperty DefaultVerticalOffsetProperty + = DependencyProperty.Register(nameof(DefaultVerticalOffset), + typeof(double), + typeof(ComboBoxPopup), + new PropertyMetadata(0.0)); + + public double DefaultVerticalOffset + { + get { return (double)GetValue(DefaultVerticalOffsetProperty); } + set { SetValue(DefaultVerticalOffsetProperty, value); } + } + + #endregion + + #region VisiblePlacementWidth + + public double VisiblePlacementWidth + { + get { return (double)GetValue(VisiblePlacementWidthProperty); } + set { SetValue(VisiblePlacementWidthProperty, value); } + } + + public static readonly DependencyProperty VisiblePlacementWidthProperty + = DependencyProperty.Register(nameof(VisiblePlacementWidth), + typeof(double), + typeof(ComboBoxPopup), + new PropertyMetadata(0.0)); + + #endregion + + #region ClassicMode property + + public static readonly DependencyProperty ClassicModeProperty + = DependencyProperty.Register( + nameof(ClassicMode), + typeof(bool), + typeof(ComboBoxPopup), + new FrameworkPropertyMetadata(true)); + + public bool ClassicMode + { + get { return (bool)GetValue(ClassicModeProperty); } + set { SetValue(ClassicModeProperty, value); } + } + + #endregion + + public ComboBoxPopup() + { + CustomPopupPlacementCallback = ComboBoxCustomPopupPlacementCallback; + var childPropertyDescriptor = DependencyPropertyDescriptor.FromProperty(ComboBoxPopup.ChildProperty, typeof(ComboBoxPopup)); + EventHandler childChangedHandler = (sender, x) => + { + if (PopupPlacement != ComboBoxPopupPlacement.Undefined) + { + UpdateChildTemplate(PopupPlacement); + } + }; + + Loaded += (sender, args) => + { + childPropertyDescriptor.AddValueChanged(this, childChangedHandler); + }; + + Unloaded += (sender, args) => + { + childPropertyDescriptor.RemoveValueChanged(this, childChangedHandler); + }; + } + + private void SetupBackground(IEnumerable<DependencyObject> visualAncestry) + { + var background = visualAncestry + .Select(v => (v as Control)?.Background ?? (v as Panel)?.Background ?? (v as Border)?.Background) + .FirstOrDefault(v => v != null && !Equals(v, Brushes.Transparent) && v is SolidColorBrush); + + if (background != null) + { + Background = background; + } + } + + private void SetupVisiblePlacementWidth(IEnumerable<DependencyObject> visualAncestry) + { + var parent = visualAncestry.OfType<Panel>().ElementAt(1); + VisiblePlacementWidth = TreeHelper.GetVisibleWidth((FrameworkElement)PlacementTarget, parent); + } + + private CustomPopupPlacement[] ComboBoxCustomPopupPlacementCallback( + Size popupSize, Size targetSize, Point offset) + { + var visualAncestry = PlacementTarget.GetVisualAncestry().ToList(); + + SetupBackground(visualAncestry); + + SetupVisiblePlacementWidth(visualAncestry); + + var data = GetPositioningData(visualAncestry, popupSize, targetSize, offset); + var preferUpIfSafe = data.LocationY + data.PopupSize.Height > data.ScreenHeight; + + if (ClassicMode + || data.LocationX + data.PopupSize.Width - data.RealOffsetX > data.ScreenWidth + || data.LocationX - data.RealOffsetX < 0 + || !preferUpIfSafe && data.LocationY - Math.Abs(data.NewDownY) < 0) + { + SetCurrentValue(PopupPlacementProperty, ComboBoxPopupPlacement.Classic); + return new[] { GetClassicPopupPlacement(this, data) }; + } + if (preferUpIfSafe) + { + SetCurrentValue(PopupPlacementProperty, ComboBoxPopupPlacement.Up); + return new[] { GetUpPopupPlacement(data) }; + } + SetCurrentValue(PopupPlacementProperty, ComboBoxPopupPlacement.Down); + return new[] { GetDownPopupPlacement(data) }; + } + + private void SetChildTemplateIfNeed(ControlTemplate template) + { + var contentControl = Child as ContentControl; + if (contentControl == null) return; + //throw new InvalidOperationException($"The type of {nameof(Child)} must be {nameof(ContentControl)}"); + + if (!ReferenceEquals(contentControl.Template, template)) + { + contentControl.Template = template; + } + } + + private PositioningData GetPositioningData(IEnumerable<DependencyObject> visualAncestry, Size popupSize, Size targetSize, Point offset) + { + var locationFromScreen = PlacementTarget.PointToScreen(new Point(0, 0)); + + var mainVisual = visualAncestry.OfType<Visual>().LastOrDefault(); + if (mainVisual == null) throw new ArgumentException($"{nameof(visualAncestry)} must contains unless one {nameof(Visual)} control inside."); + + var screen = Screen.FromPoint(locationFromScreen); + var screenWidth = (int)DpiHelper.TransformToDeviceX(mainVisual, (int)screen.Bounds.Width); + var screenHeight = (int)DpiHelper.TransformToDeviceY(mainVisual, (int)screen.Bounds.Height); + + //Adjust the location to be in terms of the current screen + var locationX = (int)(locationFromScreen.X - screen.Bounds.X) % screenWidth; + var locationY = (int)(locationFromScreen.Y - screen.Bounds.Y) % screenHeight; + + var upVerticalOffsetIndepent = DpiHelper.TransformToDeviceY(mainVisual, UpVerticalOffset); + var newUpY = upVerticalOffsetIndepent - popupSize.Height + targetSize.Height; + var newDownY = DpiHelper.TransformToDeviceY(mainVisual, DownVerticalOffset); + + double offsetX; + const int rtlHorizontalOffset = 20; + + if (FlowDirection == FlowDirection.LeftToRight) + offsetX = DpiHelper.TransformToDeviceX(mainVisual, offset.X); + else + offsetX = DpiHelper.TransformToDeviceX(mainVisual, + offset.X - targetSize.Width - rtlHorizontalOffset); + + return new PositioningData( + mainVisual, offsetX, + newUpY, newDownY, + popupSize, targetSize, + locationX, locationY, + screenHeight, screenWidth); + } + + private static PropertyChangedCallback CreateTemplatePropertyChangedCallback(ComboBoxPopupPlacement popupPlacement) + { + return delegate (DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var popup = d as ComboBoxPopup; + if (popup == null) return; + + var template = e.NewValue as ControlTemplate; + if (template == null) return; + + if (popup.PopupPlacement == popupPlacement) + { + popup.SetChildTemplateIfNeed(template); + } + }; + } + + private void UpdateChildTemplate(ComboBoxPopupPlacement placement) + { + switch (placement) + { + case ComboBoxPopupPlacement.Classic: + SetChildTemplateIfNeed(ClassicContentTemplate); + break; + case ComboBoxPopupPlacement.Down: + SetChildTemplateIfNeed(DownContentTemplate); + break; + case ComboBoxPopupPlacement.Up: + SetChildTemplateIfNeed(UpContentTemplate); + break; + // default: + // throw new NotImplementedException($"Unexpected value {placement} of the {nameof(PopupPlacement)} property inside the {nameof(ComboBoxPopup)} control."); + } + } + + private static void PopupPlacementPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var popup = d as ComboBoxPopup; + if (popup == null) return; + + if (!(e.NewValue is ComboBoxPopupPlacement)) return; + var placement = (ComboBoxPopupPlacement)e.NewValue; + popup.UpdateChildTemplate(placement); + } + + private static CustomPopupPlacement GetClassicPopupPlacement(ComboBoxPopup popup, PositioningData data) + { + var defaultVerticalOffsetIndepent = DpiHelper.TransformToDeviceY(data.MainVisual, popup.DefaultVerticalOffset); + var newY = data.LocationY + data.PopupSize.Height > data.ScreenHeight + ? -(defaultVerticalOffsetIndepent + data.PopupSize.Height) + : defaultVerticalOffsetIndepent + data.TargetSize.Height; + + return new CustomPopupPlacement(new Point(data.OffsetX, newY), PopupPrimaryAxis.Horizontal); + } + + private static CustomPopupPlacement GetDownPopupPlacement(PositioningData data) + { + return new CustomPopupPlacement(new Point(data.OffsetX, data.NewDownY), PopupPrimaryAxis.None); + } + + private static CustomPopupPlacement GetUpPopupPlacement(PositioningData data) + { + return new CustomPopupPlacement(new Point(data.OffsetX, data.NewUpY), PopupPrimaryAxis.None); + } + + private struct PositioningData + { + public Visual MainVisual { get; } + public double OffsetX { get; } + public double NewUpY { get; } + public double NewDownY { get; } + public double RealOffsetX => (PopupSize.Width - TargetSize.Width) / 2.0; + public Size PopupSize { get; } + public Size TargetSize { get; } + public double LocationX { get; } + public double LocationY { get; } + public double ScreenHeight { get; } + public double ScreenWidth { get; } + + public PositioningData(Visual mainVisual, double offsetX, double newUpY, double newDownY, Size popupSize, Size targetSize, double locationX, double locationY, double screenHeight, double screenWidth) + { + MainVisual = mainVisual; + OffsetX = offsetX; + NewUpY = newUpY; + NewDownY = newDownY; + PopupSize = popupSize; TargetSize = targetSize; + LocationX = locationX; LocationY = locationY; + ScreenWidth = screenWidth; ScreenHeight = screenHeight; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BooleanToVisibilityConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BooleanToVisibilityConverter.cs new file mode 100644 index 000000000..07b23ab69 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BooleanToVisibilityConverter.cs @@ -0,0 +1,29 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class BooleanToVisibilityConverter : IValueConverter + { + public Visibility TrueValue { get; set; } = Visibility.Visible; + public Visibility FalseValue { get; set; } = Visibility.Collapsed; + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + bool bValue = false; + if (value is bool) + { + bValue = (bool)value; + } + + return (bValue) ? TrueValue : FalseValue; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return value as Visibility? == TrueValue; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BrushRoundConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BrushRoundConverter.cs new file mode 100644 index 000000000..257a1f5ce --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BrushRoundConverter.cs @@ -0,0 +1,32 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class BrushRoundConverter : IValueConverter + { + public Brush HighValue { get; set; } = Brushes.White; + + public Brush LowValue { get; set; } = Brushes.Black; + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var solidColorBrush = value as SolidColorBrush; + if (solidColorBrush == null) return null; + + var color = solidColorBrush.Color; + + var brightness = 0.3 * color.R + 0.59 * color.G + 0.11 * color.B; + + return brightness < 123 ? LowValue : HighValue; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BrushToRadialGradientBrushConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BrushToRadialGradientBrushConverter.cs new file mode 100644 index 000000000..52be9245a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/BrushToRadialGradientBrushConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class BrushToRadialGradientBrushConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var solidColorBrush = value as SolidColorBrush; + if (solidColorBrush == null) return Binding.DoNothing; + + return new RadialGradientBrush(solidColorBrush.Color, Colors.Transparent) + { + Center = new Point(.5, .5), + GradientOrigin = new Point(.5, .5), + RadiusX = .75, + RadiusY = .75, + Opacity = .39 + }; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CalendarDateCoalesceConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CalendarDateCoalesceConverter.cs new file mode 100644 index 000000000..af585a9f6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CalendarDateCoalesceConverter.cs @@ -0,0 +1,33 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + /// <summary> + /// Help us format the content of a header button in a calendar. + /// </summary> + /// <remarks> + /// Expected items, in the following order: + /// 1) DateTime Calendar.DisplayDate + /// 2) DateTime? Calendar.SelectedDate + /// </remarks> + public class CalendarDateCoalesceConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values.Length != 2) throw new ArgumentException("Unexpected", "values"); + if (!(values[0] is DateTime)) throw new ArgumentException("Unexpected", "values"); + if (values[1] != null && !(values[1] is DateTime?)) throw new ArgumentException("Unexpected", "values"); + + var selectedDate = (DateTime?) values[1]; + + return selectedDate ?? values[0]; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + return null; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/ArcEndPointConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/ArcEndPointConverter.cs new file mode 100644 index 000000000..08a862c1b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/ArcEndPointConverter.cs @@ -0,0 +1,47 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + public class ArcEndPointConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + var actualWidth = values[0].ExtractDouble(); + var value = values[1].ExtractDouble(); + var minimum = values[2].ExtractDouble(); + var maximum = values[3].ExtractDouble(); + + if (new[] {actualWidth, value, minimum, maximum}.AnyNan()) + return Binding.DoNothing; + + if (values.Length == 5) + { + var fullIndeterminateScaling = values[4].ExtractDouble(); + if (!double.IsNaN(fullIndeterminateScaling) && fullIndeterminateScaling > 0.0) + { + value = (maximum - minimum)*fullIndeterminateScaling; + } + } + + var percent = maximum <= minimum ? 1.0 : (value - minimum)/(maximum - minimum); + var degrees = 360*percent; + var radians = degrees*(Math.PI/180); + + var centre = new Point(actualWidth/2, actualWidth/2); + var hypotenuseRadius = (actualWidth/2); + + var adjacent = Math.Cos(radians)*hypotenuseRadius; + var opposite = Math.Sin(radians)*hypotenuseRadius; + + return new Point(centre.X + opposite, centre.Y - adjacent); + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/ArcSizeConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/ArcSizeConverter.cs new file mode 100644 index 000000000..b8067d555 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/ArcSizeConverter.cs @@ -0,0 +1,25 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + public class ArcSizeConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value is double && ((double)value > 0.0)) + { + return new Size((double)value / 2, (double)value / 2); + } + + return new Point(); + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/LargeArcConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/LargeArcConverter.cs new file mode 100644 index 000000000..e752c872b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/LargeArcConverter.cs @@ -0,0 +1,37 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + public class LargeArcConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + var value = values[0].ExtractDouble(); + var minimum = values[1].ExtractDouble(); + var maximum = values[2].ExtractDouble(); + + if (new[] { value, minimum, maximum }.AnyNan()) + return Binding.DoNothing; + + if (values.Length == 4) + { + var fullIndeterminateScaling = values[3].ExtractDouble(); + if (!double.IsNaN(fullIndeterminateScaling) && fullIndeterminateScaling > 0.0) + { + value = (maximum - minimum) * fullIndeterminateScaling; + } + } + + var percent = maximum <= minimum ? 1.0 : (value - minimum) / (maximum - minimum); + + return percent > 0.5; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/LocalEx.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/LocalEx.cs new file mode 100644 index 000000000..1ab6524a9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/LocalEx.cs @@ -0,0 +1,22 @@ +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + internal static class LocalEx + { + public static double ExtractDouble(this object val) + { + var d = val as double? ?? double.NaN; + return double.IsInfinity(d) ? double.NaN : d; + } + + + public static bool AnyNan(this IEnumerable<double> vals) + { + return vals.Any(double.IsNaN); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/RotateTransformCentreConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/RotateTransformCentreConverter.cs new file mode 100644 index 000000000..b5180d6cc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/RotateTransformCentreConverter.cs @@ -0,0 +1,20 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + public class RotateTransformCentreConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + //value == actual width + return (double) value/2; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/RotateTransformConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/RotateTransformConverter.cs new file mode 100644 index 000000000..b92909e73 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/RotateTransformConverter.cs @@ -0,0 +1,28 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + public class RotateTransformConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + var value = values[0].ExtractDouble(); + var minimum = values[1].ExtractDouble(); + var maximum = values[2].ExtractDouble(); + + if (new[] { value, minimum, maximum }.AnyNan()) + return Binding.DoNothing; + + var percent = maximum <= minimum ? 1.0 : (value - minimum) / (maximum - minimum); + + return 360*percent; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/StartPointConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/StartPointConverter.cs new file mode 100644 index 000000000..100738241 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/CircularProgressBar/StartPointConverter.cs @@ -0,0 +1,28 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters.CircularProgressBar +{ + public class StartPointConverter : IValueConverter + { + [Obsolete] + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value is double && ((double) value > 0.0)) + { + return new Point((double)value / 2, 0); + } + + return new Point(); + } + + [Obsolete] + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ClockItemIsCheckedConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ClockItemIsCheckedConverter.cs new file mode 100644 index 000000000..60d03d931 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ClockItemIsCheckedConverter.cs @@ -0,0 +1,82 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Reflection.Emit; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + internal class ClockItemIsCheckedConverter : IValueConverter + { + private readonly Func<DateTime> _currentTimeGetter; + private readonly ClockDisplayMode _displayMode; + private readonly bool _is24Hours; + + public ClockItemIsCheckedConverter(Func<DateTime> currentTimeGetter, ClockDisplayMode displayMode, bool is24Hours) + { + if (currentTimeGetter == null) throw new ArgumentNullException(nameof(currentTimeGetter)); + + _currentTimeGetter = currentTimeGetter; + _displayMode = displayMode; + _is24Hours = is24Hours; + } + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var dateTime = (DateTime) value; + var i = (int) parameter; + + return (_displayMode == ClockDisplayMode.Hours ? MassageHour(dateTime.Hour, _is24Hours) : MassageMinute(dateTime.Minute)) == i; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + if ((bool)value != true) return Binding.DoNothing; + + var currentTime = _currentTimeGetter(); + + return new DateTime( + currentTime.Year, currentTime.Month, currentTime.Day, + (_displayMode == ClockDisplayMode.Hours) ? ReverseMassageHour((int)parameter, currentTime, _is24Hours) : currentTime.Hour, + (_displayMode == ClockDisplayMode.Minutes) ? ReverseMassageMinute((int)parameter) : currentTime.Minute, + currentTime.Second); + } + + private static int MassageHour(int val, bool is24Hours) + { + if (is24Hours) + { + return val == 0 ? 24 : val; + } + + if (val == 0) return 12; + if (val > 12) return val - 12; + return val; + } + + private static int MassageMinute(int val) + { + return val == 0 ? 60 : val; + } + + private static int ReverseMassageHour(int val, DateTime currentTime, bool is24Hours) + { + if (is24Hours) + { + return val == 24 ? 0 : val; + } + + return currentTime.Hour < 12 + ? (val == 12 ? 0 : val) + : (val == 12 ? 12 : val + 12); + } + + private static int ReverseMassageMinute(int val) + { + return val == 60 ? 0 : val; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ClockLineConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ClockLineConverter.cs new file mode 100644 index 000000000..c433fda57 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ClockLineConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Globalization; +using System.Windows.Data; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class ClockLineConverter : MarkupExtension, IValueConverter + { + public ClockDisplayMode DisplayMode { get; set; } + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var time = (DateTime) value; + + return DisplayMode == ClockDisplayMode.Hours + ? ((time.Hour > 13) ? time.Hour - 12 : time.Hour)*(360/12) + : (time.Minute == 0 ? 60 : time.Minute)*(360/60); + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + + public override object ProvideValue(IServiceProvider serviceProvider) + { + return this; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/DrawerOffsetConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/DrawerOffsetConverter.cs new file mode 100644 index 000000000..fa826cf91 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/DrawerOffsetConverter.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class DrawerOffsetConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var d = value as double? ?? 0; + if (double.IsInfinity(d) || double.IsNaN(d)) d = 0; + + var dock = (parameter is Dock) ? (Dock)parameter : Dock.Left; + switch (dock) + { + case Dock.Top: + return new Thickness(0, 0 - d, 0, 0); + case Dock.Bottom: + return new Thickness(0, 0, 0, 0 - d); + case Dock.Right: + return new Thickness(0, 0, 0 - d, 0); + case Dock.Left: + default: + return new Thickness(0 - d, 0, 0, 0); + } + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/EqualityToVisibilityConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/EqualityToVisibilityConverter.cs new file mode 100644 index 000000000..1dc01f002 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/EqualityToVisibilityConverter.cs @@ -0,0 +1,22 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class EqualityToVisibilityConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value != null && value.Equals(parameter)) return Visibility.Visible; + + return Visibility.Collapsed; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/HintProxyFabricConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/HintProxyFabricConverter.cs new file mode 100644 index 000000000..62e731330 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/HintProxyFabricConverter.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + /// <summary> + /// Converter for <see cref="SmartHint"/> control. Can be extended by <see cref="HintProxyFabric.RegisterBuilder(Func{Control, bool}, Func{Control, IHintProxy})"/> method. + /// </summary> + public class HintProxyFabricConverter : IValueConverter + { + private static readonly Lazy<HintProxyFabricConverter> _instance = new Lazy<HintProxyFabricConverter>(); + + public static HintProxyFabricConverter Instance => _instance.Value; + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + return HintProxyFabric.Get(value as Control); + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ListViewItemContainerStyleConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ListViewItemContainerStyleConverter.cs new file mode 100644 index 000000000..28587e838 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ListViewItemContainerStyleConverter.cs @@ -0,0 +1,48 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + /// <summary> + /// Helps coerce the correct item container style for a <see cref="ListView"/>, according to whether the list is displaying in standard mode, or using a <see cref="ListView.View"/>, such as a <see cref="GridView"/>. + /// </summary> + public class ListViewGridViewConverter : IValueConverter + { + /// <summary> + /// Item container style to use when <see cref="ListView.View"/> is <c>null</c>. + /// </summary> + public object DefaultValue { get; set; } + + /// <summary> + /// Item container style to use when <see cref="ListView.View"/> is not <c>null</c>, typically when a <see cref="GridView"/> is applied. + /// </summary> + public object ViewValue { get; set; } + + /// <summary> + /// Returns the item container <see cref="Style"/> to use for a <see cref="ListView"/>. + /// </summary> + /// <param name="value">Should be a <see cref="ListView"/> or <see cref="ViewBase"/> instance.</param> + /// <param name="targetType"></param> + /// <param name="parameter"></param> + /// <param name="culture"></param> + /// <returns></returns> + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var listView = value as ListView; + if (listView != null) + { + return listView.View != null ? ViewValue : DefaultValue; + } + + return value is ViewBase ? ViewValue : DefaultValue; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/MathConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/MathConverter.cs new file mode 100644 index 000000000..fb3524c97 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/MathConverter.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public enum MathOperation + { + Add, + Subtract, + Multiply, + Divide + } + + public sealed class MathConverter : IValueConverter + { + public MathOperation Operation { get; set; } + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + try + { + double value1 = System.Convert.ToDouble(value, CultureInfo.InvariantCulture); + double value2 = System.Convert.ToDouble(parameter, CultureInfo.InvariantCulture); + switch (Operation) + { + case MathOperation.Add: + return value1 + value2; + case MathOperation.Divide: + return value1 / value2; + case MathOperation.Multiply: + return value1 * value2; + case MathOperation.Subtract: + return value1 - value2; + default: + return Binding.DoNothing; + } + } + catch (FormatException) + { + return Binding.DoNothing; + } + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/MathMultipleConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/MathMultipleConverter.cs new file mode 100644 index 000000000..178541eb6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/MathMultipleConverter.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public sealed class MathMultipleConverter : IMultiValueConverter + { + public MathOperation Operation { get; set; } + + public object Convert(object[] value, Type targetType, object parameter, CultureInfo culture) + { + if (value == null || value.Length < 2 || value[0] == null || value[1] == null) return Binding.DoNothing; + + if (!double.TryParse(value[0].ToString(), out double value1) || !double.TryParse(value[1].ToString(), out double value2)) + return 0; + + switch (Operation) + { + default: + // (case MathOperation.Add:) + return value1 + value2; + case MathOperation.Divide: + return value1 / value2; + case MathOperation.Multiply: + return value1 * value2; + case MathOperation.Subtract: + return value1 - value2; + } + + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotConverter.cs new file mode 100644 index 000000000..78b2d3f64 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotConverter.cs @@ -0,0 +1,20 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class NotConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + return !(value as bool?) ?? !bool.Parse(value.ToString()); + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return !(value as bool?) ?? !bool.Parse(value.ToString()); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotZeroConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotZeroConverter.cs new file mode 100644 index 000000000..4e8210fe7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotZeroConverter.cs @@ -0,0 +1,23 @@ +using System; +using System.Globalization; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class NotZeroConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (double.TryParse((value ?? "").ToString(), out double val)) + { + return Math.Abs(val) > 0.0; + } + return null; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotZeroToVisibilityConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotZeroToVisibilityConverter.cs new file mode 100644 index 000000000..63fa90b41 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NotZeroToVisibilityConverter.cs @@ -0,0 +1,23 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class NotZeroToVisibilityConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + double val; + double.TryParse((value ?? "").ToString(), out val); + + return Math.Abs(val) > 0.0 ? Visibility.Visible : Visibility.Collapsed; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NullToVisibilityConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NullToVisibilityConverter.cs new file mode 100644 index 000000000..1757f1d00 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NullToVisibilityConverter.cs @@ -0,0 +1,23 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class NullableToVisibilityConverter : IValueConverter + { + public Visibility NullValue { get; set; } = Visibility.Collapsed; + public Visibility NotNullValue { get; set; } = Visibility.Visible; + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + return value == null ? NullValue : NotNullValue; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NullableDateTimeToCurrentDateConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NullableDateTimeToCurrentDateConverter.cs new file mode 100644 index 000000000..2ee8f7b15 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/NullableDateTimeToCurrentDateConverter.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class NullableDateTimeToCurrentDateConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (value is DateTime) + return value; + return DateTime.Now.Date; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return value; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/PointValueConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/PointValueConverter.cs new file mode 100644 index 000000000..387a70d33 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/PointValueConverter.cs @@ -0,0 +1,35 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class PointValueConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values?.Length == 2 && values[0] != null && values[1] != null) + { + double x, y; + if (double.TryParse(values[0].ToString(), out x) && + double.TryParse(values[1].ToString(), out y)) + + return new Point(x, y); + } + + return new Point(); + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + if (value is Point) + { + var point = (Point) value; + return new object[] { point.X, point.Y }; + } + + return new object[0]; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/RangeLengthConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/RangeLengthConverter.cs new file mode 100644 index 000000000..3bf8d20ee --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/RangeLengthConverter.cs @@ -0,0 +1,33 @@ +using System; +using System.Globalization; +using System.Linq; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class RangeLengthConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values == null || values.Length != 4 || values.Any(v => v == null)) + return Binding.DoNothing; + + if (!double.TryParse(values[0].ToString(), out double min) + || !double.TryParse(values[1].ToString(), out double max) + || !double.TryParse(values[2].ToString(), out double value) + || !double.TryParse(values[3].ToString(), out double containerLength)) + + return Binding.DoNothing; + + var percent = (value - min) / (max - min); + var length = percent * containerLength; + + return length > containerLength ? containerLength : length; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/RangePositionConverterConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/RangePositionConverterConverter.cs new file mode 100644 index 000000000..a853cf0ac --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/RangePositionConverterConverter.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class RangePositionConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if(values == null || values.Length != 3 || values.Any(v => v == null)) + return Binding.DoNothing; + + if (!double.TryParse(values[0].ToString(), out double positionAsScaleFactor) + || !double.TryParse(values[1].ToString(), out double lower) + || !double.TryParse(values[2].ToString(), out double upper)) + + return Binding.DoNothing; + + var result = upper + (lower - upper)*positionAsScaleFactor; + + return result; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowConverter.cs new file mode 100644 index 000000000..6d6240b70 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowConverter.cs @@ -0,0 +1,38 @@ +using System; +using System.Globalization; +using System.Windows.Data; +using System.Windows.Media.Effects; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class ShadowConverter : IValueConverter + { + public static readonly ShadowConverter Instance = new ShadowConverter(); + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if (!(value is ShadowDepth)) return null; + + return Clone(ShadowInfo.GetDropShadow((ShadowDepth) value)); + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + + private static DropShadowEffect Clone(DropShadowEffect dropShadowEffect) + { + if (dropShadowEffect == null) return null; + return new DropShadowEffect() + { + BlurRadius = dropShadowEffect.BlurRadius, + Color = dropShadowEffect.Color, + Direction = dropShadowEffect.Direction, + Opacity = dropShadowEffect.Opacity, + RenderingBias = dropShadowEffect.RenderingBias, + ShadowDepth = dropShadowEffect.ShadowDepth + }; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowEdgeConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowEdgeConverter.cs new file mode 100644 index 000000000..3dc4a9b02 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowEdgeConverter.cs @@ -0,0 +1,76 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; +using System.Windows.Media; +using System.Windows.Media.Effects; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class ShadowEdgeConverter : IMultiValueConverter + { + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values?.Length != 4) + { + return Binding.DoNothing; + } + + if (!(values[0] is double) || !(values[1] is double) || !(values[2] is ShadowDepth) || + !(values[3] is ShadowEdges)) + { + return Binding.DoNothing; + } + + double width = (double)values[0]; + double height = (double)values[1]; + if (double.IsNaN(width) || double.IsInfinity(width) || double.IsNaN(height) || double.IsInfinity(height)) + { + return Binding.DoNothing; + } + DropShadowEffect dropShadow = ShadowInfo.GetDropShadow((ShadowDepth)values[2]); + if (dropShadow == null) + { + return Binding.DoNothing; + } + + ShadowEdges edges = (ShadowEdges)values[3]; + double blurRadius = dropShadow.BlurRadius; + + var rect = new Rect(0, 0, width, height); + + if (edges.HasFlag(ShadowEdges.Left)) + { + rect = new Rect(rect.X - blurRadius, rect.Y, rect.Width + blurRadius, rect.Height); + } + if (edges.HasFlag(ShadowEdges.Top)) + { + rect = new Rect(rect.X, rect.Y - blurRadius, rect.Width, rect.Height + blurRadius); + } + if (edges.HasFlag(ShadowEdges.Right)) + { + rect = new Rect(rect.X, rect.Y, rect.Width + blurRadius, rect.Height); + } + if (edges.HasFlag(ShadowEdges.Bottom)) + { + rect = new Rect(rect.X, rect.Y, rect.Width, rect.Height + blurRadius); + } + + var size = new GeometryDrawing(new SolidColorBrush(Colors.White), new Pen(), new RectangleGeometry(rect)); + return new DrawingBrush(size) + { + Stretch = Stretch.None, + TileMode = TileMode.None, + Viewport = rect, + ViewportUnits = BrushMappingMode.Absolute, + Viewbox = rect, + ViewboxUnits = BrushMappingMode.Absolute + }; + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + throw new NotImplementedException(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowInfo.cs new file mode 100644 index 000000000..48af21088 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/ShadowInfo.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Windows; +using System.Windows.Media.Effects; + +namespace MaterialDesignThemes.Wpf.Converters +{ + internal static class ShadowInfo + { + private static readonly IDictionary<ShadowDepth, DropShadowEffect> ShadowsDictionary; + + static ShadowInfo() + { + var resourceDictionary = new ResourceDictionary { Source = new Uri("pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml", UriKind.Absolute) }; + + ShadowsDictionary = new Dictionary<ShadowDepth, DropShadowEffect> + { + { ShadowDepth.Depth0, null }, + { ShadowDepth.Depth1, (DropShadowEffect)resourceDictionary["MaterialDesignShadowDepth1"] }, + { ShadowDepth.Depth2, (DropShadowEffect)resourceDictionary["MaterialDesignShadowDepth2"] }, + { ShadowDepth.Depth3, (DropShadowEffect)resourceDictionary["MaterialDesignShadowDepth3"] }, + { ShadowDepth.Depth4, (DropShadowEffect)resourceDictionary["MaterialDesignShadowDepth4"] }, + { ShadowDepth.Depth5, (DropShadowEffect)resourceDictionary["MaterialDesignShadowDepth5"] }, + }; + } + + public static DropShadowEffect GetDropShadow(ShadowDepth depth) + { + return ShadowsDictionary[depth]; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/SizeToRectConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/SizeToRectConverter.cs new file mode 100644 index 000000000..5d1680f5b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/SizeToRectConverter.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class CardClipConverter : IMultiValueConverter + { + /// <summary> + /// 1 - Content presenter render size, + /// 2 - Clipping border padding (main control padding) + /// </summary> + /// <param name="values"></param> + /// <param name="targetType"></param> + /// <param name="parameter"></param> + /// <param name="culture"></param> + /// <returns></returns> + public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) + { + if (values.Length != 2 || !(values[0] is Size) || !(values[1] is Thickness)) + return Binding.DoNothing; + + var size = (Size)values[0]; + var farPoint = new Point( + Math.Max(0, size.Width), + Math.Max(0, size.Height)); + var padding = (Thickness)values[1]; + farPoint.Offset(padding.Left + padding.Right, padding.Top + padding.Bottom); + + return new Rect( + new Point(), + new Point(farPoint.X, farPoint.Y)); + } + + public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) + { + return null; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/SnackbarMessageTypeConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/SnackbarMessageTypeConverter.cs new file mode 100644 index 000000000..653371c03 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/SnackbarMessageTypeConverter.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class SnackbarMessageTypeConverter : TypeConverter + { + public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) + { + return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType); + } + + public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) + { + var s = value as string; + if (s != null) + { + return new SnackbarMessage + { + Content = s + }; + } + + return base.ConvertFrom(context, culture, value); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/TextFieldHintVisibilityConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/TextFieldHintVisibilityConverter.cs new file mode 100644 index 000000000..c04e32019 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/TextFieldHintVisibilityConverter.cs @@ -0,0 +1,23 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class TextFieldHintVisibilityConverter : IValueConverter + { + public Visibility IsEmptyValue { get; set; } = Visibility.Visible; + public Visibility IsNotEmptyValue { get; set; } = Visibility.Hidden; + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + return string.IsNullOrEmpty((value ?? "").ToString()) ? IsEmptyValue : IsNotEmptyValue; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/TimeToVisibilityConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/TimeToVisibilityConverter.cs new file mode 100644 index 000000000..dde548613 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Converters/TimeToVisibilityConverter.cs @@ -0,0 +1,30 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf.Converters +{ + public class TimeToVisibilityConverter: MarkupExtension, IValueConverter + { + public override object ProvideValue(IServiceProvider serviceProvider) + { + return this; + } + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var time = (DateTime)value; + + var isPm = ((time.Hour >= 13) || (time.Hour == 0)); + + return isPm ? Visibility.Visible : Visibility.Collapsed; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) + { + return Binding.DoNothing; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/CustomPopupPlacementCallbackHelper.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/CustomPopupPlacementCallbackHelper.cs new file mode 100644 index 000000000..aeec24f65 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/CustomPopupPlacementCallbackHelper.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls.Primitives; + +namespace MaterialDesignThemes.Wpf +{ + public static class CustomPopupPlacementCallbackHelper + { + public static readonly CustomPopupPlacementCallback LargePopupCallback; + + static CustomPopupPlacementCallbackHelper() + { + LargePopupCallback = + (size, targetSize, offset) => new[] {new CustomPopupPlacement(new Point(), PopupPrimaryAxis.Horizontal)}; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DataGridAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DataGridAssist.cs new file mode 100644 index 000000000..b4175d502 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DataGridAssist.cs @@ -0,0 +1,228 @@ +using System; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Media3D; +using System.Windows.Threading; + +namespace MaterialDesignThemes.Wpf +{ + public static class DataGridAssist + { + private static DataGrid _suppressComboAutoDropDown; + + public static readonly DependencyProperty AutoGeneratedCheckBoxStyleProperty = DependencyProperty + .RegisterAttached( + "AutoGeneratedCheckBoxStyle", typeof (Style), typeof (DataGridAssist), + new PropertyMetadata(default(Style), AutoGeneratedCheckBoxStylePropertyChangedCallback)); + + private static void AutoGeneratedCheckBoxStylePropertyChangedCallback(DependencyObject dependencyObject, + DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((DataGrid) dependencyObject).AutoGeneratingColumn += (sender, args) => + { + var dataGridCheckBoxColumn = args.Column as DataGridCheckBoxColumn; + if (dataGridCheckBoxColumn == null) return; + + dataGridCheckBoxColumn.ElementStyle = GetAutoGeneratedCheckBoxStyle(dependencyObject); + }; + } + + public static void SetAutoGeneratedCheckBoxStyle(DependencyObject element, Style value) + { + element.SetValue(AutoGeneratedCheckBoxStyleProperty, value); + } + + public static Style GetAutoGeneratedCheckBoxStyle(DependencyObject element) + { + return (Style) element.GetValue(AutoGeneratedCheckBoxStyleProperty); + } + + public static readonly DependencyProperty AutoGeneratedEditingCheckBoxStyleProperty = DependencyProperty + .RegisterAttached( + "AutoGeneratedEditingCheckBoxStyle", typeof (Style), typeof (DataGridAssist), + new PropertyMetadata(default(Style), AutoGeneratedEditingCheckBoxStylePropertyChangedCallback)); + + private static void AutoGeneratedEditingCheckBoxStylePropertyChangedCallback(DependencyObject dependencyObject, + DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((DataGrid) dependencyObject).AutoGeneratingColumn += (sender, args) => + { + var dataGridCheckBoxColumn = args.Column as DataGridCheckBoxColumn; + if (dataGridCheckBoxColumn == null) return; + + dataGridCheckBoxColumn.EditingElementStyle = GetAutoGeneratedEditingCheckBoxStyle(dependencyObject); + }; + } + + public static void SetAutoGeneratedEditingCheckBoxStyle(DependencyObject element, Style value) + { + element.SetValue(AutoGeneratedEditingCheckBoxStyleProperty, value); + } + + public static Style GetAutoGeneratedEditingCheckBoxStyle(DependencyObject element) + { + return (Style) element.GetValue(AutoGeneratedEditingCheckBoxStyleProperty); + } + + public static readonly DependencyProperty AutoGeneratedEditingTextStyleProperty = DependencyProperty + .RegisterAttached( + "AutoGeneratedEditingTextStyle", typeof (Style), typeof (DataGridAssist), + new PropertyMetadata(default(Style), AutoGeneratedEditingTextStylePropertyChangedCallback)); + + private static void AutoGeneratedEditingTextStylePropertyChangedCallback(DependencyObject dependencyObject, + DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((DataGrid) dependencyObject).AutoGeneratingColumn += (sender, args) => + { + var dataGridTextColumn = args.Column as DataGridTextColumn; + if (dataGridTextColumn == null) return; + + dataGridTextColumn.EditingElementStyle = GetAutoGeneratedEditingTextStyle(dependencyObject); + }; + } + + public static void SetAutoGeneratedEditingTextStyle(DependencyObject element, Style value) + { + element.SetValue(AutoGeneratedEditingTextStyleProperty, value); + } + + public static Style GetAutoGeneratedEditingTextStyle(DependencyObject element) + { + return (Style) element.GetValue(AutoGeneratedEditingTextStyleProperty); + } + + public static readonly DependencyProperty CellPaddingProperty = DependencyProperty.RegisterAttached( + "CellPadding", typeof (Thickness), typeof (DataGridAssist), + new FrameworkPropertyMetadata(new Thickness(13, 8, 8, 8), FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetCellPadding(DependencyObject element, Thickness value) + { + element.SetValue(CellPaddingProperty, value); + } + + public static Thickness GetCellPadding(DependencyObject element) + { + return (Thickness) element.GetValue(CellPaddingProperty); + } + + public static readonly DependencyProperty ColumnHeaderPaddingProperty = DependencyProperty.RegisterAttached( + "ColumnHeaderPadding", typeof (Thickness), typeof (DataGridAssist), + new FrameworkPropertyMetadata(new Thickness(8), FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetColumnHeaderPadding(DependencyObject element, Thickness value) + { + element.SetValue(ColumnHeaderPaddingProperty, value); + } + + public static Thickness GetColumnHeaderPadding(DependencyObject element) + { + return (Thickness) element.GetValue(ColumnHeaderPaddingProperty); + } + + + public static readonly DependencyProperty EnableEditBoxAssistProperty = DependencyProperty.RegisterAttached( + "EnableEditBoxAssist", typeof (bool), typeof (DataGridAssist), + new PropertyMetadata(default(bool), EnableCheckBoxAssistPropertyChangedCallback)); + + public static void SetEnableEditBoxAssist(DependencyObject element, bool value) + { + element.SetValue(EnableEditBoxAssistProperty, value); + } + + public static bool GetEnableEditBoxAssist(DependencyObject element) + { + return (bool) element.GetValue(EnableEditBoxAssistProperty); + } + + private static void EnableCheckBoxAssistPropertyChangedCallback(DependencyObject dependencyObject, + DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var dataGrid = dependencyObject as DataGrid; + if (dataGrid == null) return; + + if ((bool) dependencyPropertyChangedEventArgs.NewValue) + dataGrid.PreviewMouseLeftButtonDown += DataGridOnPreviewMouseLeftButtonDown; + else + dataGrid.PreviewMouseLeftButtonDown -= DataGridOnPreviewMouseLeftButtonDown; + } + + private static void DataGridOnPreviewMouseLeftButtonDown(object sender, + MouseButtonEventArgs mouseButtonEventArgs) + { + var dataGrid = (DataGrid) sender; + + var inputHitTest = + dataGrid.InputHitTest(mouseButtonEventArgs.GetPosition((DataGrid) sender)) as DependencyObject; + + while (inputHitTest != null) + { + var dataGridCell = inputHitTest as DataGridCell; + if (dataGridCell != null && dataGrid.Equals(dataGridCell.GetVisualAncestry().OfType<DataGrid>().FirstOrDefault())) + { + if (dataGridCell.IsReadOnly) return; + + ToggleButton toggleButton; + ComboBox comboBox; + if (IsDirectHitOnEditComponent(dataGridCell, mouseButtonEventArgs, out toggleButton)) + { + dataGrid.CurrentCell = new DataGridCellInfo(dataGridCell); + dataGrid.BeginEdit(); + toggleButton.SetCurrentValue(ToggleButton.IsCheckedProperty, !toggleButton.IsChecked); + dataGrid.CommitEdit(); + mouseButtonEventArgs.Handled = true; + } + else if (IsDirectHitOnEditComponent(dataGridCell, mouseButtonEventArgs, out comboBox)) + { + if (_suppressComboAutoDropDown != null) return; + + dataGrid.CurrentCell = new DataGridCellInfo(dataGridCell); + dataGrid.BeginEdit(); + //check again, as we move to the edit template + if (IsDirectHitOnEditComponent(dataGridCell, mouseButtonEventArgs, out comboBox)) + { + _suppressComboAutoDropDown = dataGrid; + comboBox.DropDownClosed += ComboBoxOnDropDownClosed; + comboBox.IsDropDownOpen = true; + } + mouseButtonEventArgs.Handled = true; + } + + return; + } + + inputHitTest = (inputHitTest is Visual || inputHitTest is Visual3D) + ? VisualTreeHelper.GetParent(inputHitTest) + : null; + } + } + + private static void ComboBoxOnDropDownClosed(object sender, EventArgs eventArgs) + { + _suppressComboAutoDropDown.CommitEdit(); + _suppressComboAutoDropDown = null; + ((ComboBox)sender).DropDownClosed -= ComboBoxOnDropDownClosed; + } + + private static bool IsDirectHitOnEditComponent<TControl>(ContentControl contentControl, MouseEventArgs mouseButtonEventArgs, out TControl control) + where TControl : Control + { + control = contentControl.Content as TControl; + if (control == null) return false; + + var frameworkElement = VisualTreeHelper.GetChild(contentControl, 0) as FrameworkElement; + if (frameworkElement == null) return false; + + var transformToAncestor = (MatrixTransform) control.TransformToAncestor(frameworkElement); + var rect = new Rect( + new Point(transformToAncestor.Value.OffsetX, transformToAncestor.Value.OffsetY), + new Size(control.ActualWidth, control.ActualHeight)); + + return rect.Contains(mouseButtonEventArgs.GetPosition(frameworkElement)); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DateTimeEx.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DateTimeEx.cs new file mode 100644 index 000000000..b814739d7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DateTimeEx.cs @@ -0,0 +1,51 @@ +using System; +using System.Globalization; +using System.Linq; + +namespace MaterialDesignThemes.Wpf +{ + internal static class DateTimeEx + { + internal static DateTimeFormatInfo GetDateFormat(this CultureInfo culture) + { + if (culture == null) throw new ArgumentNullException(nameof(culture)); + + if (culture.Calendar is GregorianCalendar) + { + return culture.DateTimeFormat; + } + + GregorianCalendar foundCal = null; + DateTimeFormatInfo dtfi = null; + foreach (var cal in culture.OptionalCalendars.OfType<GregorianCalendar>()) + { + // Return the first Gregorian calendar with CalendarType == Localized + // Otherwise return the first Gregorian calendar + if (foundCal == null) + { + foundCal = cal; + } + + if (cal.CalendarType != GregorianCalendarTypes.Localized) continue; + + foundCal = cal; + break; + } + + + if (foundCal == null) + { + // if there are no GregorianCalendars in the OptionalCalendars list, use the invariant dtfi + dtfi = ((CultureInfo)CultureInfo.InvariantCulture.Clone()).DateTimeFormat; + dtfi.Calendar = new GregorianCalendar(); + } + else + { + dtfi = ((CultureInfo)culture.Clone()).DateTimeFormat; + dtfi.Calendar = foundCal; + } + + return dtfi; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogClosingEventArgs.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogClosingEventArgs.cs new file mode 100644 index 000000000..6cc186719 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogClosingEventArgs.cs @@ -0,0 +1,61 @@ +using System; +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public class DialogClosingEventArgs : RoutedEventArgs + { + public DialogClosingEventArgs(DialogSession session, object parameter) + { + if (session == null) throw new ArgumentNullException(nameof(session)); + Session = session; + + Parameter = parameter; + } + + public DialogClosingEventArgs(DialogSession session, object parameter, RoutedEvent routedEvent) : base(routedEvent) + { + if (session == null) throw new ArgumentNullException(nameof(session)); + Session = session; + + Parameter = parameter; + } + + public DialogClosingEventArgs(DialogSession session, object parameter, RoutedEvent routedEvent, object source) : base(routedEvent, source) + { + if (session == null) throw new ArgumentNullException(nameof(session)); + Session = session; + + Parameter = parameter; + } + + /// <summary> + /// Cancel the close. + /// </summary> + public void Cancel() + { + IsCancelled = true; + } + + /// <summary> + /// Indicates if the close has already been cancelled. + /// </summary> + public bool IsCancelled { get; private set; } + + /// <summary> + /// Gets the paramter originally provided to <see cref="DialogHost.CloseDialogCommand"/>/ + /// </summary> + public object Parameter { get; } + + /// <summary> + /// Allows interation with the current dialog session. + /// </summary> + public DialogSession Session { get; } + + /// <summary> + /// Gets the <see cref="DialogHost.DialogContent"/> which is currently displayed, so this could be a view model or a UI element. + /// </summary> + [Obsolete("Prefer Session.Content")] + public object Content => Session.Content; + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogClosingEventHandler.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogClosingEventHandler.cs new file mode 100644 index 000000000..5370b6fb2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogClosingEventHandler.cs @@ -0,0 +1,4 @@ +namespace MaterialDesignThemes.Wpf +{ + public delegate void DialogClosingEventHandler(object sender, DialogClosingEventArgs eventArgs); +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogHost.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogHost.cs new file mode 100644 index 000000000..77e1c1f62 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogHost.cs @@ -0,0 +1,719 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Input; +using System.Windows.Threading; +using MaterialDesignThemes.Wpf.Transitions; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Defines how a data context is sourced for a dialog if a <see cref="FrameworkElement"/> + /// is passed as the command parameter when using <see cref="DialogHost.OpenDialogCommand"/>. + /// </summary> + public enum DialogHostOpenDialogCommandDataContextSource + { + /// <summary> + /// The data context from the sender element (typically a <see cref="Button"/>) + /// is applied to the content. + /// </summary> + SenderElement, + /// <summary> + /// The data context from the <see cref="DialogHost"/> is applied to the content. + /// </summary> + DialogHostInstance, + /// <summary> + /// The data context is explicitly set to <c>null</c>. + /// </summary> + None + } + + [TemplatePart(Name = PopupPartName, Type = typeof(Popup))] + [TemplatePart(Name = PopupPartName, Type = typeof(ContentControl))] + [TemplatePart(Name = ContentCoverGridName, Type = typeof(Grid))] + [TemplateVisualState(GroupName = "PopupStates", Name = OpenStateName)] + [TemplateVisualState(GroupName = "PopupStates", Name = ClosedStateName)] + public class DialogHost : ContentControl + { + public const string PopupPartName = "PART_Popup"; + public const string PopupContentPartName = "PART_PopupContentElement"; + public const string ContentCoverGridName = "PART_ContentCoverGrid"; + public const string OpenStateName = "Open"; + public const string ClosedStateName = "Closed"; + + /// <summary> + /// Routed command to be used somewhere inside an instance to trigger showing of the dialog. Content can be passed to the dialog via a <see cref="Button.CommandParameter"/>. + /// </summary> + public static RoutedCommand OpenDialogCommand = new RoutedCommand(); + /// <summary> + /// Routed command to be used inside dialog content to close a dialog. Use a <see cref="Button.CommandParameter"/> to indicate the result of the parameter. + /// </summary> + public static RoutedCommand CloseDialogCommand = new RoutedCommand(); + + private static readonly HashSet<DialogHost> LoadedInstances = new HashSet<DialogHost>(); + + private readonly ManualResetEvent _asyncShowWaitHandle = new ManualResetEvent(false); + private DialogOpenedEventHandler _asyncShowOpenedEventHandler; + private DialogClosingEventHandler _asyncShowClosingEventHandler; + + private Popup _popup; + private ContentControl _popupContentControl; + private Grid _contentCoverGrid; + private DialogSession _session; + private DialogOpenedEventHandler _attachedDialogOpenedEventHandler; + private DialogClosingEventHandler _attachedDialogClosingEventHandler; + private object _closeDialogExecutionParameter; + private IInputElement _restoreFocusDialogClose; + private IInputElement _restoreFocusWindowReactivation; + private Action _currentSnackbarMessageQueueUnPauseAction = null; + private Action _closeCleanUp = () => { }; + + static DialogHost() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(DialogHost), new FrameworkPropertyMetadata(typeof(DialogHost))); + } + + #region .Show overloads + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static async Task<object> Show(object content) + { + return await Show(content, null, null); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static async Task<object> Show(object content, DialogOpenedEventHandler openedEventHandler) + { + return await Show(content, null, openedEventHandler, null); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static async Task<object> Show(object content, DialogClosingEventHandler closingEventHandler) + { + return await Show(content, null, null, closingEventHandler); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static async Task<object> Show(object content, DialogOpenedEventHandler openedEventHandler, DialogClosingEventHandler closingEventHandler) + { + return await Show(content, null, openedEventHandler, closingEventHandler); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="dialogIdentifier"><see cref="Identifier"/> of the instance where the dialog should be shown. Typically this will match an identifer set in XAML. <c>null</c> is allowed.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static async Task<object> Show(object content, object dialogIdentifier) + { + return await Show(content, dialogIdentifier, null, null); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="dialogIdentifier"><see cref="Identifier"/> of the instance where the dialog should be shown. Typically this will match an identifer set in XAML. <c>null</c> is allowed.</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static Task<object> Show(object content, object dialogIdentifier, DialogOpenedEventHandler openedEventHandler) + { + return Show(content, dialogIdentifier, openedEventHandler, null); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="dialogIdentifier"><see cref="Identifier"/> of the instance where the dialog should be shown. Typically this will match an identifer set in XAML. <c>null</c> is allowed.</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static Task<object> Show(object content, object dialogIdentifier, DialogClosingEventHandler closingEventHandler) + { + return Show(content, dialogIdentifier, null, closingEventHandler); + } + + /// <summary> + /// Shows a modal dialog. To use, a <see cref="DialogHost"/> instance must be in a visual tree (typically this may be specified towards the root of a Window's XAML). + /// </summary> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="dialogIdentifier"><see cref="Identifier"/> of the instance where the dialog should be shown. Typically this will match an identifer set in XAML. <c>null</c> is allowed.</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <returns>Task result is the parameter used to close the dialog, typically what is passed to the <see cref="CloseDialogCommand"/> command.</returns> + public static async Task<object> Show(object content, object dialogIdentifier, DialogOpenedEventHandler openedEventHandler, DialogClosingEventHandler closingEventHandler) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + + if (LoadedInstances.Count == 0) + throw new InvalidOperationException("No loaded DialogHost instances."); + LoadedInstances.First().Dispatcher.VerifyAccess(); + + var targets = LoadedInstances.Where(dh => dialogIdentifier == null || Equals(dh.Identifier, dialogIdentifier)).ToList(); + if (targets.Count == 0) + throw new InvalidOperationException("No loaded DialogHost have an Identifier property matching dialogIndetifier argument."); + if (targets.Count > 1) + throw new InvalidOperationException("Multiple viable DialogHosts. Specify a unique Identifier on each DialogHost, especially where multiple Windows are a concern."); + + return await targets[0].ShowInternal(content, openedEventHandler, closingEventHandler); + } + + internal async Task<object> ShowInternal(object content, DialogOpenedEventHandler openedEventHandler, DialogClosingEventHandler closingEventHandler) + { + if (IsOpen) + throw new InvalidOperationException("DialogHost is already open."); + + AssertTargetableContent(); + DialogContent = content; + _asyncShowOpenedEventHandler = openedEventHandler; + _asyncShowClosingEventHandler = closingEventHandler; + SetCurrentValue(IsOpenProperty, true); + + var task = new Task(() => + { + _asyncShowWaitHandle.WaitOne(); + }); + task.Start(); + + await task; + + _asyncShowOpenedEventHandler = null; + _asyncShowClosingEventHandler = null; + + return _closeDialogExecutionParameter; + } + + #endregion + + public DialogHost() + { + Loaded += OnLoaded; + Unloaded += OnUnloaded; + + CommandBindings.Add(new CommandBinding(CloseDialogCommand, CloseDialogHandler, CloseDialogCanExecute)); + CommandBindings.Add(new CommandBinding(OpenDialogCommand, OpenDialogHandler)); + } + + public static readonly DependencyProperty IdentifierProperty = DependencyProperty.Register( + nameof(Identifier), typeof (object), typeof (DialogHost), new PropertyMetadata(default(object))); + + /// <summary> + /// Identifier which is used in conjunction with <see cref="Show(object)"/> to determine where a dialog should be shown. + /// </summary> + public object Identifier + { + get { return GetValue(IdentifierProperty); } + set { SetValue(IdentifierProperty, value); } + } + + public static readonly DependencyProperty IsOpenProperty = DependencyProperty.Register( + nameof(IsOpen), typeof (bool), typeof (DialogHost), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, IsOpenPropertyChangedCallback)); + + private static void IsOpenPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var dialogHost = (DialogHost)dependencyObject; + + if (dialogHost._popupContentControl != null) + ValidationAssist.SetSuppress(dialogHost._popupContentControl, !dialogHost.IsOpen); + VisualStateManager.GoToState(dialogHost, dialogHost.SelectState(), !TransitionAssist.GetDisableTransitions(dialogHost)); + + if (dialogHost.IsOpen) + { + WatchWindowActivation(dialogHost); + dialogHost._currentSnackbarMessageQueueUnPauseAction = dialogHost.SnackbarMessageQueue?.Pause(); + } + else + { + dialogHost._asyncShowWaitHandle.Set(); + dialogHost._attachedDialogClosingEventHandler = null; + if (dialogHost._currentSnackbarMessageQueueUnPauseAction != null) + { + dialogHost._currentSnackbarMessageQueueUnPauseAction(); + dialogHost._currentSnackbarMessageQueueUnPauseAction = null; + } + dialogHost._session.IsEnded = true; + dialogHost._session = null; + dialogHost._closeCleanUp(); + + // Don't attempt to Invoke if _restoreFocusDialogClose hasn't been assigned yet. Can occur + // if the MainWindow has started up minimized. Even when Show() has been called, this doesn't + // seem to have been set. + dialogHost.Dispatcher.InvokeAsync(() => dialogHost._restoreFocusDialogClose?.Focus(), DispatcherPriority.Input); + + return; + } + + dialogHost._asyncShowWaitHandle.Reset(); + dialogHost._session = new DialogSession(dialogHost); + var window = Window.GetWindow(dialogHost); + dialogHost._restoreFocusDialogClose = window != null ? FocusManager.GetFocusedElement(window) : null; + + //multiple ways of calling back that the dialog has opened: + // * routed event + // * the attached property (which should be applied to the button which opened the dialog + // * straight forward dependency property + // * handler provided to the async show method + var dialogOpenedEventArgs = new DialogOpenedEventArgs(dialogHost._session, DialogOpenedEvent); + dialogHost.OnDialogOpened(dialogOpenedEventArgs); + dialogHost._attachedDialogOpenedEventHandler?.Invoke(dialogHost, dialogOpenedEventArgs); + dialogHost.DialogOpenedCallback?.Invoke(dialogHost, dialogOpenedEventArgs); + dialogHost._asyncShowOpenedEventHandler?.Invoke(dialogHost, dialogOpenedEventArgs); + + dialogHost.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => + { + CommandManager.InvalidateRequerySuggested(); + var child = dialogHost.FocusPopup(); + + //https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues/187 + //totally not happy about this, but on immediate validation we can get some weird looking stuff...give WPF a kick to refresh... + Task.Delay(300).ContinueWith(t => child.Dispatcher.BeginInvoke(new Action(() => child.InvalidateVisual()))); + })); + } + + public bool IsOpen + { + get { return (bool)GetValue(IsOpenProperty); } + set { SetValue(IsOpenProperty, value); } + } + + public static readonly DependencyProperty DialogContentProperty = DependencyProperty.Register( + nameof(DialogContent), typeof (object), typeof (DialogHost), new PropertyMetadata(default(object))); + + public object DialogContent + { + get { return (object)GetValue(DialogContentProperty); } + set { SetValue(DialogContentProperty, value); } + } + + public static readonly DependencyProperty DialogContentTemplateProperty = DependencyProperty.Register( + nameof(DialogContentTemplate), typeof (DataTemplate), typeof (DialogHost), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate DialogContentTemplate + { + get { return (DataTemplate)GetValue(DialogContentTemplateProperty); } + set { SetValue(DialogContentTemplateProperty, value); } + } + + public static readonly DependencyProperty DialogContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(DialogContentTemplateSelector), typeof (DataTemplateSelector), typeof (DialogHost), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector DialogContentTemplateSelector + { + get { return (DataTemplateSelector)GetValue(DialogContentTemplateSelectorProperty); } + set { SetValue(DialogContentTemplateSelectorProperty, value); } + } + + public static readonly DependencyProperty DialogContentStringFormatProperty = DependencyProperty.Register( + nameof(DialogContentStringFormat), typeof (string), typeof (DialogHost), new PropertyMetadata(default(string))); + + public string DialogContentStringFormat + { + get { return (string)GetValue(DialogContentStringFormatProperty); } + set { SetValue(DialogContentStringFormatProperty, value); } + } + + public static readonly DependencyProperty DialogMarginProperty = DependencyProperty.Register( + "DialogMargin", typeof(Thickness), typeof(DialogHost), new PropertyMetadata(default(Thickness))); + + public Thickness DialogMargin + { + get { return (Thickness)GetValue(DialogMarginProperty); } + set { SetValue(DialogMarginProperty, value); } + } + + public static readonly DependencyProperty OpenDialogCommandDataContextSourceProperty = DependencyProperty.Register( + nameof(OpenDialogCommandDataContextSource), typeof (DialogHostOpenDialogCommandDataContextSource), typeof (DialogHost), new PropertyMetadata(default(DialogHostOpenDialogCommandDataContextSource))); + + /// <summary> + /// Defines how a data context is sourced for a dialog if a <see cref="FrameworkElement"/> + /// is passed as the command parameter when using <see cref="DialogHost.OpenDialogCommand"/>. + /// </summary> + public DialogHostOpenDialogCommandDataContextSource OpenDialogCommandDataContextSource + { + get { return (DialogHostOpenDialogCommandDataContextSource)GetValue(OpenDialogCommandDataContextSourceProperty); } + set { SetValue(OpenDialogCommandDataContextSourceProperty, value); } + } + + public static readonly DependencyProperty CloseOnClickAwayProperty = DependencyProperty.Register( + "CloseOnClickAway", typeof (bool), typeof (DialogHost), new PropertyMetadata(default(bool))); + + /// <summary> + /// Indicates whether the dialog will close if the user clicks off the dialog, on the obscured background. + /// </summary> + public bool CloseOnClickAway + { + get { return (bool)GetValue(CloseOnClickAwayProperty); } + set { SetValue(CloseOnClickAwayProperty, value); } + } + + public static readonly DependencyProperty CloseOnClickAwayParameterProperty = DependencyProperty.Register( + "CloseOnClickAwayParameter", typeof (object), typeof (DialogHost), new PropertyMetadata(default(object))); + + /// <summary> + /// Parameter to provide to close handlers if an close due to click away is instigated. + /// </summary> + public object CloseOnClickAwayParameter + { + get { return (object)GetValue(CloseOnClickAwayParameterProperty); } + set { SetValue(CloseOnClickAwayParameterProperty, value); } + } + + public static readonly DependencyProperty SnackbarMessageQueueProperty = DependencyProperty.Register( + "SnackbarMessageQueue", typeof(SnackbarMessageQueue), typeof(DialogHost), new PropertyMetadata(default(SnackbarMessageQueue), SnackbarMessageQueuePropertyChangedCallback)); + + private static void SnackbarMessageQueuePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var dialogHost = (DialogHost) dependencyObject; + if (dialogHost._currentSnackbarMessageQueueUnPauseAction != null) + { + dialogHost._currentSnackbarMessageQueueUnPauseAction(); + dialogHost._currentSnackbarMessageQueueUnPauseAction = null; + } + + if (!dialogHost.IsOpen) return; + var snackbarMessageQueue = dependencyPropertyChangedEventArgs.NewValue as SnackbarMessageQueue; + dialogHost._currentSnackbarMessageQueueUnPauseAction = snackbarMessageQueue?.Pause(); + } + + /// <summary> + /// Allows association of a snackbar, so that notifications can be paused whilst a dialog is being displayed. + /// </summary> + public SnackbarMessageQueue SnackbarMessageQueue + { + get { return (SnackbarMessageQueue)GetValue(SnackbarMessageQueueProperty); } + set { SetValue(SnackbarMessageQueueProperty, value); } + } + + public static readonly DependencyProperty PopupStyleProperty = DependencyProperty.Register( + nameof(PopupStyle), typeof(Style), typeof(DialogHost), new PropertyMetadata(default(Style))); + + public Style PopupStyle + { + get { return (Style) GetValue(PopupStyleProperty); } + set { SetValue(PopupStyleProperty, value); } + } + + public override void OnApplyTemplate() + { + if (_contentCoverGrid != null) + _contentCoverGrid.MouseLeftButtonUp -= ContentCoverGridOnMouseLeftButtonUp; + + _popup = GetTemplateChild(PopupPartName) as Popup; + _popupContentControl = GetTemplateChild(PopupContentPartName) as ContentControl; + _contentCoverGrid = GetTemplateChild(ContentCoverGridName) as Grid; + + if (_contentCoverGrid != null) + _contentCoverGrid.MouseLeftButtonUp += ContentCoverGridOnMouseLeftButtonUp; + + VisualStateManager.GoToState(this, SelectState(), false); + + base.OnApplyTemplate(); + } + + #region open dialog events/callbacks + + public static readonly RoutedEvent DialogOpenedEvent = + EventManager.RegisterRoutedEvent( + "DialogOpened", + RoutingStrategy.Bubble, + typeof (DialogOpenedEventHandler), + typeof (DialogHost)); + + /// <summary> + /// Raised when a dialog is opened. + /// </summary> + public event DialogOpenedEventHandler DialogOpened + { + add { AddHandler(DialogOpenedEvent, value); } + remove { RemoveHandler(DialogOpenedEvent, value); } + } + + /// <summary> + /// Attached property which can be used on the <see cref="Button"/> which instigated the <see cref="OpenDialogCommand"/> to process the event. + /// </summary> + public static readonly DependencyProperty DialogOpenedAttachedProperty = DependencyProperty.RegisterAttached( + "DialogOpenedAttached", typeof(DialogOpenedEventHandler), typeof(DialogHost), new PropertyMetadata(default(DialogOpenedEventHandler))); + + public static void SetDialogOpenedAttached(DependencyObject element, DialogOpenedEventHandler value) + { + element.SetValue(DialogOpenedAttachedProperty, value); + } + + public static DialogOpenedEventHandler GetDialogOpenedAttached(DependencyObject element) + { + return (DialogOpenedEventHandler)element.GetValue(DialogOpenedAttachedProperty); + } + + public static readonly DependencyProperty DialogOpenedCallbackProperty = DependencyProperty.Register( + nameof(DialogOpenedCallback), typeof(DialogOpenedEventHandler), typeof(DialogHost), new PropertyMetadata(default(DialogOpenedEventHandler))); + + /// <summary> + /// Callback fired when the <see cref="DialogOpened"/> event is fired, allowing the event to be processed from a binding/view model. + /// </summary> + public DialogOpenedEventHandler DialogOpenedCallback + { + get { return (DialogOpenedEventHandler)GetValue(DialogOpenedCallbackProperty); } + set { SetValue(DialogOpenedCallbackProperty, value); } + } + + protected void OnDialogOpened(DialogOpenedEventArgs eventArgs) + { + RaiseEvent(eventArgs); + } + + #endregion + + #region close dialog events/callbacks + + public static readonly RoutedEvent DialogClosingEvent = + EventManager.RegisterRoutedEvent( + "DialogClosing", + RoutingStrategy.Bubble, + typeof (DialogClosingEventHandler), + typeof (DialogHost)); + + /// <summary> + /// Raised just before a dialog is closed. + /// </summary> + public event DialogClosingEventHandler DialogClosing + { + add { AddHandler(DialogClosingEvent, value); } + remove { RemoveHandler(DialogClosingEvent, value); } + } + + /// <summary> + /// Attached property which can be used on the <see cref="Button"/> which instigated the <see cref="OpenDialogCommand"/> to process the closing event. + /// </summary> + public static readonly DependencyProperty DialogClosingAttachedProperty = DependencyProperty.RegisterAttached( + "DialogClosingAttached", typeof (DialogClosingEventHandler), typeof (DialogHost), new PropertyMetadata(default(DialogClosingEventHandler))); + + public static void SetDialogClosingAttached(DependencyObject element, DialogClosingEventHandler value) + { + element.SetValue(DialogClosingAttachedProperty, value); + } + + public static DialogClosingEventHandler GetDialogClosingAttached(DependencyObject element) + { + return (DialogClosingEventHandler)element.GetValue(DialogClosingAttachedProperty); + } + + public static readonly DependencyProperty DialogClosingCallbackProperty = DependencyProperty.Register( + nameof(DialogClosingCallback), typeof (DialogClosingEventHandler), typeof (DialogHost), new PropertyMetadata(default(DialogClosingEventHandler))); + + /// <summary> + /// Callback fired when the <see cref="DialogClosing"/> event is fired, allowing the event to be processed from a binding/view model. + /// </summary> + public DialogClosingEventHandler DialogClosingCallback + { + get { return (DialogClosingEventHandler)GetValue(DialogClosingCallbackProperty); } + set { SetValue(DialogClosingCallbackProperty, value); } + } + + protected void OnDialogClosing(DialogClosingEventArgs eventArgs) + { + RaiseEvent(eventArgs); + } + + #endregion + + internal void AssertTargetableContent() + { + var existindBinding = BindingOperations.GetBindingExpression(this, DialogContentProperty); + if (existindBinding != null) + throw new InvalidOperationException( + "Content cannot be passed to a dialog via the OpenDialog if DialogContent already has a binding."); + } + + internal void Close(object parameter) + { + var dialogClosingEventArgs = new DialogClosingEventArgs(_session, parameter, DialogClosingEvent); + + _session.IsEnded = true; + + //multiple ways of calling back that the dialog is closing: + // * routed event + // * the attached property (which should be applied to the button which opened the dialog + // * straight forward dependency property + // * handler provided to the async show method + OnDialogClosing(dialogClosingEventArgs); + _attachedDialogClosingEventHandler?.Invoke(this, dialogClosingEventArgs); + DialogClosingCallback?.Invoke(this, dialogClosingEventArgs); + _asyncShowClosingEventHandler?.Invoke(this, dialogClosingEventArgs); + + if (!dialogClosingEventArgs.IsCancelled) + SetCurrentValue(IsOpenProperty, false); + else + _session.IsEnded = false; + + _closeDialogExecutionParameter = parameter; + } + + /// <summary> + /// Attempts to focus the content of a popup. + /// </summary> + /// <returns>The popup content.</returns> + internal UIElement FocusPopup() + { + var child = _popup?.Child; + if (child == null) return null; + + CommandManager.InvalidateRequerySuggested(); + var focusable = child.VisualDepthFirstTraversal().OfType<UIElement>().FirstOrDefault(ui => ui.Focusable && ui.IsVisible); + focusable?.Dispatcher.InvokeAsync(() => + { + if (!focusable.Focus()) return; + focusable.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); + }, DispatcherPriority.Background); + + return child; + } + + protected override void OnPreviewMouseDown(MouseButtonEventArgs e) + { + var window = Window.GetWindow(this); + if (window != null && !window.IsActive) + window.Activate(); + base.OnPreviewMouseDown(e); + } + + private void ContentCoverGridOnMouseLeftButtonUp(object sender, MouseButtonEventArgs mouseButtonEventArgs) + { + if (CloseOnClickAway) + Close(CloseOnClickAwayParameter); + } + + private void OpenDialogHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (executedRoutedEventArgs.Handled) return; + + var dependencyObject = executedRoutedEventArgs.OriginalSource as DependencyObject; + if (dependencyObject != null) + { + _attachedDialogOpenedEventHandler = GetDialogOpenedAttached(dependencyObject); + _attachedDialogClosingEventHandler = GetDialogClosingAttached(dependencyObject); + } + + if (executedRoutedEventArgs.Parameter != null) + { + AssertTargetableContent(); + + if (_popupContentControl != null) + { + switch (OpenDialogCommandDataContextSource) + { + case DialogHostOpenDialogCommandDataContextSource.SenderElement: + _popupContentControl.DataContext = + (executedRoutedEventArgs.OriginalSource as FrameworkElement)?.DataContext; + break; + case DialogHostOpenDialogCommandDataContextSource.DialogHostInstance: + _popupContentControl.DataContext = DataContext; + break; + case DialogHostOpenDialogCommandDataContextSource.None: + _popupContentControl.DataContext = null; + break; + default: + throw new ArgumentOutOfRangeException(); + } + } + + DialogContent = executedRoutedEventArgs.Parameter; + } + + SetCurrentValue(IsOpenProperty, true); + + executedRoutedEventArgs.Handled = true; + } + + private void CloseDialogCanExecute(object sender, CanExecuteRoutedEventArgs canExecuteRoutedEventArgs) + { + canExecuteRoutedEventArgs.CanExecute = _session != null; + } + + private void CloseDialogHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (executedRoutedEventArgs.Handled) return; + + Close(executedRoutedEventArgs.Parameter); + + executedRoutedEventArgs.Handled = true; + } + + private string SelectState() + { + return IsOpen ? OpenStateName : ClosedStateName; + } + + private void OnUnloaded(object sender, RoutedEventArgs routedEventArgs) + { + LoadedInstances.Remove(this); + SetCurrentValue(IsOpenProperty, false); + } + + private void OnLoaded(object sender, RoutedEventArgs routedEventArgs) + { + LoadedInstances.Add(this); + } + + private static void WatchWindowActivation(DialogHost dialogHost) + { + var window = Window.GetWindow(dialogHost); + if (window != null) + { + window.Activated += dialogHost.WindowOnActivated; + window.Deactivated += dialogHost.WindowOnDeactivated; + dialogHost._closeCleanUp = () => + { + window.Activated -= dialogHost.WindowOnActivated; + window.Deactivated -= dialogHost.WindowOnDeactivated; + }; + } + else + { + dialogHost._closeCleanUp = () => { }; + } + } + + private void WindowOnDeactivated(object sender, EventArgs eventArgs) + { + _restoreFocusWindowReactivation = _popup != null ? FocusManager.GetFocusedElement((Window)sender) : null; + } + + private void WindowOnActivated(object sender, EventArgs eventArgs) + { + if (_restoreFocusWindowReactivation != null) + { + Dispatcher.BeginInvoke(new Action(() => + { + Keyboard.Focus(_restoreFocusWindowReactivation); + })); + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogHostEx.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogHostEx.cs new file mode 100644 index 000000000..d3a1688ab --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogHostEx.cs @@ -0,0 +1,169 @@ +using System; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Helper extensions for showing dialogs. + /// </summary> + public static class DialogHostEx + { + /// <summary> + /// Shows a dialog using the first found <see cref="DialogHost"/> in a given <see cref="Window"/>. + /// </summary> + /// <param name="window">Window on which the modal dialog should be displayed. Must contain a <see cref="DialogHost"/>.</param> + /// <param name="content"></param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <remarks> + /// As a depth first traversal of the window's visual tree is performed, it is not safe to use this method in a situtation where a screen has multiple <see cref="DialogHost"/>s. + /// </remarks> + /// <returns></returns> + public static async Task<object> ShowDialog(this Window window, object content) + { + return await GetFirstDialogHost(window).ShowInternal(content, null, null); + } + + /// <summary> + /// Shows a dialog using the first found <see cref="DialogHost"/> in a given <see cref="Window"/>. + /// </summary> + /// <param name="window">Window on which the modal dialog should be displayed. Must contain a <see cref="DialogHost"/>.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <remarks> + /// As a depth first traversal of the window's visual tree is performed, it is not safe to use this method in a situtation where a screen has multiple <see cref="DialogHost"/>s. + /// </remarks> + /// <returns></returns> + public static async Task<object> ShowDialog(this Window window, object content, DialogOpenedEventHandler openedEventHandler) + { + return await GetFirstDialogHost(window).ShowInternal(content, openedEventHandler, null); + } + + /// <summary> + /// Shows a dialog using the first found <see cref="DialogHost"/> in a given <see cref="Window"/>. + /// </summary> + /// <param name="window">Window on which the modal dialog should be displayed. Must contain a <see cref="DialogHost"/>.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <remarks> + /// As a depth first traversal of the window's visual tree is performed, it is not safe to use this method in a situtation where a screen has multiple <see cref="DialogHost"/>s. + /// </remarks> + /// <returns></returns> + public static async Task<object> ShowDialog(this Window window, object content, DialogClosingEventHandler closingEventHandler) + { + return await GetFirstDialogHost(window).ShowInternal(content, null, closingEventHandler); + } + + /// <summary> + /// Shows a dialog using the first found <see cref="DialogHost"/> in a given <see cref="Window"/>. + /// </summary> + /// <param name="window">Window on which the modal dialog should be displayed. Must contain a <see cref="DialogHost"/>.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <remarks> + /// As a depth first traversal of the window's visual tree is performed, it is not safe to use this method in a situtation where a screen has multiple <see cref="DialogHost"/>s. + /// </remarks> + /// <returns></returns> + public static async Task<object> ShowDialog(this Window window, object content, DialogOpenedEventHandler openedEventHandler, DialogClosingEventHandler closingEventHandler) + { + return await GetFirstDialogHost(window).ShowInternal(content, openedEventHandler, closingEventHandler); + } + + /// <summary> + /// Shows a dialog using the parent/ancestor <see cref="DialogHost"/> of the a given <see cref="DependencyObject"/>. + /// </summary> + /// <param name="childDependencyObject">Dependency object which should be a visual child of a <see cref="DialogHost"/>, where the dialog will be shown.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <returns></returns> + public static async Task<object> ShowDialog(this DependencyObject childDependencyObject, object content) + { + return await GetOwningDialogHost(childDependencyObject).ShowInternal(content, null, null); + } + + /// <summary> + /// Shows a dialog using the parent/ancestor <see cref="DialogHost"/> of the a given <see cref="DependencyObject"/>. + /// </summary> + /// <param name="childDependencyObject">Dependency object which should be a visual child of a <see cref="DialogHost"/>, where the dialog will be shown.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <returns></returns> + public static async Task<object> ShowDialog(this DependencyObject childDependencyObject, object content, DialogOpenedEventHandler openedEventHandler) + { + return await GetOwningDialogHost(childDependencyObject).ShowInternal(content, openedEventHandler, null); + } + + /// <summary> + /// Shows a dialog using the parent/ancestor <see cref="DialogHost"/> of the a given <see cref="DependencyObject"/>. + /// </summary> + /// <param name="childDependencyObject">Dependency object which should be a visual child of a <see cref="DialogHost"/>, where the dialog will be shown.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <returns></returns> + public static async Task<object> ShowDialog(this DependencyObject childDependencyObject, object content, DialogClosingEventHandler closingEventHandler) + { + return await GetOwningDialogHost(childDependencyObject).ShowInternal(content, null, closingEventHandler); + } + + /// <summary> + /// Shows a dialog using the parent/ancestor <see cref="DialogHost"/> of the a given <see cref="DependencyObject"/>. + /// </summary> + /// <param name="childDependencyObject">Dependency object which should be a visual child of a <see cref="DialogHost"/>, where the dialog will be shown.</param> + /// <param name="content">Content to show (can be a control or view model).</param> + /// <param name="openedEventHandler">Allows access to opened event which would otherwise have been subscribed to on a instance.</param> + /// <param name="closingEventHandler">Allows access to closing event which would otherwise have been subscribed to on a instance.</param> + /// <exception cref="InvalidOperationException"> + /// Thrown is a <see cref="DialogHost"/> is not found when conducting a depth first traversal of visual tree. + /// </exception> + /// <returns></returns> + public static async Task<object> ShowDialog(this DependencyObject childDependencyObject, object content, DialogOpenedEventHandler openedEventHandler, DialogClosingEventHandler closingEventHandler) + { + return await GetOwningDialogHost(childDependencyObject).ShowInternal(content, openedEventHandler, closingEventHandler); + } + + private static DialogHost GetFirstDialogHost(Window window) + { + if (window == null) throw new ArgumentNullException(nameof(window)); + + var dialogHost = window.VisualDepthFirstTraversal().OfType<DialogHost>().FirstOrDefault(); + + if (dialogHost == null) + throw new InvalidOperationException("Unable to find a DialogHost in visual tree"); + + return dialogHost; + } + + private static DialogHost GetOwningDialogHost(DependencyObject childDependencyObject) + { + if (childDependencyObject == null) throw new ArgumentNullException(nameof(childDependencyObject)); + + var dialogHost = childDependencyObject.GetVisualAncestry().OfType<DialogHost>().FirstOrDefault(); + + if (dialogHost == null) + throw new InvalidOperationException("Unable to find a DialogHost in visual tree ancestory"); + + return dialogHost; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogOpenedEventArgs.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogOpenedEventArgs.cs new file mode 100644 index 000000000..885f07909 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogOpenedEventArgs.cs @@ -0,0 +1,21 @@ +using System; +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public class DialogOpenedEventArgs : RoutedEventArgs + { + public DialogOpenedEventArgs(DialogSession session, RoutedEvent routedEvent) + { + if (session == null) throw new ArgumentNullException(nameof(session)); + + Session = session; + RoutedEvent = routedEvent; + } + + /// <summary> + /// Allows interation with the current dialog session. + /// </summary> + public DialogSession Session { get; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogOpenedEventHandler.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogOpenedEventHandler.cs new file mode 100644 index 000000000..c6aac8f0f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogOpenedEventHandler.cs @@ -0,0 +1,4 @@ +namespace MaterialDesignThemes.Wpf +{ + public delegate void DialogOpenedEventHandler(object sender, DialogOpenedEventArgs eventArgs); +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogSession.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogSession.cs new file mode 100644 index 000000000..d6daa61a2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DialogSession.cs @@ -0,0 +1,73 @@ +using System; +using System.Windows.Input; +using System.Windows.Threading; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Allows an open dialog to be managed. Use is only permitted during a single display operation. + /// </summary> + public class DialogSession + { + private readonly DialogHost _owner; + + internal DialogSession(DialogHost owner) + { + if (owner == null) throw new ArgumentNullException(nameof(owner)); + + _owner = owner; + } + + /// <summary> + /// Indicates if the dialog session has ended. Once ended no further method calls will be permitted. + /// </summary> + /// <remarks> + /// Client code cannot set this directly, this is internally managed. To end the dicalog session use <see cref="Close()"/>. + /// </remarks> + public bool IsEnded { get; internal set; } + + /// <summary> + /// Gets the <see cref="DialogHost.DialogContent"/> which is currently displayed, so this could be a view model or a UI element. + /// </summary> + public object Content => _owner.DialogContent; + + /// <summary> + /// Update the currrent content in the dialog. + /// </summary> + /// <param name="content"></param> + public void UpdateContent(object content) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + + _owner.AssertTargetableContent(); + _owner.DialogContent = content; + _owner.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => + { + _owner.FocusPopup(); + })); + } + + /// <summary> + /// Closes the dialog. + /// </summary> + /// <exception cref="InvalidOperationException">Thrown if the dialog session has ended, or a close operation is currently in progress.</exception> + public void Close() + { + if (IsEnded) throw new InvalidOperationException("Dialog session has ended."); + + _owner.Close(null); + } + + /// <summary> + /// Closes the dialog. + /// </summary> + /// <param name="parameter">Result parameter which will be returned in <see cref="DialogClosingEventArgs.Parameter"/> or from <see cref="DialogHost.Show(object)"/> method.</param> + /// <exception cref="InvalidOperationException">Thrown if the dialog session has ended, or a close operation is currently in progress.</exception> + public void Close(object parameter) + { + if (IsEnded) throw new InvalidOperationException("Dialog session has ended."); + + _owner.Close(parameter); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DpiHelper.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DpiHelper.cs new file mode 100644 index 000000000..c37b4f7df --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DpiHelper.cs @@ -0,0 +1,50 @@ +using System.Reflection; +using System.Windows; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + internal static class DpiHelper + { + private static readonly int DpiX; + private static readonly int DpiY; + + private const double StandardDpiX = 96.0; + private const double StandardDpiY = 96.0; + + static DpiHelper() + { + var dpiXProperty = typeof(SystemParameters).GetProperty("DpiX", BindingFlags.NonPublic | BindingFlags.Static); + var dpiYProperty = typeof(SystemParameters).GetProperty("Dpi", BindingFlags.NonPublic | BindingFlags.Static); + + DpiX = (int)dpiXProperty.GetValue(null, null); + DpiY = (int)dpiYProperty.GetValue(null, null); + } + + public static double TransformToDeviceY(Visual visual, double y) + { + var source = PresentationSource.FromVisual(visual); + if (source?.CompositionTarget != null) return y * source.CompositionTarget.TransformToDevice.M22; + + return TransformToDeviceY(y); + } + + public static double TransformToDeviceX(Visual visual, double x) + { + var source = PresentationSource.FromVisual(visual); + if (source?.CompositionTarget != null) return x * source.CompositionTarget.TransformToDevice.M11; + + return TransformToDeviceX(x); + } + + public static double TransformToDeviceY(double y) + { + return y * DpiY / StandardDpiY; + } + + public static double TransformToDeviceX(double x) + { + return x * DpiX / StandardDpiX; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DrawerHost.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DrawerHost.cs new file mode 100644 index 000000000..36b612ad2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/DrawerHost.cs @@ -0,0 +1,532 @@ +using System; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; +using System.Windows.Media; +using MaterialDesignThemes.Wpf.Transitions; +using System.Collections.Generic; + +namespace MaterialDesignThemes.Wpf +{ + [TemplateVisualState(GroupName = TemplateAllDrawersGroupName, Name = TemplateAllDrawersAllClosedStateName)] + [TemplateVisualState(GroupName = TemplateAllDrawersGroupName, Name = TemplateAllDrawersAnyOpenStateName)] + [TemplateVisualState(GroupName = TemplateLeftDrawerGroupName, Name = TemplateLeftClosedStateName)] + [TemplateVisualState(GroupName = TemplateLeftDrawerGroupName, Name = TemplateLeftOpenStateName)] + [TemplateVisualState(GroupName = TemplateTopDrawerGroupName, Name = TemplateTopClosedStateName)] + [TemplateVisualState(GroupName = TemplateTopDrawerGroupName, Name = TemplateTopOpenStateName)] + [TemplateVisualState(GroupName = TemplateRightDrawerGroupName, Name = TemplateRightClosedStateName)] + [TemplateVisualState(GroupName = TemplateRightDrawerGroupName, Name = TemplateRightOpenStateName)] + [TemplateVisualState(GroupName = TemplateBottomDrawerGroupName, Name = TemplateBottomClosedStateName)] + [TemplateVisualState(GroupName = TemplateBottomDrawerGroupName, Name = TemplateBottomOpenStateName)] + [TemplatePart(Name = TemplateContentCoverPartName, Type = typeof(FrameworkElement))] + [TemplatePart(Name = TemplateLeftDrawerPartName, Type = typeof(FrameworkElement))] + [TemplatePart(Name = TemplateTopDrawerPartName, Type = typeof(FrameworkElement))] + [TemplatePart(Name = TemplateRightDrawerPartName, Type = typeof(FrameworkElement))] + [TemplatePart(Name = TemplateBottomDrawerPartName, Type = typeof(FrameworkElement))] + public class DrawerHost : ContentControl + { + public const string TemplateAllDrawersGroupName = "AllDrawers"; + public const string TemplateAllDrawersAllClosedStateName = "AllClosed"; + public const string TemplateAllDrawersAnyOpenStateName = "AnyOpen"; + public const string TemplateLeftDrawerGroupName = "LeftDrawer"; + public const string TemplateLeftClosedStateName = "LeftDrawerClosed"; + public const string TemplateLeftOpenStateName = "LeftDrawerOpen"; + public const string TemplateTopDrawerGroupName = "TopDrawer"; + public const string TemplateTopClosedStateName = "TopDrawerClosed"; + public const string TemplateTopOpenStateName = "TopDrawerOpen"; + public const string TemplateRightDrawerGroupName = "RightDrawer"; + public const string TemplateRightClosedStateName = "RightDrawerClosed"; + public const string TemplateRightOpenStateName = "RightDrawerOpen"; + public const string TemplateBottomDrawerGroupName = "BottomDrawer"; + public const string TemplateBottomClosedStateName = "BottomDrawerClosed"; + public const string TemplateBottomOpenStateName = "BottomDrawerOpen"; + + public const string TemplateContentCoverPartName = "PART_ContentCover"; + public const string TemplateLeftDrawerPartName = "PART_LeftDrawer"; + public const string TemplateTopDrawerPartName = "PART_TopDrawer"; + public const string TemplateRightDrawerPartName = "PART_RightDrawer"; + public const string TemplateBottomDrawerPartName = "PART_BottomDrawer"; + + public static RoutedCommand OpenDrawerCommand = new RoutedCommand(); + public static RoutedCommand CloseDrawerCommand = new RoutedCommand(); + + private FrameworkElement _templateContentCoverElement; + private FrameworkElement _leftDrawerElement; + private FrameworkElement _topDrawerElement; + private FrameworkElement _rightDrawerElement; + private FrameworkElement _bottomDrawerElement; + + private bool _lockZIndexes; + + private readonly IDictionary<DependencyProperty, DependencyPropertyKey> _zIndexPropertyLookup = new Dictionary<DependencyProperty, DependencyPropertyKey> + { + { IsLeftDrawerOpenProperty, LeftDrawerZIndexPropertyKey }, + { IsTopDrawerOpenProperty, TopDrawerZIndexPropertyKey }, + { IsRightDrawerOpenProperty, RightDrawerZIndexPropertyKey }, + { IsBottomDrawerOpenProperty, BottomDrawerZIndexPropertyKey } + }; + + static DrawerHost() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(DrawerHost), new FrameworkPropertyMetadata(typeof(DrawerHost))); + } + + public DrawerHost() + { + CommandBindings.Add(new CommandBinding(OpenDrawerCommand, OpenDrawerHandler)); + CommandBindings.Add(new CommandBinding(CloseDrawerCommand, CloseDrawerHandler)); + } + + #region top drawer + + public static readonly DependencyProperty TopDrawerContentProperty = DependencyProperty.Register( + nameof(TopDrawerContent), typeof(object), typeof(DrawerHost), new PropertyMetadata(default(object))); + + public object TopDrawerContent + { + get { return (object)GetValue(TopDrawerContentProperty); } + set { SetValue(TopDrawerContentProperty, value); } + } + + public static readonly DependencyProperty TopDrawerContentTemplateProperty = DependencyProperty.Register( + nameof(TopDrawerContentTemplate), typeof(DataTemplate), typeof(DrawerHost), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate TopDrawerContentTemplate + { + get { return (DataTemplate)GetValue(TopDrawerContentTemplateProperty); } + set { SetValue(TopDrawerContentTemplateProperty, value); } + } + + public static readonly DependencyProperty TopDrawerContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(TopDrawerContentTemplateSelector), typeof(DataTemplateSelector), typeof(DrawerHost), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector TopDrawerContentTemplateSelector + { + get { return (DataTemplateSelector)GetValue(TopDrawerContentTemplateSelectorProperty); } + set { SetValue(TopDrawerContentTemplateSelectorProperty, value); } + } + + public static readonly DependencyProperty TopDrawerContentStringFormatProperty = DependencyProperty.Register( + nameof(TopDrawerContentStringFormat), typeof(string), typeof(DrawerHost), new PropertyMetadata(default(string))); + + public string TopDrawerContentStringFormat + { + get { return (string)GetValue(TopDrawerContentStringFormatProperty); } + set { SetValue(TopDrawerContentStringFormatProperty, value); } + } + + public static readonly DependencyProperty TopDrawerBackgroundProperty = DependencyProperty.Register( + nameof(TopDrawerBackground), typeof(Brush), typeof(DrawerHost), new PropertyMetadata(default(Brush))); + + public Brush TopDrawerBackground + { + get { return (Brush)GetValue(TopDrawerBackgroundProperty); } + set { SetValue(TopDrawerBackgroundProperty, value); } + } + + public static readonly DependencyProperty IsTopDrawerOpenProperty = DependencyProperty.Register( + nameof(IsTopDrawerOpen), typeof(bool), typeof(DrawerHost), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, IsDrawerOpenPropertyChangedCallback)); + + public bool IsTopDrawerOpen + { + get { return (bool)GetValue(IsTopDrawerOpenProperty); } + set { SetValue(IsTopDrawerOpenProperty, value); } + } + + private static readonly DependencyPropertyKey TopDrawerZIndexPropertyKey = + DependencyProperty.RegisterReadOnly( + "TopDrawerZIndex", typeof(int), typeof(DrawerHost), + new PropertyMetadata(4)); + + public static readonly DependencyProperty TopDrawerZIndexProperty = TopDrawerZIndexPropertyKey.DependencyProperty; + + public int TopDrawerZIndex + { + get { return (int)GetValue(TopDrawerZIndexProperty); } + private set { SetValue(TopDrawerZIndexPropertyKey, value); } + } + + #endregion + + #region left drawer + + public static readonly DependencyProperty LeftDrawerContentProperty = DependencyProperty.Register( + nameof(LeftDrawerContent), typeof (object), typeof (DrawerHost), new PropertyMetadata(default(object))); + + public object LeftDrawerContent + { + get { return (object) GetValue(LeftDrawerContentProperty); } + set { SetValue(LeftDrawerContentProperty, value); } + } + + public static readonly DependencyProperty LeftDrawerContentTemplateProperty = DependencyProperty.Register( + nameof(LeftDrawerContentTemplate), typeof (DataTemplate), typeof (DrawerHost), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate LeftDrawerContentTemplate + { + get { return (DataTemplate) GetValue(LeftDrawerContentTemplateProperty); } + set { SetValue(LeftDrawerContentTemplateProperty, value); } + } + + public static readonly DependencyProperty LeftDrawerContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(LeftDrawerContentTemplateSelector), typeof (DataTemplateSelector), typeof (DrawerHost), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector LeftDrawerContentTemplateSelector + { + get { return (DataTemplateSelector) GetValue(LeftDrawerContentTemplateSelectorProperty); } + set { SetValue(LeftDrawerContentTemplateSelectorProperty, value); } + } + + public static readonly DependencyProperty LeftDrawerContentStringFormatProperty = DependencyProperty.Register( + nameof(LeftDrawerContentStringFormat), typeof (string), typeof (DrawerHost), new PropertyMetadata(default(string))); + + public string LeftDrawerContentStringFormat + { + get { return (string) GetValue(LeftDrawerContentStringFormatProperty); } + set { SetValue(LeftDrawerContentStringFormatProperty, value); } + } + + public static readonly DependencyProperty LeftDrawerBackgroundProperty = DependencyProperty.Register( + nameof(LeftDrawerBackground), typeof (Brush), typeof (DrawerHost), new PropertyMetadata(default(Brush))); + + public Brush LeftDrawerBackground + { + get { return (Brush) GetValue(LeftDrawerBackgroundProperty); } + set { SetValue(LeftDrawerBackgroundProperty, value); } + } + + public static readonly DependencyProperty IsLeftDrawerOpenProperty = DependencyProperty.Register( + nameof(IsLeftDrawerOpen), typeof (bool), typeof (DrawerHost), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, IsDrawerOpenPropertyChangedCallback)); + + public bool IsLeftDrawerOpen + { + get { return (bool) GetValue(IsLeftDrawerOpenProperty); } + set { SetValue(IsLeftDrawerOpenProperty, value); } + } + + private static readonly DependencyPropertyKey LeftDrawerZIndexPropertyKey = + DependencyProperty.RegisterReadOnly( + "LeftDrawerZIndex", typeof(int), typeof(DrawerHost), + new PropertyMetadata(2)); + + public static readonly DependencyProperty LeftDrawerZIndexProperty = LeftDrawerZIndexPropertyKey.DependencyProperty; + + public int LeftDrawerZIndex + { + get { return (int)GetValue(LeftDrawerZIndexProperty); } + private set { SetValue(LeftDrawerZIndexPropertyKey, value); } + } + + #endregion + + #region right drawer + + public static readonly DependencyProperty RightDrawerContentProperty = DependencyProperty.Register( + nameof(RightDrawerContent), typeof(object), typeof(DrawerHost), new PropertyMetadata(default(object))); + + public object RightDrawerContent + { + get { return (object)GetValue(RightDrawerContentProperty); } + set { SetValue(RightDrawerContentProperty, value); } + } + + public static readonly DependencyProperty RightDrawerContentTemplateProperty = DependencyProperty.Register( + nameof(RightDrawerContentTemplate), typeof(DataTemplate), typeof(DrawerHost), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate RightDrawerContentTemplate + { + get { return (DataTemplate)GetValue(RightDrawerContentTemplateProperty); } + set { SetValue(RightDrawerContentTemplateProperty, value); } + } + + public static readonly DependencyProperty RightDrawerContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(RightDrawerContentTemplateSelector), typeof(DataTemplateSelector), typeof(DrawerHost), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector RightDrawerContentTemplateSelector + { + get { return (DataTemplateSelector)GetValue(RightDrawerContentTemplateSelectorProperty); } + set { SetValue(RightDrawerContentTemplateSelectorProperty, value); } + } + + public static readonly DependencyProperty RightDrawerContentStringFormatProperty = DependencyProperty.Register( + nameof(RightDrawerContentStringFormat), typeof(string), typeof(DrawerHost), new PropertyMetadata(default(string))); + + public string RightDrawerContentStringFormat + { + get { return (string)GetValue(RightDrawerContentStringFormatProperty); } + set { SetValue(RightDrawerContentStringFormatProperty, value); } + } + + public static readonly DependencyProperty RightDrawerBackgroundProperty = DependencyProperty.Register( + nameof(RightDrawerBackground), typeof(Brush), typeof(DrawerHost), new PropertyMetadata(default(Brush))); + + public Brush RightDrawerBackground + { + get { return (Brush)GetValue(RightDrawerBackgroundProperty); } + set { SetValue(RightDrawerBackgroundProperty, value); } + } + + public static readonly DependencyProperty IsRightDrawerOpenProperty = DependencyProperty.Register( + nameof(IsRightDrawerOpen), typeof(bool), typeof(DrawerHost), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, IsDrawerOpenPropertyChangedCallback)); + + public bool IsRightDrawerOpen + { + get { return (bool)GetValue(IsRightDrawerOpenProperty); } + set { SetValue(IsRightDrawerOpenProperty, value); } + } + + private static readonly DependencyPropertyKey RightDrawerZIndexPropertyKey = + DependencyProperty.RegisterReadOnly( + "RightDrawerZIndex", typeof(int), typeof(DrawerHost), + new PropertyMetadata(1)); + + public static readonly DependencyProperty RightDrawerZIndexProperty = RightDrawerZIndexPropertyKey.DependencyProperty; + + public int RightDrawerZIndex + { + get { return (int)GetValue(RightDrawerZIndexProperty); } + private set { SetValue(RightDrawerZIndexPropertyKey, value); } + } + + #endregion + + #region bottom drawer + + public static readonly DependencyProperty BottomDrawerContentProperty = DependencyProperty.Register( + nameof(BottomDrawerContent), typeof(object), typeof(DrawerHost), new PropertyMetadata(default(object))); + + public object BottomDrawerContent + { + get { return (object)GetValue(BottomDrawerContentProperty); } + set { SetValue(BottomDrawerContentProperty, value); } + } + + public static readonly DependencyProperty BottomDrawerContentTemplateProperty = DependencyProperty.Register( + nameof(BottomDrawerContentTemplate), typeof(DataTemplate), typeof(DrawerHost), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate BottomDrawerContentTemplate + { + get { return (DataTemplate)GetValue(BottomDrawerContentTemplateProperty); } + set { SetValue(BottomDrawerContentTemplateProperty, value); } + } + + public static readonly DependencyProperty BottomDrawerContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(BottomDrawerContentTemplateSelector), typeof(DataTemplateSelector), typeof(DrawerHost), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector BottomDrawerContentTemplateSelector + { + get { return (DataTemplateSelector)GetValue(BottomDrawerContentTemplateSelectorProperty); } + set { SetValue(BottomDrawerContentTemplateSelectorProperty, value); } + } + + public static readonly DependencyProperty BottomDrawerContentStringFormatProperty = DependencyProperty.Register( + nameof(BottomDrawerContentStringFormat), typeof(string), typeof(DrawerHost), new PropertyMetadata(default(string))); + + public string BottomDrawerContentStringFormat + { + get { return (string)GetValue(BottomDrawerContentStringFormatProperty); } + set { SetValue(BottomDrawerContentStringFormatProperty, value); } + } + + public static readonly DependencyProperty BottomDrawerBackgroundProperty = DependencyProperty.Register( + nameof(BottomDrawerBackground), typeof(Brush), typeof(DrawerHost), new PropertyMetadata(default(Brush))); + + public Brush BottomDrawerBackground + { + get { return (Brush)GetValue(BottomDrawerBackgroundProperty); } + set { SetValue(BottomDrawerBackgroundProperty, value); } + } + + public static readonly DependencyProperty IsBottomDrawerOpenProperty = DependencyProperty.Register( + nameof(IsBottomDrawerOpen), typeof(bool), typeof(DrawerHost), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, IsDrawerOpenPropertyChangedCallback)); + + public bool IsBottomDrawerOpen + { + get { return (bool)GetValue(IsBottomDrawerOpenProperty); } + set { SetValue(IsBottomDrawerOpenProperty, value); } + } + + private static readonly DependencyPropertyKey BottomDrawerZIndexPropertyKey = + DependencyProperty.RegisterReadOnly( + "BottomDrawerZIndex", typeof(int), typeof(DrawerHost), + new PropertyMetadata(3)); + + public static readonly DependencyProperty BottomDrawerZIndexProperty = BottomDrawerZIndexPropertyKey.DependencyProperty; + + public int BottomDrawerZIndex + { + get { return (int)GetValue(BottomDrawerZIndexProperty); } + private set { SetValue(BottomDrawerZIndexPropertyKey, value); } + } + + #endregion + + public override void OnApplyTemplate() + { + if (_templateContentCoverElement != null) + _templateContentCoverElement.PreviewMouseLeftButtonUp += TemplateContentCoverElementOnPreviewMouseLeftButtonUp; + WireDrawer(_leftDrawerElement, true); + WireDrawer(_topDrawerElement, true); + WireDrawer(_rightDrawerElement, true); + WireDrawer(_bottomDrawerElement, true); + + base.OnApplyTemplate(); + + _templateContentCoverElement = GetTemplateChild(TemplateContentCoverPartName) as FrameworkElement; + if (_templateContentCoverElement != null) + _templateContentCoverElement.PreviewMouseLeftButtonUp += TemplateContentCoverElementOnPreviewMouseLeftButtonUp; + _leftDrawerElement = WireDrawer(GetTemplateChild(TemplateLeftDrawerPartName) as FrameworkElement, false); + _topDrawerElement = WireDrawer(GetTemplateChild(TemplateTopDrawerPartName) as FrameworkElement, false); + _rightDrawerElement = WireDrawer(GetTemplateChild(TemplateRightDrawerPartName) as FrameworkElement, false); + _bottomDrawerElement = WireDrawer(GetTemplateChild(TemplateBottomDrawerPartName) as FrameworkElement, false); + + UpdateVisualStates(false); + } + + private FrameworkElement WireDrawer(FrameworkElement drawerElement, bool unwire) + { + if (drawerElement == null) return null; + + if (unwire) + { + drawerElement.GotFocus -= DrawerElement_GotFocus; + drawerElement.MouseDown -= DrawerElement_MouseDown; + + return drawerElement; + } + + drawerElement.GotFocus += DrawerElement_GotFocus; + drawerElement.MouseDown += DrawerElement_MouseDown; + + return drawerElement; + } + + private void DrawerElement_MouseDown(object sender, MouseButtonEventArgs e) + { + ReactToFocus(sender); + } + + private void DrawerElement_GotFocus(object sender, RoutedEventArgs e) + { + ReactToFocus(sender); + } + + private void ReactToFocus(object sender) + { + if (sender == _leftDrawerElement) + PrepareZIndexes(LeftDrawerZIndexPropertyKey); + else if (sender == _topDrawerElement) + PrepareZIndexes(TopDrawerZIndexPropertyKey); + else if (sender == _rightDrawerElement) + PrepareZIndexes(RightDrawerZIndexPropertyKey); + else if (sender == _bottomDrawerElement) + PrepareZIndexes(BottomDrawerZIndexPropertyKey); + } + + private void TemplateContentCoverElementOnPreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs mouseButtonEventArgs) + { + SetCurrentValue(IsLeftDrawerOpenProperty, false); + SetCurrentValue(IsRightDrawerOpenProperty, false); + SetCurrentValue(IsTopDrawerOpenProperty, false); + SetCurrentValue(IsBottomDrawerOpenProperty, false); + } + + private void UpdateVisualStates(bool? useTransitions = null) + { + var anyOpen = IsTopDrawerOpen || IsLeftDrawerOpen || IsBottomDrawerOpen || IsRightDrawerOpen; + + VisualStateManager.GoToState(this, + !anyOpen ? TemplateAllDrawersAllClosedStateName : TemplateAllDrawersAnyOpenStateName, useTransitions.HasValue ? useTransitions.Value : !TransitionAssist.GetDisableTransitions(this)); + + VisualStateManager.GoToState(this, + IsLeftDrawerOpen ? TemplateLeftOpenStateName : TemplateLeftClosedStateName, useTransitions.HasValue ? useTransitions.Value : !TransitionAssist.GetDisableTransitions(this)); + + VisualStateManager.GoToState(this, + IsTopDrawerOpen ? TemplateTopOpenStateName : TemplateTopClosedStateName, useTransitions.HasValue ? useTransitions.Value : !TransitionAssist.GetDisableTransitions(this)); + + VisualStateManager.GoToState(this, + IsRightDrawerOpen ? TemplateRightOpenStateName : TemplateRightClosedStateName, useTransitions.HasValue ? useTransitions.Value : !TransitionAssist.GetDisableTransitions(this)); + + VisualStateManager.GoToState(this, + IsBottomDrawerOpen ? TemplateBottomOpenStateName : TemplateBottomClosedStateName, useTransitions.HasValue ? useTransitions.Value : !TransitionAssist.GetDisableTransitions(this)); + } + + private static void IsDrawerOpenPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var drawerHost = (DrawerHost)dependencyObject; + if (!drawerHost._lockZIndexes && (bool)dependencyPropertyChangedEventArgs.NewValue) + drawerHost.PrepareZIndexes(drawerHost._zIndexPropertyLookup[dependencyPropertyChangedEventArgs.Property]); + drawerHost.UpdateVisualStates(); + } + + private void PrepareZIndexes(DependencyPropertyKey zIndexDependencyPropertyKey) + { + var newOrder = new[] { zIndexDependencyPropertyKey } + .Concat(_zIndexPropertyLookup.Values.Except(new[] { zIndexDependencyPropertyKey }) + .OrderByDescending(dpk => (int)GetValue(dpk.DependencyProperty))) + .Reverse() + .Select((dpk, idx) => new { dpk, idx }); + + foreach (var a in newOrder) + SetValue(a.dpk, a.idx); + } + + private void CloseDrawerHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (executedRoutedEventArgs.Handled) return; + + SetOpenFlag(executedRoutedEventArgs, false); + + executedRoutedEventArgs.Handled = true; + } + + private void OpenDrawerHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (executedRoutedEventArgs.Handled) return; + + SetOpenFlag(executedRoutedEventArgs, true); + + executedRoutedEventArgs.Handled = true; + } + + private void SetOpenFlag(ExecutedRoutedEventArgs executedRoutedEventArgs, bool value) + { + if (executedRoutedEventArgs.Parameter is Dock) + { + switch ((Dock)executedRoutedEventArgs.Parameter) + { + case Dock.Left: + SetCurrentValue(IsLeftDrawerOpenProperty, value); + break; + case Dock.Top: + SetCurrentValue(IsTopDrawerOpenProperty, value); + break; + case Dock.Right: + SetCurrentValue(IsRightDrawerOpenProperty, value); + break; + case Dock.Bottom: + SetCurrentValue(IsBottomDrawerOpenProperty, value); + break; + default: + throw new ArgumentOutOfRangeException(); + } + } + else + { + try + { + _lockZIndexes = true; + SetCurrentValue(IsLeftDrawerOpenProperty, value); + SetCurrentValue(IsTopDrawerOpenProperty, value); + SetCurrentValue(IsRightDrawerOpenProperty, value); + SetCurrentValue(IsBottomDrawerOpenProperty, value); + } + finally + { + _lockZIndexes = false; + } + } + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Extensions.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Extensions.cs new file mode 100644 index 000000000..ea2989937 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Extensions.cs @@ -0,0 +1,90 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + internal static class Extensions + { + public static IEnumerable<DependencyObject> VisualDepthFirstTraversal(this DependencyObject node) + { + if (node == null) throw new ArgumentNullException(nameof(node)); + + yield return node; + + for (var i = 0; i < VisualTreeHelper.GetChildrenCount(node); i++) + { + var child = VisualTreeHelper.GetChild(node, i); + foreach (var descendant in child.VisualDepthFirstTraversal()) + { + yield return descendant; + } + } + } + + public static IEnumerable<DependencyObject> VisualBreadthFirstTraversal(this DependencyObject node) + { + if (node == null) throw new ArgumentNullException(nameof(node)); + + for (var i = 0; i < VisualTreeHelper.GetChildrenCount(node); i++) + { + var child = VisualTreeHelper.GetChild(node, i); + yield return child; + } + + for (var i = 0; i < VisualTreeHelper.GetChildrenCount(node); i++) + { + var child = VisualTreeHelper.GetChild(node, i); + + foreach (var descendant in child.VisualDepthFirstTraversal()) + { + yield return descendant; + } + } + } + + public static bool IsAncestorOf(this DependencyObject parent, DependencyObject node) + { + return node != null && parent.VisualDepthFirstTraversal().Contains(node); + } + + /// <summary> + /// Returns full visual ancestry, starting at the leaf. + /// </summary> + /// <param name="leaf"></param> + /// <returns></returns> + public static IEnumerable<DependencyObject> GetVisualAncestry(this DependencyObject leaf) + { + while (leaf != null) + { + yield return leaf; + leaf = VisualTreeHelper.GetParent(leaf); + } + } + + public static IEnumerable<DependencyObject> GetLogicalAncestry(this DependencyObject leaf) + { + while (leaf != null) + { + yield return leaf; + leaf = LogicalTreeHelper.GetParent(leaf); + } + } + + public static bool IsDescendantOf(this DependencyObject leaf, DependencyObject ancestor) + { + DependencyObject parent = null; + foreach (var node in leaf.GetVisualAncestry()) + { + if (Equals(node, ancestor)) + return true; + + parent = node; + } + + return parent.GetLogicalAncestry().Contains(ancestor); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Flipper.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Flipper.cs new file mode 100644 index 000000000..70852e70f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Flipper.cs @@ -0,0 +1,188 @@ +using System; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; +using System.Windows.Threading; + +namespace MaterialDesignThemes.Wpf +{ + [TemplatePart(Name = Plane3DPartName, Type = typeof(Plane3D))] + [TemplateVisualState(GroupName = TemplateFlipGroupName, Name = TemplateFlippedStateName)] + [TemplateVisualState(GroupName = TemplateFlipGroupName, Name = TemplateUnflippedStateName)] + public class Flipper : Control + { + public static RoutedCommand FlipCommand = new RoutedCommand(); + + public const string Plane3DPartName = "PART_Plane3D"; + public const string TemplateFlipGroupName = "FlipStates"; + public const string TemplateFlippedStateName = "Flipped"; + public const string TemplateUnflippedStateName = "Unflipped"; + + private Plane3D _plane3D; + + static Flipper() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Flipper), new FrameworkPropertyMetadata(typeof(Flipper))); + } + + public Flipper() + { + CommandBindings.Add(new CommandBinding(FlipCommand, FlipHandler)); + } + + public static readonly DependencyProperty FrontContentProperty = DependencyProperty.Register( + nameof(FrontContent), typeof(object), typeof(Flipper), new PropertyMetadata(default(object))); + + public object FrontContent + { + get => GetValue(FrontContentProperty); + set => SetValue(FrontContentProperty, value); + } + + public static readonly DependencyProperty FrontContentTemplateProperty = DependencyProperty.Register( + nameof(FrontContentTemplate), typeof(DataTemplate), typeof(Flipper), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate FrontContentTemplate + { + get => (DataTemplate) GetValue(FrontContentTemplateProperty); + set => SetValue(FrontContentTemplateProperty, value); + } + + public static readonly DependencyProperty FrontContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(FrontContentTemplateSelector), typeof(DataTemplateSelector), typeof(Flipper), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector FrontContentTemplateSelector + { + get => (DataTemplateSelector) GetValue(FrontContentTemplateSelectorProperty); + set => SetValue(FrontContentTemplateSelectorProperty, value); + } + + public static readonly DependencyProperty FrontContentStringFormatProperty = DependencyProperty.Register( + nameof(FrontContentStringFormat), typeof(string), typeof(Flipper), new PropertyMetadata(default(string))); + + public string FrontContentStringFormat + { + get => (string) GetValue(FrontContentStringFormatProperty); + set => SetValue(FrontContentStringFormatProperty, value); + } + + public static readonly DependencyProperty BackContentProperty = DependencyProperty.Register( + nameof(BackContent), typeof(object), typeof(Flipper), new PropertyMetadata(default(object))); + + public object BackContent + { + get => (object) GetValue(BackContentProperty); + set => SetValue(BackContentProperty, value); + } + + public static readonly DependencyProperty BackContentTemplateProperty = DependencyProperty.Register( + nameof(BackContentTemplate), typeof(DataTemplate), typeof(Flipper), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate BackContentTemplate + { + get => (DataTemplate)GetValue(BackContentTemplateProperty); + set => SetValue(BackContentTemplateProperty, value); + } + + public static readonly DependencyProperty BackContentTemplateSelectorProperty = DependencyProperty.Register( + nameof(BackContentTemplateSelector), typeof(DataTemplateSelector), typeof(Flipper), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector BackContentTemplateSelector + { + get => (DataTemplateSelector)GetValue(BackContentTemplateSelectorProperty); + set => SetValue(BackContentTemplateSelectorProperty, value); + } + + public static readonly DependencyProperty BackContentStringFormatProperty = DependencyProperty.Register( + nameof(BackContentStringFormat), typeof(string), typeof(Flipper), new PropertyMetadata(default(string))); + + public string BackContentStringFormat + { + get => (string)GetValue(BackContentStringFormatProperty); + set => SetValue(BackContentStringFormatProperty, value); + } + + public static readonly DependencyProperty IsFlippedProperty = DependencyProperty.Register( + nameof(IsFlipped), typeof(bool), typeof(Flipper), new PropertyMetadata(default(bool), IsFlippedPropertyChangedCallback)); + + private static void IsFlippedPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var flipper = (Flipper)dependencyObject; + flipper.UpdateVisualStates(true); + flipper.RemeasureDuringFlip(); + OnIsFlippedChanged(flipper, dependencyPropertyChangedEventArgs); + } + + public bool IsFlipped + { + get => (bool) GetValue(IsFlippedProperty); + set => SetValue(IsFlippedProperty, value); + } + + public static readonly RoutedEvent IsFlippedChangedEvent = + EventManager.RegisterRoutedEvent( + nameof(IsFlipped), + RoutingStrategy.Bubble, + typeof(RoutedPropertyChangedEventHandler<bool>), + typeof(Flipper)); + + public event RoutedPropertyChangedEventHandler<bool> IsFlippedChanged + { + add => AddHandler(IsFlippedChangedEvent, value); + remove => RemoveHandler(IsFlippedChangedEvent, value); + } + + private static void OnIsFlippedChanged( + DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var instance = (Flipper)d; + var args = new RoutedPropertyChangedEventArgs<bool>( + (bool)e.OldValue, + (bool)e.NewValue) + { RoutedEvent = IsFlippedChangedEvent }; + instance.RaiseEvent(args); + } + + public override void OnApplyTemplate() + { + base.OnApplyTemplate(); + + UpdateVisualStates(false); + + _plane3D = GetTemplateChild(Plane3DPartName) as Plane3D; + } + + private void RemeasureDuringFlip() + { + //not entirely happy hardcoding this, but I have explored other options I am not happy with, and this will do for now + const int storyboardMs = 400; + const int granularity = 6; + + var remeasureInterval = new TimeSpan(0, 0, 0, 0, storyboardMs/granularity); + var refreshCount = 0; + var plane3D = _plane3D; + if (plane3D == null) return; + + DispatcherTimer dt = null; + dt = new DispatcherTimer(remeasureInterval, DispatcherPriority.Normal, + (sender, args) => + { + plane3D.InvalidateMeasure(); + if (refreshCount++ == granularity) + dt.Stop(); + }, Dispatcher); + dt.Start(); + } + + private void UpdateVisualStates(bool useTransitions) + { + VisualStateManager.GoToState(this, IsFlipped ? TemplateFlippedStateName : TemplateUnflippedStateName, + useTransitions); + } + + private void FlipHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + SetCurrentValue(IsFlippedProperty, !IsFlipped); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintAssist.cs new file mode 100644 index 000000000..4935f8521 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintAssist.cs @@ -0,0 +1,132 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public static class HintAssist + { + #region UseFloating + + public static readonly DependencyProperty IsFloatingProperty = DependencyProperty.RegisterAttached( + "IsFloating", + typeof(bool), + typeof(HintAssist), + new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.Inherits)); + + public static bool GetIsFloating(DependencyObject element) + { + return (bool) element.GetValue(IsFloatingProperty); + } + + public static void SetIsFloating(DependencyObject element, bool value) + { + element.SetValue(IsFloatingProperty, value); + } + + #endregion + + #region FloatingScale & FloatingOffset + + public static readonly DependencyProperty FloatingScaleProperty = DependencyProperty.RegisterAttached( + "FloatingScale", + typeof(double), + typeof(HintAssist), + new FrameworkPropertyMetadata(0.74d, FrameworkPropertyMetadataOptions.Inherits)); + + public static double GetFloatingScale(DependencyObject element) + { + return (double)element.GetValue(FloatingScaleProperty); + } + + public static void SetFloatingScale(DependencyObject element, double value) + { + element.SetValue(FloatingScaleProperty, value); + } + + public static readonly DependencyProperty FloatingOffsetProperty = DependencyProperty.RegisterAttached( + "FloatingOffset", + typeof(Point), + typeof(HintAssist), + new FrameworkPropertyMetadata(new Point(1, -16), FrameworkPropertyMetadataOptions.Inherits)); + + public static Point GetFloatingOffset(DependencyObject element) + { + return (Point)element.GetValue(FloatingOffsetProperty); + } + + public static void SetFloatingOffset(DependencyObject element, Point value) + { + element.SetValue(FloatingOffsetProperty, value); + } + #endregion + + #region Hint + + /// <summary> + /// The hint property + /// </summary> + public static readonly DependencyProperty HintProperty = DependencyProperty.RegisterAttached( + "Hint", + typeof(object), + typeof(HintAssist), + new FrameworkPropertyMetadata(default(string), FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Sets the hint. + /// </summary> + /// <param name="element">The element.</param> + /// <param name="value">The value.</param> + public static void SetHint(DependencyObject element, object value) + { + element.SetValue(HintProperty, value); + } + + /// <summary> + /// Gets the hint. + /// </summary> + /// <param name="element">The element.</param> + /// <returns> + /// The <see cref="string" />. + /// </returns> + public static object GetHint(DependencyObject element) + { + return element.GetValue(HintProperty); + } + + #endregion + + #region HintOpacity + + /// <summary> + /// The hint opacity property + /// </summary> + public static readonly DependencyProperty HintOpacityProperty = DependencyProperty.RegisterAttached( + "HintOpacity", + typeof(double), + typeof(HintAssist), + new PropertyMetadata(.56)); + + /// <summary> + /// Gets the text box view margin. + /// </summary> + /// <param name="element">The element.</param> + /// <returns> + /// The <see cref="Thickness" />. + /// </returns> + public static double GetHintOpacityProperty(DependencyObject element) + { + return (double)element.GetValue(HintOpacityProperty); + } + + /// <summary> + /// Sets the hint opacity. + /// </summary> + /// <param name="element">The element.</param> + /// <param name="value">The value.</param> + public static void SetHintOpacity(DependencyObject element, double value) + { + element.SetValue(HintOpacityProperty, value); + } + + #endregion + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.ComboBox.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.ComboBox.cs new file mode 100644 index 000000000..beaabe62b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.ComboBox.cs @@ -0,0 +1,98 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; + +namespace MaterialDesignThemes.Wpf +{ + public static partial class HintProxyFabric + { + private sealed class ComboBoxHintProxy : IHintProxy + { + private readonly ComboBox _comboBox; + private readonly TextChangedEventHandler _comboBoxTextChangedEventHandler; + + public ComboBoxHintProxy(ComboBox comboBox) + { + if (comboBox == null) throw new ArgumentNullException(nameof(comboBox)); + + _comboBox = comboBox; + _comboBoxTextChangedEventHandler = ComboBoxTextChanged; + _comboBox.AddHandler(TextBoxBase.TextChangedEvent, _comboBoxTextChangedEventHandler); + _comboBox.SelectionChanged += ComboBoxSelectionChanged; + _comboBox.Loaded += ComboBoxLoaded; + _comboBox.IsVisibleChanged += ComboBoxIsVisibleChanged; + _comboBox.IsKeyboardFocusWithinChanged += ComboBoxIsKeyboardFocusWithinChanged; + } + + public object Content + { + get + { + if (_comboBox.IsEditable) + { + return _comboBox.Text; + } + + var comboBoxItem = _comboBox.SelectedItem as ComboBoxItem; + return comboBoxItem != null + ? comboBoxItem.Content + : _comboBox.SelectedItem; + } + } + + public bool IsLoaded => _comboBox.IsLoaded; + + public bool IsVisible => _comboBox.IsVisible; + + public bool IsEmpty() => string.IsNullOrEmpty(_comboBox.Text); + + public bool IsFocused() => _comboBox.IsEditable && _comboBox.IsKeyboardFocusWithin; + + public event EventHandler ContentChanged; + + public event EventHandler IsVisibleChanged; + + public event EventHandler Loaded; + public event EventHandler FocusedChanged; + + private void ComboBoxSelectionChanged(object sender, SelectionChangedEventArgs e) + { + _comboBox.Dispatcher.InvokeAsync(() => ContentChanged?.Invoke(sender, EventArgs.Empty)); + } + + private void ComboBoxIsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) + { + IsVisibleChanged?.Invoke(sender, EventArgs.Empty); + } + + private void ComboBoxLoaded(object sender, RoutedEventArgs e) + { + Loaded?.Invoke(sender, EventArgs.Empty); + } + + private void ComboBoxTextChanged(object sender, TextChangedEventArgs e) + { + ContentChanged?.Invoke(sender, EventArgs.Empty); + } + + private void ComboBoxIsKeyboardFocusWithinChanged(object sender, DependencyPropertyChangedEventArgs e) + { + FocusedChanged?.Invoke(sender, EventArgs.Empty); + } + + public void Dispose() + { + _comboBox.RemoveHandler(TextBoxBase.TextChangedEvent, _comboBoxTextChangedEventHandler); + _comboBox.Loaded -= ComboBoxLoaded; + _comboBox.IsVisibleChanged -= ComboBoxIsVisibleChanged; + _comboBox.SelectionChanged -= ComboBoxSelectionChanged; + _comboBox.IsKeyboardFocusWithinChanged -= ComboBoxIsKeyboardFocusWithinChanged; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.PasswordBox.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.PasswordBox.cs new file mode 100644 index 000000000..0826271b2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.PasswordBox.cs @@ -0,0 +1,68 @@ +using System; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + public static partial class HintProxyFabric + { + private sealed class PasswordBoxHintProxy : IHintProxy + { + private readonly PasswordBox _passwordBox; + + public bool IsEmpty() => string.IsNullOrEmpty(_passwordBox.Password); + + public object Content => _passwordBox.Password; + + public bool IsLoaded => _passwordBox.IsLoaded; + + public bool IsVisible => _passwordBox.IsVisible; + + public bool IsFocused() => _passwordBox.IsKeyboardFocused; + + public event EventHandler ContentChanged; + public event EventHandler IsVisibleChanged; + public event EventHandler Loaded; + public event EventHandler FocusedChanged; + + public PasswordBoxHintProxy(PasswordBox passwordBox) + { + if (passwordBox == null) throw new ArgumentNullException(nameof(passwordBox)); + + _passwordBox = passwordBox; + _passwordBox.PasswordChanged += PasswordBoxPasswordChanged; + _passwordBox.Loaded += PasswordBoxLoaded; + _passwordBox.IsVisibleChanged += PasswordBoxIsVisibleChanged; + _passwordBox.IsKeyboardFocusedChanged += PasswordBoxIsKeyboardFocusedChanged; + } + + private void PasswordBoxIsKeyboardFocusedChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e) + { + FocusedChanged?.Invoke(this, EventArgs.Empty); + } + + private void PasswordBoxIsVisibleChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e) + { + IsVisibleChanged?.Invoke(this, EventArgs.Empty); + } + + private void PasswordBoxLoaded(object sender, System.Windows.RoutedEventArgs e) + { + Loaded?.Invoke(this, EventArgs.Empty); + } + + private void PasswordBoxPasswordChanged(object sender, System.Windows.RoutedEventArgs e) + { + ContentChanged?.Invoke(this, EventArgs.Empty); + } + + public void Dispose() + { + _passwordBox.PasswordChanged -= PasswordBoxPasswordChanged; + _passwordBox.Loaded -= PasswordBoxLoaded; + _passwordBox.IsVisibleChanged -= PasswordBoxIsVisibleChanged; + _passwordBox.IsKeyboardFocusedChanged -= PasswordBoxIsKeyboardFocusedChanged; + } + + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.TextBox.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.TextBox.cs new file mode 100644 index 000000000..3801fe81e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.TextBox.cs @@ -0,0 +1,68 @@ +using System; +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + public static partial class HintProxyFabric + { + private sealed class TextBoxHintProxy : IHintProxy + { + private readonly TextBox _textBox; + + public object Content => _textBox.Text; + + public bool IsLoaded => _textBox.IsLoaded; + + public bool IsVisible => _textBox.IsVisible; + + public bool IsEmpty() => string.IsNullOrEmpty(_textBox.Text); + + public bool IsFocused() => _textBox.IsKeyboardFocused; + + public event EventHandler ContentChanged; + public event EventHandler IsVisibleChanged; + public event EventHandler Loaded; + public event EventHandler FocusedChanged; + + public TextBoxHintProxy(TextBox textBox) + { + if (textBox == null) throw new ArgumentNullException(nameof(textBox)); + + _textBox = textBox; + _textBox.TextChanged += TextBoxTextChanged; + _textBox.Loaded += TextBoxLoaded; + _textBox.IsVisibleChanged += TextBoxIsVisibleChanged; + _textBox.IsKeyboardFocusedChanged += TextBoxIsKeyboardFocusedChanged; + } + + private void TextBoxIsKeyboardFocusedChanged(object sender, DependencyPropertyChangedEventArgs e) + { + FocusedChanged?.Invoke(sender, EventArgs.Empty); + } + + private void TextBoxIsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) + { + IsVisibleChanged?.Invoke(sender, EventArgs.Empty); + } + + private void TextBoxLoaded(object sender, RoutedEventArgs e) + { + Loaded?.Invoke(sender, EventArgs.Empty); + } + + private void TextBoxTextChanged(object sender, TextChangedEventArgs e) + { + ContentChanged?.Invoke(sender, EventArgs.Empty); + } + + public void Dispose() + { + _textBox.TextChanged -= TextBoxTextChanged; + _textBox.Loaded -= TextBoxLoaded; + _textBox.IsVisibleChanged -= TextBoxIsVisibleChanged; + _textBox.IsKeyboardFocusedChanged -= TextBoxIsKeyboardFocusedChanged; + } + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.cs new file mode 100644 index 000000000..0ff3a1d0b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/HintProxyFabric.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + public static partial class HintProxyFabric + { + private sealed class HintProxyBuilder + { + private readonly Func<Control, bool> _canBuild; + private readonly Func<Control, IHintProxy> _build; + + public HintProxyBuilder(Func<Control, bool> canBuild, Func<Control, IHintProxy> build) + { + if (canBuild == null) throw new ArgumentNullException(nameof(canBuild)); + if (build == null) throw new ArgumentNullException(nameof(build)); + + _canBuild = canBuild; + _build = build; + } + + public bool CanBuild(Control control) => _canBuild(control); + public IHintProxy Build(Control control) => _build(control); + } + + private static readonly List<HintProxyBuilder> Builders = new List<HintProxyBuilder>(); + + static HintProxyFabric() + { + Builders.Add(new HintProxyBuilder(c => c is ComboBox, c => new ComboBoxHintProxy((ComboBox) c))); + Builders.Add(new HintProxyBuilder(c => c is TextBox, c => new TextBoxHintProxy((TextBox)c))); + Builders.Add(new HintProxyBuilder(c => c is PasswordBox, c => new PasswordBoxHintProxy((PasswordBox)c))); + } + + public static void RegisterBuilder(Func<Control, bool> canBuild, Func<Control, IHintProxy> build) + { + Builders.Add(new HintProxyBuilder(canBuild, build)); + } + + public static IHintProxy Get(Control control) + { + var builder = Builders.FirstOrDefault(v => v.CanBuild(control)); + + if (builder == null) throw new NotImplementedException(); + + return builder.Build(control); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/IHintProxy.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/IHintProxy.cs new file mode 100644 index 000000000..878389c99 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/IHintProxy.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// This interface is the adapter from UiControl (like <see cref="TextBox"/>, <see cref="ComboBox"/> and others) to <see cref="SmartHint"/> + /// <para/> + /// You should implement this interface in order to use SmartHint for your own control. + /// </summary> + public interface IHintProxy : IDisposable + { + /// <summary> + /// Checks to see if the targetted control can be deemed as logically + /// empty, even if not null, affecting the current hint display. + /// </summary> + /// <returns></returns> + bool IsEmpty(); + + /// <summary> + /// Targeted control has keyboard focus + /// </summary> + /// <returns></returns> + bool IsFocused(); + + [Obsolete] + object Content { get; } + + bool IsLoaded { get; } + + bool IsVisible { get; } + + event EventHandler ContentChanged; + + event EventHandler IsVisibleChanged; + + event EventHandler Loaded; + + event EventHandler FocusedChanged; + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs new file mode 100644 index 000000000..d05b3adf7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ISnackbarMessageQueue.cs @@ -0,0 +1,81 @@ +using System; + +namespace MaterialDesignThemes.Wpf +{ + public interface ISnackbarMessageQueue + { + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + void Enqueue(object content); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="actionContent">Content for the action button.</param> + /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param> + void Enqueue(object content, object actionContent, Action actionHandler); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="actionContent">Content for the action button.</param> + /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param> + /// <param name="actionArgument">Argument to pass to <paramref name="actionHandler"/>.</param> + void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, TArgument actionArgument); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="neverConsiderToBeDuplicate">Subsequent, duplicate messages queued within a short time span will + /// be discarded. To override this behaviour and ensure the message always gets displayed set to <c>true</c>.</param> + void Enqueue(object content, bool neverConsiderToBeDuplicate); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="actionContent">Content for the action button.</param> + /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param> + /// <param name="promote">The message will promoted to the front of the queue.</param> + void Enqueue(object content, object actionContent, Action actionHandler, bool promote); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="actionContent">Content for the action button.</param> + /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param> + /// <param name="actionArgument">Argument to pass to <paramref name="actionHandler"/>.</param> + /// <param name="promote">The message will be promoted to the front of the queue and never considered to be a duplicate.</param> + void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, TArgument actionArgument, bool promote); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="actionContent">Content for the action button.</param> + /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param> + /// <param name="actionArgument">Argument to pass to <paramref name="actionHandler"/>.</param> + /// <param name="promote">The message will be promoted to the front of the queue.</param> + /// <param name="neverConsiderToBeDuplicate">The message will never be considered a duplicate.</param> + void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, + TArgument actionArgument, bool promote, bool neverConsiderToBeDuplicate); + + /// <summary> + /// Queues a notificaton message for display in a snackbar. + /// </summary> + /// <param name="content">Message.</param> + /// <param name="actionContent">Content for the action button.</param> + /// <param name="actionHandler">Call back to be executed if user clicks the action button.</param> + /// <param name="actionArgument">Argument to pass to <paramref name="actionHandler"/>.</param> + /// <param name="promote">The message will promoted to the front of the queue.</param> + /// <param name="neverConsiderToBeDuplicate">The message will never be considered a duplicate.</param> + void Enqueue(object content, object actionContent, Action<object> actionHandler, object actionArgument, + bool promote, bool neverConsiderToBeDuplicate); + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Icon.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Icon.cs new file mode 100644 index 000000000..5d270d8e5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Icon.cs @@ -0,0 +1,27 @@ +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Displays an icon image/path, according to the specified <see cref="Type"/> name. + /// </summary> + /// <remarks> + /// All icons sourced from Material Design Icons Font - <see cref="https://materialdesignicons.com/"/> - in accordance of + /// <see cref="https://github.com/Templarian/MaterialDesign/blob/master/license.txt"/>. + /// </remarks> + public class Icon : Control + { + public static readonly DependencyProperty TypeProperty = DependencyProperty.Register( + nameof(Type), typeof (IconType), typeof (Icon), new PropertyMetadata(default(IconType))); + + /// <summary> + /// Gets or sets the name of icon being displayed. + /// </summary> + public IconType Type + { + get { return (IconType) GetValue(TypeProperty); } + set { SetValue(TypeProperty, value); } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/IconType.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/IconType.cs new file mode 100644 index 000000000..b463ac51a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/IconType.cs @@ -0,0 +1,14 @@ +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// List of available icons for use with <see cref="Icon"/>. + /// </summary> + /// <remarks> + /// All icons sourced from Material Design Icons Font - <see cref="https://materialdesignicons.com/"/> - in accordance of + /// <see cref="https://github.com/Templarian/MaterialDesign/blob/master/license.txt"/>. + /// </remarks> + public enum IconType + { + AutoGeneratedDoNotAmend + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListBoxAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListBoxAssist.cs new file mode 100644 index 000000000..3a1a3f2eb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListBoxAssist.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + public static class ListBoxAssist + { + static ListBoxAssist() + { + EventManager.RegisterClassHandler(typeof (ListBox), UIElement.PreviewMouseLeftButtonDownEvent, + new MouseButtonEventHandler(ListBoxMouseButtonEvent)); + } + + private static void ListBoxMouseButtonEvent(object sender, MouseButtonEventArgs mouseButtonEventArgs) + { + var senderElement = (UIElement) sender; + + if (!GetIsToggle(senderElement)) return; + + var point = mouseButtonEventArgs.GetPosition(senderElement); + var result = VisualTreeHelper.HitTest(senderElement, point); + + if (result == null) return; + + ListBoxItem listBoxItem = null; + Ripple ripple = null; + foreach (var dependencyObject in result.VisualHit.GetVisualAncestry().TakeWhile(_ => listBoxItem == null)) + { + listBoxItem = dependencyObject as ListBoxItem; + if (ripple == null) + ripple = dependencyObject as Ripple; + } + + if (listBoxItem == null) return; + + listBoxItem.SetCurrentValue(ListBoxItem.IsSelectedProperty, !listBoxItem.IsSelected); + mouseButtonEventArgs.Handled = true; + + if (ripple != null && listBoxItem.IsSelected) + { + ripple.RaiseEvent(new MouseButtonEventArgs(mouseButtonEventArgs.MouseDevice, mouseButtonEventArgs.Timestamp, mouseButtonEventArgs.ChangedButton) + { RoutedEvent = Control.PreviewMouseLeftButtonDownEvent, Source = ripple } + ); + } + } + + public static readonly DependencyProperty IsToggleProperty = DependencyProperty.RegisterAttached( + "IsToggle", typeof(bool), typeof(ListBoxAssist), new FrameworkPropertyMetadata(default(bool))); + + public static void SetIsToggle(DependencyObject element, bool value) + { + element.SetValue(IsToggleProperty, value); + } + + public static bool GetIsToggle(DependencyObject element) + { + return (bool)element.GetValue(IsToggleProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListSortDirectionIndicator.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListSortDirectionIndicator.cs new file mode 100644 index 000000000..e802422f1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListSortDirectionIndicator.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + [TemplateVisualState(GroupName = DirectionGroupName, Name = NoneStateName)] + [TemplateVisualState(GroupName = DirectionGroupName, Name = AscendingStateName)] + [TemplateVisualState(GroupName = DirectionGroupName, Name = DescendingStateName)] + public class ListSortDirectionIndicator : Control + { + public const string DirectionGroupName = "Direction"; + public const string NoneStateName = "None"; + public const string AscendingStateName = "Ascending"; + public const string DescendingStateName = "Descending"; + + static ListSortDirectionIndicator() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(ListSortDirectionIndicator), new FrameworkPropertyMetadata(typeof(ListSortDirectionIndicator))); + } + + public override void OnApplyTemplate() + { + base.OnApplyTemplate(); + + GotoVisualState(true, ListSortDirection); + } + + + public static readonly DependencyProperty ListSortDirectionProperty = DependencyProperty.Register( + nameof(ListSortDirection), typeof (ListSortDirection?), typeof (ListSortDirectionIndicator), new PropertyMetadata(default(ListSortDirection?), ListSortDirectionPropertyChangedCallback)); + + private static void ListSortDirectionPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var indicator = (ListSortDirectionIndicator) dependencyObject; + indicator.GotoVisualState(true, indicator.ListSortDirection); + indicator.IsNeutral = !indicator.ListSortDirection.HasValue; + } + + public ListSortDirection? ListSortDirection + { + get { return (ListSortDirection?) GetValue(ListSortDirectionProperty); } + set { SetValue(ListSortDirectionProperty, value); } + } + + private static readonly DependencyPropertyKey IsNeutralPropertyKey = + DependencyProperty.RegisterReadOnly( + "IsNeutral", typeof (bool), typeof (ListSortDirectionIndicator), + new PropertyMetadata(true)); + + public static readonly DependencyProperty IsNeutralProperty = + IsNeutralPropertyKey.DependencyProperty; + + public bool IsNeutral + { + get { return (bool) GetValue(IsNeutralProperty); } + private set { SetValue(IsNeutralPropertyKey, value); } + } + + private void GotoVisualState(bool useTransitions, ListSortDirection? direction) + { + var stateName = direction.HasValue + ? (direction.Value == System.ComponentModel.ListSortDirection.Ascending + ? AscendingStateName + : DescendingStateName) + : NoneStateName; + + VisualStateManager.GoToState(this, stateName, useTransitions); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListViewAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListViewAssist.cs new file mode 100644 index 000000000..50d6e9486 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ListViewAssist.cs @@ -0,0 +1,24 @@ +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + public static class ListViewAssist + { + public static readonly DependencyProperty ListViewItemPaddingProperty = DependencyProperty.RegisterAttached( + "ListViewItemPadding", + typeof(Thickness), + typeof(ListViewAssist), + new FrameworkPropertyMetadata(new Thickness(8, 8, 8, 8), FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetListViewItemPadding(DependencyObject element, Thickness value) + { + element.SetValue(ListViewItemPaddingProperty, value); + } + + public static Thickness GetListViewItemPadding(DependencyObject element) + { + return (Thickness)element.GetValue(ListViewItemPaddingProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDataGridComboBoxColumn.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDataGridComboBoxColumn.cs new file mode 100644 index 000000000..91e43a97e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDataGridComboBoxColumn.cs @@ -0,0 +1,104 @@ +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; + +namespace MaterialDesignThemes.Wpf +{ + public class MaterialDataGridComboBoxColumn : DataGridComboBoxColumn //DataGridBoundColumn + { + static MaterialDataGridComboBoxColumn() + { + ElementStyleProperty.OverrideMetadata(typeof(MaterialDataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); + EditingElementStyleProperty.OverrideMetadata(typeof(MaterialDataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); + } + + public Binding ItemsSourceBinding { get; set; } + + protected override FrameworkElement GenerateElement(DataGridCell cell, object dataItem) + { + var comboBox = base.GenerateElement(cell, cell); + + if (ItemsSourceBinding != null) + comboBox.SetBinding(ItemsControl.ItemsSourceProperty, ItemsSourceBinding); + ApplyStyle(false, false, comboBox); + + return comboBox; + } + + protected override FrameworkElement GenerateEditingElement(DataGridCell cell, object dataItem) + { + var comboBox = (ComboBox)base.GenerateElement(cell, cell); + + if (ItemsSourceBinding != null) + comboBox.SetBinding(ItemsControl.ItemsSourceProperty, ItemsSourceBinding); + ApplyStyle(true, false, comboBox); + + return comboBox; + } + + public static new Style DefaultElementStyle + { + get + { + var comboBox = new ComboBox(); + + var brushKey = new ComponentResourceKey(typeof(ComboBox), "MaterialDataGridComboBoxColumnStyle"); + var style = (Style)comboBox.TryFindResource(brushKey); + + return style; + } + } + + public static new Style DefaultEditingElementStyle + { + get + { + var comboBox = new ComboBox(); + + var brushKey = new ComponentResourceKey(typeof(ComboBox), "MaterialDataGridComboBoxColumnEditingStyle"); + var style = (Style)comboBox.TryFindResource(brushKey); + + return style; + } + } + + private void ApplyStyle(bool isEditing, bool defaultToElementStyle, FrameworkElement element) + { + var style = PickStyle(isEditing, defaultToElementStyle); + if (style != null) + { + element.Style = style; + } + } + + private Style PickStyle(bool isEditing, bool defaultToElementStyle) + { + var style = isEditing ? EditingElementStyle : ElementStyle; + if (isEditing && defaultToElementStyle && (style == null)) + { + style = ElementStyle; + } + + return style; + } + + /* + /// <summary> + /// Assigns the Binding to the desired property on the target object. + /// </summary> + private void ApplyBinding(DependencyObject target, DependencyProperty property) + { + var binding = Binding; + if (binding != null) + { + BindingOperations.SetBinding(target, property, binding); + } + else + { + BindingOperations.ClearBinding(target, property); + } + } + */ + + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDataGridTextColumn.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDataGridTextColumn.cs new file mode 100644 index 000000000..985cdd449 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDataGridTextColumn.cs @@ -0,0 +1,29 @@ +using System.Windows; +using System.Windows.Controls; +using System.Windows.Threading; + +namespace MaterialDesignThemes.Wpf +{ + public class MaterialDataGridTextColumn : DataGridTextColumn + { + protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs) + { + var textBox = editingElement as TextBox; + if (textBox != null) + { + textBox.MaxLength = MaxLength; + textBox.SelectionStart = textBox.Text.Length; + } + + editingElement.Focus(); + + return null; + } + + /// <summary> + /// Set the maximum length for the text field. + /// </summary> + /// <remarks>Not a dprop, as is only applied once.</remarks> + public int MaxLength { get; set; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDateDisplay.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDateDisplay.cs new file mode 100644 index 000000000..f1f68ab92 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDateDisplay.cs @@ -0,0 +1,164 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace MaterialDesignThemes.Wpf +{ + public class MaterialDateDisplay : Control + { + static MaterialDateDisplay() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(MaterialDateDisplay), new FrameworkPropertyMetadata(typeof(MaterialDateDisplay))); + } + + public MaterialDateDisplay() + { + SetCurrentValue(DisplayDateProperty, DateTime.Now.Date); + } + + public static readonly DependencyProperty DisplayDateProperty = DependencyProperty.Register( + nameof(DisplayDate), typeof (DateTime), typeof (MaterialDateDisplay), new PropertyMetadata(default(DateTime), DisplayDatePropertyChangedCallback)); + + private static void DisplayDatePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((MaterialDateDisplay)dependencyObject).UpdateComponents(); + } + + public DateTime DisplayDate + { + get { return (DateTime) GetValue(DisplayDateProperty); } + set { SetValue(DisplayDateProperty, value); } + } + + private static readonly DependencyPropertyKey ComponentOneContentPropertyKey = + DependencyProperty.RegisterReadOnly( + "ComponentOneContent", typeof (string), typeof (MaterialDateDisplay), + new PropertyMetadata(default(string))); + + public static readonly DependencyProperty ComponentOneContentProperty = + ComponentOneContentPropertyKey.DependencyProperty; + + public string ComponentOneContent + { + get { return (string) GetValue(ComponentOneContentProperty); } + private set { SetValue(ComponentOneContentPropertyKey, value); } + } + + private static readonly DependencyPropertyKey ComponentTwoContentPropertyKey = + DependencyProperty.RegisterReadOnly( + "ComponentTwoContent", typeof (string), typeof (MaterialDateDisplay), + new PropertyMetadata(default(string))); + + public static readonly DependencyProperty ComponentTwoContentProperty = + ComponentTwoContentPropertyKey.DependencyProperty; + + public string ComponentTwoContent + { + get { return (string) GetValue(ComponentTwoContentProperty); } + private set { SetValue(ComponentTwoContentPropertyKey, value); } + } + + private static readonly DependencyPropertyKey ComponentThreeContentPropertyKey = + DependencyProperty.RegisterReadOnly( + "ComponentThreeContent", typeof (string), typeof (MaterialDateDisplay), + new PropertyMetadata(default(string))); + + public static readonly DependencyProperty ComponentThreeContentProperty = + ComponentThreeContentPropertyKey.DependencyProperty; + + public string ComponentThreeContent + { + get { return (string) GetValue(ComponentThreeContentProperty); } + private set { SetValue(ComponentThreeContentPropertyKey, value); } + } + + private static readonly DependencyPropertyKey IsDayInFirstComponentPropertyKey = + DependencyProperty.RegisterReadOnly( + "IsDayInFirstComponent", typeof (bool), typeof (MaterialDateDisplay), + new PropertyMetadata(default(bool))); + + public static readonly DependencyProperty IsDayInFirstComponentProperty = + IsDayInFirstComponentPropertyKey.DependencyProperty; + + public bool IsDayInFirstComponent + { + get { return (bool) GetValue(IsDayInFirstComponentProperty); } + private set { SetValue(IsDayInFirstComponentPropertyKey, value); } + } + + //FrameworkElement.LanguageProperty.OverrideMetadata(typeof (Calendar), (PropertyMetadata) new FrameworkPropertyMetadata(new PropertyChangedCallback(Calendar.OnLanguageChanged))); + private void UpdateComponents() + { + var culture = Language.GetSpecificCulture(); + var dateTimeFormatInfo = culture.GetDateFormat(); + + ComponentOneContent = DisplayDate.ToString(dateTimeFormatInfo.MonthDayPattern.Replace("MMMM", "MMM"), culture).ToTitleCase(culture); //Day Month folowing culture order. We don't want the month to take too much space + ComponentTwoContent = DisplayDate.ToString("ddd,", culture).ToTitleCase(culture); // Day of week first + ComponentThreeContent = DisplayDate.ToString("yyyy", culture).ToTitleCase(culture); // Year always top + } + + /// <summary> + /// Ripped straight from .Net FX. + /// </summary> + /// <param name="culture"></param> + /// <returns></returns> + internal static DateTimeFormatInfo GetDateFormat(CultureInfo culture) + { + if (culture.Calendar is GregorianCalendar) + { + return culture.DateTimeFormat; + } + else + { + GregorianCalendar foundCal = null; + DateTimeFormatInfo dtfi = null; + + foreach (System.Globalization.Calendar cal in culture.OptionalCalendars) + { + if (cal is GregorianCalendar) + { + // Return the first Gregorian calendar with CalendarType == Localized + // Otherwise return the first Gregorian calendar + if (foundCal == null) + { + foundCal = cal as GregorianCalendar; + } + + if (((GregorianCalendar)cal).CalendarType == GregorianCalendarTypes.Localized) + { + foundCal = cal as GregorianCalendar; + break; + } + } + } + + if (foundCal == null) + { + // if there are no GregorianCalendars in the OptionalCalendars list, use the invariant dtfi + dtfi = ((CultureInfo)CultureInfo.InvariantCulture.Clone()).DateTimeFormat; + dtfi.Calendar = new GregorianCalendar(); + } + else + { + dtfi = ((CultureInfo)culture.Clone()).DateTimeFormat; + dtfi.Calendar = foundCal; + } + + return dtfi; + } + } + + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj new file mode 100644 index 000000000..987ec47e3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj @@ -0,0 +1,449 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{F079FB0A-A8ED-4216-B6A5-345756751A04}</ProjectGuid> + <OutputType>library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MaterialDesignThemes.Wpf</RootNamespace> + <AssemblyName>MaterialDesignThemes.Wpf</AssemblyName> + <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <WarningLevel>4</WarningLevel> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Debug\MaterialDesignThemes.Wpf.XML</DocumentationFile> + <NoWarn>CS1591;CS1574</NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Release\MaterialDesignThemes.Wpf.XML</DocumentationFile> + <NoWarn>CS1591;CS1574</NoWarn> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppVeyor|AnyCPU'"> + <OutputPath>bin\AppVeyor\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>AnyCPU</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <DocumentationFile>bin\AppVeyor\MaterialDesignThemes.Wpf.XML</DocumentationFile> + <NoWarn>CS1591;CS1574</NoWarn> + </PropertyGroup> + <ItemGroup> + <Compile Include="..\paket-files\ControlzEx\ControlzEx\src\ControlzEx\BadgedEx.cs"> + <Paket>True</Paket> + <Link>ControlzEx/BadgedEx.cs</Link> + </Compile> + <Compile Include="..\paket-files\ControlzEx\ControlzEx\src\ControlzEx\PackIconBase.cs"> + <Paket>True</Paket> + <Link>ControlzEx/PackIconBase.cs</Link> + </Compile> + <Compile Include="..\paket-files\ControlzEx\ControlzEx\src\ControlzEx\PopupEx.cs"> + <Paket>True</Paket> + <Link>ControlzEx/PopupEx.cs</Link> + </Compile> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Xaml"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="WindowsBase" /> + <Reference Include="PresentationCore" /> + <Reference Include="PresentationFramework" /> + </ItemGroup> + <ItemGroup> + <Page Include="Themes\Generic.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignTheme.Badged.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Calendar.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Card.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Chip.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Clock.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ComboBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.DataGrid.ComboBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.DataGrid.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.DatePicker.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Expander.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Flipper.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.GridSplitter.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.GroupBox.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignTheme.Label.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ListView.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Menu.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.PasswordBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.PopupBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ProgressBar.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.RatingBar.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ScrollBar.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ScrollViewer.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Shadows.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Slider.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Hyperlink.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignTheme.SmartHint.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.TextBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Defaults.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Button.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Dark.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Light.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.RadioButton.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.TimePicker.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ToggleButton.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignTheme.CheckBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ListBox.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ToolBar.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ToolBarTray.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ToolTip.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.TreeView.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.ValidationErrorTemplate.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.TextBlock.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Page Include="Themes\MaterialDesignTheme.Snackbar.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + <Page Include="Themes\MaterialDesignTheme.Thumb.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + </ItemGroup> + <ItemGroup> + <Compile Include="Badged.cs" /> + <Compile Include="ButtonProgressAssist.cs" /> + <Compile Include="Card.cs" /> + <Compile Include="Chip.cs" /> + <Compile Include="Clock.cs" /> + <Compile Include="ClockChoiceMadeEventArgs.cs" /> + <Compile Include="ClockItemButton.cs" /> + <Compile Include="ColorZone.cs" /> + <Compile Include="ColorZoneAssist.cs" /> + <Compile Include="ComboBoxAssist.cs" /> + <Compile Include="ComboBoxPopup.cs" /> + <Compile Include="Converters\BooleanToVisibilityConverter.cs" /> + <Compile Include="Converters\BrushRoundConverter.cs" /> + <Compile Include="Converters\BrushToRadialGradientBrushConverter.cs" /> + <Compile Include="Converters\CalendarDateCoalesceConverter.cs" /> + <Compile Include="Converters\CircularProgressBar\ArcEndPointConverter.cs" /> + <Compile Include="Converters\CircularProgressBar\ArcSizeConverter.cs" /> + <Compile Include="Converters\CircularProgressBar\LocalEx.cs" /> + <Compile Include="Converters\CircularProgressBar\LargeArcConverter.cs" /> + <Compile Include="Converters\CircularProgressBar\RotateTransformCentreConverter.cs" /> + <Compile Include="Converters\CircularProgressBar\RotateTransformConverter.cs" /> + <Compile Include="Converters\CircularProgressBar\StartPointConverter.cs" /> + <Compile Include="Converters\ClockItemIsCheckedConverter.cs" /> + <Compile Include="Converters\ClockLineConverter.cs" /> + <Compile Include="Converters\ListViewItemContainerStyleConverter.cs" /> + <Compile Include="Converters\NotZeroConverter.cs" /> + <Compile Include="Converters\RangeLengthConverter.cs" /> + <Compile Include="Converters\RangePositionConverterConverter.cs" /> + <Compile Include="Converters\DrawerOffsetConverter.cs" /> + <Compile Include="Converters\EqualityToVisibilityConverter.cs" /> + <Compile Include="Converters\HintProxyFabricConverter.cs" /> + <Compile Include="Converters\MathConverter.cs" /> + <Compile Include="Converters\MathMultipleConverter.cs" /> + <Compile Include="Converters\NotConverter.cs" /> + <Compile Include="Converters\NullableDateTimeToCurrentDateConverter.cs" /> + <Compile Include="Converters\NullToVisibilityConverter.cs" /> + <Compile Include="Converters\NotZeroToVisibilityConverter.cs" /> + <Compile Include="Converters\PointValueConverter.cs" /> + <Compile Include="Converters\ShadowConverter.cs" /> + <Compile Include="Converters\ShadowEdgeConverter.cs" /> + <Compile Include="Converters\ShadowInfo.cs" /> + <Compile Include="Converters\SizeToRectConverter.cs" /> + <Compile Include="Converters\SnackbarMessageTypeConverter.cs" /> + <Compile Include="Converters\TimeToVisibilityConverter.cs" /> + <Compile Include="CustomPopupPlacementCallbackHelper.cs" /> + <Compile Include="DataGridAssist.cs" /> + <Compile Include="DateTimeEx.cs" /> + <Compile Include="DialogClosingEventArgs.cs" /> + <Compile Include="DialogClosingEventHandler.cs" /> + <Compile Include="DialogHostEx.cs" /> + <Compile Include="DialogOpenedEventArgs.cs" /> + <Compile Include="DialogOpenedEventHandler.cs" /> + <Compile Include="DialogSession.cs" /> + <Compile Include="DialogHost.cs" /> + <Compile Include="DpiHelper.cs" /> + <Compile Include="DrawerHost.cs" /> + <Compile Include="Extensions.cs" /> + <Compile Include="Flipper.cs" /> + <Compile Include="HintAssist.cs" /> + <Compile Include="HintProxyFabric.PasswordBox.cs" /> + <Compile Include="HintProxyFabric.TextBox.cs" /> + <Compile Include="HintProxyFabric.ComboBox.cs" /> + <Compile Include="HintProxyFabric.cs" /> + <Compile Include="Icon.cs" /> + <Compile Include="IconType.cs" /> + <Compile Include="ISnackbarMessageQueue.cs" /> + <Compile Include="ListBoxAssist.cs" /> + <Compile Include="ListViewAssist.cs" /> + <Compile Include="MessageQueueExtension.cs" /> + <Compile Include="PackIconExtension.cs" /> + <Compile Include="Palette.cs" /> + <Compile Include="Plane3D.cs" /> + <Compile Include="ScaleHost.cs" /> + <Compile Include="ScrollViewerAssist.cs" /> + <Compile Include="Screen.cs" /> + <Compile Include="Snackbar.cs" /> + <Compile Include="SnackbarMessage.cs" /> + <Compile Include="SnackbarMessageEventArgs.cs" /> + <Compile Include="SnackbarMessageQueue.cs" /> + <Compile Include="SnackbarMessageQueueItem.cs" /> + <Compile Include="Spelling.cs" /> + <Compile Include="Transitions\CircleWipe.cs" /> + <Compile Include="IHintProxy.cs" /> + <Compile Include="Transitions\FadeWipe.cs" /> + <Compile Include="Transitions\IndexedItemOffsetMultiplierExtension.cs" /> + <Compile Include="Transitions\ITransitionEffect.cs" /> + <Compile Include="Transitions\ITransitionEffectSubject.cs" /> + <Compile Include="Transitions\ITransitionWipe.cs" /> + <Compile Include="ListSortDirectionIndicator.cs" /> + <Compile Include="MaterialDataGridComboBoxColumn.cs" /> + <Compile Include="MaterialDataGridTextColumn.cs" /> + <Compile Include="MaterialDateDisplay.cs" /> + <Compile Include="PackIcon.cs" /> + <Compile Include="PackIconDataFactory.cs" /> + <Compile Include="PackIconKind.cs" /> + <Compile Include="PopupBox.cs" /> + <Compile Include="PaletteHelper.cs" /> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + <Compile Include="RatingBar.cs" /> + <Compile Include="RatingBarButton.cs" /> + <Compile Include="ShadowAssist.cs" /> + <Compile Include="SmartHint.cs" /> + <Compile Include="StringExtensions.cs" /> + <Compile Include="TextFieldAssist.cs" /> + <Compile Include="Converters\TextFieldHintVisibilityConverter.cs" /> + <Compile Include="TimePicker.cs" /> + <Compile Include="ToggleButtonAssist.cs" /> + <Compile Include="ToolTipAssist.cs" /> + <Compile Include="RippleAssist.cs" /> + <Compile Include="Ripple.cs" /> + <Compile Include="Transitions\IZIndexController.cs" /> + <Compile Include="Transitions\SlideDirection.cs" /> + <Compile Include="Transitions\SlideWipe.cs" /> + <Compile Include="Transitions\SlideOutWipe.cs" /> + <Compile Include="Transitions\TransitionAssist.cs" /> + <Compile Include="Transitions\TransitionEffect.cs" /> + <Compile Include="Transitions\TransitionEffectBase.cs" /> + <Compile Include="Transitions\TransitionEffectExtension.cs" /> + <Compile Include="Transitions\TransitionEffectKind.cs" /> + <Compile Include="Transitions\TransitionEffectTypeConverter.cs" /> + <Compile Include="Transitions\Transitioner.cs" /> + <Compile Include="Transitions\TransitionerSlide.cs" /> + <Compile Include="Transitions\TransitionerSlideState.cs" /> + <Compile Include="Transitions\TransitioningContent.cs" /> + <Compile Include="Transitions\TransitioningContentBase.cs" /> + <Compile Include="TreeHelper.cs" /> + <Compile Include="TreeViewAssist.cs" /> + <Compile Include="Underline.cs" /> + <Compile Include="ValidationAssist.cs" /> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + <None Include="paket.references" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <AppDesigner Include="Properties\" /> + <Page Include="Themes\MaterialDesignTheme.Font.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </Page> + <Resource Include="Resources\Roboto\RobotoCondensed-Regular.ttf" /> + <Resource Include="Resources\Roboto\RobotoCondensed-LightItalic.ttf" /> + <Resource Include="Resources\Roboto\RobotoCondensed-Light.ttf" /> + <Resource Include="Resources\Roboto\RobotoCondensed-Italic.ttf" /> + <Resource Include="Resources\Roboto\RobotoCondensed-BoldItalic.ttf" /> + <Resource Include="Resources\Roboto\RobotoCondensed-Bold.ttf" /> + <Resource Include="Resources\Roboto\Roboto-ThinItalic.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Thin.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Regular.ttf" /> + <Resource Include="Resources\Roboto\Roboto-MediumItalic.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Medium.ttf" /> + <Resource Include="Resources\Roboto\Roboto-LightItalic.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Light.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Italic.ttf" /> + <Resource Include="Resources\Roboto\Roboto-BoldItalic.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Bold.ttf" /> + <Resource Include="Resources\Roboto\Roboto-BlackItalic.ttf" /> + <Resource Include="Resources\Roboto\Roboto-Black.ttf" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\MaterialDesignColors.Wpf\MaterialDesignColors.Wpf.csproj"> + <Project>{90B53209-C60C-4655-B28D-A1B3E1044BA3}</Project> + <Name>MaterialDesignColors.Wpf</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <Import Project="..\.paket\paket.targets" /> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MessageQueueExtension.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MessageQueueExtension.cs new file mode 100644 index 000000000..43aac142f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/MessageQueueExtension.cs @@ -0,0 +1,17 @@ +using System; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Provides shorthand to initialise a new <see cref="SnackbarMessageQueue"/> for a <see cref="Snackbar"/>. + /// </summary> + [MarkupExtensionReturnType(typeof(SnackbarMessageQueue))] + public class MessageQueueExtension : MarkupExtension + { + public override object ProvideValue(IServiceProvider serviceProvider) + { + return new SnackbarMessageQueue(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIcon.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIcon.cs new file mode 100644 index 000000000..dc19938ca --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIcon.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using ControlzEx; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Icon from the Material Design Icons project, <see cref="https://materialdesignicons.com/"/>. + /// </summary> + public class PackIcon : PackIconBase<PackIconKind> + { + static PackIcon() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(PackIcon), new FrameworkPropertyMetadata(typeof(PackIcon))); + } + + public PackIcon() : base(PackIconDataFactory.Create) { } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconDataFactory.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconDataFactory.cs new file mode 100644 index 000000000..fee2b5141 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconDataFactory.cs @@ -0,0 +1,14 @@ +using System.Collections.Generic; + +namespace MaterialDesignThemes.Wpf +{ + /// ****************************************** + /// This code is auto generated. Do not amend. + /// ****************************************** + + internal static class PackIconDataFactory + { + internal static IDictionary<PackIconKind, string> Create() => new Dictionary<PackIconKind, string> +{{PackIconKind.AccessPoint,"M4.93,4.93C3.12,6.74 2,9.24 2,12C2,14.76 3.12,17.26 4.93,19.07L6.34,17.66C4.89,16.22 4,14.22 4,12C4,9.79 4.89,7.78 6.34,6.34L4.93,4.93M19.07,4.93L17.66,6.34C19.11,7.78 20,9.79 20,12C20,14.22 19.11,16.22 17.66,17.66L19.07,19.07C20.88,17.26 22,14.76 22,12C22,9.24 20.88,6.74 19.07,4.93M7.76,7.76C6.67,8.85 6,10.35 6,12C6,13.65 6.67,15.15 7.76,16.24L9.17,14.83C8.45,14.11 8,13.11 8,12C8,10.89 8.45,9.89 9.17,9.17L7.76,7.76M16.24,7.76L14.83,9.17C15.55,9.89 16,10.89 16,12C16,13.11 15.55,14.11 14.83,14.83L16.24,16.24C17.33,15.15 18,13.65 18,12C18,10.35 17.33,8.85 16.24,7.76M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z"},{PackIconKind.AccessPointNetwork,"M4.93,2.93C3.12,4.74 2,7.24 2,10C2,12.76 3.12,15.26 4.93,17.07L6.34,15.66C4.89,14.22 4,12.22 4,10C4,7.79 4.89,5.78 6.34,4.34L4.93,2.93M19.07,2.93L17.66,4.34C19.11,5.78 20,7.79 20,10C20,12.22 19.11,14.22 17.66,15.66L19.07,17.07C20.88,15.26 22,12.76 22,10C22,7.24 20.88,4.74 19.07,2.93M7.76,5.76C6.67,6.85 6,8.35 6,10C6,11.65 6.67,13.15 7.76,14.24L9.17,12.83C8.45,12.11 8,11.11 8,10C8,8.89 8.45,7.89 9.17,7.17L7.76,5.76M16.24,5.76L14.83,7.17C15.55,7.89 16,8.89 16,10C16,11.11 15.55,12.11 14.83,12.83L16.24,14.24C17.33,13.15 18,11.65 18,10C18,8.35 17.33,6.85 16.24,5.76M12,8A2,2 0 0,0 10,10A2,2 0 0,0 12,12A2,2 0 0,0 14,10A2,2 0 0,0 12,8M11,14V18H10A1,1 0 0,0 9,19H2V21H9A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21H22V19H15A1,1 0 0,0 14,18H13V14H11Z"},{PackIconKind.Account,"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"},{PackIconKind.AccountAlert,"M10,4A4,4 0 0,1 14,8A4,4 0 0,1 10,12A4,4 0 0,1 6,8A4,4 0 0,1 10,4M10,14C14.42,14 18,15.79 18,18V20H2V18C2,15.79 5.58,14 10,14M20,12V7H22V12H20M20,16V14H22V16H20Z"},{PackIconKind.AccountBox,"M6,17C6,15 10,13.9 12,13.9C14,13.9 18,15 18,17V18H6M15,9A3,3 0 0,1 12,12A3,3 0 0,1 9,9A3,3 0 0,1 12,6A3,3 0 0,1 15,9M3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5C3.89,3 3,3.9 3,5Z"},{PackIconKind.AccountBoxOutline,"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z"},{PackIconKind.AccountCardDetails,"M2,3H22C23.05,3 24,3.95 24,5V19C24,20.05 23.05,21 22,21H2C0.95,21 0,20.05 0,19V5C0,3.95 0.95,3 2,3M14,6V7H22V6H14M14,8V9H21.5L22,9V8H14M14,10V11H21V10H14M8,13.91C6,13.91 2,15 2,17V18H14V17C14,15 10,13.91 8,13.91M8,6A3,3 0 0,0 5,9A3,3 0 0,0 8,12A3,3 0 0,0 11,9A3,3 0 0,0 8,6Z"},{PackIconKind.AccountCheck,"M9,5A3.5,3.5 0 0,1 12.5,8.5A3.5,3.5 0 0,1 9,12A3.5,3.5 0 0,1 5.5,8.5A3.5,3.5 0 0,1 9,5M9,13.75C12.87,13.75 16,15.32 16,17.25V19H2V17.25C2,15.32 5.13,13.75 9,13.75M17,12.66L14.25,9.66L15.41,8.5L17,10.09L20.59,6.5L21.75,7.91L17,12.66Z"},{PackIconKind.AccountCircle,"M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},{PackIconKind.AccountConvert,"M7.5,21.5L8.85,20.16L12.66,23.97L12,24C5.71,24 0.56,19.16 0.05,13H1.55C1.91,16.76 4.25,19.94 7.5,21.5M16.5,2.5L15.15,3.84L11.34,0.03L12,0C18.29,0 23.44,4.84 23.95,11H22.45C22.09,7.24 19.75,4.07 16.5,2.5M6,17C6,15 10,13.9 12,13.9C14,13.9 18,15 18,17V18H6V17M15,9A3,3 0 0,1 12,12A3,3 0 0,1 9,9A3,3 0 0,1 12,6A3,3 0 0,1 15,9Z"},{PackIconKind.AccountEdit,"M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z"},{PackIconKind.AccountKey,"M11,10V12H10V14H8V12H5.83C5.42,13.17 4.31,14 3,14A3,3 0 0,1 0,11A3,3 0 0,1 3,8C4.31,8 5.42,8.83 5.83,10H11M3,10A1,1 0 0,0 2,11A1,1 0 0,0 3,12A1,1 0 0,0 4,11A1,1 0 0,0 3,10M16,14C18.67,14 24,15.34 24,18V20H8V18C8,15.34 13.33,14 16,14M16,12A4,4 0 0,1 12,8A4,4 0 0,1 16,4A4,4 0 0,1 20,8A4,4 0 0,1 16,12Z"},{PackIconKind.AccountLocation,"M18,16H6V15.1C6,13.1 10,12 12,12C14,12 18,13.1 18,15.1M12,5.3C13.5,5.3 14.7,6.5 14.7,8C14.7,9.5 13.5,10.7 12,10.7C10.5,10.7 9.3,9.5 9.3,8C9.3,6.5 10.5,5.3 12,5.3M19,2H5C3.89,2 3,2.89 3,4V18A2,2 0 0,0 5,20H9L12,23L15,20H19A2,2 0 0,0 21,18V4C21,2.89 20.1,2 19,2Z"},{PackIconKind.AccountMinus,"M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M1,10V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z"},{PackIconKind.AccountMultiple,"M16,13C15.71,13 15.38,13 15.03,13.05C16.19,13.89 17,15 17,16.5V19H23V16.5C23,14.17 18.33,13 16,13M8,13C5.67,13 1,14.17 1,16.5V19H15V16.5C15,14.17 10.33,13 8,13M8,11A3,3 0 0,0 11,8A3,3 0 0,0 8,5A3,3 0 0,0 5,8A3,3 0 0,0 8,11M16,11A3,3 0 0,0 19,8A3,3 0 0,0 16,5A3,3 0 0,0 13,8A3,3 0 0,0 16,11Z"},{PackIconKind.AccountMultipleMinus,"M13,13C11,13 7,14 7,16V18H19V16C19,14 15,13 13,13M19.62,13.16C20.45,13.88 21,14.82 21,16V18H24V16C24,14.46 21.63,13.5 19.62,13.16M13,11A3,3 0 0,0 16,8A3,3 0 0,0 13,5A3,3 0 0,0 10,8A3,3 0 0,0 13,11M18,11A3,3 0 0,0 21,8A3,3 0 0,0 18,5C17.68,5 17.37,5.05 17.08,5.14C17.65,5.95 18,6.94 18,8C18,9.06 17.65,10.04 17.08,10.85C17.37,10.95 17.68,11 18,11M8,10H0V12H8V10Z"},{PackIconKind.AccountMultipleOutline,"M16.5,6.5A2,2 0 0,1 18.5,8.5A2,2 0 0,1 16.5,10.5A2,2 0 0,1 14.5,8.5A2,2 0 0,1 16.5,6.5M16.5,12A3.5,3.5 0 0,0 20,8.5A3.5,3.5 0 0,0 16.5,5A3.5,3.5 0 0,0 13,8.5A3.5,3.5 0 0,0 16.5,12M7.5,6.5A2,2 0 0,1 9.5,8.5A2,2 0 0,1 7.5,10.5A2,2 0 0,1 5.5,8.5A2,2 0 0,1 7.5,6.5M7.5,12A3.5,3.5 0 0,0 11,8.5A3.5,3.5 0 0,0 7.5,5A3.5,3.5 0 0,0 4,8.5A3.5,3.5 0 0,0 7.5,12M21.5,17.5H14V16.25C14,15.79 13.8,15.39 13.5,15.03C14.36,14.73 15.44,14.5 16.5,14.5C18.94,14.5 21.5,15.71 21.5,16.25M12.5,17.5H2.5V16.25C2.5,15.71 5.06,14.5 7.5,14.5C9.94,14.5 12.5,15.71 12.5,16.25M16.5,13C15.3,13 13.43,13.34 12,14C10.57,13.33 8.7,13 7.5,13C5.33,13 1,14.08 1,16.25V19H23V16.25C23,14.08 18.67,13 16.5,13Z"},{PackIconKind.AccountMultiplePlus,"M13,13C11,13 7,14 7,16V18H19V16C19,14 15,13 13,13M19.62,13.16C20.45,13.88 21,14.82 21,16V18H24V16C24,14.46 21.63,13.5 19.62,13.16M13,11A3,3 0 0,0 16,8A3,3 0 0,0 13,5A3,3 0 0,0 10,8A3,3 0 0,0 13,11M18,11A3,3 0 0,0 21,8A3,3 0 0,0 18,5C17.68,5 17.37,5.05 17.08,5.14C17.65,5.95 18,6.94 18,8C18,9.06 17.65,10.04 17.08,10.85C17.37,10.95 17.68,11 18,11M8,10H5V7H3V10H0V12H3V15H5V12H8V10Z"},{PackIconKind.AccountMultiplePlusOutline,"M13.5,5A3.5,3.5 0 0,0 10,8.5A3.5,3.5 0 0,0 13.5,12C14.25,12 14.94,11.76 15.5,11.36C16.07,11.76 16.76,12 17.5,12A3.5,3.5 0 0,0 21,8.5A3.5,3.5 0 0,0 17.5,5C16.76,5 16.08,5.25 15.5,5.65C14.95,5.24 14.25,5 13.5,5M13.5,6.5A2,2 0 0,1 15.5,8.5A2,2 0 0,1 13.5,10.5A2,2 0 0,1 11.5,8.5A2,2 0 0,1 13.5,6.5M17.5,6.5A2,2 0 0,1 19.5,8.5A2,2 0 0,1 17.5,10.5C17.14,10.5 16.81,10.4 16.5,10.23C16.82,9.72 17,9.13 17,8.5C17,7.87 16.82,7.28 16.5,6.77C16.81,6.6 17.14,6.5 17.5,6.5M3,8V11H0V13H3V16H5V13H8V11H5V8H3M13.5,13C11.33,13 7,14.08 7,16.25V19H24V16.25C24,14.08 19.67,13 17.5,13C16.95,13 16.25,13.08 15.5,13.22C14.78,13.08 14.07,13 13.5,13M13.5,14.5C15.94,14.5 18.5,15.71 18.5,16.25V17.5H8.5V16.25C8.5,15.71 11.06,14.5 13.5,14.5M19.08,14.66C20.93,15 22.5,15.83 22.5,16.25V17.5H20V16.25C20,15.63 19.64,15.1 19.08,14.66Z"},{PackIconKind.AccountNetwork,"M13,16V18H14A1,1 0 0,1 15,19H22V21H15A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21H2V19H9A1,1 0 0,1 10,18H11V16H5V14.5C5,12.57 8.13,11 12,11C15.87,11 19,12.57 19,14.5V16H13M12,2A3.5,3.5 0 0,1 15.5,5.5A3.5,3.5 0 0,1 12,9A3.5,3.5 0 0,1 8.5,5.5A3.5,3.5 0 0,1 12,2Z"},{PackIconKind.AccountOff,"M12,4A4,4 0 0,1 16,8C16,9.95 14.6,11.58 12.75,11.93L8.07,7.25C8.42,5.4 10.05,4 12,4M12.28,14L18.28,20L20,21.72L18.73,23L15.73,20H4V18C4,16.16 6.5,14.61 9.87,14.14L2.78,7.05L4.05,5.78L12.28,14M20,18V19.18L15.14,14.32C18,14.93 20,16.35 20,18Z"},{PackIconKind.AccountOutline,"M12,13C9.33,13 4,14.33 4,17V20H20V17C20,14.33 14.67,13 12,13M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4M12,14.9C14.97,14.9 18.1,16.36 18.1,17V18.1H5.9V17C5.9,16.36 9,14.9 12,14.9M12,5.9A2.1,2.1 0 0,1 14.1,8A2.1,2.1 0 0,1 12,10.1A2.1,2.1 0 0,1 9.9,8A2.1,2.1 0 0,1 12,5.9Z"},{PackIconKind.AccountPlus,"M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M6,10V7H4V10H1V12H4V15H6V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z"},{PackIconKind.AccountPlusOutline,"M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M4,7V10H1V12H4V15H6V12H9V10H6V7H4M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z"},{PackIconKind.AccountRemove,"M15,14C17.67,14 23,15.33 23,18V20H7V18C7,15.33 12.33,14 15,14M15,12A4,4 0 0,1 11,8A4,4 0 0,1 15,4A4,4 0 0,1 19,8A4,4 0 0,1 15,12M5,9.59L7.12,7.46L8.54,8.88L6.41,11L8.54,13.12L7.12,14.54L5,12.41L2.88,14.54L1.46,13.12L3.59,11L1.46,8.88L2.88,7.46L5,9.59Z"},{PackIconKind.AccountSearch,"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,14C11.11,14 12.5,13.15 13.32,11.88C12.5,10.75 11.11,10 9.5,10C7.89,10 6.5,10.75 5.68,11.88C6.5,13.15 7.89,14 9.5,14M9.5,5A1.75,1.75 0 0,0 7.75,6.75A1.75,1.75 0 0,0 9.5,8.5A1.75,1.75 0 0,0 11.25,6.75A1.75,1.75 0 0,0 9.5,5Z"},{PackIconKind.AccountSettings,"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14M7,22H9V24H7V22M11,22H13V24H11V22M15,22H17V24H15V22Z"},{PackIconKind.AccountSettingsVariant,"M9,4A4,4 0 0,0 5,8A4,4 0 0,0 9,12A4,4 0 0,0 13,8A4,4 0 0,0 9,4M9,14C6.33,14 1,15.33 1,18V20H12.08C12.03,19.67 12,19.34 12,19C12,17.5 12.5,16 13.41,14.8C11.88,14.28 10.18,14 9,14M18,14C17.87,14 17.76,14.09 17.74,14.21L17.55,15.53C17.25,15.66 16.96,15.82 16.7,16L15.46,15.5C15.35,15.5 15.22,15.5 15.15,15.63L14.15,17.36C14.09,17.47 14.11,17.6 14.21,17.68L15.27,18.5C15.25,18.67 15.24,18.83 15.24,19C15.24,19.17 15.25,19.33 15.27,19.5L14.21,20.32C14.12,20.4 14.09,20.53 14.15,20.64L15.15,22.37C15.21,22.5 15.34,22.5 15.46,22.5L16.7,22C16.96,22.18 17.24,22.35 17.55,22.47L17.74,23.79C17.76,23.91 17.86,24 18,24H20C20.11,24 20.22,23.91 20.24,23.79L20.43,22.47C20.73,22.34 21,22.18 21.27,22L22.5,22.5C22.63,22.5 22.76,22.5 22.83,22.37L23.83,20.64C23.89,20.53 23.86,20.4 23.77,20.32L22.7,19.5C22.72,19.33 22.74,19.17 22.74,19C22.74,18.83 22.73,18.67 22.7,18.5L23.76,17.68C23.85,17.6 23.88,17.47 23.82,17.36L22.82,15.63C22.76,15.5 22.63,15.5 22.5,15.5L21.27,16C21,15.82 20.73,15.65 20.42,15.53L20.23,14.21C20.22,14.09 20.11,14 20,14M19,17.5A1.5,1.5 0 0,1 20.5,19A1.5,1.5 0 0,1 19,20.5C18.16,20.5 17.5,19.83 17.5,19A1.5,1.5 0 0,1 19,17.5Z"},{PackIconKind.AccountStar,"M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12M5,13.28L7.45,14.77L6.8,11.96L9,10.08L6.11,9.83L5,7.19L3.87,9.83L1,10.08L3.18,11.96L2.5,14.77L5,13.28Z"},{PackIconKind.AccountSwitch,"M16,9C18.33,9 23,10.17 23,12.5V15H17V12.5C17,11 16.19,9.89 15.04,9.05L16,9M8,9C10.33,9 15,10.17 15,12.5V15H1V12.5C1,10.17 5.67,9 8,9M8,7A3,3 0 0,1 5,4A3,3 0 0,1 8,1A3,3 0 0,1 11,4A3,3 0 0,1 8,7M16,7A3,3 0 0,1 13,4A3,3 0 0,1 16,1A3,3 0 0,1 19,4A3,3 0 0,1 16,7M9,16.75V19H15V16.75L18.25,20L15,23.25V21H9V23.25L5.75,20L9,16.75Z"},{PackIconKind.Adjust,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12Z"},{PackIconKind.AirConditioner,"M6.59,0.66C8.93,-1.15 11.47,1.06 12.04,4.5C12.47,4.5 12.89,4.62 13.27,4.84C13.79,4.24 14.25,3.42 14.07,2.5C13.65,0.35 16.06,-1.39 18.35,1.58C20.16,3.92 17.95,6.46 14.5,7.03C14.5,7.46 14.39,7.89 14.16,8.27C14.76,8.78 15.58,9.24 16.5,9.06C18.63,8.64 20.38,11.04 17.41,13.34C15.07,15.15 12.53,12.94 11.96,9.5C11.53,9.5 11.11,9.37 10.74,9.15C10.22,9.75 9.75,10.58 9.93,11.5C10.35,13.64 7.94,15.39 5.65,12.42C3.83,10.07 6.05,7.53 9.5,6.97C9.5,6.54 9.63,6.12 9.85,5.74C9.25,5.23 8.43,4.76 7.5,4.94C5.37,5.36 3.62,2.96 6.59,0.66M5,16H7A2,2 0 0,1 9,18V24H7V22H5V24H3V18A2,2 0 0,1 5,16M5,18V20H7V18H5M12.93,16H15L12.07,24H10L12.93,16M18,16H21V18H18V22H21V24H18A2,2 0 0,1 16,22V18A2,2 0 0,1 18,16Z"},{PackIconKind.Airballoon,"M11,23A2,2 0 0,1 9,21V19H15V21A2,2 0 0,1 13,23H11M12,1C12.71,1 13.39,1.09 14.05,1.26C15.22,2.83 16,5.71 16,9C16,11.28 15.62,13.37 15,16A2,2 0 0,1 13,18H11A2,2 0 0,1 9,16C8.38,13.37 8,11.28 8,9C8,5.71 8.78,2.83 9.95,1.26C10.61,1.09 11.29,1 12,1M20,8C20,11.18 18.15,15.92 15.46,17.21C16.41,15.39 17,11.83 17,9C17,6.17 16.41,3.61 15.46,1.79C18.15,3.08 20,4.82 20,8M4,8C4,4.82 5.85,3.08 8.54,1.79C7.59,3.61 7,6.17 7,9C7,11.83 7.59,15.39 8.54,17.21C5.85,15.92 4,11.18 4,8Z"},{PackIconKind.Airplane,"M21,16V14L13,9V3.5A1.5,1.5 0 0,0 11.5,2A1.5,1.5 0 0,0 10,3.5V9L2,14V16L10,13.5V19L8,20.5V22L11.5,21L15,22V20.5L13,19V13.5L21,16Z"},{PackIconKind.AirplaneLanding,"M2.5,19H21.5V21H2.5V19M9.68,13.27L14.03,14.43L19.34,15.85C20.14,16.06 20.96,15.59 21.18,14.79C21.39,14 20.92,13.17 20.12,12.95L14.81,11.53L12.05,2.5L10.12,2V10.28L5.15,8.95L4.22,6.63L2.77,6.24V11.41L4.37,11.84L9.68,13.27Z"},{PackIconKind.AirplaneOff,"M3.15,5.27L8.13,10.26L2.15,14V16L10.15,13.5V19L8.15,20.5V22L11.65,21L15.15,22V20.5L13.15,19V15.27L18.87,21L20.15,19.73L4.42,4M13.15,9V3.5A1.5,1.5 0 0,0 11.65,2A1.5,1.5 0 0,0 10.15,3.5V7.18L17.97,15L21.15,16V14L13.15,9Z"},{PackIconKind.AirplaneTakeoff,"M2.5,19H21.5V21H2.5V19M22.07,9.64C21.86,8.84 21.03,8.36 20.23,8.58L14.92,10L8,3.57L6.09,4.08L10.23,11.25L5.26,12.58L3.29,11.04L1.84,11.43L3.66,14.59L4.43,15.92L6.03,15.5L11.34,14.07L15.69,12.91L21,11.5C21.81,11.26 22.28,10.44 22.07,9.64Z"},{PackIconKind.Airplay,"M6,22H18L12,16M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H7V17H3V5H21V17H17V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z"},{PackIconKind.Alarm,"M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12.5,8H11V14L15.75,16.85L16.5,15.62L12.5,13.25V8M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z"},{PackIconKind.AlarmBell,"M15,18.66V22H5V18.66C8.09,20.45 11.91,20.45 15,18.66M22,4A2,2 0 0,0 20,2C19.69,2 19.39,2.07 19.12,2.21C18.82,2.36 18.56,2.58 18.36,2.85C17.72,3.75 17.94,5 18.85,5.64C19.18,5.87 19.59,6 20,6C20.08,6 20.16,6 20.24,6C21.97,10.43 20.66,15.46 17,18.5C16.68,18.75 16.35,19 16,19.22V21H17V19.74C20.14,17.5 22,13.86 22,10C22,8.5 21.72,7 21.17,5.62C21.69,5.24 22,4.64 22,4M18,10A8,8 0 0,1 10,18A8,8 0 0,1 2,10A8,8 0 0,1 10,2A8,8 0 0,1 18,10Z"},{PackIconKind.AlarmCheck,"M10.54,14.53L8.41,12.4L7.35,13.46L10.53,16.64L16.53,10.64L15.47,9.58L10.54,14.53M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72Z"},{PackIconKind.AlarmLight,"M6,6.9L3.87,4.78L5.28,3.37L7.4,5.5L6,6.9M13,1V4H11V1H13M20.13,4.78L18,6.9L16.6,5.5L18.72,3.37L20.13,4.78M4.5,10.5V12.5H1.5V10.5H4.5M19.5,10.5H22.5V12.5H19.5V10.5M6,20H18A2,2 0 0,1 20,22H4A2,2 0 0,1 6,20M12,5A6,6 0 0,1 18,11V19H6V11A6,6 0 0,1 12,5Z"},{PackIconKind.AlarmMultiple,"M9.29,3.25L5.16,6.72L4,5.34L8.14,1.87L9.29,3.25M22,5.35L20.84,6.73L16.7,3.25L17.86,1.87L22,5.35M13,4A8,8 0 0,1 21,12A8,8 0 0,1 13,20A8,8 0 0,1 5,12A8,8 0 0,1 13,4M13,6A6,6 0 0,0 7,12A6,6 0 0,0 13,18A6,6 0 0,0 19,12A6,6 0 0,0 13,6M12,7.5H13.5V12.03L16.72,13.5L16.1,14.86L12,13V7.5M1,14C1,11.5 2.13,9.3 3.91,7.83C3.33,9.1 3,10.5 3,12L3.06,13.13L3,14C3,16.28 4.27,18.26 6.14,19.28C7.44,20.5 9.07,21.39 10.89,21.78C10.28,21.92 9.65,22 9,22A8,8 0 0,1 1,14Z"},{PackIconKind.AlarmOff,"M8,3.28L6.6,1.86L5.74,2.57L7.16,4M16.47,18.39C15.26,19.39 13.7,20 12,20A7,7 0 0,1 5,13C5,11.3 5.61,9.74 6.61,8.53M2.92,2.29L1.65,3.57L3,4.9L1.87,5.83L3.29,7.25L4.4,6.31L5.2,7.11C3.83,8.69 3,10.75 3,13A9,9 0 0,0 12,22C14.25,22 16.31,21.17 17.89,19.8L20.09,22L21.36,20.73L3.89,3.27L2.92,2.29M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72M12,6A7,7 0 0,1 19,13C19,13.84 18.84,14.65 18.57,15.4L20.09,16.92C20.67,15.73 21,14.41 21,13A9,9 0 0,0 12,4C10.59,4 9.27,4.33 8.08,4.91L9.6,6.43C10.35,6.16 11.16,6 12,6Z"},{PackIconKind.AlarmPlus,"M13,9H11V12H8V14H11V17H13V14H16V12H13M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39Z"},{PackIconKind.AlarmSnooze,"M7.88,3.39L6.6,1.86L2,5.71L3.29,7.24L7.88,3.39M22,5.72L17.4,1.86L16.11,3.39L20.71,7.25L22,5.72M12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22A9,9 0 0,0 21,13A9,9 0 0,0 12,4M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M9,11H12.63L9,15.2V17H15V15H11.37L15,10.8V9H9V11Z"},{PackIconKind.Album,"M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12,16.5C9.5,16.5 7.5,14.5 7.5,12C7.5,9.5 9.5,7.5 12,7.5C14.5,7.5 16.5,9.5 16.5,12C16.5,14.5 14.5,16.5 12,16.5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.Alert,"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"},{PackIconKind.AlertBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M13,13V7H11V13H13M13,17V15H11V17H13Z"},{PackIconKind.AlertCircle,"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.AlertCircleOutline,"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"},{PackIconKind.AlertDecagram,"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M13,17H11V15H13V17M13,13H11V7H13V13Z"},{PackIconKind.AlertOctagon,"M13,13H11V7H13M12,17.3A1.3,1.3 0 0,1 10.7,16A1.3,1.3 0 0,1 12,14.7A1.3,1.3 0 0,1 13.3,16A1.3,1.3 0 0,1 12,17.3M15.73,3H8.27L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27L15.73,3Z"},{PackIconKind.AlertOctagram,"M2.2,16.06L3.88,12L2.2,7.94L6.26,6.26L7.94,2.2L12,3.88L16.06,2.2L17.74,6.26L21.8,7.94L20.12,12L21.8,16.06L17.74,17.74L16.06,21.8L12,20.12L7.94,21.8L6.26,17.74L2.2,16.06M13,17V15H11V17H13M13,13V7H11V13H13Z"},{PackIconKind.AlertOutline,"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},{PackIconKind.AllInclusive,"M18.6,6.62C17.16,6.62 15.8,7.18 14.83,8.15L7.8,14.39C7.16,15.03 6.31,15.38 5.4,15.38C3.53,15.38 2,13.87 2,12C2,10.13 3.53,8.62 5.4,8.62C6.31,8.62 7.16,8.97 7.84,9.65L8.97,10.65L10.5,9.31L9.22,8.2C8.2,7.18 6.84,6.62 5.4,6.62C2.42,6.62 0,9.04 0,12C0,14.96 2.42,17.38 5.4,17.38C6.84,17.38 8.2,16.82 9.17,15.85L16.2,9.61C16.84,8.97 17.69,8.62 18.6,8.62C20.47,8.62 22,10.13 22,12C22,13.87 20.47,15.38 18.6,15.38C17.7,15.38 16.84,15.03 16.16,14.35L15,13.34L13.5,14.68L14.78,15.8C15.8,16.81 17.15,17.37 18.6,17.37C21.58,17.37 24,14.96 24,12C24,9 21.58,6.62 18.6,6.62Z"},{PackIconKind.Allo,"M22,12V21C22,21.5 21.76,21.82 21.3,21.96C20.85,22.1 20.5,21.97 20.2,21.56L18.66,19.45C16.78,21.14 14.56,22 12,22C9.25,22 6.9,21 4.95,19.05C3,17.1 2,14.75 2,12C2,9.25 3,6.9 4.95,4.95C6.9,3 9.25,2 12,2C14.75,2 17.1,3 19.05,4.95C21,6.9 22,9.25 22,12Z"},{PackIconKind.Alpha,"M18.08,17.8C17.62,17.93 17.21,18 16.85,18C15.65,18 14.84,17.12 14.43,15.35H14.38C13.39,17.26 12,18.21 10.25,18.21C8.94,18.21 7.89,17.72 7.1,16.73C6.31,15.74 5.92,14.5 5.92,13C5.92,11.25 6.37,9.85 7.26,8.76C8.15,7.67 9.36,7.12 10.89,7.12C11.71,7.12 12.45,7.35 13.09,7.8C13.73,8.26 14.22,8.9 14.56,9.73H14.6L15.31,7.33H17.87L15.73,12.65C15.97,13.89 16.22,14.74 16.5,15.19C16.74,15.64 17.08,15.87 17.5,15.87C17.74,15.87 17.93,15.83 18.1,15.76L18.08,17.8M13.82,12.56C13.61,11.43 13.27,10.55 12.81,9.95C12.36,9.34 11.81,9.04 11.18,9.04C10.36,9.04 9.7,9.41 9.21,10.14C8.72,10.88 8.5,11.79 8.5,12.86C8.5,13.84 8.69,14.65 9.12,15.31C9.54,15.97 10.11,16.29 10.82,16.29C11.42,16.29 11.97,16 12.46,15.45C12.96,14.88 13.37,14.05 13.7,12.96L13.82,12.56Z"},{PackIconKind.Alphabetical,"M6,11A2,2 0 0,1 8,13V17H4A2,2 0 0,1 2,15V13A2,2 0 0,1 4,11H6M4,13V15H6V13H4M20,13V15H22V17H20A2,2 0 0,1 18,15V13A2,2 0 0,1 20,11H22V13H20M12,7V11H14A2,2 0 0,1 16,13V15A2,2 0 0,1 14,17H12A2,2 0 0,1 10,15V7H12M12,15H14V13H12V15Z"},{PackIconKind.Altimeter,"M7,3V5H17V3H7M9,7V9H15V7H9M2,7.96V16.04L6.03,12L2,7.96M22.03,7.96L18,12L22.03,16.04V7.96M7,11V13H17V11H7M9,15V17H15V15H9M7,19V21H17V19H7Z"},{PackIconKind.Amazon,"M15.93,17.09C15.75,17.25 15.5,17.26 15.3,17.15C14.41,16.41 14.25,16.07 13.76,15.36C12.29,16.86 11.25,17.31 9.34,17.31C7.09,17.31 5.33,15.92 5.33,13.14C5.33,10.96 6.5,9.5 8.19,8.76C9.65,8.12 11.68,8 13.23,7.83V7.5C13.23,6.84 13.28,6.09 12.9,5.54C12.58,5.05 11.95,4.84 11.4,4.84C10.38,4.84 9.47,5.37 9.25,6.45C9.2,6.69 9,6.93 8.78,6.94L6.18,6.66C5.96,6.61 5.72,6.44 5.78,6.1C6.38,2.95 9.23,2 11.78,2C13.08,2 14.78,2.35 15.81,3.33C17.11,4.55 17,6.18 17,7.95V12.12C17,13.37 17.5,13.93 18,14.6C18.17,14.85 18.21,15.14 18,15.31L15.94,17.09H15.93M13.23,10.56V10C11.29,10 9.24,10.39 9.24,12.67C9.24,13.83 9.85,14.62 10.87,14.62C11.63,14.62 12.3,14.15 12.73,13.4C13.25,12.47 13.23,11.6 13.23,10.56M20.16,19.54C18,21.14 14.82,22 12.1,22C8.29,22 4.85,20.59 2.25,18.24C2.05,18.06 2.23,17.81 2.5,17.95C5.28,19.58 8.75,20.56 12.33,20.56C14.74,20.56 17.4,20.06 19.84,19.03C20.21,18.87 20.5,19.27 20.16,19.54M21.07,18.5C20.79,18.14 19.22,18.33 18.5,18.42C18.31,18.44 18.28,18.26 18.47,18.12C19.71,17.24 21.76,17.5 22,17.79C22.24,18.09 21.93,20.14 20.76,21.11C20.58,21.27 20.41,21.18 20.5,21C20.76,20.33 21.35,18.86 21.07,18.5Z"},{PackIconKind.AmazonClouddrive,"M4.94,11.12C5.23,11.12 5.5,11.16 5.76,11.23C5.77,9.09 7.5,7.35 9.65,7.35C11.27,7.35 12.67,8.35 13.24,9.77C13.83,9 14.74,8.53 15.76,8.53C17.5,8.53 18.94,9.95 18.94,11.71C18.94,11.95 18.91,12.2 18.86,12.43C19.1,12.34 19.37,12.29 19.65,12.29C20.95,12.29 22,13.35 22,14.65C22,15.95 20.95,17 19.65,17C18.35,17 6.36,17 4.94,17C3.32,17 2,15.68 2,14.06C2,12.43 3.32,11.12 4.94,11.12Z"},{PackIconKind.Ambulance,"M18,18.5A1.5,1.5 0 0,0 19.5,17A1.5,1.5 0 0,0 18,15.5A1.5,1.5 0 0,0 16.5,17A1.5,1.5 0 0,0 18,18.5M19.5,9.5H17V12H21.46L19.5,9.5M6,18.5A1.5,1.5 0 0,0 7.5,17A1.5,1.5 0 0,0 6,15.5A1.5,1.5 0 0,0 4.5,17A1.5,1.5 0 0,0 6,18.5M20,8L23,12V17H21A3,3 0 0,1 18,20A3,3 0 0,1 15,17H9A3,3 0 0,1 6,20A3,3 0 0,1 3,17H1V6C1,4.89 1.89,4 3,4H17V8H20M8,6V9H5V11H8V14H10V11H13V9H10V6H8Z"},{PackIconKind.Amplifier,"M10,2H14A1,1 0 0,1 15,3H21V21H19A1,1 0 0,1 18,22A1,1 0 0,1 17,21H7A1,1 0 0,1 6,22A1,1 0 0,1 5,21H3V3H9A1,1 0 0,1 10,2M5,5V9H19V5H5M7,6A1,1 0 0,1 8,7A1,1 0 0,1 7,8A1,1 0 0,1 6,7A1,1 0 0,1 7,6M12,6H14V7H12V6M15,6H16V8H15V6M17,6H18V8H17V6M12,11A4,4 0 0,0 8,15A4,4 0 0,0 12,19A4,4 0 0,0 16,15A4,4 0 0,0 12,11M10,6A1,1 0 0,1 11,7A1,1 0 0,1 10,8A1,1 0 0,1 9,7A1,1 0 0,1 10,6Z"},{PackIconKind.Anchor,"M12,2A3,3 0 0,0 9,5C9,6.27 9.8,7.4 11,7.83V10H8V12H11V18.92C9.16,18.63 7.53,17.57 6.53,16H8V14H3V19H5V17.3C6.58,19.61 9.2,21 12,21C14.8,21 17.42,19.61 19,17.31V19H21V14H16V16H17.46C16.46,17.56 14.83,18.63 13,18.92V12H16V10H13V7.82C14.2,7.4 15,6.27 15,5A3,3 0 0,0 12,2M12,4A1,1 0 0,1 13,5A1,1 0 0,1 12,6A1,1 0 0,1 11,5A1,1 0 0,1 12,4Z"},{PackIconKind.Android,"M15,5H14V4H15M10,5H9V4H10M15.53,2.16L16.84,0.85C17.03,0.66 17.03,0.34 16.84,0.14C16.64,-0.05 16.32,-0.05 16.13,0.14L14.65,1.62C13.85,1.23 12.95,1 12,1C11.04,1 10.14,1.23 9.34,1.63L7.85,0.14C7.66,-0.05 7.34,-0.05 7.15,0.14C6.95,0.34 6.95,0.66 7.15,0.85L8.46,2.16C6.97,3.26 6,5 6,7H18C18,5 17,3.25 15.53,2.16M20.5,8A1.5,1.5 0 0,0 19,9.5V16.5A1.5,1.5 0 0,0 20.5,18A1.5,1.5 0 0,0 22,16.5V9.5A1.5,1.5 0 0,0 20.5,8M3.5,8A1.5,1.5 0 0,0 2,9.5V16.5A1.5,1.5 0 0,0 3.5,18A1.5,1.5 0 0,0 5,16.5V9.5A1.5,1.5 0 0,0 3.5,8M6,18A1,1 0 0,0 7,19H8V22.5A1.5,1.5 0 0,0 9.5,24A1.5,1.5 0 0,0 11,22.5V19H13V22.5A1.5,1.5 0 0,0 14.5,24A1.5,1.5 0 0,0 16,22.5V19H17A1,1 0 0,0 18,18V8H6V18Z"},{PackIconKind.AndroidDebugBridge,"M15,9A1,1 0 0,1 14,8A1,1 0 0,1 15,7A1,1 0 0,1 16,8A1,1 0 0,1 15,9M9,9A1,1 0 0,1 8,8A1,1 0 0,1 9,7A1,1 0 0,1 10,8A1,1 0 0,1 9,9M16.12,4.37L18.22,2.27L17.4,1.44L15.09,3.75C14.16,3.28 13.11,3 12,3C10.88,3 9.84,3.28 8.91,3.75L6.6,1.44L5.78,2.27L7.88,4.37C6.14,5.64 5,7.68 5,10V11H19V10C19,7.68 17.86,5.64 16.12,4.37M5,16C5,19.86 8.13,23 12,23A7,7 0 0,0 19,16V12H5V16Z"},{PackIconKind.AndroidHead,"M8,11.5A1.25,1.25 0 0,0 6.75,12.75A1.25,1.25 0 0,0 8,14A1.25,1.25 0 0,0 9.25,12.75A1.25,1.25 0 0,0 8,11.5M16,11.5A1.25,1.25 0 0,0 14.75,12.75A1.25,1.25 0 0,0 16,14A1.25,1.25 0 0,0 17.25,12.75A1.25,1.25 0 0,0 16,11.5M12,7C13.5,7 14.9,7.33 16.18,7.91L18.34,5.75C18.73,5.36 19.36,5.36 19.75,5.75C20.14,6.14 20.14,6.77 19.75,7.16L17.95,8.96C20.41,10.79 22,13.71 22,17H2C2,13.71 3.59,10.79 6.05,8.96L4.25,7.16C3.86,6.77 3.86,6.14 4.25,5.75C4.64,5.36 5.27,5.36 5.66,5.75L7.82,7.91C9.1,7.33 10.5,7 12,7Z"},{PackIconKind.AndroidStudio,"M11,2H13V4H13.5A1.5,1.5 0 0,1 15,5.5V9L14.56,9.44L16.2,12.28C17.31,11.19 18,9.68 18,8H20C20,10.42 18.93,12.59 17.23,14.06L20.37,19.5L20.5,21.72L18.63,20.5L15.56,15.17C14.5,15.7 13.28,16 12,16C10.72,16 9.5,15.7 8.44,15.17L5.37,20.5L3.5,21.72L3.63,19.5L9.44,9.44L9,9V5.5A1.5,1.5 0 0,1 10.5,4H11V2M9.44,13.43C10.22,13.8 11.09,14 12,14C12.91,14 13.78,13.8 14.56,13.43L13.1,10.9H13.09C12.47,11.5 11.53,11.5 10.91,10.9H10.9L9.44,13.43M12,6A1,1 0 0,0 11,7A1,1 0 0,0 12,8A1,1 0 0,0 13,7A1,1 0 0,0 12,6Z"},{PackIconKind.Angular,"M12,2.5L20.84,5.65L19.5,17.35L12,21.5L4.5,17.35L3.16,5.65L12,2.5M12,4.6L6.47,17H8.53L9.64,14.22H14.34L15.45,17H17.5L12,4.6M13.62,12.5H10.39L12,8.63L13.62,12.5Z"},{PackIconKind.Angularjs,"M12,2.5L20.84,5.65L19.5,17.35L12,21.5L4.5,17.35L3.16,5.65L12,2.5M12,4.5L5,7L6.08,16.22L12,19.5L17.92,16.22L19,7L12,4.5M12,5.72L16.58,16H14.87L13.94,13.72H10.04L9.12,16H7.41L12,5.72M13.34,12.3L12,9.07L10.66,12.3H13.34Z"},{PackIconKind.Animation,"M4,2C2.89,2 2,2.89 2,4V14H4V4H14V2H4M8,6C6.89,6 6,6.89 6,8V18H8V8H18V6H8M12,10C10.89,10 10,10.89 10,12V20C10,21.11 10.89,22 12,22H20C21.11,22 22,21.11 22,20V12C22,10.89 21.11,10 20,10H12Z"},{PackIconKind.Apple,"M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z"},{PackIconKind.AppleFinder,"M4,4H11.89C12.46,2.91 13.13,1.88 13.93,1L15.04,2.11C14.61,2.7 14.23,3.34 13.89,4H20A2,2 0 0,1 22,6V19A2,2 0 0,1 20,21H14.93L15.26,22.23L13.43,22.95L12.93,21H4A2,2 0 0,1 2,19V6A2,2 0 0,1 4,4M4,6V19H12.54C12.5,18.67 12.44,18.34 12.4,18C12.27,18 12.13,18 12,18C9.25,18 6.78,17.5 5.13,16.76L6.04,15.12C7,15.64 9.17,16 12,16C12.08,16 12.16,16 12.24,16C12.21,15.33 12.22,14.66 12.27,14H9C9,14 9.4,9.97 11,6H4M20,19V6H13C12.1,8.22 11.58,10.46 11.3,12H14.17C14,13.28 13.97,14.62 14.06,15.93C15.87,15.8 17.25,15.5 17.96,15.12L18.87,16.76C17.69,17.3 16.1,17.7 14.29,17.89C14.35,18.27 14.41,18.64 14.5,19H20M6,8H8V11H6V8M16,8H18V11H16V8Z"},{PackIconKind.AppleIos,"M20,9V7H16A2,2 0 0,0 14,9V11A2,2 0 0,0 16,13H18V15H14V17H18A2,2 0 0,0 20,15V13A2,2 0 0,0 18,11H16V9M11,15H9V9H11M11,7H9A2,2 0 0,0 7,9V15A2,2 0 0,0 9,17H11A2,2 0 0,0 13,15V9A2,2 0 0,0 11,7M4,17H6V11H4M4,9H6V7H4V9Z"},{PackIconKind.AppleKeyboardCaps,"M15,14V8H17.17L12,2.83L6.83,8H9V14H15M12,0L22,10H17V16H7V10H2L12,0M7,18H17V24H7V18M15,20H9V22H15V20Z"},{PackIconKind.AppleKeyboardCommand,"M6,2A4,4 0 0,1 10,6V8H14V6A4,4 0 0,1 18,2A4,4 0 0,1 22,6A4,4 0 0,1 18,10H16V14H18A4,4 0 0,1 22,18A4,4 0 0,1 18,22A4,4 0 0,1 14,18V16H10V18A4,4 0 0,1 6,22A4,4 0 0,1 2,18A4,4 0 0,1 6,14H8V10H6A4,4 0 0,1 2,6A4,4 0 0,1 6,2M16,18A2,2 0 0,0 18,20A2,2 0 0,0 20,18A2,2 0 0,0 18,16H16V18M14,10H10V14H14V10M6,16A2,2 0 0,0 4,18A2,2 0 0,0 6,20A2,2 0 0,0 8,18V16H6M8,6A2,2 0 0,0 6,4A2,2 0 0,0 4,6A2,2 0 0,0 6,8H8V6M18,8A2,2 0 0,0 20,6A2,2 0 0,0 18,4A2,2 0 0,0 16,6V8H18Z"},{PackIconKind.AppleKeyboardControl,"M19.78,11.78L18.36,13.19L12,6.83L5.64,13.19L4.22,11.78L12,4L19.78,11.78Z"},{PackIconKind.AppleKeyboardOption,"M3,4H9.11L16.15,18H21V20H14.88L7.84,6H3V4M14,4H21V6H14V4Z"},{PackIconKind.AppleKeyboardShift,"M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z"},{PackIconKind.AppleMobileme,"M22,15.04C22,17.23 20.24,19 18.07,19H5.93C3.76,19 2,17.23 2,15.04C2,13.07 3.43,11.44 5.31,11.14C5.28,11 5.27,10.86 5.27,10.71C5.27,9.33 6.38,8.2 7.76,8.2C8.37,8.2 8.94,8.43 9.37,8.8C10.14,7.05 11.13,5.44 13.91,5.44C17.28,5.44 18.87,8.06 18.87,10.83C18.87,10.94 18.87,11.06 18.86,11.17C20.65,11.54 22,13.13 22,15.04Z"},{PackIconKind.AppleSafari,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,14.09 4.8,16 6.11,17.41L9.88,9.88L17.41,6.11C16,4.8 14.09,4 12,4M12,20A8,8 0 0,0 20,12C20,9.91 19.2,8 17.89,6.59L14.12,14.12L6.59,17.89C8,19.2 9.91,20 12,20M12,12L11.23,11.23L9.7,14.3L12.77,12.77L12,12M12,17.5H13V19H12V17.5M15.88,15.89L16.59,15.18L17.65,16.24L16.94,16.95L15.88,15.89M17.5,12V11H19V12H17.5M12,6.5H11V5H12V6.5M8.12,8.11L7.41,8.82L6.35,7.76L7.06,7.05L8.12,8.11M6.5,12V13H5V12H6.5Z"},{PackIconKind.Application,"M19,4C20.11,4 21,4.9 21,6V18A2,2 0 0,1 19,20H5C3.89,20 3,19.1 3,18V6A2,2 0 0,1 5,4H19M19,18V8H5V18H19Z"},{PackIconKind.Approval,"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9L10,17Z"},{PackIconKind.Apps,"M16,20H20V16H16M16,14H20V10H16M10,8H14V4H10M16,8H20V4H16M10,14H14V10H10M4,14H8V10H4M4,20H8V16H4M10,20H14V16H10M4,8H8V4H4V8Z"},{PackIconKind.Archive,"M3,3H21V7H3V3M4,8H20V21H4V8M9.5,11A0.5,0.5 0 0,0 9,11.5V13H15V11.5A0.5,0.5 0 0,0 14.5,11H9.5Z"},{PackIconKind.ArrangeBringForward,"M2,2H16V16H2V2M22,8V22H8V18H10V20H20V10H18V8H22Z"},{PackIconKind.ArrangeBringToFront,"M2,2H11V6H9V4H4V9H6V11H2V2M22,13V22H13V18H15V20H20V15H18V13H22M8,8H16V16H8V8Z"},{PackIconKind.ArrangeSendBackward,"M2,2H16V16H2V2M22,8V22H8V18H18V8H22M4,4V14H14V4H4Z"},{PackIconKind.ArrangeSendToBack,"M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z"},{PackIconKind.ArrowAll,"M13,11H18L16.5,9.5L17.92,8.08L21.84,12L17.92,15.92L16.5,14.5L18,13H13V18L14.5,16.5L15.92,17.92L12,21.84L8.08,17.92L9.5,16.5L11,18V13H6L7.5,14.5L6.08,15.92L2.16,12L6.08,8.08L7.5,9.5L6,11H11V6L9.5,7.5L8.08,6.08L12,2.16L15.92,6.08L14.5,7.5L13,6V11Z"},{PackIconKind.ArrowBottomLeft,"M19,6.41L17.59,5L7,15.59V9H5V19H15V17H8.41L19,6.41Z"},{PackIconKind.ArrowBottomRight,"M5,6.41L6.41,5L17,15.59V9H19V19H9V17H15.59L5,6.41Z"},{PackIconKind.ArrowCollapse,"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},{PackIconKind.ArrowCollapseAll,"M19.5,3.09L20.91,4.5L16.41,9H20V11H13V4H15V7.59L19.5,3.09M20.91,19.5L19.5,20.91L15,16.41V20H13V13H20V15H16.41L20.91,19.5M4.5,3.09L9,7.59V4H11V11H4V9H7.59L3.09,4.5L4.5,3.09M3.09,19.5L7.59,15H4V13H11V20H9V16.41L4.5,20.91L3.09,19.5Z"},{PackIconKind.ArrowCollapseDown,"M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z"},{PackIconKind.ArrowCollapseLeft,"M11.92,19.92L4,12L11.92,4.08L13.33,5.5L7.83,11H22V13H7.83L13.34,18.5L11.92,19.92M4,12V2H2V22H4V12Z"},{PackIconKind.ArrowCollapseRight,"M12.08,4.08L20,12L12.08,19.92L10.67,18.5L16.17,13H2V11H16.17L10.67,5.5L12.08,4.08M20,12V22H22V2H20V12Z"},{PackIconKind.ArrowCollapseUp,"M4.08,11.92L12,4L19.92,11.92L18.5,13.33L13,7.83V22H11V7.83L5.5,13.33L4.08,11.92M12,4H22V2H2V4H12Z"},{PackIconKind.ArrowDown,"M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z"},{PackIconKind.ArrowDownBold,"M9,4H15V12H19.84L12,19.84L4.16,12H9V4Z"},{PackIconKind.ArrowDownBoldBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M12,17L17,12H14V8H10V12H7L12,17Z"},{PackIconKind.ArrowDownBoldBoxOutline,"M12,17L7,12H10V8H14V12H17L12,17M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M5,5V19H19V5H5Z"},{PackIconKind.ArrowDownBoldCircle,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,17L17,12H14V8H10V12H7L12,17Z"},{PackIconKind.ArrowDownBoldCircleOutline,"M12,17L7,12H10V8H14V12H17L12,17M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.ArrowDownBoldHexagonOutline,"M12,17L7,12H10V8H14V12H17L12,17M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15Z"},{PackIconKind.ArrowDownBox,"M3,5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5M11,6V14.5L7.5,11L6.08,12.42L12,18.34L17.92,12.42L16.5,11L13,14.5V6H11Z"},{PackIconKind.ArrowDownDropCircle,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M7,10L12,15L17,10H7Z"},{PackIconKind.ArrowDownDropCircleOutline,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M7,10L12,15L17,10H7Z"},{PackIconKind.ArrowDownThick,"M10,4H14V13L17.5,9.5L19.92,11.92L12,19.84L4.08,11.92L6.5,9.5L10,13V4Z"},{PackIconKind.ArrowExpand,"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},{PackIconKind.ArrowExpandAll,"M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z"},{PackIconKind.ArrowExpandDown,"M22,4V2H2V4H11V18.17L5.5,12.67L4.08,14.08L12,22L19.92,14.08L18.5,12.67L13,18.17V4H22Z"},{PackIconKind.ArrowExpandLeft,"M20,22H22V2H20V11H5.83L11.33,5.5L9.92,4.08L2,12L9.92,19.92L11.33,18.5L5.83,13H20V22Z"},{PackIconKind.ArrowExpandRight,"M4,2H2V22H4V13H18.17L12.67,18.5L14.08,19.92L22,12L14.08,4.08L12.67,5.5L18.17,11H4V2Z"},{PackIconKind.ArrowExpandUp,"M2,20V22H22V20H13V5.83L18.5,11.33L19.92,9.92L12,2L4.08,9.92L5.5,11.33L11,5.83V20H2Z"},{PackIconKind.ArrowLeft,"M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"},{PackIconKind.ArrowLeftBold,"M20,9V15H12V19.84L4.16,12L12,4.16V9H20Z"},{PackIconKind.ArrowLeftBoldBox,"M21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M7,12L12,17V14H16V10H12V7L7,12Z"},{PackIconKind.ArrowLeftBoldBoxOutline,"M7,12L12,7V10H16V14H12V17L7,12M21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M19,5H5V19H19V5Z"},{PackIconKind.ArrowLeftBoldCircle,"M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M7,12L12,17V14H16V10H12V7L7,12Z"},{PackIconKind.ArrowLeftBoldCircleOutline,"M7,12L12,7V10H16V14H12V17L7,12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12Z"},{PackIconKind.ArrowLeftBoldHexagonOutline,"M7,12L12,7V10H16V14H12V17L7,12M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15Z"},{PackIconKind.ArrowLeftBox,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M18,11H9.5L13,7.5L11.58,6.08L5.66,12L11.58,17.92L13,16.5L9.5,13H18V11Z"},{PackIconKind.ArrowLeftDropCircle,"M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M14,7L9,12L14,17V7Z"},{PackIconKind.ArrowLeftDropCircleOutline,"M22,12A10,10 0 0,0 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12M14,7L9,12L14,17V7Z"},{PackIconKind.ArrowLeftThick,"M20,10V14H11L14.5,17.5L12.08,19.92L4.16,12L12.08,4.08L14.5,6.5L11,10H20Z"},{PackIconKind.ArrowRight,"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"},{PackIconKind.ArrowRightBold,"M4,15V9H12V4.16L19.84,12L12,19.84V15H4Z"},{PackIconKind.ArrowRightBoldBox,"M3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19M17,12L12,7V10H8V14H12V17L17,12Z"},{PackIconKind.ArrowRightBoldBoxOutline,"M17,12L12,17V14H8V10H12V7L17,12M3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19M5,19H19V5H5V19Z"},{PackIconKind.ArrowRightBoldCircle,"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M17,12L12,7V10H8V14H12V17L17,12Z"},{PackIconKind.ArrowRightBoldCircleOutline,"M17,12L12,17V14H8V10H12V7L17,12M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12Z"},{PackIconKind.ArrowRightBoldHexagonOutline,"M17,12L12,17V14H8V10H12V7L17,12M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15Z"},{PackIconKind.ArrowRightBox,"M5,21A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19C21,20.11 20.1,21 19,21H5M6,13H14.5L11,16.5L12.42,17.92L18.34,12L12.42,6.08L11,7.5L14.5,11H6V13Z"},{PackIconKind.ArrowRightDropCircle,"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10,17L15,12L10,7V17Z"},{PackIconKind.ArrowRightDropCircleOutline,"M2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2A10,10 0 0,0 2,12M4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12M10,17L15,12L10,7V17Z"},{PackIconKind.ArrowRightThick,"M4,10V14H13L9.5,17.5L11.92,19.92L19.84,12L11.92,4.08L9.5,6.5L13,10H4Z"},{PackIconKind.ArrowTopLeft,"M19,17.59L17.59,19L7,8.41V15H5V5H15V7H8.41L19,17.59Z"},{PackIconKind.ArrowTopRight,"M5,17.59L15.59,7H9V5H19V15H17V8.41L6.41,19L5,17.59Z"},{PackIconKind.ArrowUp,"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z"},{PackIconKind.ArrowUpBold,"M15,20H9V12H4.16L12,4.16L19.84,12H15V20Z"},{PackIconKind.ArrowUpBoldBox,"M19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21M12,7L7,12H10V16H14V12H17L12,7Z"},{PackIconKind.ArrowUpBoldBoxOutline,"M12,7L17,12H14V16H10V12H7L12,7M19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21M19,19V5H5V19H19Z"},{PackIconKind.ArrowUpBoldCircle,"M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z"},{PackIconKind.ArrowUpBoldCircleOutline,"M12,7L17,12H14V16H10V12H7L12,7M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20Z"},{PackIconKind.ArrowUpBoldHexagonOutline,"M12,7L17,12H14V16H10V12H7L12,7M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15Z"},{PackIconKind.ArrowUpBox,"M21,19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19C20.11,3 21,3.9 21,5V19M13,18V9.5L16.5,13L17.92,11.58L12,5.66L6.08,11.58L7.5,13L11,9.5V18H13Z"},{PackIconKind.ArrowUpDropCircle,"M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M17,14L12,9L7,14H17Z"},{PackIconKind.ArrowUpDropCircleOutline,"M12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M17,14L12,9L7,14H17Z"},{PackIconKind.ArrowUpThick,"M14,20H10V11L6.5,14.5L4.08,12.08L12,4.16L19.92,12.08L17.5,14.5L14,11V20Z"},{PackIconKind.Artist,"M11,14C12,14 13.05,14.16 14.2,14.44C13.39,15.31 13,16.33 13,17.5C13,18.39 13.25,19.23 13.78,20H3V18C3,16.81 3.91,15.85 5.74,15.12C7.57,14.38 9.33,14 11,14M18.5,10H22V12H20V17.5C20,18.17 19.77,18.77 19.27,19.27C18.77,19.77 18.17,20 17.5,20C16.8,20 16.21,19.77 15.73,19.27C15.24,18.77 15,18.17 15,17.5C15,16.8 15.24,16.21 15.73,15.73C16.21,15.24 16.8,15 17.5,15C17.8,15 18.14,15.08 18.5,15.23V10M11,12C9.92,12 9,11.61 8.18,10.83C7.38,10.05 7,9.11 7,8C7,6.92 7.38,6 8.18,5.18C9,4.38 9.92,4 11,4C12.11,4 13.05,4.38 13.83,5.18C14.61,6 15,6.92 15,8C15,9.11 14.61,10.05 13.83,10.83C13.05,11.61 12.11,12 11,12Z"},{PackIconKind.Assistant,"M19,2H5A2,2 0 0,0 3,4V18A2,2 0 0,0 5,20H9L12,23L15,20H19A2,2 0 0,0 21,18V4A2,2 0 0,0 19,2M13.88,12.88L12,17L10.12,12.88L6,11L10.12,9.12L12,5L13.88,9.12L18,11"},{PackIconKind.Asterisk,"M10,2H14L13.21,9.91L19.66,5.27L21.66,8.73L14.42,12L21.66,15.27L19.66,18.73L13.21,14.09L14,22H10L10.79,14.09L4.34,18.73L2.34,15.27L9.58,12L2.34,8.73L4.34,5.27L10.79,9.91L10,2Z"},{PackIconKind.At,"M12,15C12.81,15 13.5,14.7 14.11,14.11C14.7,13.5 15,12.81 15,12C15,11.19 14.7,10.5 14.11,9.89C13.5,9.3 12.81,9 12,9C11.19,9 10.5,9.3 9.89,9.89C9.3,10.5 9,11.19 9,12C9,12.81 9.3,13.5 9.89,14.11C10.5,14.7 11.19,15 12,15M12,2C14.75,2 17.1,3 19.05,4.95C21,6.9 22,9.25 22,12V13.45C22,14.45 21.65,15.3 21,16C20.3,16.67 19.5,17 18.5,17C17.3,17 16.31,16.5 15.56,15.5C14.56,16.5 13.38,17 12,17C10.63,17 9.45,16.5 8.46,15.54C7.5,14.55 7,13.38 7,12C7,10.63 7.5,9.45 8.46,8.46C9.45,7.5 10.63,7 12,7C13.38,7 14.55,7.5 15.54,8.46C16.5,9.45 17,10.63 17,12V13.45C17,13.86 17.16,14.22 17.46,14.53C17.76,14.84 18.11,15 18.5,15C18.92,15 19.27,14.84 19.57,14.53C19.87,14.22 20,13.86 20,13.45V12C20,9.81 19.23,7.93 17.65,6.35C16.07,4.77 14.19,4 12,4C9.81,4 7.93,4.77 6.35,6.35C4.77,7.93 4,9.81 4,12C4,14.19 4.77,16.07 6.35,17.65C7.93,19.23 9.81,20 12,20H17V22H12C9.25,22 6.9,21 4.95,19.05C3,17.1 2,14.75 2,12C2,9.25 3,6.9 4.95,4.95C6.9,3 9.25,2 12,2Z"},{PackIconKind.Atlassian,"M7.93,11.24C7.74,11 7.38,10.94 7.13,11.13C7.06,11.19 7,11.26 6.96,11.34L2.06,21.15C1.91,21.44 2.03,21.79 2.32,21.94C2.4,22 2.5,22 2.59,22H9.41C9.63,22 9.84,21.88 9.94,21.68C11.41,18.63 10.5,14 7.93,11.24M11.53,2.31C9.05,6.14 8.76,11 10.77,15.09L14.06,21.68C14.17,21.88 14.37,22 14.59,22H21.41A0.59,0.59 0 0,0 22,21.41C22,21.32 22,21.23 21.94,21.15C21.94,21.15 12.76,2.77 12.5,2.31C12.39,2.04 12.06,1.92 11.78,2.06C11.67,2.11 11.58,2.2 11.53,2.31Z"},{PackIconKind.Atom,"M12,11A1,1 0 0,1 13,12A1,1 0 0,1 12,13A1,1 0 0,1 11,12A1,1 0 0,1 12,11M4.22,4.22C5.65,2.79 8.75,3.43 12,5.56C15.25,3.43 18.35,2.79 19.78,4.22C21.21,5.65 20.57,8.75 18.44,12C20.57,15.25 21.21,18.35 19.78,19.78C18.35,21.21 15.25,20.57 12,18.44C8.75,20.57 5.65,21.21 4.22,19.78C2.79,18.35 3.43,15.25 5.56,12C3.43,8.75 2.79,5.65 4.22,4.22M15.54,8.46C16.15,9.08 16.71,9.71 17.23,10.34C18.61,8.21 19.11,6.38 18.36,5.64C17.62,4.89 15.79,5.39 13.66,6.77C14.29,7.29 14.92,7.85 15.54,8.46M8.46,15.54C7.85,14.92 7.29,14.29 6.77,13.66C5.39,15.79 4.89,17.62 5.64,18.36C6.38,19.11 8.21,18.61 10.34,17.23C9.71,16.71 9.08,16.15 8.46,15.54M5.64,5.64C4.89,6.38 5.39,8.21 6.77,10.34C7.29,9.71 7.85,9.08 8.46,8.46C9.08,7.85 9.71,7.29 10.34,6.77C8.21,5.39 6.38,4.89 5.64,5.64M9.88,14.12C10.58,14.82 11.3,15.46 12,16.03C12.7,15.46 13.42,14.82 14.12,14.12C14.82,13.42 15.46,12.7 16.03,12C15.46,11.3 14.82,10.58 14.12,9.88C13.42,9.18 12.7,8.54 12,7.97C11.3,8.54 10.58,9.18 9.88,9.88C9.18,10.58 8.54,11.3 7.97,12C8.54,12.7 9.18,13.42 9.88,14.12M18.36,18.36C19.11,17.62 18.61,15.79 17.23,13.66C16.71,14.29 16.15,14.92 15.54,15.54C14.92,16.15 14.29,16.71 13.66,17.23C15.79,18.61 17.62,19.11 18.36,18.36Z"},{PackIconKind.Attachment,"M7.5,18A5.5,5.5 0 0,1 2,12.5A5.5,5.5 0 0,1 7.5,7H18A4,4 0 0,1 22,11A4,4 0 0,1 18,15H9.5A2.5,2.5 0 0,1 7,12.5A2.5,2.5 0 0,1 9.5,10H17V11.5H9.5A1,1 0 0,0 8.5,12.5A1,1 0 0,0 9.5,13.5H18A2.5,2.5 0 0,0 20.5,11A2.5,2.5 0 0,0 18,8.5H7.5A4,4 0 0,0 3.5,12.5A4,4 0 0,0 7.5,16.5H17V18H7.5Z"},{PackIconKind.Audiobook,"M18,22H6A2,2 0 0,1 4,20V4C4,2.89 4.9,2 6,2H7V9L9.5,7.5L12,9V2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22M13,15A2,2 0 0,0 11,17A2,2 0 0,0 13,19A2,2 0 0,0 15,17V12H18V10H14V15.27C13.71,15.1 13.36,15 13,15Z"},{PackIconKind.AutoFix,"M7.5,5.6L5,7L6.4,4.5L5,2L7.5,3.4L10,2L8.6,4.5L10,7L7.5,5.6M19.5,15.4L22,14L20.6,16.5L22,19L19.5,17.6L17,19L18.4,16.5L17,14L19.5,15.4M22,2L20.6,4.5L22,7L19.5,5.6L17,7L18.4,4.5L17,2L19.5,3.4L22,2M13.34,12.78L15.78,10.34L13.66,8.22L11.22,10.66L13.34,12.78M14.37,7.29L16.71,9.63C17.1,10 17.1,10.65 16.71,11.04L5.04,22.71C4.65,23.1 4,23.1 3.63,22.71L1.29,20.37C0.9,20 0.9,19.35 1.29,18.96L12.96,7.29C13.35,6.9 14,6.9 14.37,7.29Z"},{PackIconKind.AutoUpload,"M5.35,12.65L6.5,9L7.65,12.65M5.5,7L2.3,16H4.2L4.9,14H8.1L8.8,16H10.7L7.5,7M11,20H22V18H11M14,16H19V11H22L16.5,5.5L11,11H14V16Z"},{PackIconKind.Autorenew,"M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z"},{PackIconKind.AvTimer,"M11,17A1,1 0 0,0 12,18A1,1 0 0,0 13,17A1,1 0 0,0 12,16A1,1 0 0,0 11,17M11,3V7H13V5.08C16.39,5.57 19,8.47 19,12A7,7 0 0,1 12,19A7,7 0 0,1 5,12C5,10.32 5.59,8.78 6.58,7.58L12,13L13.41,11.59L6.61,4.79V4.81C4.42,6.45 3,9.05 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M18,12A1,1 0 0,0 17,11A1,1 0 0,0 16,12A1,1 0 0,0 17,13A1,1 0 0,0 18,12M6,12A1,1 0 0,0 7,13A1,1 0 0,0 8,12A1,1 0 0,0 7,11A1,1 0 0,0 6,12Z"},{PackIconKind.Azure,"M13.05,4.24L6.56,18.05L2,18L7.09,9.24L13.05,4.24M13.75,5.33L22,19.76H6.74L16.04,18.1L11.17,12.31L13.75,5.33Z"},{PackIconKind.Baby,"M18.5,4A2.5,2.5 0 0,1 21,6.5A2.5,2.5 0 0,1 18.5,9A2.5,2.5 0 0,1 16,6.5A2.5,2.5 0 0,1 18.5,4M4.5,20A1.5,1.5 0 0,1 3,18.5A1.5,1.5 0 0,1 4.5,17H11.5A1.5,1.5 0 0,1 13,18.5A1.5,1.5 0 0,1 11.5,20H4.5M16.09,19L14.69,15H11L6.75,10.75C6.75,10.75 9,8.25 12.5,8.25C15.5,8.25 15.85,9.25 16.06,9.87L18.92,18C19.2,18.78 18.78,19.64 18,19.92C17.22,20.19 16.36,19.78 16.09,19Z"},{PackIconKind.BabyBuggy,"M13,2V10H21A8,8 0 0,0 13,2M19.32,15.89C20.37,14.54 21,12.84 21,11H6.44L5.5,9H2V11H4.22C4.22,11 6.11,15.07 6.34,15.42C5.24,16 4.5,17.17 4.5,18.5A3.5,3.5 0 0,0 8,22C9.76,22 11.22,20.7 11.46,19H13.54C13.78,20.7 15.24,22 17,22A3.5,3.5 0 0,0 20.5,18.5C20.5,17.46 20.04,16.53 19.32,15.89M8,20A1.5,1.5 0 0,1 6.5,18.5A1.5,1.5 0 0,1 8,17A1.5,1.5 0 0,1 9.5,18.5A1.5,1.5 0 0,1 8,20M17,20A1.5,1.5 0 0,1 15.5,18.5A1.5,1.5 0 0,1 17,17A1.5,1.5 0 0,1 18.5,18.5A1.5,1.5 0 0,1 17,20Z"},{PackIconKind.Backburger,"M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z"},{PackIconKind.Backspace,"M22,3H7C6.31,3 5.77,3.35 5.41,3.88L0,12L5.41,20.11C5.77,20.64 6.31,21 7,21H22A2,2 0 0,0 24,19V5A2,2 0 0,0 22,3M19,15.59L17.59,17L14,13.41L10.41,17L9,15.59L12.59,12L9,8.41L10.41,7L14,10.59L17.59,7L19,8.41L15.41,12"},{PackIconKind.BackupRestore,"M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z"},{PackIconKind.Bandcamp,"M22,6L15.5,18H2L8.5,6H22Z"},{PackIconKind.Bank,"M11.5,1L2,6V8H21V6M16,10V17H19V10M2,22H21V19H2M10,10V17H13V10M4,10V17H7V10H4Z"},{PackIconKind.Barcode,"M2,6H4V18H2V6M5,6H6V18H5V6M7,6H10V18H7V6M11,6H12V18H11V6M14,6H16V18H14V6M17,6H20V18H17V6M21,6H22V18H21V6Z"},{PackIconKind.BarcodeScan,"M4,6H6V18H4V6M7,6H8V18H7V6M9,6H12V18H9V6M13,6H14V18H13V6M16,6H18V18H16V6M19,6H20V18H19V6M2,4V8H0V4A2,2 0 0,1 2,2H6V4H2M22,2A2,2 0 0,1 24,4V8H22V4H18V2H22M2,16V20H6V22H2A2,2 0 0,1 0,20V16H2M22,20V16H24V20A2,2 0 0,1 22,22H18V20H22Z"},{PackIconKind.Barley,"M7.33,18.33C6.5,17.17 6.5,15.83 6.5,14.5C8.17,15.5 9.83,16.5 10.67,17.67L11,18.23V15.95C9.5,15.05 8.08,14.13 7.33,13.08C6.5,11.92 6.5,10.58 6.5,9.25C8.17,10.25 9.83,11.25 10.67,12.42L11,13V10.7C9.5,9.8 8.08,8.88 7.33,7.83C6.5,6.67 6.5,5.33 6.5,4C8.17,5 9.83,6 10.67,7.17C10.77,7.31 10.86,7.46 10.94,7.62C10.77,7 10.66,6.42 10.65,5.82C10.64,4.31 11.3,2.76 11.96,1.21C12.65,2.69 13.34,4.18 13.35,5.69C13.36,6.32 13.25,6.96 13.07,7.59C13.15,7.45 13.23,7.31 13.33,7.17C14.17,6 15.83,5 17.5,4C17.5,5.33 17.5,6.67 16.67,7.83C15.92,8.88 14.5,9.8 13,10.7V13L13.33,12.42C14.17,11.25 15.83,10.25 17.5,9.25C17.5,10.58 17.5,11.92 16.67,13.08C15.92,14.13 14.5,15.05 13,15.95V18.23L13.33,17.67C14.17,16.5 15.83,15.5 17.5,14.5C17.5,15.83 17.5,17.17 16.67,18.33C15.92,19.38 14.5,20.3 13,21.2V23H11V21.2C9.5,20.3 8.08,19.38 7.33,18.33Z"},{PackIconKind.Barrel,"M18,19H19V21H5V19H6V13H5V11H6V5H5V3H19V5H18V11H19V13H18V19M9,13A3,3 0 0,0 12,16A3,3 0 0,0 15,13C15,11 12,7.63 12,7.63C12,7.63 9,11 9,13Z"},{PackIconKind.Basecamp,"M2,16.25C2,16.25 4,3.75 12,3.75C20,3.75 22,16.25 22,16.25C22,16.25 20,20.25 12,20.25C4,20.25 2,16.25 2,16.25M3.35,15.65C3.35,15.65 4.3,19 12,19C17,19 20,17.8 20.65,15.85C21.3,13.9 15.65,7.6 14.65,7.6C13.65,7.6 11.2,12 10.45,12C8.45,12 8.9,10 7.15,10C5.4,10 3.35,15.65 3.35,15.65Z"},{PackIconKind.Basket,"M5.5,21C4.72,21 4.04,20.55 3.71,19.9V19.9L1.1,10.44L1,10A1,1 0 0,1 2,9H6.58L11.18,2.43C11.36,2.17 11.66,2 12,2C12.34,2 12.65,2.17 12.83,2.44L17.42,9H22A1,1 0 0,1 23,10L22.96,10.29L20.29,19.9C19.96,20.55 19.28,21 18.5,21H5.5M12,4.74L9,9H15L12,4.74M12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13Z"},{PackIconKind.BasketFill,"M3,2H6V5H3V2M6,7H9V10H6V7M8,2H11V5H8V2M17,11L12,6H15V2H19V6H22L17,11M7.5,22C6.72,22 6.04,21.55 5.71,20.9V20.9L3.1,13.44L3,13A1,1 0 0,1 4,12H20A1,1 0 0,1 21,13L20.96,13.29L18.29,20.9C17.96,21.55 17.28,22 16.5,22H7.5M7.61,20H16.39L18.57,14H5.42L7.61,20Z"},{PackIconKind.BasketUnfill,"M3,10H6V7H3V10M5,5H8V2H5V5M8,10H11V7H8V10M17,1L12,6H15V10H19V6H22L17,1M7.5,22C6.72,22 6.04,21.55 5.71,20.9V20.9L3.1,13.44L3,13A1,1 0 0,1 4,12H20A1,1 0 0,1 21,13L20.96,13.29L18.29,20.9C17.96,21.55 17.28,22 16.5,22H7.5M7.61,20H16.39L18.57,14H5.42L7.61,20Z"},{PackIconKind.Basketball,"M2.34,14.63C2.94,14.41 3.56,14.3 4.22,14.3C5.56,14.3 6.73,14.72 7.73,15.56L4.59,18.7C3.53,17.5 2.78,16.13 2.34,14.63M15.56,9.8C17.53,11.27 19.66,11.63 21.94,10.88C21.97,11.09 22,11.47 22,12C22,13.03 21.75,14.18 21.28,15.45C20.81,16.71 20.23,17.73 19.55,18.5L13.22,12.19L15.56,9.8M8.77,16.64C9.83,18.17 10.05,19.84 9.42,21.66C8,21.25 6.73,20.61 5.67,19.73L8.77,16.64M12.19,13.22L18.5,19.55C16.33,21.45 13.78,22.25 10.88,21.94C11.09,21.28 11.2,20.56 11.2,19.78C11.2,19.16 11.06,18.43 10.78,17.6C10.5,16.77 10.17,16.09 9.8,15.56L12.19,13.22M8.81,14.5C7.88,13.67 6.8,13.15 5.58,12.91C4.36,12.68 3.19,12.75 2.06,13.13C2.03,12.91 2,12.53 2,12C2,10.97 2.25,9.82 2.72,8.55C3.19,7.29 3.77,6.27 4.45,5.5L11.11,12.19L8.81,14.5M15.56,7.73C14.22,6.08 13.91,4.28 14.63,2.34C15.25,2.5 15.96,2.8 16.76,3.26C17.55,3.71 18.2,4.16 18.7,4.59L15.56,7.73M21.66,9.38C21.06,9.59 20.44,9.7 19.78,9.7C18.69,9.7 17.64,9.38 16.64,8.72L19.73,5.67C20.61,6.77 21.25,8 21.66,9.38M12.19,11.11L5.5,4.45C7.67,2.55 10.22,1.75 13.13,2.06C12.91,2.72 12.8,3.44 12.8,4.22C12.8,4.94 12.96,5.75 13.29,6.66C13.62,7.56 14,8.28 14.5,8.81L12.19,11.11Z"},{PackIconKind.Battery,"M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery10,"M16,18H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery20,"M16,17H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery30,"M16,15H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery40,"M16,14H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery50,"M16,13H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery60,"M16,12H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery70,"M16,10H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery80,"M16,9H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.Battery90,"M16,8H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.BatteryAlert,"M13,14H11V9H13M13,18H11V16H13M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.BatteryCharging,"M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.66C6,21.4 6.6,22 7.33,22H16.66C17.4,22 18,21.4 18,20.67V5.33C18,4.6 17.4,4 16.67,4M11,20V14.5H9L13,7V12.5H15"},{PackIconKind.BatteryCharging100,"M23,11H20V4L15,14H18V22M12.67,4H11V2H5V4H3.33A1.33,1.33 0 0,0 2,5.33V20.67C2,21.4 2.6,22 3.33,22H12.67C13.4,22 14,21.4 14,20.67V5.33A1.33,1.33 0 0,0 12.67,4Z"},{PackIconKind.BatteryCharging20,"M23.05,11H20.05V4L15.05,14H18.05V22M12.05,17H4.05V6H12.05M12.72,4H11.05V2H5.05V4H3.38A1.33,1.33 0 0,0 2.05,5.33V20.67C2.05,21.4 2.65,22 3.38,22H12.72C13.45,22 14.05,21.4 14.05,20.67V5.33A1.33,1.33 0 0,0 12.72,4Z"},{PackIconKind.BatteryCharging30,"M12,15H4V6H12M12.67,4H11V2H5V4H3.33A1.33,1.33 0 0,0 2,5.33V20.67C2,21.4 2.6,22 3.33,22H12.67C13.4,22 14,21.4 14,20.67V5.33A1.33,1.33 0 0,0 12.67,4M23,11H20V4L15,14H18V22L23,11Z"},{PackIconKind.BatteryCharging40,"M23,11H20V4L15,14H18V22M12,13H4V6H12M12.67,4H11V2H5V4H3.33A1.33,1.33 0 0,0 2,5.33V20.67C2,21.4 2.6,22 3.33,22H12.67C13.4,22 14,21.4 14,20.67V5.33A1.33,1.33 0 0,0 12.67,4Z"},{PackIconKind.BatteryCharging60,"M12,11H4V6H12M12.67,4H11V2H5V4H3.33A1.33,1.33 0 0,0 2,5.33V20.67C2,21.4 2.6,22 3.33,22H12.67C13.4,22 14,21.4 14,20.67V5.33A1.33,1.33 0 0,0 12.67,4M23,11H20V4L15,14H18V22L23,11Z"},{PackIconKind.BatteryCharging80,"M23,11H20V4L15,14H18V22M12,9H4V6H12M12.67,4H11V2H5V4H3.33A1.33,1.33 0 0,0 2,5.33V20.67C2,21.4 2.6,22 3.33,22H12.67C13.4,22 14,21.4 14,20.67V5.33A1.33,1.33 0 0,0 12.67,4Z"},{PackIconKind.BatteryCharging90,"M23,11H20V4L15,14H18V22M12,8H4V6H12M12.67,4H11V2H5V4H3.33A1.33,1.33 0 0,0 2,5.33V20.67C2,21.4 2.6,22 3.33,22H12.67C13.4,22 14,21.4 14,20.67V5.33A1.33,1.33 0 0,0 12.67,4Z"},{PackIconKind.BatteryChargingWireless,"M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76Z"},{PackIconKind.BatteryChargingWireless10,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,18.5H4V6H12V18.5Z"},{PackIconKind.BatteryChargingWireless20,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,17H4V6H12V17Z"},{PackIconKind.BatteryChargingWireless30,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,16H4V6H12V16Z"},{PackIconKind.BatteryChargingWireless40,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,14.5H4V6H12V14.5Z"},{PackIconKind.BatteryChargingWireless50,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,13H4V6H12V13Z"},{PackIconKind.BatteryChargingWireless60,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,11.6H4V6H12V11.6Z"},{PackIconKind.BatteryChargingWireless70,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,10H4V6H12V10Z"},{PackIconKind.BatteryChargingWireless80,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,9H4V6H12V9Z"},{PackIconKind.BatteryChargingWireless90,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,7.5H4V6H12V7.5Z"},{PackIconKind.BatteryChargingWirelessAlert,"M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M9,18H7V16H9V18M9,14H7V9H9V14M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76Z"},{PackIconKind.BatteryChargingWirelessOutline,"M20.07,4.93L18.66,6.34C21.79,9.46 21.79,14.53 18.66,17.66L20.07,19.07C23.97,15.17 23.97,8.84 20.07,4.93M17.24,7.76L15.83,9.17C17.39,10.73 17.39,13.26 15.83,14.83L17.24,16.24C19.58,13.9 19.58,10.1 17.24,7.76M13,4H11V2H5V4H3A1,1 0 0,0 2,5V21A1,1 0 0,0 3,22H13A1,1 0 0,0 14,21V5A1,1 0 0,0 13,4M12,20H4V6H12V20Z"},{PackIconKind.BatteryMinus,"M16.67,4C17.4,4 18,4.6 18,5.33V20.67A1.33,1.33 0 0,1 16.67,22H7.33C6.6,22 6,21.4 6,20.67V5.33A1.33,1.33 0 0,1 7.33,4H9V2H15V4H16.67M8,12V14H16V12"},{PackIconKind.BatteryNegative,"M11.67,4A1.33,1.33 0 0,1 13,5.33V20.67C13,21.4 12.4,22 11.67,22H2.33C1.6,22 1,21.4 1,20.67V5.33A1.33,1.33 0 0,1 2.33,4H4V2H10V4H11.67M15,12H23V14H15V12M3,13H11V6H3V13Z"},{PackIconKind.BatteryOutline,"M16,20H8V6H16M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.67C6,21.4 6.6,22 7.33,22H16.67A1.33,1.33 0 0,0 18,20.67V5.33C18,4.6 17.4,4 16.67,4Z"},{PackIconKind.BatteryPlus,"M16.67,4C17.4,4 18,4.6 18,5.33V20.67A1.33,1.33 0 0,1 16.67,22H7.33C6.6,22 6,21.4 6,20.67V5.33A1.33,1.33 0 0,1 7.33,4H9V2H15V4H16.67M16,14V12H13V9H11V12H8V14H11V17H13V14H16Z"},{PackIconKind.BatteryPositive,"M11.67,4A1.33,1.33 0 0,1 13,5.33V20.67C13,21.4 12.4,22 11.67,22H2.33C1.6,22 1,21.4 1,20.67V5.33A1.33,1.33 0 0,1 2.33,4H4V2H10V4H11.67M23,14H20V17H18V14H15V12H18V9H20V12H23V14M3,13H11V6H3V13Z"},{PackIconKind.BatteryUnknown,"M15.07,12.25L14.17,13.17C13.63,13.71 13.25,14.18 13.09,15H11.05C11.16,14.1 11.56,13.28 12.17,12.67L13.41,11.41C13.78,11.05 14,10.55 14,10C14,8.89 13.1,8 12,8A2,2 0 0,0 10,10H8A4,4 0 0,1 12,6A4,4 0 0,1 16,10C16,10.88 15.64,11.68 15.07,12.25M13,19H11V17H13M16.67,4H15V2H9V4H7.33A1.33,1.33 0 0,0 6,5.33V20.66C6,21.4 6.6,22 7.33,22H16.67C17.4,22 18,21.4 18,20.66V5.33C18,4.59 17.4,4 16.67,4Z"},{PackIconKind.Beach,"M15,18.54C17.13,18.21 19.5,18 22,18V22H5C5,21.35 8.2,19.86 13,18.9V12.4C12.16,12.65 11.45,13.21 11,13.95C10.39,12.93 9.27,12.25 8,12.25C6.73,12.25 5.61,12.93 5,13.95C5.03,10.37 8.5,7.43 13,7.04V7A1,1 0 0,1 14,6A1,1 0 0,1 15,7V7.04C19.5,7.43 22.96,10.37 23,13.95C22.39,12.93 21.27,12.25 20,12.25C18.73,12.25 17.61,12.93 17,13.95C16.55,13.21 15.84,12.65 15,12.39V18.54M7,2A5,5 0 0,1 2,7V2H7Z"},{PackIconKind.Beaker,"M3,3H21V5A2,2 0 0,0 19,7V19A2,2 0 0,1 17,21H7A2,2 0 0,1 5,19V7A2,2 0 0,0 3,5V3M7,5V7H12V8H7V9H10V10H7V11H10V12H7V13H12V14H7V15H10V16H7V19H17V5H7Z"},{PackIconKind.Beats,"M7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7C10.87,7 9.84,7.37 9,8V2.46C9.95,2.16 10.95,2 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,8.3 4,5.07 7,3.34V12M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z"},{PackIconKind.Beer,"M4,2H19L17,22H6L4,2M6.2,4L7.8,20H8.8L7.43,6.34C8.5,6 9.89,5.89 11,7C12.56,8.56 15.33,7.69 16.5,7.23L16.8,4H6.2Z"},{PackIconKind.Behance,"M19.58,12.27C19.54,11.65 19.33,11.18 18.96,10.86C18.59,10.54 18.13,10.38 17.58,10.38C17,10.38 16.5,10.55 16.19,10.89C15.86,11.23 15.65,11.69 15.57,12.27M21.92,12.04C22,12.45 22,13.04 22,13.81H15.5C15.55,14.71 15.85,15.33 16.44,15.69C16.79,15.92 17.22,16.03 17.73,16.03C18.26,16.03 18.69,15.89 19,15.62C19.2,15.47 19.36,15.27 19.5,15H21.88C21.82,15.54 21.53,16.07 21,16.62C20.22,17.5 19.1,17.92 17.66,17.92C16.47,17.92 15.43,17.55 14.5,16.82C13.62,16.09 13.16,14.9 13.16,13.25C13.16,11.7 13.57,10.5 14.39,9.7C15.21,8.87 16.27,8.46 17.58,8.46C18.35,8.46 19.05,8.6 19.67,8.88C20.29,9.16 20.81,9.59 21.21,10.2C21.58,10.73 21.81,11.34 21.92,12.04M9.58,14.07C9.58,13.42 9.31,12.97 8.79,12.73C8.5,12.6 8.08,12.53 7.54,12.5H4.87V15.84H7.5C8.04,15.84 8.46,15.77 8.76,15.62C9.31,15.35 9.58,14.83 9.58,14.07M4.87,10.46H7.5C8.04,10.46 8.5,10.36 8.82,10.15C9.16,9.95 9.32,9.58 9.32,9.06C9.32,8.5 9.1,8.1 8.66,7.91C8.27,7.78 7.78,7.72 7.19,7.72H4.87M11.72,12.42C12.04,12.92 12.2,13.53 12.2,14.24C12.2,15 12,15.64 11.65,16.23C11.41,16.62 11.12,16.94 10.77,17.21C10.37,17.5 9.9,17.72 9.36,17.83C8.82,17.94 8.24,18 7.61,18H2V5.55H8C9.53,5.58 10.6,6 11.23,6.88C11.61,7.41 11.8,8.04 11.8,8.78C11.8,9.54 11.61,10.15 11.23,10.61C11,10.87 10.7,11.11 10.28,11.32C10.91,11.55 11.39,11.92 11.72,12.42M20.06,7.32H15.05V6.07H20.06V7.32Z"},{PackIconKind.Bell,"M14,20A2,2 0 0,1 12,22A2,2 0 0,1 10,20H14M12,2A1,1 0 0,1 13,3V4.08C15.84,4.56 18,7.03 18,10V16L21,19H3L6,16V10C6,7.03 8.16,4.56 11,4.08V3A1,1 0 0,1 12,2Z"},{PackIconKind.BellOff,"M14,20A2,2 0 0,1 12,22A2,2 0 0,1 10,20H14M19.74,21.57L17.17,19H3L6,16V10C6,9.35 6.1,8.72 6.3,8.13L3.47,5.3L4.89,3.89L7.29,6.29L21.15,20.15L19.74,21.57M11,4.08V3A1,1 0 0,1 12,2A1,1 0 0,1 13,3V4.08C15.84,4.56 18,7.03 18,10V14.17L8.77,4.94C9.44,4.5 10.19,4.22 11,4.08Z"},{PackIconKind.BellOutline,"M16,17H7V10.5C7,8 9,6 11.5,6C14,6 16,8 16,10.5M18,16V10.5C18,7.43 15.86,4.86 13,4.18V3.5A1.5,1.5 0 0,0 11.5,2A1.5,1.5 0 0,0 10,3.5V4.18C7.13,4.86 5,7.43 5,10.5V16L3,18V19H20V18M11.5,22A2,2 0 0,0 13.5,20H9.5A2,2 0 0,0 11.5,22Z"},{PackIconKind.BellPlus,"M10,21C10,22.11 10.9,23 12,23A2,2 0 0,0 14,21M18.88,16.82V11C18.88,7.75 16.63,5.03 13.59,4.31V3.59A1.59,1.59 0 0,0 12,2A1.59,1.59 0 0,0 10.41,3.59V4.31C7.37,5.03 5.12,7.75 5.12,11V16.82L3,18.94V20H21V18.94M16,13H13V16H11V13H8V11H11V8H13V11H16"},{PackIconKind.BellRing,"M11.5,22C11.64,22 11.77,22 11.9,21.96C12.55,21.82 13.09,21.38 13.34,20.78C13.44,20.54 13.5,20.27 13.5,20H9.5A2,2 0 0,0 11.5,22M18,10.5C18,7.43 15.86,4.86 13,4.18V3.5A1.5,1.5 0 0,0 11.5,2A1.5,1.5 0 0,0 10,3.5V4.18C7.13,4.86 5,7.43 5,10.5V16L3,18V19H20V18L18,16M19.97,10H21.97C21.82,6.79 20.24,3.97 17.85,2.15L16.42,3.58C18.46,5 19.82,7.35 19.97,10M6.58,3.58L5.15,2.15C2.76,3.97 1.18,6.79 1,10H3C3.18,7.35 4.54,5 6.58,3.58Z"},{PackIconKind.BellRingOutline,"M16,17V10.5C16,8 14,6 11.5,6C9,6 7,8 7,10.5V17H16M18,16L20,18V19H3V18L5,16V10.5C5,7.43 7.13,4.86 10,4.18V3.5A1.5,1.5 0 0,1 11.5,2A1.5,1.5 0 0,1 13,3.5V4.18C15.86,4.86 18,7.43 18,10.5V16M11.5,22A2,2 0 0,1 9.5,20H13.5A2,2 0 0,1 11.5,22M19.97,10C19.82,7.35 18.46,5 16.42,3.58L17.85,2.15C20.24,3.97 21.82,6.79 21.97,10H19.97M6.58,3.58C4.54,5 3.18,7.35 3,10H1C1.18,6.79 2.76,3.97 5.15,2.15L6.58,3.58Z"},{PackIconKind.BellSleep,"M14,9.8L11.2,13.2H14V15H9V13.2L11.8,9.8H9V8H14M18,16V10.5C18,7.43 15.86,4.86 13,4.18V3.5A1.5,1.5 0 0,0 11.5,2A1.5,1.5 0 0,0 10,3.5V4.18C7.13,4.86 5,7.43 5,10.5V16L3,18V19H20V18M11.5,22A2,2 0 0,0 13.5,20H9.5A2,2 0 0,0 11.5,22Z"},{PackIconKind.Beta,"M9.23,17.59V23.12H6.88V6.72C6.88,5.27 7.31,4.13 8.16,3.28C9,2.43 10.17,2 11.61,2C13,2 14.07,2.34 14.87,3C15.66,3.68 16.05,4.62 16.05,5.81C16.05,6.63 15.79,7.4 15.27,8.11C14.75,8.82 14.08,9.31 13.25,9.58V9.62C14.5,9.82 15.47,10.27 16.13,11C16.79,11.71 17.12,12.62 17.12,13.74C17.12,15.06 16.66,16.14 15.75,16.97C14.83,17.8 13.63,18.21 12.13,18.21C11.07,18.21 10.1,18 9.23,17.59M10.72,10.75V8.83C11.59,8.72 12.3,8.4 12.87,7.86C13.43,7.31 13.71,6.7 13.71,6C13.71,4.62 13,3.92 11.6,3.92C10.84,3.92 10.25,4.16 9.84,4.65C9.43,5.14 9.23,5.82 9.23,6.71V15.5C10.14,16.03 11.03,16.29 11.89,16.29C12.73,16.29 13.39,16.07 13.86,15.64C14.33,15.2 14.56,14.58 14.56,13.79C14.56,12 13.28,11 10.72,10.75Z"},{PackIconKind.Bible,"M5.81,2H7V9L9.5,7.5L12,9V2H18A2,2 0 0,1 20,4V20C20,21.05 19.05,22 18,22H6C4.95,22 4,21.05 4,20V4C4,3 4.83,2.09 5.81,2M13,10V13H10V15H13V20H15V15H18V13H15V10H13Z"},{PackIconKind.Bike,"M5,20.5A3.5,3.5 0 0,1 1.5,17A3.5,3.5 0 0,1 5,13.5A3.5,3.5 0 0,1 8.5,17A3.5,3.5 0 0,1 5,20.5M5,12A5,5 0 0,0 0,17A5,5 0 0,0 5,22A5,5 0 0,0 10,17A5,5 0 0,0 5,12M14.8,10H19V8.2H15.8L13.86,4.93C13.57,4.43 13,4.1 12.4,4.1C11.93,4.1 11.5,4.29 11.2,4.6L7.5,8.29C7.19,8.6 7,9 7,9.5C7,10.13 7.33,10.66 7.85,10.97L11.2,13V18H13V11.5L10.75,9.85L13.07,7.5M19,20.5A3.5,3.5 0 0,1 15.5,17A3.5,3.5 0 0,1 19,13.5A3.5,3.5 0 0,1 22.5,17A3.5,3.5 0 0,1 19,20.5M19,12A5,5 0 0,0 14,17A5,5 0 0,0 19,22A5,5 0 0,0 24,17A5,5 0 0,0 19,12M16,4.8C17,4.8 17.8,4 17.8,3C17.8,2 17,1.2 16,1.2C15,1.2 14.2,2 14.2,3C14.2,4 15,4.8 16,4.8Z"},{PackIconKind.Bing,"M5,3V19L8.72,21L18,15.82V11.73H18L9.77,8.95L11.38,12.84L13.94,14L8.7,16.92V4.27L5,3"},{PackIconKind.Binoculars,"M11,6H13V13H11V6M9,20A1,1 0 0,1 8,21H5A1,1 0 0,1 4,20V15L6,6H10V13A1,1 0 0,1 9,14V20M10,5H7V3H10V5M15,20V14A1,1 0 0,1 14,13V6H18L20,15V20A1,1 0 0,1 19,21H16A1,1 0 0,1 15,20M14,5V3H17V5H14Z"},{PackIconKind.Bio,"M17,12H20A2,2 0 0,1 22,14V17A2,2 0 0,1 20,19H17A2,2 0 0,1 15,17V14A2,2 0 0,1 17,12M17,14V17H20V14H17M2,7H7A2,2 0 0,1 9,9V11A2,2 0 0,1 7,13A2,2 0 0,1 9,15V17A2,2 0 0,1 7,19H2V13L2,7M4,9V12H7V9H4M4,17H7V14H4V17M11,13H13V19H11V13M11,9H13V11H11V9Z"},{PackIconKind.Biohazard,"M23,16.06C23,16.29 23,16.5 22.96,16.7C22.78,14.14 20.64,12.11 18,12.11C17.63,12.11 17.27,12.16 16.92,12.23C16.96,12.5 17,12.73 17,13C17,15.35 15.31,17.32 13.07,17.81C13.42,20.05 15.31,21.79 17.65,21.96C17.43,22 17.22,22 17,22C14.92,22 13.07,20.94 12,19.34C10.93,20.94 9.09,22 7,22C6.78,22 6.57,22 6.35,21.96C8.69,21.79 10.57,20.06 10.93,17.81C8.68,17.32 7,15.35 7,13C7,12.73 7.04,12.5 7.07,12.23C6.73,12.16 6.37,12.11 6,12.11C3.36,12.11 1.22,14.14 1.03,16.7C1,16.5 1,16.29 1,16.06C1,12.85 3.59,10.24 6.81,10.14C6.3,9.27 6,8.25 6,7.17C6,4.94 7.23,3 9.06,2C7.81,2.9 7,4.34 7,6C7,7.35 7.56,8.59 8.47,9.5C9.38,8.59 10.62,8.04 12,8.04C13.37,8.04 14.62,8.59 15.5,9.5C16.43,8.59 17,7.35 17,6C17,4.34 16.18,2.9 14.94,2C16.77,3 18,4.94 18,7.17C18,8.25 17.7,9.27 17.19,10.14C20.42,10.24 23,12.85 23,16.06M9.27,10.11C10.05,10.62 11,10.92 12,10.92C13,10.92 13.95,10.62 14.73,10.11C14,9.45 13.06,9.03 12,9.03C10.94,9.03 10,9.45 9.27,10.11M12,14.47C12.82,14.47 13.5,13.8 13.5,13A1.5,1.5 0 0,0 12,11.5A1.5,1.5 0 0,0 10.5,13C10.5,13.8 11.17,14.47 12,14.47M10.97,16.79C10.87,14.9 9.71,13.29 8.05,12.55C8.03,12.7 8,12.84 8,13C8,14.82 9.27,16.34 10.97,16.79M15.96,12.55C14.29,13.29 13.12,14.9 13,16.79C14.73,16.34 16,14.82 16,13C16,12.84 15.97,12.7 15.96,12.55Z"},{PackIconKind.Bitbucket,"M21.43,2C21.79,2.07 22.03,2.42 22,2.82L21.12,8.7L19.27,21.4C19.2,21.75 18.95,22 18.63,22H5.37C5.05,22 4.8,21.75 4.73,21.4L2.88,8.7L2,2.82C1.97,2.42 2.21,2.07 2.57,2H21.43M14.08,15.26L15.1,8.7H8.9L9.92,15.26H14.08Z"},{PackIconKind.Bitcoin,"M4.5,5H8V2H10V5H11.5V2H13.5V5C19,5 19,11 16,11.25C20,11 21,19 13.5,19V22H11.5V19H10V22H8V19H4.5L5,17H6A1,1 0 0,0 7,16V8A1,1 0 0,0 6,7H4.5V5M10,7V11C10,11 14.5,11.25 14.5,9C14.5,6.75 10,7 10,7M10,12.5V17C10,17 15.5,17 15.5,14.75C15.5,12.5 10,12.5 10,12.5Z"},{PackIconKind.BlackMesa,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,14.39 5.05,16.53 6.71,18H9V12H17L19.15,15.59C19.69,14.5 20,13.29 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.Blackberry,"M5.45,10.28C6.4,10.28 7.5,11.05 7.5,12C7.5,12.95 6.4,13.72 5.45,13.72H2L2.69,10.28H5.45M6.14,4.76C7.09,4.76 8.21,5.53 8.21,6.5C8.21,7.43 7.09,8.21 6.14,8.21H2.69L3.38,4.76H6.14M13.03,4.76C14,4.76 15.1,5.53 15.1,6.5C15.1,7.43 14,8.21 13.03,8.21H9.41L10.1,4.76H13.03M12.34,10.28C13.3,10.28 14.41,11.05 14.41,12C14.41,12.95 13.3,13.72 12.34,13.72H8.72L9.41,10.28H12.34M10.97,15.79C11.92,15.79 13.03,16.57 13.03,17.5C13.03,18.47 11.92,19.24 10.97,19.24H7.5L8.21,15.79H10.97M18.55,13.72C19.5,13.72 20.62,14.5 20.62,15.45C20.62,16.4 19.5,17.17 18.55,17.17H15.1L15.79,13.72H18.55M19.93,8.21C20.88,8.21 22,9 22,9.93C22,10.88 20.88,11.66 19.93,11.66H16.5L17.17,8.21H19.93Z"},{PackIconKind.Blender,"M8,3C8,3.34 8.17,3.69 8.5,3.88L12,6H2.5A1.5,1.5 0 0,0 1,7.5A1.5,1.5 0 0,0 2.5,9H8.41L2,13C1.16,13.5 1,14.22 1,15C1,16 1.77,17 3,17C3.69,17 4.39,16.5 5,16L7,14.38C7.2,18.62 10.71,22 15,22A8,8 0 0,0 23,14C23,11.08 21.43,8.5 19.09,7.13C19.06,7.11 19.03,7.08 19,7.06C19,7.06 18.92,7 18.86,6.97C15.76,4.88 13.03,3.72 9.55,2.13C9.34,2.04 9.16,2 9,2C8.4,2 8,2.46 8,3M15,9A5,5 0 0,1 20,14A5,5 0 0,1 15,19A5,5 0 0,1 10,14A5,5 0 0,1 15,9M15,10.5A3.5,3.5 0 0,0 11.5,14A3.5,3.5 0 0,0 15,17.5A3.5,3.5 0 0,0 18.5,14A3.5,3.5 0 0,0 15,10.5Z"},{PackIconKind.Blinds,"M3,2H21A1,1 0 0,1 22,3V5A1,1 0 0,1 21,6H20V13A1,1 0 0,1 19,14H13V16.17C14.17,16.58 15,17.69 15,19A3,3 0 0,1 12,22A3,3 0 0,1 9,19C9,17.69 9.83,16.58 11,16.17V14H5A1,1 0 0,1 4,13V6H3A1,1 0 0,1 2,5V3A1,1 0 0,1 3,2M12,18A1,1 0 0,0 11,19A1,1 0 0,0 12,20A1,1 0 0,0 13,19A1,1 0 0,0 12,18Z"},{PackIconKind.BlockHelper,"M12,0A12,12 0 0,1 24,12A12,12 0 0,1 12,24A12,12 0 0,1 0,12A12,12 0 0,1 12,0M12,2A10,10 0 0,0 2,12C2,14.4 2.85,16.6 4.26,18.33L18.33,4.26C16.6,2.85 14.4,2 12,2M12,22A10,10 0 0,0 22,12C22,9.6 21.15,7.4 19.74,5.67L5.67,19.74C7.4,21.15 9.6,22 12,22Z"},{PackIconKind.Blogger,"M14,13H9.95A1,1 0 0,0 8.95,14A1,1 0 0,0 9.95,15H14A1,1 0 0,0 15,14A1,1 0 0,0 14,13M9.95,10H12.55A1,1 0 0,0 13.55,9A1,1 0 0,0 12.55,8H9.95A1,1 0 0,0 8.95,9A1,1 0 0,0 9.95,10M16,9V10A1,1 0 0,0 17,11A1,1 0 0,1 18,12V15A3,3 0 0,1 15,18H9A3,3 0 0,1 6,15V8A3,3 0 0,1 9,5H13A3,3 0 0,1 16,8M20,2H4C2.89,2 2,2.89 2,4V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.Bluetooth,"M14.88,16.29L13,18.17V14.41M13,5.83L14.88,7.71L13,9.58M17.71,7.71L12,2H11V9.58L6.41,5L5,6.41L10.59,12L5,17.58L6.41,19L11,14.41V22H12L17.71,16.29L13.41,12L17.71,7.71Z"},{PackIconKind.BluetoothAudio,"M12.88,16.29L11,18.17V14.41M11,5.83L12.88,7.71L11,9.58M15.71,7.71L10,2H9V9.58L4.41,5L3,6.41L8.59,12L3,17.58L4.41,19L9,14.41V22H10L15.71,16.29L11.41,12M19.53,6.71L18.26,8C18.89,9.18 19.25,10.55 19.25,12C19.25,13.45 18.89,14.82 18.26,16L19.46,17.22C20.43,15.68 21,13.87 21,11.91C21,10 20.46,8.23 19.53,6.71M14.24,12L16.56,14.33C16.84,13.6 17,12.82 17,12C17,11.18 16.84,10.4 16.57,9.68L14.24,12Z"},{PackIconKind.BluetoothConnect,"M19,10L17,12L19,14L21,12M14.88,16.29L13,18.17V14.41M13,5.83L14.88,7.71L13,9.58M17.71,7.71L12,2H11V9.58L6.41,5L5,6.41L10.59,12L5,17.58L6.41,19L11,14.41V22H12L17.71,16.29L13.41,12M7,12L5,10L3,12L5,14L7,12Z"},{PackIconKind.BluetoothOff,"M13,5.83L14.88,7.71L13.28,9.31L14.69,10.72L17.71,7.7L12,2H11V7.03L13,9.03M5.41,4L4,5.41L10.59,12L5,17.59L6.41,19L11,14.41V22H12L16.29,17.71L18.59,20L20,18.59M13,18.17V14.41L14.88,16.29"},{PackIconKind.BluetoothSettings,"M14.88,14.29L13,16.17V12.41L14.88,14.29M13,3.83L14.88,5.71L13,7.59M17.71,5.71L12,0H11V7.59L6.41,3L5,4.41L10.59,10L5,15.59L6.41,17L11,12.41V20H12L17.71,14.29L13.41,10L17.71,5.71M15,24H17V22H15M7,24H9V22H7M11,24H13V22H11V24Z"},{PackIconKind.BluetoothTransfer,"M14.71,7.71L10.41,12L14.71,16.29L9,22H8V14.41L3.41,19L2,17.59L7.59,12L2,6.41L3.41,5L8,9.59V2H9L14.71,7.71M10,5.83V9.59L11.88,7.71L10,5.83M11.88,16.29L10,14.41V18.17L11.88,16.29M22,8H20V11H18V8H16L19,4L22,8M22,16L19,20L16,16H18V13H20V16H22Z"},{PackIconKind.Blur,"M14,8.5A1.5,1.5 0 0,0 12.5,10A1.5,1.5 0 0,0 14,11.5A1.5,1.5 0 0,0 15.5,10A1.5,1.5 0 0,0 14,8.5M14,12.5A1.5,1.5 0 0,0 12.5,14A1.5,1.5 0 0,0 14,15.5A1.5,1.5 0 0,0 15.5,14A1.5,1.5 0 0,0 14,12.5M10,17A1,1 0 0,0 9,18A1,1 0 0,0 10,19A1,1 0 0,0 11,18A1,1 0 0,0 10,17M10,8.5A1.5,1.5 0 0,0 8.5,10A1.5,1.5 0 0,0 10,11.5A1.5,1.5 0 0,0 11.5,10A1.5,1.5 0 0,0 10,8.5M14,20.5A0.5,0.5 0 0,0 13.5,21A0.5,0.5 0 0,0 14,21.5A0.5,0.5 0 0,0 14.5,21A0.5,0.5 0 0,0 14,20.5M14,17A1,1 0 0,0 13,18A1,1 0 0,0 14,19A1,1 0 0,0 15,18A1,1 0 0,0 14,17M21,13.5A0.5,0.5 0 0,0 20.5,14A0.5,0.5 0 0,0 21,14.5A0.5,0.5 0 0,0 21.5,14A0.5,0.5 0 0,0 21,13.5M18,5A1,1 0 0,0 17,6A1,1 0 0,0 18,7A1,1 0 0,0 19,6A1,1 0 0,0 18,5M18,9A1,1 0 0,0 17,10A1,1 0 0,0 18,11A1,1 0 0,0 19,10A1,1 0 0,0 18,9M18,17A1,1 0 0,0 17,18A1,1 0 0,0 18,19A1,1 0 0,0 19,18A1,1 0 0,0 18,17M18,13A1,1 0 0,0 17,14A1,1 0 0,0 18,15A1,1 0 0,0 19,14A1,1 0 0,0 18,13M10,12.5A1.5,1.5 0 0,0 8.5,14A1.5,1.5 0 0,0 10,15.5A1.5,1.5 0 0,0 11.5,14A1.5,1.5 0 0,0 10,12.5M10,7A1,1 0 0,0 11,6A1,1 0 0,0 10,5A1,1 0 0,0 9,6A1,1 0 0,0 10,7M10,3.5A0.5,0.5 0 0,0 10.5,3A0.5,0.5 0 0,0 10,2.5A0.5,0.5 0 0,0 9.5,3A0.5,0.5 0 0,0 10,3.5M10,20.5A0.5,0.5 0 0,0 9.5,21A0.5,0.5 0 0,0 10,21.5A0.5,0.5 0 0,0 10.5,21A0.5,0.5 0 0,0 10,20.5M3,13.5A0.5,0.5 0 0,0 2.5,14A0.5,0.5 0 0,0 3,14.5A0.5,0.5 0 0,0 3.5,14A0.5,0.5 0 0,0 3,13.5M14,3.5A0.5,0.5 0 0,0 14.5,3A0.5,0.5 0 0,0 14,2.5A0.5,0.5 0 0,0 13.5,3A0.5,0.5 0 0,0 14,3.5M14,7A1,1 0 0,0 15,6A1,1 0 0,0 14,5A1,1 0 0,0 13,6A1,1 0 0,0 14,7M21,10.5A0.5,0.5 0 0,0 21.5,10A0.5,0.5 0 0,0 21,9.5A0.5,0.5 0 0,0 20.5,10A0.5,0.5 0 0,0 21,10.5M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5M3,9.5A0.5,0.5 0 0,0 2.5,10A0.5,0.5 0 0,0 3,10.5A0.5,0.5 0 0,0 3.5,10A0.5,0.5 0 0,0 3,9.5M6,9A1,1 0 0,0 5,10A1,1 0 0,0 6,11A1,1 0 0,0 7,10A1,1 0 0,0 6,9M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17M6,13A1,1 0 0,0 5,14A1,1 0 0,0 6,15A1,1 0 0,0 7,14A1,1 0 0,0 6,13Z"},{PackIconKind.BlurLinear,"M13,17A1,1 0 0,0 14,16A1,1 0 0,0 13,15A1,1 0 0,0 12,16A1,1 0 0,0 13,17M13,13A1,1 0 0,0 14,12A1,1 0 0,0 13,11A1,1 0 0,0 12,12A1,1 0 0,0 13,13M13,9A1,1 0 0,0 14,8A1,1 0 0,0 13,7A1,1 0 0,0 12,8A1,1 0 0,0 13,9M17,12.5A0.5,0.5 0 0,0 17.5,12A0.5,0.5 0 0,0 17,11.5A0.5,0.5 0 0,0 16.5,12A0.5,0.5 0 0,0 17,12.5M17,8.5A0.5,0.5 0 0,0 17.5,8A0.5,0.5 0 0,0 17,7.5A0.5,0.5 0 0,0 16.5,8A0.5,0.5 0 0,0 17,8.5M3,3V5H21V3M17,16.5A0.5,0.5 0 0,0 17.5,16A0.5,0.5 0 0,0 17,15.5A0.5,0.5 0 0,0 16.5,16A0.5,0.5 0 0,0 17,16.5M9,17A1,1 0 0,0 10,16A1,1 0 0,0 9,15A1,1 0 0,0 8,16A1,1 0 0,0 9,17M5,13.5A1.5,1.5 0 0,0 6.5,12A1.5,1.5 0 0,0 5,10.5A1.5,1.5 0 0,0 3.5,12A1.5,1.5 0 0,0 5,13.5M5,9.5A1.5,1.5 0 0,0 6.5,8A1.5,1.5 0 0,0 5,6.5A1.5,1.5 0 0,0 3.5,8A1.5,1.5 0 0,0 5,9.5M3,21H21V19H3M9,9A1,1 0 0,0 10,8A1,1 0 0,0 9,7A1,1 0 0,0 8,8A1,1 0 0,0 9,9M9,13A1,1 0 0,0 10,12A1,1 0 0,0 9,11A1,1 0 0,0 8,12A1,1 0 0,0 9,13M5,17.5A1.5,1.5 0 0,0 6.5,16A1.5,1.5 0 0,0 5,14.5A1.5,1.5 0 0,0 3.5,16A1.5,1.5 0 0,0 5,17.5Z"},{PackIconKind.BlurOff,"M3,13.5A0.5,0.5 0 0,0 2.5,14A0.5,0.5 0 0,0 3,14.5A0.5,0.5 0 0,0 3.5,14A0.5,0.5 0 0,0 3,13.5M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17M10,20.5A0.5,0.5 0 0,0 9.5,21A0.5,0.5 0 0,0 10,21.5A0.5,0.5 0 0,0 10.5,21A0.5,0.5 0 0,0 10,20.5M3,9.5A0.5,0.5 0 0,0 2.5,10A0.5,0.5 0 0,0 3,10.5A0.5,0.5 0 0,0 3.5,10A0.5,0.5 0 0,0 3,9.5M6,13A1,1 0 0,0 5,14A1,1 0 0,0 6,15A1,1 0 0,0 7,14A1,1 0 0,0 6,13M21,13.5A0.5,0.5 0 0,0 20.5,14A0.5,0.5 0 0,0 21,14.5A0.5,0.5 0 0,0 21.5,14A0.5,0.5 0 0,0 21,13.5M10,17A1,1 0 0,0 9,18A1,1 0 0,0 10,19A1,1 0 0,0 11,18A1,1 0 0,0 10,17M2.5,5.27L6.28,9.05L6,9A1,1 0 0,0 5,10A1,1 0 0,0 6,11A1,1 0 0,0 7,10C7,9.9 6.97,9.81 6.94,9.72L9.75,12.53C9.04,12.64 8.5,13.26 8.5,14A1.5,1.5 0 0,0 10,15.5C10.74,15.5 11.36,14.96 11.47,14.25L14.28,17.06C14.19,17.03 14.1,17 14,17A1,1 0 0,0 13,18A1,1 0 0,0 14,19A1,1 0 0,0 15,18C15,17.9 14.97,17.81 14.94,17.72L18.72,21.5L20,20.23L3.77,4L2.5,5.27M14,20.5A0.5,0.5 0 0,0 13.5,21A0.5,0.5 0 0,0 14,21.5A0.5,0.5 0 0,0 14.5,21A0.5,0.5 0 0,0 14,20.5M18,7A1,1 0 0,0 19,6A1,1 0 0,0 18,5A1,1 0 0,0 17,6A1,1 0 0,0 18,7M18,11A1,1 0 0,0 19,10A1,1 0 0,0 18,9A1,1 0 0,0 17,10A1,1 0 0,0 18,11M18,15A1,1 0 0,0 19,14A1,1 0 0,0 18,13A1,1 0 0,0 17,14A1,1 0 0,0 18,15M10,7A1,1 0 0,0 11,6A1,1 0 0,0 10,5A1,1 0 0,0 9,6A1,1 0 0,0 10,7M21,10.5A0.5,0.5 0 0,0 21.5,10A0.5,0.5 0 0,0 21,9.5A0.5,0.5 0 0,0 20.5,10A0.5,0.5 0 0,0 21,10.5M10,3.5A0.5,0.5 0 0,0 10.5,3A0.5,0.5 0 0,0 10,2.5A0.5,0.5 0 0,0 9.5,3A0.5,0.5 0 0,0 10,3.5M14,3.5A0.5,0.5 0 0,0 14.5,3A0.5,0.5 0 0,0 14,2.5A0.5,0.5 0 0,0 13.5,3A0.5,0.5 0 0,0 14,3.5M13.8,11.5H14A1.5,1.5 0 0,0 15.5,10A1.5,1.5 0 0,0 14,8.5A1.5,1.5 0 0,0 12.5,10V10.2C12.61,10.87 13.13,11.39 13.8,11.5M14,7A1,1 0 0,0 15,6A1,1 0 0,0 14,5A1,1 0 0,0 13,6A1,1 0 0,0 14,7Z"},{PackIconKind.BlurRadial,"M14,13A1,1 0 0,0 13,14A1,1 0 0,0 14,15A1,1 0 0,0 15,14A1,1 0 0,0 14,13M14,16.5A0.5,0.5 0 0,0 13.5,17A0.5,0.5 0 0,0 14,17.5A0.5,0.5 0 0,0 14.5,17A0.5,0.5 0 0,0 14,16.5M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M17,9.5A0.5,0.5 0 0,0 16.5,10A0.5,0.5 0 0,0 17,10.5A0.5,0.5 0 0,0 17.5,10A0.5,0.5 0 0,0 17,9.5M17,13.5A0.5,0.5 0 0,0 16.5,14A0.5,0.5 0 0,0 17,14.5A0.5,0.5 0 0,0 17.5,14A0.5,0.5 0 0,0 17,13.5M14,7.5A0.5,0.5 0 0,0 14.5,7A0.5,0.5 0 0,0 14,6.5A0.5,0.5 0 0,0 13.5,7A0.5,0.5 0 0,0 14,7.5M14,9A1,1 0 0,0 13,10A1,1 0 0,0 14,11A1,1 0 0,0 15,10A1,1 0 0,0 14,9M10,7.5A0.5,0.5 0 0,0 10.5,7A0.5,0.5 0 0,0 10,6.5A0.5,0.5 0 0,0 9.5,7A0.5,0.5 0 0,0 10,7.5M7,13.5A0.5,0.5 0 0,0 6.5,14A0.5,0.5 0 0,0 7,14.5A0.5,0.5 0 0,0 7.5,14A0.5,0.5 0 0,0 7,13.5M10,16.5A0.5,0.5 0 0,0 9.5,17A0.5,0.5 0 0,0 10,17.5A0.5,0.5 0 0,0 10.5,17A0.5,0.5 0 0,0 10,16.5M7,9.5A0.5,0.5 0 0,0 6.5,10A0.5,0.5 0 0,0 7,10.5A0.5,0.5 0 0,0 7.5,10A0.5,0.5 0 0,0 7,9.5M10,13A1,1 0 0,0 9,14A1,1 0 0,0 10,15A1,1 0 0,0 11,14A1,1 0 0,0 10,13M10,9A1,1 0 0,0 9,10A1,1 0 0,0 10,11A1,1 0 0,0 11,10A1,1 0 0,0 10,9Z"},{PackIconKind.Bomb,"M11.25,6A3.25,3.25 0 0,1 14.5,2.75A3.25,3.25 0 0,1 17.75,6C17.75,6.42 18.08,6.75 18.5,6.75C18.92,6.75 19.25,6.42 19.25,6V5.25H20.75V6A2.25,2.25 0 0,1 18.5,8.25A2.25,2.25 0 0,1 16.25,6A1.75,1.75 0 0,0 14.5,4.25A1.75,1.75 0 0,0 12.75,6H14V7.29C16.89,8.15 19,10.83 19,14A7,7 0 0,1 12,21A7,7 0 0,1 5,14C5,10.83 7.11,8.15 10,7.29V6H11.25M22,6H24V7H22V6M19,4V2H20V4H19M20.91,4.38L22.33,2.96L23.04,3.67L21.62,5.09L20.91,4.38Z"},{PackIconKind.BombOff,"M14.5,2.75C12.7,2.75 11.25,4.2 11.25,6H10V7.29C9.31,7.5 8.67,7.81 8.08,8.2L17.79,17.91C18.58,16.76 19,15.39 19,14C19,10.83 16.89,8.15 14,7.29V6H12.75A1.75,1.75 0 0,1 14.5,4.25A1.75,1.75 0 0,1 16.25,6A2.25,2.25 0 0,0 18.5,8.25C19.74,8.25 20.74,7.24 20.74,6V5.25H19.25V6C19.25,6.42 18.91,6.75 18.5,6.75C18.08,6.75 17.75,6.42 17.75,6C17.75,4.2 16.29,2.75 14.5,2.75M3.41,6.36L2,7.77L5.55,11.32C5.2,12.14 5,13.04 5,14C5,17.86 8.13,21 12,21C12.92,21 13.83,20.81 14.68,20.45L18.23,24L19.64,22.59L3.41,6.36Z"},{PackIconKind.Bone,"M8,14A3,3 0 0,1 5,17A3,3 0 0,1 2,14C2,13.23 2.29,12.53 2.76,12C2.29,11.47 2,10.77 2,10A3,3 0 0,1 5,7A3,3 0 0,1 8,10C9.33,10.08 10.67,10.17 12,10.17C13.33,10.17 14.67,10.08 16,10A3,3 0 0,1 19,7A3,3 0 0,1 22,10C22,10.77 21.71,11.47 21.24,12C21.71,12.53 22,13.23 22,14A3,3 0 0,1 19,17A3,3 0 0,1 16,14C14.67,13.92 13.33,13.83 12,13.83C10.67,13.83 9.33,13.92 8,14Z"},{PackIconKind.Book,"M18,22A2,2 0 0,0 20,20V4C20,2.89 19.1,2 18,2H12V9L9.5,7.5L7,9V2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18Z"},{PackIconKind.BookMinus,"M18,22H6A2,2 0 0,1 4,20V4C4,2.89 4.9,2 6,2H7V9L9.5,7.5L12,9V2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22M18,18V16H12V18H18Z"},{PackIconKind.BookMultiple,"M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H10V7L12,5.5L14,7V2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z"},{PackIconKind.BookMultipleVariant,"M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M10,9L12,7.5L14,9V4H10V9M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z"},{PackIconKind.BookOpen,"M13,12H20V13.5H13M13,9.5H20V11H13M13,14.5H20V16H13M21,4H3A2,2 0 0,0 1,6V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19V6A2,2 0 0,0 21,4M21,19H12V6H21"},{PackIconKind.BookOpenPageVariant,"M19,2L14,6.5V17.5L19,13V2M6.5,5C4.55,5 2.45,5.4 1,6.5V21.16C1,21.41 1.25,21.66 1.5,21.66C1.6,21.66 1.65,21.59 1.75,21.59C3.1,20.94 5.05,20.5 6.5,20.5C8.45,20.5 10.55,20.9 12,22C13.35,21.15 15.8,20.5 17.5,20.5C19.15,20.5 20.85,20.81 22.25,21.56C22.35,21.61 22.4,21.59 22.5,21.59C22.75,21.59 23,21.34 23,21.09V6.5C22.4,6.05 21.75,5.75 21,5.5V7.5L21,13V19C19.9,18.65 18.7,18.5 17.5,18.5C15.8,18.5 13.35,19.15 12,20V13L12,8.5V6.5C10.55,5.4 8.45,5 6.5,5V5Z"},{PackIconKind.BookOpenVariant,"M21,5C19.89,4.65 18.67,4.5 17.5,4.5C15.55,4.5 13.45,4.9 12,6C10.55,4.9 8.45,4.5 6.5,4.5C4.55,4.5 2.45,4.9 1,6V20.65C1,20.9 1.25,21.15 1.5,21.15C1.6,21.15 1.65,21.1 1.75,21.1C3.1,20.45 5.05,20 6.5,20C8.45,20 10.55,20.4 12,21.5C13.35,20.65 15.8,20 17.5,20C19.15,20 20.85,20.3 22.25,21.05C22.35,21.1 22.4,21.1 22.5,21.1C22.75,21.1 23,20.85 23,20.6V6C22.4,5.55 21.75,5.25 21,5M21,18.5C19.9,18.15 18.7,18 17.5,18C15.8,18 13.35,18.65 12,19.5V8C13.35,7.15 15.8,6.5 17.5,6.5C18.7,6.5 19.9,6.65 21,7V18.5Z"},{PackIconKind.BookPlus,"M18,22H6A2,2 0 0,1 4,20V4C4,2.89 4.9,2 6,2H7V9L9.5,7.5L12,9V2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22M14,20H16V18H18V16H16V14H14V16H12V18H14V20Z"},{PackIconKind.BookSecure,"M18,2H12V9L9.5,7.5L7,9V2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M18,20H10V16H11V15A3,3 0 0,1 14,12A3,3 0 0,1 17,15V16H18V20M15,15V16H13V15A1,1 0 0,1 14,14A1,1 0 0,1 15,15Z"},{PackIconKind.BookUnsecure,"M18,2H12V9L9.5,7.5L7,9V2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M18,20H10V16H11V14A3,3 0 0,1 14,11A3,3 0 0,1 17,14H15A1,1 0 0,0 14,13A1,1 0 0,0 13,14V16H18V20Z"},{PackIconKind.BookVariant,"M6,4H11V12L8.5,10.5L6,12M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2Z"},{PackIconKind.Bookmark,"M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"},{PackIconKind.BookmarkCheck,"M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,14L17.25,7.76L15.84,6.34L11,11.18L8.41,8.59L7,10L11,14Z"},{PackIconKind.BookmarkMusic,"M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,11A2,2 0 0,0 9,13A2,2 0 0,0 11,15A2,2 0 0,0 13,13V8H16V6H12V11.27C11.71,11.1 11.36,11 11,11Z"},{PackIconKind.BookmarkOutline,"M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"},{PackIconKind.BookmarkPlus,"M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7V9H9V11H11V13H13V11H15V9H13V7H11Z"},{PackIconKind.BookmarkPlusOutline,"M17,18V5H7V18L12,15.82L17,18M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7H13V9H15V11H13V13H11V11H9V9H11V7Z"},{PackIconKind.BookmarkRemove,"M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M8.17,8.58L10.59,11L8.17,13.41L9.59,14.83L12,12.41L14.41,14.83L15.83,13.41L13.41,11L15.83,8.58L14.41,7.17L12,9.58L9.59,7.17L8.17,8.58Z"},{PackIconKind.Boombox,"M7,5L5,7V8H3A1,1 0 0,0 2,9V17A1,1 0 0,0 3,18H21A1,1 0 0,0 22,17V9A1,1 0 0,0 21,8H19V7L17,5H7M7,7H17V8H7V7M11,9H13A0.5,0.5 0 0,1 13.5,9.5A0.5,0.5 0 0,1 13,10H11A0.5,0.5 0 0,1 10.5,9.5A0.5,0.5 0 0,1 11,9M7.5,10.5A3,3 0 0,1 10.5,13.5A3,3 0 0,1 7.5,16.5A3,3 0 0,1 4.5,13.5A3,3 0 0,1 7.5,10.5M16.5,10.5A3,3 0 0,1 19.5,13.5A3,3 0 0,1 16.5,16.5A3,3 0 0,1 13.5,13.5A3,3 0 0,1 16.5,10.5M7.5,12A1.5,1.5 0 0,0 6,13.5A1.5,1.5 0 0,0 7.5,15A1.5,1.5 0 0,0 9,13.5A1.5,1.5 0 0,0 7.5,12M16.5,12A1.5,1.5 0 0,0 15,13.5A1.5,1.5 0 0,0 16.5,15A1.5,1.5 0 0,0 18,13.5A1.5,1.5 0 0,0 16.5,12Z"},{PackIconKind.Bootstrap,"M3,5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5M7.5,6V18H12.5C14.75,18 16.5,16.75 16.5,14.5C16.5,12.5 14.77,11.5 13.25,11.5A2.75,2.75 0 0,0 16,8.75C16,7.23 14.27,6 12.75,6H7.5M10,11V8H11.5A1.5,1.5 0 0,1 13,9.5A1.5,1.5 0 0,1 11.5,11H10M10,13H12A1.5,1.5 0 0,1 13.5,14.5A1.5,1.5 0 0,1 12,16H10V13Z"},{PackIconKind.BorderAll,"M19,11H13V5H19M19,19H13V13H19M11,11H5V5H11M11,19H5V13H11M3,21H21V3H3V21Z"},{PackIconKind.BorderBottom,"M5,15H3V17H5M3,21H21V19H3M5,11H3V13H5M19,9H21V7H19M19,5H21V3H19M5,7H3V9H5M19,17H21V15H19M19,13H21V11H19M17,3H15V5H17M13,3H11V5H13M17,11H15V13H17M13,7H11V9H13M5,3H3V5H5M13,11H11V13H13M9,3H7V5H9M13,15H11V17H13M9,11H7V13H9V11Z"},{PackIconKind.BorderColor,"M20.71,4.04C21.1,3.65 21.1,3 20.71,2.63L18.37,0.29C18,-0.1 17.35,-0.1 16.96,0.29L15,2.25L18.75,6M17.75,7L14,3.25L4,13.25V17H7.75L17.75,7Z"},{PackIconKind.BorderHorizontal,"M19,21H21V19H19M15,21H17V19H15M11,17H13V15H11M19,9H21V7H19M19,5H21V3H19M3,13H21V11H3M11,21H13V19H11M19,17H21V15H19M13,3H11V5H13M13,7H11V9H13M17,3H15V5H17M9,3H7V5H9M5,3H3V5H5M7,21H9V19H7M3,17H5V15H3M5,7H3V9H5M3,21H5V19H3V21Z"},{PackIconKind.BorderInside,"M19,17H21V15H19M19,21H21V19H19M13,3H11V11H3V13H11V21H13V13H21V11H13M15,21H17V19H15M19,5H21V3H19M19,9H21V7H19M17,3H15V5H17M5,3H3V5H5M9,3H7V5H9M3,17H5V15H3M5,7H3V9H5M7,21H9V19H7M3,21H5V19H3V21Z"},{PackIconKind.BorderLeft,"M15,5H17V3H15M15,13H17V11H15M19,21H21V19H19M19,13H21V11H19M19,5H21V3H19M19,17H21V15H19M15,21H17V19H15M19,9H21V7H19M3,21H5V3H3M7,13H9V11H7M7,5H9V3H7M7,21H9V19H7M11,13H13V11H11M11,9H13V7H11M11,5H13V3H11M11,17H13V15H11M11,21H13V19H11V21Z"},{PackIconKind.BorderNone,"M15,5H17V3H15M15,13H17V11H15M15,21H17V19H15M11,5H13V3H11M19,5H21V3H19M11,9H13V7H11M19,9H21V7H19M19,21H21V19H19M19,13H21V11H19M19,17H21V15H19M11,13H13V11H11M3,5H5V3H3M3,9H5V7H3M3,13H5V11H3M3,17H5V15H3M3,21H5V19H3M11,21H13V19H11M11,17H13V15H11M7,21H9V19H7M7,13H9V11H7M7,5H9V3H7V5Z"},{PackIconKind.BorderOutside,"M9,11H7V13H9M13,15H11V17H13M19,19H5V5H19M3,21H21V3H3M17,11H15V13H17M13,11H11V13H13M13,7H11V9H13V7Z"},{PackIconKind.BorderRight,"M11,9H13V7H11M11,5H13V3H11M11,13H13V11H11M15,5H17V3H15M15,21H17V19H15M19,21H21V3H19M15,13H17V11H15M11,17H13V15H11M3,9H5V7H3M3,17H5V15H3M3,13H5V11H3M11,21H13V19H11M3,21H5V19H3M7,13H9V11H7M7,5H9V3H7M3,5H5V3H3M7,21H9V19H7V21Z"},{PackIconKind.BorderStyle,"M15,21H17V19H15M19,21H21V19H19M7,21H9V19H7M11,21H13V19H11M19,17H21V15H19M19,13H21V11H19M3,3V21H5V5H21V3M19,9H21V7H19"},{PackIconKind.BorderTop,"M15,13H17V11H15M19,21H21V19H19M11,9H13V7H11M15,21H17V19H15M19,17H21V15H19M3,5H21V3H3M19,13H21V11H19M19,9H21V7H19M11,17H13V15H11M3,9H5V7H3M3,13H5V11H3M3,21H5V19H3M3,17H5V15H3M11,21H13V19H11M11,13H13V11H11M7,13H9V11H7M7,21H9V19H7V21Z"},{PackIconKind.BorderVertical,"M15,13H17V11H15M15,21H17V19H15M15,5H17V3H15M19,9H21V7H19M19,5H21V3H19M19,13H21V11H19M19,21H21V19H19M11,21H13V3H11M19,17H21V15H19M7,5H9V3H7M3,17H5V15H3M3,21H5V19H3M3,13H5V11H3M7,13H9V11H7M7,21H9V19H7M3,5H5V3H3M3,9H5V7H3V9Z"},{PackIconKind.BowTie,"M15,14L21,17V7L15,10V14M9,14L3,17V7L9,10V14M10,10H14V14H10V10Z"},{PackIconKind.Bowl,"M22,15A7,7 0 0,1 15,22H9A7,7 0 0,1 2,15V12H15.58L20.3,4.44L22,5.5L17.94,12H22V15Z"},{PackIconKind.Bowling,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12.5,11A1.5,1.5 0 0,0 11,12.5A1.5,1.5 0 0,0 12.5,14A1.5,1.5 0 0,0 14,12.5A1.5,1.5 0 0,0 12.5,11M12,5A2,2 0 0,0 10,7A2,2 0 0,0 12,9A2,2 0 0,0 14,7A2,2 0 0,0 12,5M5.93,8.5C5.38,9.45 5.71,10.67 6.66,11.22C7.62,11.78 8.84,11.45 9.4,10.5C9.95,9.53 9.62,8.31 8.66,7.76C7.71,7.21 6.5,7.53 5.93,8.5Z"},{PackIconKind.Box,"M15.39,14.04V14.04C15.39,12.62 14.24,11.47 12.82,11.47C11.41,11.47 10.26,12.62 10.26,14.04V14.04C10.26,15.45 11.41,16.6 12.82,16.6C14.24,16.6 15.39,15.45 15.39,14.04M17.1,14.04C17.1,16.4 15.18,18.31 12.82,18.31C11.19,18.31 9.77,17.39 9.05,16.04C8.33,17.39 6.91,18.31 5.28,18.31C2.94,18.31 1.04,16.43 1,14.11V14.11H1V7H1V7C1,6.56 1.39,6.18 1.86,6.18C2.33,6.18 2.7,6.56 2.71,7V7H2.71V10.62C3.43,10.08 4.32,9.76 5.28,9.76C6.91,9.76 8.33,10.68 9.05,12.03C9.77,10.68 11.19,9.76 12.82,9.76C15.18,9.76 17.1,11.68 17.1,14.04V14.04M7.84,14.04V14.04C7.84,12.62 6.69,11.47 5.28,11.47C3.86,11.47 2.71,12.62 2.71,14.04V14.04C2.71,15.45 3.86,16.6 5.28,16.6C6.69,16.6 7.84,15.45 7.84,14.04M22.84,16.96V16.96C22.95,17.12 23,17.3 23,17.47C23,17.73 22.88,18 22.66,18.15C22.5,18.26 22.33,18.32 22.15,18.32C21.9,18.32 21.65,18.21 21.5,18L19.59,15.47L17.7,18V18C17.53,18.21 17.28,18.32 17.03,18.32C16.85,18.32 16.67,18.26 16.5,18.15C16.29,18 16.17,17.72 16.17,17.46C16.17,17.29 16.23,17.11 16.33,16.96V16.96H16.33V16.96L18.5,14.04L16.33,11.11V11.11H16.33V11.11C16.22,10.96 16.17,10.79 16.17,10.61C16.17,10.35 16.29,10.1 16.5,9.93C16.89,9.65 17.41,9.72 17.7,10.09V10.09L19.59,12.61L21.5,10.09C21.76,9.72 22.29,9.65 22.66,9.93C22.89,10.1 23,10.36 23,10.63C23,10.8 22.95,10.97 22.84,11.11V11.11H22.84V11.11L20.66,14.04L22.84,16.96V16.96H22.84Z"},{PackIconKind.BoxCutter,"M7.22,11.91C6.89,12.24 6.71,12.65 6.66,13.08L12.17,15.44L20.66,6.96C21.44,6.17 21.44,4.91 20.66,4.13L19.24,2.71C18.46,1.93 17.2,1.93 16.41,2.71L7.22,11.91M5,16V21.75L10.81,16.53L5.81,14.53L5,16M17.12,4.83C17.5,4.44 18.15,4.44 18.54,4.83C18.93,5.23 18.93,5.86 18.54,6.25C18.15,6.64 17.5,6.64 17.12,6.25C16.73,5.86 16.73,5.23 17.12,4.83Z"},{PackIconKind.BoxShadow,"M3,3H18V18H3V3M19,19H21V21H19V19M19,16H21V18H19V16M19,13H21V15H19V13M19,10H21V12H19V10M19,7H21V9H19V7M16,19H18V21H16V19M13,19H15V21H13V19M10,19H12V21H10V19M7,19H9V21H7V19Z"},{PackIconKind.Bridge,"M7,14V10.91C6.28,10.58 5.61,10.18 5,9.71V14H7M5,18H3V16H1V14H3V7H5V8.43C6.8,10 9.27,11 12,11C14.73,11 17.2,10 19,8.43V7H21V14H23V16H21V18H19V16H5V18M17,10.91V14H19V9.71C18.39,10.18 17.72,10.58 17,10.91M16,14V11.32C15.36,11.55 14.69,11.72 14,11.84V14H16M13,14V11.96L12,12L11,11.96V14H13M10,14V11.84C9.31,11.72 8.64,11.55 8,11.32V14H10Z"},{PackIconKind.Briefcase,"M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4C2.89,21 2,20.1 2,19V8C2,6.89 2.89,6 4,6H8V4C8,2.89 8.89,2 10,2M14,6V4H10V6H14Z"},{PackIconKind.BriefcaseCheck,"M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V8A2,2 0 0,1 4,6H8V4A2,2 0 0,1 10,2M14,6V4H10V6H14M10.5,17.5L17.09,10.91L15.68,9.5L10.5,14.67L8.41,12.59L7,14L10.5,17.5Z"},{PackIconKind.BriefcaseDownload,"M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4C2.89,21 2,20.1 2,19V8C2,6.89 2.89,6 4,6H8V4C8,2.89 8.89,2 10,2M14,6V4H10V6H14M12,19L17,14H14V10H10V14H7L12,19Z"},{PackIconKind.BriefcaseOutline,"M20,6C20.58,6 21.05,6.2 21.42,6.59C21.8,7 22,7.45 22,8V19C22,19.55 21.8,20 21.42,20.41C21.05,20.8 20.58,21 20,21H4C3.42,21 2.95,20.8 2.58,20.41C2.2,20 2,19.55 2,19V8C2,7.45 2.2,7 2.58,6.59C2.95,6.2 3.42,6 4,6H8V4C8,3.42 8.2,2.95 8.58,2.58C8.95,2.2 9.42,2 10,2H14C14.58,2 15.05,2.2 15.42,2.58C15.8,2.95 16,3.42 16,4V6H20M4,8V19H20V8H4M14,6V4H10V6H14Z"},{PackIconKind.BriefcaseUpload,"M10,2H14A2,2 0 0,1 16,4V6H20A2,2 0 0,1 22,8V19A2,2 0 0,1 20,21H4C2.89,21 2,20.1 2,19V8C2,6.89 2.89,6 4,6H8V4C8,2.89 8.89,2 10,2M14,6V4H10V6H14M12,9L7,14H10V18H14V14H17L12,9Z"},{PackIconKind.Brightness1,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2Z"},{PackIconKind.Brightness2,"M10,2C8.18,2 6.47,2.5 5,3.35C8,5.08 10,8.3 10,12C10,15.7 8,18.92 5,20.65C6.47,21.5 8.18,22 10,22A10,10 0 0,0 20,12A10,10 0 0,0 10,2Z"},{PackIconKind.Brightness3,"M9,2C7.95,2 6.95,2.16 6,2.46C10.06,3.73 13,7.5 13,12C13,16.5 10.06,20.27 6,21.54C6.95,21.84 7.95,22 9,22A10,10 0 0,0 19,12A10,10 0 0,0 9,2Z"},{PackIconKind.Brightness4,"M12,18C11.11,18 10.26,17.8 9.5,17.45C11.56,16.5 13,14.42 13,12C13,9.58 11.56,7.5 9.5,6.55C10.26,6.2 11.11,6 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69Z"},{PackIconKind.Brightness5,"M12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,15.31L23.31,12L20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31Z"},{PackIconKind.Brightness6,"M12,18V6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,15.31L23.31,12L20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31Z"},{PackIconKind.Brightness7,"M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8M12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69Z"},{PackIconKind.BrightnessAuto,"M14.3,16L13.6,14H10.4L9.7,16H7.8L11,7H13L16.2,16H14.3M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69M10.85,12.65H13.15L12,9L10.85,12.65Z"},{PackIconKind.Broom,"M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z"},{PackIconKind.Brush,"M20.71,4.63L19.37,3.29C19,2.9 18.35,2.9 17.96,3.29L9,12.25L11.75,15L20.71,6.04C21.1,5.65 21.1,5 20.71,4.63M7,14A3,3 0 0,0 4,17C4,18.31 2.84,19 2,19C2.92,20.22 4.5,21 6,21A4,4 0 0,0 10,17A3,3 0 0,0 7,14Z"},{PackIconKind.Buffer,"M12.6,2.86C15.27,4.1 18,5.39 20.66,6.63C20.81,6.7 21,6.75 21,6.95C21,7.15 20.81,7.19 20.66,7.26C18,8.5 15.3,9.77 12.62,11C12.21,11.21 11.79,11.21 11.38,11C8.69,9.76 6,8.5 3.32,7.25C3.18,7.19 3,7.14 3,6.94C3,6.76 3.18,6.71 3.31,6.65C6,5.39 8.74,4.1 11.44,2.85C11.73,2.72 12.3,2.73 12.6,2.86M12,21.15C11.8,21.15 11.66,21.07 11.38,20.97C8.69,19.73 6,18.47 3.33,17.22C3.19,17.15 3,17.11 3,16.9C3,16.7 3.19,16.66 3.34,16.59C3.78,16.38 4.23,16.17 4.67,15.96C5.12,15.76 5.56,15.76 6,15.97C7.79,16.8 9.57,17.63 11.35,18.46C11.79,18.67 12.23,18.66 12.67,18.46C14.45,17.62 16.23,16.79 18,15.96C18.44,15.76 18.87,15.75 19.29,15.95C19.77,16.16 20.24,16.39 20.71,16.61C20.78,16.64 20.85,16.68 20.91,16.73C21.04,16.83 21.04,17 20.91,17.08C20.83,17.14 20.74,17.19 20.65,17.23C18,18.5 15.33,19.72 12.66,20.95C12.46,21.05 12.19,21.15 12,21.15M12,16.17C11.9,16.17 11.55,16.07 11.36,16C8.68,14.74 6,13.5 3.34,12.24C3.2,12.18 3,12.13 3,11.93C3,11.72 3.2,11.68 3.35,11.61C3.8,11.39 4.25,11.18 4.7,10.97C5.13,10.78 5.56,10.78 6,11C7.78,11.82 9.58,12.66 11.38,13.5C11.79,13.69 12.21,13.69 12.63,13.5C14.43,12.65 16.23,11.81 18.04,10.97C18.45,10.78 18.87,10.78 19.29,10.97C19.76,11.19 20.24,11.41 20.71,11.63C20.77,11.66 20.84,11.69 20.9,11.74C21.04,11.85 21.04,12 20.89,12.12C20.84,12.16 20.77,12.19 20.71,12.22C18,13.5 15.31,14.75 12.61,16C12.42,16.09 12.08,16.17 12,16.17Z"},{PackIconKind.Bug,"M14,12H10V10H14M14,16H10V14H14M20,8H17.19C16.74,7.22 16.12,6.55 15.37,6.04L17,4.41L15.59,3L13.42,5.17C12.96,5.06 12.5,5 12,5C11.5,5 11.04,5.06 10.59,5.17L8.41,3L7,4.41L8.62,6.04C7.88,6.55 7.26,7.22 6.81,8H4V10H6.09C6.04,10.33 6,10.66 6,11V12H4V14H6V15C6,15.34 6.04,15.67 6.09,16H4V18H6.81C7.85,19.79 9.78,21 12,21C14.22,21 16.15,19.79 17.19,18H20V16H17.91C17.96,15.67 18,15.34 18,15V14H20V12H18V11C18,10.66 17.96,10.33 17.91,10H20V8Z"},{PackIconKind.BulletinBoard,"M12.04,2.5L9.53,5H14.53L12.04,2.5M4,7V20H20V7H4M12,0L17,5V5H20A2,2 0 0,1 22,7V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V7A2,2 0 0,1 4,5H7V5L12,0M7,18V14H12V18H7M14,17V10H18V17H14M6,12V9H11V12H6Z"},{PackIconKind.Bullhorn,"M16,12V16A1,1 0 0,1 15,17C14.83,17 14.67,17 14.06,16.5C13.44,16 12.39,15 11.31,14.5C10.31,14.04 9.28,14 8.26,14L9.47,17.32L9.5,17.5A0.5,0.5 0 0,1 9,18H7C6.78,18 6.59,17.86 6.53,17.66L5.19,14H5A1,1 0 0,1 4,13A2,2 0 0,1 2,11A2,2 0 0,1 4,9A1,1 0 0,1 5,8H8C9.11,8 10.22,8 11.31,7.5C12.39,7 13.44,6 14.06,5.5C14.67,5 14.83,5 15,5A1,1 0 0,1 16,6V10A1,1 0 0,1 17,11A1,1 0 0,1 16,12M21,11C21,12.38 20.44,13.63 19.54,14.54L18.12,13.12C18.66,12.58 19,11.83 19,11C19,10.17 18.66,9.42 18.12,8.88L19.54,7.46C20.44,8.37 21,9.62 21,11Z"},{PackIconKind.Bullseye,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12,6A6,6 0 0,0 6,12A6,6 0 0,0 12,18A6,6 0 0,0 18,12A6,6 0 0,0 12,6M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z"},{PackIconKind.Bus,"M18,11H6V6H18M16.5,17A1.5,1.5 0 0,1 15,15.5A1.5,1.5 0 0,1 16.5,14A1.5,1.5 0 0,1 18,15.5A1.5,1.5 0 0,1 16.5,17M7.5,17A1.5,1.5 0 0,1 6,15.5A1.5,1.5 0 0,1 7.5,14A1.5,1.5 0 0,1 9,15.5A1.5,1.5 0 0,1 7.5,17M4,16C4,16.88 4.39,17.67 5,18.22V20A1,1 0 0,0 6,21H7A1,1 0 0,0 8,20V19H16V20A1,1 0 0,0 17,21H18A1,1 0 0,0 19,20V18.22C19.61,17.67 20,16.88 20,16V6C20,2.5 16.42,2 12,2C7.58,2 4,2.5 4,6V16Z"},{PackIconKind.BusArticulatedEnd,"M21.5,6L20,7.5L21.5,9L20,10.5L21.5,12L20,13.5L21.5,15H12.5A3,3 0 0,1 9.5,18A3,3 0 0,1 6.5,15H2.5V8C2.5,6.89 3.39,6 4.5,6H21.5M18.5,7.5H15V10H18.5V7.5M13.5,7.5H9.5V10H13.5V7.5M8,7.5H4V10H8V7.5M9.5,13.5A1.5,1.5 0 0,0 8,15A1.5,1.5 0 0,0 9.5,16.5A1.5,1.5 0 0,0 11,15A1.5,1.5 0 0,0 9.5,13.5Z"},{PackIconKind.BusArticulatedFront,"M1,6L2.5,7.5L1,9L2.5,10.5L1,12L2.5,13.5L1,15H3A3,3 0 0,0 6,18A3,3 0 0,0 9,15H15A3,3 0 0,0 18,18A3,3 0 0,0 21,15H23V8C23,6.89 22.11,6 21,6H1M4,7.5H6.5V10H4V7.5M8,7.5H12V10H8V7.5M13.5,7.5H17.5V10H13.5V7.5M19,7.5H21.5V13L19,11V7.5M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.BusDoubleDecker,"M3,4C1.89,4 1,4.89 1,6V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V14C23,12.89 22.11,12 21,12H19V9.5H23V6C23,4.89 22.11,4 21,4H3M2.5,5.5H6.5V8H2.5V5.5M8,5.5H12V8H8V5.5M13.5,5.5H17.5V8H13.5V5.5M19,5.5H21.5V8H19V5.5M13.5,9.5H17.5V12H13.5V9.5M2.5,9.5H6.5V12H2.5V9.5M8,9.5H12V12H8V9.5M6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5M18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5Z"},{PackIconKind.BusSchool,"M3,6C1.89,6 1,6.89 1,8V15H3A3,3 0 0,0 6,18A3,3 0 0,0 9,15H15A3,3 0 0,0 18,18A3,3 0 0,0 21,15H23V12C23,10.89 22.11,10 21,10H19V8C19,6.89 18.11,6 17,6H3M13.5,7.5H17.5V10H13.5V7.5M2.5,7.5H6.5V10H2.5V7.5M8,7.5H12V10H8V7.5M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.BusSide,"M3,6C1.89,6 1,6.89 1,8V15H3A3,3 0 0,0 6,18A3,3 0 0,0 9,15H15A3,3 0 0,0 18,18A3,3 0 0,0 21,15H23V8C23,6.89 22.11,6 21,6H3M2.5,7.5H6.5V10H2.5V7.5M8,7.5H12V10H8V7.5M13.5,7.5H17.5V10H13.5V7.5M19,7.5H21.5V13L19,11V7.5M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.Cached,"M19,8L15,12H18A6,6 0 0,1 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20A8,8 0 0,0 20,12H23M6,12A6,6 0 0,1 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4A8,8 0 0,0 4,12H1L5,16L9,12"},{PackIconKind.Cake,"M11.5,0.5C12,0.75 13,2.4 13,3.5C13,4.6 12.33,5 11.5,5C10.67,5 10,4.85 10,3.75C10,2.65 11,2 11.5,0.5M18.5,9C21,9 23,11 23,13.5C23,15.06 22.21,16.43 21,17.24V23H12L3,23V17.24C1.79,16.43 1,15.06 1,13.5C1,11 3,9 5.5,9H10V6H13V9H18.5M12,16A2.5,2.5 0 0,0 14.5,13.5H16A2.5,2.5 0 0,0 18.5,16A2.5,2.5 0 0,0 21,13.5A2.5,2.5 0 0,0 18.5,11H5.5A2.5,2.5 0 0,0 3,13.5A2.5,2.5 0 0,0 5.5,16A2.5,2.5 0 0,0 8,13.5H9.5A2.5,2.5 0 0,0 12,16Z"},{PackIconKind.CakeLayered,"M21,21V17C21,15.89 20.1,15 19,15H18V12C18,10.89 17.1,10 16,10H13V8H11V10H8C6.89,10 6,10.89 6,12V15H5C3.89,15 3,15.89 3,17V21H1V23H23V21M12,7A2,2 0 0,0 14,5C14,4.62 13.9,4.27 13.71,3.97L12,1L10.28,3.97C10.1,4.27 10,4.62 10,5A2,2 0 0,0 12,7Z"},{PackIconKind.CakeVariant,"M12,6C13.11,6 14,5.1 14,4C14,3.62 13.9,3.27 13.71,2.97L12,0L10.29,2.97C10.1,3.27 10,3.62 10,4A2,2 0 0,0 12,6M16.6,16L15.53,14.92L14.45,16C13.15,17.29 10.87,17.3 9.56,16L8.5,14.92L7.4,16C6.75,16.64 5.88,17 4.96,17C4.23,17 3.56,16.77 3,16.39V21A1,1 0 0,0 4,22H20A1,1 0 0,0 21,21V16.39C20.44,16.77 19.77,17 19.04,17C18.12,17 17.25,16.64 16.6,16M18,9H13V7H11V9H6A3,3 0 0,0 3,12V13.54C3,14.62 3.88,15.5 4.96,15.5C5.5,15.5 6,15.3 6.34,14.93L8.5,12.8L10.61,14.93C11.35,15.67 12.64,15.67 13.38,14.93L15.5,12.8L17.65,14.93C18,15.3 18.5,15.5 19.03,15.5C20.11,15.5 21,14.62 21,13.54V12A3,3 0 0,0 18,9Z"},{PackIconKind.Calculator,"M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,10V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z"},{PackIconKind.Calendar,"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z"},{PackIconKind.CalendarBlank,"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1"},{PackIconKind.CalendarCheck,"M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M16.53,11.06L15.47,10L10.59,14.88L8.47,12.76L7.41,13.82L10.59,17L16.53,11.06Z"},{PackIconKind.CalendarClock,"M15,13H16.5V15.82L18.94,17.23L18.19,18.53L15,16.69V13M19,8H5V19H9.67C9.24,18.09 9,17.07 9,16A7,7 0 0,1 16,9C17.07,9 18.09,9.24 19,9.67V8M5,21C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1H18V3H19A2,2 0 0,1 21,5V11.1C22.24,12.36 23,14.09 23,16A7,7 0 0,1 16,23C14.09,23 12.36,22.24 11.1,21H5M16,11.15A4.85,4.85 0 0,0 11.15,16C11.15,18.68 13.32,20.85 16,20.85A4.85,4.85 0 0,0 20.85,16C20.85,13.32 18.68,11.15 16,11.15Z"},{PackIconKind.CalendarMultiple,"M21,17V8H7V17H21M21,3A2,2 0 0,1 23,5V17A2,2 0 0,1 21,19H7C5.89,19 5,18.1 5,17V5A2,2 0 0,1 7,3H8V1H10V3H18V1H20V3H21M3,21H17V23H3C1.89,23 1,22.1 1,21V9H3V21M19,15H15V11H19V15Z"},{PackIconKind.CalendarMultipleCheck,"M21,17V8H7V17H21M21,3A2,2 0 0,1 23,5V17A2,2 0 0,1 21,19H7C5.89,19 5,18.1 5,17V5A2,2 0 0,1 7,3H8V1H10V3H18V1H20V3H21M17.53,11.06L13.09,15.5L10.41,12.82L11.47,11.76L13.09,13.38L16.47,10L17.53,11.06M3,21H17V23H3C1.89,23 1,22.1 1,21V9H3V21Z"},{PackIconKind.CalendarPlus,"M19,19V7H5V19H19M16,1H18V3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1M11,9H13V12H16V14H13V17H11V14H8V12H11V9Z"},{PackIconKind.CalendarQuestion,"M6,1V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H18V1H16V3H8V1H6M5,8H19V19H5V8M12.19,9C11.32,9 10.62,9.2 10.08,9.59C9.56,10 9.3,10.57 9.31,11.36L9.32,11.39H11.25C11.26,11.09 11.35,10.86 11.53,10.7C11.71,10.55 11.93,10.47 12.19,10.47C12.5,10.47 12.76,10.57 12.94,10.75C13.12,10.94 13.2,11.2 13.2,11.5C13.2,11.82 13.13,12.09 12.97,12.32C12.83,12.55 12.62,12.75 12.36,12.91C11.85,13.25 11.5,13.55 11.31,13.82C11.11,14.08 11,14.5 11,15H13C13,14.69 13.04,14.44 13.13,14.26C13.22,14.08 13.39,13.9 13.64,13.74C14.09,13.5 14.46,13.21 14.75,12.81C15.04,12.41 15.19,12 15.19,11.5C15.19,10.74 14.92,10.13 14.38,9.68C13.85,9.23 13.12,9 12.19,9M11,16V18H13V16H11Z"},{PackIconKind.CalendarRange,"M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z"},{PackIconKind.CalendarRemove,"M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M9.31,17L11.75,14.56L14.19,17L15.25,15.94L12.81,13.5L15.25,11.06L14.19,10L11.75,12.44L9.31,10L8.25,11.06L10.69,13.5L8.25,15.94L9.31,17Z"},{PackIconKind.CalendarText,"M14,14H7V16H14M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M17,10H7V12H17V10Z"},{PackIconKind.CalendarToday,"M7,10H12V15H7M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.CallMade,"M9,5V7H15.59L4,18.59L5.41,20L17,8.41V15H19V5"},{PackIconKind.CallMerge,"M17,20.41L18.41,19L15,15.59L13.59,17M7.5,8H11V13.59L5.59,19L7,20.41L13,14.41V8H16.5L12,3.5"},{PackIconKind.CallMissed,"M19.59,7L12,14.59L6.41,9H11V7H3V15H5V10.41L12,17.41L21,8.41"},{PackIconKind.CallReceived,"M20,5.41L18.59,4L7,15.59V9H5V19H15V17H8.41"},{PackIconKind.CallSplit,"M14,4L16.29,6.29L13.41,9.17L14.83,10.59L17.71,7.71L20,10V4M10,4H4V10L6.29,7.71L11,12.41V20H13V11.59L7.71,6.29"},{PackIconKind.Camcorder,"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z"},{PackIconKind.CamcorderBox,"M18,16L14,12.8V16H6V8H14V11.2L18,8M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"},{PackIconKind.CamcorderBoxOff,"M6,8H6.73L14,15.27V16H6M2.27,1L1,2.27L3,4.28C2.41,4.62 2,5.26 2,6V18A2,2 0 0,0 4,20H18.73L20.73,22L22,20.73M20,4H7.82L11.82,8H14V10.18L14.57,10.75L18,8V14.18L22,18.17C22,18.11 22,18.06 22,18V6A2,2 0 0,0 20,4Z"},{PackIconKind.CamcorderOff,"M3.27,2L2,3.27L4.73,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16C16.2,18 16.39,17.92 16.54,17.82L19.73,21L21,19.73M21,6.5L17,10.5V7A1,1 0 0,0 16,6H9.82L21,17.18V6.5Z"},{PackIconKind.Camera,"M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z"},{PackIconKind.CameraBurst,"M1,5H3V19H1V5M5,5H7V19H5V5M22,5H10A1,1 0 0,0 9,6V18A1,1 0 0,0 10,19H22A1,1 0 0,0 23,18V6A1,1 0 0,0 22,5M11,17L13.5,13.85L15.29,16L17.79,12.78L21,17H11Z"},{PackIconKind.CameraEnhance,"M9,3L7.17,5H4A2,2 0 0,0 2,7V19A2,2 0 0,0 4,21H20A2,2 0 0,0 22,19V7A2,2 0 0,0 20,5H16.83L15,3M12,18A5,5 0 0,1 7,13A5,5 0 0,1 12,8A5,5 0 0,1 17,13A5,5 0 0,1 12,18M12,17L13.25,14.25L16,13L13.25,11.75L12,9L10.75,11.75L8,13L10.75,14.25"},{PackIconKind.CameraFront,"M7,2H17V12.5C17,10.83 13.67,10 12,10C10.33,10 7,10.83 7,12.5M17,0H7A2,2 0 0,0 5,2V16A2,2 0 0,0 7,18H17A2,2 0 0,0 19,16V2A2,2 0 0,0 17,0M12,8A2,2 0 0,0 14,6A2,2 0 0,0 12,4A2,2 0 0,0 10,6A2,2 0 0,0 12,8M14,20V22H19V20M10,20H5V22H10V24L13,21L10,18V20Z"},{PackIconKind.CameraFrontVariant,"M6,0H18A2,2 0 0,1 20,2V22A2,2 0 0,1 18,24H6A2,2 0 0,1 4,22V2A2,2 0 0,1 6,0M12,6A3,3 0 0,1 15,9A3,3 0 0,1 12,12A3,3 0 0,1 9,9A3,3 0 0,1 12,6M11,1V3H13V1H11M6,4V16.5C6,15.12 8.69,14 12,14C15.31,14 18,15.12 18,16.5V4H6M13,18H9V20H13V22L16,19L13,16V18Z"},{PackIconKind.CameraGopro,"M20,5H15A2,2 0 0,0 13,7V12A2,2 0 0,0 15,14H20A2,2 0 0,0 22,12V7A2,2 0 0,0 20,5M17.5,12.5A3,3 0 0,1 14.5,9.5A3,3 0 0,1 17.5,6.5A3,3 0 0,1 20.5,9.5A3,3 0 0,1 17.5,12.5M17.5,11A1.5,1.5 0 0,1 16,9.5A1.5,1.5 0 0,1 17.5,8A1.5,1.5 0 0,1 19,9.5A1.5,1.5 0 0,1 17.5,11M12,15V5H4A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V15H12M10,12H4V7H10V12Z"},{PackIconKind.CameraIris,"M13.73,15L9.83,21.76C10.53,21.91 11.25,22 12,22C14.4,22 16.6,21.15 18.32,19.75L14.66,13.4M2.46,15C3.38,17.92 5.61,20.26 8.45,21.34L12.12,15M8.54,12L4.64,5.25C3,7 2,9.39 2,12C2,12.68 2.07,13.35 2.2,14H9.69M21.8,10H14.31L14.6,10.5L19.36,18.75C21,16.97 22,14.6 22,12C22,11.31 21.93,10.64 21.8,10M21.54,9C20.62,6.07 18.39,3.74 15.55,2.66L11.88,9M9.4,10.5L14.17,2.24C13.47,2.09 12.75,2 12,2C9.6,2 7.4,2.84 5.68,4.25L9.34,10.6L9.4,10.5Z"},{PackIconKind.CameraMeteringCenter,"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,6V18H20V6H4M12,10.5A1.5,1.5 0 0,1 13.5,12A1.5,1.5 0 0,1 12,13.5A1.5,1.5 0 0,1 10.5,12A1.5,1.5 0 0,1 12,10.5M12,7.5C14.14,7.5 15.93,9 16.39,11H14.83C14.42,9.83 13.31,9 12,9C10.69,9 9.58,9.83 9.17,11H7.61C8.07,9 9.86,7.5 12,7.5M12,16.5C9.86,16.5 8.07,15 7.61,13H9.17C9.58,14.17 10.69,15 12,15C13.31,15 14.42,14.17 14.83,13H16.39C15.93,15 14.14,16.5 12,16.5Z"},{PackIconKind.CameraMeteringMatrix,"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,6V18H20V6H4M5.5,7.5H11V9.17C10.15,9.47 9.47,10.15 9.17,11H5.5V7.5M18.5,7.5V11H14.83C14.53,10.15 13.85,9.47 13,9.17V7.5H18.5M18.5,16.5H13V14.83C13.85,14.53 14.53,13.85 14.83,13H18.5V16.5M5.5,16.5V13H9.17C9.47,13.85 10.15,14.53 11,14.83V16.5H5.5M12,10.5A1.5,1.5 0 0,1 13.5,12A1.5,1.5 0 0,1 12,13.5A1.5,1.5 0 0,1 10.5,12A1.5,1.5 0 0,1 12,10.5Z"},{PackIconKind.CameraMeteringPartial,"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,6V18H20V6H4M12,7.5C14.14,7.5 15.93,9 16.39,11H14.83C14.42,9.83 13.31,9 12,9C10.69,9 9.58,9.83 9.17,11H7.61C8.07,9 9.86,7.5 12,7.5M12,16.5C9.86,16.5 8.07,15 7.61,13H9.17C9.58,14.17 10.69,15 12,15C13.31,15 14.42,14.17 14.83,13H16.39C15.93,15 14.14,16.5 12,16.5Z"},{PackIconKind.CameraMeteringSpot,"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,6V18H20V6H4M12,10.5A1.5,1.5 0 0,1 13.5,12A1.5,1.5 0 0,1 12,13.5A1.5,1.5 0 0,1 10.5,12A1.5,1.5 0 0,1 12,10.5Z"},{PackIconKind.CameraOff,"M1.2,4.47L2.5,3.2L20,20.72L18.73,22L16.73,20H4A2,2 0 0,1 2,18V6C2,5.78 2.04,5.57 2.1,5.37L1.2,4.47M7,4L9,2H15L17,4H20A2,2 0 0,1 22,6V18C22,18.6 21.74,19.13 21.32,19.5L16.33,14.5C16.76,13.77 17,12.91 17,12A5,5 0 0,0 12,7C11.09,7 10.23,7.24 9.5,7.67L5.82,4H7M7,12A5,5 0 0,0 12,17C12.5,17 13.03,16.92 13.5,16.77L11.72,15C10.29,14.85 9.15,13.71 9,12.28L7.23,10.5C7.08,10.97 7,11.5 7,12M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9Z"},{PackIconKind.CameraPartyMode,"M12,17C10.37,17 8.94,16.21 8,15H12A3,3 0 0,0 15,12C15,11.65 14.93,11.31 14.82,11H16.9C16.96,11.32 17,11.66 17,12A5,5 0 0,1 12,17M12,7C13.63,7 15.06,7.79 16,9H12A3,3 0 0,0 9,12C9,12.35 9.07,12.68 9.18,13H7.1C7.03,12.68 7,12.34 7,12A5,5 0 0,1 12,7M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"},{PackIconKind.CameraRear,"M12,6C10.89,6 10,5.1 10,4A2,2 0 0,1 12,2C13.09,2 14,2.9 14,4A2,2 0 0,1 12,6M17,0H7A2,2 0 0,0 5,2V16A2,2 0 0,0 7,18H17A2,2 0 0,0 19,16V2A2,2 0 0,0 17,0M14,20V22H19V20M10,20H5V22H10V24L13,21L10,18V20Z"},{PackIconKind.CameraRearVariant,"M6,0H18A2,2 0 0,1 20,2V22A2,2 0 0,1 18,24H6A2,2 0 0,1 4,22V2A2,2 0 0,1 6,0M12,2A2,2 0 0,0 10,4A2,2 0 0,0 12,6A2,2 0 0,0 14,4A2,2 0 0,0 12,2M13,18H9V20H13V22L16,19L13,16V18Z"},{PackIconKind.CameraSwitch,"M15,15.5V13H9V15.5L5.5,12L9,8.5V11H15V8.5L18.5,12M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"},{PackIconKind.CameraTimer,"M4.94,6.35C4.55,5.96 4.55,5.32 4.94,4.93C5.33,4.54 5.96,4.54 6.35,4.93L13.07,10.31L13.42,10.59C14.2,11.37 14.2,12.64 13.42,13.42C12.64,14.2 11.37,14.2 10.59,13.42L10.31,13.07L4.94,6.35M12,20A8,8 0 0,0 20,12C20,9.79 19.1,7.79 17.66,6.34L19.07,4.93C20.88,6.74 22,9.24 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12H4A8,8 0 0,0 12,20M12,1A2,2 0 0,1 14,3A2,2 0 0,1 12,5A2,2 0 0,1 10,3A2,2 0 0,1 12,1Z"},{PackIconKind.Cancel,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.85 4.63,15.55 5.68,16.91L16.91,5.68C15.55,4.63 13.85,4 12,4M12,20A8,8 0 0,0 20,12C20,10.15 19.37,8.45 18.32,7.09L7.09,18.32C8.45,19.37 10.15,20 12,20Z"},{PackIconKind.Candle,"M12.5,2C10.84,2 9.5,5.34 9.5,7A3,3 0 0,0 12.5,10A3,3 0 0,0 15.5,7C15.5,5.34 14.16,2 12.5,2M12.5,6.5A1,1 0 0,1 13.5,7.5A1,1 0 0,1 12.5,8.5A1,1 0 0,1 11.5,7.5A1,1 0 0,1 12.5,6.5M10,11A1,1 0 0,0 9,12V20H7A1,1 0 0,1 6,19V18A1,1 0 0,0 5,17A1,1 0 0,0 4,18V19A3,3 0 0,0 7,22H19A1,1 0 0,0 20,21A1,1 0 0,0 19,20H16V12A1,1 0 0,0 15,11H10Z"},{PackIconKind.Candycane,"M10,10A2,2 0 0,1 8,12A2,2 0 0,1 6,10V8C6,7.37 6.1,6.77 6.27,6.2L10,9.93V10M12,2C12.74,2 13.44,2.13 14.09,2.38L11.97,6C11.14,6 10.44,6.5 10.15,7.25L7.24,4.34C8.34,2.92 10.06,2 12,2M17.76,6.31L14,10.07V8C14,7.62 13.9,7.27 13.72,6.97L15.83,3.38C16.74,4.13 17.42,5.15 17.76,6.31M18,13.09L14,17.09V12.9L18,8.9V13.09M18,20A2,2 0 0,1 16,22A2,2 0 0,1 14,20V19.91L18,15.91V20Z"},{PackIconKind.Cannabis,"M11.5,22V17.35C11,18.13 10,19.09 8.03,19.81C8.03,19.81 8.53,18.1 9.94,16.95C8.64,17.23 6.68,17.19 4,16C4,16 6.47,14.59 9.28,14.97C7.69,14 5.7,12.08 4.17,8.11C4.17,8.11 8.67,9.34 10.91,13.14C8.88,8.24 12,2 12,2C14.43,7.47 13.91,11.1 13.12,13.1C15.37,9.33 19.83,8.11 19.83,8.11C18.3,12.08 16.31,14 14.72,14.97C17.53,14.59 20,16 20,16C17.32,17.19 15.36,17.23 14.06,16.95C15.47,18.1 15.97,19.81 15.97,19.81C14,19.09 13,18.13 12.5,17.35V22H11.5Z"},{PackIconKind.Car,"M5,11L6.5,6.5H17.5L19,11M17.5,16A1.5,1.5 0 0,1 16,14.5A1.5,1.5 0 0,1 17.5,13A1.5,1.5 0 0,1 19,14.5A1.5,1.5 0 0,1 17.5,16M6.5,16A1.5,1.5 0 0,1 5,14.5A1.5,1.5 0 0,1 6.5,13A1.5,1.5 0 0,1 8,14.5A1.5,1.5 0 0,1 6.5,16M18.92,6C18.72,5.42 18.16,5 17.5,5H6.5C5.84,5 5.28,5.42 5.08,6L3,12V20A1,1 0 0,0 4,21H5A1,1 0 0,0 6,20V19H18V20A1,1 0 0,0 19,21H20A1,1 0 0,0 21,20V12L18.92,6Z"},{PackIconKind.CarBattery,"M4,3V6H1V20H23V6H20V3H14V6H10V3H4M3,8H21V18H3V8M15,10V12H13V14H15V16H17V14H19V12H17V10H15M5,12V14H11V12H5Z"},{PackIconKind.CarConnected,"M5,14H19L17.5,9.5H6.5L5,14M17.5,19A1.5,1.5 0 0,0 19,17.5A1.5,1.5 0 0,0 17.5,16A1.5,1.5 0 0,0 16,17.5A1.5,1.5 0 0,0 17.5,19M6.5,19A1.5,1.5 0 0,0 8,17.5A1.5,1.5 0 0,0 6.5,16A1.5,1.5 0 0,0 5,17.5A1.5,1.5 0 0,0 6.5,19M18.92,9L21,15V23A1,1 0 0,1 20,24H19A1,1 0 0,1 18,23V22H6V23A1,1 0 0,1 5,24H4A1,1 0 0,1 3,23V15L5.08,9C5.28,8.42 5.85,8 6.5,8H17.5C18.15,8 18.72,8.42 18.92,9M12,0C14.12,0 16.15,0.86 17.65,2.35L16.23,3.77C15.11,2.65 13.58,2 12,2C10.42,2 8.89,2.65 7.77,3.77L6.36,2.35C7.85,0.86 9.88,0 12,0M12,4C13.06,4 14.07,4.44 14.82,5.18L13.4,6.6C13.03,6.23 12.53,6 12,6C11.5,6 10.97,6.23 10.6,6.6L9.18,5.18C9.93,4.44 10.94,4 12,4Z"},{PackIconKind.CarConvertible,"M16,6L15,6.75L17.5,10H13.5V8.5H12V10H3C1.89,10 1,10.89 1,12V15H3A3,3 0 0,0 6,18A3,3 0 0,0 9,15H15A3,3 0 0,0 18,18A3,3 0 0,0 21,15H23V12C23,10.89 22.11,10 21,10H19L16,6M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.CarEstate,"M3,6H16L19,10H21C22.11,10 23,10.89 23,12V15H21A3,3 0 0,1 18,18A3,3 0 0,1 15,15H9A3,3 0 0,1 6,18A3,3 0 0,1 3,15H1V8C1,6.89 1.89,6 3,6M2.5,7.5V10H10.5V7.5H2.5M12,7.5V10H17.14L15.25,7.5H12M6,13.5A1.5,1.5 0 0,0 4.5,15A1.5,1.5 0 0,0 6,16.5A1.5,1.5 0 0,0 7.5,15A1.5,1.5 0 0,0 6,13.5M18,13.5A1.5,1.5 0 0,0 16.5,15A1.5,1.5 0 0,0 18,16.5A1.5,1.5 0 0,0 19.5,15A1.5,1.5 0 0,0 18,13.5Z"},{PackIconKind.CarHatchback,"M16,6H6L1,12V15H3A3,3 0 0,0 6,18A3,3 0 0,0 9,15H15A3,3 0 0,0 18,18A3,3 0 0,0 21,15H23V12C23,10.89 22.11,10 21,10H19L16,6M6.5,7.5H10.5V10H4.5L6.5,7.5M12,7.5H15.5L17.46,10H12V7.5M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.CarPickup,"M16,6H10.5V10H1V15H3A3,3 0 0,0 6,18A3,3 0 0,0 9,15H15A3,3 0 0,0 18,18A3,3 0 0,0 21,15H23V12C23,10.89 22.11,10 21,10H19L16,6M12,7.5H15.5L17.46,10H12V7.5M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.CarSide,"M16,6L19,10H21C22.11,10 23,10.89 23,12V15H21A3,3 0 0,1 18,18A3,3 0 0,1 15,15H9A3,3 0 0,1 6,18A3,3 0 0,1 3,15H1V12C1,10.89 1.89,10 3,10L6,6H16M10.5,7.5H6.75L4.86,10H10.5V7.5M12,7.5V10H17.14L15.25,7.5H12M6,13.5A1.5,1.5 0 0,0 4.5,15A1.5,1.5 0 0,0 6,16.5A1.5,1.5 0 0,0 7.5,15A1.5,1.5 0 0,0 6,13.5M18,13.5A1.5,1.5 0 0,0 16.5,15A1.5,1.5 0 0,0 18,16.5A1.5,1.5 0 0,0 19.5,15A1.5,1.5 0 0,0 18,13.5Z"},{PackIconKind.CarSports,"M12,8.5H7L4,11H3C1.89,11 1,11.89 1,13V16H3.17C3.6,17.2 4.73,18 6,18C7.27,18 8.4,17.2 8.82,16H15.17C15.6,17.2 16.73,18 18,18C19.27,18 20.4,17.2 20.82,16H23V15C23,13.89 21.97,13.53 21,13L12,8.5M5.25,12L7.5,10H11.5L15.5,12H5.25M6,13.5A1.5,1.5 0 0,1 7.5,15A1.5,1.5 0 0,1 6,16.5A1.5,1.5 0 0,1 4.5,15A1.5,1.5 0 0,1 6,13.5M18,13.5A1.5,1.5 0 0,1 19.5,15A1.5,1.5 0 0,1 18,16.5A1.5,1.5 0 0,1 16.5,15A1.5,1.5 0 0,1 18,13.5Z"},{PackIconKind.CarWash,"M5,13L6.5,8.5H17.5L19,13M17.5,18A1.5,1.5 0 0,1 16,16.5A1.5,1.5 0 0,1 17.5,15A1.5,1.5 0 0,1 19,16.5A1.5,1.5 0 0,1 17.5,18M6.5,18A1.5,1.5 0 0,1 5,16.5A1.5,1.5 0 0,1 6.5,15A1.5,1.5 0 0,1 8,16.5A1.5,1.5 0 0,1 6.5,18M18.92,8C18.72,7.42 18.16,7 17.5,7H6.5C5.84,7 5.28,7.42 5.08,8L3,14V22A1,1 0 0,0 4,23H5A1,1 0 0,0 6,22V21H18V22A1,1 0 0,0 19,23H20A1,1 0 0,0 21,22V14M7,5A1.5,1.5 0 0,0 8.5,3.5C8.5,2.5 7,0.8 7,0.8C7,0.8 5.5,2.5 5.5,3.5A1.5,1.5 0 0,0 7,5M12,5A1.5,1.5 0 0,0 13.5,3.5C13.5,2.5 12,0.8 12,0.8C12,0.8 10.5,2.5 10.5,3.5A1.5,1.5 0 0,0 12,5M17,5A1.5,1.5 0 0,0 18.5,3.5C18.5,2.5 17,0.8 17,0.8C17,0.8 15.5,2.5 15.5,3.5A1.5,1.5 0 0,0 17,5Z"},{PackIconKind.Caravan,"M4,4A2,2 0 0,0 2,6V17H4A3,3 0 0,0 7,20A3,3 0 0,0 10,17H22V15H19V6A2,2 0 0,0 17,4H4M5,9H9V12H5V9M12,9H16V15H12V9M7,16A1,1 0 0,1 8,17A1,1 0 0,1 7,18A1,1 0 0,1 6,17A1,1 0 0,1 7,16Z"},{PackIconKind.Cards,"M21.47,4.35L20.13,3.79V12.82L22.56,6.96C22.97,5.94 22.5,4.77 21.47,4.35M1.97,8.05L6.93,20C7.24,20.77 7.97,21.24 8.74,21.26C9,21.26 9.27,21.21 9.53,21.1L16.9,18.05C17.65,17.74 18.11,17 18.13,16.26C18.14,16 18.09,15.71 18,15.45L13,3.5C12.71,2.73 11.97,2.26 11.19,2.25C10.93,2.25 10.67,2.31 10.42,2.4L3.06,5.45C2.04,5.87 1.55,7.04 1.97,8.05M18.12,4.25A2,2 0 0,0 16.12,2.25H14.67L18.12,10.59"},{PackIconKind.CardsOutline,"M11.19,2.25C10.93,2.25 10.67,2.31 10.42,2.4L3.06,5.45C2.04,5.87 1.55,7.04 1.97,8.05L6.93,20C7.24,20.77 7.97,21.23 8.74,21.25C9,21.25 9.27,21.22 9.53,21.1L16.9,18.05C17.65,17.74 18.11,17 18.13,16.25C18.14,16 18.09,15.71 18,15.45L13,3.5C12.71,2.73 11.97,2.26 11.19,2.25M14.67,2.25L18.12,10.6V4.25A2,2 0 0,0 16.12,2.25M20.13,3.79V12.82L22.56,6.96C22.97,5.94 22.5,4.78 21.47,4.36M11.19,4.22L16.17,16.24L8.78,19.3L3.8,7.29"},{PackIconKind.CardsPlayingOutline,"M11.19,2.25C11.97,2.26 12.71,2.73 13,3.5L18,15.45C18.09,15.71 18.14,16 18.13,16.25C18.11,17 17.65,17.74 16.9,18.05L9.53,21.1C9.27,21.22 9,21.25 8.74,21.25C7.97,21.23 7.24,20.77 6.93,20L1.97,8.05C1.55,7.04 2.04,5.87 3.06,5.45L10.42,2.4C10.67,2.31 10.93,2.25 11.19,2.25M14.67,2.25H16.12A2,2 0 0,1 18.12,4.25V10.6L14.67,2.25M20.13,3.79L21.47,4.36C22.5,4.78 22.97,5.94 22.56,6.96L20.13,12.82V3.79M11.19,4.22L3.8,7.29L8.77,19.3L16.17,16.24L11.19,4.22M8.65,8.54L11.88,10.95L11.44,14.96L8.21,12.54L8.65,8.54Z"},{PackIconKind.CardsVariant,"M5,2H19A1,1 0 0,1 20,3V13A1,1 0 0,1 19,14H5A1,1 0 0,1 4,13V3A1,1 0 0,1 5,2M6,4V12H18V4H6M20,17A1,1 0 0,1 19,18H5A1,1 0 0,1 4,17V16H20V17M20,21A1,1 0 0,1 19,22H5A1,1 0 0,1 4,21V20H20V21Z"},{PackIconKind.Carrot,"M16,10L15.8,11H13.5A0.5,0.5 0 0,0 13,11.5A0.5,0.5 0 0,0 13.5,12H15.6L14.6,17H12.5A0.5,0.5 0 0,0 12,17.5A0.5,0.5 0 0,0 12.5,18H14.4L14,20A2,2 0 0,1 12,22A2,2 0 0,1 10,20L9,15H10.5A0.5,0.5 0 0,0 11,14.5A0.5,0.5 0 0,0 10.5,14H8.8L8,10C8,8.8 8.93,7.77 10.29,7.29L8.9,5.28C8.59,4.82 8.7,4.2 9.16,3.89C9.61,3.57 10.23,3.69 10.55,4.14L11,4.8V3A1,1 0 0,1 12,2A1,1 0 0,1 13,3V5.28L14.5,3.54C14.83,3.12 15.47,3.07 15.89,3.43C16.31,3.78 16.36,4.41 16,4.84L13.87,7.35C15.14,7.85 16,8.85 16,10Z"},{PackIconKind.Cart,"M17,18C15.89,18 15,18.89 15,20A2,2 0 0,0 17,22A2,2 0 0,0 19,20C19,18.89 18.1,18 17,18M1,2V4H3L6.6,11.59L5.24,14.04C5.09,14.32 5,14.65 5,15A2,2 0 0,0 7,17H19V15H7.42A0.25,0.25 0 0,1 7.17,14.75C7.17,14.7 7.18,14.66 7.2,14.63L8.1,13H15.55C16.3,13 16.96,12.58 17.3,11.97L20.88,5.5C20.95,5.34 21,5.17 21,5A1,1 0 0,0 20,4H5.21L4.27,2M7,18C5.89,18 5,18.89 5,20A2,2 0 0,0 7,22A2,2 0 0,0 9,20C9,18.89 8.1,18 7,18Z"},{PackIconKind.CartOff,"M22.73,22.73L1.27,1.27L0,2.54L4.39,6.93L6.6,11.59L5.25,14.04C5.09,14.32 5,14.65 5,15A2,2 0 0,0 7,17H14.46L15.84,18.38C15.34,18.74 15,19.33 15,20A2,2 0 0,0 17,22C17.67,22 18.26,21.67 18.62,21.16L21.46,24L22.73,22.73M7.42,15A0.25,0.25 0 0,1 7.17,14.75L7.2,14.63L8.1,13H10.46L12.46,15H7.42M15.55,13C16.3,13 16.96,12.59 17.3,11.97L20.88,5.5C20.96,5.34 21,5.17 21,5A1,1 0 0,0 20,4H6.54L15.55,13M7,18A2,2 0 0,0 5,20A2,2 0 0,0 7,22A2,2 0 0,0 9,20A2,2 0 0,0 7,18Z"},{PackIconKind.CartOutline,"M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z"},{PackIconKind.CartPlus,"M11,9H13V6H16V4H13V1H11V4H8V6H11M7,18A2,2 0 0,0 5,20A2,2 0 0,0 7,22A2,2 0 0,0 9,20A2,2 0 0,0 7,18M17,18A2,2 0 0,0 15,20A2,2 0 0,0 17,22A2,2 0 0,0 19,20A2,2 0 0,0 17,18M7.17,14.75L7.2,14.63L8.1,13H15.55C16.3,13 16.96,12.59 17.3,11.97L21.16,4.96L19.42,4H19.41L18.31,6L15.55,11H8.53L8.4,10.73L6.16,6L5.21,4L4.27,2H1V4H3L6.6,11.59L5.25,14.04C5.09,14.32 5,14.65 5,15A2,2 0 0,0 7,17H19V15H7.42C7.29,15 7.17,14.89 7.17,14.75Z"},{PackIconKind.CaseSensitiveAlt,"M20,14C20,12.5 19.5,12 18,12H16V11C16,10 16,10 14,10V15.4L14,19H16L18,19C19.5,19 20,18.47 20,17V14M12,12C12,10.5 11.47,10 10,10H6C4.5,10 4,10.5 4,12V19H6V16H10V19H12V12M10,7H14V5H10V7M22,9V20C22,21.11 21.11,22 20,22H4A2,2 0 0,1 2,20V9C2,7.89 2.89,7 4,7H8V5L10,3H14L16,5V7H20A2,2 0 0,1 22,9H22M16,17H18V14H16V17M6,12H10V14H6V12Z"},{PackIconKind.Cash,"M3,6H21V18H3V6M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M7,8A2,2 0 0,1 5,10V14A2,2 0 0,1 7,16H17A2,2 0 0,1 19,14V10A2,2 0 0,1 17,8H7Z"},{PackIconKind.Cash100,"M2,5H22V20H2V5M20,18V7H4V18H20M17,8A2,2 0 0,0 19,10V15A2,2 0 0,0 17,17H7A2,2 0 0,0 5,15V10A2,2 0 0,0 7,8H17M17,13V12C17,10.9 16.33,10 15.5,10C14.67,10 14,10.9 14,12V13C14,14.1 14.67,15 15.5,15C16.33,15 17,14.1 17,13M15.5,11A0.5,0.5 0 0,1 16,11.5V13.5A0.5,0.5 0 0,1 15.5,14A0.5,0.5 0 0,1 15,13.5V11.5A0.5,0.5 0 0,1 15.5,11M13,13V12C13,10.9 12.33,10 11.5,10C10.67,10 10,10.9 10,12V13C10,14.1 10.67,15 11.5,15C12.33,15 13,14.1 13,13M11.5,11A0.5,0.5 0 0,1 12,11.5V13.5A0.5,0.5 0 0,1 11.5,14A0.5,0.5 0 0,1 11,13.5V11.5A0.5,0.5 0 0,1 11.5,11M8,15H9V10H8L7,10.5V11.5L8,11V15Z"},{PackIconKind.CashMultiple,"M5,6H23V18H5V6M14,9A3,3 0 0,1 17,12A3,3 0 0,1 14,15A3,3 0 0,1 11,12A3,3 0 0,1 14,9M9,8A2,2 0 0,1 7,10V14A2,2 0 0,1 9,16H19A2,2 0 0,1 21,14V10A2,2 0 0,1 19,8H9M1,10H3V20H19V22H1V10Z"},{PackIconKind.CashUsd,"M20,18H4V6H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4M11,17H13V16H14A1,1 0 0,0 15,15V12A1,1 0 0,0 14,11H11V10H15V8H13V7H11V8H10A1,1 0 0,0 9,9V12A1,1 0 0,0 10,13H13V14H9V16H11V17Z"},{PackIconKind.Cast,"M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z"},{PackIconKind.CastConnected,"M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M19,7H5V8.63C8.96,9.91 12.09,13.04 13.37,17H19M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18Z"},{PackIconKind.CastOff,"M1.6,1.27L0.25,2.75L1.41,3.8C1.16,4.13 1,4.55 1,5V8H3V5.23L18.2,19H14V21H20.41L22.31,22.72L23.65,21.24M6.5,3L8.7,5H21V16.14L23,17.95V5C23,3.89 22.1,3 21,3M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.08,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18Z"},{PackIconKind.Castle,"M2,13H4V15H6V13H8V15H10V13H12V15H14V10L17,7V1H19L23,3L19,5V7L22,10V22H11V19A2,2 0 0,0 9,17A2,2 0 0,0 7,19V22H2V13M18,10C17.45,10 17,10.54 17,11.2V13H19V11.2C19,10.54 18.55,10 18,10Z"},{PackIconKind.Cat,"M12,8L10.67,8.09C9.81,7.07 7.4,4.5 5,4.5C5,4.5 3.03,7.46 4.96,11.41C4.41,12.24 4.07,12.67 4,13.66L2.07,13.95L2.28,14.93L4.04,14.67L4.18,15.38L2.61,16.32L3.08,17.21L4.53,16.32C5.68,18.76 8.59,20 12,20C15.41,20 18.32,18.76 19.47,16.32L20.92,17.21L21.39,16.32L19.82,15.38L19.96,14.67L21.72,14.93L21.93,13.95L20,13.66C19.93,12.67 19.59,12.24 19.04,11.41C20.97,7.46 19,4.5 19,4.5C16.6,4.5 14.19,7.07 13.33,8.09L12,8M9,11A1,1 0 0,1 10,12A1,1 0 0,1 9,13A1,1 0 0,1 8,12A1,1 0 0,1 9,11M15,11A1,1 0 0,1 16,12A1,1 0 0,1 15,13A1,1 0 0,1 14,12A1,1 0 0,1 15,11M11,14H13L12.3,15.39C12.5,16.03 13.06,16.5 13.75,16.5A1.5,1.5 0 0,0 15.25,15H15.75A2,2 0 0,1 13.75,17C13,17 12.35,16.59 12,16V16H12C11.65,16.59 11,17 10.25,17A2,2 0 0,1 8.25,15H8.75A1.5,1.5 0 0,0 10.25,16.5C10.94,16.5 11.5,16.03 11.7,15.39L11,14Z"},{PackIconKind.Cctv,"M18.15,4.94C17.77,4.91 17.37,5 17,5.2L8.35,10.2C7.39,10.76 7.07,12 7.62,12.94L9.12,15.53C9.67,16.5 10.89,16.82 11.85,16.27L13.65,15.23C13.92,15.69 14.32,16.06 14.81,16.27V18.04C14.81,19.13 15.7,20 16.81,20H22V18.04H16.81V16.27C17.72,15.87 18.31,14.97 18.31,14C18.31,13.54 18.19,13.11 17.97,12.73L20.5,11.27C21.47,10.71 21.8,9.5 21.24,8.53L19.74,5.94C19.4,5.34 18.79,5 18.15,4.94M6.22,13.17L2,13.87L2.75,15.17L4.75,18.63L5.5,19.93L8.22,16.63L6.22,13.17Z"},{PackIconKind.CeilingLight,"M8,9H11V4H13V9H16L20,17H4L8,9M14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18H14Z"},{PackIconKind.Cellphone,"M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z"},{PackIconKind.CellphoneAndroid,"M17.25,18H6.75V4H17.25M14,21H10V20H14M16,1H8A3,3 0 0,0 5,4V20A3,3 0 0,0 8,23H16A3,3 0 0,0 19,20V4A3,3 0 0,0 16,1Z"},{PackIconKind.CellphoneBasic,"M15,2A1,1 0 0,0 14,3V6H10C8.89,6 8,6.89 8,8V20C8,21.11 8.89,22 10,22H15C16.11,22 17,21.11 17,20V8C17,7.26 16.6,6.62 16,6.28V3A1,1 0 0,0 15,2M10,8H15V13H10V8M10,15H11V16H10V15M12,15H13V16H12V15M14,15H15V16H14V15M10,17H11V18H10V17M12,17H13V18H12V17M14,17H15V18H14V17M10,19H11V20H10V19M12,19H13V20H12V19M14,19H15V20H14V19Z"},{PackIconKind.CellphoneDock,"M16,15H8V5H16M16,1H8C6.89,1 6,1.89 6,3V17A2,2 0 0,0 8,19H16A2,2 0 0,0 18,17V3C18,1.89 17.1,1 16,1M8,23H16V21H8V23Z"},{PackIconKind.CellphoneIphone,"M16,18H7V4H16M11.5,22A1.5,1.5 0 0,1 10,20.5A1.5,1.5 0 0,1 11.5,19A1.5,1.5 0 0,1 13,20.5A1.5,1.5 0 0,1 11.5,22M15.5,1H7.5A2.5,2.5 0 0,0 5,3.5V20.5A2.5,2.5 0 0,0 7.5,23H15.5A2.5,2.5 0 0,0 18,20.5V3.5A2.5,2.5 0 0,0 15.5,1Z"},{PackIconKind.CellphoneLink,"M22,17H18V10H22M23,8H17A1,1 0 0,0 16,9V19A1,1 0 0,0 17,20H23A1,1 0 0,0 24,19V9A1,1 0 0,0 23,8M4,6H22V4H4A2,2 0 0,0 2,6V17H0V20H14V17H4V6Z"},{PackIconKind.CellphoneLinkOff,"M23,8H17A1,1 0 0,0 16,9V13.18L18,15.18V10H22V17H19.82L22.82,20H23A1,1 0 0,0 24,19V9A1,1 0 0,0 23,8M4,6.27L14.73,17H4V6.27M1.92,1.65L0.65,2.92L2.47,4.74C2.18,5.08 2,5.5 2,6V17H0V20H17.73L20.08,22.35L21.35,21.08L3.89,3.62L1.92,1.65M22,6V4H6.82L8.82,6H22Z"},{PackIconKind.CellphoneSettings,"M16,16H8V4H16M16,0H8A2,2 0 0,0 6,2V18A2,2 0 0,0 8,20H16A2,2 0 0,0 18,18V2A2,2 0 0,0 16,0M15,24H17V22H15M11,24H13V22H11M7,24H9V22H7V24Z"},{PackIconKind.CellphoneWireless,"M20.07,4.93C21.88,6.74 23,9.24 23,12C23,14.76 21.88,17.26 20.07,19.07L18.66,17.66C20.11,16.22 21,14.22 21,12C21,9.79 20.11,7.78 18.66,6.34L20.07,4.93M17.24,7.76C18.33,8.85 19,10.35 19,12C19,13.65 18.33,15.15 17.24,16.24L15.83,14.83C16.55,14.11 17,13.11 17,12C17,10.89 16.55,9.89 15.83,9.17L17.24,7.76M13,10A2,2 0 0,1 15,12A2,2 0 0,1 13,14A2,2 0 0,1 11,12A2,2 0 0,1 13,10M11.5,1A2.5,2.5 0 0,1 14,3.5V8H12V4H3V19H12V16H14V20.5A2.5,2.5 0 0,1 11.5,23H3.5A2.5,2.5 0 0,1 1,20.5V3.5A2.5,2.5 0 0,1 3.5,1H11.5Z"},{PackIconKind.Certificate,"M4,3C2.89,3 2,3.89 2,5V15A2,2 0 0,0 4,17H12V22L15,19L18,22V17H20A2,2 0 0,0 22,15V8L22,6V5A2,2 0 0,0 20,3H16V3H4M12,5L15,7L18,5V8.5L21,10L18,11.5V15L15,13L12,15V11.5L9,10L12,8.5V5M4,5H9V7H4V5M4,9H7V11H4V9M4,13H9V15H4V13Z"},{PackIconKind.ChairSchool,"M22,5V7H17L13.53,12H16V14H14.46L18.17,22H15.97L15.04,20H6.38L5.35,22H3.1L7.23,14H7C6.55,14 6.17,13.7 6.04,13.3L2.87,3.84L3.82,3.5C4.34,3.34 4.91,3.63 5.08,4.15L7.72,12H12.1L15.57,7H12V5H22M9.5,14L7.42,18H14.11L12.26,14H9.5Z"},{PackIconKind.ChartArc,"M16.18,19.6L14.17,16.12C15.15,15.4 15.83,14.28 15.97,13H20C19.83,15.76 18.35,18.16 16.18,19.6M13,7.03V3C17.3,3.26 20.74,6.7 21,11H16.97C16.74,8.91 15.09,7.26 13,7.03M7,12.5C7,13.14 7.13,13.75 7.38,14.3L3.9,16.31C3.32,15.16 3,13.87 3,12.5C3,7.97 6.54,4.27 11,4V8.03C8.75,8.28 7,10.18 7,12.5M11.5,21C8.53,21 5.92,19.5 4.4,17.18L7.88,15.17C8.7,16.28 10,17 11.5,17C12.14,17 12.75,16.87 13.3,16.62L15.31,20.1C14.16,20.68 12.87,21 11.5,21Z"},{PackIconKind.ChartAreaspline,"M17.45,15.18L22,7.31V19L22,21H2V3H4V15.54L9.5,6L16,9.78L20.24,2.45L21.97,3.45L16.74,12.5L10.23,8.75L4.31,19H6.57L10.96,11.44L17.45,15.18Z"},{PackIconKind.ChartBar,"M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z"},{PackIconKind.ChartBarStacked,"M22,21H2V3H4V19H6V17H10V19H12V16H16V19H18V17H22V21M18,14H22V16H18V14M12,6H16V9H12V6M16,15H12V10H16V15M6,10H10V12H6V10M10,16H6V13H10V16Z"},{PackIconKind.ChartBubble,"M7.2,11.2C8.97,11.2 10.4,12.63 10.4,14.4C10.4,16.17 8.97,17.6 7.2,17.6C5.43,17.6 4,16.17 4,14.4C4,12.63 5.43,11.2 7.2,11.2M14.8,16A2,2 0 0,1 16.8,18A2,2 0 0,1 14.8,20A2,2 0 0,1 12.8,18A2,2 0 0,1 14.8,16M15.2,4A4.8,4.8 0 0,1 20,8.8C20,11.45 17.85,13.6 15.2,13.6A4.8,4.8 0 0,1 10.4,8.8C10.4,6.15 12.55,4 15.2,4Z"},{PackIconKind.ChartDonut,"M13,2.05V5.08C16.39,5.57 19,8.47 19,12C19,12.9 18.82,13.75 18.5,14.54L21.12,16.07C21.68,14.83 22,13.45 22,12C22,6.82 18.05,2.55 13,2.05M12,19A7,7 0 0,1 5,12C5,8.47 7.61,5.57 11,5.08V2.05C5.94,2.55 2,6.81 2,12A10,10 0 0,0 12,22C15.3,22 18.23,20.39 20.05,17.91L17.45,16.38C16.17,18 14.21,19 12,19Z"},{PackIconKind.ChartDonutVariant,"M13,2.05C18.05,2.55 22,6.82 22,12C22,13.45 21.68,14.83 21.12,16.07L18.5,14.54C18.82,13.75 19,12.9 19,12C19,8.47 16.39,5.57 13,5.08V2.05M12,19C14.21,19 16.17,18 17.45,16.38L20.05,17.91C18.23,20.39 15.3,22 12,22C6.47,22 2,17.5 2,12C2,6.81 5.94,2.55 11,2.05V5.08C7.61,5.57 5,8.47 5,12A7,7 0 0,0 12,19M12,6A6,6 0 0,1 18,12C18,14.97 15.84,17.44 13,17.92V14.83C14.17,14.42 15,13.31 15,12A3,3 0 0,0 12,9L11.45,9.05L9.91,6.38C10.56,6.13 11.26,6 12,6M6,12C6,10.14 6.85,8.5 8.18,7.38L9.72,10.05C9.27,10.57 9,11.26 9,12C9,13.31 9.83,14.42 11,14.83V17.92C8.16,17.44 6,14.97 6,12Z"},{PackIconKind.ChartGantt,"M2,5H10V2H12V22H10V18H6V15H10V13H4V10H10V8H2V5M14,5H17V8H14V5M14,10H19V13H14V10M14,15H22V18H14V15Z"},{PackIconKind.ChartHistogram,"M3,3H5V13H9V7H13V11H17V15H21V21H3V3Z"},{PackIconKind.ChartLine,"M16,11.78L20.24,4.45L21.97,5.45L16.74,14.5L10.23,10.75L5.46,19H22V21H2V3H4V17.54L9.5,8L16,11.78Z"},{PackIconKind.ChartLineStacked,"M17.45,15.18L22,6.81V19L22,21H2V3H4V15.54L4,19H4.31L6,19H6.57L10.96,11.44L17.45,15.18M22,3L21.97,3.45L17,11L10,6L6,12V3H22Z"},{PackIconKind.ChartLineVariant,"M3.5,18.5L9.5,12.5L13.5,16.5L22,6.92L20.59,5.5L13.5,13.5L9.5,9.5L2,17L3.5,18.5Z"},{PackIconKind.ChartPie,"M21,11H13V3A8,8 0 0,1 21,11M19,13C19,15.78 17.58,18.23 15.43,19.67L11.58,13H19M11,21C8.22,21 5.77,19.58 4.33,17.43L10.82,13.68L14.56,20.17C13.5,20.7 12.28,21 11,21M3,13A8,8 0 0,1 11,5V12.42L3.83,16.56C3.3,15.5 3,14.28 3,13Z"},{PackIconKind.ChartScatterplotHexbin,"M2,2H4V20H22V22H2V2M14,14.5L12,18H7.94L5.92,14.5L7.94,11H12L14,14.5M14.08,6.5L12.06,10H8L6,6.5L8,3H12.06L14.08,6.5M21.25,10.5L19.23,14H15.19L13.17,10.5L15.19,7H19.23L21.25,10.5Z"},{PackIconKind.ChartTimeline,"M2,2H4V20H22V22H2V2M7,10H17V13H7V10M11,15H21V18H11V15M6,4H22V8H20V6H8V8H6V4Z"},{PackIconKind.Check,"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},{PackIconKind.CheckAll,"M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z"},{PackIconKind.CheckCircle,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M11,16.5L18,9.5L16.59,8.09L11,13.67L7.91,10.59L6.5,12L11,16.5Z"},{PackIconKind.CheckCircleOutline,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,16.5L6.5,12L7.91,10.59L11,13.67L16.59,8.09L18,9.5L11,16.5Z"},{PackIconKind.CheckboxBlank,"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.CheckboxBlankCircle,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.CheckboxBlankCircleOutline,"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.CheckboxBlankOutline,"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"},{PackIconKind.CheckboxMarked,"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.CheckboxMarkedCircle,"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.CheckboxMarkedCircleOutline,"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2,4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"},{PackIconKind.CheckboxMarkedOutline,"M19,19H5V5H15V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V11H19M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"},{PackIconKind.CheckboxMultipleBlank,"M22,16A2,2 0 0,1 20,18H8C6.89,18 6,17.1 6,16V4C6,2.89 6.89,2 8,2H20A2,2 0 0,1 22,4V16M16,20V22H4A2,2 0 0,1 2,20V7H4V20H16Z"},{PackIconKind.CheckboxMultipleBlankCircle,"M14,2A8,8 0 0,0 6,10A8,8 0 0,0 14,18A8,8 0 0,0 22,10A8,8 0 0,0 14,2M4.93,5.82C3.08,7.34 2,9.61 2,12A8,8 0 0,0 10,20C10.64,20 11.27,19.92 11.88,19.77C10.12,19.38 8.5,18.5 7.17,17.29C5.22,16.25 4,14.21 4,12C4,11.7 4.03,11.41 4.07,11.11C4.03,10.74 4,10.37 4,10C4,8.56 4.32,7.13 4.93,5.82Z"},{PackIconKind.CheckboxMultipleBlankCircleOutline,"M14,2A8,8 0 0,0 6,10A8,8 0 0,0 14,18A8,8 0 0,0 22,10A8,8 0 0,0 14,2M14,4C17.32,4 20,6.69 20,10C20,13.32 17.32,16 14,16A6,6 0 0,1 8,10A6,6 0 0,1 14,4M4.93,5.82C3.08,7.34 2,9.61 2,12A8,8 0 0,0 10,20C10.64,20 11.27,19.92 11.88,19.77C10.12,19.38 8.5,18.5 7.17,17.29C5.22,16.25 4,14.21 4,12C4,11.7 4.03,11.41 4.07,11.11C4.03,10.74 4,10.37 4,10C4,8.56 4.32,7.13 4.93,5.82Z"},{PackIconKind.CheckboxMultipleBlankOutline,"M20,16V4H8V16H20M22,16A2,2 0 0,1 20,18H8C6.89,18 6,17.1 6,16V4C6,2.89 6.89,2 8,2H20A2,2 0 0,1 22,4V16M16,20V22H4A2,2 0 0,1 2,20V7H4V20H16Z"},{PackIconKind.CheckboxMultipleMarked,"M22,16A2,2 0 0,1 20,18H8C6.89,18 6,17.1 6,16V4C6,2.89 6.89,2 8,2H20A2,2 0 0,1 22,4V16M16,20V22H4A2,2 0 0,1 2,20V7H4V20H16M13,14L20,7L18.59,5.59L13,11.17L9.91,8.09L8.5,9.5L13,14Z"},{PackIconKind.CheckboxMultipleMarkedCircle,"M14,2A8,8 0 0,0 6,10A8,8 0 0,0 14,18A8,8 0 0,0 22,10A8,8 0 0,0 14,2M4.93,5.82C3.08,7.34 2,9.61 2,12A8,8 0 0,0 10,20C10.64,20 11.27,19.92 11.88,19.77C10.12,19.38 8.5,18.5 7.17,17.29C5.22,16.25 4,14.21 4,12C4,11.7 4.03,11.41 4.07,11.11C4.03,10.74 4,10.37 4,10C4,8.56 4.32,7.13 4.93,5.82M18.09,6.08L19.5,7.5L13,14L9.21,10.21L10.63,8.79L13,11.17"},{PackIconKind.CheckboxMultipleMarkedCircleOutline,"M14,2A8,8 0 0,0 6,10A8,8 0 0,0 14,18A8,8 0 0,0 22,10H20C20,13.32 17.32,16 14,16A6,6 0 0,1 8,10A6,6 0 0,1 14,4C14.43,4 14.86,4.05 15.27,4.14L16.88,2.54C15.96,2.18 15,2 14,2M20.59,3.58L14,10.17L11.62,7.79L10.21,9.21L14,13L22,5M4.93,5.82C3.08,7.34 2,9.61 2,12A8,8 0 0,0 10,20C10.64,20 11.27,19.92 11.88,19.77C10.12,19.38 8.5,18.5 7.17,17.29C5.22,16.25 4,14.21 4,12C4,11.7 4.03,11.41 4.07,11.11C4.03,10.74 4,10.37 4,10C4,8.56 4.32,7.13 4.93,5.82Z"},{PackIconKind.CheckboxMultipleMarkedOutline,"M20,16V10H22V16A2,2 0 0,1 20,18H8C6.89,18 6,17.1 6,16V4C6,2.89 6.89,2 8,2H16V4H8V16H20M10.91,7.08L14,10.17L20.59,3.58L22,5L14,13L9.5,8.5L10.91,7.08M16,20V22H4A2,2 0 0,1 2,20V7H4V20H16Z"},{PackIconKind.Checkerboard,"M3,3H21V21H3V3M5,5V12H12V19H19V12H12V5H5Z"},{PackIconKind.ChemicalWeapon,"M11,7.83C9.83,7.42 9,6.3 9,5A3,3 0 0,1 12,2A3,3 0 0,1 15,5C15,6.31 14.16,7.42 13,7.83V10.64C12.68,10.55 12.35,10.5 12,10.5C11.65,10.5 11.32,10.55 11,10.64V7.83M18.3,21.1C17.16,20.45 16.62,19.18 16.84,17.96L14.4,16.55C14.88,16.09 15.24,15.5 15.4,14.82L17.84,16.23C18.78,15.42 20.16,15.26 21.29,15.91C22.73,16.74 23.22,18.57 22.39,20C21.56,21.44 19.73,21.93 18.3,21.1M2.7,15.9C3.83,15.25 5.21,15.42 6.15,16.22L8.6,14.81C8.76,15.5 9.11,16.08 9.6,16.54L7.15,17.95C7.38,19.17 6.83,20.45 5.7,21.1C4.26,21.93 2.43,21.44 1.6,20C0.77,18.57 1.26,16.73 2.7,15.9M14,14A2,2 0 0,1 12,16C10.89,16 10,15.1 10,14A2,2 0 0,1 12,12C13.11,12 14,12.9 14,14M17,14L16.97,14.57L15.5,13.71C15.4,12.64 14.83,11.71 14,11.12V9.41C15.77,10.19 17,11.95 17,14M14.97,18.03C14.14,18.64 13.11,19 12,19C10.89,19 9.86,18.64 9.03,18L10.5,17.17C10.96,17.38 11.47,17.5 12,17.5C12.53,17.5 13.03,17.38 13.5,17.17L14.97,18.03M7.03,14.56L7,14C7,11.95 8.23,10.19 10,9.42V11.13C9.17,11.71 8.6,12.64 8.5,13.7L7.03,14.56Z"},{PackIconKind.ChevronDoubleDown,"M16.59,5.59L18,7L12,13L6,7L7.41,5.59L12,10.17L16.59,5.59M16.59,11.59L18,13L12,19L6,13L7.41,11.59L12,16.17L16.59,11.59Z"},{PackIconKind.ChevronDoubleLeft,"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"},{PackIconKind.ChevronDoubleRight,"M5.59,7.41L7,6L13,12L7,18L5.59,16.59L10.17,12L5.59,7.41M11.59,7.41L13,6L19,12L13,18L11.59,16.59L16.17,12L11.59,7.41Z"},{PackIconKind.ChevronDoubleUp,"M7.41,18.41L6,17L12,11L18,17L16.59,18.41L12,13.83L7.41,18.41M7.41,12.41L6,11L12,5L18,11L16.59,12.41L12,7.83L7.41,12.41Z"},{PackIconKind.ChevronDown,"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},{PackIconKind.ChevronLeft,"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"},{PackIconKind.ChevronRight,"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},{PackIconKind.ChevronUp,"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},{PackIconKind.ChiliHot,"M17.75,9L18.95,8.24C19.58,8.58 20,9.24 20,10V21.75C20,21.75 12,20 12,11V10C12,9.27 12.39,8.63 12.97,8.28L14.43,9L16,8L17.75,9M14,2C15.53,2 16.8,3.15 17,4.64C18,4.93 18.81,5.67 19.22,6.63L17.75,7.5L16,6.5L14.43,7.5L12.76,6.67C13.15,5.72 13.95,5 14.94,4.66C14.8,4.28 14.43,4 14,4V2M10,10C10,18 13.63,19.84 16,21.75C16,21.75 8,20 8,11V10C8,9.27 8.39,8.63 8.97,8.28L10.3,8.94C10.11,9.25 10,9.61 10,10M10.43,7.5L8.76,6.67C9.15,5.72 9.95,5 10.94,4.66C10.8,4.28 10.43,4 10,4V2C10.77,2 11.47,2.29 12,2.76V4C12.43,4 12.8,4.28 12.94,4.66C11.95,5 11.15,5.72 10.43,7.5M6,10C6,18 9.63,19.84 12,21.75C12,21.75 4,20 4,11V10C4,9.27 4.39,8.63 4.97,8.28L6.3,8.94C6.11,9.25 6,9.61 6,10M6.43,7.5L4.76,6.67C5.15,5.72 5.95,5 6.94,4.66C6.8,4.28 6.43,4 6,4V2C6.77,2 7.47,2.29 8,2.76V4C8.43,4 8.8,4.28 8.94,4.66C7.95,5 7.15,5.72 6.43,7.5Z"},{PackIconKind.ChiliMedium,"M15.75,9L16.95,8.24C17.58,8.58 18,9.24 18,10V21.75C18,21.75 10,20 10,11V10C10,9.27 10.39,8.63 10.97,8.28L12.43,9L14,8L15.75,9M12,2C13.53,2 14.8,3.15 15,4.64C16,4.93 16.81,5.67 17.22,6.63L15.75,7.5L14,6.5L12.43,7.5L10.76,6.67C11.15,5.72 11.95,5 12.94,4.66C12.8,4.28 12.43,4 12,4V2M8,10C8,18 11.63,19.84 14,21.75C14,21.75 6,20 6,11V10C6,9.27 6.39,8.63 6.97,8.28L8.3,8.94C8.11,9.25 8,9.61 8,10M8.43,7.5L6.76,6.67C7.15,5.72 7.95,5 8.94,4.66C8.8,4.28 8.43,4 8,4V2C8.77,2 9.47,2.29 10,2.76V4C10.43,4 10.8,4.28 10.94,4.66C9.95,5 9.15,5.72 8.43,7.5Z"},{PackIconKind.ChiliMild,"M13.75,9L14.95,8.24C15.58,8.58 16,9.24 16,10V21.75C16,21.75 8,20 8,11V10C8,9.27 8.39,8.63 8.97,8.28L10.43,9L12,8L13.75,9M10,2C11.53,2 12.8,3.15 13,4.64C14,4.93 14.81,5.67 15.22,6.63L13.75,7.5L12,6.5L10.43,7.5L8.76,6.67C9.15,5.72 9.95,5 10.94,4.66C10.8,4.28 10.43,4 10,4V2Z"},{PackIconKind.Chip,"M6,4H18V5H21V7H18V9H21V11H18V13H21V15H18V17H21V19H18V20H6V19H3V17H6V15H3V13H6V11H3V9H6V7H3V5H6V4M11,15V18H12V15H11M13,15V18H14V15H13M15,15V18H16V15H15Z"},{PackIconKind.Church,"M11,2H13V4H15V6H13V9.4L22,13V15L20,14.2V22H14V17A2,2 0 0,0 12,15A2,2 0 0,0 10,17V22H4V14.2L2,15V13L11,9.4V6H9V4H11V2M6,20H8V15L7,14L6,15V20M16,20H18V15L17,14L16,15V20Z"},{PackIconKind.Circle,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.CircleOutline,"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.CiscoWebex,"M12,3A9,9 0 0,1 21,12A9,9 0 0,1 12,21A9,9 0 0,1 3,12A9,9 0 0,1 12,3M5.94,8.5C4,11.85 5.15,16.13 8.5,18.06C11.85,20 18.85,7.87 15.5,5.94C12.15,4 7.87,5.15 5.94,8.5Z"},{PackIconKind.City,"M19,15H17V13H19M19,19H17V17H19M13,7H11V5H13M13,11H11V9H13M13,15H11V13H13M13,19H11V17H13M7,11H5V9H7M7,15H5V13H7M7,19H5V17H7M15,11V5L12,2L9,5V7H3V21H21V11H15Z"},{PackIconKind.Clipboard,"M9,4A3,3 0 0,1 12,1A3,3 0 0,1 15,4H19A2,2 0 0,1 21,6V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V6A2,2 0 0,1 5,4H9M12,3A1,1 0 0,0 11,4A1,1 0 0,0 12,5A1,1 0 0,0 13,4A1,1 0 0,0 12,3Z"},{PackIconKind.ClipboardAccount,"M18,19H6V17.6C6,15.6 10,14.5 12,14.5C14,14.5 18,15.6 18,17.6M12,7A3,3 0 0,1 15,10A3,3 0 0,1 12,13A3,3 0 0,1 9,10A3,3 0 0,1 12,7M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.ClipboardAlert,"M12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5M13,14H11V8H13M13,18H11V16H13M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.ClipboardArrowDown,"M12,18L7,13H10V9H14V13H17M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.ClipboardArrowLeft,"M16,15H12V18L7,13L12,8V11H16M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.ClipboardCheck,"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.ClipboardFlow,"M19,4H14.82C14.25,2.44 12.53,1.64 11,2.2C10.14,2.5 9.5,3.16 9.18,4H5A2,2 0 0,0 3,6V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V6A2,2 0 0,0 19,4M12,4A1,1 0 0,1 13,5A1,1 0 0,1 12,6A1,1 0 0,1 11,5A1,1 0 0,1 12,4M10,17H8V10H5L9,6L13,10H10V17M15,20L11,16H14V9H16V16H19L15,20Z"},{PackIconKind.ClipboardOutline,"M7,8V6H5V19H19V6H17V8H7M9,4A3,3 0 0,1 12,1A3,3 0 0,1 15,4H19A2,2 0 0,1 21,6V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V6A2,2 0 0,1 5,4H9M12,3A1,1 0 0,0 11,4A1,1 0 0,0 12,5A1,1 0 0,0 13,4A1,1 0 0,0 12,3Z"},{PackIconKind.ClipboardPlus,"M9,4A3,3 0 0,1 12,1A3,3 0 0,1 15,4H19A2,2 0 0,1 21,6V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V6A2,2 0 0,1 5,4H9M12,3A1,1 0 0,0 11,4A1,1 0 0,0 12,5A1,1 0 0,0 13,4A1,1 0 0,0 12,3M13,12V9H11V12H8V14H11V17H13V14H16V12H13Z"},{PackIconKind.ClipboardText,"M17,9H7V7H17M17,13H7V11H17M14,17H7V15H14M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Clippy,"M15,15.5A2.5,2.5 0 0,1 12.5,18A2.5,2.5 0 0,1 10,15.5V13.75A0.75,0.75 0 0,1 10.75,13A0.75,0.75 0 0,1 11.5,13.75V15.5A1,1 0 0,0 12.5,16.5A1,1 0 0,0 13.5,15.5V11.89C12.63,11.61 12,10.87 12,10C12,8.9 13,8 14.25,8C15.5,8 16.5,8.9 16.5,10C16.5,10.87 15.87,11.61 15,11.89V15.5M8.25,8C9.5,8 10.5,8.9 10.5,10C10.5,10.87 9.87,11.61 9,11.89V17.25A3.25,3.25 0 0,0 12.25,20.5A3.25,3.25 0 0,0 15.5,17.25V13.75A0.75,0.75 0 0,1 16.25,13A0.75,0.75 0 0,1 17,13.75V17.25A4.75,4.75 0 0,1 12.25,22A4.75,4.75 0 0,1 7.5,17.25V11.89C6.63,11.61 6,10.87 6,10C6,8.9 7,8 8.25,8M10.06,6.13L9.63,7.59C9.22,7.37 8.75,7.25 8.25,7.25C7.34,7.25 6.53,7.65 6.03,8.27L4.83,7.37C5.46,6.57 6.41,6 7.5,5.81V5.75A3.75,3.75 0 0,1 11.25,2A3.75,3.75 0 0,1 15,5.75V5.81C16.09,6 17.04,6.57 17.67,7.37L16.47,8.27C15.97,7.65 15.16,7.25 14.25,7.25C13.75,7.25 13.28,7.37 12.87,7.59L12.44,6.13C12.77,6 13.13,5.87 13.5,5.81V5.75C13.5,4.5 12.5,3.5 11.25,3.5C10,3.5 9,4.5 9,5.75V5.81C9.37,5.87 9.73,6 10.06,6.13M14.25,9.25C13.7,9.25 13.25,9.59 13.25,10C13.25,10.41 13.7,10.75 14.25,10.75C14.8,10.75 15.25,10.41 15.25,10C15.25,9.59 14.8,9.25 14.25,9.25M8.25,9.25C7.7,9.25 7.25,9.59 7.25,10C7.25,10.41 7.7,10.75 8.25,10.75C8.8,10.75 9.25,10.41 9.25,10C9.25,9.59 8.8,9.25 8.25,9.25Z"},{PackIconKind.Clock,"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"},{PackIconKind.ClockAlert,"M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22C14.25,22 16.33,21.24 18,20V17.28C16.53,18.94 14.39,20 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C15.36,4 18.23,6.07 19.41,9H21.54C20.27,4.94 16.5,2 12,2M11,7V13L16.25,16.15L17,14.92L12.5,12.25V7H11M20,11V18H22V11H20M20,20V22H22V20H20Z"},{PackIconKind.ClockEnd,"M12,1C8.14,1 5,4.14 5,8A7,7 0 0,0 12,15C15.86,15 19,11.87 19,8C19,4.14 15.86,1 12,1M12,3.15C14.67,3.15 16.85,5.32 16.85,8C16.85,10.68 14.67,12.85 12,12.85A4.85,4.85 0 0,1 7.15,8A4.85,4.85 0 0,1 12,3.15M11,5V8.69L14.19,10.53L14.94,9.23L12.5,7.82V5M15,16V19H3V21H15V24L19,20M19,20V24H21V16H19"},{PackIconKind.ClockFast,"M15,4A8,8 0 0,1 23,12A8,8 0 0,1 15,20A8,8 0 0,1 7,12A8,8 0 0,1 15,4M15,6A6,6 0 0,0 9,12A6,6 0 0,0 15,18A6,6 0 0,0 21,12A6,6 0 0,0 15,6M14,8H15.5V11.78L17.83,14.11L16.77,15.17L14,12.4V8M2,18A1,1 0 0,1 1,17A1,1 0 0,1 2,16H5.83C6.14,16.71 6.54,17.38 7,18H2M3,13A1,1 0 0,1 2,12A1,1 0 0,1 3,11H5.05L5,12L5.05,13H3M4,8A1,1 0 0,1 3,7A1,1 0 0,1 4,6H7C6.54,6.62 6.14,7.29 5.83,8H4Z"},{PackIconKind.ClockIn,"M2.21,0.79L0.79,2.21L4.8,6.21L3,8H8V3L6.21,4.8M12,8C8.14,8 5,11.13 5,15A7,7 0 0,0 12,22C15.86,22 19,18.87 19,15A7,7 0 0,0 12,8M12,10.15C14.67,10.15 16.85,12.32 16.85,15A4.85,4.85 0 0,1 12,19.85C9.32,19.85 7.15,17.68 7.15,15A4.85,4.85 0 0,1 12,10.15M11,12V15.69L14.19,17.53L14.94,16.23L12.5,14.82V12"},{PackIconKind.ClockOut,"M18,1L19.8,2.79L15.79,6.79L17.21,8.21L21.21,4.21L23,6V1M12,8C8.14,8 5,11.13 5,15A7,7 0 0,0 12,22C15.86,22 19,18.87 19,15A7,7 0 0,0 12,8M12,10.15C14.67,10.15 16.85,12.32 16.85,15A4.85,4.85 0 0,1 12,19.85C9.32,19.85 7.15,17.68 7.15,15A4.85,4.85 0 0,1 12,10.15M11,12V15.69L14.19,17.53L14.94,16.23L12.5,14.82V12"},{PackIconKind.ClockStart,"M12,1C8.14,1 5,4.14 5,8A7,7 0 0,0 12,15C15.86,15 19,11.87 19,8C19,4.14 15.86,1 12,1M12,3.15C14.67,3.15 16.85,5.32 16.85,8C16.85,10.68 14.67,12.85 12,12.85A4.85,4.85 0 0,1 7.15,8A4.85,4.85 0 0,1 12,3.15M11,5V8.69L14.19,10.53L14.94,9.23L12.5,7.82V5M4,16V24H6V21H18V24L22,20L18,16V19H6V16"},{PackIconKind.Close,"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},{PackIconKind.CloseBox,"M19,3H16.3H7.7H5A2,2 0 0,0 3,5V7.7V16.4V19A2,2 0 0,0 5,21H7.7H16.4H19A2,2 0 0,0 21,19V16.3V7.7V5A2,2 0 0,0 19,3M15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4L13.4,12L17,15.6L15.6,17Z"},{PackIconKind.CloseBoxOutline,"M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"},{PackIconKind.CloseCircle,"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},{PackIconKind.CloseCircleOutline,"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z"},{PackIconKind.CloseNetwork,"M14.59,6L12,8.59L9.41,6L8,7.41L10.59,10L8,12.59L9.41,14L12,11.41L14.59,14L16,12.59L13.41,10L16,7.41L14.59,6M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17Z"},{PackIconKind.CloseOctagon,"M8.27,3L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27L15.73,3M8.41,7L12,10.59L15.59,7L17,8.41L13.41,12L17,15.59L15.59,17L12,13.41L8.41,17L7,15.59L10.59,12L7,8.41"},{PackIconKind.CloseOctagonOutline,"M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M9.12,7.71L7.71,9.12L10.59,12L7.71,14.88L9.12,16.29L12,13.41L14.88,16.29L16.29,14.88L13.41,12L16.29,9.12L14.88,7.71L12,10.59"},{PackIconKind.CloseOutline,"M3,16.74L7.76,12L3,7.26L7.26,3L12,7.76L16.74,3L21,7.26L16.24,12L21,16.74L16.74,21L12,16.24L7.26,21L3,16.74M12,13.41L16.74,18.16L18.16,16.74L13.41,12L18.16,7.26L16.74,5.84L12,10.59L7.26,5.84L5.84,7.26L10.59,12L5.84,16.74L7.26,18.16L12,13.41Z"},{PackIconKind.ClosedCaption,"M18,11H16.5V10.5H14.5V13.5H16.5V13H18V14A1,1 0 0,1 17,15H14A1,1 0 0,1 13,14V10A1,1 0 0,1 14,9H17A1,1 0 0,1 18,10M11,11H9.5V10.5H7.5V13.5H9.5V13H11V14A1,1 0 0,1 10,15H7A1,1 0 0,1 6,14V10A1,1 0 0,1 7,9H10A1,1 0 0,1 11,10M19,4H5C3.89,4 3,4.89 3,6V18A2,2 0 0,0 5,20H19A2,2 0 0,0 21,18V6C21,4.89 20.1,4 19,4Z"},{PackIconKind.Cloud,"M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"},{PackIconKind.CloudBraces,"M6,20A6,6 0 0,1 0,14C0,10.91 2.34,8.36 5.35,8.04C6.6,5.64 9.11,4 12,4C15.63,4 18.66,6.58 19.35,10C21.95,10.19 24,12.36 24,15A5,5 0 0,1 19,20H6M18.5,12H18A1,1 0 0,1 17,11V10A2,2 0 0,0 15,8H13.5V10H15V11A2,2 0 0,0 17,13A2,2 0 0,0 15,15V16H13.5V18H15A2,2 0 0,0 17,16V15A1,1 0 0,1 18,14H18.5V12M5.5,12V14H6A1,1 0 0,1 7,15V16A2,2 0 0,0 9,18H10.5V16H9V15A2,2 0 0,0 7,13A2,2 0 0,0 9,11V10H10.5V8H9A2,2 0 0,0 7,10V11A1,1 0 0,1 6,12H5.5Z"},{PackIconKind.CloudCheck,"M10,17L6.5,13.5L7.91,12.08L10,14.17L15.18,9L16.59,10.41M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"},{PackIconKind.CloudCircle,"M16.5,16H8A3,3 0 0,1 5,13A3,3 0 0,1 8,10C8.05,10 8.09,10 8.14,10C8.58,8.28 10.13,7 12,7A4,4 0 0,1 16,11H16.5A2.5,2.5 0 0,1 19,13.5A2.5,2.5 0 0,1 16.5,16M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.CloudDownload,"M17,13L12,18L7,13H10V9H14V13M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"},{PackIconKind.CloudOffOutline,"M7.73,10L15.73,18H6A4,4 0 0,1 2,14A4,4 0 0,1 6,10M3,5.27L5.75,8C2.56,8.15 0,10.77 0,14A6,6 0 0,0 6,20H17.73L19.73,22L21,20.73L4.27,4M19.35,10.03C18.67,6.59 15.64,4 12,4C10.5,4 9.15,4.43 8,5.17L9.45,6.63C10.21,6.23 11.08,6 12,6A5.5,5.5 0 0,1 17.5,11.5V12H19A3,3 0 0,1 22,15C22,16.13 21.36,17.11 20.44,17.62L21.89,19.07C23.16,18.16 24,16.68 24,15C24,12.36 21.95,10.22 19.35,10.03Z"},{PackIconKind.CloudOutline,"M19,18H6A4,4 0 0,1 2,14A4,4 0 0,1 6,10H6.71C7.37,7.69 9.5,6 12,6A5.5,5.5 0 0,1 17.5,11.5V12H19A3,3 0 0,1 22,15A3,3 0 0,1 19,18M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"},{PackIconKind.CloudPrint,"M12,2C9.11,2 6.6,3.64 5.35,6.04C2.34,6.36 0,8.91 0,12A6,6 0 0,0 6,18V22H18V18H19A5,5 0 0,0 24,13C24,10.36 21.95,8.22 19.35,8.04C18.67,4.59 15.64,2 12,2M8,13H16V20H8V13M9,14V15H15V14H9M9,16V17H15V16H9M9,18V19H15V18H9Z"},{PackIconKind.CloudPrintOutline,"M19,16A3,3 0 0,0 22,13A3,3 0 0,0 19,10H17.5V9.5A5.5,5.5 0 0,0 12,4C9.5,4 7.37,5.69 6.71,8H6A4,4 0 0,0 2,12A4,4 0 0,0 6,16V11H18V16H19M19.36,8.04C21.95,8.22 24,10.36 24,13A5,5 0 0,1 19,18H18V22H6V18A6,6 0 0,1 0,12C0,8.91 2.34,6.36 5.35,6.04C6.6,3.64 9.11,2 12,2C15.64,2 18.67,4.6 19.36,8.04M8,13V20H16V13H8M9,18H15V19H9V18M15,17H9V16H15V17M9,14H15V15H9V14Z"},{PackIconKind.CloudSync,"M12,4C15.64,4 18.67,6.59 19.35,10.04C21.95,10.22 24,12.36 24,15A5,5 0 0,1 19,20H6A6,6 0 0,1 0,14C0,10.91 2.34,8.36 5.35,8.04C6.6,5.64 9.11,4 12,4M7.5,9.69C6.06,11.5 6.2,14.06 7.82,15.68C8.66,16.5 9.81,17 11,17V18.86L13.83,16.04L11,13.21V15C10.34,15 9.7,14.74 9.23,14.27C8.39,13.43 8.26,12.11 8.92,11.12L7.5,9.69M9.17,8.97L10.62,10.42L12,11.79V10C12.66,10 13.3,10.26 13.77,10.73C14.61,11.57 14.74,12.89 14.08,13.88L15.5,15.31C16.94,13.5 16.8,10.94 15.18,9.32C14.34,8.5 13.19,8 12,8V6.14L9.17,8.97Z"},{PackIconKind.CloudTags,"M6,20A6,6 0 0,1 0,14C0,10.91 2.34,8.36 5.35,8.04C6.6,5.64 9.11,4 12,4C15.63,4 18.66,6.58 19.35,10C21.95,10.19 24,12.36 24,15A5,5 0 0,1 19,20H6M9.09,8.4L4.5,13L9.09,17.6L10.5,16.18L7.32,13L10.5,9.82L9.09,8.4M14.91,8.4L13.5,9.82L16.68,13L13.5,16.18L14.91,17.6L19.5,13L14.91,8.4Z"},{PackIconKind.CloudUpload,"M14,13V17H10V13H7L12,8L17,13M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"},{PackIconKind.Clover,"M12,11.18C15.3,8.18 17,6.64 17,4.69C17,3.19 15.75,2 14.25,2C13.39,2 12.57,2.36 12,3C11.43,2.36 10.61,2 9.69,2C8.19,2 7,3.25 7,4.75C7,6.64 8.7,8.18 12,11.18M11.18,12C8.18,8.7 6.64,7 4.69,7C3.19,7 2,8.25 2,9.75C2,10.61 2.36,11.43 3,12C2.36,12.57 2,13.39 2,14.31C2,15.81 3.25,17 4.75,17C6.64,17 8.18,15.3 11.18,12M12.83,12C15.82,15.3 17.36,17 19.31,17C20.81,17 22,15.75 22,14.25C22,13.39 21.64,12.57 21,12C21.64,11.43 22,10.61 22,9.69C22,8.19 20.75,7 19.25,7C17.36,7 15.82,8.7 12.83,12M12,12.82C8.7,15.82 7,17.36 7,19.31C7,20.81 8.25,22 9.75,22C10.61,22 11.43,21.64 12,21C12.57,21.64 13.39,22 14.31,22C15.81,22 17,20.75 17,19.25C17,17.36 15.3,15.82 12,12.82Z"},{PackIconKind.CodeArray,"M3,5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5M6,6V18H10V16H8V8H10V6H6M16,16H14V18H18V6H14V8H16V16Z"},{PackIconKind.CodeBraces,"M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z"},{PackIconKind.CodeBrackets,"M15,4V6H18V18H15V20H20V4M4,4V20H9V18H6V6H9V4H4Z"},{PackIconKind.CodeEqual,"M6,13H11V15H6M13,13H18V15H13M13,9H18V11H13M6,9H11V11H6M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5Z"},{PackIconKind.CodeGreaterThan,"M10.41,7.41L15,12L10.41,16.6L9,15.18L12.18,12L9,8.82M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5Z"},{PackIconKind.CodeGreaterThanOrEqual,"M13,13H18V15H13M13,9H18V11H13M6.91,7.41L11.5,12L6.91,16.6L5.5,15.18L8.68,12L5.5,8.82M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5Z"},{PackIconKind.CodeLessThan,"M13.59,7.41L9,12L13.59,16.6L15,15.18L11.82,12L15,8.82M19,3C20.11,3 21,3.9 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19Z"},{PackIconKind.CodeLessThanOrEqual,"M13,13H18V15H13M13,9H18V11H13M10.09,7.41L11.5,8.82L8.32,12L11.5,15.18L10.09,16.6L5.5,12M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5Z"},{PackIconKind.CodeNotEqual,"M6,15H8V17H6M11,13H18V15H11M11,9H18V11H11M6,7H8V13H6M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5Z"},{PackIconKind.CodeNotEqualVariant,"M11,6.5V9.33L8.33,12L11,14.67V17.5L5.5,12M13,6.43L18.57,12L13,17.57V14.74L15.74,12L13,9.26M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5Z"},{PackIconKind.CodeParentheses,"M17.62,3C19.13,5.27 20,8.55 20,12C20,15.44 19.13,18.72 17.62,21L16,19.96C17.26,18.07 18,15.13 18,12C18,8.87 17.26,5.92 16,4.03L17.62,3M6.38,3L8,4.04C6.74,5.92 6,8.87 6,12C6,15.13 6.74,18.08 8,19.96L6.38,21C4.87,18.73 4,15.45 4,12C4,8.55 4.87,5.27 6.38,3Z"},{PackIconKind.CodeString,"M3,5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5M12.5,11H11.5A1.5,1.5 0 0,1 10,9.5A1.5,1.5 0 0,1 11.5,8H12.5A1.5,1.5 0 0,1 14,9.5H16A3.5,3.5 0 0,0 12.5,6H11.5A3.5,3.5 0 0,0 8,9.5A3.5,3.5 0 0,0 11.5,13H12.5A1.5,1.5 0 0,1 14,14.5A1.5,1.5 0 0,1 12.5,16H11.5A1.5,1.5 0 0,1 10,14.5H8A3.5,3.5 0 0,0 11.5,18H12.5A3.5,3.5 0 0,0 16,14.5A3.5,3.5 0 0,0 12.5,11Z"},{PackIconKind.CodeTags,"M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z"},{PackIconKind.CodeTagsCheck,"M6.59,3.41L2,8L6.59,12.6L8,11.18L4.82,8L8,4.82L6.59,3.41M12.41,3.41L11,4.82L14.18,8L11,11.18L12.41,12.6L17,8L12.41,3.41M21.59,11.59L13.5,19.68L9.83,16L8.42,17.41L13.5,22.5L23,13L21.59,11.59Z"},{PackIconKind.Codepen,"M15.09,12L12,14.08V14.09L8.91,12L12,9.92V9.92L15.09,12M12,2C11.84,2 11.68,2.06 11.53,2.15L2.5,8.11C2.27,8.22 2.09,8.43 2,8.67V14.92C2,15.33 2,15.33 2.15,15.53L11.53,21.86C11.67,21.96 11.84,22 12,22C12.16,22 12.33,21.95 12.47,21.85L21.85,15.5C22,15.33 22,15.33 22,14.92V8.67C21.91,8.42 21.73,8.22 21.5,8.1L12.47,2.15C12.32,2.05 12.16,2 12,2M16.58,13L19.59,15.04L12.83,19.6V15.53L16.58,13M19.69,8.9L16.58,11L12.83,8.47V4.38L19.69,8.9M20.33,10.47V13.53L18.07,12L20.33,10.47M7.42,13L11.17,15.54V19.6L4.41,15.04L7.42,13M4.31,8.9L11.17,4.39V8.5L7.42,11L4.31,8.9M3.67,10.5L5.93,12L3.67,13.54V10.5Z"},{PackIconKind.Coffee,"M2,21H20V19H2M20,8H18V5H20M20,3H4V13A4,4 0 0,0 8,17H14A4,4 0 0,0 18,13V10H20A2,2 0 0,0 22,8V5C22,3.89 21.1,3 20,3Z"},{PackIconKind.CoffeeOutline,"M2,21V19H20V21H2M20,8V5H18V8H20M20,3A2,2 0 0,1 22,5V8A2,2 0 0,1 20,10H18V13A4,4 0 0,1 14,17H8A4,4 0 0,1 4,13V3H20M16,5H6V13A2,2 0 0,0 8,15H14A2,2 0 0,0 16,13V5Z"},{PackIconKind.CoffeeToGo,"M3,19V17H17L15.26,15.24L16.67,13.83L20.84,18L16.67,22.17L15.26,20.76L17,19H3M17,8V5H15V8H17M17,3C18.11,3 19,3.9 19,5V8C19,9.11 18.11,10 17,10H15V11A4,4 0 0,1 11,15H7A4,4 0 0,1 3,11V3H17Z"},{PackIconKind.Coin,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17V16H9V14H13V13H10A1,1 0 0,1 9,12V9A1,1 0 0,1 10,8H11V7H13V8H15V10H11V11H14A1,1 0 0,1 15,12V15A1,1 0 0,1 14,16H13V17H11Z"},{PackIconKind.Coins,"M15,4A8,8 0 0,1 23,12A8,8 0 0,1 15,20A8,8 0 0,1 7,12A8,8 0 0,1 15,4M15,18A6,6 0 0,0 21,12A6,6 0 0,0 15,6A6,6 0 0,0 9,12A6,6 0 0,0 15,18M3,12C3,14.61 4.67,16.83 7,17.65V19.74C3.55,18.85 1,15.73 1,12C1,8.27 3.55,5.15 7,4.26V6.35C4.67,7.17 3,9.39 3,12Z"},{PackIconKind.Collage,"M5,3C3.89,3 3,3.89 3,5V19C3,20.11 3.89,21 5,21H11V3M13,3V11H21V5C21,3.89 20.11,3 19,3M13,13V21H19C20.11,21 21,20.11 21,19V13"},{PackIconKind.ColorHelper,"M0,24H24V20H0V24Z"},{PackIconKind.Comment,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9Z"},{PackIconKind.CommentAccount,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M16,14V13C16,11.67 13.33,11 12,11C10.67,11 8,11.67 8,13V14H16M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6Z"},{PackIconKind.CommentAccountOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M16,14H8V13C8,11.67 10.67,11 12,11C13.33,11 16,11.67 16,13V14M12,6A2,2 0 0,1 14,8A2,2 0 0,1 12,10A2,2 0 0,1 10,8A2,2 0 0,1 12,6Z"},{PackIconKind.CommentAlert,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M13,10V6H11V10H13M13,14V12H11V14H13Z"},{PackIconKind.CommentAlertOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M13,10H11V6H13V10M13,14H11V12H13V14Z"},{PackIconKind.CommentCheck,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,15L18,7L16.59,5.58L10,12.17L7.41,9.59L6,11L10,15Z"},{PackIconKind.CommentCheckOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M16.5,8L11,13.5L7.5,10L8.91,8.59L11,10.67L15.09,6.59L16.5,8Z"},{PackIconKind.CommentMultipleOutline,"M12,23A1,1 0 0,1 11,22V19H7A2,2 0 0,1 5,17V7C5,5.89 5.9,5 7,5H21A2,2 0 0,1 23,7V17A2,2 0 0,1 21,19H16.9L13.2,22.71C13,22.9 12.75,23 12.5,23V23H12M13,17V20.08L16.08,17H21V7H7V17H13M3,15H1V3A2,2 0 0,1 3,1H19V3H3V15Z"},{PackIconKind.CommentOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10Z"},{PackIconKind.CommentPlusOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M11,6H13V9H16V11H13V14H11V11H8V9H11V6Z"},{PackIconKind.CommentProcessing,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M17,11V9H15V11H17M13,11V9H11V11H13M9,11V9H7V11H9Z"},{PackIconKind.CommentProcessingOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M17,11H15V9H17V11M13,11H11V9H13V11M9,11H7V9H9V11Z"},{PackIconKind.CommentQuestion,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2M12.19,5.5C11.3,5.5 10.59,5.68 10.05,6.04C9.5,6.4 9.22,7 9.27,7.69H11.24C11.24,7.41 11.34,7.2 11.5,7.06C11.7,6.92 11.92,6.85 12.19,6.85C12.5,6.85 12.77,6.93 12.95,7.11C13.13,7.28 13.22,7.5 13.22,7.8C13.22,8.08 13.14,8.33 13,8.54C12.83,8.76 12.62,8.94 12.36,9.08C11.84,9.4 11.5,9.68 11.29,9.92C11.1,10.16 11,10.5 11,11H13C13,10.72 13.05,10.5 13.14,10.32C13.23,10.15 13.4,10 13.66,9.85C14.12,9.64 14.5,9.36 14.79,9C15.08,8.63 15.23,8.24 15.23,7.8C15.23,7.1 14.96,6.54 14.42,6.12C13.88,5.71 13.13,5.5 12.19,5.5M11,12V14H13V12H11Z"},{PackIconKind.CommentQuestionOutline,"M4,2A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H8V21A1,1 0 0,0 9,22H9.5V22C9.75,22 10,21.9 10.2,21.71L13.9,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2H4M4,4H20V16H13.08L10,19.08V16H4V4M12.19,5.5C11.3,5.5 10.59,5.68 10.05,6.04C9.5,6.4 9.22,7 9.27,7.69C0.21,7.69 6.57,7.69 11.24,7.69C11.24,7.41 11.34,7.2 11.5,7.06C11.7,6.92 11.92,6.85 12.19,6.85C12.5,6.85 12.77,6.93 12.95,7.11C13.13,7.28 13.22,7.5 13.22,7.8C13.22,8.08 13.14,8.33 13,8.54C12.83,8.76 12.62,8.94 12.36,9.08C11.84,9.4 11.5,9.68 11.29,9.92C11.1,10.16 11,10.5 11,11H13C13,10.72 13.05,10.5 13.14,10.32C13.23,10.15 13.4,10 13.66,9.85C14.12,9.64 14.5,9.36 14.79,9C15.08,8.63 15.23,8.24 15.23,7.8C15.23,7.1 14.96,6.54 14.42,6.12C13.88,5.71 13.13,5.5 12.19,5.5M11,12V14H13V12H11Z"},{PackIconKind.CommentRemove,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M9.41,6L8,7.41L10.59,10L8,12.59L9.41,14L12,11.41L14.59,14L16,12.59L13.41,10L16,7.41L14.59,6L12,8.59L9.41,6Z"},{PackIconKind.CommentRemoveOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M9.41,6L12,8.59L14.59,6L16,7.41L13.41,10L16,12.59L14.59,14L12,11.41L9.41,14L8,12.59L10.59,10L8,7.41L9.41,6Z"},{PackIconKind.CommentText,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M5,5V7H19V5H5M5,9V11H13V9H5M5,13V15H15V13H5Z"},{PackIconKind.CommentTextOutline,"M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10M6,7H18V9H6V7M6,11H15V13H6V11Z"},{PackIconKind.Compare,"M19,3H14V5H19V18L14,12V21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10,18H5L10,12M10,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H10V23H12V1H10V3Z"},{PackIconKind.Compass,"M14.19,14.19L6,18L9.81,9.81L18,6M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,10.9A1.1,1.1 0 0,0 10.9,12A1.1,1.1 0 0,0 12,13.1A1.1,1.1 0 0,0 13.1,12A1.1,1.1 0 0,0 12,10.9Z"},{PackIconKind.CompassOutline,"M7,17L10.2,10.2L17,7L13.8,13.8L7,17M12,11.1A0.9,0.9 0 0,0 11.1,12A0.9,0.9 0 0,0 12,12.9A0.9,0.9 0 0,0 12.9,12A0.9,0.9 0 0,0 12,11.1M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.Console,"M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z"},{PackIconKind.ConsoleLine,"M13,19V16H21V19H13M8.5,13L2.47,7H6.71L11.67,11.95C12.25,12.54 12.25,13.5 11.67,14.07L6.74,19H2.5L8.5,13Z"},{PackIconKind.ContactMail,"M21,8V7L18,9L15,7V8L18,10M22,3H2A2,2 0 0,0 0,5V19A2,2 0 0,0 2,21H22A2,2 0 0,0 24,19V5A2,2 0 0,0 22,3M8,6A3,3 0 0,1 11,9A3,3 0 0,1 8,12A3,3 0 0,1 5,9A3,3 0 0,1 8,6M14,18H2V17C2,15 6,13.9 8,13.9C10,13.9 14,15 14,17M22,12H14V6H22"},{PackIconKind.Contacts,"M20,0H4V2H20V0M4,24H20V22H4V24M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M12,6.75A2.25,2.25 0 0,1 14.25,9A2.25,2.25 0 0,1 12,11.25A2.25,2.25 0 0,1 9.75,9A2.25,2.25 0 0,1 12,6.75M17,17H7V15.5C7,13.83 10.33,13 12,13C13.67,13 17,13.83 17,15.5V17Z"},{PackIconKind.ContentCopy,"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},{PackIconKind.ContentCut,"M19,3L13,9L15,11L22,4V3M12,12.5A0.5,0.5 0 0,1 11.5,12A0.5,0.5 0 0,1 12,11.5A0.5,0.5 0 0,1 12.5,12A0.5,0.5 0 0,1 12,12.5M6,20A2,2 0 0,1 4,18C4,16.89 4.9,16 6,16A2,2 0 0,1 8,18C8,19.11 7.1,20 6,20M6,8A2,2 0 0,1 4,6C4,4.89 4.9,4 6,4A2,2 0 0,1 8,6C8,7.11 7.1,8 6,8M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21H22V20L9.64,7.64Z"},{PackIconKind.ContentDuplicate,"M11,17H4A2,2 0 0,1 2,15V3A2,2 0 0,1 4,1H16V3H4V15H11V13L15,16L11,19V17M19,21V7H8V13H6V7A2,2 0 0,1 8,5H19A2,2 0 0,1 21,7V21A2,2 0 0,1 19,23H8A2,2 0 0,1 6,21V19H8V21H19Z"},{PackIconKind.ContentPaste,"M19,20H5V4H7V7H17V4H19M12,2A1,1 0 0,1 13,3A1,1 0 0,1 12,4A1,1 0 0,1 11,3A1,1 0 0,1 12,2M19,2H14.82C14.4,0.84 13.3,0 12,0C10.7,0 9.6,0.84 9.18,2H5A2,2 0 0,0 3,4V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V4A2,2 0 0,0 19,2Z"},{PackIconKind.ContentSave,"M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z"},{PackIconKind.ContentSaveAll,"M17,7V3H7V7H17M14,17A3,3 0 0,0 17,14A3,3 0 0,0 14,11A3,3 0 0,0 11,14A3,3 0 0,0 14,17M19,1L23,5V17A2,2 0 0,1 21,19H7C5.89,19 5,18.1 5,17V3A2,2 0 0,1 7,1H19M1,7H3V21H17V23H3A2,2 0 0,1 1,21V7Z"},{PackIconKind.ContentSaveOutline,"M15,5V9H5V19H9.35C8.5,18.27 8,17.19 8,16A4,4 0 0,1 12,12A4,4 0 0,1 16,16C16,17.19 15.5,18.27 14.65,19H19V7.83L16.17,5H15M5,7H13V5H5V7M17,3L21,7V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H17M12,14A2,2 0 0,0 10,16A2,2 0 0,0 12,18A2,2 0 0,0 14,16A2,2 0 0,0 12,14Z"},{PackIconKind.ContentSaveSettings,"M15,8V4H5V8H15M12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18M17,2L21,6V18A2,2 0 0,1 19,20H5C3.89,20 3,19.1 3,18V4A2,2 0 0,1 5,2H17M11,22H13V24H11V22M7,22H9V24H7V22M15,22H17V24H15V22Z"},{PackIconKind.Contrast,"M4.38,20.9C3.78,20.71 3.3,20.23 3.1,19.63L19.63,3.1C20.23,3.3 20.71,3.78 20.9,4.38L4.38,20.9M20,16V18H13V16H20M3,6H6V3H8V6H11V8H8V11H6V8H3V6Z"},{PackIconKind.ContrastBox,"M17,15.5H12V17H17M19,19H5L19,5M5.5,7.5H7.5V5.5H9V7.5H11V9H9V11H7.5V9H5.5M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.ContrastCircle,"M12,20C9.79,20 7.79,19.1 6.34,17.66L17.66,6.34C19.1,7.79 20,9.79 20,12A8,8 0 0,1 12,20M6,8H8V6H9.5V8H11.5V9.5H9.5V11.5H8V9.5H6M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,16H17V14.5H12V16Z"},{PackIconKind.Cookie,"M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12C21,11.5 20.96,11 20.87,10.5C20.6,10 20,10 20,10H18V9C18,8 17,8 17,8H15V7C15,6 14,6 14,6H13V4C13,3 12,3 12,3M9.5,6A1.5,1.5 0 0,1 11,7.5A1.5,1.5 0 0,1 9.5,9A1.5,1.5 0 0,1 8,7.5A1.5,1.5 0 0,1 9.5,6M6.5,10A1.5,1.5 0 0,1 8,11.5A1.5,1.5 0 0,1 6.5,13A1.5,1.5 0 0,1 5,11.5A1.5,1.5 0 0,1 6.5,10M11.5,11A1.5,1.5 0 0,1 13,12.5A1.5,1.5 0 0,1 11.5,14A1.5,1.5 0 0,1 10,12.5A1.5,1.5 0 0,1 11.5,11M16.5,13A1.5,1.5 0 0,1 18,14.5A1.5,1.5 0 0,1 16.5,16H16.5A1.5,1.5 0 0,1 15,14.5H15A1.5,1.5 0 0,1 16.5,13M11,16A1.5,1.5 0 0,1 12.5,17.5A1.5,1.5 0 0,1 11,19A1.5,1.5 0 0,1 9.5,17.5A1.5,1.5 0 0,1 11,16Z"},{PackIconKind.Copyright,"M10.08,10.86C10.13,10.53 10.24,10.24 10.38,10C10.5,9.74 10.72,9.53 10.97,9.37C11.21,9.22 11.5,9.15 11.88,9.14C12.11,9.15 12.32,9.19 12.5,9.27C12.71,9.36 12.89,9.5 13.03,9.63C13.17,9.78 13.28,9.96 13.37,10.16C13.46,10.36 13.5,10.58 13.5,10.8H15.3C15.28,10.33 15.19,9.9 15,9.5C14.85,9.12 14.62,8.78 14.32,8.5C14,8.22 13.66,8 13.24,7.84C12.82,7.68 12.36,7.61 11.85,7.61C11.2,7.61 10.63,7.72 10.15,7.95C9.67,8.18 9.27,8.5 8.95,8.87C8.63,9.26 8.39,9.71 8.24,10.23C8.09,10.75 8,11.29 8,11.87V12.14C8,12.72 8.08,13.26 8.23,13.78C8.38,14.3 8.62,14.75 8.94,15.13C9.26,15.5 9.66,15.82 10.14,16.04C10.62,16.26 11.19,16.38 11.84,16.38C12.31,16.38 12.75,16.3 13.16,16.15C13.57,16 13.93,15.79 14.24,15.5C14.55,15.25 14.8,14.94 15,14.58C15.16,14.22 15.27,13.84 15.28,13.43H13.5C13.5,13.64 13.43,13.83 13.34,14C13.25,14.19 13.13,14.34 13,14.47C12.83,14.6 12.66,14.7 12.46,14.77C12.27,14.84 12.07,14.86 11.86,14.87C11.5,14.86 11.2,14.79 10.97,14.64C10.72,14.5 10.5,14.27 10.38,14C10.24,13.77 10.13,13.47 10.08,13.14C10.03,12.81 10,12.47 10,12.14V11.87C10,11.5 10.03,11.19 10.08,10.86M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20Z"},{PackIconKind.Corn,"M11,12H8.82C9.62,12.5 10.35,13.07 11,13.68V12M7,11C7.27,5.88 9.37,2 12,2C14.66,2 16.77,5.94 17,11.12C18.5,10.43 20.17,10 22,10C16.25,12.57 18.25,22 12,22C6,22 7.93,12.57 2,10C3.82,10 5.5,10.4 7,11M11,11V9H8.24L8.03,11H11M11,8V6H9.05C8.8,6.6 8.6,7.27 8.43,8H11M11,5V3.3C10.45,3.63 9.95,4.22 9.5,5H11M12,3V5H13V6H12V8H14V9H12V11H15V12H12V14H14V15H12.23C13.42,16.45 14.15,18 14.32,19.23C15.31,17.56 15.96,14.84 16,11.76C15.94,7 14.13,3 12,3Z"},{PackIconKind.Counter,"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,6V18H11V6H4M20,18V6H18.76C19,6.54 18.95,7.07 18.95,7.13C18.88,7.8 18.41,8.5 18.24,8.75L15.91,11.3L19.23,11.28L19.24,12.5L14.04,12.47L14,11.47C14,11.47 17.05,8.24 17.2,7.95C17.34,7.67 17.91,6 16.5,6C15.27,6.05 15.41,7.3 15.41,7.3L13.87,7.31C13.87,7.31 13.88,6.65 14.25,6H13V18H15.58L15.57,17.14L16.54,17.13C16.54,17.13 17.45,16.97 17.46,16.08C17.5,15.08 16.65,15.08 16.5,15.08C16.37,15.08 15.43,15.13 15.43,15.95H13.91C13.91,15.95 13.95,13.89 16.5,13.89C19.1,13.89 18.96,15.91 18.96,15.91C18.96,15.91 19,17.16 17.85,17.63L18.37,18H20M8.92,16H7.42V10.2L5.62,10.76V9.53L8.76,8.41H8.92V16Z"},{PackIconKind.Cow,"M10.5,18A0.5,0.5 0 0,1 11,18.5A0.5,0.5 0 0,1 10.5,19A0.5,0.5 0 0,1 10,18.5A0.5,0.5 0 0,1 10.5,18M13.5,18A0.5,0.5 0 0,1 14,18.5A0.5,0.5 0 0,1 13.5,19A0.5,0.5 0 0,1 13,18.5A0.5,0.5 0 0,1 13.5,18M10,11A1,1 0 0,1 11,12A1,1 0 0,1 10,13A1,1 0 0,1 9,12A1,1 0 0,1 10,11M14,11A1,1 0 0,1 15,12A1,1 0 0,1 14,13A1,1 0 0,1 13,12A1,1 0 0,1 14,11M18,18C18,20.21 15.31,22 12,22C8.69,22 6,20.21 6,18C6,17.1 6.45,16.27 7.2,15.6C6.45,14.6 6,13.35 6,12L6.12,10.78C5.58,10.93 4.93,10.93 4.4,10.78C3.38,10.5 1.84,9.35 2.07,8.55C2.3,7.75 4.21,7.6 5.23,7.9C5.82,8.07 6.45,8.5 6.82,8.96L7.39,8.15C6.79,7.05 7,4 10,3L9.91,3.14V3.14C9.63,3.58 8.91,4.97 9.67,6.47C10.39,6.17 11.17,6 12,6C12.83,6 13.61,6.17 14.33,6.47C15.09,4.97 14.37,3.58 14.09,3.14L14,3C17,4 17.21,7.05 16.61,8.15L17.18,8.96C17.55,8.5 18.18,8.07 18.77,7.9C19.79,7.6 21.7,7.75 21.93,8.55C22.16,9.35 20.62,10.5 19.6,10.78C19.07,10.93 18.42,10.93 17.88,10.78L18,12C18,13.35 17.55,14.6 16.8,15.6C17.55,16.27 18,17.1 18,18M12,16C9.79,16 8,16.9 8,18C8,19.1 9.79,20 12,20C14.21,20 16,19.1 16,18C16,16.9 14.21,16 12,16M12,14C13.12,14 14.17,14.21 15.07,14.56C15.65,13.87 16,13 16,12A4,4 0 0,0 12,8A4,4 0 0,0 8,12C8,13 8.35,13.87 8.93,14.56C9.83,14.21 10.88,14 12,14M14.09,3.14V3.14Z"},{PackIconKind.Creation,"M19,1L17.74,3.75L15,5L17.74,6.26L19,9L20.25,6.26L23,5L20.25,3.75M9,4L6.5,9.5L1,12L6.5,14.5L9,20L11.5,14.5L17,12L11.5,9.5M19,15L17.74,17.74L15,19L17.74,20.25L19,23L20.25,20.25L23,19L20.25,17.74"},{PackIconKind.CreditCard,"M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"},{PackIconKind.CreditCardMultiple,"M21,8V6H7V8H21M21,16V11H7V16H21M21,4A2,2 0 0,1 23,6V16A2,2 0 0,1 21,18H7C5.89,18 5,17.1 5,16V6C5,4.89 5.89,4 7,4H21M3,20H18V22H3A2,2 0 0,1 1,20V9H3V20Z"},{PackIconKind.CreditCardOff,"M0.93,4.2L2.21,2.93L20,20.72L18.73,22L16.73,20H4C2.89,20 2,19.1 2,18V6C2,5.78 2.04,5.57 2.11,5.38L0.93,4.2M20,8V6H7.82L5.82,4H20A2,2 0 0,1 22,6V18C22,18.6 21.74,19.13 21.32,19.5L19.82,18H20V12H13.82L9.82,8H20M4,8H4.73L4,7.27V8M4,12V18H14.73L8.73,12H4Z"},{PackIconKind.CreditCardPlus,"M21,18H24V20H21V23H19V20H16V18H19V15H21V18M19,8V6H3V8H19M19,12H3V18H14V20H3C1.89,20 1,19.1 1,18V6C1,4.89 1.89,4 3,4H19A2,2 0 0,1 21,6V13H19V12Z"},{PackIconKind.CreditCardScan,"M2,4H6V2H2A2,2 0 0,0 0,4V8H2V4M22,2H18V4H22V8H24V4A2,2 0 0,0 22,2M2,16H0V20A2,2 0 0,0 2,22H6V20H2V16M22,20H18V22H22A2,2 0 0,0 24,20V16H22V20M4,8V16A2,2 0 0,0 6,18H18A2,2 0 0,0 20,16V8A2,2 0 0,0 18,6H6A2,2 0 0,0 4,8M6,16V12H18V16H6M18,8V10H6V8H18Z"},{PackIconKind.Crop,"M7,17V1H5V5H1V7H5V17A2,2 0 0,0 7,19H17V23H19V19H23V17M17,15H19V7C19,5.89 18.1,5 17,5H9V7H17V15Z"},{PackIconKind.CropFree,"M19,3H15V5H19V9H21V5C21,3.89 20.1,3 19,3M19,19H15V21H19A2,2 0 0,0 21,19V15H19M5,15H3V19A2,2 0 0,0 5,21H9V19H5M3,5V9H5V5H9V3H5A2,2 0 0,0 3,5Z"},{PackIconKind.CropLandscape,"M19,17H5V7H19M19,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H19A2,2 0 0,0 21,17V7C21,5.89 20.1,5 19,5Z"},{PackIconKind.CropPortrait,"M17,19H7V5H17M17,3H7A2,2 0 0,0 5,5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V5C19,3.89 18.1,3 17,3Z"},{PackIconKind.CropRotate,"M7.47,21.5C4.2,19.93 1.86,16.76 1.5,13H0C0.5,19.16 5.66,24 11.95,24C12.18,24 12.39,24 12.61,23.97L8.8,20.15L7.47,21.5M12.05,0C11.82,0 11.61,0 11.39,0.04L15.2,3.85L16.53,2.5C19.8,4.07 22.14,7.24 22.5,11H24C23.5,4.84 18.34,0 12.05,0M16,14H18V8C18,6.89 17.1,6 16,6H10V8H16V14M8,16V4H6V6H4V8H6V16A2,2 0 0,0 8,18H16V20H18V18H20V16H8Z"},{PackIconKind.CropSquare,"M18,18H6V6H18M18,4H6A2,2 0 0,0 4,6V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18V6C20,4.89 19.1,4 18,4Z"},{PackIconKind.Crosshairs,"M3.05,13H1V11H3.05C3.5,6.83 6.83,3.5 11,3.05V1H13V3.05C17.17,3.5 20.5,6.83 20.95,11H23V13H20.95C20.5,17.17 17.17,20.5 13,20.95V23H11V20.95C6.83,20.5 3.5,17.17 3.05,13M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5Z"},{PackIconKind.CrosshairsGps,"M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M3.05,13H1V11H3.05C3.5,6.83 6.83,3.5 11,3.05V1H13V3.05C17.17,3.5 20.5,6.83 20.95,11H23V13H20.95C20.5,17.17 17.17,20.5 13,20.95V23H11V20.95C6.83,20.5 3.5,17.17 3.05,13M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5Z"},{PackIconKind.Crown,"M5,16L3,5L8.5,12L12,5L15.5,12L21,5L19,16H5M19,19A1,1 0 0,1 18,20H6A1,1 0 0,1 5,19V18H19V19Z"},{PackIconKind.Cube,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L6.04,7.5L12,10.85L17.96,7.5L12,4.15Z"},{PackIconKind.CubeOutline,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L6.04,7.5L12,10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V9.21L13,12.58V19.29L19,15.91Z"},{PackIconKind.CubeSend,"M16,4L9,8.04V15.96L16,20L23,15.96V8.04M16,6.31L19.8,8.5L16,10.69L12.21,8.5M0,7V9H7V7M11,10.11L15,12.42V17.11L11,14.81M21,10.11V14.81L17,17.11V12.42M2,11V13H7V11M4,15V17H7V15"},{PackIconKind.CubeUnfolded,"M6,9V4H13V9H23V16H18V21H11V16H1V9H6M16,16H13V19H16V16M8,9H11V6H8V9M6,14V11H3V14H6M18,11V14H21V11H18M13,11V14H16V11H13M8,11V14H11V11H8Z"},{PackIconKind.Cup,"M18.32,8H5.67L5.23,4H18.77M3,2L5,20.23C5.13,21.23 5.97,22 7,22H17C18,22 18.87,21.23 19,20.23L21,2H3Z"},{PackIconKind.CupOff,"M1,4.27L2.28,3L21,21.72L19.73,23L18.27,21.54C17.93,21.83 17.5,22 17,22H7C5.97,22 5.13,21.23 5,20.23L3.53,6.8L1,4.27M18.32,8L18.77,4H5.82L3.82,2H21L19.29,17.47L9.82,8H18.32Z"},{PackIconKind.CupWater,"M18.32,8H5.67L5.23,4H18.77M12,19A3,3 0 0,1 9,16C9,14 12,10.6 12,10.6C12,10.6 15,14 15,16A3,3 0 0,1 12,19M3,2L5,20.23C5.13,21.23 5.97,22 7,22H17C18,22 18.87,21.23 19,20.23L21,2H3Z"},{PackIconKind.CurrencyBtc,"M6,4H8V2H10V4H12V2H14V4.03C16.25,4.28 18,6.18 18,8.5C18,9.8 17.45,11 16.56,11.8C17.73,12.61 18.5,13.97 18.5,15.5C18.5,18 16.5,20 14,20V22H12V20H10V22H8V20H6L6.5,18H8V6H6V4M10,13V18H14A2.5,2.5 0 0,0 16.5,15.5A2.5,2.5 0 0,0 14,13H10M10,6V11H13.5A2.5,2.5 0 0,0 16,8.5A2.5,2.5 0 0,0 13.5,6H13.5L10,6Z"},{PackIconKind.CurrencyChf,"M7,3H18V5H9V11H17V13H9V16H11V18H9V21H7V18H5V16H7V3Z"},{PackIconKind.CurrencyCny,"M11,21V16H6V14H11V13.71L10.16,12H6V10H9.19L5.77,3H8L12,11.2L16,3H18.23L14.81,10H18V12H13.84L13,13.71V14H18V16H13V21H11Z"},{PackIconKind.CurrencyEth,"M12,1.75L5.75,12.25L12,16L18.25,12.25L12,1.75M5.75,13.5L12,22.25L18.25,13.5L12,17.25L5.75,13.5Z"},{PackIconKind.CurrencyEur,"M7.07,11L7,12L7.07,13H17.35L16.5,15H7.67C8.8,17.36 11.21,19 14,19C16.23,19 18.22,17.96 19.5,16.33V19.12C18,20.3 16.07,21 14,21C10.08,21 6.75,18.5 5.5,15H2L3,13H5.05L5,12L5.05,11H2L3,9H5.5C6.75,5.5 10.08,3 14,3C16.5,3 18.8,4.04 20.43,5.71L19.57,7.75C18.29,6.08 16.27,5 14,5C11.21,5 8.8,6.64 7.67,9H19.04L18.19,11H7.07Z"},{PackIconKind.CurrencyGbp,"M6.5,21V19.75C7.44,19.29 8.24,18.57 8.81,17.7C9.38,16.83 9.67,15.85 9.68,14.75L9.66,13.77L9.57,13H7V11H9.4C9.25,10.17 9.16,9.31 9.13,8.25C9.16,6.61 9.64,5.33 10.58,4.41C11.5,3.5 12.77,3 14.32,3C15.03,3 15.64,3.07 16.13,3.2C16.63,3.32 17,3.47 17.31,3.65L16.76,5.39C16.5,5.25 16.19,5.12 15.79,5C15.38,4.9 14.89,4.85 14.32,4.84C13.25,4.86 12.5,5.19 12,5.83C11.5,6.46 11.29,7.28 11.3,8.28L11.4,9.77L11.6,11H15.5V13H11.79C11.88,14 11.84,15 11.65,15.96C11.35,17.16 10.74,18.18 9.83,19H18V21H6.5Z"},{PackIconKind.CurrencyInr,"M8,3H18L17,5H13.74C14.22,5.58 14.58,6.26 14.79,7H18L17,9H15C14.75,11.57 12.74,13.63 10.2,13.96V14H9.5L15.5,21H13L7,14V12H9.5V12C11.26,12 12.72,10.7 12.96,9H7L8,7H12.66C12.1,5.82 10.9,5 9.5,5H7L8,3Z"},{PackIconKind.CurrencyJpy,"M11,21V16H6V14H11V13.71L10.16,12H6V10H9.19L5.77,3H8L12,11.2L16,3H18.23L14.81,10H18V12H13.84L13,13.71V14H18V16H13V21H11Z"},{PackIconKind.CurrencyKrw,"M2,3H4L5.33,9H9.33L10.67,3H13.33L14.67,9H18.67L20,3H22L20.67,9H22V11H20.22L19.78,13H22V15H19.33L18,21H15.33L14,15H10L8.67,21H6L4.67,15H2V13H4.22L3.78,11H2V9H3.33L2,3M13.11,11H10.89L10.44,13H13.56L13.11,11M7.33,18L8,15H6.67L7.33,18M8.89,11H5.78L6.22,13H8.44L8.89,11M16.67,18L17.33,15H16L16.67,18M18.22,11H15.11L15.56,13H17.78L18.22,11M12,6L11.33,9H12.67L12,6Z"},{PackIconKind.CurrencyNgn,"M4,9H6V3H8L11.42,9H16V3H18V9H20V11H18V13H20V15H18V21H16L12.57,15H8V21H6V15H4V13H6V11H4V9M8,9H9.13L8,7.03V9M8,11V13H11.42L10.28,11H8M16,17V15H14.85L16,17M12.56,11L13.71,13H16V11H12.56Z"},{PackIconKind.CurrencyRub,"M6,10H7V3H14.5C17,3 19,5 19,7.5C19,10 17,12 14.5,12H9V14H15V16H9V21H7V16H6V14H7V12H6V10M14.5,5H9V10H14.5A2.5,2.5 0 0,0 17,7.5A2.5,2.5 0 0,0 14.5,5Z"},{PackIconKind.CurrencySign,"M22,12C22,9.86 21.29,7.78 20,6.07L22,4.07L19.94,1.94L17.94,3.94C14.4,1.36 9.59,1.38 6.07,4L4.07,2L1.94,4.06L3.94,6.06C1.36,9.6 1.38,14.41 4,17.93L2,19.93L4.12,22.05L6.12,20.05C9.65,22.65 14.45,22.65 18,20.05L20,22.05L22.1,19.93L20.1,17.93C21.35,16.21 22,14.13 22,12M12,19A7,7 0 0,1 5,12A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19Z"},{PackIconKind.CurrencyTry,"M19,12A9,9 0 0,1 10,21H8V12.77L5,13.87V11.74L8,10.64V8.87L5,9.96V7.84L8,6.74V3H10V6L15,4.2V6.32L10,8.14V9.92L15,8.1V10.23L10,12.05V19A7,7 0 0,0 17,12H19Z"},{PackIconKind.CurrencyTwd,"M3,11H21V13H15V19H21V21H15A2,2 0 0,1 13,19V13H10.35L5.73,21L4,20L8.04,13H3V11M5,3H19V5H5V3Z"},{PackIconKind.CurrencyUsd,"M11.8,10.9C9.53,10.31 8.8,9.7 8.8,8.75C8.8,7.66 9.81,6.9 11.5,6.9C13.28,6.9 13.94,7.75 14,9H16.21C16.14,7.28 15.09,5.7 13,5.19V3H10V5.16C8.06,5.58 6.5,6.84 6.5,8.77C6.5,11.08 8.41,12.23 11.2,12.9C13.7,13.5 14.2,14.38 14.2,15.31C14.2,16 13.71,17.1 11.5,17.1C9.44,17.1 8.63,16.18 8.5,15H6.32C6.44,17.19 8.08,18.42 10,18.83V21H13V18.85C14.95,18.5 16.5,17.35 16.5,15.3C16.5,12.46 14.07,11.5 11.8,10.9Z"},{PackIconKind.CurrencyUsdOff,"M12.5,6.9C14.28,6.9 14.94,7.75 15,9H17.21C17.14,7.28 16.09,5.7 14,5.19V3H11V5.16C10.47,5.28 9.97,5.46 9.5,5.7L11,7.17C11.4,7 11.9,6.9 12.5,6.9M5.33,4.06L4.06,5.33L7.5,8.77C7.5,10.85 9.06,12 11.41,12.68L14.92,16.19C14.58,16.67 13.87,17.1 12.5,17.1C10.44,17.1 9.63,16.18 9.5,15H7.32C7.44,17.19 9.08,18.42 11,18.83V21H14V18.85C14.96,18.67 15.82,18.3 16.45,17.73L18.67,19.95L19.94,18.68L5.33,4.06Z"},{PackIconKind.CursorDefault,"M13.64,21.97C13.14,22.21 12.54,22 12.31,21.5L10.13,16.76L7.62,18.78C7.45,18.92 7.24,19 7,19A1,1 0 0,1 6,18V3A1,1 0 0,1 7,2C7.24,2 7.47,2.09 7.64,2.23L7.65,2.22L19.14,11.86C19.57,12.22 19.62,12.85 19.27,13.27C19.12,13.45 18.91,13.57 18.7,13.61L15.54,14.23L17.74,18.96C18,19.46 17.76,20.05 17.26,20.28L13.64,21.97Z"},{PackIconKind.CursorDefaultOutline,"M10.07,14.27C10.57,14.03 11.16,14.25 11.4,14.75L13.7,19.74L15.5,18.89L13.19,13.91C12.95,13.41 13.17,12.81 13.67,12.58L13.95,12.5L16.25,12.05L8,5.12V15.9L9.82,14.43L10.07,14.27M13.64,21.97C13.14,22.21 12.54,22 12.31,21.5L10.13,16.76L7.62,18.78C7.45,18.92 7.24,19 7,19A1,1 0 0,1 6,18V3A1,1 0 0,1 7,2C7.24,2 7.47,2.09 7.64,2.23L7.65,2.22L19.14,11.86C19.57,12.22 19.62,12.85 19.27,13.27C19.12,13.45 18.91,13.57 18.7,13.61L15.54,14.23L17.74,18.96C18,19.46 17.76,20.05 17.26,20.28L13.64,21.97Z"},{PackIconKind.CursorMove,"M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"},{PackIconKind.CursorPointer,"M10,2A2,2 0 0,1 12,4V8.5C12,8.5 14,8.25 14,9.25C14,9.25 16,9 16,10C16,10 18,9.75 18,10.75C18,10.75 20,10.5 20,11.5V15C20,16 17,21 17,22H9C9,22 7,15 4,13C4,13 3,7 8,12V4A2,2 0 0,1 10,2Z"},{PackIconKind.CursorText,"M13,19A1,1 0 0,0 14,20H16V22H13.5C12.95,22 12,21.55 12,21C12,21.55 11.05,22 10.5,22H8V20H10A1,1 0 0,0 11,19V5A1,1 0 0,0 10,4H8V2H10.5C11.05,2 12,2.45 12,3C12,2.45 12.95,2 13.5,2H16V4H14A1,1 0 0,0 13,5V19Z"},{PackIconKind.Database,"M12,3C7.58,3 4,4.79 4,7C4,9.21 7.58,11 12,11C16.42,11 20,9.21 20,7C20,4.79 16.42,3 12,3M4,9V12C4,14.21 7.58,16 12,16C16.42,16 20,14.21 20,12V9C20,11.21 16.42,13 12,13C7.58,13 4,11.21 4,9M4,14V17C4,19.21 7.58,21 12,21C16.42,21 20,19.21 20,17V14C20,16.21 16.42,18 12,18C7.58,18 4,16.21 4,14Z"},{PackIconKind.DatabaseMinus,"M9,3C4.58,3 1,4.79 1,7C1,9.21 4.58,11 9,11C13.42,11 17,9.21 17,7C17,4.79 13.42,3 9,3M1,9V12C1,14.21 4.58,16 9,16C13.42,16 17,14.21 17,12V9C17,11.21 13.42,13 9,13C4.58,13 1,11.21 1,9M1,14V17C1,19.21 4.58,21 9,21C10.41,21 11.79,20.81 13,20.46V17.46C11.79,17.81 10.41,18 9,18C4.58,18 1,16.21 1,14M15,17V19H23V17"},{PackIconKind.DatabasePlus,"M9,3C4.58,3 1,4.79 1,7C1,9.21 4.58,11 9,11C13.42,11 17,9.21 17,7C17,4.79 13.42,3 9,3M1,9V12C1,14.21 4.58,16 9,16C13.42,16 17,14.21 17,12V9C17,11.21 13.42,13 9,13C4.58,13 1,11.21 1,9M1,14V17C1,19.21 4.58,21 9,21C10.41,21 11.79,20.81 13,20.46V17.46C11.79,17.81 10.41,18 9,18C4.58,18 1,16.21 1,14M18,14V17H15V19H18V22H20V19H23V17H20V14"},{PackIconKind.DatabaseSearch,"M10,1C5.58,1 2,2.79 2,5C2,7.06 5.13,8.74 9.15,8.96C10.45,7.7 12.19,7 14,7C14.8,7 15.59,7.14 16.34,7.41C17.37,6.74 18,5.91 18,5C18,2.79 14.42,1 10,1M2,7V10C2,11.68 4.08,13.11 7,13.71C7.06,12.7 7.32,11.72 7.77,10.82C4.44,10.34 2,8.82 2,7M13.93,8.94C12.75,8.95 11.53,9.4 10.46,10.46C6.21,14.71 11.71,21.5 16.75,18.17L21.29,22.71L22.71,21.29L18.17,16.75C20.66,12.97 17.47,8.93 13.93,8.94M13.9,11C15.47,10.95 17,12.16 17,14A3,3 0 0,1 14,17C11.33,17 10,13.77 11.88,11.88C12.47,11.29 13.19,11 13.9,11M2,12V15C2,17.05 5.09,18.72 9.06,18.95C8.17,18.07 7.54,16.95 7.22,15.74C4.18,15.17 2,13.72 2,12Z"},{PackIconKind.DebugStepInto,"M12,22A2,2 0 0,1 10,20A2,2 0 0,1 12,18A2,2 0 0,1 14,20A2,2 0 0,1 12,22M13,2V13L17.5,8.5L18.92,9.92L12,16.84L5.08,9.92L6.5,8.5L11,13V2H13Z"},{PackIconKind.DebugStepOut,"M12,22A2,2 0 0,1 10,20A2,2 0 0,1 12,18A2,2 0 0,1 14,20A2,2 0 0,1 12,22M13,16H11V6L6.5,10.5L5.08,9.08L12,2.16L18.92,9.08L17.5,10.5L13,6V16Z"},{PackIconKind.DebugStepOver,"M12,14A2,2 0 0,1 14,16A2,2 0 0,1 12,18A2,2 0 0,1 10,16A2,2 0 0,1 12,14M23.46,8.86L21.87,15.75L15,14.16L18.8,11.78C17.39,9.5 14.87,8 12,8C8.05,8 4.77,10.86 4.12,14.63L2.15,14.28C2.96,9.58 7.06,6 12,6C15.58,6 18.73,7.89 20.5,10.72L23.46,8.86Z"},{PackIconKind.Decagram,"M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12Z"},{PackIconKind.DecagramOutline,"M23,12L20.56,14.78L20.9,18.46L17.29,19.28L15.4,22.46L12,21L8.6,22.47L6.71,19.29L3.1,18.47L3.44,14.78L1,12L3.44,9.21L3.1,5.53L6.71,4.72L8.6,1.54L12,3L15.4,1.54L17.29,4.72L20.9,5.54L20.56,9.22L23,12M20.33,12L18.5,9.89L18.74,7.1L16,6.5L14.58,4.07L12,5.18L9.42,4.07L8,6.5L5.26,7.09L5.5,9.88L3.67,12L5.5,14.1L5.26,16.9L8,17.5L9.42,19.93L12,18.81L14.58,19.92L16,17.5L18.74,16.89L18.5,14.1L20.33,12Z"},{PackIconKind.DecimalDecrease,"M12,17L15,20V18H21V16H15V14L12,17M9,5A3,3 0 0,1 12,8V11A3,3 0 0,1 9,14A3,3 0 0,1 6,11V8A3,3 0 0,1 9,5M9,7A1,1 0 0,0 8,8V11A1,1 0 0,0 9,12A1,1 0 0,0 10,11V8A1,1 0 0,0 9,7M4,12A1,1 0 0,1 5,13A1,1 0 0,1 4,14A1,1 0 0,1 3,13A1,1 0 0,1 4,12Z"},{PackIconKind.DecimalIncrease,"M22,17L19,20V18H13V16H19V14L22,17M9,5A3,3 0 0,1 12,8V11A3,3 0 0,1 9,14A3,3 0 0,1 6,11V8A3,3 0 0,1 9,5M9,7A1,1 0 0,0 8,8V11A1,1 0 0,0 9,12A1,1 0 0,0 10,11V8A1,1 0 0,0 9,7M16,5A3,3 0 0,1 19,8V11A3,3 0 0,1 16,14A3,3 0 0,1 13,11V8A3,3 0 0,1 16,5M16,7A1,1 0 0,0 15,8V11A1,1 0 0,0 16,12A1,1 0 0,0 17,11V8A1,1 0 0,0 16,7M4,12A1,1 0 0,1 5,13A1,1 0 0,1 4,14A1,1 0 0,1 3,13A1,1 0 0,1 4,12Z"},{PackIconKind.Delete,"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},{PackIconKind.DeleteCircle,"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M17,7H14.5L13.5,6H10.5L9.5,7H7V9H17V7M9,18H15A1,1 0 0,0 16,17V10H8V17A1,1 0 0,0 9,18Z"},{PackIconKind.DeleteEmpty,"M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z"},{PackIconKind.DeleteForever,"M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8.46,11.88L9.87,10.47L12,12.59L14.12,10.47L15.53,11.88L13.41,14L15.53,16.12L14.12,17.53L12,15.41L9.88,17.53L8.47,16.12L10.59,14L8.46,11.88M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z"},{PackIconKind.DeleteRestore,"M14,14H16L12,10L8,14H10V18H14V14M6,7H18V19C18,19.5 17.8,20 17.39,20.39C17,20.8 16.5,21 16,21H8C7.5,21 7,20.8 6.61,20.39C6.2,20 6,19.5 6,19V7M19,4V6H5V4H8.5L9.5,3H14.5L15.5,4H19Z"},{PackIconKind.DeleteSweep,"M15,16H19V18H15V16M15,8H22V10H15V8M15,12H21V14H15V12M3,18A2,2 0 0,0 5,20H11A2,2 0 0,0 13,18V8H3V18M14,5H11L10,4H6L5,5H2V7H14V5Z"},{PackIconKind.DeleteVariant,"M21.03,3L18,20.31C17.83,21.27 17,22 16,22H8C7,22 6.17,21.27 6,20.31L2.97,3H21.03M5.36,5L8,20H16L18.64,5H5.36M9,18V14H13V18H9M13,13.18L9.82,10L13,6.82L16.18,10L13,13.18Z"},{PackIconKind.Delta,"M12,7.77L18.39,18H5.61L12,7.77M12,4L2,20H22"},{PackIconKind.Deskphone,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,5V19H19V5H15M5,5V9H13V5H5M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M5,14V16H7V14H5M8,14V16H10V14H8M11,14V16H13V14H11M11,17V19H13V17H11M8,17V19H10V17H8M5,17V19H7V17H5Z"},{PackIconKind.DesktopClassic,"M6,2C4.89,2 4,2.89 4,4V12C4,13.11 4.89,14 6,14H18C19.11,14 20,13.11 20,12V4C20,2.89 19.11,2 18,2H6M6,4H18V12H6V4M4,15C2.89,15 2,15.89 2,17V20C2,21.11 2.89,22 4,22H20C21.11,22 22,21.11 22,20V17C22,15.89 21.11,15 20,15H4M8,17H20V20H8V17M9,17.75V19.25H13V17.75H9M15,17.75V19.25H19V17.75H15Z"},{PackIconKind.DesktopMac,"M21,14H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10L8,21V22H16V21L14,18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z"},{PackIconKind.DesktopTower,"M8,2H16A2,2 0 0,1 18,4V20A2,2 0 0,1 16,22H8A2,2 0 0,1 6,20V4A2,2 0 0,1 8,2M8,4V6H16V4H8M16,8H8V10H16V8M16,18H14V20H16V18Z"},{PackIconKind.Details,"M6.38,6H17.63L12,16L6.38,6M3,4L12,20L21,4H3Z"},{PackIconKind.DeveloperBoard,"M22,9V7H20V5A2,2 0 0,0 18,3H4A2,2 0 0,0 2,5V19A2,2 0 0,0 4,21H18A2,2 0 0,0 20,19V17H22V15H20V13H22V11H20V9H22M18,19H4V5H18V19M6,13H11V17H6V13M12,7H16V10H12V7M6,7H11V12H6V7M12,11H16V17H12V11Z"},{PackIconKind.Deviantart,"M6,6H12L14,2H18V6L14.5,13H18V18H12L10,22H6V18L9.5,11H6V6Z"},{PackIconKind.Dialpad,"M12,19A2,2 0 0,0 10,21A2,2 0 0,0 12,23A2,2 0 0,0 14,21A2,2 0 0,0 12,19M6,1A2,2 0 0,0 4,3A2,2 0 0,0 6,5A2,2 0 0,0 8,3A2,2 0 0,0 6,1M6,7A2,2 0 0,0 4,9A2,2 0 0,0 6,11A2,2 0 0,0 8,9A2,2 0 0,0 6,7M6,13A2,2 0 0,0 4,15A2,2 0 0,0 6,17A2,2 0 0,0 8,15A2,2 0 0,0 6,13M18,5A2,2 0 0,0 20,3A2,2 0 0,0 18,1A2,2 0 0,0 16,3A2,2 0 0,0 18,5M12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13M18,13A2,2 0 0,0 16,15A2,2 0 0,0 18,17A2,2 0 0,0 20,15A2,2 0 0,0 18,13M18,7A2,2 0 0,0 16,9A2,2 0 0,0 18,11A2,2 0 0,0 20,9A2,2 0 0,0 18,7M12,7A2,2 0 0,0 10,9A2,2 0 0,0 12,11A2,2 0 0,0 14,9A2,2 0 0,0 12,7M12,1A2,2 0 0,0 10,3A2,2 0 0,0 12,5A2,2 0 0,0 14,3A2,2 0 0,0 12,1Z"},{PackIconKind.Diamond,"M16,9H19L14,16M10,9H14L12,17M5,9H8L10,16M15,4H17L19,7H16M11,4H13L14,7H10M7,4H9L8,7H5M6,2L2,8L12,22L22,8L18,2H6Z"},{PackIconKind.Dice1,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z"},{PackIconKind.Dice2,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5M17,15A2,2 0 0,0 15,17A2,2 0 0,0 17,19A2,2 0 0,0 19,17A2,2 0 0,0 17,15Z"},{PackIconKind.Dice3,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5M17,15A2,2 0 0,0 15,17A2,2 0 0,0 17,19A2,2 0 0,0 19,17A2,2 0 0,0 17,15Z"},{PackIconKind.Dice4,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5M17,15A2,2 0 0,0 15,17A2,2 0 0,0 17,19A2,2 0 0,0 19,17A2,2 0 0,0 17,15M17,5A2,2 0 0,0 15,7A2,2 0 0,0 17,9A2,2 0 0,0 19,7A2,2 0 0,0 17,5M7,15A2,2 0 0,0 5,17A2,2 0 0,0 7,19A2,2 0 0,0 9,17A2,2 0 0,0 7,15Z"},{PackIconKind.Dice5,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5M17,15A2,2 0 0,0 15,17A2,2 0 0,0 17,19A2,2 0 0,0 19,17A2,2 0 0,0 17,15M17,5A2,2 0 0,0 15,7A2,2 0 0,0 17,9A2,2 0 0,0 19,7A2,2 0 0,0 17,5M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M7,15A2,2 0 0,0 5,17A2,2 0 0,0 7,19A2,2 0 0,0 9,17A2,2 0 0,0 7,15Z"},{PackIconKind.Dice6,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5M17,15A2,2 0 0,0 15,17A2,2 0 0,0 17,19A2,2 0 0,0 19,17A2,2 0 0,0 17,15M17,10A2,2 0 0,0 15,12A2,2 0 0,0 17,14A2,2 0 0,0 19,12A2,2 0 0,0 17,10M17,5A2,2 0 0,0 15,7A2,2 0 0,0 17,9A2,2 0 0,0 19,7A2,2 0 0,0 17,5M7,10A2,2 0 0,0 5,12A2,2 0 0,0 7,14A2,2 0 0,0 9,12A2,2 0 0,0 7,10M7,15A2,2 0 0,0 5,17A2,2 0 0,0 7,19A2,2 0 0,0 9,17A2,2 0 0,0 7,15Z"},{PackIconKind.DiceD10,"M21.5,10.8C22.1,11.5 22.1,12.5 21.5,13.2L13.2,21.5C12.5,22.2 11.5,22.2 10.8,21.5L2.5,13.2C1.8,12.5 1.8,11.5 2.5,10.8L10.8,2.5C11.5,1.8 12.5,1.8 13.2,2.5L21.5,10.8M20.3,12L12,3.7L3.7,12L12,20.3L20.3,12M10.38,15.79H8.88V10L7.08,10.55V9.32L10.22,8.2H10.38V15.79M13.93,8A2.57,2.57 0 0,1 16.5,10.57V13.21C16.5,14.63 15.35,15.78 13.93,15.78C12.5,15.78 11.36,14.63 11.36,13.21V10.57A2.57,2.57 0 0,1 13.93,8M13.92,9.44A1.06,1.06 0 0,0 12.86,10.5V13.27A1.06,1.06 0 0,0 13.92,14.33C14.5,14.33 15,13.85 15,13.27V10.5C15,9.91 14.5,9.44 13.92,9.44Z"},{PackIconKind.DiceD20,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15M14.93,8.27A2.57,2.57 0 0,1 17.5,10.84V13.5C17.5,14.9 16.35,16.05 14.93,16.05C13.5,16.05 12.36,14.9 12.36,13.5V10.84A2.57,2.57 0 0,1 14.93,8.27M14.92,9.71C14.34,9.71 13.86,10.18 13.86,10.77V13.53C13.86,14.12 14.34,14.6 14.92,14.6C15.5,14.6 16,14.12 16,13.53V10.77C16,10.18 15.5,9.71 14.92,9.71M11.45,14.76V15.96L6.31,15.93V14.91C6.31,14.91 9.74,11.58 9.75,10.57C9.75,9.33 8.73,9.46 8.73,9.46C8.73,9.46 7.75,9.5 7.64,10.71L6.14,10.76C6.14,10.76 6.18,8.26 8.83,8.26C11.2,8.26 11.23,10.04 11.23,10.5C11.23,12.18 8.15,14.77 8.15,14.77L11.45,14.76Z"},{PackIconKind.DiceD4,"M13.43,15.15H14.29V16.36H13.43V18H11.92V16.36H8.82L8.75,15.41L11.91,10.42H13.43V15.15M10.25,15.15H11.92V12.47L10.25,15.15M22,21H2C1.64,21 1.31,20.81 1.13,20.5C0.95,20.18 0.96,19.79 1.15,19.5L11.15,3C11.5,2.38 12.5,2.38 12.86,3L22.86,19.5C23.04,19.79 23.05,20.18 22.87,20.5C22.69,20.81 22.36,21 22,21M3.78,19H20.23L12,5.43L3.78,19Z"},{PackIconKind.DiceD6,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M5,5V19H19V5H5M13.39,9.53C10.89,9.5 10.86,11.53 10.86,11.53C10.86,11.53 11.41,10.87 12.53,10.87C13.19,10.87 14.5,11.45 14.55,13.41C14.61,15.47 12.77,16 12.77,16C12.77,16 9.27,16.86 9.3,12.66C9.33,7.94 13.39,8.33 13.39,8.33V9.53M11.95,12.1C11.21,12 10.83,12.78 10.83,12.78L10.85,13.5C10.85,14.27 11.39,14.83 12,14.83C12.61,14.83 13.05,14.27 13.05,13.5C13.05,12.73 12.56,12.1 11.95,12.1Z"},{PackIconKind.DiceD8,"M12,8.25C13.31,8.25 14.38,9.2 14.38,10.38C14.38,11.07 14,11.68 13.44,12.07C14.14,12.46 14.6,13.13 14.6,13.9C14.6,15.12 13.44,16.1 12,16.1C10.56,16.1 9.4,15.12 9.4,13.9C9.4,13.13 9.86,12.46 10.56,12.07C10,11.68 9.63,11.07 9.63,10.38C9.63,9.2 10.69,8.25 12,8.25M12,12.65A1.1,1.1 0 0,0 10.9,13.75A1.1,1.1 0 0,0 12,14.85A1.1,1.1 0 0,0 13.1,13.75A1.1,1.1 0 0,0 12,12.65M12,9.5C11.5,9.5 11.1,9.95 11.1,10.5C11.1,11.05 11.5,11.5 12,11.5C12.5,11.5 12.9,11.05 12.9,10.5C12.9,9.95 12.5,9.5 12,9.5M21.54,10.8C22.14,11.5 22.14,12.5 21.54,13.2L13.24,21.5C12.54,22.2 11.54,22.2 10.84,21.5L2.54,13.2C1.84,12.5 1.84,11.5 2.54,10.8L10.84,2.5C11.54,1.8 12.54,1.8 13.24,2.5L21.54,10.8M20.34,12L12.04,3.7L3.74,12L12.04,20.3L20.34,12Z"},{PackIconKind.DiceMultiple,"M19.78,3H11.22C10.55,3 10,3.55 10,4.22V8H16V14H19.78C20.45,14 21,13.45 21,12.78V4.22C21,3.55 20.45,3 19.78,3M12.44,6.67C11.76,6.67 11.21,6.12 11.21,5.44C11.21,4.76 11.76,4.21 12.44,4.21A1.23,1.23 0 0,1 13.67,5.44C13.67,6.12 13.12,6.67 12.44,6.67M18.56,12.78C17.88,12.79 17.33,12.24 17.32,11.56C17.31,10.88 17.86,10.33 18.54,10.32C19.22,10.31 19.77,10.86 19.78,11.56C19.77,12.23 19.23,12.77 18.56,12.78M18.56,6.67C17.88,6.68 17.33,6.13 17.32,5.45C17.31,4.77 17.86,4.22 18.54,4.21C19.22,4.2 19.77,4.75 19.78,5.44C19.78,6.12 19.24,6.66 18.56,6.67M4.22,10H12.78A1.22,1.22 0 0,1 14,11.22V19.78C14,20.45 13.45,21 12.78,21H4.22C3.55,21 3,20.45 3,19.78V11.22C3,10.55 3.55,10 4.22,10M8.5,14.28C7.83,14.28 7.28,14.83 7.28,15.5C7.28,16.17 7.83,16.72 8.5,16.72C9.17,16.72 9.72,16.17 9.72,15.5A1.22,1.22 0 0,0 8.5,14.28M5.44,11.22C4.77,11.22 4.22,11.77 4.22,12.44A1.22,1.22 0 0,0 5.44,13.66C6.11,13.66 6.66,13.11 6.66,12.44V12.44C6.66,11.77 6.11,11.22 5.44,11.22M11.55,17.33C10.88,17.33 10.33,17.88 10.33,18.55C10.33,19.22 10.88,19.77 11.55,19.77A1.22,1.22 0 0,0 12.77,18.55H12.77C12.77,17.88 12.23,17.34 11.56,17.33H11.55Z"},{PackIconKind.Dictionary,"M5.81,2C4.83,2.09 4,3 4,4V20C4,21.05 4.95,22 6,22H18C19.05,22 20,21.05 20,20V4C20,2.89 19.1,2 18,2H12V9L9.5,7.5L7,9V2H6C5.94,2 5.87,2 5.81,2M12,13H13A1,1 0 0,1 14,14V18H13V16H12V18H11V14A1,1 0 0,1 12,13M12,14V15H13V14H12M15,15H18V16L16,19H18V20H15V19L17,16H15V15Z"},{PackIconKind.DipSwitch,"M3,4H7A1,1 0 0,1 8,5V19A1,1 0 0,1 7,20H3A1,1 0 0,1 2,19V5A1,1 0 0,1 3,4M10,4H14A1,1 0 0,1 15,5V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V5A1,1 0 0,1 10,4M17,4H21A1,1 0 0,1 22,5V19A1,1 0 0,1 21,20H17A1,1 0 0,1 16,19V5A1,1 0 0,1 17,4M4,18H6V13H4V18M11,11H13V6H11V11M18,18H20V13H18V18Z"},{PackIconKind.Directions,"M14,14.5V12H10V15H8V11A1,1 0 0,1 9,10H14V7.5L17.5,11M21.71,11.29L12.71,2.29H12.7C12.31,1.9 11.68,1.9 11.29,2.29L2.29,11.29C1.9,11.68 1.9,12.32 2.29,12.71L11.29,21.71C11.68,22.09 12.31,22.1 12.71,21.71L21.71,12.71C22.1,12.32 22.1,11.68 21.71,11.29Z"},{PackIconKind.DirectionsFork,"M3,4V12.5L6,9.5L9,13C10,14 10,15 10,15V21H14V14C14,14 14,13 13.47,12C12.94,11 12,10 12,10L9,6.58L11.5,4M18,4L13.54,8.47L14,9C14,9 14.93,10 15.47,11C15.68,11.4 15.8,11.79 15.87,12.13L21,7"},{PackIconKind.Discord,"M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"},{PackIconKind.Disk,"M12,14C10.89,14 10,13.1 10,12C10,10.89 10.89,10 12,10C13.11,10 14,10.89 14,12A2,2 0 0,1 12,14M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.DiskAlert,"M10,14C8.89,14 8,13.1 8,12C8,10.89 8.89,10 10,10A2,2 0 0,1 12,12A2,2 0 0,1 10,14M10,4A8,8 0 0,0 2,12A8,8 0 0,0 10,20A8,8 0 0,0 18,12A8,8 0 0,0 10,4M20,12H22V7H20M20,16H22V14H20V16Z"},{PackIconKind.Disqus,"M12.08,22C9.63,22 7.39,21.11 5.66,19.63L1.41,20.21L3.05,16.15C2.5,14.88 2.16,13.5 2.16,12C2.16,6.5 6.6,2 12.08,2C17.56,2 22,6.5 22,12C22,17.5 17.56,22 12.08,22M17.5,11.97V11.94C17.5,9.06 15.46,7 11.95,7H8.16V17H11.9C15.43,17 17.5,14.86 17.5,11.97M12,14.54H10.89V9.46H12C13.62,9.46 14.7,10.39 14.7,12V12C14.7,13.63 13.62,14.54 12,14.54Z"},{PackIconKind.DisqusOutline,"M11.9,14.5H10.8V9.5H11.9C13.5,9.5 14.6,10.4 14.6,12C14.6,13.6 13.5,14.5 11.9,14.5M11.9,7H8.1V17H11.8C15.3,17 17.4,14.9 17.4,12V12C17.4,9.1 15.4,7 11.9,7M12,20C10.1,20 8.3,19.3 6.9,18.1L6.2,17.5L4.5,17.7L5.2,16.1L4.9,15.3C4.4,14.2 4.2,13.1 4.2,11.9C4.2,7.5 7.8,3.9 12.1,3.9C16.4,3.9 19.9,7.6 19.9,12C19.9,16.4 16.3,20 12,20M12,2C6.5,2 2.1,6.5 2.1,12C2.1,13.5 2.4,14.9 3,16.2L1.4,20.3L5.7,19.7C7.4,21.2 9.7,22.1 12.1,22.1C17.6,22.1 22,17.6 22,12.1C22,6.6 17.5,2 12,2Z"},{PackIconKind.Division,"M19,13H5V11H19V13M12,5A2,2 0 0,1 14,7A2,2 0 0,1 12,9A2,2 0 0,1 10,7A2,2 0 0,1 12,5M12,15A2,2 0 0,1 14,17A2,2 0 0,1 12,19A2,2 0 0,1 10,17A2,2 0 0,1 12,15Z"},{PackIconKind.DivisionBox,"M17,13V11H7V13H17M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M12,7A1,1 0 0,0 11,8A1,1 0 0,0 12,9A1,1 0 0,0 13,8A1,1 0 0,0 12,7M12,15A1,1 0 0,0 11,16A1,1 0 0,0 12,17A1,1 0 0,0 13,16A1,1 0 0,0 12,15Z"},{PackIconKind.Dna,"M4,2H6V4C6,5.44 6.68,6.61 7.88,7.78C8.74,8.61 9.89,9.41 11.09,10.2L9.26,11.39C8.27,10.72 7.31,10 6.5,9.21C5.07,7.82 4,6.1 4,4V2M18,2H20V4C20,6.1 18.93,7.82 17.5,9.21C16.09,10.59 14.29,11.73 12.54,12.84C10.79,13.96 9.09,15.05 7.88,16.22C6.68,17.39 6,18.56 6,20V22H4V20C4,17.9 5.07,16.18 6.5,14.79C7.91,13.41 9.71,12.27 11.46,11.16C13.21,10.04 14.91,8.95 16.12,7.78C17.32,6.61 18,5.44 18,4V2M14.74,12.61C15.73,13.28 16.69,14 17.5,14.79C18.93,16.18 20,17.9 20,20V22H18V20C18,18.56 17.32,17.39 16.12,16.22C15.26,15.39 14.11,14.59 12.91,13.8L14.74,12.61M7,3H17V4L16.94,4.5H7.06L7,4V3M7.68,6H16.32C16.08,6.34 15.8,6.69 15.42,7.06L14.91,7.5H9.07L8.58,7.06C8.2,6.69 7.92,6.34 7.68,6M9.09,16.5H14.93L15.42,16.94C15.8,17.31 16.08,17.66 16.32,18H7.68C7.92,17.66 8.2,17.31 8.58,16.94L9.09,16.5M7.06,19.5H16.94L17,20V21H7V20L7.06,19.5Z"},{PackIconKind.Dns,"M7,9A2,2 0 0,1 5,7A2,2 0 0,1 7,5A2,2 0 0,1 9,7A2,2 0 0,1 7,9M20,3H4A1,1 0 0,0 3,4V10A1,1 0 0,0 4,11H20A1,1 0 0,0 21,10V4A1,1 0 0,0 20,3M7,19A2,2 0 0,1 5,17A2,2 0 0,1 7,15A2,2 0 0,1 9,17A2,2 0 0,1 7,19M20,13H4A1,1 0 0,0 3,14V20A1,1 0 0,0 4,21H20A1,1 0 0,0 21,20V14A1,1 0 0,0 20,13Z"},{PackIconKind.DoNotDisturb,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M17,13H7V11H17V13Z"},{PackIconKind.DoNotDisturbOff,"M17,11V13H15.54L20.22,17.68C21.34,16.07 22,14.11 22,12A10,10 0 0,0 12,2C9.89,2 7.93,2.66 6.32,3.78L13.54,11H17M2.27,2.27L1,3.54L3.78,6.32C2.66,7.93 2,9.89 2,12A10,10 0 0,0 12,22C14.11,22 16.07,21.34 17.68,20.22L20.46,23L21.73,21.73L2.27,2.27M7,13V11H8.46L10.46,13H7Z"},{PackIconKind.Dolby,"M2,5V19H22V5H2M6,17H4V7H6C8.86,7.09 11.1,9.33 11,12C11.1,14.67 8.86,16.91 6,17M20,17H18C15.14,16.91 12.9,14.67 13,12C12.9,9.33 15.14,7.09 18,7H20V17Z"},{PackIconKind.Domain,"M18,15H16V17H18M18,11H16V13H18M20,19H12V17H14V15H12V13H14V11H12V9H20M10,7H8V5H10M10,11H8V9H10M10,15H8V13H10M10,19H8V17H10M6,7H4V5H6M6,11H4V9H6M6,15H4V13H6M6,19H4V17H6M12,7V3H2V21H22V7H12Z"},{PackIconKind.Donkey,"M21.34,10.35L21.27,10.28L21.18,10.19L18,7V6A0.5,0.5 0 0,0 17.5,5.5C17.36,5.5 17.22,5.56 17.13,5.66L13.46,9H7C6.32,9 5.69,9.35 5.32,9.92L2.62,12.59C2.29,13.04 2.39,13.66 2.84,14C3.18,14.24 3.65,14.25 4,14L5,13.07V19H8V15H13V19H16V13.83C16,13.3 16.21,12.79 16.59,12.42L18,11L20,12V12C20.15,12.08 20.32,12.13 20.5,12.13C21.1,12.11 21.59,11.61 21.58,11C21.57,10.76 21.5,10.53 21.34,10.35Z"},{PackIconKind.Door,"M8,3C6.89,3 6,3.89 6,5V21H18V5C18,3.89 17.11,3 16,3H8M8,5H16V19H8V5M13,11V13H15V11H13Z"},{PackIconKind.DoorClosed,"M16,11H18V13H16V11M12,3H19C20.11,3 21,3.89 21,5V19H22V21H2V19H10V5C10,3.89 10.89,3 12,3M12,5V19H19V5H12Z"},{PackIconKind.DoorOpen,"M12,3C10.89,3 10,3.89 10,5H3V19H2V21H22V19H21V5C21,3.89 20.11,3 19,3H12M12,5H19V19H12V5M5,11H7V13H5V11Z"},{PackIconKind.DotsHorizontal,"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"},{PackIconKind.DotsHorizontalCircle,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,10.5A1.5,1.5 0 0,0 10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5M6.5,10.5A1.5,1.5 0 0,0 5,12A1.5,1.5 0 0,0 6.5,13.5A1.5,1.5 0 0,0 8,12A1.5,1.5 0 0,0 6.5,10.5M17.5,10.5A1.5,1.5 0 0,0 16,12A1.5,1.5 0 0,0 17.5,13.5A1.5,1.5 0 0,0 19,12A1.5,1.5 0 0,0 17.5,10.5Z"},{PackIconKind.DotsVertical,"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"},{PackIconKind.DotsVerticalCircle,"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},{PackIconKind.Douban,"M20,6H4V4H20V6M20,18V20H4V18H7.33L6.26,14H5V8H19V14H17.74L16.67,18H20M7,12H17V10H7V12M9.4,18H14.6L15.67,14H8.33L9.4,18Z"},{PackIconKind.Download,"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},{PackIconKind.DownloadNetwork,"M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17M12,14.5L16.5,10H13V6H11V10H7.5L12,14.5Z"},{PackIconKind.Drag,"M7,19V17H9V19H7M11,19V17H13V19H11M15,19V17H17V19H15M7,15V13H9V15H7M11,15V13H13V15H11M15,15V13H17V15H15M7,11V9H9V11H7M11,11V9H13V11H11M15,11V9H17V11H15M7,7V5H9V7H7M11,7V5H13V7H11M15,7V5H17V7H15Z"},{PackIconKind.DragHorizontal,"M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z"},{PackIconKind.DragVertical,"M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z"},{PackIconKind.Drawing,"M8.5,3A5.5,5.5 0 0,1 14,8.5C14,9.83 13.53,11.05 12.74,12H21V21H12V12.74C11.05,13.53 9.83,14 8.5,14A5.5,5.5 0 0,1 3,8.5A5.5,5.5 0 0,1 8.5,3Z"},{PackIconKind.DrawingBox,"M18,18H12V12.21C11.34,12.82 10.47,13.2 9.5,13.2C7.46,13.2 5.8,11.54 5.8,9.5A3.7,3.7 0 0,1 9.5,5.8C11.54,5.8 13.2,7.46 13.2,9.5C13.2,10.47 12.82,11.34 12.21,12H18M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.Dribbble,"M16.42,18.42C16,16.5 15.5,14.73 15,13.17C15.5,13.1 16,13.06 16.58,13.06H16.6V13.06H16.6C17.53,13.06 18.55,13.18 19.66,13.43C19.28,15.5 18.08,17.27 16.42,18.42M12,19.8C10.26,19.8 8.66,19.23 7.36,18.26C7.64,17.81 8.23,16.94 9.18,16.04C10.14,15.11 11.5,14.15 13.23,13.58C13.82,15.25 14.36,17.15 14.77,19.29C13.91,19.62 13,19.8 12,19.8M4.2,12C4.2,11.96 4.2,11.93 4.2,11.89C4.42,11.9 4.71,11.9 5.05,11.9H5.06C6.62,11.89 9.36,11.76 12.14,10.89C12.29,11.22 12.44,11.56 12.59,11.92C10.73,12.54 9.27,13.53 8.19,14.5C7.16,15.46 6.45,16.39 6.04,17C4.9,15.66 4.2,13.91 4.2,12M8.55,5C9.1,5.65 10.18,7.06 11.34,9.25C9,9.96 6.61,10.12 5.18,10.12C5.14,10.12 5.1,10.12 5.06,10.12H5.05C4.81,10.12 4.6,10.12 4.43,10.11C5,7.87 6.5,6 8.55,5M12,4.2C13.84,4.2 15.53,4.84 16.86,5.91C15.84,7.14 14.5,8 13.03,8.65C12,6.67 11,5.25 10.34,4.38C10.88,4.27 11.43,4.2 12,4.2M18.13,7.18C19.1,8.42 19.71,9.96 19.79,11.63C18.66,11.39 17.6,11.28 16.6,11.28V11.28H16.59C15.79,11.28 15.04,11.35 14.33,11.47C14.16,11.05 14,10.65 13.81,10.26C15.39,9.57 16.9,8.58 18.13,7.18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.DribbbleBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15.09,16.5C14.81,15.14 14.47,13.91 14.08,12.82L15.2,12.74H15.22V12.74C15.87,12.74 16.59,12.82 17.36,13C17.09,14.44 16.26,15.69 15.09,16.5M12,17.46C10.79,17.46 9.66,17.06 8.76,16.39C8.95,16.07 9.36,15.46 10,14.83C10.7,14.18 11.64,13.5 12.86,13.11C13.28,14.27 13.65,15.6 13.94,17.1C13.33,17.33 12.68,17.46 12,17.46M6.54,12V11.92L7.14,11.93V11.93C8.24,11.93 10.15,11.83 12.1,11.22L12.41,11.94C11.11,12.38 10.09,13.07 9.34,13.76C8.61,14.42 8.12,15.08 7.83,15.5C7.03,14.56 6.54,13.34 6.54,12M9.59,7.11C9.97,7.56 10.73,8.54 11.54,10.08C9.89,10.57 8.23,10.68 7.22,10.68H7.14V10.68H6.7C7.09,9.11 8.17,7.81 9.59,7.11M12,6.54C13.29,6.54 14.47,7 15.41,7.74C14.69,8.6 13.74,9.22 12.72,9.66C12,8.27 11.31,7.28 10.84,6.67C11.21,6.59 11.6,6.54 12,6.54M16.29,8.63C16.97,9.5 17.4,10.57 17.45,11.74C16.66,11.58 15.92,11.5 15.22,11.5V11.5C14.66,11.5 14.13,11.54 13.63,11.63L13.27,10.78C14.37,10.3 15.43,9.61 16.29,8.63M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5Z"},{PackIconKind.Drone,"M22,11H21L20,9H13.75L16,12.5H14L10.75,9H4C3.45,9 2,8.55 2,8C2,7.45 3.5,5.5 5.5,5.5C7.5,5.5 7.67,6.5 9,7H21A1,1 0 0,1 22,8V9L22,11M10.75,6.5L14,3H16L13.75,6.5H10.75M18,11V9.5H19.75L19,11H18M3,19A1,1 0 0,1 2,18A1,1 0 0,1 3,17A4,4 0 0,1 7,21A1,1 0 0,1 6,22A1,1 0 0,1 5,21A2,2 0 0,0 3,19M11,21A1,1 0 0,1 10,22A1,1 0 0,1 9,21A6,6 0 0,0 3,15A1,1 0 0,1 2,14A1,1 0 0,1 3,13A8,8 0 0,1 11,21Z"},{PackIconKind.Dropbox,"M12,14.56L16.35,18.16L18.2,16.95V18.3L12,22L5.82,18.3V16.95L7.68,18.16L12,14.56M7.68,2.5L12,6.09L16.32,2.5L22.5,6.5L18.23,9.94L22.5,13.36L16.32,17.39L12,13.78L7.68,17.39L1.5,13.36L5.77,9.94L1.5,6.5L7.68,2.5M12,13.68L18.13,9.94L12,6.19L5.87,9.94L12,13.68Z"},{PackIconKind.Drupal,"M20.47,14.65C20.47,15.29 20.25,16.36 19.83,17.1C19.4,17.85 19.08,18.06 18.44,18.06C17.7,17.95 16.31,15.82 15.36,15.72C14.18,15.72 11.73,18.17 9.71,18.17C8.54,18.17 8.11,17.95 7.79,17.74C7.15,17.31 6.94,16.67 6.94,15.82C6.94,14.22 8.43,12.84 10.24,12.84C12.59,12.84 14.18,15.18 15.36,15.08C16.31,15.08 18.23,13.16 19.19,13.16C20.15,12.95 20.47,14 20.47,14.65M16.63,5.28C15.57,4.64 14.61,4.32 13.54,3.68C12.91,3.25 12.05,2.3 11.31,1.44C11,2.83 10.78,3.36 10.24,3.79C9.18,4.53 8.64,4.85 7.69,5.28C6.94,5.7 3,8.05 3,13.16C3,18.27 7.37,22 12.05,22C16.85,22 21,18.5 21,13.27C21.21,8.05 17.27,5.7 16.63,5.28Z"},{PackIconKind.Duck,"M8.5,5A1.5,1.5 0 0,0 7,6.5A1.5,1.5 0 0,0 8.5,8A1.5,1.5 0 0,0 10,6.5A1.5,1.5 0 0,0 8.5,5M10,2A5,5 0 0,1 15,7C15,8.7 14.15,10.2 12.86,11.1C14.44,11.25 16.22,11.61 18,12.5C21,14 22,12 22,12C22,12 21,21 15,21H9C9,21 4,21 4,16C4,13 7,12 6,10C2,10 2,6.5 2,6.5C3,7 4.24,7 5,6.65C5.19,4.05 7.36,2 10,2Z"},{PackIconKind.Dumbbell,"M4.22,14.12L3.5,13.41C2.73,12.63 2.73,11.37 3.5,10.59C4.3,9.8 5.56,9.8 6.34,10.59L8.92,13.16L13.16,8.92L10.59,6.34C9.8,5.56 9.8,4.3 10.59,3.5C11.37,2.73 12.63,2.73 13.41,3.5L14.12,4.22L19.78,9.88L20.5,10.59C21.27,11.37 21.27,12.63 20.5,13.41C19.7,14.2 18.44,14.2 17.66,13.41L15.08,10.84L10.84,15.08L13.41,17.66C14.2,18.44 14.2,19.7 13.41,20.5C12.63,21.27 11.37,21.27 10.59,20.5L9.88,19.78L4.22,14.12M3.16,19.42L4.22,18.36L2.81,16.95C2.42,16.56 2.42,15.93 2.81,15.54C3.2,15.15 3.83,15.15 4.22,15.54L8.46,19.78C8.85,20.17 8.85,20.8 8.46,21.19C8.07,21.58 7.44,21.58 7.05,21.19L5.64,19.78L4.58,20.84L3.16,19.42M19.42,3.16L20.84,4.58L19.78,5.64L21.19,7.05C21.58,7.44 21.58,8.07 21.19,8.46C20.8,8.86 20.17,8.86 19.78,8.46L15.54,4.22C15.15,3.83 15.15,3.2 15.54,2.81C15.93,2.42 16.56,2.42 16.95,2.81L18.36,4.22L19.42,3.16Z"},{PackIconKind.EarHearing,"M17,20C16.71,20 16.44,19.94 16.24,19.85C15.53,19.5 15.03,18.97 14.53,17.47C14,15.91 13.06,15.18 12.14,14.47C11.35,13.86 10.53,13.23 9.82,11.94C9.29,11 9,9.93 9,9C9,6.2 11.2,4 14,4C16.8,4 19,6.2 19,9H21C21,5.07 17.93,2 14,2C10.07,2 7,5.07 7,9C7,10.26 7.38,11.65 8.07,12.9C9,14.55 10.05,15.38 10.92,16.05C11.73,16.67 12.31,17.12 12.63,18.1C13.23,19.92 14,20.94 15.36,21.65C15.87,21.88 16.43,22 17,22A4,4 0 0,0 21,18H19A2,2 0 0,1 17,20M7.64,2.64L6.22,1.22C4.23,3.21 3,5.96 3,9C3,12.04 4.23,14.79 6.22,16.78L7.63,15.37C6,13.74 5,11.5 5,9C5,6.5 6,4.26 7.64,2.64M11.5,9A2.5,2.5 0 0,0 14,11.5A2.5,2.5 0 0,0 16.5,9A2.5,2.5 0 0,0 14,6.5A2.5,2.5 0 0,0 11.5,9Z"},{PackIconKind.Earth,"M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.EarthBox,"M5,3C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H5M15.78,5H19V17.18C18.74,16.38 17.69,15.79 16.8,15.79H15.8V12.79A1,1 0 0,0 14.8,11.79H8.8V9.79H10.8A1,1 0 0,0 11.8,8.79V6.79H13.8C14.83,6.79 15.67,6 15.78,5M5,10.29L9.8,14.79V15.79C9.8,16.9 10.7,17.79 11.8,17.79V19H5V10.29Z"},{PackIconKind.EarthBoxOff,"M23,4.27L21,6.27V19A2,2 0 0,1 19,21H6.27L4.27,23L3,21.72L21.72,3L23,4.27M5,3H19.18L17.18,5H15.78C15.67,6 14.83,6.79 13.8,6.79H11.8V8.79C11.8,9.35 11.35,9.79 10.8,9.79H8.8V11.79H10.38L8.55,13.62L5,10.29V17.18L3,19.18V5C3,3.89 3.89,3 5,3M11.8,19V17.79C11.17,17.79 10.6,17.5 10.23,17.04L8.27,19H11.8M15.8,12.79V15.79H16.8C17.69,15.79 18.74,16.38 19,17.18V8.27L15.33,11.94C15.61,12.12 15.8,12.43 15.8,12.79Z"},{PackIconKind.EarthOff,"M22,5.27L20.5,6.75C21.46,8.28 22,10.07 22,12A10,10 0 0,1 12,22C10.08,22 8.28,21.46 6.75,20.5L5.27,22L4,20.72L20.72,4L22,5.27M17.9,17.39C19.2,15.97 20,14.08 20,12C20,10.63 19.66,9.34 19.05,8.22L14.83,12.44C14.94,12.6 15,12.79 15,13V16H16C16.89,16 17.64,16.59 17.9,17.39M11,19.93V18C10.5,18 10.07,17.83 9.73,17.54L8.22,19.05C9.07,19.5 10,19.8 11,19.93M15,4.59V5A2,2 0 0,1 13,7H11V9A1,1 0 0,1 10,10H8V12H10.18L8.09,14.09L4.21,10.21C4.08,10.78 4,11.38 4,12C4,13.74 4.56,15.36 5.5,16.67L4.08,18.1C2.77,16.41 2,14.3 2,12A10,10 0 0,1 12,2C14.3,2 16.41,2.77 18.1,4.08L16.67,5.5C16.16,5.14 15.6,4.83 15,4.59Z"},{PackIconKind.Edge,"M2.74,10.81C3.83,-1.36 22.5,-1.36 21.2,13.56H8.61C8.61,17.85 14.42,19.21 19.54,16.31V20.53C13.25,23.88 5,21.43 5,14.09C5,8.58 9.97,6.81 9.97,6.81C9.97,6.81 8.58,8.58 8.54,10.05H15.7C15.7,2.93 5.9,5.57 2.74,10.81Z"},{PackIconKind.Eject,"M12,5L5.33,15H18.67M5,17H19V19H5V17Z"},{PackIconKind.Elephant,"M19.5,15.5A0.5,0.5 0 0,1 19,16A0.5,0.5 0 0,1 18.5,15.5V8.5C18.5,6.57 16.43,5 14.5,5H6A4,4 0 0,0 2,9V19H6V15H11V19H15V14.5A0.5,0.5 0 0,1 15.5,14A0.5,0.5 0 0,1 16,14.5V16A3,3 0 0,0 19,19A3,3 0 0,0 22,16V14H19.5V15.5Z"},{PackIconKind.ElevationDecline,"M21,21H3V11.25L9.45,15L13.22,12.8L21,17.29V21M3,8.94V6.75L9.45,10.5L13.22,8.3L21,12.79V15L13.22,10.5L9.45,12.67L3,8.94Z"},{PackIconKind.ElevationRise,"M3,21V17.29L10.78,12.8L14.55,15L21,11.25V21H3M21,8.94L14.55,12.67L10.78,10.5L3,15V12.79L10.78,8.3L14.55,10.5L21,6.75V8.94Z"},{PackIconKind.Elevator,"M7,2L11,6H8V10H6V6H3L7,2M17,10L13,6H16V2H18V6H21L17,10M7,12H17A2,2 0 0,1 19,14V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V14A2,2 0 0,1 7,12M7,14V20H17V14H7Z"},{PackIconKind.Email,"M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"},{PackIconKind.EmailAlert,"M16,9V7L10,11L4,7V9L10,13L16,9M16,5A2,2 0 0,1 18,7V16A2,2 0 0,1 16,18H4C2.89,18 2,17.1 2,16V7A2,2 0 0,1 4,5H16M20,12V7H22V12H20M20,16V14H22V16H20Z"},{PackIconKind.EmailOpen,"M4,8L12,13L20,8V8L12,3L4,8V8M22,8V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V8C2,7.27 2.39,6.64 2.97,6.29L12,0.64L21.03,6.29C21.61,6.64 22,7.27 22,8Z"},{PackIconKind.EmailOpenOutline,"M12,15.36L4,10.36V18H20V10.36L12,15.36M4,8L12,13L20,8V8L12,3L4,8V8M22,8V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V8C2,7.27 2.39,6.64 2.97,6.29L12,0.64L21.03,6.29C21.61,6.64 22,7.27 22,8Z"},{PackIconKind.EmailOutline,"M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4M12,11L20,6H4L12,11M4,18H20V8.37L12,13.36L4,8.37V18Z"},{PackIconKind.EmailSecure,"M20.5,0A2.5,2.5 0 0,1 23,2.5V3A1,1 0 0,1 24,4V8A1,1 0 0,1 23,9H18A1,1 0 0,1 17,8V4A1,1 0 0,1 18,3V2.5A2.5,2.5 0 0,1 20.5,0M12,11L4,6V8L12,13L16.18,10.39C16.69,10.77 17.32,11 18,11H22V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H15V8C15,8.36 15.06,8.7 15.18,9L12,11M20.5,1A1.5,1.5 0 0,0 19,2.5V3H22V2.5A1.5,1.5 0 0,0 20.5,1Z"},{PackIconKind.EmailVariant,"M12,13L2,6.76V6C2,4.89 2.89,4 4,4H20A2,2 0 0,1 22,6V6.75L12,13M22,18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V9.11L4,10.36V18H20V10.36L22,9.11V18Z"},{PackIconKind.Emby,"M11,2L6,7L7,8L2,13L7,18L8,17L13,22L18,17L17,16L22,11L17,6L16,7L11,2M10,8.5L16,12L10,15.5V8.5Z"},{PackIconKind.Emoticon,"M12,17.5C14.33,17.5 16.3,16.04 17.11,14H6.89C7.69,16.04 9.67,17.5 12,17.5M8.5,11A1.5,1.5 0 0,0 10,9.5A1.5,1.5 0 0,0 8.5,8A1.5,1.5 0 0,0 7,9.5A1.5,1.5 0 0,0 8.5,11M15.5,11A1.5,1.5 0 0,0 17,9.5A1.5,1.5 0 0,0 15.5,8A1.5,1.5 0 0,0 14,9.5A1.5,1.5 0 0,0 15.5,11M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.EmoticonCool,"M19,10C19,11.38 16.88,12.5 15.5,12.5C14.12,12.5 12.75,11.38 12.75,10H11.25C11.25,11.38 9.88,12.5 8.5,12.5C7.12,12.5 5,11.38 5,10H4.25C4.09,10.64 4,11.31 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,11.31 19.91,10.64 19.75,10H19M12,4C9.04,4 6.45,5.61 5.07,8H18.93C17.55,5.61 14.96,4 12,4M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M12,17.23C10.25,17.23 8.71,16.5 7.81,15.42L9.23,14C9.68,14.72 10.75,15.23 12,15.23C13.25,15.23 14.32,14.72 14.77,14L16.19,15.42C15.29,16.5 13.75,17.23 12,17.23Z"},{PackIconKind.EmoticonDead,"M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M16.18,7.76L15.12,8.82L14.06,7.76L13,8.82L14.06,9.88L13,10.94L14.06,12L15.12,10.94L16.18,12L17.24,10.94L16.18,9.88L17.24,8.82L16.18,7.76M7.82,12L8.88,10.94L9.94,12L11,10.94L9.94,9.88L11,8.82L9.94,7.76L8.88,8.82L7.82,7.76L6.76,8.82L7.82,9.88L6.76,10.94L7.82,12M12,14C9.67,14 7.69,15.46 6.89,17.5H17.11C16.31,15.46 14.33,14 12,14Z"},{PackIconKind.EmoticonDevil,"M1.5,2.09C2.4,3 3.87,3.73 5.69,4.25C7.41,2.84 9.61,2 12,2C14.39,2 16.59,2.84 18.31,4.25C20.13,3.73 21.6,3 22.5,2.09C22.47,3.72 21.65,5.21 20.28,6.4C21.37,8 22,9.92 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,9.92 2.63,8 3.72,6.4C2.35,5.21 1.53,3.72 1.5,2.09M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12M10.5,10C10.5,10.8 9.8,11.5 9,11.5C8.2,11.5 7.5,10.8 7.5,10V8.5L10.5,10M16.5,10C16.5,10.8 15.8,11.5 15,11.5C14.2,11.5 13.5,10.8 13.5,10L16.5,8.5V10M12,17.23C10.25,17.23 8.71,16.5 7.81,15.42L9.23,14C9.68,14.72 10.75,15.23 12,15.23C13.25,15.23 14.32,14.72 14.77,14L16.19,15.42C15.29,16.5 13.75,17.23 12,17.23Z"},{PackIconKind.EmoticonExcited,"M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M13,9.94L14.06,11L15.12,9.94L16.18,11L17.24,9.94L15.12,7.82L13,9.94M8.88,9.94L9.94,11L11,9.94L8.88,7.82L6.76,9.94L7.82,11L8.88,9.94M12,17.5C14.33,17.5 16.31,16.04 17.11,14H6.89C7.69,16.04 9.67,17.5 12,17.5Z"},{PackIconKind.EmoticonHappy,"M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10,9.5C10,10.3 9.3,11 8.5,11C7.7,11 7,10.3 7,9.5C7,8.7 7.7,8 8.5,8C9.3,8 10,8.7 10,9.5M17,9.5C17,10.3 16.3,11 15.5,11C14.7,11 14,10.3 14,9.5C14,8.7 14.7,8 15.5,8C16.3,8 17,8.7 17,9.5M12,17.23C10.25,17.23 8.71,16.5 7.81,15.42L9.23,14C9.68,14.72 10.75,15.23 12,15.23C13.25,15.23 14.32,14.72 14.77,14L16.19,15.42C15.29,16.5 13.75,17.23 12,17.23Z"},{PackIconKind.EmoticonNeutral,"M8.5,11A1.5,1.5 0 0,1 7,9.5A1.5,1.5 0 0,1 8.5,8A1.5,1.5 0 0,1 10,9.5A1.5,1.5 0 0,1 8.5,11M15.5,11A1.5,1.5 0 0,1 14,9.5A1.5,1.5 0 0,1 15.5,8A1.5,1.5 0 0,1 17,9.5A1.5,1.5 0 0,1 15.5,11M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M9,14H15A1,1 0 0,1 16,15A1,1 0 0,1 15,16H9A1,1 0 0,1 8,15A1,1 0 0,1 9,14Z"},{PackIconKind.EmoticonPoop,"M11.36,2C11.15,2 10.87,2.12 10.57,2.32C10,2.7 8.85,3.9 8.4,5.1C8.06,6 8.05,6.82 8.19,7.43C7.63,7.53 7.22,7.71 7.06,7.78C6.55,8 5.47,8.96 5.37,10.45C5.34,10.97 5.41,11.5 5.57,12C4.91,12.19 4.53,12.43 4.5,12.44C4.18,12.56 3.65,12.93 3.5,13.13C3.15,13.53 2.92,14 2.79,14.5C2.5,15.59 2.6,16.83 3.13,17.83C3.42,18.39 3.82,19 4.26,19.43C5.7,20.91 8.18,21.47 10.14,21.79C12.53,22.19 15.03,22.05 17.26,21.13C20.61,19.74 21.5,17.5 21.64,16.89C21.93,15.5 21.57,14.19 21.42,13.87C21.2,13.41 20.84,12.94 20.25,12.64C19.85,12.39 19.5,12.26 19.24,12.2C19.5,11.25 19.13,10.5 18.62,9.94C17.85,9.12 17.06,9 17.06,9V9C17.32,8.5 17.42,7.9 17.28,7.32C17.12,6.61 16.73,6.16 16.22,5.86C15.7,5.55 15.06,5.4 14.4,5.28C14.08,5.22 12.75,5.03 12.2,4.27C11.75,3.65 11.74,2.53 11.62,2.2C11.57,2.07 11.5,2 11.36,2M16,9.61C16.07,9.61 16.13,9.62 16.19,9.62C17.62,9.78 18.64,11.16 18.47,12.69C18.3,14.22 17,15.34 15.57,15.18V15.18C14.14,15 13.12,13.65 13.29,12.11C13.45,10.66 14.64,9.56 16,9.61M8.62,9.61C9.95,9.65 11.06,10.78 11.16,12.21C11.28,13.75 10.21,15.08 8.78,15.19H8.77C7.34,15.3 6.08,14.14 5.96,12.6V12.6C5.85,11.06 6.92,9.73 8.35,9.62V9.62C8.44,9.61 8.53,9.61 8.62,9.61M8.64,11.31C8.6,11.31 8.57,11.31 8.53,11.32C7.97,11.39 7.57,11.9 7.64,12.45C7.7,13 8.21,13.39 8.77,13.32C9.33,13.25 9.73,12.74 9.67,12.19C9.61,11.67 9.15,11.3 8.64,11.31M15.94,11.33C15.42,11.35 15,11.75 14.96,12.28C14.92,12.83 15.35,13.31 15.91,13.34C16.5,13.38 16.96,12.95 17,12.4C17.04,11.84 16.61,11.36 16.05,11.33C16,11.33 16,11.33 15.94,11.33M8.71,16.15C9,16.14 9.26,16.23 9.5,16.28C10.68,16.5 11.7,16.53 12.19,16.53C12.68,16.53 13.69,16.5 14.86,16.28C15.27,16.2 15.74,16.03 16.11,16.28C16.59,16.6 16.24,17.75 15.5,18.53C15.04,19 13.97,19.91 12.19,19.91C10.41,19.91 9.33,19 8.88,18.53C8.14,17.75 7.79,16.6 8.26,16.28C8.4,16.19 8.55,16.15 8.71,16.15Z"},{PackIconKind.EmoticonSad,"M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M15.5,8C16.3,8 17,8.7 17,9.5C17,10.3 16.3,11 15.5,11C14.7,11 14,10.3 14,9.5C14,8.7 14.7,8 15.5,8M10,9.5C10,10.3 9.3,11 8.5,11C7.7,11 7,10.3 7,9.5C7,8.7 7.7,8 8.5,8C9.3,8 10,8.7 10,9.5M12,14C13.75,14 15.29,14.72 16.19,15.81L14.77,17.23C14.32,16.5 13.25,16 12,16C10.75,16 9.68,16.5 9.23,17.23L7.81,15.81C8.71,14.72 10.25,14 12,14Z"},{PackIconKind.EmoticonTongue,"M9,8A2,2 0 0,1 11,10C11,10.36 10.9,10.71 10.73,11C10.39,10.4 9.74,10 9,10C8.26,10 7.61,10.4 7.27,11C7.1,10.71 7,10.36 7,10A2,2 0 0,1 9,8M15,8A2,2 0 0,1 17,10C17,10.36 16.9,10.71 16.73,11C16.39,10.4 15.74,10 15,10C14.26,10 13.61,10.4 13.27,11C13.1,10.71 13,10.36 13,10A2,2 0 0,1 15,8M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M9,13H15A1,1 0 0,1 16,14A1,1 0 0,1 15,15C15,17 14.1,18 13,18C11.9,18 11,17 11,15H9A1,1 0 0,1 8,14A1,1 0 0,1 9,13Z"},{PackIconKind.Engine,"M7,4V6H10V8H7L5,10V13H3V10H1V18H3V15H5V18H8L10,20H18V16H20V19H23V9H20V12H18V8H12V6H15V4H7Z"},{PackIconKind.EngineOutline,"M8,10H16V18H11L9,16H7V11M7,4V6H10V8H7L5,10V13H3V10H1V18H3V15H5V18H8L10,20H18V16H20V19H23V9H20V12H18V8H12V6H15V4H7Z"},{PackIconKind.Equal,"M19,10H5V8H19V10M19,16H5V14H19V16Z"},{PackIconKind.EqualBox,"M17,16V14H7V16H17M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M17,10V8H7V10H17Z"},{PackIconKind.Eraser,"M16.24,3.56L21.19,8.5C21.97,9.29 21.97,10.55 21.19,11.34L12,20.53C10.44,22.09 7.91,22.09 6.34,20.53L2.81,17C2.03,16.21 2.03,14.95 2.81,14.16L13.41,3.56C14.2,2.78 15.46,2.78 16.24,3.56M4.22,15.58L7.76,19.11C8.54,19.9 9.8,19.9 10.59,19.11L14.12,15.58L9.17,10.63L4.22,15.58Z"},{PackIconKind.EraserVariant,"M15.14,3C14.63,3 14.12,3.2 13.73,3.59L2.59,14.73C1.81,15.5 1.81,16.77 2.59,17.56L5.03,20H12.69L21.41,11.27C22.2,10.5 22.2,9.23 21.41,8.44L16.56,3.59C16.17,3.2 15.65,3 15.14,3M17,18L15,20H22V18"},{PackIconKind.Escalator,"M20,8H18.95L6.95,20H4A2,2 0 0,1 2,18A2,2 0 0,1 4,16H5.29L7,14.29V10A1,1 0 0,1 8,9H9A1,1 0 0,1 10,10V11.29L17.29,4H20A2,2 0 0,1 22,6A2,2 0 0,1 20,8M8.5,5A1.5,1.5 0 0,1 10,6.5A1.5,1.5 0 0,1 8.5,8A1.5,1.5 0 0,1 7,6.5A1.5,1.5 0 0,1 8.5,5Z"},{PackIconKind.Ethernet,"M7,15H9V18H11V15H13V18H15V15H17V18H19V9H15V6H9V9H5V18H7V15M4.38,3H19.63C20.94,3 22,4.06 22,5.38V19.63A2.37,2.37 0 0,1 19.63,22H4.38C3.06,22 2,20.94 2,19.63V5.38C2,4.06 3.06,3 4.38,3Z"},{PackIconKind.EthernetCable,"M11,3V7H13V3H11M8,4V11H16V4H14V8H10V4H8M10,12V22H14V12H10Z"},{PackIconKind.EthernetCableOff,"M11,3H13V7H11V3M8,4H10V8H14V4H16V11H12.82L8,6.18V4M20,20.72L18.73,22L14,17.27V22H10V13.27L2,5.27L3.28,4L20,20.72Z"},{PackIconKind.Etsy,"M6.72,20.78C8.23,20.71 10.07,20.78 11.87,20.78C13.72,20.78 15.62,20.66 17.12,20.78C17.72,20.83 18.28,21.19 18.77,20.87C19.16,20.38 18.87,19.71 18.96,19.05C19.12,17.78 20.28,16.27 18.59,15.95C17.87,16.61 18.35,17.23 17.95,18.05C17.45,19.03 15.68,19.37 14,19.5C12.54,19.62 10,19.76 9.5,18.77C9.04,17.94 9.29,16.65 9.29,15.58C9.29,14.38 9.16,13.22 9.5,12.3C11.32,12.43 13.7,11.69 15,12.5C15.87,13 15.37,14.06 16.38,14.4C17.07,14.21 16.7,13.32 16.66,12.5C16.63,11.94 16.63,11.19 16.66,10.57C16.69,9.73 17,8.76 16.1,8.74C15.39,9.3 15.93,10.23 15.18,10.75C14.95,10.92 14.43,11 14.08,11C12.7,11.17 10.54,11.05 9.38,10.84C9.23,9.16 9.24,6.87 9.38,5.19C10,4.57 11.45,4.54 12.42,4.55C14.13,4.55 16.79,4.7 17.3,5.55C17.58,6 17.36,7 17.85,7.1C18.85,7.33 18.36,5.55 18.41,4.73C18.44,4.11 18.71,3.72 18.59,3.27C18.27,2.83 17.79,3.05 17.5,3.09C14.35,3.5 9.6,3.27 6.26,3.27C5.86,3.27 5.16,3.07 4.88,3.54C4.68,4.6 6.12,4.16 6.62,4.73C6.79,4.91 7.03,5.73 7.08,6.28C7.23,7.74 7.08,9.97 7.08,12.12C7.08,14.38 7.26,16.67 7.08,18.05C7,18.53 6.73,19.3 6.62,19.41C6,20.04 4.34,19.35 4.5,20.69C5.09,21.08 5.93,20.82 6.72,20.78Z"},{PackIconKind.EvStation,"M19.77,7.23L19.78,7.22L16.06,3.5L15,4.56L17.11,6.67C16.17,7.03 15.5,7.93 15.5,9A2.5,2.5 0 0,0 18,11.5C18.36,11.5 18.69,11.42 19,11.29V18.5A1,1 0 0,1 18,19.5A1,1 0 0,1 17,18.5V14A2,2 0 0,0 15,12H14V5A2,2 0 0,0 12,3H6A2,2 0 0,0 4,5V21H14V13.5H15.5V18.5A2.5,2.5 0 0,0 18,21A2.5,2.5 0 0,0 20.5,18.5V9C20.5,8.31 20.22,7.68 19.77,7.23M18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10M8,18V13.5H6L10,6V11H12L8,18Z"},{PackIconKind.Eventbrite,"M22,6.23C22,4.88 21.14,3.68 19.86,3.23C18.91,2.92 5.34,2 4.89,2C4.04,2.09 3.27,2.5 2.74,3.19C2.26,3.75 2,4.46 2,5.19C2,9.7 2,14.2 2,18.71C2,19.77 2.47,20.77 3.33,21.39C3.88,21.81 4.54,22.03 5.23,22.03C5.71,22.03 18,21.03 18.83,20.97C19.65,20.92 20.42,20.58 21,20C21.62,19.45 22,18.67 22,17.84C22,15.88 22,8.15 22,6.23M17.61,7.5C17.56,7.63 17.5,7.77 17.45,7.91C17.32,8.29 16.94,8.53 16.54,8.5C15.44,8.5 11.95,8.5 11.31,8.45C11.13,8.45 11.06,8.5 11.03,8.69C10.9,9.38 10.74,10.07 10.58,10.8H14.46C14.57,10.79 14.67,10.79 14.78,10.8C15.36,10.93 15.5,11.11 15.47,11.7C15.43,12 15.33,12.31 15.18,12.59C15,12.86 14.71,13 14.39,13H14.13L10.3,13C10.17,13 10.09,13 10.06,13.16L9.59,15.44V15.54H9.86L14.93,15.54C15.32,15.5 15.69,15.74 15.81,16.11C15.96,16.81 15.63,17.5 15,17.85C14.84,17.9 14.68,17.92 14.5,17.93C13.82,17.93 8.32,18.07 7.93,18.07C7.6,18.08 7.27,18 7,17.8C6.69,17.57 6.55,17.18 6.63,16.8C6.73,16.14 8.29,8.5 8.57,7.33C8.64,6.5 9.36,5.92 10.19,6C11.19,6 16,6.1 16.75,6.14C17.5,6.18 17.85,6.64 17.61,7.5Z"},{PackIconKind.Evernote,"M15.09,11.63C15.09,11.63 15.28,10.35 16,10.35C16.76,10.35 17.78,12.06 17.78,12.06C17.78,12.06 15.46,11.63 15.09,11.63M19,4.69C18.64,4.09 16.83,3.41 15.89,3.41C14.96,3.41 13.5,3.41 13.5,3.41C13.5,3.41 12.7,2 10.88,2C9.05,2 9.17,2.81 9.17,3.5V6.32L8.34,7.19H4.5C4.5,7.19 3.44,7.91 3.44,9.44C3.44,11 3.92,16.35 7.13,16.85C10.93,17.43 11.58,15.67 11.58,15.46C11.58,14.56 11.6,13.21 11.6,13.21C11.6,13.21 12.71,15.33 14.39,15.33C16.07,15.33 17.04,16.3 17.04,17.29C17.04,18.28 17.04,19.13 17.04,19.13C17.04,19.13 17,20.28 16,20.28C15,20.28 13.89,20.28 13.89,20.28C13.89,20.28 13.2,19.74 13.2,19C13.2,18.25 13.53,18.05 13.93,18.05C14.32,18.05 14.65,18.09 14.65,18.09V16.53C14.65,16.53 11.47,16.5 11.47,18.94C11.47,21.37 13.13,22 14.46,22C15.8,22 16.63,22 16.63,22C16.63,22 20.56,21.5 20.56,13.75C20.56,6 19.33,5.28 19,4.69M7.5,6.31H4.26L8.32,2.22V5.5L7.5,6.31Z"},{PackIconKind.Exclamation,"M11,4.5H13V15.5H11V4.5M13,17.5V19.5H11V17.5H13Z"},{PackIconKind.ExitToApp,"M19,3H5C3.89,3 3,3.89 3,5V9H5V5H19V19H5V15H3V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10.08,15.58L11.5,17L16.5,12L11.5,7L10.08,8.41L12.67,11H3V13H12.67L10.08,15.58Z"},{PackIconKind.Export,"M23,12L19,8V11H10V13H19V16M1,18V6C1,4.89 1.9,4 3,4H15A2,2 0 0,1 17,6V9H15V6H3V18H15V15H17V18A2,2 0 0,1 15,20H3A2,2 0 0,1 1,18Z"},{PackIconKind.Eye,"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},{PackIconKind.EyeOff,"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"},{PackIconKind.EyeOffOutline,"M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z"},{PackIconKind.EyeOutline,"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},{PackIconKind.EyePlus,"M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C12.36,19.5 12.72,19.5 13.08,19.45C13.03,19.13 13,18.82 13,18.5C13,17.94 13.08,17.38 13.24,16.84C12.83,16.94 12.42,17 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12C17,12.29 16.97,12.59 16.92,12.88C17.58,12.63 18.29,12.5 19,12.5C20.17,12.5 21.31,12.84 22.29,13.5C22.56,13 22.8,12.5 23,12C21.27,7.61 17,4.5 12,4.5M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M18,14.5V17.5H15V19.5H18V22.5H20V19.5H23V17.5H20V14.5H18Z"},{PackIconKind.EyePlusOutline,"M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C12.36,19.5 12.72,19.5 13.08,19.45C13.03,19.13 13,18.82 13,18.5C13,18.14 13.04,17.78 13.1,17.42C12.74,17.46 12.37,17.5 12,17.5C8.24,17.5 4.83,15.36 3.18,12C4.83,8.64 8.24,6.5 12,6.5C15.76,6.5 19.17,8.64 20.82,12C20.7,12.24 20.56,12.45 20.43,12.68C21.09,12.84 21.72,13.11 22.29,13.5C22.56,13 22.8,12.5 23,12C21.27,7.61 17,4.5 12,4.5M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M18,14.5V17.5H15V19.5H18V22.5H20V19.5H23V17.5H20V14.5H18Z"},{PackIconKind.Eyedropper,"M19.35,11.72L17.22,13.85L15.81,12.43L8.1,20.14L3.5,22L2,20.5L3.86,15.9L11.57,8.19L10.15,6.78L12.28,4.65L19.35,11.72M16.76,3C17.93,1.83 19.83,1.83 21,3C22.17,4.17 22.17,6.07 21,7.24L19.08,9.16L14.84,4.92L16.76,3M5.56,17.03L4.5,19.5L6.97,18.44L14.4,11L13,9.6L5.56,17.03Z"},{PackIconKind.EyedropperVariant,"M6.92,19L5,17.08L13.06,9L15,10.94M20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L13.84,6.41L11.91,4.5L10.5,5.91L11.92,7.33L3,16.25V21H7.75L16.67,12.08L18.09,13.5L19.5,12.09L17.58,10.17L20.7,7.05C21.1,6.65 21.1,6 20.71,5.63Z"},{PackIconKind.Face,"M9,11.75A1.25,1.25 0 0,0 7.75,13A1.25,1.25 0 0,0 9,14.25A1.25,1.25 0 0,0 10.25,13A1.25,1.25 0 0,0 9,11.75M15,11.75A1.25,1.25 0 0,0 13.75,13A1.25,1.25 0 0,0 15,14.25A1.25,1.25 0 0,0 16.25,13A1.25,1.25 0 0,0 15,11.75M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,11.71 4,11.42 4.05,11.14C6.41,10.09 8.28,8.16 9.26,5.77C11.07,8.33 14.05,10 17.42,10C18.2,10 18.95,9.91 19.67,9.74C19.88,10.45 20,11.21 20,12C20,16.41 16.41,20 12,20Z"},{PackIconKind.FaceProfile,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,8.39C13.57,9.4 15.42,10 17.42,10C18.2,10 18.95,9.91 19.67,9.74C19.88,10.45 20,11.21 20,12C20,16.41 16.41,20 12,20C9,20 6.39,18.34 5,15.89L6.75,14V13A1.25,1.25 0 0,1 8,11.75A1.25,1.25 0 0,1 9.25,13V14H12M16,11.75A1.25,1.25 0 0,0 14.75,13A1.25,1.25 0 0,0 16,14.25A1.25,1.25 0 0,0 17.25,13A1.25,1.25 0 0,0 16,11.75Z"},{PackIconKind.Facebook,"M17,2V2H17V6H15C14.31,6 14,6.81 14,7.5V10H14L17,10V14H14V22H10V14H7V10H10V6A4,4 0 0,1 14,2H17Z"},{PackIconKind.FacebookBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M18,5H15.5A3.5,3.5 0 0,0 12,8.5V11H10V14H12V21H15V14H18V11H15V9A1,1 0 0,1 16,8H18V5Z"},{PackIconKind.FacebookMessenger,"M12,2C6.5,2 2,6.14 2,11.25C2,14.13 3.42,16.7 5.65,18.4L5.71,22L9.16,20.12L9.13,20.11C10.04,20.36 11,20.5 12,20.5C17.5,20.5 22,16.36 22,11.25C22,6.14 17.5,2 12,2M13.03,14.41L10.54,11.78L5.5,14.41L10.88,8.78L13.46,11.25L18.31,8.78L13.03,14.41Z"},{PackIconKind.Factory,"M4,18V20H8V18H4M4,14V16H14V14H4M10,18V20H14V18H10M16,14V16H20V14H16M16,18V20H20V18H16M2,22V8L7,12V8L12,12V8L17,12L18,2H21L22,12V22H2Z"},{PackIconKind.Fan,"M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12.5,2C17,2 17.11,5.57 14.75,6.75C13.76,7.24 13.32,8.29 13.13,9.22C13.61,9.42 14.03,9.73 14.35,10.13C18.05,8.13 22.03,8.92 22.03,12.5C22.03,17 18.46,17.1 17.28,14.73C16.78,13.74 15.72,13.3 14.79,13.11C14.59,13.59 14.28,14 13.88,14.34C15.87,18.03 15.08,22 11.5,22C7,22 6.91,18.42 9.27,17.24C10.25,16.75 10.69,15.71 10.89,14.79C10.4,14.59 9.97,14.27 9.65,13.87C5.96,15.85 2,15.07 2,11.5C2,7 5.56,6.89 6.74,9.26C7.24,10.25 8.29,10.68 9.22,10.87C9.41,10.39 9.73,9.97 10.14,9.65C8.15,5.96 8.94,2 12.5,2Z"},{PackIconKind.FanOff,"M12.5,2C9.64,2 8.57,4.55 9.29,7.47L15,13.16C15.87,13.37 16.81,13.81 17.28,14.73C18.46,17.1 22.03,17 22.03,12.5C22.03,8.92 18.05,8.13 14.35,10.13C14.03,9.73 13.61,9.42 13.13,9.22C13.32,8.29 13.76,7.24 14.75,6.75C17.11,5.57 17,2 12.5,2M3.28,4L2,5.27L4.47,7.73C3.22,7.74 2,8.87 2,11.5C2,15.07 5.96,15.85 9.65,13.87C9.97,14.27 10.4,14.59 10.89,14.79C10.69,15.71 10.25,16.75 9.27,17.24C6.91,18.42 7,22 11.5,22C13.8,22 14.94,20.36 14.94,18.21L18.73,22L20,20.72L3.28,4Z"},{PackIconKind.FastForward,"M13,6V18L21.5,12M4,18L12.5,12L4,6V18Z"},{PackIconKind.FastForwardOutline,"M15,9.9L18,12L15,14.1V9.9M6,9.9L9,12L6,14.1V9.9M13,6V18L21.5,12L13,6M4,6V18L12.5,12L4,6Z"},{PackIconKind.Fax,"M11,6H16V8H11V6M8,9V3H19V9A3,3 0 0,1 22,12V18H19V21H8V18H7V9H8M10,5V9H17V5H10M10,15V19H17V15H10M19,11A1,1 0 0,0 18,12A1,1 0 0,0 19,13A1,1 0 0,0 20,12A1,1 0 0,0 19,11M4,9H5A1,1 0 0,1 6,10V17A1,1 0 0,1 5,18H4A2,2 0 0,1 2,16V11A2,2 0 0,1 4,9Z"},{PackIconKind.Feather,"M22,2C22,2 14.36,1.63 8.34,9.88C3.72,16.21 2,22 2,22L3.94,21C5.38,18.5 6.13,17.47 7.54,16C10.07,16.74 12.71,16.65 15,14C13,13.44 11.4,13.57 9.04,13.81C11.69,12 13.5,11.6 16,12L17,10C15.2,9.66 14,9.63 12.22,10.04C14.19,8.65 15.56,7.87 18,8L19.21,6.07C17.65,5.96 16.71,6.13 14.92,6.57C16.53,5.11 18,4.45 20.14,4.32C20.14,4.32 21.19,2.43 22,2Z"},{PackIconKind.Ferry,"M6,6H18V9.96L12,8L6,9.96M3.94,19H4C5.6,19 7,18.12 8,17C9,18.12 10.4,19 12,19C13.6,19 15,18.12 16,17C17,18.12 18.4,19 20,19H20.05L21.95,12.31C22.03,12.06 22,11.78 21.89,11.54C21.76,11.3 21.55,11.12 21.29,11.04L20,10.62V6C20,4.89 19.1,4 18,4H15V1H9V4H6A2,2 0 0,0 4,6V10.62L2.71,11.04C2.45,11.12 2.24,11.3 2.11,11.54C2,11.78 1.97,12.06 2.05,12.31M20,21C18.61,21 17.22,20.53 16,19.67C13.56,21.38 10.44,21.38 8,19.67C6.78,20.53 5.39,21 4,21H2V23H4C5.37,23 6.74,22.65 8,22C10.5,23.3 13.5,23.3 16,22C17.26,22.65 18.62,23 20,23H22V21H20Z"},{PackIconKind.File,"M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z"},{PackIconKind.FileAccount,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M14,20V19C14,17.67 11.33,17 10,17C8.67,17 6,17.67 6,19V20H14M10,12A2,2 0 0,0 8,14A2,2 0 0,0 10,16A2,2 0 0,0 12,14A2,2 0 0,0 10,12Z"},{PackIconKind.FileChart,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M7,20H9V14H7V20M11,20H13V12H11V20M15,20H17V16H15V20Z"},{PackIconKind.FileCheck,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M10.45,18.46L15.2,13.71L14.03,12.3L10.45,15.88L8.86,14.3L7.7,15.46L10.45,18.46Z"},{PackIconKind.FileCloud,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15.68,15C15.34,13.3 13.82,12 12,12C10.55,12 9.3,12.82 8.68,14C7.17,14.18 6,15.45 6,17A3,3 0 0,0 9,20H15.5A2.5,2.5 0 0,0 18,17.5C18,16.18 16.97,15.11 15.68,15Z"},{PackIconKind.FileDelimited,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M14,15V11H10V15H12.3C12.6,17 12,18 9.7,19.38L10.85,20.2C13,19 14,16 14,15Z"},{PackIconKind.FileDocument,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},{PackIconKind.FileDocumentBox,"M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.FileExcel,"M6,2H14L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M13,3.5V9H18.5L13,3.5M17,11H13V13H14L12,14.67L10,13H11V11H7V13H8L11,15.5L8,18H7V20H11V18H10L12,16.33L14,18H13V20H17V18H16L13,15.5L16,13H17V11Z"},{PackIconKind.FileExcelBox,"M16.2,17H14.2L12,13.2L9.8,17H7.8L11,12L7.8,7H9.8L12,10.8L14.2,7H16.2L13,12M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.FileExport,"M6,2C4.89,2 4,2.9 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,3.5L18.5,9H13M8.93,12.22H16V19.29L13.88,17.17L11.05,20L8.22,17.17L11.05,14.35"},{PackIconKind.FileFind,"M9,13A3,3 0 0,0 12,16A3,3 0 0,0 15,13A3,3 0 0,0 12,10A3,3 0 0,0 9,13M20,19.59V8L14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18C18.45,22 18.85,21.85 19.19,21.6L14.76,17.17C13.96,17.69 13,18 12,18A5,5 0 0,1 7,13A5,5 0 0,1 12,8A5,5 0 0,1 17,13C17,14 16.69,14.96 16.17,15.75L20,19.59Z"},{PackIconKind.FileHidden,"M13,9H14V11H11V7H13V9M18.5,9L16.38,6.88L17.63,5.63L20,8V10H18V11H15V9H18.5M13,3.5V2H12V4H13V6H11V4H9V2H8V4H6V5H4V4C4,2.89 4.89,2 6,2H14L16.36,4.36L15.11,5.61L13,3.5M20,20A2,2 0 0,1 18,22H16V20H18V19H20V20M18,15H20V18H18V15M12,22V20H15V22H12M8,22V20H11V22H8M6,22C4.89,22 4,21.1 4,20V18H6V20H7V22H6M4,14H6V17H4V14M4,10H6V13H4V10M18,11H20V14H18V11M4,6H6V9H4V6Z"},{PackIconKind.FileImage,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z"},{PackIconKind.FileImport,"M6,2C4.89,2 4,2.9 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,3.5L18.5,9H13M10.05,11.22L12.88,14.05L15,11.93V19H7.93L10.05,16.88L7.22,14.05"},{PackIconKind.FileLock,"M6,2C4.89,2 4,2.9 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M13,3.5L18.5,9H13V3.5M12,11A3,3 0 0,1 15,14V15H16V19H8V15H9V14C9,12.36 10.34,11 12,11M12,13A1,1 0 0,0 11,14V15H13V14C13,13.47 12.55,13 12,13Z"},{PackIconKind.FileMultiple,"M15,7H20.5L15,1.5V7M8,0H16L22,6V18A2,2 0 0,1 20,20H8C6.89,20 6,19.1 6,18V2A2,2 0 0,1 8,0M4,4V22H20V24H4A2,2 0 0,1 2,22V4H4Z"},{PackIconKind.FileMusic,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M9,16A2,2 0 0,0 7,18A2,2 0 0,0 9,20A2,2 0 0,0 11,18V13H14V11H10V16.27C9.71,16.1 9.36,16 9,16Z"},{PackIconKind.FileOutline,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M11,4H6V20H11L18,20V11H11V4Z"},{PackIconKind.FilePdf,"M14,9H19.5L14,3.5V9M7,2H15L21,8V20A2,2 0 0,1 19,22H7C5.89,22 5,21.1 5,20V4A2,2 0 0,1 7,2M11.93,12.44C12.34,13.34 12.86,14.08 13.46,14.59L13.87,14.91C13,15.07 11.8,15.35 10.53,15.84V15.84L10.42,15.88L10.92,14.84C11.37,13.97 11.7,13.18 11.93,12.44M18.41,16.25C18.59,16.07 18.68,15.84 18.69,15.59C18.72,15.39 18.67,15.2 18.57,15.04C18.28,14.57 17.53,14.35 16.29,14.35L15,14.42L14.13,13.84C13.5,13.32 12.93,12.41 12.53,11.28L12.57,11.14C12.9,9.81 13.21,8.2 12.55,7.54C12.39,7.38 12.17,7.3 11.94,7.3H11.7C11.33,7.3 11,7.69 10.91,8.07C10.54,9.4 10.76,10.13 11.13,11.34V11.35C10.88,12.23 10.56,13.25 10.05,14.28L9.09,16.08L8.2,16.57C7,17.32 6.43,18.16 6.32,18.69C6.28,18.88 6.3,19.05 6.37,19.23L6.4,19.28L6.88,19.59L7.32,19.7C8.13,19.7 9.05,18.75 10.29,16.63L10.47,16.56C11.5,16.23 12.78,16 14.5,15.81C15.53,16.32 16.74,16.55 17.5,16.55C17.94,16.55 18.24,16.44 18.41,16.25M18,15.54L18.09,15.65C18.08,15.75 18.05,15.76 18,15.78H17.96L17.77,15.8C17.31,15.8 16.6,15.61 15.87,15.29C15.96,15.19 16,15.19 16.1,15.19C17.5,15.19 17.9,15.44 18,15.54M8.83,17C8.18,18.19 7.59,18.85 7.14,19C7.19,18.62 7.64,17.96 8.35,17.31L8.83,17M11.85,10.09C11.62,9.19 11.61,8.46 11.78,8.04L11.85,7.92L12,7.97C12.17,8.21 12.19,8.53 12.09,9.07L12.06,9.23L11.9,10.05L11.85,10.09Z"},{PackIconKind.FilePdfBox,"M11.43,10.94C11.2,11.68 10.87,12.47 10.42,13.34C10.22,13.72 10,14.08 9.92,14.38L10.03,14.34V14.34C11.3,13.85 12.5,13.57 13.37,13.41C13.22,13.31 13.08,13.2 12.96,13.09C12.36,12.58 11.84,11.84 11.43,10.94M17.91,14.75C17.74,14.94 17.44,15.05 17,15.05C16.24,15.05 15,14.82 14,14.31C12.28,14.5 11,14.73 9.97,15.06C9.92,15.08 9.86,15.1 9.79,15.13C8.55,17.25 7.63,18.2 6.82,18.2C6.66,18.2 6.5,18.16 6.38,18.09L5.9,17.78L5.87,17.73C5.8,17.55 5.78,17.38 5.82,17.19C5.93,16.66 6.5,15.82 7.7,15.07C7.89,14.93 8.19,14.77 8.59,14.58C8.89,14.06 9.21,13.45 9.55,12.78C10.06,11.75 10.38,10.73 10.63,9.85V9.84C10.26,8.63 10.04,7.9 10.41,6.57C10.5,6.19 10.83,5.8 11.2,5.8H11.44C11.67,5.8 11.89,5.88 12.05,6.04C12.71,6.7 12.4,8.31 12.07,9.64C12.05,9.7 12.04,9.75 12.03,9.78C12.43,10.91 13,11.82 13.63,12.34C13.89,12.54 14.18,12.74 14.5,12.92C14.95,12.87 15.38,12.85 15.79,12.85C17.03,12.85 17.78,13.07 18.07,13.54C18.17,13.7 18.22,13.89 18.19,14.09C18.18,14.34 18.09,14.57 17.91,14.75M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M17.5,14.04C17.4,13.94 17,13.69 15.6,13.69C15.53,13.69 15.46,13.69 15.37,13.79C16.1,14.11 16.81,14.3 17.27,14.3C17.34,14.3 17.4,14.29 17.46,14.28H17.5C17.55,14.26 17.58,14.25 17.59,14.15C17.57,14.12 17.55,14.08 17.5,14.04M8.33,15.5C8.12,15.62 7.95,15.73 7.85,15.81C7.14,16.46 6.69,17.12 6.64,17.5C7.09,17.35 7.68,16.69 8.33,15.5M11.35,8.59L11.4,8.55C11.47,8.23 11.5,7.95 11.56,7.73L11.59,7.57C11.69,7 11.67,6.71 11.5,6.47L11.35,6.42C11.33,6.45 11.3,6.5 11.28,6.54C11.11,6.96 11.12,7.69 11.35,8.59Z"},{PackIconKind.FilePercent,"M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M7.37,20L15,12.35L13.65,11L6,18.65L7.37,20M13,9H18.5L13,3.5V9M7.5,11A1.5,1.5 0 0,0 6,12.5A1.5,1.5 0 0,0 7.5,14A1.5,1.5 0 0,0 9,12.5A1.5,1.5 0 0,0 7.5,11M13.5,17A1.5,1.5 0 0,0 12,18.5A1.5,1.5 0 0,0 13.5,20A1.5,1.5 0 0,0 15,18.5A1.5,1.5 0 0,0 13.5,17Z"},{PackIconKind.FilePlus,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M11,15V12H9V15H6V17H9V20H11V17H14V15H11Z"},{PackIconKind.FilePowerpoint,"M6,2H14L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M13,3.5V9H18.5L13,3.5M8,11V13H9V19H8V20H12V19H11V17H13A3,3 0 0,0 16,14A3,3 0 0,0 13,11H8M13,13A1,1 0 0,1 14,14A1,1 0 0,1 13,15H11V13H13Z"},{PackIconKind.FilePowerpointBox,"M9.8,13.4H12.3C13.8,13.4 14.46,13.12 15.1,12.58C15.74,12.03 16,11.25 16,10.23C16,9.26 15.75,8.5 15.1,7.88C14.45,7.29 13.83,7 12.3,7H8V17H9.8V13.4M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M9.8,12V8.4H12.1C12.76,8.4 13.27,8.65 13.6,9C13.93,9.35 14.1,9.72 14.1,10.24C14.1,10.8 13.92,11.19 13.6,11.5C13.28,11.81 12.9,12 12.22,12H9.8Z"},{PackIconKind.FilePresentationBox,"M19,16H5V8H19M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.FileQuestion,"M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M13,3.5L18.5,9H13V3.5M12,11A3,3 0 0,1 15,14C15,15.88 12.75,16.06 12.75,17.75H11.25C11.25,15.31 13.5,15.5 13.5,14A1.5,1.5 0 0,0 12,12.5A1.5,1.5 0 0,0 10.5,14H9A3,3 0 0,1 12,11M11.25,18.5H12.75V20H11.25V18.5Z"},{PackIconKind.FileRestore,"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M12,18C9.95,18 8.19,16.76 7.42,15H9.13C9.76,15.9 10.81,16.5 12,16.5A3.5,3.5 0 0,0 15.5,13A3.5,3.5 0 0,0 12,9.5C10.65,9.5 9.5,10.28 8.9,11.4L10.5,13H6.5V9L7.8,10.3C8.69,8.92 10.23,8 12,8A5,5 0 0,1 17,13A5,5 0 0,1 12,18Z"},{PackIconKind.FileSend,"M14,2H6C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M12.54,19.37V17.37H8.54V15.38H12.54V13.38L15.54,16.38L12.54,19.37M13,9V3.5L18.5,9H13Z"},{PackIconKind.FileTree,"M3,3H9V7H3V3M15,10H21V14H15V10M15,17H21V21H15V17M13,13H7V18H13V20H7L5,20V9H7V11H13V13Z"},{PackIconKind.FileVideo,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M17,19V13L14,15.2V13H7V19H14V16.8L17,19Z"},{PackIconKind.FileWord,"M6,2H14L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M13,3.5V9H18.5L13,3.5M7,13L8.5,20H10.5L12,17L13.5,20H15.5L17,13H18V11H14V13H15L14.1,17.2L13,15V15H11V15L9.9,17.2L9,13H10V11H6V13H7Z"},{PackIconKind.FileWordBox,"M15.5,17H14L12,9.5L10,17H8.5L6.1,7H7.8L9.34,14.5L11.3,7H12.7L14.67,14.5L16.2,7H17.9M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.FileXml,"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6.12,15.5L9.86,19.24L11.28,17.83L8.95,15.5L11.28,13.17L9.86,11.76L6.12,15.5M17.28,15.5L13.54,11.76L12.12,13.17L14.45,15.5L12.12,17.83L13.54,19.24L17.28,15.5Z"},{PackIconKind.Film,"M3.5,3H5V1.8C5,1.36 5.36,1 5.8,1H10.2C10.64,1 11,1.36 11,1.8V3H12.5A1.5,1.5 0 0,1 14,4.5V5H22V20H14V20.5A1.5,1.5 0 0,1 12.5,22H3.5A1.5,1.5 0 0,1 2,20.5V4.5A1.5,1.5 0 0,1 3.5,3M18,7V9H20V7H18M14,7V9H16V7H14M10,7V9H12V7H10M14,16V18H16V16H14M18,16V18H20V16H18M10,16V18H12V16H10Z"},{PackIconKind.Filmstrip,"M18,9H16V7H18M18,13H16V11H18M18,17H16V15H18M8,9H6V7H8M8,13H6V11H8M8,17H6V15H8M18,3V5H16V3H8V5H6V3H4V21H6V19H8V21H16V19H18V21H20V3H18Z"},{PackIconKind.FilmstripOff,"M1,4.27L2.28,3L21,21.72L19.73,23L16,19.27V21H8V19H6V21H4V7.27L1,4.27M18,9V7H16V9H18M18,13V11H16V13H18M18,15H16.82L6.82,5H8V3H16V5H18V3H20V18.18L18,16.18V15M8,13V11.27L7.73,11H6V13H8M8,17V15H6V17H8M6,3V4.18L4.82,3H6Z"},{PackIconKind.Filter,"M3,2H21V2H21V4H20.92L14,10.92V22.91L10,18.91V10.91L3.09,4H3V2Z"},{PackIconKind.FilterOutline,"M3,2H21V2H21V4H20.92L15,9.92V22.91L9,16.91V9.91L3.09,4H3V2M11,16.08L13,18.08V9H13.09L18.09,4H5.92L10.92,9H11V16.08Z"},{PackIconKind.FilterRemove,"M14.76,20.83L17.6,18L14.76,15.17L16.17,13.76L19,16.57L21.83,13.76L23.24,15.17L20.43,18L23.24,20.83L21.83,22.24L19,19.4L16.17,22.24L14.76,20.83M2,2H20V2H20V4H19.92L13,10.92V22.91L9,18.91V10.91L2.09,4H2V2Z"},{PackIconKind.FilterRemoveOutline,"M14.73,20.83L17.58,18L14.73,15.17L16.15,13.76L19,16.57L21.8,13.76L23.22,15.17L20.41,18L23.22,20.83L21.8,22.24L19,19.4L16.15,22.24L14.73,20.83M2,2H20V2H20V4H19.92L14,9.92V22.91L8,16.91V9.91L2.09,4H2V2M10,16.08L12,18.08V9H12.09L17.09,4H4.92L9.92,9H10V16.08Z"},{PackIconKind.FilterVariant,"M6,13H18V11H6M3,6V8H21V6M10,18H14V16H10V18Z"},{PackIconKind.Finance,"M3,13H7V23H3V13M10,14H14V23H10V14M17,9H21V23H17V9M17,1H21V5H20V3.06L11.97,11.09L8,7.12L3.4,11.72L2.34,10.66L8,5L11.97,8.97L18.94,2H17V1Z"},{PackIconKind.FindReplace,"M11,6C12.38,6 13.63,6.56 14.54,7.46L12,10H18V4L15.95,6.05C14.68,4.78 12.93,4 11,4C7.47,4 4.57,6.61 4.08,10H6.1C6.56,7.72 8.58,6 11,6M16.64,15.14C17.3,14.24 17.76,13.17 17.92,12H15.9C15.44,14.28 13.42,16 11,16C9.62,16 8.37,15.44 7.46,14.54L10,12H4V18L6.05,15.95C7.32,17.22 9.07,18 11,18C12.55,18 14,17.5 15.14,16.64L20,21.5L21.5,20L16.64,15.14Z"},{PackIconKind.Fingerprint,"M11.83,1.73C8.43,1.79 6.23,3.32 6.23,3.32C5.95,3.5 5.88,3.91 6.07,4.19C6.27,4.5 6.66,4.55 6.96,4.34C6.96,4.34 11.27,1.15 17.46,4.38C17.75,4.55 18.14,4.45 18.31,4.15C18.5,3.85 18.37,3.47 18.03,3.28C16.36,2.4 14.78,1.96 13.36,1.8C12.83,1.74 12.32,1.72 11.83,1.73M12.22,4.34C6.26,4.26 3.41,9.05 3.41,9.05C3.22,9.34 3.3,9.72 3.58,9.91C3.87,10.1 4.26,10 4.5,9.68C4.5,9.68 6.92,5.5 12.2,5.59C17.5,5.66 19.82,9.65 19.82,9.65C20,9.94 20.38,10.04 20.68,9.87C21,9.69 21.07,9.31 20.9,9C20.9,9 18.15,4.42 12.22,4.34M11.5,6.82C9.82,6.94 8.21,7.55 7,8.56C4.62,10.53 3.1,14.14 4.77,19C4.88,19.33 5.24,19.5 5.57,19.39C5.89,19.28 6.07,18.92 5.95,18.6V18.6C4.41,14.13 5.78,11.2 7.8,9.5C9.77,7.89 13.25,7.5 15.84,9.1C17.11,9.9 18.1,11.28 18.6,12.64C19.11,14 19.08,15.32 18.67,15.94C18.25,16.59 17.4,16.83 16.65,16.64C15.9,16.45 15.29,15.91 15.26,14.77C15.23,13.06 13.89,12 12.5,11.84C11.16,11.68 9.61,12.4 9.21,14C8.45,16.92 10.36,21.07 14.78,22.45C15.11,22.55 15.46,22.37 15.57,22.04C15.67,21.71 15.5,21.35 15.15,21.25C11.32,20.06 9.87,16.43 10.42,14.29C10.66,13.33 11.5,13 12.38,13.08C13.25,13.18 14,13.7 14,14.79C14.05,16.43 15.12,17.54 16.34,17.85C17.56,18.16 18.97,17.77 19.72,16.62C20.5,15.45 20.37,13.8 19.78,12.21C19.18,10.61 18.07,9.03 16.5,8.04C14.96,7.08 13.19,6.7 11.5,6.82M11.86,9.25V9.26C10.08,9.32 8.3,10.24 7.28,12.18C5.96,14.67 6.56,17.21 7.44,19.04C8.33,20.88 9.54,22.1 9.54,22.1C9.78,22.35 10.17,22.35 10.42,22.11C10.67,21.87 10.67,21.5 10.43,21.23C10.43,21.23 9.36,20.13 8.57,18.5C7.78,16.87 7.3,14.81 8.38,12.77C9.5,10.67 11.5,10.16 13.26,10.67C15.04,11.19 16.53,12.74 16.5,15.03C16.46,15.38 16.71,15.68 17.06,15.7C17.4,15.73 17.7,15.47 17.73,15.06C17.79,12.2 15.87,10.13 13.61,9.47C13.04,9.31 12.45,9.23 11.86,9.25M12.08,14.25C11.73,14.26 11.46,14.55 11.47,14.89C11.47,14.89 11.5,16.37 12.31,17.8C13.15,19.23 14.93,20.59 18.03,20.3C18.37,20.28 18.64,20 18.62,19.64C18.6,19.29 18.3,19.03 17.91,19.06C15.19,19.31 14.04,18.28 13.39,17.17C12.74,16.07 12.72,14.88 12.72,14.88C12.72,14.53 12.44,14.25 12.08,14.25Z"},{PackIconKind.Fire,"M11.71,19C9.93,19 8.5,17.59 8.5,15.86C8.5,14.24 9.53,13.1 11.3,12.74C13.07,12.38 14.9,11.53 15.92,10.16C16.31,11.45 16.5,12.81 16.5,14.2C16.5,16.84 14.36,19 11.71,19M13.5,0.67C13.5,0.67 14.24,3.32 14.24,5.47C14.24,7.53 12.89,9.2 10.83,9.2C8.76,9.2 7.2,7.53 7.2,5.47L7.23,5.1C5.21,7.5 4,10.61 4,14A8,8 0 0,0 12,22A8,8 0 0,0 20,14C20,8.6 17.41,3.8 13.5,0.67Z"},{PackIconKind.Firefox,"M21,11.7C21,11.3 20.9,10.7 20.8,10.3C20.5,8.6 19.6,7.1 18.5,5.9C18.3,5.6 17.9,5.3 17.5,5C16.4,4.1 15.1,3.5 13.6,3.2C10.6,2.7 7.6,3.7 5.6,5.8C5.6,5.8 5.6,5.7 5.6,5.7C5.5,5.5 5.5,5.5 5.4,5.5C5.4,5.5 5.4,5.5 5.4,5.5C5.3,5.3 5.3,5.2 5.2,5.1C5.2,5.1 5.2,5.1 5.2,5.1C5.2,4.9 5.1,4.7 5.1,4.5C4.8,4.6 4.8,4.9 4.7,5.1C4.7,5.1 4.7,5.1 4.7,5.1C4.5,5.3 4.3,5.6 4.3,5.9C4.3,5.9 4.3,5.9 4.3,5.9C4.2,6.1 4,7 4.2,7.1C4.2,7.1 4.2,7.1 4.3,7.1C4.3,7.2 4.3,7.3 4.3,7.4C4.1,7.6 4,7.7 4,7.8C3.7,8.4 3.4,8.9 3.3,9.5C3.3,9.7 3.3,9.8 3.3,9.9C3.3,9.9 3.3,9.9 3.3,9.9C3.3,9.9 3.3,9.8 3.3,9.8C3.1,10 3.1,10.3 3,10.5C3.1,10.5 3.1,10.4 3.2,10.4C2.7,13 3.4,15.7 5,17.7C7.4,20.6 11.5,21.8 15.1,20.5C18.6,19.2 21,15.8 21,12C21,11.9 21,11.8 21,11.7M13.5,4.1C15,4.4 16.4,5.1 17.5,6.1C17.6,6.2 17.7,6.4 17.7,6.4C17.4,6.1 16.7,5.6 16.3,5.8C16.4,6.1 17.6,7.6 17.7,7.7C17.7,7.7 18,9 18.1,9.1C18.1,9.1 18.1,9.1 18.1,9.1C18.1,9.1 18.1,9.1 18.1,9.1C18.1,9.3 17.4,11.9 17.4,12.3C17.4,12.4 16.5,14.2 16.6,14.2C16.3,14.9 16,14.9 15.9,15C15.8,15 15.2,15.2 14.5,15.4C13.9,15.5 13.2,15.7 12.7,15.6C12.4,15.6 12,15.6 11.7,15.4C11.6,15.3 10.8,14.9 10.6,14.8C10.3,14.7 10.1,14.5 9.9,14.3C10.2,14.3 10.8,14.3 11,14.3C11.6,14.2 14.2,13.3 14.1,12.9C14.1,12.6 13.6,12.4 13.4,12.2C13.1,12.1 11.9,12.3 11.4,12.5C11.4,12.5 9.5,12 9,11.6C9,11.5 8.9,10.9 8.9,10.8C8.8,10.7 9.2,10.4 9.2,10.4C9.2,10.4 10.2,9.4 10.2,9.3C10.4,9.3 10.6,9.1 10.7,9C10.6,9 10.8,8.9 11.1,8.7C11.1,8.7 11.1,8.7 11.1,8.7C11.4,8.5 11.6,8.5 11.6,8.2C11.6,8.2 12.1,7.3 11.5,7.4C11.5,7.4 10.6,7.3 10.3,7.3C10,7.5 9.9,7.4 9.6,7.3C9.6,7.3 9.4,7.1 9.4,7C9.5,6.8 10.2,5.3 10.5,5.2C10.3,4.8 9.3,5.1 9.1,5.4C9.1,5.4 8.3,6 7.9,6.1C7.9,6.1 7.9,6.1 7.9,6.1C7.9,6 7.4,5.9 6.9,5.9C8.7,4.4 11.1,3.7 13.5,4.1Z"},{PackIconKind.Fish,"M12,20L12.76,17C9.5,16.79 6.59,15.4 5.75,13.58C5.66,14.06 5.53,14.5 5.33,14.83C4.67,16 3.33,16 2,16C3.1,16 3.5,14.43 3.5,12.5C3.5,10.57 3.1,9 2,9C3.33,9 4.67,9 5.33,10.17C5.53,10.5 5.66,10.94 5.75,11.42C6.4,10 8.32,8.85 10.66,8.32L9,5C11,5 13,5 14.33,5.67C15.46,6.23 16.11,7.27 16.69,8.38C19.61,9.08 22,10.66 22,12.5C22,14.38 19.5,16 16.5,16.66C15.67,17.76 14.86,18.78 14.17,19.33C13.33,20 12.67,20 12,20M17,11A1,1 0 0,0 16,12A1,1 0 0,0 17,13A1,1 0 0,0 18,12A1,1 0 0,0 17,11Z"},{PackIconKind.Flag,"M14.4,6L14,4H5V21H7V14H12.6L13,16H20V6H14.4Z"},{PackIconKind.FlagCheckered,"M14.4,6H20V16H13L12.6,14H7V21H5V4H14L14.4,6M14,14H16V12H18V10H16V8H14V10L13,8V6H11V8H9V6H7V8H9V10H7V12H9V10H11V12H13V10L14,12V14M11,10V8H13V10H11M14,10H16V12H14V10Z"},{PackIconKind.FlagOutline,"M14.5,6H20V16H13L12.5,14H7V21H5V4H14L14.5,6M7,6V12H13L13.5,14H18V8H14L13.5,6H7Z"},{PackIconKind.FlagTriangle,"M7,2H9V22H7V2M19,9L11,14.6V3.4L19,9Z"},{PackIconKind.FlagVariant,"M6,3A1,1 0 0,1 7,4V4.88C8.06,4.44 9.5,4 11,4C14,4 14,6 16,6C19,6 20,4 20,4V12C20,12 19,14 16,14C13,14 13,12 11,12C8,12 7,14 7,14V21H5V4A1,1 0 0,1 6,3Z"},{PackIconKind.FlagVariantOutline,"M6,3A1,1 0 0,1 7,4V4.88C8.06,4.44 9.5,4 11,4C14,4 14,6 16,6C19,6 20,4 20,4V12C20,12 19,14 16,14C13,14 13,12 11,12C8,12 7,14 7,14V21H5V4A1,1 0 0,1 6,3M7,7.25V11.5C7,11.5 9,10 11,10C13,10 14,12 16,12C18,12 18,11 18,11V7.5C18,7.5 17,8 16,8C14,8 13,6 11,6C9,6 7,7.25 7,7.25Z"},{PackIconKind.Flash,"M7,2V13H10V22L17,10H13L17,2H7Z"},{PackIconKind.FlashAuto,"M16.85,7.65L18,4L19.15,7.65M19,2H17L13.8,11H15.7L16.4,9H19.6L20.3,11H22.2M3,2V14H6V23L13,11H9L13,2H3Z"},{PackIconKind.FlashCircle,"M11.5,20L16.36,10.27H13V4L8,13.73H11.5V20M12,2C14.75,2 17.1,3 19.05,4.95C21,6.9 22,9.25 22,12C22,14.75 21,17.1 19.05,19.05C17.1,21 14.75,22 12,22C9.25,22 6.9,21 4.95,19.05C3,17.1 2,14.75 2,12C2,9.25 3,6.9 4.95,4.95C6.9,3 9.25,2 12,2Z"},{PackIconKind.FlashOff,"M17,10H13L17,2H7V4.18L15.46,12.64M3.27,3L2,4.27L7,9.27V13H10V22L13.58,15.86L17.73,20L19,18.73L3.27,3Z"},{PackIconKind.FlashOutline,"M7,2H17L13.5,9H17L10,22V14H7V2M9,4V12H12V14.66L14,11H10.24L13.76,4H9Z"},{PackIconKind.FlashRedEye,"M16,5C15.44,5 15,5.44 15,6C15,6.56 15.44,7 16,7C16.56,7 17,6.56 17,6C17,5.44 16.56,5 16,5M16,2C13.27,2 10.94,3.66 10,6C10.94,8.34 13.27,10 16,10C18.73,10 21.06,8.34 22,6C21.06,3.66 18.73,2 16,2M16,3.5A2.5,2.5 0 0,1 18.5,6A2.5,2.5 0 0,1 16,8.5A2.5,2.5 0 0,1 13.5,6A2.5,2.5 0 0,1 16,3.5M3,2V14H6V23L13,11H9L10.12,8.5C9.44,7.76 8.88,6.93 8.5,6C9.19,4.29 10.5,2.88 12.11,2H3Z"},{PackIconKind.Flashlight,"M9,10L6,5H18L15,10H9M18,4H6V2H18V4M9,22V11H15V22H9M12,13A1,1 0 0,0 11,14A1,1 0 0,0 12,15A1,1 0 0,0 13,14A1,1 0 0,0 12,13Z"},{PackIconKind.FlashlightOff,"M2,5.27L3.28,4L20,20.72L18.73,22L15,18.27V22H9V12.27L2,5.27M18,5L15,10H11.82L6.82,5H18M18,4H6V2H18V4M15,11V13.18L12.82,11H15Z"},{PackIconKind.Flask,"M6,22A3,3 0 0,1 3,19C3,18.4 3.18,17.84 3.5,17.37L9,7.81V6A1,1 0 0,1 8,5V4A2,2 0 0,1 10,2H14A2,2 0 0,1 16,4V5A1,1 0 0,1 15,6V7.81L20.5,17.37C20.82,17.84 21,18.4 21,19A3,3 0 0,1 18,22H6M5,19A1,1 0 0,0 6,20H18A1,1 0 0,0 19,19C19,18.79 18.93,18.59 18.82,18.43L16.53,14.47L14,17L8.93,11.93L5.18,18.43C5.07,18.59 5,18.79 5,19M13,10A1,1 0 0,0 12,11A1,1 0 0,0 13,12A1,1 0 0,0 14,11A1,1 0 0,0 13,10Z"},{PackIconKind.FlaskEmpty,"M6,22A3,3 0 0,1 3,19C3,18.4 3.18,17.84 3.5,17.37L9,7.81V6A1,1 0 0,1 8,5V4A2,2 0 0,1 10,2H14A2,2 0 0,1 16,4V5A1,1 0 0,1 15,6V7.81L20.5,17.37C20.82,17.84 21,18.4 21,19A3,3 0 0,1 18,22H6Z"},{PackIconKind.FlaskEmptyOutline,"M5,19A1,1 0 0,0 6,20H18A1,1 0 0,0 19,19C19,18.79 18.93,18.59 18.82,18.43L13,8.35V4H11V8.35L5.18,18.43C5.07,18.59 5,18.79 5,19M6,22A3,3 0 0,1 3,19C3,18.4 3.18,17.84 3.5,17.37L9,7.81V6A1,1 0 0,1 8,5V4A2,2 0 0,1 10,2H14A2,2 0 0,1 16,4V5A1,1 0 0,1 15,6V7.81L20.5,17.37C20.82,17.84 21,18.4 21,19A3,3 0 0,1 18,22H6Z"},{PackIconKind.FlaskOutline,"M5,19A1,1 0 0,0 6,20H18A1,1 0 0,0 19,19C19,18.79 18.93,18.59 18.82,18.43L13,8.35V4H11V8.35L5.18,18.43C5.07,18.59 5,18.79 5,19M6,22A3,3 0 0,1 3,19C3,18.4 3.18,17.84 3.5,17.37L9,7.81V6A1,1 0 0,1 8,5V4A2,2 0 0,1 10,2H14A2,2 0 0,1 16,4V5A1,1 0 0,1 15,6V7.81L20.5,17.37C20.82,17.84 21,18.4 21,19A3,3 0 0,1 18,22H6M13,16L14.34,14.66L16.27,18H7.73L10.39,13.39L13,16M12.5,12A0.5,0.5 0 0,1 13,12.5A0.5,0.5 0 0,1 12.5,13A0.5,0.5 0 0,1 12,12.5A0.5,0.5 0 0,1 12.5,12Z"},{PackIconKind.Flattr,"M21,9V15A6,6 0 0,1 15,21H4.41L11.07,14.35C11.38,14.04 11.69,13.73 11.84,13.75C12,13.78 12,14.14 12,14.5V17H14A3,3 0 0,0 17,14V8.41L21,4.41V9M3,15V9A6,6 0 0,1 9,3H19.59L12.93,9.65C12.62,9.96 12.31,10.27 12.16,10.25C12,10.22 12,9.86 12,9.5V7H10A3,3 0 0,0 7,10V15.59L3,19.59V15Z"},{PackIconKind.FlipToBack,"M15,17H17V15H15M15,5H17V3H15M5,7H3V19A2,2 0 0,0 5,21H17V19H5M19,17A2,2 0 0,0 21,15H19M19,9H21V7H19M19,13H21V11H19M9,17V15H7A2,2 0 0,0 9,17M13,3H11V5H13M19,3V5H21C21,3.89 20.1,3 19,3M13,15H11V17H13M9,3C7.89,3 7,3.89 7,5H9M9,11H7V13H9M9,7H7V9H9V7Z"},{PackIconKind.FlipToFront,"M7,21H9V19H7M11,21H13V19H11M19,15H9V5H19M19,3H9C7.89,3 7,3.89 7,5V15A2,2 0 0,0 9,17H14L18,17H19A2,2 0 0,0 21,15V5C21,3.89 20.1,3 19,3M15,21H17V19H15M3,9H5V7H3M5,21V19H3A2,2 0 0,0 5,21M3,17H5V15H3M3,13H5V11H3V13Z"},{PackIconKind.FloorPlan,"M10,5V10H9V5H5V13H9V12H10V17H9V14H5V19H12V17H13V19H19V17H21V21H3V3H21V15H19V10H13V15H12V9H19V5H10Z"},{PackIconKind.Floppy,"M4.5,22L2,19.5V4A2,2 0 0,1 4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H17V15A1,1 0 0,0 16,14H7A1,1 0 0,0 6,15V22H4.5M5,4V10A1,1 0 0,0 6,11H18A1,1 0 0,0 19,10V4H5M8,16H11V20H8V16M20,4V5H21V4H20Z"},{PackIconKind.Flower,"M3,13A9,9 0 0,0 12,22C12,17 7.97,13 3,13M12,5.5A2.5,2.5 0 0,1 14.5,8A2.5,2.5 0 0,1 12,10.5A2.5,2.5 0 0,1 9.5,8A2.5,2.5 0 0,1 12,5.5M5.6,10.25A2.5,2.5 0 0,0 8.1,12.75C8.63,12.75 9.12,12.58 9.5,12.31C9.5,12.37 9.5,12.43 9.5,12.5A2.5,2.5 0 0,0 12,15A2.5,2.5 0 0,0 14.5,12.5C14.5,12.43 14.5,12.37 14.5,12.31C14.88,12.58 15.37,12.75 15.9,12.75C17.28,12.75 18.4,11.63 18.4,10.25C18.4,9.25 17.81,8.4 16.97,8C17.81,7.6 18.4,6.74 18.4,5.75C18.4,4.37 17.28,3.25 15.9,3.25C15.37,3.25 14.88,3.41 14.5,3.69C14.5,3.63 14.5,3.56 14.5,3.5A2.5,2.5 0 0,0 12,1A2.5,2.5 0 0,0 9.5,3.5C9.5,3.56 9.5,3.63 9.5,3.69C9.12,3.41 8.63,3.25 8.1,3.25A2.5,2.5 0 0,0 5.6,5.75C5.6,6.74 6.19,7.6 7.03,8C6.19,8.4 5.6,9.25 5.6,10.25M12,22A9,9 0 0,0 21,13C16,13 12,17 12,22Z"},{PackIconKind.Folder,"M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z"},{PackIconKind.FolderAccount,"M19,17H11V16C11,14.67 13.67,14 15,14C16.33,14 19,14.67 19,16M15,9A2,2 0 0,1 17,11A2,2 0 0,1 15,13A2,2 0 0,1 13,11C13,9.89 13.9,9 15,9M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z"},{PackIconKind.FolderDownload,"M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H20M19.25,13H16V9H14V13H10.75L15,17.25"},{PackIconKind.FolderGoogleDrive,"M13.75,9H16.14L19,14H16.05L13.5,9.46M18.3,17H12.75L14.15,14.5H19.27L19.53,14.96M11.5,17L10.4,14.86L13.24,9.9L14.74,12.56L12.25,17M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z"},{PackIconKind.FolderImage,"M5,17L9.5,11L13,15.5L15.5,12.5L19,17M20,6H12L10,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8A2,2 0 0,0 20,6Z"},{PackIconKind.FolderLock,"M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H20M19,17V13H18V12A3,3 0 0,0 15,9A3,3 0 0,0 12,12V13H11V17H19M15,11A1,1 0 0,1 16,12V13H14V12A1,1 0 0,1 15,11Z"},{PackIconKind.FolderLockOpen,"M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H20M19,17V13H18L16,13H14V11A1,1 0 0,1 15,10A1,1 0 0,1 16,11H18A3,3 0 0,0 15,8A3,3 0 0,0 12,11V13H11V17H19Z"},{PackIconKind.FolderMove,"M14,18V15H10V11H14V8L19,13M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z"},{PackIconKind.FolderMultiple,"M22,4H14L12,2H6A2,2 0 0,0 4,4V16A2,2 0 0,0 6,18H22A2,2 0 0,0 24,16V6A2,2 0 0,0 22,4M2,6H0V11H0V20A2,2 0 0,0 2,22H20V20H2V6Z"},{PackIconKind.FolderMultipleImage,"M7,15L11.5,9L15,13.5L17.5,10.5L21,15M22,4H14L12,2H6A2,2 0 0,0 4,4V16A2,2 0 0,0 6,18H22A2,2 0 0,0 24,16V6A2,2 0 0,0 22,4M2,6H0V11H0V20A2,2 0 0,0 2,22H20V20H2V6Z"},{PackIconKind.FolderMultipleOutline,"M22,4A2,2 0 0,1 24,6V16A2,2 0 0,1 22,18H6A2,2 0 0,1 4,16V4A2,2 0 0,1 6,2H12L14,4H22M2,6V20H20V22H2A2,2 0 0,1 0,20V11H0V6H2M6,6V16H22V6H6Z"},{PackIconKind.FolderNetwork,"M3,14V4A2,2 0 0,1 5,2H11L13,4H19A2,2 0 0,1 21,6V14A2,2 0 0,1 19,16H13V18H14A1,1 0 0,1 15,19H22V21H15A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21H2V19H9A1,1 0 0,1 10,18H11V16H5A2,2 0 0,1 3,14Z"},{PackIconKind.FolderOpen,"M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z"},{PackIconKind.FolderOutline,"M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z"},{PackIconKind.FolderPlus,"M10,4L12,6H20A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10M15,9V12H12V14H15V17H17V14H20V12H17V9H15Z"},{PackIconKind.FolderRemove,"M10,4L12,6H20A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10M12.46,10.88L14.59,13L12.46,15.12L13.88,16.54L16,14.41L18.12,16.54L19.54,15.12L17.41,13L19.54,10.88L18.12,9.46L16,11.59L13.88,9.46L12.46,10.88Z"},{PackIconKind.FolderStar,"M20,6H12L10,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8A2,2 0 0,0 20,6M17.94,17L15,15.28L12.06,17L12.84,13.67L10.25,11.43L13.66,11.14L15,8L16.34,11.14L19.75,11.43L17.16,13.67L17.94,17Z"},{PackIconKind.FolderUpload,"M20,6A2,2 0 0,1 22,8V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4H10L12,6H20M10.75,13H14V17H16V13H19.25L15,8.75"},{PackIconKind.FontAwesome,"M6,3A2.5,2.5 0 0,1 8.5,5.5C8.5,6.53 7.88,7.41 7,7.79V8.66C8.11,8.36 9.72,8 11,8C12.15,8 12.89,8.22 13.54,8.42C14.13,8.6 14.65,8.75 15.5,8.75C17.13,8.75 18.4,8.18 18.54,8.11C18.68,8.04 18.84,8 19,8A1,1 0 0,1 20,9V17C20,17.38 19.79,17.72 19.45,17.89C19.38,17.93 17.71,18.75 15.5,18.75C14.39,18.75 13.45,18.55 12.54,18.35C11.69,18.17 10.89,18 10,18C8.85,18 7.67,18.39 7,18.66V22H5V7.79C4.12,7.41 3.5,6.53 3.5,5.5A2.5,2.5 0 0,1 6,3Z"},{PackIconKind.Food,"M15.5,21L14,8H16.23L15.1,3.46L16.84,3L18.09,8H22L20.5,21H15.5M5,11H10A3,3 0 0,1 13,14H2A3,3 0 0,1 5,11M13,18A3,3 0 0,1 10,21H5A3,3 0 0,1 2,18H13M3,15H8L9.5,16.5L11,15H12A1,1 0 0,1 13,16A1,1 0 0,1 12,17H3A1,1 0 0,1 2,16A1,1 0 0,1 3,15Z"},{PackIconKind.FoodApple,"M20,10C22,13 17,22 15,22C13,22 13,21 12,21C11,21 11,22 9,22C7,22 2,13 4,10C6,7 9,7 11,8V5C5.38,8.07 4.11,3.78 4.11,3.78C4.11,3.78 6.77,0.19 11,5V3H13V8C15,7 18,7 20,10Z"},{PackIconKind.FoodCroissant,"M22,19L19,17L22,15V19M15,15L19,9L22,13L18,16L15,15M5,17L2,19V15L5,17M9,15L6,16L2,13L5,9L9,15M14,6L18,8L13,15H11L6,8L10,6H14Z"},{PackIconKind.FoodForkDrink,"M3,3A1,1 0 0,0 2,4V8L2,9.5C2,11.19 3.03,12.63 4.5,13.22V19.5A1.5,1.5 0 0,0 6,21A1.5,1.5 0 0,0 7.5,19.5V13.22C8.97,12.63 10,11.19 10,9.5V8L10,4A1,1 0 0,0 9,3A1,1 0 0,0 8,4V8A0.5,0.5 0 0,1 7.5,8.5A0.5,0.5 0 0,1 7,8V4A1,1 0 0,0 6,3A1,1 0 0,0 5,4V8A0.5,0.5 0 0,1 4.5,8.5A0.5,0.5 0 0,1 4,8V4A1,1 0 0,0 3,3M19.88,3C19.75,3 19.62,3.09 19.5,3.16L16,5.25V9H12V11H13L14,21H20L21,11H22V9H18V6.34L20.5,4.84C21,4.56 21.13,4 20.84,3.5C20.63,3.14 20.26,2.95 19.88,3Z"},{PackIconKind.FoodOff,"M2,5.27L3.28,4L21,21.72L19.73,23L17.73,21H15.5L15.21,18.5L12.97,16.24C12.86,16.68 12.47,17 12,17H3A1,1 0 0,1 2,16A1,1 0 0,1 3,15H8L9.5,16.5L11,15H11.73L10.73,14H2A3,3 0 0,1 5,11H7.73L2,5.27M14,8H16.23L15.1,3.46L16.84,3L18.09,8H22L20.74,18.92L14.54,12.72L14,8M13,18A3,3 0 0,1 10,21H5A3,3 0 0,1 2,18H13Z"},{PackIconKind.FoodVariant,"M22,18A4,4 0 0,1 18,22H15A4,4 0 0,1 11,18V16H17.79L20.55,11.23L22.11,12.13L19.87,16H22V18M9,22H2C2,19 2,16 2.33,12.83C2.6,10.3 3.08,7.66 3.6,5H3V3H4L7,3H8V5H7.4C7.92,7.66 8.4,10.3 8.67,12.83C9,16 9,19 9,22Z"},{PackIconKind.Football,"M7.5,7.5C9.17,5.87 11.29,4.69 13.37,4.18C15.46,3.67 17.5,3.83 18.6,4C19.71,4.15 19.87,4.31 20.03,5.41C20.18,6.5 20.33,8.55 19.82,10.63C19.31,12.71 18.13,14.83 16.5,16.5C14.83,18.13 12.71,19.31 10.63,19.82C8.55,20.33 6.5,20.18 5.41,20.03C4.31,19.87 4.15,19.71 4,18.6C3.83,17.5 3.67,15.46 4.18,13.37C4.69,11.29 5.87,9.17 7.5,7.5M7.3,15.79L8.21,16.7L9.42,15.5L10.63,16.7L11.54,15.79L10.34,14.58L12,12.91L13.21,14.12L14.12,13.21L12.91,12L14.58,10.34L15.79,11.54L16.7,10.63L15.5,9.42L16.7,8.21L15.79,7.3L14.58,8.5L13.37,7.3L12.46,8.21L13.66,9.42L12,11.09L10.79,9.88L9.88,10.79L11.09,12L9.42,13.66L8.21,12.46L7.3,13.37L8.5,14.58L7.3,15.79Z"},{PackIconKind.FootballAustralian,"M7.5,7.5C9.17,5.87 11.29,4.69 13.37,4.18C18,3 21,6 19.82,10.63C19.31,12.71 18.13,14.83 16.5,16.5C14.83,18.13 12.71,19.31 10.63,19.82C6,21 3,18 4.18,13.37C4.69,11.29 5.87,9.17 7.5,7.5M10.62,11.26L10.26,11.62L12.38,13.74L12.74,13.38L10.62,11.26M11.62,10.26L11.26,10.62L13.38,12.74L13.74,12.38L11.62,10.26M9.62,12.26L9.26,12.62L11.38,14.74L11.74,14.38L9.62,12.26M12.63,9.28L12.28,9.63L14.4,11.75L14.75,11.4L12.63,9.28M8.63,13.28L8.28,13.63L10.4,15.75L10.75,15.4L8.63,13.28M13.63,8.28L13.28,8.63L15.4,10.75L15.75,10.4L13.63,8.28Z"},{PackIconKind.FootballHelmet,"M13.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,15A1.5,1.5 0 0,0 15,13.5A1.5,1.5 0 0,0 13.5,12M13.5,3C18.19,3 22,6.58 22,11C22,12.62 22,14 21.09,16C17,16 16,20 12.5,20C10.32,20 9.27,18.28 9.05,16H9L8.24,16L6.96,20.3C6.81,20.79 6.33,21.08 5.84,21H3A1,1 0 0,1 2,20A1,1 0 0,1 3,19V16A1,1 0 0,1 2,15A1,1 0 0,1 3,14H6.75L7.23,12.39C6.72,12.14 6.13,12 5.5,12H5.07L5,11C5,6.58 8.81,3 13.5,3M5,16V19H5.26L6.15,16H5Z"},{PackIconKind.Forklift,"M6,4V11H4C2.89,11 2,11.89 2,13V17A3,3 0 0,0 5,20A3,3 0 0,0 8,17H10A3,3 0 0,0 13,20A3,3 0 0,0 16,17V13L12,4H6M17,5V19H22V17.5H18.5V5H17M7.5,5.5H11.2L14.5,13H7.5V5.5M5,15.5A1.5,1.5 0 0,1 6.5,17A1.5,1.5 0 0,1 5,18.5A1.5,1.5 0 0,1 3.5,17A1.5,1.5 0 0,1 5,15.5M13,15.5A1.5,1.5 0 0,1 14.5,17A1.5,1.5 0 0,1 13,18.5A1.5,1.5 0 0,1 11.5,17A1.5,1.5 0 0,1 13,15.5Z"},{PackIconKind.FormatAlignBottom,"M13,9L15.5,6.5L16.92,7.92L12,12.84L7.08,7.92L8.5,6.5L11,9V3H13V9M3,15H21V17H3V15M3,19H13V21H3V19Z"},{PackIconKind.FormatAlignCenter,"M3,3H21V5H3V3M7,7H17V9H7V7M3,11H21V13H3V11M7,15H17V17H7V15M3,19H21V21H3V19Z"},{PackIconKind.FormatAlignJustify,"M3,3H21V5H3V3M3,7H21V9H3V7M3,11H21V13H3V11M3,15H21V17H3V15M3,19H21V21H3V19Z"},{PackIconKind.FormatAlignLeft,"M3,3H21V5H3V3M3,7H15V9H3V7M3,11H21V13H3V11M3,15H15V17H3V15M3,19H21V21H3V19Z"},{PackIconKind.FormatAlignMiddle,"M13,6L15,4L16.42,5.42L12,9.84L7.58,5.42L9,4L11,6V2H13V6M3,11H21V13H3V11M13,18V22H11V18L9,20L7.58,18.58L12,14.16L16.42,18.58L15,20L13,18Z"},{PackIconKind.FormatAlignRight,"M3,3H21V5H3V3M9,7H21V9H9V7M3,11H21V13H3V11M9,15H21V17H9V15M3,19H21V21H3V19Z"},{PackIconKind.FormatAlignTop,"M13,15L15.5,17.5L16.92,16.08L12,11.16L7.08,16.08L8.5,17.5L11,15V21H13V15M3,3H21V5H3V3M3,7H13V9H3V7Z"},{PackIconKind.FormatAnnotationPlus,"M8.5,7H10.5L16,21H13.6L12.5,18H6.3L5.2,21H3L8.5,7M7.1,16H11.9L9.5,9.7L7.1,16M22,5V7H19V10H17V7H14V5H17V2H19V5H22Z"},{PackIconKind.FormatBold,"M13.5,15.5H10V12.5H13.5A1.5,1.5 0 0,1 15,14A1.5,1.5 0 0,1 13.5,15.5M10,6.5H13A1.5,1.5 0 0,1 14.5,8A1.5,1.5 0 0,1 13,9.5H10M15.6,10.79C16.57,10.11 17.25,9 17.25,8C17.25,5.74 15.5,4 13.25,4H7V18H14.04C16.14,18 17.75,16.3 17.75,14.21C17.75,12.69 16.89,11.39 15.6,10.79Z"},{PackIconKind.FormatClear,"M6,5V5.18L8.82,8H11.22L10.5,9.68L12.6,11.78L14.21,8H20V5H6M3.27,5L2,6.27L8.97,13.24L6.5,19H9.5L11.07,15.34L16.73,21L18,19.73L3.55,5.27L3.27,5Z"},{PackIconKind.FormatColorFill,"M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z"},{PackIconKind.FormatColorText,"M9.62,12L12,5.67L14.37,12M11,3L5.5,17H7.75L8.87,14H15.12L16.25,17H18.5L13,3H11Z"},{PackIconKind.FormatFloatCenter,"M9,7H15V13H9V7M3,3H21V5H3V3M3,15H21V17H3V15M3,19H17V21H3V19Z"},{PackIconKind.FormatFloatLeft,"M3,7H9V13H3V7M3,3H21V5H3V3M21,7V9H11V7H21M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z"},{PackIconKind.FormatFloatNone,"M3,7H9V13H3V7M3,3H21V5H3V3M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z"},{PackIconKind.FormatFloatRight,"M15,7H21V13H15V7M3,3H21V5H3V3M13,7V9H3V7H13M9,11V13H3V11H9M3,15H17V17H3V15M3,19H21V21H3V19Z"},{PackIconKind.FormatFont,"M17,8H20V20H21V21H17V20H18V17H14L12.5,20H14V21H10V20H11L17,8M18,9L14.5,16H18V9M5,3H10C11.11,3 12,3.89 12,5V16H9V11H6V16H3V5C3,3.89 3.89,3 5,3M6,5V9H9V5H6Z"},{PackIconKind.FormatHeader1,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M14,18V16H16V6.31L13.5,7.75V5.44L16,4H18V16H20V18H14Z"},{PackIconKind.FormatHeader2,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M21,18H15A2,2 0 0,1 13,16C13,15.47 13.2,15 13.54,14.64L18.41,9.41C18.78,9.05 19,8.55 19,8A2,2 0 0,0 17,6A2,2 0 0,0 15,8H13A4,4 0 0,1 17,4A4,4 0 0,1 21,8C21,9.1 20.55,10.1 19.83,10.83L15,16H21V18Z"},{PackIconKind.FormatHeader3,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H19A2,2 0 0,1 21,6V16A2,2 0 0,1 19,18H15A2,2 0 0,1 13,16V15H15V16H19V12H15V10H19V6H15V7H13V6A2,2 0 0,1 15,4Z"},{PackIconKind.FormatHeader4,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M18,18V13H13V11L18,4H20V11H21V13H20V18H18M18,11V7.42L15.45,11H18Z"},{PackIconKind.FormatHeader5,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H20V6H15V10H17A4,4 0 0,1 21,14A4,4 0 0,1 17,18H15A2,2 0 0,1 13,16V15H15V16H17A2,2 0 0,0 19,14A2,2 0 0,0 17,12H15A2,2 0 0,1 13,10V6A2,2 0 0,1 15,4Z"},{PackIconKind.FormatHeader6,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M15,4H19A2,2 0 0,1 21,6V7H19V6H15V10H19A2,2 0 0,1 21,12V16A2,2 0 0,1 19,18H15A2,2 0 0,1 13,16V6A2,2 0 0,1 15,4M15,12V16H19V12H15Z"},{PackIconKind.FormatHeaderDecrease,"M4,4H6V10H10V4H12V18H10V12H6V18H4V4M20.42,7.41L16.83,11L20.42,14.59L19,16L14,11L19,6L20.42,7.41Z"},{PackIconKind.FormatHeaderEqual,"M4,4H6V10H10V4H12V18H10V12H6V18H4V4M14,10V8H21V10H14M14,12H21V14H14V12Z"},{PackIconKind.FormatHeaderIncrease,"M4,4H6V10H10V4H12V18H10V12H6V18H4V4M14.59,7.41L18.17,11L14.59,14.59L16,16L21,11L16,6L14.59,7.41Z"},{PackIconKind.FormatHeaderPound,"M3,4H5V10H9V4H11V18H9V12H5V18H3V4M13,8H15.31L15.63,5H17.63L17.31,8H19.31L19.63,5H21.63L21.31,8H23V10H21.1L20.9,12H23V14H20.69L20.37,17H18.37L18.69,14H16.69L16.37,17H14.37L14.69,14H13V12H14.9L15.1,10H13V8M17.1,10L16.9,12H18.9L19.1,10H17.1Z"},{PackIconKind.FormatHorizontalAlignCenter,"M19,16V13H23V11H19V8L15,12L19,16M5,8V11H1V13H5V16L9,12L5,8M11,20H13V4H11V20Z"},{PackIconKind.FormatHorizontalAlignLeft,"M11,16V13H21V11H11V8L7,12L11,16M3,20H5V4H3V20Z"},{PackIconKind.FormatHorizontalAlignRight,"M13,8V11H3V13H13V16L17,12L13,8M19,20H21V4H19V20Z"},{PackIconKind.FormatIndentDecrease,"M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M3,21H21V19H3M3,12L7,16V8M11,17H21V15H11V17Z"},{PackIconKind.FormatIndentIncrease,"M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M11,17H21V15H11M3,8V16L7,12M3,21H21V19H3V21Z"},{PackIconKind.FormatItalic,"M10,4V7H12.21L8.79,15H6V18H14V15H11.79L15.21,7H18V4H10Z"},{PackIconKind.FormatLineSpacing,"M10,13H22V11H10M10,19H22V17H10M10,7H22V5H10M6,7H8.5L5,3.5L1.5,7H4V17H1.5L5,20.5L8.5,17H6V7Z"},{PackIconKind.FormatLineStyle,"M3,16H8V14H3V16M9.5,16H14.5V14H9.5V16M16,16H21V14H16V16M3,20H5V18H3V20M7,20H9V18H7V20M11,20H13V18H11V20M15,20H17V18H15V20M19,20H21V18H19V20M3,12H11V10H3V12M13,12H21V10H13V12M3,4V8H21V4H3Z"},{PackIconKind.FormatLineWeight,"M3,17H21V15H3V17M3,20H21V19H3V20M3,13H21V10H3V13M3,4V8H21V4H3Z"},{PackIconKind.FormatListBulleted,"M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z"},{PackIconKind.FormatListBulletedType,"M5,9.5L7.5,14H2.5L5,9.5M3,4H7V8H3V4M5,20A2,2 0 0,0 7,18A2,2 0 0,0 5,16A2,2 0 0,0 3,18A2,2 0 0,0 5,20M9,5V7H21V5H9M9,19H21V17H9V19M9,13H21V11H9V13Z"},{PackIconKind.FormatListChecks,"M3,5H9V11H3V5M5,7V9H7V7H5M11,7H21V9H11V7M11,15H21V17H11V15M5,20L1.5,16.5L2.91,15.09L5,17.17L9.59,12.59L11,14L5,20Z"},{PackIconKind.FormatListNumbers,"M7,13H21V11H7M7,19H21V17H7M7,7H21V5H7M2,11H3.8L2,13.1V14H5V13H3.2L5,10.9V10H2M3,8H4V4H2V5H3M2,17H4V17.5H3V18.5H4V19H2V20H5V16H2V17Z"},{PackIconKind.FormatPageBreak,"M7,11H9V13H7V11M11,11H13V13H11V11M19,17H15V11.17L21,17.17V22H3V13H5V20H19V17M3,2H21V11H19V4H5V11H3V2Z"},{PackIconKind.FormatPaint,"M18,4V3A1,1 0 0,0 17,2H5A1,1 0 0,0 4,3V7A1,1 0 0,0 5,8H17A1,1 0 0,0 18,7V6H19V10H9V21A1,1 0 0,0 10,22H12A1,1 0 0,0 13,21V12H21V4H18Z"},{PackIconKind.FormatParagraph,"M13,4A4,4 0 0,1 17,8A4,4 0 0,1 13,12H11V18H9V4H13M13,10A2,2 0 0,0 15,8A2,2 0 0,0 13,6H11V10H13Z"},{PackIconKind.FormatPilcrow,"M10,11A4,4 0 0,1 6,7A4,4 0 0,1 10,3H18V5H16V21H14V5H12V21H10V11Z"},{PackIconKind.FormatQuoteClose,"M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z"},{PackIconKind.FormatQuoteOpen,"M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z"},{PackIconKind.FormatRotate90,"M7.34,6.41L0.86,12.9L7.35,19.38L13.84,12.9L7.34,6.41M3.69,12.9L7.35,9.24L11,12.9L7.34,16.56L3.69,12.9M19.36,6.64C17.61,4.88 15.3,4 13,4V0.76L8.76,5L13,9.24V6C14.79,6 16.58,6.68 17.95,8.05C20.68,10.78 20.68,15.22 17.95,17.95C16.58,19.32 14.79,20 13,20C12.03,20 11.06,19.79 10.16,19.39L8.67,20.88C10,21.62 11.5,22 13,22C15.3,22 17.61,21.12 19.36,19.36C22.88,15.85 22.88,10.15 19.36,6.64Z"},{PackIconKind.FormatSection,"M15.67,4.42C14.7,3.84 13.58,3.54 12.45,3.56C10.87,3.56 9.66,4.34 9.66,5.56C9.66,6.96 11,7.47 13,8.14C15.5,8.95 17.4,9.97 17.4,12.38C17.36,13.69 16.69,14.89 15.6,15.61C16.25,16.22 16.61,17.08 16.6,17.97C16.6,20.79 14,21.97 11.5,21.97C10.04,22.03 8.59,21.64 7.35,20.87L8,19.34C9.04,20.05 10.27,20.43 11.53,20.44C13.25,20.44 14.53,19.66 14.53,18.24C14.53,17 13.75,16.31 11.25,15.45C8.5,14.5 6.6,13.5 6.6,11.21C6.67,9.89 7.43,8.69 8.6,8.07C7.97,7.5 7.61,6.67 7.6,5.81C7.6,3.45 9.77,2 12.53,2C13.82,2 15.09,2.29 16.23,2.89L15.67,4.42M11.35,13.42C12.41,13.75 13.44,14.18 14.41,14.71C15.06,14.22 15.43,13.45 15.41,12.64C15.41,11.64 14.77,10.76 13,10.14C11.89,9.77 10.78,9.31 9.72,8.77C8.97,9.22 8.5,10.03 8.5,10.91C8.5,11.88 9.23,12.68 11.35,13.42Z"},{PackIconKind.FormatSize,"M3,12H6V19H9V12H12V9H3M9,4V7H14V19H17V7H22V4H9Z"},{PackIconKind.FormatStrikethrough,"M3,14H21V12H3M5,4V7H10V10H14V7H19V4M10,19H14V16H10V19Z"},{PackIconKind.FormatStrikethroughVariant,"M23,12V14H18.61C19.61,16.14 19.56,22 12.38,22C4.05,22.05 4.37,15.5 4.37,15.5L8.34,15.55C8.37,18.92 11.5,18.92 12.12,18.88C12.76,18.83 15.15,18.84 15.34,16.5C15.42,15.41 14.32,14.58 13.12,14H1V12H23M19.41,7.89L15.43,7.86C15.43,7.86 15.6,5.09 12.15,5.08C8.7,5.06 9,7.28 9,7.56C9.04,7.84 9.34,9.22 12,9.88H5.71C5.71,9.88 2.22,3.15 10.74,2C19.45,0.8 19.43,7.91 19.41,7.89Z"},{PackIconKind.FormatSubscript,"M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,21.03H16.97V20.03L17.86,19.23C18.62,18.58 19.18,18.04 19.56,17.6C19.93,17.16 20.12,16.75 20.13,16.36C20.14,16.08 20.05,15.85 19.86,15.66C19.68,15.5 19.39,15.38 19,15.38C18.69,15.38 18.42,15.44 18.16,15.56L17.5,15.94L17.05,14.77C17.32,14.56 17.64,14.38 18.03,14.24C18.42,14.1 18.85,14 19.32,14C20.1,14.04 20.7,14.25 21.1,14.66C21.5,15.07 21.72,15.59 21.72,16.23C21.71,16.79 21.53,17.31 21.18,17.78C20.84,18.25 20.42,18.7 19.91,19.14L19.27,19.66V19.68H21.85V21.03Z"},{PackIconKind.FormatSuperscript,"M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,9H16.97V8L17.86,7.18C18.62,6.54 19.18,6 19.56,5.55C19.93,5.11 20.12,4.7 20.13,4.32C20.14,4.04 20.05,3.8 19.86,3.62C19.68,3.43 19.39,3.34 19,3.33C18.69,3.34 18.42,3.4 18.16,3.5L17.5,3.89L17.05,2.72C17.32,2.5 17.64,2.33 18.03,2.19C18.42,2.05 18.85,2 19.32,2C20.1,2 20.7,2.2 21.1,2.61C21.5,3 21.72,3.54 21.72,4.18C21.71,4.74 21.53,5.26 21.18,5.73C20.84,6.21 20.42,6.66 19.91,7.09L19.27,7.61V7.63H21.85V9Z"},{PackIconKind.FormatText,"M18.5,4L19.66,8.35L18.7,8.61C18.25,7.74 17.79,6.87 17.26,6.43C16.73,6 16.11,6 15.5,6H13V16.5C13,17 13,17.5 13.33,17.75C13.67,18 14.33,18 15,18V19H9V18C9.67,18 10.33,18 10.67,17.75C11,17.5 11,17 11,16.5V6H8.5C7.89,6 7.27,6 6.74,6.43C6.21,6.87 5.75,7.74 5.3,8.61L4.34,8.35L5.5,4H18.5Z"},{PackIconKind.FormatTextdirectionLToR,"M21,18L17,14V17H5V19H17V22M9,10V15H11V4H13V15H15V4H17V2H9A4,4 0 0,0 5,6A4,4 0 0,0 9,10Z"},{PackIconKind.FormatTextdirectionRToL,"M8,17V14L4,18L8,22V19H20V17M10,10V15H12V4H14V15H16V4H18V2H10A4,4 0 0,0 6,6A4,4 0 0,0 10,10Z"},{PackIconKind.FormatTitle,"M5,4V7H10.5V19H13.5V7H19V4H5Z"},{PackIconKind.FormatUnderline,"M5,21H19V19H5V21M12,17A6,6 0 0,0 18,11V3H15.5V11A3.5,3.5 0 0,1 12,14.5A3.5,3.5 0 0,1 8.5,11V3H6V11A6,6 0 0,0 12,17Z"},{PackIconKind.FormatVerticalAlignBottom,"M16,13H13V3H11V13H8L12,17L16,13M4,19V21H20V19H4Z"},{PackIconKind.FormatVerticalAlignCenter,"M8,19H11V23H13V19H16L12,15L8,19M16,5H13V1H11V5H8L12,9L16,5M4,11V13H20V11H4Z"},{PackIconKind.FormatVerticalAlignTop,"M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z"},{PackIconKind.FormatWrapInline,"M8,7L13,17H3L8,7M3,3H21V5H3V3M21,15V17H14V15H21M3,19H21V21H3V19Z"},{PackIconKind.FormatWrapSquare,"M12,7L17,17H7L12,7M3,3H21V5H3V3M3,7H6V9H3V7M21,7V9H18V7H21M3,11H6V13H3V11M21,11V13H18V11H21M3,15H6V17H3V15M21,15V17H18V15H21M3,19H21V21H3V19Z"},{PackIconKind.FormatWrapTight,"M12,7L17,17H7L12,7M3,3H21V5H3V3M3,7H9V9H3V7M21,7V9H15V7H21M3,11H7V13H3V11M21,11V13H17V11H21M3,15H6V17H3V15M21,15V17H18V15H21M3,19H21V21H3V19Z"},{PackIconKind.FormatWrapTopBottom,"M12,7L17,17H7L12,7M3,3H21V5H3V3M3,19H21V21H3V19Z"},{PackIconKind.Forum,"M17,12V3A1,1 0 0,0 16,2H3A1,1 0 0,0 2,3V17L6,13H16A1,1 0 0,0 17,12M21,6H19V15H6V17A1,1 0 0,0 7,18H18L22,22V7A1,1 0 0,0 21,6Z"},{PackIconKind.ForumOutline,"M4,2A2,2 0 0,0 2,4V17L6,13H15A2,2 0 0,0 17,11V4A2,2 0 0,0 15,2H4M4,4H15V11H6L4,13V4M19,6V8H20V18L18,16H8V15H6V16A2,2 0 0,0 8,18H18L22,22V8A2,2 0 0,0 20,6H19Z"},{PackIconKind.Forward,"M12,8V4L20,12L12,20V16H4V8H12Z"},{PackIconKind.Foursquare,"M17,5L16.57,7.5C16.5,7.73 16.2,8 15.91,8C15.61,8 12,8 12,8C11.53,8 10.95,8.32 10.95,8.79V9.2C10.95,9.67 11.53,10 12,10C12,10 14.95,10 15.28,10C15.61,10 15.93,10.36 15.86,10.71C15.79,11.07 14.94,13.28 14.9,13.5C14.86,13.67 14.64,14 14.25,14C13.92,14 11.37,14 11.37,14C10.85,14 10.69,14.07 10.34,14.5C10,14.94 7.27,18.1 7.27,18.1C7.24,18.13 7,18.04 7,18V5C7,4.7 7.61,4 8,4C8,4 16.17,4 16.5,4C16.82,4 17.08,4.61 17,5M17,14.45C17.11,13.97 18.78,6.72 19.22,4.55M17.58,2C17.58,2 8.38,2 6.91,2C5.43,2 5,3.11 5,3.8C5,4.5 5,20.76 5,20.76C5,21.54 5.42,21.84 5.66,21.93C5.9,22.03 6.55,22.11 6.94,21.66C6.94,21.66 11.65,16.22 11.74,16.13C11.87,16 11.87,16 12,16C12.26,16 14.2,16 15.26,16C16.63,16 16.85,15 17,14.45C17.11,13.97 18.78,6.72 19.22,4.55C19.56,2.89 19.14,2 17.58,2Z"},{PackIconKind.Fridge,"M9,21V22H7V21A2,2 0 0,1 5,19V4A2,2 0 0,1 7,2H17A2,2 0 0,1 19,4V19A2,2 0 0,1 17,21V22H15V21H9M7,4V9H17V4H7M7,19H17V11H7V19M8,12H10V15H8V12M8,6H10V8H8V6Z"},{PackIconKind.FridgeFilled,"M7,2H17A2,2 0 0,1 19,4V9H5V4A2,2 0 0,1 7,2M19,19A2,2 0 0,1 17,21V22H15V21H9V22H7V21A2,2 0 0,1 5,19V10H19V19M8,5V7H10V5H8M8,12V15H10V12H8Z"},{PackIconKind.FridgeFilledBottom,"M8,8V6H10V8H8M7,2H17A2,2 0 0,1 19,4V19A2,2 0 0,1 17,21V22H15V21H9V22H7V21A2,2 0 0,1 5,19V4A2,2 0 0,1 7,2M7,4V9H17V4H7M8,12V15H10V12H8Z"},{PackIconKind.FridgeFilledTop,"M7,2A2,2 0 0,0 5,4V19A2,2 0 0,0 7,21V22H9V21H15V22H17V21A2,2 0 0,0 19,19V4A2,2 0 0,0 17,2H7M8,6H10V8H8V6M7,11H17V19H7V11M8,12V15H10V12H8Z"},{PackIconKind.Fuel,"M3,2H6C6.28,2 6.53,2.11 6.71,2.29L8.79,4.38L9.59,3.59C10,3.2 10.5,3 11,3H17C17.5,3 18,3.2 18.41,3.59L19.41,4.59C19.8,5 20,5.5 20,6V19A2,2 0 0,1 18,21H8A2,2 0 0,1 6,19V13L6,12V8C6,7.5 6.2,7 6.59,6.59L7.38,5.79L5.59,4H3V2M11,5V7H17V5H11M11.41,11L9.41,9H8V10.41L10,12.41V15.59L8,17.59V19H9.41L11.41,17H14.59L16.59,19H18V17.59L16,15.59V12.41L18,10.41V9H16.59L14.59,11H11.41M12,13H14V15H12V13Z"},{PackIconKind.Fullscreen,"M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"},{PackIconKind.FullscreenExit,"M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z"},{PackIconKind.Function,"M15.6,5.29C14.5,5.19 13.53,6 13.43,7.11L13.18,10H16V12H13L12.56,17.07C12.37,19.27 10.43,20.9 8.23,20.7C6.92,20.59 5.82,19.86 5.17,18.83L6.67,17.33C6.91,18.07 7.57,18.64 8.4,18.71C9.5,18.81 10.47,18 10.57,16.89L11,12H8V10H11.17L11.44,6.93C11.63,4.73 13.57,3.1 15.77,3.3C17.08,3.41 18.18,4.14 18.83,5.17L17.33,6.67C17.09,5.93 16.43,5.36 15.6,5.29Z"},{PackIconKind.FunctionVariant,"M12.42,5.29C11.32,5.19 10.35,6 10.25,7.11L10,10H12.82V12H9.82L9.38,17.07C9.18,19.27 7.24,20.9 5.04,20.7C3.79,20.59 2.66,19.9 2,18.83L3.5,17.33C3.83,18.38 4.96,18.97 6,18.63C6.78,18.39 7.33,17.7 7.4,16.89L7.82,12H4.82V10H8L8.27,6.93C8.46,4.73 10.39,3.1 12.6,3.28C13.86,3.39 15,4.09 15.66,5.17L14.16,6.67C13.91,5.9 13.23,5.36 12.42,5.29M22,13.65L20.59,12.24L17.76,15.07L14.93,12.24L13.5,13.65L16.35,16.5L13.5,19.31L14.93,20.72L17.76,17.89L20.59,20.72L22,19.31L19.17,16.5L22,13.65Z"},{PackIconKind.Gamepad,"M16.5,9L13.5,12L16.5,15H22V9M9,16.5V22H15V16.5L12,13.5M7.5,9H2V15H7.5L10.5,12M15,7.5V2H9V7.5L12,10.5L15,7.5Z"},{PackIconKind.GamepadVariant,"M7,6H17A6,6 0 0,1 23,12A6,6 0 0,1 17,18C15.22,18 13.63,17.23 12.53,16H11.47C10.37,17.23 8.78,18 7,18A6,6 0 0,1 1,12A6,6 0 0,1 7,6M6,9V11H4V13H6V15H8V13H10V11H8V9H6M15.5,12A1.5,1.5 0 0,0 14,13.5A1.5,1.5 0 0,0 15.5,15A1.5,1.5 0 0,0 17,13.5A1.5,1.5 0 0,0 15.5,12M18.5,9A1.5,1.5 0 0,0 17,10.5A1.5,1.5 0 0,0 18.5,12A1.5,1.5 0 0,0 20,10.5A1.5,1.5 0 0,0 18.5,9Z"},{PackIconKind.Garage,"M19,20H17V11H7V20H5V9L12,5L19,9V20M8,12H16V14H8V12M8,15H16V17H8V15M16,18V20H8V18H16Z"},{PackIconKind.GarageOpen,"M19,20H17V11H7V20H5V9L12,5L19,9V20M8,12H16V14H8V12Z"},{PackIconKind.GasCylinder,"M16,9V14L16,20A2,2 0 0,1 14,22H10A2,2 0 0,1 8,20V14L8,9C8,7.14 9.27,5.57 11,5.13V4H9V2H15V4H13V5.13C14.73,5.57 16,7.14 16,9Z"},{PackIconKind.GasStation,"M18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10M12,10H6V5H12M19.77,7.23L19.78,7.22L16.06,3.5L15,4.56L17.11,6.67C16.17,7 15.5,7.93 15.5,9A2.5,2.5 0 0,0 18,11.5C18.36,11.5 18.69,11.42 19,11.29V18.5A1,1 0 0,1 18,19.5A1,1 0 0,1 17,18.5V14C17,12.89 16.1,12 15,12H14V5C14,3.89 13.1,3 12,3H6C4.89,3 4,3.89 4,5V21H14V13.5H15.5V18.5A2.5,2.5 0 0,0 18,21A2.5,2.5 0 0,0 20.5,18.5V9C20.5,8.31 20.22,7.68 19.77,7.23Z"},{PackIconKind.Gate,"M9,5V10H7V6H5V10H3V8H1V20H3V18H5V20H7V18H9V20H11V18H13V20H15V18H17V20H19V18H21V20H23V8H21V10H19V6H17V10H15V5H13V10H11V5H9M3,12H5V16H3V12M7,12H9V16H7V12M11,12H13V16H11V12M15,12H17V16H15V12M19,12H21V16H19V12Z"},{PackIconKind.Gauge,"M17.3,18C19,16.5 20,14.4 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12C4,14.4 5,16.5 6.7,18C8.2,16.7 10,16 12,16C14,16 15.9,16.7 17.3,18M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M7,9A1,1 0 0,1 8,10A1,1 0 0,1 7,11A1,1 0 0,1 6,10A1,1 0 0,1 7,9M10,6A1,1 0 0,1 11,7A1,1 0 0,1 10,8A1,1 0 0,1 9,7A1,1 0 0,1 10,6M17,9A1,1 0 0,1 18,10A1,1 0 0,1 17,11A1,1 0 0,1 16,10A1,1 0 0,1 17,9M14.4,6.1C14.9,6.3 15.1,6.9 15,7.4L13.6,10.8C13.8,11.1 14,11.5 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12C10,11 10.7,10.1 11.7,10L13.1,6.7C13.3,6.1 13.9,5.9 14.4,6.1Z"},{PackIconKind.Gavel,"M2.3,20.28L11.9,10.68L10.5,9.26L9.78,9.97C9.39,10.36 8.76,10.36 8.37,9.97L7.66,9.26C7.27,8.87 7.27,8.24 7.66,7.85L13.32,2.19C13.71,1.8 14.34,1.8 14.73,2.19L15.44,2.9C15.83,3.29 15.83,3.92 15.44,4.31L14.73,5L16.15,6.43C16.54,6.04 17.17,6.04 17.56,6.43C17.95,6.82 17.95,7.46 17.56,7.85L18.97,9.26L19.68,8.55C20.07,8.16 20.71,8.16 21.1,8.55L21.8,9.26C22.19,9.65 22.19,10.29 21.8,10.68L16.15,16.33C15.76,16.72 15.12,16.72 14.73,16.33L14.03,15.63C13.63,15.24 13.63,14.6 14.03,14.21L14.73,13.5L13.32,12.09L3.71,21.7C3.32,22.09 2.69,22.09 2.3,21.7C1.91,21.31 1.91,20.67 2.3,20.28M20,19A2,2 0 0,1 22,21V22H12V21A2,2 0 0,1 14,19H20Z"},{PackIconKind.GenderFemale,"M12,4A6,6 0 0,1 18,10C18,12.97 15.84,15.44 13,15.92V18H15V20H13V22H11V20H9V18H11V15.92C8.16,15.44 6,12.97 6,10A6,6 0 0,1 12,4M12,6A4,4 0 0,0 8,10A4,4 0 0,0 12,14A4,4 0 0,0 16,10A4,4 0 0,0 12,6Z"},{PackIconKind.GenderMale,"M9,9C10.29,9 11.5,9.41 12.47,10.11L17.58,5H13V3H21V11H19V6.41L13.89,11.5C14.59,12.5 15,13.7 15,15A6,6 0 0,1 9,21A6,6 0 0,1 3,15A6,6 0 0,1 9,9M9,11A4,4 0 0,0 5,15A4,4 0 0,0 9,19A4,4 0 0,0 13,15A4,4 0 0,0 9,11Z"},{PackIconKind.GenderMaleFemale,"M17.58,4H14V2H21V9H19V5.41L15.17,9.24C15.69,10.03 16,11 16,12C16,14.42 14.28,16.44 12,16.9V19H14V21H12V23H10V21H8V19H10V16.9C7.72,16.44 6,14.42 6,12A5,5 0 0,1 11,7C12,7 12.96,7.3 13.75,7.83L17.58,4M11,9A3,3 0 0,0 8,12A3,3 0 0,0 11,15A3,3 0 0,0 14,12A3,3 0 0,0 11,9Z"},{PackIconKind.GenderTransgender,"M19.58,3H15V1H23V9H21V4.41L16.17,9.24C16.69,10.03 17,11 17,12C17,14.42 15.28,16.44 13,16.9V19H15V21H13V23H11V21H9V19H11V16.9C8.72,16.44 7,14.42 7,12C7,11 7.3,10.04 7.82,9.26L6.64,8.07L5.24,9.46L3.83,8.04L5.23,6.65L3,4.42V8H1V1H8V3H4.41L6.64,5.24L8.08,3.81L9.5,5.23L8.06,6.66L9.23,7.84C10,7.31 11,7 12,7C13,7 13.96,7.3 14.75,7.83L19.58,3M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"},{PackIconKind.Gesture,"M4.59,6.89C5.29,6.18 6,5.54 6.3,5.67C6.8,5.87 6.3,6.7 6,7.19C5.75,7.61 3.14,11.08 3.14,13.5C3.14,14.78 3.62,15.84 4.5,16.5C5.23,17.04 6.22,17.21 7.12,16.94C8.19,16.63 9.07,15.54 10.18,14.17C11.39,12.68 13,10.73 14.26,10.73C15.89,10.73 15.91,11.74 16,12.5C12.24,13.16 10.64,16.19 10.64,17.89C10.64,19.59 12.08,21 13.85,21C15.5,21 18.14,19.65 18.54,14.88H21V12.38H18.53C18.38,10.73 17.44,8.18 14.5,8.18C12.25,8.18 10.32,10.09 9.56,11C9,11.75 7.5,13.5 7.27,13.74C7,14.04 6.59,14.58 6.16,14.58C5.71,14.58 5.44,13.75 5.8,12.66C6.15,11.57 7.2,9.8 7.65,9.14C8.43,8 8.95,7.22 8.95,5.86C8.95,3.69 7.31,3 6.44,3C5.12,3 3.97,4 3.72,4.25C3.36,4.61 3.06,4.91 2.84,5.18L4.59,6.89M13.88,18.55C13.57,18.55 13.14,18.29 13.14,17.83C13.14,17.23 13.87,15.63 16,15.07C15.71,17.76 14.58,18.55 13.88,18.55Z"},{PackIconKind.GestureDoubleTap,"M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M11,5A4,4 0 0,1 15,9C15,10.5 14.2,11.77 13,12.46V11.24C13.61,10.69 14,9.89 14,9A3,3 0 0,0 11,6A3,3 0 0,0 8,9C8,9.89 8.39,10.69 9,11.24V12.46C7.8,11.77 7,10.5 7,9A4,4 0 0,1 11,5M11,3A6,6 0 0,1 17,9C17,10.7 16.29,12.23 15.16,13.33L14.16,12.88C15.28,11.96 16,10.56 16,9A5,5 0 0,0 11,4A5,5 0 0,0 6,9C6,11.05 7.23,12.81 9,13.58V14.66C6.67,13.83 5,11.61 5,9A6,6 0 0,1 11,3Z"},{PackIconKind.GestureSwipeDown,"M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M1,9L4,12L7,9H5V3H3V9H1Z"},{PackIconKind.GestureSwipeLeft,"M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M3,4L6,7V5H12V3H6V1L3,4Z"},{PackIconKind.GestureSwipeRight,"M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M12,4L9,1V3H3V5H9V7L12,4Z"},{PackIconKind.GestureSwipeUp,"M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M7,6L4,3L1,6H3V12H5V6H7Z"},{PackIconKind.GestureTap,"M10,9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V13.47L13.21,13.6L18.15,15.79C18.68,16.03 19,16.56 19,17.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9M11,5A4,4 0 0,1 15,9C15,10.5 14.2,11.77 13,12.46V11.24C13.61,10.69 14,9.89 14,9A3,3 0 0,0 11,6A3,3 0 0,0 8,9C8,9.89 8.39,10.69 9,11.24V12.46C7.8,11.77 7,10.5 7,9A4,4 0 0,1 11,5Z"},{PackIconKind.GestureTwoDoubleTap,"M19,15.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V7A1,1 0 0,1 13,6A1,1 0 0,1 14,7V12L18.15,13.84C18.66,14.07 19,14.58 19,15.14M13,3A4,4 0 0,1 17,7C17,8.5 16.2,9.77 15,10.46V9.24C15.61,8.69 16,7.89 16,7A3,3 0 0,0 13,4C11.65,4 10.5,4.9 10.13,6.13C8.9,6.5 8,7.65 8,9C8,9.89 8.39,10.69 9,11.24V12.46C7.8,11.77 7,10.5 7,9C7,7.38 7.97,6 9.35,5.35C10,3.97 11.38,3 13,3M13,1A6,6 0 0,1 19,7C19,9.06 17.96,10.88 16.38,11.96L15.26,11.46C16.89,10.64 18,8.95 18,7A5,5 0 0,0 13,2C11.11,2 9.46,3.05 8.61,4.61C7.05,5.46 6,7.11 6,9C6,11.05 7.23,12.81 9,13.58V14.66C6.67,13.83 5,11.61 5,9C5,6.83 6.15,4.93 7.88,3.88C8.93,2.15 10.83,1 13,1Z"},{PackIconKind.GestureTwoTap,"M19,15.14V21.5C18.97,22.32 18.32,22.97 17.5,23H11C10.62,23 10.26,22.85 10,22.57L5.1,18.37L5.84,17.6C6.03,17.39 6.3,17.28 6.58,17.28H6.8L10,19V9A1,1 0 0,1 11,8A1,1 0 0,1 12,9V7A1,1 0 0,1 13,6A1,1 0 0,1 14,7V12L18.15,13.84C18.66,14.07 19,14.58 19,15.14M15,10.45V9.24L15,9.23C15.23,9.03 15.42,8.79 15.57,8.54C15.84,8.09 16,7.56 16,7A3,3 0 0,0 13,4C12.21,4 11.5,4.31 10.95,4.81L10.81,4.95C10.68,5.09 10.56,5.24 10.46,5.4C10.36,5.56 10.27,5.74 10.2,5.92C10.17,6 10.15,6.06 10.13,6.13C8.9,6.5 8,7.65 8,9C8,9.7 8.24,10.34 8.64,10.85C8.74,11 8.87,11.11 9,11.23V11.24L9,12.46V12.46C7.8,11.77 7,10.5 7,9C7,7.38 7.97,6 9.35,5.35C10,3.97 11.38,3 13,3A4,4 0 0,1 17,7C17,8.5 16.2,9.77 15,10.46V10.45Z"},{PackIconKind.Ghost,"M12,2A9,9 0 0,0 3,11V22L6,19L9,22L12,19L15,22L18,19L21,22V11A9,9 0 0,0 12,2M9,8A2,2 0 0,1 11,10A2,2 0 0,1 9,12A2,2 0 0,1 7,10A2,2 0 0,1 9,8M15,8A2,2 0 0,1 17,10A2,2 0 0,1 15,12A2,2 0 0,1 13,10A2,2 0 0,1 15,8Z"},{PackIconKind.Gift,"M22,12V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V12A1,1 0 0,1 1,11V8A2,2 0 0,1 3,6H6.17C6.06,5.69 6,5.35 6,5A3,3 0 0,1 9,2C10,2 10.88,2.5 11.43,3.24V3.23L12,4L12.57,3.23V3.24C13.12,2.5 14,2 15,2A3,3 0 0,1 18,5C18,5.35 17.94,5.69 17.83,6H21A2,2 0 0,1 23,8V11A1,1 0 0,1 22,12M4,20H11V12H4V20M20,20V12H13V20H20M9,4A1,1 0 0,0 8,5A1,1 0 0,0 9,6A1,1 0 0,0 10,5A1,1 0 0,0 9,4M15,4A1,1 0 0,0 14,5A1,1 0 0,0 15,6A1,1 0 0,0 16,5A1,1 0 0,0 15,4M3,8V10H11V8H3M13,8V10H21V8H13Z"},{PackIconKind.Git,"M2.6,10.59L8.38,4.8L10.07,6.5C9.83,7.35 10.22,8.28 11,8.73V14.27C10.4,14.61 10,15.26 10,16A2,2 0 0,0 12,18A2,2 0 0,0 14,16C14,15.26 13.6,14.61 13,14.27V9.41L15.07,11.5C15,11.65 15,11.82 15,12A2,2 0 0,0 17,14A2,2 0 0,0 19,12A2,2 0 0,0 17,10C16.82,10 16.65,10 16.5,10.07L13.93,7.5C14.19,6.57 13.71,5.55 12.78,5.16C12.35,5 11.9,4.96 11.5,5.07L9.8,3.38L10.59,2.6C11.37,1.81 12.63,1.81 13.41,2.6L21.4,10.59C22.19,11.37 22.19,12.63 21.4,13.41L13.41,21.4C12.63,22.19 11.37,22.19 10.59,21.4L2.6,13.41C1.81,12.63 1.81,11.37 2.6,10.59Z"},{PackIconKind.GithubBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H14.56C14.24,20.93 14.23,20.32 14.23,20.11L14.24,17.64C14.24,16.8 13.95,16.25 13.63,15.97C15.64,15.75 17.74,15 17.74,11.53C17.74,10.55 17.39,9.74 16.82,9.11C16.91,8.89 17.22,7.97 16.73,6.73C16.73,6.73 15.97,6.5 14.25,7.66C13.53,7.46 12.77,7.36 12,7.35C11.24,7.36 10.46,7.46 9.75,7.66C8.03,6.5 7.27,6.73 7.27,6.73C6.78,7.97 7.09,8.89 7.18,9.11C6.61,9.74 6.26,10.55 6.26,11.53C6.26,15 8.36,15.75 10.36,16C10.1,16.2 9.87,16.6 9.79,17.18C9.27,17.41 7.97,17.81 7.17,16.43C7.17,16.43 6.69,15.57 5.79,15.5C5.79,15.5 4.91,15.5 5.73,16.05C5.73,16.05 6.32,16.33 6.73,17.37C6.73,17.37 7.25,19.12 9.76,18.58L9.77,20.11C9.77,20.32 9.75,20.93 9.43,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3Z"},{PackIconKind.GithubCircle,"M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.GithubFace,"M20.38,8.53C20.54,8.13 21.06,6.54 20.21,4.39C20.21,4.39 18.9,4 15.91,6C14.66,5.67 13.33,5.62 12,5.62C10.68,5.62 9.34,5.67 8.09,6C5.1,3.97 3.79,4.39 3.79,4.39C2.94,6.54 3.46,8.13 3.63,8.53C2.61,9.62 2,11 2,12.72C2,19.16 6.16,20.61 12,20.61C17.79,20.61 22,19.16 22,12.72C22,11 21.39,9.62 20.38,8.53M12,19.38C7.88,19.38 4.53,19.19 4.53,15.19C4.53,14.24 5,13.34 5.8,12.61C7.14,11.38 9.43,12.03 12,12.03C14.59,12.03 16.85,11.38 18.2,12.61C19,13.34 19.5,14.23 19.5,15.19C19.5,19.18 16.13,19.38 12,19.38M8.86,13.12C8.04,13.12 7.36,14.12 7.36,15.34C7.36,16.57 8.04,17.58 8.86,17.58C9.69,17.58 10.36,16.58 10.36,15.34C10.36,14.11 9.69,13.12 8.86,13.12M15.14,13.12C14.31,13.12 13.64,14.11 13.64,15.34C13.64,16.58 14.31,17.58 15.14,17.58C15.96,17.58 16.64,16.58 16.64,15.34C16.64,14.11 16,13.12 15.14,13.12Z"},{PackIconKind.GlassFlute,"M8,2H16C15.67,5 15.33,8 14.75,9.83C14.17,11.67 13.33,12.33 12.92,14.08C12.5,15.83 12.5,18.67 13.08,20C13.67,21.33 14.83,21.17 15.42,21.25C16,21.33 16,21.67 16,22H8C8,21.67 8,21.33 8.58,21.25C9.17,21.17 10.33,21.33 10.92,20C11.5,18.67 11.5,15.83 11.08,14.08C10.67,12.33 9.83,11.67 9.25,9.83C8.67,8 8.33,5 8,2M10,4C10.07,5.03 10.15,6.07 10.24,7H13.76C13.85,6.07 13.93,5.03 14,4H10Z"},{PackIconKind.GlassMug,"M10,4V7H18V4H10M8,2H20L21,2V3L20,4V20L21,21V22H20L8,22H7V21L8,20V18.6L4.2,16.83C3.5,16.5 3,15.82 3,15V8A2,2 0 0,1 5,6H8V4L7,3V2H8M5,15L8,16.39V8H5V15Z"},{PackIconKind.GlassStange,"M8,2H16V22H8V2M10,4V7H14V4H10Z"},{PackIconKind.GlassTulip,"M8,2H16C15.67,2.67 15.33,3.33 15.58,5C15.83,6.67 16.67,9.33 16.25,10.74C15.83,12.14 14.17,12.28 13.33,13.86C12.5,15.44 12.5,18.47 13.08,19.9C13.67,21.33 14.83,21.17 15.42,21.25C16,21.33 16,21.67 16,22H8C8,21.67 8,21.33 8.58,21.25C9.17,21.17 10.33,21.33 10.92,19.9C11.5,18.47 11.5,15.44 10.67,13.86C9.83,12.28 8.17,12.14 7.75,10.74C7.33,9.33 8.17,6.67 8.42,5C8.67,3.33 8.33,2.67 8,2M10,4C10,5.19 9.83,6.17 9.64,7H14.27C14.13,6.17 14,5.19 14,4H10Z"},{PackIconKind.Glassdoor,"M8,2A3,3 0 0,0 5,5V16.5H8V5H19A3,3 0 0,0 16,2H8M16,7.5V19H5A3,3 0 0,0 8,22H16A3,3 0 0,0 19,19V7.5H16Z"},{PackIconKind.Glasses,"M3,10C2.76,10 2.55,10.09 2.41,10.25C2.27,10.4 2.21,10.62 2.24,10.86L2.74,13.85C2.82,14.5 3.4,15 4,15H7C7.64,15 8.36,14.44 8.5,13.82L9.56,10.63C9.6,10.5 9.57,10.31 9.5,10.19C9.39,10.07 9.22,10 9,10H3M7,17H4C2.38,17 0.96,15.74 0.76,14.14L0.26,11.15C0.15,10.3 0.39,9.5 0.91,8.92C1.43,8.34 2.19,8 3,8H9C9.83,8 10.58,8.35 11.06,8.96C11.17,9.11 11.27,9.27 11.35,9.45C11.78,9.36 12.22,9.36 12.64,9.45C12.72,9.27 12.82,9.11 12.94,8.96C13.41,8.35 14.16,8 15,8H21C21.81,8 22.57,8.34 23.09,8.92C23.6,9.5 23.84,10.3 23.74,11.11L23.23,14.18C23.04,15.74 21.61,17 20,17H17C15.44,17 13.92,15.81 13.54,14.3L12.64,11.59C12.26,11.31 11.73,11.31 11.35,11.59L10.43,14.37C10.07,15.82 8.56,17 7,17M15,10C14.78,10 14.61,10.07 14.5,10.19C14.42,10.31 14.4,10.5 14.45,10.7L15.46,13.75C15.64,14.44 16.36,15 17,15H20C20.59,15 21.18,14.5 21.25,13.89L21.76,10.82C21.79,10.62 21.73,10.4 21.59,10.25C21.45,10.09 21.24,10 21,10H15Z"},{PackIconKind.Gmail,"M20,18H18V9.25L12,13L6,9.25V18H4V6H5.2L12,10.25L18.8,6H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"},{PackIconKind.Gnome,"M18.42,2C14.26,2 13.5,7.93 15.82,7.93C18.16,7.93 22.58,2 18.42,2M12,2.73C11.92,2.73 11.85,2.73 11.78,2.74C9.44,3.04 10.26,7.12 11.5,7.19C12.72,7.27 14.04,2.73 12,2.73M7.93,4.34C7.81,4.34 7.67,4.37 7.53,4.43C5.65,5.21 7.24,8.41 8.3,8.2C9.27,8 9.39,4.3 7.93,4.34M4.93,6.85C4.77,6.84 4.59,6.9 4.41,7.03C2.9,8.07 4.91,10.58 5.8,10.19C6.57,9.85 6.08,6.89 4.93,6.85M13.29,8.77C10.1,8.8 6.03,10.42 5.32,13.59C4.53,17.11 8.56,22 12.76,22C14.83,22 17.21,20.13 17.66,17.77C18,15.97 13.65,16.69 13.81,17.88C14,19.31 12.76,20 11.55,19.1C7.69,16.16 17.93,14.7 17.25,10.69C17.03,9.39 15.34,8.76 13.29,8.77Z"},{PackIconKind.Golf,"M19.5,18A1.5,1.5 0 0,1 21,19.5A1.5,1.5 0 0,1 19.5,21A1.5,1.5 0 0,1 18,19.5A1.5,1.5 0 0,1 19.5,18M17,5.92L11,9V18.03C13.84,18.19 16,19 16,20C16,21.1 13.31,22 10,22C6.69,22 4,21.1 4,20C4,19.26 5.21,18.62 7,18.27V20H9V2L17,5.92Z"},{PackIconKind.Gondola,"M18,10H13V7.59L22.12,6.07L21.88,4.59L16.41,5.5C16.46,5.35 16.5,5.18 16.5,5A1.5,1.5 0 0,0 15,3.5A1.5,1.5 0 0,0 13.5,5C13.5,5.35 13.63,5.68 13.84,5.93L13,6.07V5H11V6.41L10.41,6.5C10.46,6.35 10.5,6.18 10.5,6A1.5,1.5 0 0,0 9,4.5A1.5,1.5 0 0,0 7.5,6C7.5,6.36 7.63,6.68 7.83,6.93L1.88,7.93L2.12,9.41L11,7.93V10H6C4.89,10 4,10.9 4,12V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18V12A2,2 0 0,0 18,10M6,12H8.25V16H6V12M9.75,16V12H14.25V16H9.75M18,16H15.75V12H18V16Z"},{PackIconKind.Google,"M21.35,11.1H12.18V13.83H18.69C18.36,17.64 15.19,19.27 12.19,19.27C8.36,19.27 5,16.25 5,12C5,7.9 8.2,4.73 12.2,4.73C15.29,4.73 17.1,6.7 17.1,6.7L19,4.72C19,4.72 16.56,2 12.1,2C6.42,2 2.03,6.8 2.03,12C2.03,17.05 6.16,22 12.25,22C17.6,22 21.5,18.33 21.5,12.91C21.5,11.76 21.35,11.1 21.35,11.1V11.1Z"},{PackIconKind.GoogleAnalytics,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H17L15,21V9L15,5A2,2 0 0,1 17,3H19M5,21A2,2 0 0,1 3,19V17A2,2 0 0,1 5,15H9V11A2,2 0 0,1 11,9H14.5V21H5Z"},{PackIconKind.GoogleAssistant,"M8,3A6,6 0 0,1 14,9A6,6 0 0,1 8,15A6,6 0 0,1 2,9A6,6 0 0,1 8,3M21,8A1,1 0 0,1 22,9A1,1 0 0,1 21,10A1,1 0 0,1 20,9A1,1 0 0,1 21,8M17.5,10A2.5,2.5 0 0,1 20,12.5A2.5,2.5 0 0,1 17.5,15A2.5,2.5 0 0,1 15,12.5A2.5,2.5 0 0,1 17.5,10M17.5,16A3,3 0 0,1 20.5,19A3,3 0 0,1 17.5,22A3,3 0 0,1 14.5,19A3,3 0 0,1 17.5,16Z"},{PackIconKind.GoogleCardboard,"M20.74,6H3.2C2.55,6 2,6.57 2,7.27V17.73C2,18.43 2.55,19 3.23,19H8C8.54,19 9,18.68 9.16,18.21L10.55,14.74C10.79,14.16 11.35,13.75 12,13.75C12.65,13.75 13.21,14.16 13.45,14.74L14.84,18.21C15.03,18.68 15.46,19 15.95,19H20.74C21.45,19 22,18.43 22,17.73V7.27C22,6.57 21.45,6 20.74,6M7.22,14.58C6,14.58 5,13.55 5,12.29C5,11 6,10 7.22,10C8.44,10 9.43,11 9.43,12.29C9.43,13.55 8.44,14.58 7.22,14.58M16.78,14.58C15.56,14.58 14.57,13.55 14.57,12.29C14.57,11.03 15.56,10 16.78,10C18,10 19,11.03 19,12.29C19,13.55 18,14.58 16.78,14.58Z"},{PackIconKind.GoogleChrome,"M12,20L15.46,14H15.45C15.79,13.4 16,12.73 16,12C16,10.8 15.46,9.73 14.62,9H19.41C19.79,9.93 20,10.94 20,12A8,8 0 0,1 12,20M4,12C4,10.54 4.39,9.18 5.07,8L8.54,14H8.55C9.24,15.19 10.5,16 12,16C12.45,16 12.88,15.91 13.29,15.77L10.89,19.91C7,19.37 4,16.04 4,12M15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12M12,4C14.96,4 17.54,5.61 18.92,8H12C10.06,8 8.45,9.38 8.08,11.21L5.7,7.08C7.16,5.21 9.44,4 12,4M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.GoogleCircles,"M16.66,15H17C18,15 19,14.8 19.87,14.46C19.17,18.73 15.47,22 11,22C6,22 2,17.97 2,13C2,8.53 5.27,4.83 9.54,4.13C9.2,5 9,6 9,7V7.34C6.68,8.16 5,10.38 5,13A6,6 0 0,0 11,19C13.62,19 15.84,17.32 16.66,15M17,10A3,3 0 0,0 20,7A3,3 0 0,0 17,4A3,3 0 0,0 14,7A3,3 0 0,0 17,10M17,1A6,6 0 0,1 23,7A6,6 0 0,1 17,13A6,6 0 0,1 11,7C11,3.68 13.69,1 17,1Z"},{PackIconKind.GoogleCirclesCommunities,"M15,12C13.89,12 13,12.89 13,14A2,2 0 0,0 15,16A2,2 0 0,0 17,14C17,12.89 16.1,12 15,12M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M14,9C14,7.89 13.1,7 12,7C10.89,7 10,7.89 10,9A2,2 0 0,0 12,11A2,2 0 0,0 14,9M9,12A2,2 0 0,0 7,14A2,2 0 0,0 9,16A2,2 0 0,0 11,14C11,12.89 10.1,12 9,12Z"},{PackIconKind.GoogleCirclesExtended,"M18,19C16.89,19 16,18.1 16,17C16,15.89 16.89,15 18,15A2,2 0 0,1 20,17A2,2 0 0,1 18,19M18,13A4,4 0 0,0 14,17A4,4 0 0,0 18,21A4,4 0 0,0 22,17A4,4 0 0,0 18,13M12,11.1A1.9,1.9 0 0,0 10.1,13A1.9,1.9 0 0,0 12,14.9A1.9,1.9 0 0,0 13.9,13A1.9,1.9 0 0,0 12,11.1M6,19C4.89,19 4,18.1 4,17C4,15.89 4.89,15 6,15A2,2 0 0,1 8,17A2,2 0 0,1 6,19M6,13A4,4 0 0,0 2,17A4,4 0 0,0 6,21A4,4 0 0,0 10,17A4,4 0 0,0 6,13M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M12,10A4,4 0 0,0 16,6A4,4 0 0,0 12,2A4,4 0 0,0 8,6A4,4 0 0,0 12,10Z"},{PackIconKind.GoogleCirclesGroup,"M5,10A2,2 0 0,0 3,12C3,13.11 3.9,14 5,14C6.11,14 7,13.11 7,12A2,2 0 0,0 5,10M5,16A4,4 0 0,1 1,12A4,4 0 0,1 5,8A4,4 0 0,1 9,12A4,4 0 0,1 5,16M10.5,11H14V8L18,12L14,16V13H10.5V11M5,6C4.55,6 4.11,6.05 3.69,6.14C5.63,3.05 9.08,1 13,1C19.08,1 24,5.92 24,12C24,18.08 19.08,23 13,23C9.08,23 5.63,20.95 3.69,17.86C4.11,17.95 4.55,18 5,18C5.8,18 6.56,17.84 7.25,17.56C8.71,19.07 10.74,20 13,20A8,8 0 0,0 21,12A8,8 0 0,0 13,4C10.74,4 8.71,4.93 7.25,6.44C6.56,6.16 5.8,6 5,6Z"},{PackIconKind.GoogleController,"M7.97,16L5,19C4.67,19.3 4.23,19.5 3.75,19.5A1.75,1.75 0 0,1 2,17.75V17.5L3,10.12C3.21,7.81 5.14,6 7.5,6H16.5C18.86,6 20.79,7.81 21,10.12L22,17.5V17.75A1.75,1.75 0 0,1 20.25,19.5C19.77,19.5 19.33,19.3 19,19L16.03,16H7.97M7,8V10H5V11H7V13H8V11H10V10H8V8H7M16.5,8A0.75,0.75 0 0,0 15.75,8.75A0.75,0.75 0 0,0 16.5,9.5A0.75,0.75 0 0,0 17.25,8.75A0.75,0.75 0 0,0 16.5,8M14.75,9.75A0.75,0.75 0 0,0 14,10.5A0.75,0.75 0 0,0 14.75,11.25A0.75,0.75 0 0,0 15.5,10.5A0.75,0.75 0 0,0 14.75,9.75M18.25,9.75A0.75,0.75 0 0,0 17.5,10.5A0.75,0.75 0 0,0 18.25,11.25A0.75,0.75 0 0,0 19,10.5A0.75,0.75 0 0,0 18.25,9.75M16.5,11.5A0.75,0.75 0 0,0 15.75,12.25A0.75,0.75 0 0,0 16.5,13A0.75,0.75 0 0,0 17.25,12.25A0.75,0.75 0 0,0 16.5,11.5Z"},{PackIconKind.GoogleControllerOff,"M2,5.27L3.28,4L20,20.72L18.73,22L12.73,16H7.97L5,19C4.67,19.3 4.23,19.5 3.75,19.5A1.75,1.75 0 0,1 2,17.75V17.5L3,10.12C3.1,9.09 3.53,8.17 4.19,7.46L2,5.27M5,10V11H7V13H8V11.27L6.73,10H5M16.5,6C18.86,6 20.79,7.81 21,10.12L22,17.5V17.75C22,18.41 21.64,19 21.1,19.28L7.82,6H16.5M16.5,8A0.75,0.75 0 0,0 15.75,8.75A0.75,0.75 0 0,0 16.5,9.5A0.75,0.75 0 0,0 17.25,8.75A0.75,0.75 0 0,0 16.5,8M14.75,9.75A0.75,0.75 0 0,0 14,10.5A0.75,0.75 0 0,0 14.75,11.25A0.75,0.75 0 0,0 15.5,10.5A0.75,0.75 0 0,0 14.75,9.75M18.25,9.75A0.75,0.75 0 0,0 17.5,10.5A0.75,0.75 0 0,0 18.25,11.25A0.75,0.75 0 0,0 19,10.5A0.75,0.75 0 0,0 18.25,9.75M16.5,11.5A0.75,0.75 0 0,0 15.75,12.25A0.75,0.75 0 0,0 16.5,13A0.75,0.75 0 0,0 17.25,12.25A0.75,0.75 0 0,0 16.5,11.5Z"},{PackIconKind.GoogleDrive,"M7.71,3.5L1.15,15L4.58,21L11.13,9.5M9.73,15L6.3,21H19.42L22.85,15M22.28,14L15.42,2H8.58L8.57,2L15.43,14H22.28Z"},{PackIconKind.GoogleEarth,"M12.4,7.56C9.6,4.91 7.3,5.65 6.31,6.1C7.06,5.38 7.94,4.8 8.92,4.4C11.7,4.3 14.83,4.84 16.56,7.31C16.56,7.31 19,11.5 19.86,9.65C20.08,10.4 20.2,11.18 20.2,12C20.2,12.3 20.18,12.59 20.15,12.88C18.12,12.65 15.33,10.32 12.4,7.56M19.1,16.1C18.16,16.47 17,17.1 15.14,17.1C13.26,17.1 11.61,16.35 9.56,15.7C7.7,15.11 7,14.2 5.72,14.2C5.06,14.2 4.73,14.86 4.55,15.41C4.07,14.37 3.8,13.22 3.8,12C3.8,11.19 3.92,10.42 4.14,9.68C5.4,8.1 7.33,7.12 10.09,9.26C10.09,9.26 16.32,13.92 19.88,14.23C19.7,14.89 19.43,15.5 19.1,16.1M12,20.2C10.88,20.2 9.81,19.97 8.83,19.56C8.21,18.08 8.22,16.92 9.95,17.5C9.95,17.5 13.87,19 18,17.58C16.5,19.19 14.37,20.2 12,20.2M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},{PackIconKind.GoogleGlass,"M13,11V13.5H18.87C18.26,17 15.5,19.5 12,19.5A7.5,7.5 0 0,1 4.5,12A7.5,7.5 0 0,1 12,4.5C14.09,4.5 15.9,5.39 17.16,6.84L18.93,5.06C17.24,3.18 14.83,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22C17.5,22 21.5,17.5 21.5,12V11H13Z"},{PackIconKind.GoogleHome,"M8.06,7.78C7.5,7.78 7.17,7.73 7.08,7.64L6.66,13.73C7.19,14.05 7.88,14.3 8.72,14.5C9.56,14.71 10.78,14.77 12.38,14.67C13.97,14.58 15.63,14.23 17.34,13.64L16.55,4.22C15.67,5.09 14.38,5.91 12.66,6.66C11.13,7.31 9.81,7.69 8.72,7.78H8.06M7.97,5.34C7.28,5.94 7,6.34 7.13,6.56C7.22,6.78 7.7,6.84 8.58,6.75C9.67,6.66 10.91,6.31 12.28,5.72C13.22,5.31 14.03,4.88 14.72,4.41C15.41,3.94 15.88,3.55 16.13,3.23C16.38,2.92 16.47,2.7 16.41,2.58C16.34,2.42 16.03,2.34 15.47,2.34C14.34,2.34 12.94,2.7 11.25,3.42C9.81,4.05 8.72,4.69 7.97,5.34M17.34,2.2C17.41,2.33 17.44,2.47 17.44,2.63L18.61,17C18.61,18.73 18,20.09 16.83,21.07C15.64,22.05 14.03,22.55 12,22.55C10,22.55 8.4,22.04 7.2,21C6,20 5.39,18.64 5.39,16.92L6.09,6.47C6.09,6.22 6.2,5.94 6.42,5.63C6.64,5.31 6.84,5.06 7.03,4.88L7.36,4.59C8.33,3.78 9.5,3.08 10.88,2.5C11.81,2.08 12.73,1.77 13.62,1.57C14.5,1.37 15.3,1.3 16,1.38C16.71,1.46 17.16,1.73 17.34,2.2Z"},{PackIconKind.GoogleKeep,"M4,2H20A2,2 0 0,1 22,4V17.33L17.33,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M17,17V20.25L20.25,17H17M10,19H14V18H15V13C16.21,12.09 17,10.64 17,9A5,5 0 0,0 12,4A5,5 0 0,0 7,9C7,10.64 7.79,12.09 9,13V18H10V19M14,17H10V16H14V17M14,15H10V14H14V15M12,5A4,4 0 0,1 16,9C16,10.5 15.2,11.77 14,12.46V13H10V12.46C8.8,11.77 8,10.5 8,9A4,4 0 0,1 12,5Z"},{PackIconKind.GoogleMaps,"M5,4A2,2 0 0,0 3,6V16.29L11.18,8.11C11.06,7.59 11,7.07 11,6.53C11,5.62 11.2,4.76 11.59,4H5M18,21A2,2 0 0,0 20,19V11.86C19.24,13 18.31,14.21 17.29,15.5L16.5,16.5L15.72,15.5C14.39,13.85 13.22,12.32 12.39,10.91C12.05,10.33 11.76,9.76 11.53,9.18L7.46,13.25L15.21,21H18M3,19A2,2 0 0,0 5,21H13.79L6.75,13.96L3,17.71V19M16.5,15C19.11,11.63 21,9.1 21,6.57C21,4.05 19,2 16.5,2C14,2 12,4.05 12,6.57C12,9.1 13.87,11.63 16.5,15M18.5,6.5A2,2 0 0,1 16.5,8.5A2,2 0 0,1 14.5,6.5A2,2 0 0,1 16.5,4.5A2,2 0 0,1 18.5,6.5Z"},{PackIconKind.GoogleNearby,"M21.36,10.46L13.54,2.64C12.69,1.79 11.31,1.79 10.46,2.64L2.64,10.46C1.79,11.31 1.79,12.69 2.64,13.54L10.46,21.36C11.31,22.21 12.69,22.21 13.54,21.36L21.36,13.54C22.21,12.69 22.21,11.31 21.36,10.46M12,19L5,12L12,5L19,12L12,19M16.5,12L12,16.5L7.5,12L12,7.5L16.5,12Z"},{PackIconKind.GooglePages,"M19,3H13V8L17,7L16,11H21V5C21,3.89 20.1,3 19,3M17,17L13,16V21H19A2,2 0 0,0 21,19V13H16M8,13H3V19A2,2 0 0,0 5,21H11V16L7,17M3,5V11H8L7,7L11,8V3H5C3.89,3 3,3.89 3,5Z"},{PackIconKind.GooglePhotos,"M17,12V7L12,2V7H7L2,12H7V17L12,22V17H17L22,12H17M12.88,12.88L12,15.53L11.12,12.88L8.47,12L11.12,11.12L12,8.46L12.88,11.11L15.53,12L12.88,12.88Z"},{PackIconKind.GooglePhysicalWeb,"M12,1.5A9,9 0 0,1 21,10.5C21,13.11 19.89,15.47 18.11,17.11L17.05,16.05C18.55,14.68 19.5,12.7 19.5,10.5A7.5,7.5 0 0,0 12,3A7.5,7.5 0 0,0 4.5,10.5C4.5,12.7 5.45,14.68 6.95,16.05L5.89,17.11C4.11,15.47 3,13.11 3,10.5A9,9 0 0,1 12,1.5M12,4.5A6,6 0 0,1 18,10.5C18,12.28 17.22,13.89 16,15L14.92,13.92C15.89,13.1 16.5,11.87 16.5,10.5C16.5,8 14.5,6 12,6C9.5,6 7.5,8 7.5,10.5C7.5,11.87 8.11,13.1 9.08,13.92L8,15C6.78,13.89 6,12.28 6,10.5A6,6 0 0,1 12,4.5M8.11,17.65L11.29,14.46C11.68,14.07 12.32,14.07 12.71,14.46L15.89,17.65C16.28,18.04 16.28,18.67 15.89,19.06L12.71,22.24C12.32,22.63 11.68,22.63 11.29,22.24L8.11,19.06C7.72,18.67 7.72,18.04 8.11,17.65Z"},{PackIconKind.GooglePlay,"M3,20.5V3.5C3,2.91 3.34,2.39 3.84,2.15L13.69,12L3.84,21.85C3.34,21.6 3,21.09 3,20.5M16.81,15.12L6.05,21.34L14.54,12.85L16.81,15.12M20.16,10.81C20.5,11.08 20.75,11.5 20.75,12C20.75,12.5 20.53,12.9 20.18,13.18L17.89,14.5L15.39,12L17.89,9.5L20.16,10.81M6.05,2.66L16.81,8.88L14.54,11.15L6.05,2.66Z"},{PackIconKind.GooglePlus,"M23,11H21V9H19V11H17V13H19V15H21V13H23M8,11V13.4H12C11.8,14.4 10.8,16.4 8,16.4C5.6,16.4 3.7,14.4 3.7,12C3.7,9.6 5.6,7.6 8,7.6C9.4,7.6 10.3,8.2 10.8,8.7L12.7,6.9C11.5,5.7 9.9,5 8,5C4.1,5 1,8.1 1,12C1,15.9 4.1,19 8,19C12,19 14.7,16.2 14.7,12.2C14.7,11.7 14.7,11.4 14.6,11H8Z"},{PackIconKind.GooglePlusBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M19.5,12H18V10.5H17V12H15.5V13H17V14.5H18V13H19.5V12M9.65,11.36V12.9H12.22C12.09,13.54 11.45,14.83 9.65,14.83C8.11,14.83 6.89,13.54 6.89,12C6.89,10.46 8.11,9.17 9.65,9.17C10.55,9.17 11.13,9.56 11.45,9.88L12.67,8.72C11.9,7.95 10.87,7.5 9.65,7.5C7.14,7.5 5.15,9.5 5.15,12C5.15,14.5 7.14,16.5 9.65,16.5C12.22,16.5 13.96,14.7 13.96,12.13C13.96,11.81 13.96,11.61 13.89,11.36H9.65Z"},{PackIconKind.GoogleTranslate,"M3,1C1.89,1 1,1.89 1,3V17C1,18.11 1.89,19 3,19H15L9,1H3M12.34,5L13,7H21V21H12.38L13.03,23H21C22.11,23 23,22.11 23,21V7C23,5.89 22.11,5 21,5H12.34M7.06,5.91C8.16,5.91 9.09,6.31 9.78,7L8.66,8.03C8.37,7.74 7.87,7.41 7.06,7.41C5.67,7.41 4.56,8.55 4.56,9.94C4.56,11.33 5.67,12.5 7.06,12.5C8.68,12.5 9.26,11.33 9.38,10.75H7.06V9.38H10.88C10.93,9.61 10.94,9.77 10.94,10.06C10.94,12.38 9.38,14 7.06,14C4.81,14 3,12.19 3,9.94C3,7.68 4.81,5.91 7.06,5.91M16,10V11H14.34L14.66,12H18C17.73,12.61 17.63,13.17 16.81,14.13C16.41,13.66 16.09,13.25 16,13H15C15.12,13.43 15.62,14.1 16.22,14.78C16.09,14.91 15.91,15.08 15.75,15.22L16.03,16.06C16.28,15.84 16.53,15.61 16.78,15.38C17.8,16.45 18.88,17.44 18.88,17.44L19.44,16.84C19.44,16.84 18.37,15.79 17.41,14.75C18.04,14.05 18.6,13.2 19,12H20V11H17V10H16Z"},{PackIconKind.GoogleWallet,"M15.44,2.56H20.24C20.24,2.56 23.12,11.36 20.24,21.5H15.5C15.5,21.5 15.12,16.8 13.28,12.8C13.28,12.8 12.5,16.08 11.6,18H6.72C6.72,18 5.76,13.44 2.5,9.5H7.28C7.28,9.5 8.16,10.4 8.88,11.6C8.88,11.6 9.5,9.12 9.5,6H14.32C14.32,6 15.92,8.32 16.64,9.76C16.64,9.76 16.4,6.24 15.44,2.56Z"},{PackIconKind.Gradient,"M11,9H13V11H11V9M9,11H11V13H9V11M13,11H15V13H13V11M15,9H17V11H15V9M7,9H9V11H7V9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M9,18H7V16H9V18M13,18H11V16H13V18M17,18H15V16H17V18M19,11H17V13H19V15H17V13H15V15H13V13H11V15H9V13H7V15H5V13H7V11H5V5H19V11Z"},{PackIconKind.GreasePencil,"M18.62,1.5C18.11,1.5 17.6,1.69 17.21,2.09L10.75,8.55L14.95,12.74L21.41,6.29C22.2,5.5 22.2,4.24 21.41,3.46L20.04,2.09C19.65,1.69 19.14,1.5 18.62,1.5M9.8,9.5L3.23,16.07L3.93,16.77C3.4,17.24 2.89,17.78 2.38,18.29C1.6,19.08 1.6,20.34 2.38,21.12C3.16,21.9 4.42,21.9 5.21,21.12C5.72,20.63 6.25,20.08 6.73,19.58L7.43,20.27L14,13.7"},{PackIconKind.Grid,"M10,4V8H14V4H10M16,4V8H20V4H16M16,10V14H20V10H16M16,16V20H20V16H16M14,20V16H10V20H14M8,20V16H4V20H8M8,14V10H4V14H8M8,8V4H4V8H8M10,14H14V10H10V14M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2Z"},{PackIconKind.GridLarge,"M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z"},{PackIconKind.GridOff,"M0,2.77L1.28,1.5L22.5,22.72L21.23,24L19.23,22H4C2.92,22 2,21.1 2,20V4.77L0,2.77M10,4V7.68L8,5.68V4H6.32L4.32,2H20A2,2 0 0,1 22,4V19.7L20,17.7V16H18.32L16.32,14H20V10H16V13.68L14,11.68V10H12.32L10.32,8H14V4H10M16,4V8H20V4H16M16,20H17.23L16,18.77V20M4,8H5.23L4,6.77V8M10,14H11.23L10,12.77V14M14,20V16.77L13.23,16H10V20H14M8,20V16H4V20H8M8,14V10.77L7.23,10H4V14H8Z"},{PackIconKind.Group,"M8,8V12H13V8H8M1,1H5V2H19V1H23V5H22V19H23V23H19V22H5V23H1V19H2V5H1V1M5,19V20H19V19H20V5H19V4H5V5H4V19H5M6,6H15V10H18V18H8V14H6V6M15,14H10V16H16V12H15V14Z"},{PackIconKind.GuitarAcoustic,"M19.59,3H22V5H20.41L16.17,9.24C15.8,8.68 15.32,8.2 14.76,7.83L19.59,3M12,8A4,4 0 0,1 16,12C16,13.82 14.77,15.42 13,15.87V16A5,5 0 0,1 8,21A5,5 0 0,1 3,16A5,5 0 0,1 8,11H8.13C8.58,9.24 10.17,8 12,8M12,10.5A1.5,1.5 0 0,0 10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5M6.94,14.24L6.23,14.94L9.06,17.77L9.77,17.06L6.94,14.24Z"},{PackIconKind.GuitarElectric,"M19.59,3H22V5H20.41L15.12,10.29L13.71,8.9L19.59,3M12,9C12.26,9 12.5,9.1 12.71,9.3L14.71,11.3C14.89,11.5 15,11.73 15,12L14.9,12.4L10.9,20.4C10.71,20.75 10.36,20.93 10,20.93C9.65,20.93 9.29,20.75 9.11,20.4L7.25,16.7L3.55,14.9C3.18,14.7 3,14.35 3,14C3,13.65 3.18,13.3 3.55,13.1L11.55,9.1C11.69,9 11.84,9 12,9M9.35,11.82L8.65,12.5L11.5,15.35L12.18,14.65L9.35,11.82M7.94,13.23L7.23,13.94L10.06,16.77L10.77,16.06L7.94,13.23Z"},{PackIconKind.GuitarPick,"M19,4.1C18.1,3.3 17,2.8 15.8,2.5C15.5,2.4 13.6,2 12.2,2C12.2,2 12.1,2 12,2C12,2 11.9,2 11.8,2C10.4,2 8.4,2.4 8.1,2.5C7,2.8 5.9,3.3 5,4.1C3,5.9 3,8.7 4,11C5,13.5 6.1,15.7 7.6,17.9C8.8,19.6 10.1,22 12,22C13.9,22 15.2,19.6 16.5,17.9C18,15.8 19.1,13.5 20.1,11C21,8.7 21,5.9 19,4.1Z"},{PackIconKind.GuitarPickOutline,"M19,4.1C18.1,3.3 17,2.8 15.8,2.5C15.5,2.4 13.6,2 12.2,2C12.2,2 12.1,2 12,2C12,2 11.9,2 11.8,2C10.4,2 8.4,2.4 8.1,2.5C7,2.8 5.9,3.3 5,4.1C3,5.9 3,8.7 4,11C5,13.5 6.1,15.7 7.6,17.9C8.8,19.6 10.1,22 12,22C13.9,22 15.2,19.6 16.5,17.9C18,15.8 19.1,13.5 20.1,11C21,8.7 21,5.9 19,4.1M18.2,10.2C17.1,12.9 16.1,14.9 14.8,16.7C14.6,16.9 14.5,17.2 14.3,17.4C13.8,18.2 12.6,20 12,20C12,20 12,20 12,20C11.3,20 10.2,18.3 9.6,17.4C9.4,17.2 9.3,16.9 9.1,16.7C7.9,14.9 6.8,12.9 5.7,10.2C5.5,9.5 4.7,7 6.3,5.5C6.8,5 7.6,4.7 8.6,4.4C9,4.4 10.7,4 11.8,4C11.8,4 12.1,4 12.1,4C13.2,4 14.9,4.3 15.3,4.4C16.3,4.7 17.1,5 17.6,5.5C19.3,7 18.5,9.5 18.2,10.2Z"},{PackIconKind.GuyFawkesMask,"M21,13A9,9 0 0,1 12,22A9,9 0 0,1 3,13L3.03,4.43C5.68,2.88 8.76,2 12.05,2C15.3,2 18.36,2.87 21,4.38V13M13,19.93C16.39,19.44 19,16.5 19,13V5.59C16.9,4.57 14.54,4 12.05,4C9.5,4 7.08,4.6 4.94,5.66L5,13C5,16.5 7.63,19.44 11,19.93V18H13V19.93M11,16H8L6,13L9,14H10L11,13H13L14,14H15L18,13L16,16H13L12,15L11,16M6,9.03C6.64,8.4 7.5,8.05 8.5,8.05C9.45,8.05 10.34,8.4 11,9.03C10.34,9.65 9.45,10 8.5,10C7.5,10 6.64,9.65 6,9.03M13,9.03C13.64,8.4 14.5,8.05 15.5,8.05C16.45,8.05 17.34,8.4 18,9.03C17.34,9.65 16.45,10 15.5,10C14.5,10 13.64,9.65 13,9.03Z"},{PackIconKind.Hackernews,"M2,2H22V22H2V2M11.25,17.5H12.75V13.06L16,7H14.5L12,11.66L9.5,7H8L11.25,13.06V17.5Z"},{PackIconKind.Hamburger,"M2,16H22V18C22,19.11 21.11,20 20,20H4C2.89,20 2,19.11 2,18V16M6,4H18C20.22,4 22,5.78 22,8V10H2V8C2,5.78 3.78,4 6,4M4,11H15L17,13L19,11H20C21.11,11 22,11.89 22,13C22,14.11 21.11,15 20,15H4C2.89,15 2,14.11 2,13C2,11.89 2.89,11 4,11Z"},{PackIconKind.HandPointingRight,"M21,9A1,1 0 0,1 22,10A1,1 0 0,1 21,11H16.53L16.4,12.21L14.2,17.15C14,17.65 13.47,18 12.86,18H8.5C7.7,18 7,17.27 7,16.5V10C7,9.61 7.16,9.26 7.43,9L11.63,4.1L12.4,4.84C12.6,5.03 12.72,5.29 12.72,5.58L12.69,5.8L11,9H21M2,18V10H5V18H2Z"},{PackIconKind.Hanger,"M20.76,16.34H20.75C21.5,16.77 22,17.58 22,18.5A2.5,2.5 0 0,1 19.5,21H4.5A2.5,2.5 0 0,1 2,18.5C2,17.58 2.5,16.77 3.25,16.34H3.24L11,11.86C11,11.86 11,11 12,10C13,10 14,9.1 14,8A2,2 0 0,0 12,6A2,2 0 0,0 10,8H8A4,4 0 0,1 12,4A4,4 0 0,1 16,8C16,9.86 14.73,11.42 13,11.87L20.76,16.34M4.5,19V19H19.5V19C19.67,19 19.84,18.91 19.93,18.75C20.07,18.5 20,18.21 19.75,18.07L12,13.59L4.25,18.07C4,18.21 3.93,18.5 4.07,18.75C4.16,18.91 4.33,19 4.5,19Z"},{PackIconKind.Hangouts,"M15,11L14,13H12.5L13.5,11H12V8H15M11,11L10,13H8.5L9.5,11H8V8H11M11.5,2A8.5,8.5 0 0,0 3,10.5A8.5,8.5 0 0,0 11.5,19H12V22.5C16.86,20.15 20,15 20,10.5C20,5.8 16.19,2 11.5,2Z"},{PackIconKind.Harddisk,"M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12,4A6,6 0 0,0 6,10C6,13.31 8.69,16 12.1,16L11.22,13.77C10.95,13.29 11.11,12.68 11.59,12.4L12.45,11.9C12.93,11.63 13.54,11.79 13.82,12.27L15.74,14.69C17.12,13.59 18,11.9 18,10A6,6 0 0,0 12,4M12,9A1,1 0 0,1 13,10A1,1 0 0,1 12,11A1,1 0 0,1 11,10A1,1 0 0,1 12,9M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M12.09,13.27L14.58,19.58L17.17,18.08L12.95,12.77L12.09,13.27Z"},{PackIconKind.Headphones,"M12,1C7,1 3,5 3,10V17A3,3 0 0,0 6,20H9V12H5V10A7,7 0 0,1 12,3A7,7 0 0,1 19,10V12H15V20H18A3,3 0 0,0 21,17V10C21,5 16.97,1 12,1Z"},{PackIconKind.HeadphonesBox,"M7.2,18C6.54,18 6,17.46 6,16.8V13.2L6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12V13.2L18,16.8A1.2,1.2 0 0,1 16.8,18H14V14H16V12A4,4 0 0,0 12,8A4,4 0 0,0 8,12V14H10V18M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.HeadphonesOff,"M12,1A9,9 0 0,0 3,10V17C3,17.62 3.19,18.19 3.5,18.67L9,13.18V12H5V10A7,7 0 0,1 12,3C14,3 15.77,3.82 17.04,5.14L18.45,3.72C16.82,2.04 14.53,1 12,1M21.22,3.5L3.5,21.22L4.77,22.5L7.27,20H9V18.27L15,12.27V20H18A3,3 0 0,0 21,17V10C21,8.89 20.8,7.82 20.43,6.84L22.5,4.77L21.22,3.5M18.83,8.44C18.94,8.94 19,9.46 19,10V12H15.27L18.83,8.44Z"},{PackIconKind.HeadphonesSettings,"M12,1A9,9 0 0,1 21,10V17A3,3 0 0,1 18,20H15V12H19V10A7,7 0 0,0 12,3A7,7 0 0,0 5,10V12H9V20H6A3,3 0 0,1 3,17V10A9,9 0 0,1 12,1M15,24V22H17V24H15M11,24V22H13V24H11M7,24V22H9V24H7Z"},{PackIconKind.Headset,"M12,1C7,1 3,5 3,10V17A3,3 0 0,0 6,20H9V12H5V10A7,7 0 0,1 12,3A7,7 0 0,1 19,10V12H15V20H19V21H12V23H18A3,3 0 0,0 21,20V10C21,5 16.97,1 12,1Z"},{PackIconKind.HeadsetDock,"M2,18H9V6.13C7.27,6.57 6,8.14 6,10V11H8V17H6A2,2 0 0,1 4,15V10A6,6 0 0,1 10,4H11A6,6 0 0,1 17,10V12H18V9H20V12A2,2 0 0,1 18,14H17V15A2,2 0 0,1 15,17H13V11H15V10C15,8.14 13.73,6.57 12,6.13V18H22V20H2V18Z"},{PackIconKind.HeadsetOff,"M22.5,4.77L20.43,6.84C20.8,7.82 21,8.89 21,10V20A3,3 0 0,1 18,23H12V21H19V20H15V12.27L9,18.27V20H7.27L4.77,22.5L3.5,21.22L21.22,3.5L22.5,4.77M12,1C14.53,1 16.82,2.04 18.45,3.72L17.04,5.14C15.77,3.82 14,3 12,3A7,7 0 0,0 5,10V12H9V13.18L3.5,18.67C3.19,18.19 3,17.62 3,17V10A9,9 0 0,1 12,1M19,12V10C19,9.46 18.94,8.94 18.83,8.44L15.27,12H19Z"},{PackIconKind.Heart,"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z"},{PackIconKind.HeartBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M12,17L12.72,16.34C15.3,14 17,12.46 17,10.57C17,9.03 15.79,7.82 14.25,7.82C13.38,7.82 12.55,8.23 12,8.87C11.45,8.23 10.62,7.82 9.75,7.82C8.21,7.82 7,9.03 7,10.57C7,12.46 8.7,14 11.28,16.34L12,17Z"},{PackIconKind.HeartBoxOutline,"M12,17L11.28,16.34C8.7,14 7,12.46 7,10.57C7,9.03 8.21,7.82 9.75,7.82C10.62,7.82 11.45,8.23 12,8.87C12.55,8.23 13.38,7.82 14.25,7.82C15.79,7.82 17,9.03 17,10.57C17,12.46 15.3,14 12.72,16.34L12,17M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M5,5V19H19V5H5Z"},{PackIconKind.HeartBroken,"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C8.17,3 8.82,3.12 9.44,3.33L13,9.35L9,14.35L12,21.35V21.35M16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35L11,14.35L15.5,9.35L12.85,4.27C13.87,3.47 15.17,3 16.5,3Z"},{PackIconKind.HeartHalf,"M13,7.2V17.74L13,20.44L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C10,3 13,5 13,7.2Z"},{PackIconKind.HeartHalfFull,"M16.5,5C15,5 13.58,5.91 13,7.2V17.74C17.25,13.87 20,11.2 20,8.5C20,6.5 18.5,5 16.5,5M16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3Z"},{PackIconKind.HeartHalfOutline,"M4,8.5C4,11.2 6.75,13.87 11,17.74V7.2C10.42,5.91 9,5 7.5,5C5.5,5 4,6.5 4,8.5M13,7.2V17.74L13,20.44L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C10,3 13,5 13,7.2Z"},{PackIconKind.HeartOff,"M1,4.27L2.28,3L20,20.72L18.73,22L15.18,18.44L13.45,20.03L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,7.55 2.23,6.67 2.63,5.9L1,4.27M7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,11.07 20.42,13.32 17.79,15.97L5.27,3.45C5.95,3.16 6.7,3 7.5,3Z"},{PackIconKind.HeartOutline,"M12.1,18.55L12,18.65L11.89,18.55C7.14,14.24 4,11.39 4,8.5C4,6.5 5.5,5 7.5,5C9.04,5 10.54,6 11.07,7.36H12.93C13.46,6 14.96,5 16.5,5C18.5,5 20,6.5 20,8.5C20,11.39 16.86,14.24 12.1,18.55M16.5,3C14.76,3 13.09,3.81 12,5.08C10.91,3.81 9.24,3 7.5,3C4.42,3 2,5.41 2,8.5C2,12.27 5.4,15.36 10.55,20.03L12,21.35L13.45,20.03C18.6,15.36 22,12.27 22,8.5C22,5.41 19.58,3 16.5,3Z"},{PackIconKind.HeartPulse,"M7.5,4A5.5,5.5 0 0,0 2,9.5C2,10 2.09,10.5 2.22,11H6.3L7.57,7.63C7.87,6.83 9.05,6.75 9.43,7.63L11.5,13L12.09,11.58C12.22,11.25 12.57,11 13,11H21.78C21.91,10.5 22,10 22,9.5A5.5,5.5 0 0,0 16.5,4C14.64,4 13,4.93 12,6.34C11,4.93 9.36,4 7.5,4V4M3,12.5A1,1 0 0,0 2,13.5A1,1 0 0,0 3,14.5H5.44L11,20C12,20.9 12,20.9 13,20L18.56,14.5H21A1,1 0 0,0 22,13.5A1,1 0 0,0 21,12.5H13.4L12.47,14.8C12.07,15.81 10.92,15.67 10.55,14.83L8.5,9.5L7.54,11.83C7.39,12.21 7.05,12.5 6.6,12.5H3Z"},{PackIconKind.Help,"M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"},{PackIconKind.HelpBox,"M11,18H13V16H11V18M12,6A4,4 0 0,0 8,10H10A2,2 0 0,1 12,8A2,2 0 0,1 14,10C14,12 11,11.75 11,15H13C13,12.75 16,12.5 16,10A4,4 0 0,0 12,6M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3Z"},{PackIconKind.HelpCircle,"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},{PackIconKind.HelpCircleOutline,"M11,18H13V16H11V18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,6A4,4 0 0,0 8,10H10A2,2 0 0,1 12,8A2,2 0 0,1 14,10C14,12 11,11.75 11,15H13C13,12.75 16,12.5 16,10A4,4 0 0,0 12,6Z"},{PackIconKind.HelpNetwork,"M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17M12.19,5C11.32,5 10.62,5.2 10.08,5.59C9.56,6 9.3,6.57 9.31,7.36L9.32,7.39H11.25C11.26,7.09 11.35,6.86 11.53,6.7C11.71,6.55 11.93,6.47 12.19,6.47C12.5,6.47 12.76,6.57 12.94,6.75C13.12,6.94 13.2,7.2 13.2,7.5C13.2,7.82 13.13,8.09 12.97,8.32C12.83,8.55 12.62,8.75 12.36,8.91C11.85,9.25 11.5,9.55 11.31,9.82C11.11,10.08 11,10.5 11,11H13C13,10.69 13.04,10.44 13.13,10.26C13.22,10.07 13.39,9.9 13.64,9.74C14.09,9.5 14.46,9.21 14.75,8.81C15.04,8.41 15.19,8 15.19,7.5C15.19,6.74 14.92,6.13 14.38,5.68C13.85,5.23 13.12,5 12.19,5M11,12V14H13V12H11Z"},{PackIconKind.Hexagon,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5Z"},{PackIconKind.HexagonMultiple,"M10.25,2C10.44,2 10.61,2.11 10.69,2.26L12.91,6.22L13,6.5L12.91,6.78L10.69,10.74C10.61,10.89 10.44,11 10.25,11H5.75C5.56,11 5.39,10.89 5.31,10.74L3.09,6.78L3,6.5L3.09,6.22L5.31,2.26C5.39,2.11 5.56,2 5.75,2H10.25M10.25,13C10.44,13 10.61,13.11 10.69,13.26L12.91,17.22L13,17.5L12.91,17.78L10.69,21.74C10.61,21.89 10.44,22 10.25,22H5.75C5.56,22 5.39,21.89 5.31,21.74L3.09,17.78L3,17.5L3.09,17.22L5.31,13.26C5.39,13.11 5.56,13 5.75,13H10.25M19.5,7.5C19.69,7.5 19.86,7.61 19.94,7.76L22.16,11.72L22.25,12L22.16,12.28L19.94,16.24C19.86,16.39 19.69,16.5 19.5,16.5H15C14.81,16.5 14.64,16.39 14.56,16.24L12.34,12.28L12.25,12L12.34,11.72L14.56,7.76C14.64,7.61 14.81,7.5 15,7.5H19.5Z"},{PackIconKind.HexagonOutline,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15Z"},{PackIconKind.HighDefinition,"M5,7H7V11H9V7H11V17H9V13H7V17H5V7M13,7H16A3,3 0 0,1 19,10V14A3,3 0 0,1 16,17H13V7M16,15A1,1 0 0,0 17,14V10A1,1 0 0,0 16,9H15V15H16Z"},{PackIconKind.Highway,"M10,2L8,8H11V2H10M13,2V8H16L14,2H13M2,9V10H4V11H6V10H18L18.06,11H20V10H22V9H2M7,11L3.34,22H11V11H7M13,11V22H20.66L17,11H13Z"},{PackIconKind.History,"M11,7V12.11L15.71,14.9L16.5,13.62L12.5,11.25V7M12.5,2C8.97,2 5.91,3.92 4.27,6.77L2,4.5V11H8.5L5.75,8.25C6.96,5.73 9.5,4 12.5,4A7.5,7.5 0 0,1 20,11.5A7.5,7.5 0 0,1 12.5,19C9.23,19 6.47,16.91 5.44,14H3.34C4.44,18.03 8.11,21 12.5,21C17.74,21 22,16.75 22,11.5A9.5,9.5 0 0,0 12.5,2Z"},{PackIconKind.Hololens,"M12,8C12,8 22,8 22,11C22,11 22.09,14.36 21.75,14.25C21,11 12,11 12,11C12,11 3,11 2.25,14.25C1.91,14.36 2,11 2,11C2,8 12,8 12,8M12,12C20,12 20.75,14.25 20.75,14.25C19.75,17.25 19,18 15,18C12,18 13,16.5 12,16.5C11,16.5 12,18 9,18C5,18 4.25,17.25 3.25,14.25C3.25,14.25 4,12 12,12Z"},{PackIconKind.Home,"M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z"},{PackIconKind.HomeAccount,"M12,3L2,12H5V20H19V12H22L12,3M12,8.75A2.25,2.25 0 0,1 14.25,11A2.25,2.25 0 0,1 12,13.25A2.25,2.25 0 0,1 9.75,11A2.25,2.25 0 0,1 12,8.75M12,15C13.5,15 16.5,15.75 16.5,17.25V18H7.5V17.25C7.5,15.75 10.5,15 12,15Z"},{PackIconKind.HomeAssistant,"M21.8,13H20V21H13V17.67L15.79,14.88L16.5,15C17.66,15 18.6,14.06 18.6,12.9C18.6,11.74 17.66,10.8 16.5,10.8A2.1,2.1 0 0,0 14.4,12.9L14.5,13.61L13,15.13V9.65C13.66,9.29 14.1,8.6 14.1,7.8A2.1,2.1 0 0,0 12,5.7A2.1,2.1 0 0,0 9.9,7.8C9.9,8.6 10.34,9.29 11,9.65V15.13L9.5,13.61L9.6,12.9A2.1,2.1 0 0,0 7.5,10.8A2.1,2.1 0 0,0 5.4,12.9A2.1,2.1 0 0,0 7.5,15L8.21,14.88L11,17.67V21H4V13H2.25C1.83,13 1.42,13 1.42,12.79C1.43,12.57 1.85,12.15 2.28,11.72L11,3C11.33,2.67 11.67,2.33 12,2.33C12.33,2.33 12.67,2.67 13,3L17,7V6H19V9L21.78,11.78C22.18,12.18 22.59,12.59 22.6,12.8C22.6,13 22.2,13 21.8,13M7.5,12A0.9,0.9 0 0,1 8.4,12.9A0.9,0.9 0 0,1 7.5,13.8A0.9,0.9 0 0,1 6.6,12.9A0.9,0.9 0 0,1 7.5,12M16.5,12C17,12 17.4,12.4 17.4,12.9C17.4,13.4 17,13.8 16.5,13.8A0.9,0.9 0 0,1 15.6,12.9A0.9,0.9 0 0,1 16.5,12M12,6.9C12.5,6.9 12.9,7.3 12.9,7.8C12.9,8.3 12.5,8.7 12,8.7C11.5,8.7 11.1,8.3 11.1,7.8C11.1,7.3 11.5,6.9 12,6.9Z"},{PackIconKind.HomeAutomation,"M12,3L2,12H5V20H19V12H22L12,3M12,8.5C14.34,8.5 16.46,9.43 18,10.94L16.8,12.12C15.58,10.91 13.88,10.17 12,10.17C10.12,10.17 8.42,10.91 7.2,12.12L6,10.94C7.54,9.43 9.66,8.5 12,8.5M12,11.83C13.4,11.83 14.67,12.39 15.6,13.3L14.4,14.47C13.79,13.87 12.94,13.5 12,13.5C11.06,13.5 10.21,13.87 9.6,14.47L8.4,13.3C9.33,12.39 10.6,11.83 12,11.83M12,15.17C12.94,15.17 13.7,15.91 13.7,16.83C13.7,17.75 12.94,18.5 12,18.5C11.06,18.5 10.3,17.75 10.3,16.83C10.3,15.91 11.06,15.17 12,15.17Z"},{PackIconKind.HomeCircle,"M19.07,4.93C17.22,3 14.66,1.96 12,2C9.34,1.96 6.79,3 4.94,4.93C3,6.78 1.96,9.34 2,12C1.96,14.66 3,17.21 4.93,19.06C6.78,21 9.34,22.04 12,22C14.66,22.04 17.21,21 19.06,19.07C21,17.22 22.04,14.66 22,12C22.04,9.34 21,6.78 19.07,4.93M17,12V18H13.5V13H10.5V18H7V12H5L12,5L19.5,12H17Z"},{PackIconKind.HomeHeart,"M2,12L12,3L22,12H19V20H5V12H2M12,18L12.72,17.34C15.3,15 17,13.46 17,11.57C17,10.03 15.79,8.82 14.25,8.82C13.38,8.82 12.55,9.23 12,9.87C11.45,9.23 10.62,8.82 9.75,8.82C8.21,8.82 7,10.03 7,11.57C7,13.46 8.7,15 11.28,17.34L12,18Z"},{PackIconKind.HomeMapMarker,"M12,3L2,12H5V20H19V12H22L12,3M12,7.7C14.1,7.7 15.8,9.4 15.8,11.5C15.8,14.5 12,18 12,18C12,18 8.2,14.5 8.2,11.5C8.2,9.4 9.9,7.7 12,7.7M12,10A1.5,1.5 0 0,0 10.5,11.5A1.5,1.5 0 0,0 12,13A1.5,1.5 0 0,0 13.5,11.5A1.5,1.5 0 0,0 12,10Z"},{PackIconKind.HomeModern,"M6,21V8A2,2 0 0,1 8,6L16,3V6A2,2 0 0,1 18,8V21H12V16H8V21H6M14,19H16V16H14V19M8,13H10V9H8V13M12,13H16V9H12V13Z"},{PackIconKind.HomeOutline,"M9,19V13H11L13,13H15V19H18V10.91L12,4.91L6,10.91V19H9M12,2.09L21.91,12H20V21H13V15H11V21H4V12H2.09L12,2.09Z"},{PackIconKind.HomeVariant,"M8,20H5V12H2L12,3L22,12H19V20H12V14H8V20M14,14V17H17V14H14Z"},{PackIconKind.Hook,"M18,6C18,7.82 16.76,9.41 15,9.86V17A5,5 0 0,1 10,22A5,5 0 0,1 5,17V12L10,17H7A3,3 0 0,0 10,20A3,3 0 0,0 13,17V9.86C11.23,9.4 10,7.8 10,5.97C10,3.76 11.8,2 14,2C16.22,2 18,3.79 18,6M14,8A2,2 0 0,0 16,6A2,2 0 0,0 14,4A2,2 0 0,0 12,6A2,2 0 0,0 14,8Z"},{PackIconKind.HookOff,"M13,9.86V11.18L15,13.18V9.86C17.14,9.31 18.43,7.13 17.87,5C17.32,2.85 15.14,1.56 13,2.11C10.86,2.67 9.57,4.85 10.13,7C10.5,8.4 11.59,9.5 13,9.86M14,4A2,2 0 0,1 16,6A2,2 0 0,1 14,8A2,2 0 0,1 12,6A2,2 0 0,1 14,4M18.73,22L14.86,18.13C14.21,20.81 11.5,22.46 8.83,21.82C6.6,21.28 5,19.29 5,17V12L10,17H7A3,3 0 0,0 10,20A3,3 0 0,0 13,17V16.27L2,5.27L3.28,4L13,13.72L15,15.72L20,20.72L18.73,22Z"},{PackIconKind.Hops,"M21,12C21,12 12.5,10 12.5,2C12.5,2 21,2 21,12M3,12C3,2 11.5,2 11.5,2C11.5,10 3,12 3,12M12,6.5C12,6.5 13,8.66 15,10.5C14.76,14.16 12,16 12,16C12,16 9.24,14.16 9,10.5C11,8.66 12,6.5 12,6.5M20.75,13.25C20.75,13.25 20,17 18,19C18,19 15.53,17.36 14.33,14.81C15.05,13.58 15.5,12.12 15.75,11.13C17.13,12.18 18.75,13 20.75,13.25M15.5,18.25C14.5,20.25 12,21.75 12,21.75C12,21.75 9.5,20.25 8.5,18.25C8.5,18.25 9.59,17.34 10.35,15.8C10.82,16.35 11.36,16.79 12,17C12.64,16.79 13.18,16.35 13.65,15.8C14.41,17.34 15.5,18.25 15.5,18.25M3.25,13.25C5.25,13 6.87,12.18 8.25,11.13C8.5,12.12 8.95,13.58 9.67,14.81C8.47,17.36 6,19 6,19C4,17 3.25,13.25 3.25,13.25Z"},{PackIconKind.Hospital,"M18,14H14V18H10V14H6V10H10V6H14V10H18M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.HospitalBuilding,"M2,22V7A1,1 0 0,1 3,6H7V2H17V6H21A1,1 0 0,1 22,7V22H14V17H10V22H2M9,4V10H11V8H13V10H15V4H13V6H11V4H9M4,20H8V17H4V20M4,15H8V12H4V15M16,20H20V17H16V20M16,15H20V12H16V15M10,15H14V12H10V15Z"},{PackIconKind.HospitalMarker,"M12,2C15.86,2 19,5.13 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M9,6V12H11V10H13V12H15V6H13V8H11V6H9Z"},{PackIconKind.HotTub,"M7,4A2,2 0 0,1 9,6A2,2 0 0,1 7,8A2,2 0 0,1 5,6A2,2 0 0,1 7,4M11.15,12H22V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V12H5V11.25C5,10 6,9 7.25,9H7.28C7.62,9 7.95,9.09 8.24,9.23C8.5,9.35 8.74,9.5 8.93,9.73L10.33,11.28C10.56,11.54 10.84,11.78 11.15,12M7,20V14H5V20H7M11,20V14H9V20H11M15,20V14H13V20H15M19,20V14H17V20H19M18.65,5.86C19.68,6.86 20.16,8.21 19.95,9.57L19.89,10H18L18.09,9.41C18.24,8.62 18,7.83 17.42,7.21L17.35,7.15C16.32,6.14 15.85,4.79 16.05,3.43L16.11,3H18L17.91,3.59C17.76,4.38 18,5.17 18.58,5.79L18.65,5.86M14.65,5.86C15.68,6.86 16.16,8.21 15.95,9.57L15.89,10H14L14.09,9.41C14.24,8.62 14,7.83 13.42,7.21L13.35,7.15C12.32,6.14 11.85,4.79 12.05,3.43L12.11,3H14L13.91,3.59C13.76,4.38 14,5.17 14.58,5.79L14.65,5.86Z"},{PackIconKind.Hotel,"M19,7H11V14H3V5H1V20H3V17H21V20H23V11A4,4 0 0,0 19,7M7,13A3,3 0 0,0 10,10A3,3 0 0,0 7,7A3,3 0 0,0 4,10A3,3 0 0,0 7,13Z"},{PackIconKind.Houzz,"M12,24V16L5.1,20V12H5.1V4L12,0V8L5.1,12L12,16V8L18.9,4V12H18.9V20L12,24Z"},{PackIconKind.HouzzBox,"M12,4L7.41,6.69V12L12,9.3V4M12,9.3V14.7L12,20L16.59,17.31V12L16.59,6.6L12,9.3M12,14.7L7.41,12V17.4L12,14.7M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3Z"},{PackIconKind.Hulu,"M19.5,12.8V22H14.7V13.9C14.7,13.2 14.1,12.6 13.4,12.6H10.5C9.8,12.6 9.2,13.2 9.2,13.9V22H4.5V2H9.3V8.4C9.6,8.3 9.9,8.2 10.2,8.2H15C17.5,8.2 19.5,10.3 19.5,12.8Z"},{PackIconKind.Human,"M21,9H15V22H13V16H11V22H9V9H3V7H21M12,2A2,2 0 0,1 14,4A2,2 0 0,1 12,6C10.89,6 10,5.1 10,4C10,2.89 10.89,2 12,2Z"},{PackIconKind.HumanChild,"M12,2A3,3 0 0,1 15,5A3,3 0 0,1 12,8A3,3 0 0,1 9,5A3,3 0 0,1 12,2M11,22H8V16H6V9H18V16H16V22H13V18H11V22Z"},{PackIconKind.HumanFemale,"M12,2A2,2 0 0,1 14,4A2,2 0 0,1 12,6A2,2 0 0,1 10,4A2,2 0 0,1 12,2M10.5,22V16H7.5L10.09,8.41C10.34,7.59 11.1,7 12,7C12.9,7 13.66,7.59 13.91,8.41L16.5,16H13.5V22H10.5Z"},{PackIconKind.HumanGreeting,"M1.5,4V5.5C1.5,9.65 3.71,13.28 7,15.3V20H22V18C22,15.34 16.67,14 14,14C14,14 13.83,14 13.75,14C9,14 5,10 5,5.5V4M14,4A4,4 0 0,0 10,8A4,4 0 0,0 14,12A4,4 0 0,0 18,8A4,4 0 0,0 14,4Z"},{PackIconKind.HumanHandsdown,"M12,1C10.89,1 10,1.9 10,3C10,4.11 10.89,5 12,5C13.11,5 14,4.11 14,3A2,2 0 0,0 12,1M10,6C9.73,6 9.5,6.11 9.31,6.28H9.3L4,11.59L5.42,13L9,9.41V22H11V15H13V22H15V9.41L18.58,13L20,11.59L14.7,6.28C14.5,6.11 14.27,6 14,6"},{PackIconKind.HumanHandsup,"M5,1C5,3.7 6.56,6.16 9,7.32V22H11V15H13V22H15V7.31C17.44,6.16 19,3.7 19,1H17A5,5 0 0,1 12,6A5,5 0 0,1 7,1M12,1C10.89,1 10,1.89 10,3C10,4.11 10.89,5 12,5C13.11,5 14,4.11 14,3C14,1.89 13.11,1 12,1Z"},{PackIconKind.HumanMale,"M12,2A2,2 0 0,1 14,4A2,2 0 0,1 12,6A2,2 0 0,1 10,4A2,2 0 0,1 12,2M10.5,7H13.5A2,2 0 0,1 15.5,9V14.5H14V22H10V14.5H8.5V9A2,2 0 0,1 10.5,7Z"},{PackIconKind.HumanMaleFemale,"M7.5,2A2,2 0 0,1 9.5,4A2,2 0 0,1 7.5,6A2,2 0 0,1 5.5,4A2,2 0 0,1 7.5,2M6,7H9A2,2 0 0,1 11,9V14.5H9.5V22H5.5V14.5H4V9A2,2 0 0,1 6,7M16.5,2A2,2 0 0,1 18.5,4A2,2 0 0,1 16.5,6A2,2 0 0,1 14.5,4A2,2 0 0,1 16.5,2M15,22V16H12L14.59,8.41C14.84,7.59 15.6,7 16.5,7C17.4,7 18.16,7.59 18.41,8.41L21,16H18V22H15Z"},{PackIconKind.HumanPregnant,"M9,4C9,2.89 9.89,2 11,2C12.11,2 13,2.89 13,4C13,5.11 12.11,6 11,6C9.89,6 9,5.11 9,4M16,13C16,11.66 15.17,10.5 14,10A3,3 0 0,0 11,7A3,3 0 0,0 8,10V17H10V22H13V17H16V13Z"},{PackIconKind.HumbleBundle,"M16.91,18.12C14.09,18.12 18.43,2.13 18.43,2.13H15.53C15.53,2.13 14.34,5.89 13.55,10.07H11.05C11.11,9.21 11.15,8.34 11.13,7.5C11,0.59 7,1.87 5.18,3.45C3.47,4.95 2.03,7.8 2,10C2.27,10 3.35,10 3.35,10C3.35,10 4.25,5.88 7.07,5.88C9.89,5.88 5.54,21.87 5.54,21.87H8.45C8.45,21.87 9.95,17.59 10.7,12.81L13.09,12.8C12.95,14.04 12.91,15.4 12.93,16.67C13.04,23.56 17.06,22.08 18.86,20.5C20.67,18.92 22,15.58 22,14H20.61C20.62,14.12 19.73,18.12 16.91,18.12V18.12Z"},{PackIconKind.IceCream,"M12,2C14.21,2 16,3.79 16,6.05C17.14,6.28 18,7.29 18,8.5A2.5,2.5 0 0,1 15.5,11H8.5A2.5,2.5 0 0,1 6,8.5C6,7.29 6.86,6.28 8,6A4,4 0 0,1 12,2M9,12H15L13,22H11L9,12Z"},{PackIconKind.Image,"M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z"},{PackIconKind.ImageAlbum,"M6,19L9,15.14L11.14,17.72L14.14,13.86L18,19H6M6,4H11V12L8.5,10.5L6,12M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2Z"},{PackIconKind.ImageArea,"M20,5A2,2 0 0,1 22,7V17A2,2 0 0,1 20,19H4C2.89,19 2,18.1 2,17V7C2,5.89 2.89,5 4,5H20M5,16H19L14.5,10L11,14.5L8.5,11.5L5,16Z"},{PackIconKind.ImageAreaClose,"M12,23L8,19H16L12,23M20,3A2,2 0 0,1 22,5V15A2,2 0 0,1 20,17H4A2,2 0 0,1 2,15V5A2,2 0 0,1 4,3H20M5,14H19L14.5,8L11,12.5L8.5,9.5L5,14Z"},{PackIconKind.ImageBroken,"M19,3A2,2 0 0,1 21,5V11H19V13H19L17,13V15H15V17H13V19H11V21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19M21,15V19A2,2 0 0,1 19,21H19L15,21V19H17V17H19V15H21M19,8.5A0.5,0.5 0 0,0 18.5,8H5.5A0.5,0.5 0 0,0 5,8.5V15.5A0.5,0.5 0 0,0 5.5,16H11V15H13V13H15V11H17V9H19V8.5Z"},{PackIconKind.ImageBrokenVariant,"M21,5V11.59L18,8.58L14,12.59L10,8.59L6,12.59L3,9.58V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M18,11.42L21,14.43V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V12.42L6,15.41L10,11.41L14,15.41"},{PackIconKind.ImageFilter,"M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3M15.96,10.29L13.21,13.83L11.25,11.47L8.5,15H19.5L15.96,10.29Z"},{PackIconKind.ImageFilterBlackWhite,"M19,19L12,11V19H5L12,11V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.ImageFilterCenterFocus,"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M19,19H15V21H19A2,2 0 0,0 21,19V15H19M19,3H15V5H19V9H21V5A2,2 0 0,0 19,3M5,5H9V3H5A2,2 0 0,0 3,5V9H5M5,15H3V19A2,2 0 0,0 5,21H9V19H5V15Z"},{PackIconKind.ImageFilterCenterFocusWeak,"M5,15H3V19A2,2 0 0,0 5,21H9V19H5M5,5H9V3H5A2,2 0 0,0 3,5V9H5M19,3H15V5H19V9H21V5A2,2 0 0,0 19,3M19,19H15V21H19A2,2 0 0,0 21,19V15H19M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8M12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14Z"},{PackIconKind.ImageFilterDrama,"M19,18H6A4,4 0 0,1 2,14A4,4 0 0,1 6,10A4,4 0 0,1 10,14H12C12,11.24 10.14,8.92 7.6,8.22C8.61,6.88 10.2,6 12,6C15.03,6 17.5,8.47 17.5,11.5V12H19A3,3 0 0,1 22,15A3,3 0 0,1 19,18M19.35,10.04C18.67,6.59 15.64,4 12,4C9.11,4 6.61,5.64 5.36,8.04C2.35,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.04Z"},{PackIconKind.ImageFilterFrames,"M18,8H6V18H18M20,20H4V6H8.5L12.04,2.5L15.5,6H20M20,4H16L12,0L8,4H4A2,2 0 0,0 2,6V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V6A2,2 0 0,0 20,4Z"},{PackIconKind.ImageFilterHdr,"M14,6L10.25,11L13.1,14.8L11.5,16C9.81,13.75 7,10 7,10L1,18H23L14,6Z"},{PackIconKind.ImageFilterNone,"M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.ImageFilterTiltShift,"M5.68,19.74C7.16,20.95 9,21.75 11,21.95V19.93C9.54,19.75 8.21,19.17 7.1,18.31M13,19.93V21.95C15,21.75 16.84,20.95 18.32,19.74L16.89,18.31C15.79,19.17 14.46,19.75 13,19.93M18.31,16.9L19.74,18.33C20.95,16.85 21.75,15 21.95,13H19.93C19.75,14.46 19.17,15.79 18.31,16.9M15,12A3,3 0 0,0 12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12M4.07,13H2.05C2.25,15 3.05,16.84 4.26,18.32L5.69,16.89C4.83,15.79 4.25,14.46 4.07,13M5.69,7.1L4.26,5.68C3.05,7.16 2.25,9 2.05,11H4.07C4.25,9.54 4.83,8.21 5.69,7.1M19.93,11H21.95C21.75,9 20.95,7.16 19.74,5.68L18.31,7.1C19.17,8.21 19.75,9.54 19.93,11M18.32,4.26C16.84,3.05 15,2.25 13,2.05V4.07C14.46,4.25 15.79,4.83 16.9,5.69M11,4.07V2.05C9,2.25 7.16,3.05 5.68,4.26L7.1,5.69C8.21,4.83 9.54,4.25 11,4.07Z"},{PackIconKind.ImageFilterVintage,"M12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16M18.7,12.4C18.42,12.24 18.13,12.11 17.84,12C18.13,11.89 18.42,11.76 18.7,11.6C20.62,10.5 21.69,8.5 21.7,6.41C19.91,5.38 17.63,5.3 15.7,6.41C15.42,6.57 15.16,6.76 14.92,6.95C14.97,6.64 15,6.32 15,6C15,3.78 13.79,1.85 12,0.81C10.21,1.85 9,3.78 9,6C9,6.32 9.03,6.64 9.08,6.95C8.84,6.75 8.58,6.56 8.3,6.4C6.38,5.29 4.1,5.37 2.3,6.4C2.3,8.47 3.37,10.5 5.3,11.59C5.58,11.75 5.87,11.88 6.16,12C5.87,12.1 5.58,12.23 5.3,12.39C3.38,13.5 2.31,15.5 2.3,17.58C4.09,18.61 6.37,18.69 8.3,17.58C8.58,17.42 8.84,17.23 9.08,17.04C9.03,17.36 9,17.68 9,18C9,20.22 10.21,22.15 12,23.19C13.79,22.15 15,20.22 15,18C15,17.68 14.97,17.36 14.92,17.05C15.16,17.25 15.42,17.43 15.7,17.59C17.62,18.7 19.9,18.62 21.7,17.59C21.69,15.5 20.62,13.5 18.7,12.4Z"},{PackIconKind.ImageMultiple,"M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6"},{PackIconKind.ImageOff,"M2.28,3L1,4.27L3,6.27V19A2,2 0 0,0 5,21H17.73L19.73,23L21,21.72L2.28,3M4.83,3L21,19.17V5C21,3.89 20.1,3 19,3H4.83M8.5,13.5L11,16.5L12,15.25L14.73,18H5L8.5,13.5Z"},{PackIconKind.ImagePlus,"M5,3A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H14.09C14.03,20.67 14,20.34 14,20C14,19.32 14.12,18.64 14.35,18H5L8.5,13.5L11,16.5L14.5,12L16.73,14.97C17.7,14.34 18.84,14 20,14C20.34,14 20.67,14.03 21,14.09V5C21,3.89 20.1,3 19,3H5M19,16V19H16V21H19V24H21V21H24V19H21V16H19Z"},{PackIconKind.Import,"M14,12L10,8V11H2V13H10V16M20,18V6C20,4.89 19.1,4 18,4H6A2,2 0 0,0 4,6V9H6V6H18V18H6V15H4V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18Z"},{PackIconKind.Inbox,"M19,15H15A3,3 0 0,1 12,18A3,3 0 0,1 9,15H5V5H19M19,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.InboxArrowDown,"M16,10H14V7H10V10H8L12,14M19,15H15A3,3 0 0,1 12,18A3,3 0 0,1 9,15H5V5H19M19,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.InboxArrowUp,"M14,14H10V11H8L12,7L16,11H14V14M16,11M5,15V5H19V15H15A3,3 0 0,1 12,18A3,3 0 0,1 9,15H5M19,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3"},{PackIconKind.Incognito,"M12,3C9.31,3 7.41,4.22 7.41,4.22L6,9H18L16.59,4.22C16.59,4.22 14.69,3 12,3M12,11C9.27,11 5.39,11.54 5.13,11.59C4.09,11.87 3.25,12.15 2.59,12.41C1.58,12.75 1,13 1,13H23C23,13 22.42,12.75 21.41,12.41C20.75,12.15 19.89,11.87 18.84,11.59C18.84,11.59 14.82,11 12,11M7.5,14A3.5,3.5 0 0,0 4,17.5A3.5,3.5 0 0,0 7.5,21A3.5,3.5 0 0,0 11,17.5C11,17.34 11,17.18 10.97,17.03C11.29,16.96 11.63,16.9 12,16.91C12.37,16.91 12.71,16.96 13.03,17.03C13,17.18 13,17.34 13,17.5A3.5,3.5 0 0,0 16.5,21A3.5,3.5 0 0,0 20,17.5A3.5,3.5 0 0,0 16.5,14C15.03,14 13.77,14.9 13.25,16.19C12.93,16.09 12.55,16 12,16C11.45,16 11.07,16.09 10.75,16.19C10.23,14.9 8.97,14 7.5,14M7.5,15A2.5,2.5 0 0,1 10,17.5A2.5,2.5 0 0,1 7.5,20A2.5,2.5 0 0,1 5,17.5A2.5,2.5 0 0,1 7.5,15M16.5,15A2.5,2.5 0 0,1 19,17.5A2.5,2.5 0 0,1 16.5,20A2.5,2.5 0 0,1 14,17.5A2.5,2.5 0 0,1 16.5,15Z"},{PackIconKind.Infinity,"M18.6,6.62C21.58,6.62 24,9 24,12C24,14.96 21.58,17.37 18.6,17.37C17.15,17.37 15.8,16.81 14.78,15.8L12,13.34L9.17,15.85C8.2,16.82 6.84,17.38 5.4,17.38C2.42,17.38 0,14.96 0,12C0,9.04 2.42,6.62 5.4,6.62C6.84,6.62 8.2,7.18 9.22,8.2L12,10.66L14.83,8.15C15.8,7.18 17.16,6.62 18.6,6.62M7.8,14.39L10.5,12L7.84,9.65C7.16,8.97 6.31,8.62 5.4,8.62C3.53,8.62 2,10.13 2,12C2,13.87 3.53,15.38 5.4,15.38C6.31,15.38 7.16,15.03 7.8,14.39M16.2,9.61L13.5,12L16.16,14.35C16.84,15.03 17.7,15.38 18.6,15.38C20.47,15.38 22,13.87 22,12C22,10.13 20.47,8.62 18.6,8.62C17.69,8.62 16.84,8.97 16.2,9.61Z"},{PackIconKind.Information,"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.InformationOutline,"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},{PackIconKind.InformationVariant,"M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z"},{PackIconKind.Instagram,"M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"},{PackIconKind.Instapaper,"M10,5A1,1 0 0,0 9,4H8V2H16V4H15A1,1 0 0,0 14,5V19A1,1 0 0,0 15,20H16V22H8V20H9A1,1 0 0,0 10,19V5Z"},{PackIconKind.InternetExplorer,"M13,3L14,3.06C16.8,1.79 19.23,1.64 20.5,2.92C21.5,3.93 21.58,5.67 20.92,7.72C21.61,9 22,10.45 22,12L21.95,13H9.08C9.45,15.28 11.06,17 13,17C14.31,17 15.47,16.21 16.2,15H21.5C20.25,18.5 16.92,21 13,21C11.72,21 10.5,20.73 9.41,20.25C6.5,21.68 3.89,21.9 2.57,20.56C1,18.96 1.68,15.57 4,12C4.93,10.54 6.14,9.06 7.57,7.65L8.38,6.88C7.21,7.57 5.71,8.62 4.19,10.17C5.03,6.08 8.66,3 13,3M13,7C11.21,7 9.69,8.47 9.18,10.5H16.82C16.31,8.47 14.79,7 13,7M20.06,4.06C19.4,3.39 18.22,3.35 16.74,3.81C18.22,4.5 19.5,5.56 20.41,6.89C20.73,5.65 20.64,4.65 20.06,4.06M3.89,20C4.72,20.84 6.4,20.69 8.44,19.76C6.59,18.67 5.17,16.94 4.47,14.88C3.27,17.15 3,19.07 3.89,20Z"},{PackIconKind.InvertColors,"M12,19.58V19.58C10.4,19.58 8.89,18.96 7.76,17.83C6.62,16.69 6,15.19 6,13.58C6,12 6.62,10.47 7.76,9.34L12,5.1M17.66,7.93L12,2.27V2.27L6.34,7.93C3.22,11.05 3.22,16.12 6.34,19.24C7.9,20.8 9.95,21.58 12,21.58C14.05,21.58 16.1,20.8 17.66,19.24C20.78,16.12 20.78,11.05 17.66,7.93Z"},{PackIconKind.Itunes,"M7.85,17.07C7.03,17.17 3.5,17.67 4.06,20.26C4.69,23.3 9.87,22.59 9.83,19C9.81,16.57 9.83,9.2 9.83,9.2C9.83,9.2 9.76,8.53 10.43,8.39L18.19,6.79C18.19,6.79 18.83,6.65 18.83,7.29C18.83,7.89 18.83,14.2 18.83,14.2C18.83,14.2 18.9,14.83 18.12,15C17.34,15.12 13.91,15.4 14.19,18C14.5,21.07 20,20.65 20,17.07V2.61C20,2.61 20.04,1.62 18.9,1.87L9.5,3.78C9.5,3.78 8.66,3.96 8.66,4.77C8.66,5.5 8.66,16.11 8.66,16.11C8.66,16.11 8.66,16.96 7.85,17.07Z"},{PackIconKind.Jeepney,"M19,13V7H20V4H4V7H5V13H2C2,13.93 2.5,14.71 3.5,14.93V20A1,1 0 0,0 4.5,21H5.5A1,1 0 0,0 6.5,20V19H17.5V20A1,1 0 0,0 18.5,21H19.5A1,1 0 0,0 20.5,20V14.93C21.5,14.7 22,13.93 22,13H19M8,15A1.5,1.5 0 0,1 6.5,13.5A1.5,1.5 0 0,1 8,12A1.5,1.5 0 0,1 9.5,13.5A1.5,1.5 0 0,1 8,15M16,15A1.5,1.5 0 0,1 14.5,13.5A1.5,1.5 0 0,1 16,12A1.5,1.5 0 0,1 17.5,13.5A1.5,1.5 0 0,1 16,15M17.5,10.5C15.92,10.18 14.03,10 12,10C9.97,10 8,10.18 6.5,10.5V7H17.5V10.5Z"},{PackIconKind.Jira,"M11.53,2C11.53,4.4 13.5,6.35 15.88,6.35H17.66V8.05C17.66,10.45 19.6,12.39 22,12.4V2.84A0.84,0.84 0 0,0 21.16,2H11.53M6.77,6.8C6.78,9.19 8.72,11.13 11.11,11.14H12.91V12.86C12.92,15.25 14.86,17.19 17.25,17.2V7.63C17.24,7.17 16.88,6.81 16.42,6.8H6.77M2,11.6C2,14 3.95,15.94 6.35,15.94H8.13V17.66C8.14,20.05 10.08,22 12.47,22V12.43A0.84,0.84 0 0,0 11.63,11.59L2,11.6Z"},{PackIconKind.Jsfiddle,"M16.45,17.5C17.45,17.5 18.3,17.15 19,16.5C19.67,15.8 20,15 20,14C20,13.05 19.66,12.22 18.96,11.53C18.26,10.84 17.41,10.5 16.41,10.5C15.47,10.5 14.64,10.83 13.92,11.5L9.14,15.56C8.7,16 8.17,16.22 7.55,16.22C6.92,16.22 6.39,16 5.95,15.56C5.5,15.13 5.3,14.61 5.3,14C5.3,13.42 5.5,12.91 5.95,12.47C6.39,12.03 6.92,11.81 7.55,11.81C8.14,11.81 8.69,12.03 9.19,12.47L9.94,13.13L10.92,12.23L10.08,11.53C9.39,10.84 8.55,10.5 7.55,10.5C6.58,10.5 5.74,10.84 5.04,11.53C4.34,12.22 4,13.05 4,14C4,15 4.34,15.8 5.04,16.5C5.74,17.15 6.59,17.5 7.59,17.5C8.53,17.5 9.36,17.16 10.08,16.5L14.86,12.42C15.27,12 15.8,11.81 16.45,11.81C17.08,11.81 17.61,12.03 18.05,12.47C18.5,12.91 18.7,13.42 18.7,14C18.7,14.61 18.5,15.13 18.05,15.56C17.61,16 17.08,16.22 16.45,16.22C15.89,16.22 15.34,16 14.81,15.5L14.06,14.86L13.08,15.75L13.92,16.45C14.61,17.14 15.45,17.5 16.45,17.5M19.36,10.03C20.64,10.13 21.73,10.65 22.64,11.6C23.55,12.55 24,13.69 24,15C24,16.38 23.5,17.55 22.5,18.54C21.54,19.5 20.36,20 19,20H6C4.34,20 2.93,19.43 1.76,18.26C0.59,17.09 0,15.67 0,14C0,12.55 0.5,11.23 1.57,10.05C2.62,8.88 3.88,8.22 5.34,8.06C6,6.84 6.92,5.86 8.11,5.11C9.3,4.36 10.59,4 12,4C13.69,4 15.26,4.58 16.71,5.77C18.16,6.95 19.05,8.38 19.36,10.03Z"},{PackIconKind.Json,"M5,3H7V5H5V10A2,2 0 0,1 3,12A2,2 0 0,1 5,14V19H7V21H5C3.93,20.73 3,20.1 3,19V15A2,2 0 0,0 1,13H0V11H1A2,2 0 0,0 3,9V5A2,2 0 0,1 5,3M19,3A2,2 0 0,1 21,5V9A2,2 0 0,0 23,11H24V13H23A2,2 0 0,0 21,15V19A2,2 0 0,1 19,21H17V19H19V14A2,2 0 0,1 21,12A2,2 0 0,1 19,10V5H17V3H19M12,15A1,1 0 0,1 13,16A1,1 0 0,1 12,17A1,1 0 0,1 11,16A1,1 0 0,1 12,15M8,15A1,1 0 0,1 9,16A1,1 0 0,1 8,17A1,1 0 0,1 7,16A1,1 0 0,1 8,15M16,15A1,1 0 0,1 17,16A1,1 0 0,1 16,17A1,1 0 0,1 15,16A1,1 0 0,1 16,15Z"},{PackIconKind.Karate,"M19,1.27C18.04,0.72 16.82,1.04 16.27,2C15.71,2.95 16.04,4.18 17,4.73C17.95,5.28 19.17,4.96 19.73,4C20.28,3.04 19.95,1.82 19,1.27M21.27,9.34L18.7,13.79L16.96,12.79L18.69,9.79L17.14,8.5L14,13.92V22H12V13.39L2.47,7.89L3.47,6.16L11.27,10.66L13.67,6.5L7.28,4.17L8,2.29L14.73,4.74L15,4.84C15.39,5 15.76,5.15 16.12,5.35L16.96,5.84C17.31,6.04 17.65,6.28 17.96,6.54L18.19,6.74L21.27,9.34Z"},{PackIconKind.Keg,"M5,22V20H6V16H5V14H6V11H5V7H11V3H10V2H11L13,2H14V3H13V7H19V11H18V14H19V16H18V20H19V22H5M17,9A1,1 0 0,0 16,8H14A1,1 0 0,0 13,9A1,1 0 0,0 14,10H16A1,1 0 0,0 17,9Z"},{PackIconKind.Kettle,"M12.5,3C7.81,3 4,5.69 4,9V9C4,10.19 4.5,11.34 5.44,12.33C4.53,13.5 4,14.96 4,16.5C4,17.64 4,18.83 4,20C4,21.11 4.89,22 6,22H19C20.11,22 21,21.11 21,20C21,18.85 21,17.61 21,16.5C21,15.28 20.66,14.07 20,13L22,11L19,8L16.9,10.1C15.58,9.38 14.05,9 12.5,9C10.65,9 8.95,9.53 7.55,10.41C7.19,9.97 7,9.5 7,9C7,7.21 9.46,5.75 12.5,5.75V5.75C13.93,5.75 15.3,6.08 16.33,6.67L18.35,4.65C16.77,3.59 14.68,3 12.5,3M12.5,11C12.84,11 13.17,11.04 13.5,11.09C10.39,11.57 8,14.25 8,17.5V20H6V17.5A6.5,6.5 0 0,1 12.5,11Z"},{PackIconKind.Key,"M7,14A2,2 0 0,1 5,12A2,2 0 0,1 7,10A2,2 0 0,1 9,12A2,2 0 0,1 7,14M12.65,10C11.83,7.67 9.61,6 7,6A6,6 0 0,0 1,12A6,6 0 0,0 7,18C9.61,18 11.83,16.33 12.65,14H17V18H21V14H23V10H12.65Z"},{PackIconKind.KeyChange,"M6.5,2C8.46,2 10.13,3.25 10.74,5H22V8H18V11H15V8H10.74C10.13,9.75 8.46,11 6.5,11C4,11 2,9 2,6.5C2,4 4,2 6.5,2M6.5,5A1.5,1.5 0 0,0 5,6.5A1.5,1.5 0 0,0 6.5,8A1.5,1.5 0 0,0 8,6.5A1.5,1.5 0 0,0 6.5,5M6.5,13C8.46,13 10.13,14.25 10.74,16H22V19H20V22H18V19H16V22H13V19H10.74C10.13,20.75 8.46,22 6.5,22C4,22 2,20 2,17.5C2,15 4,13 6.5,13M6.5,16A1.5,1.5 0 0,0 5,17.5A1.5,1.5 0 0,0 6.5,19A1.5,1.5 0 0,0 8,17.5A1.5,1.5 0 0,0 6.5,16Z"},{PackIconKind.KeyMinus,"M6.5,3C8.46,3 10.13,4.25 10.74,6H22V9H18V12H15V9H10.74C10.13,10.75 8.46,12 6.5,12C4,12 2,10 2,7.5C2,5 4,3 6.5,3M6.5,6A1.5,1.5 0 0,0 5,7.5A1.5,1.5 0 0,0 6.5,9A1.5,1.5 0 0,0 8,7.5A1.5,1.5 0 0,0 6.5,6M8,17H16V19H8V17Z"},{PackIconKind.KeyPlus,"M6.5,3C8.46,3 10.13,4.25 10.74,6H22V9H18V12H15V9H10.74C10.13,10.75 8.46,12 6.5,12C4,12 2,10 2,7.5C2,5 4,3 6.5,3M6.5,6A1.5,1.5 0 0,0 5,7.5A1.5,1.5 0 0,0 6.5,9A1.5,1.5 0 0,0 8,7.5A1.5,1.5 0 0,0 6.5,6M8,17H11V14H13V17H16V19H13V22H11V19H8V17Z"},{PackIconKind.KeyRemove,"M6.5,3C8.46,3 10.13,4.25 10.74,6H22V9H18V12H15V9H10.74C10.13,10.75 8.46,12 6.5,12C4,12 2,10 2,7.5C2,5 4,3 6.5,3M6.5,6A1.5,1.5 0 0,0 5,7.5A1.5,1.5 0 0,0 6.5,9A1.5,1.5 0 0,0 8,7.5A1.5,1.5 0 0,0 6.5,6M14.59,14L16,15.41L13.41,18L16,20.59L14.59,22L12,19.41L9.41,22L8,20.59L10.59,18L8,15.41L9.41,14L12,16.59L14.59,14Z"},{PackIconKind.KeyVariant,"M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z"},{PackIconKind.Keyboard,"M19,10H17V8H19M19,13H17V11H19M16,10H14V8H16M16,13H14V11H16M16,17H8V15H16M7,10H5V8H7M7,13H5V11H7M8,11H10V13H8M8,8H10V10H8M11,11H13V13H11M11,8H13V10H11M20,5H4C2.89,5 2,5.89 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7C22,5.89 21.1,5 20,5Z"},{PackIconKind.KeyboardBackspace,"M21,11H6.83L10.41,7.41L9,6L3,12L9,18L10.41,16.58L6.83,13H21V11Z"},{PackIconKind.KeyboardCaps,"M6,18H18V16H6M12,8.41L16.59,13L18,11.58L12,5.58L6,11.58L7.41,13L12,8.41Z"},{PackIconKind.KeyboardClose,"M12,23L16,19H8M19,8H17V6H19M19,11H17V9H19M16,8H14V6H16M16,11H14V9H16M16,15H8V13H16M7,8H5V6H7M7,11H5V9H7M8,9H10V11H8M8,6H10V8H8M11,9H13V11H11M11,6H13V8H11M20,3H4C2.89,3 2,3.89 2,5V15A2,2 0 0,0 4,17H20A2,2 0 0,0 22,15V5C22,3.89 21.1,3 20,3Z"},{PackIconKind.KeyboardOff,"M1,4.27L2.28,3L20,20.72L18.73,22L15.73,19H4C2.89,19 2,18.1 2,17V7C2,6.5 2.18,6.07 2.46,5.73L1,4.27M19,10V8H17V10H19M19,13V11H17V13H19M16,10V8H14V10H16M16,13V11H14V12.18L11.82,10H13V8H11V9.18L9.82,8L6.82,5H20A2,2 0 0,1 22,7V17C22,17.86 21.46,18.59 20.7,18.87L14.82,13H16M8,15V17H13.73L11.73,15H8M5,10H6.73L5,8.27V10M7,13V11H5V13H7M8,13H9.73L8,11.27V13Z"},{PackIconKind.KeyboardReturn,"M19,7V11H5.83L9.41,7.41L8,6L2,12L8,18L9.41,16.58L5.83,13H21V7H19Z"},{PackIconKind.KeyboardTab,"M20,18H22V6H20M11.59,7.41L15.17,11H1V13H15.17L11.59,16.58L13,18L19,12L13,6L11.59,7.41Z"},{PackIconKind.KeyboardVariant,"M6,16H18V18H6V16M6,13V15H2V13H6M7,15V13H10V15H7M11,15V13H13V15H11M14,15V13H17V15H14M18,15V13H22V15H18M2,10H5V12H2V10M19,12V10H22V12H19M18,12H16V10H18V12M8,12H6V10H8V12M12,12H9V10H12V12M15,12H13V10H15V12M2,9V7H4V9H2M5,9V7H7V9H5M8,9V7H10V9H8M11,9V7H13V9H11M14,9V7H16V9H14M17,9V7H22V9H17Z"},{PackIconKind.Kickstarter,"M10.21,9.13L13.5,4.35C14.13,3.45 14.94,3 15.93,3C16.73,3 17.43,3.29 18,3.86C18.61,4.43 18.9,5.11 18.9,5.91C18.9,6.5 18.75,7 18.43,7.47L15.46,11.8L19.1,16.41C19.46,16.87 19.64,17.41 19.64,18C19.64,18.84 19.36,19.54 18.78,20.12C18.21,20.71 17.5,21 16.7,21C15.81,21 15.13,20.71 14.66,20.13L10.21,14.57V17.63C10.21,18.5 10.05,19.19 9.75,19.67C9.2,20.56 8.39,21 7.33,21C6.37,21 5.63,20.68 5.1,20.03C4.6,19.43 4.36,18.63 4.36,17.65V6.27C4.36,5.34 4.61,4.57 5.11,3.96C5.64,3.32 6.37,3 7.3,3C8.18,3 8.92,3.32 9.5,3.96C9.83,4.32 10.04,4.68 10.13,5.04C10.18,5.27 10.21,5.69 10.21,6.3V9.13Z"},{PackIconKind.Kodi,"M12.03,1C11.82,1 11.6,1.11 11.41,1.31C10.56,2.16 9.72,3 8.88,3.84C8.66,4.06 8.6,4.18 8.38,4.38C8.09,4.62 7.96,4.91 7.97,5.28C8,6.57 8,7.84 8,9.13C8,10.46 8,11.82 8,13.16C8,13.26 8,13.34 8.03,13.44C8.11,13.75 8.31,13.82 8.53,13.59C9.73,12.39 10.8,11.3 12,10.09C13.36,8.73 14.73,7.37 16.09,6C16.5,5.6 16.5,5.15 16.09,4.75C14.94,3.6 13.77,2.47 12.63,1.31C12.43,1.11 12.24,1 12.03,1M18.66,7.66C18.45,7.66 18.25,7.75 18.06,7.94C16.91,9.1 15.75,10.24 14.59,11.41C14.2,11.8 14.2,12.23 14.59,12.63C15.74,13.78 16.88,14.94 18.03,16.09C18.43,16.5 18.85,16.5 19.25,16.09C20.36,15 21.5,13.87 22.59,12.75C22.76,12.58 22.93,12.42 23,12.19V11.88C22.93,11.64 22.76,11.5 22.59,11.31C21.47,10.19 20.37,9.06 19.25,7.94C19.06,7.75 18.86,7.66 18.66,7.66M4.78,8.09C4.65,8.04 4.58,8.14 4.5,8.22C3.35,9.39 2.34,10.43 1.19,11.59C0.93,11.86 0.93,12.24 1.19,12.5C1.81,13.13 2.44,13.75 3.06,14.38C3.6,14.92 4,15.33 4.56,15.88C4.72,16.03 4.86,16 4.94,15.81C5,15.71 5,15.58 5,15.47C5,14.29 5,13.37 5,12.19C5,11 5,9.81 5,8.63C5,8.55 5,8.45 4.97,8.38C4.95,8.25 4.9,8.14 4.78,8.09M12.09,14.25C11.89,14.25 11.66,14.34 11.47,14.53C10.32,15.69 9.18,16.87 8.03,18.03C7.63,18.43 7.63,18.85 8.03,19.25C9.14,20.37 10.26,21.47 11.38,22.59C11.54,22.76 11.71,22.93 11.94,23H12.22C12.44,22.94 12.62,22.79 12.78,22.63C13.9,21.5 15.03,20.38 16.16,19.25C16.55,18.85 16.5,18.4 16.13,18C14.97,16.84 13.84,15.69 12.69,14.53C12.5,14.34 12.3,14.25 12.09,14.25Z"},{PackIconKind.Label,"M17.63,5.84C17.27,5.33 16.67,5 16,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H16C16.67,19 17.27,18.66 17.63,18.15L22,12L17.63,5.84Z"},{PackIconKind.LabelOutline,"M16,17H5V7H16L19.55,12M17.63,5.84C17.27,5.33 16.67,5 16,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H16C16.67,19 17.27,18.66 17.63,18.15L22,12L17.63,5.84Z"},{PackIconKind.Ladybug,"M12,5C12.74,5 13.47,5.1 14.15,5.29L15.78,2.46C16.06,2 16.67,1.82 17.15,2.1C17.63,2.37 17.79,3 17.5,3.46L16,6.07C17.22,6.78 18.23,7.79 18.93,9H5.07C5.77,7.79 6.78,6.78 8,6.07L6.5,3.46C6.21,3 6.37,2.37 6.85,2.1C7.33,1.82 7.94,2 8.22,2.46L9.85,5.29C10.53,5.1 11.26,5 12,5M20,13C20,17.17 16.82,20.59 12.75,20.97V10.5H19.6C19.86,11.29 20,12.13 20,13M4,13C4,12.13 4.14,11.29 4.4,10.5H11.25V20.97C7.18,20.59 4,17.17 4,13Z"},{PackIconKind.Lambda,"M6,20L10.16,7.91L9.34,6H8V4H10C10.42,4 10.78,4.26 10.93,4.63L16.66,18H18V20H16C15.57,20 15.21,19.73 15.07,19.36L11.33,10.65L8.12,20H6Z"},{PackIconKind.Lamp,"M8,2H16L20,14H4L8,2M11,15H13V20H18V22H6V20H11V15Z"},{PackIconKind.Lan,"M10,2C8.89,2 8,2.89 8,4V7C8,8.11 8.89,9 10,9H11V11H2V13H6V15H5C3.89,15 3,15.89 3,17V20C3,21.11 3.89,22 5,22H9C10.11,22 11,21.11 11,20V17C11,15.89 10.11,15 9,15H8V13H16V15H15C13.89,15 13,15.89 13,17V20C13,21.11 13.89,22 15,22H19C20.11,22 21,21.11 21,20V17C21,15.89 20.11,15 19,15H18V13H22V11H13V9H14C15.11,9 16,8.11 16,7V4C16,2.89 15.11,2 14,2H10M10,4H14V7H10V4M5,17H9V20H5V17M15,17H19V20H15V17Z"},{PackIconKind.LanConnect,"M4,1C2.89,1 2,1.89 2,3V7C2,8.11 2.89,9 4,9H1V11H13V9H10C11.11,9 12,8.11 12,7V3C12,1.89 11.11,1 10,1H4M4,3H10V7H4V3M3,13V18L3,20H10V18H5V13H3M14,13C12.89,13 12,13.89 12,15V19C12,20.11 12.89,21 14,21H11V23H23V21H20C21.11,21 22,20.11 22,19V15C22,13.89 21.11,13 20,13H14M14,15H20V19H14V15Z"},{PackIconKind.LanDisconnect,"M4,1C2.89,1 2,1.89 2,3V7C2,8.11 2.89,9 4,9H1V11H13V9H10C11.11,9 12,8.11 12,7V3C12,1.89 11.11,1 10,1H4M4,3H10V7H4V3M14,13C12.89,13 12,13.89 12,15V19C12,20.11 12.89,21 14,21H11V23H23V21H20C21.11,21 22,20.11 22,19V15C22,13.89 21.11,13 20,13H14M3.88,13.46L2.46,14.88L4.59,17L2.46,19.12L3.88,20.54L6,18.41L8.12,20.54L9.54,19.12L7.41,17L9.54,14.88L8.12,13.46L6,15.59L3.88,13.46M14,15H20V19H14V15Z"},{PackIconKind.LanPending,"M4,1C2.89,1 2,1.89 2,3V7C2,8.11 2.89,9 4,9H1V11H13V9H10C11.11,9 12,8.11 12,7V3C12,1.89 11.11,1 10,1H4M4,3H10V7H4V3M3,12V14H5V12H3M14,13C12.89,13 12,13.89 12,15V19C12,20.11 12.89,21 14,21H11V23H23V21H20C21.11,21 22,20.11 22,19V15C22,13.89 21.11,13 20,13H14M3,15V17H5V15H3M14,15H20V19H14V15M3,18V20H5V18H3M6,18V20H8V18H6M9,18V20H11V18H9Z"},{PackIconKind.LanguageC,"M15.45,15.97L15.87,18.41C15.61,18.55 15.19,18.68 14.63,18.8C14.06,18.93 13.39,19 12.62,19C10.41,18.96 8.75,18.3 7.64,17.04C6.5,15.77 5.96,14.16 5.96,12.21C6,9.9 6.68,8.13 8,6.89C9.28,5.64 10.92,5 12.9,5C13.65,5 14.3,5.07 14.84,5.19C15.38,5.31 15.78,5.44 16.04,5.59L15.44,8.08L14.4,7.74C14,7.64 13.53,7.59 13,7.59C11.85,7.58 10.89,7.95 10.14,8.69C9.38,9.42 9,10.54 8.96,12.03C8.97,13.39 9.33,14.45 10.04,15.23C10.75,16 11.74,16.4 13.03,16.41L14.36,16.29C14.79,16.21 15.15,16.1 15.45,15.97Z"},{PackIconKind.LanguageCpp,"M10.5,15.97L10.91,18.41C10.65,18.55 10.23,18.68 9.67,18.8C9.1,18.93 8.43,19 7.66,19C5.45,18.96 3.79,18.3 2.68,17.04C1.56,15.77 1,14.16 1,12.21C1.05,9.9 1.72,8.13 3,6.89C4.32,5.64 5.96,5 7.94,5C8.69,5 9.34,5.07 9.88,5.19C10.42,5.31 10.82,5.44 11.08,5.59L10.5,8.08L9.44,7.74C9.04,7.64 8.58,7.59 8.05,7.59C6.89,7.58 5.93,7.95 5.18,8.69C4.42,9.42 4.03,10.54 4,12.03C4,13.39 4.37,14.45 5.08,15.23C5.79,16 6.79,16.4 8.07,16.41L9.4,16.29C9.83,16.21 10.19,16.1 10.5,15.97M11,11H13V9H15V11H17V13H15V15H13V13H11V11M18,11H20V9H22V11H24V13H22V15H20V13H18V11Z"},{PackIconKind.LanguageCsharp,"M11.5,15.97L11.91,18.41C11.65,18.55 11.23,18.68 10.67,18.8C10.1,18.93 9.43,19 8.66,19C6.45,18.96 4.79,18.3 3.68,17.04C2.56,15.77 2,14.16 2,12.21C2.05,9.9 2.72,8.13 4,6.89C5.32,5.64 6.96,5 8.94,5C9.69,5 10.34,5.07 10.88,5.19C11.42,5.31 11.82,5.44 12.08,5.59L11.5,8.08L10.44,7.74C10.04,7.64 9.58,7.59 9.05,7.59C7.89,7.58 6.93,7.95 6.18,8.69C5.42,9.42 5.03,10.54 5,12.03C5,13.39 5.37,14.45 6.08,15.23C6.79,16 7.79,16.4 9.07,16.41L10.4,16.29C10.83,16.21 11.19,16.1 11.5,15.97M13.89,19L14.5,15H13L13.34,13H14.84L15.16,11H13.66L14,9H15.5L16.11,5H18.11L17.5,9H18.5L19.11,5H21.11L20.5,9H22L21.66,11H20.16L19.84,13H21.34L21,15H19.5L18.89,19H16.89L17.5,15H16.5L15.89,19H13.89M16.84,13H17.84L18.16,11H17.16L16.84,13Z"},{PackIconKind.LanguageCss3,"M5,3L4.35,6.34H17.94L17.5,8.5H3.92L3.26,11.83H16.85L16.09,15.64L10.61,17.45L5.86,15.64L6.19,14H2.85L2.06,18L9.91,21L18.96,18L20.16,11.97L20.4,10.76L21.94,3H5Z"},{PackIconKind.LanguageGo,"M13.38,3.5C13.86,3.5 14.25,3.89 14.25,4.38C14.25,4.86 13.86,5.25 13.38,5.25C12.89,5.25 12.5,4.86 12.5,4.38C12.5,3.89 12.89,3.5 13.38,3.5M8.38,3.75C8.86,3.75 9.25,4.14 9.25,4.63C9.25,5.11 8.86,5.5 8.38,5.5C7.89,5.5 7.5,5.11 7.5,4.63C7.5,4.14 7.89,3.75 8.38,3.75M17.75,2A1.5,1.5 0 0,1 19.25,3.5C19.25,4.24 18.71,4.85 18,5L17.9,5.15C18.9,7.88 18.5,11.5 18.5,11.5C19.25,12 20.25,12.5 20,13C19.75,13.5 18.56,13 18.56,13C19,20 17.25,20.75 17.25,20.75C17.25,20.75 18.25,22 17.75,22.5C17.25,23 16,21.75 16,21.75C16,21.75 13.25,22.75 11.5,22.75C9.75,22.75 8,21.75 8,21.75C7.25,22.5 6.25,23 6,22.5C5.75,22 6.75,20.75 6.75,20.75C4.5,19.75 5.5,12.75 5.5,12.75C5.25,13 4.25,13.75 4,13C3.75,12.25 5.5,11.75 5.5,11.75C5.08,8.11 5.29,6.2 5.55,5.21C4.88,5.07 4.38,4.47 4.38,3.75A1.5,1.5 0 0,1 5.88,2.25C6.12,2.25 6.34,2.31 6.55,2.41C7.69,1.56 9.65,1 11.88,1C13.94,1 15.78,1.5 16.95,2.23C17.18,2.09 17.45,2 17.75,2M14.25,2.25A2,2 0 0,0 12.25,4.25A2,2 0 0,0 14.25,6.25A2,2 0 0,0 16.25,4.25A2,2 0 0,0 14.25,2.25M9.25,2.5A2,2 0 0,0 7.25,4.5A2,2 0 0,0 9.25,6.5A2,2 0 0,0 11.25,4.5A2,2 0 0,0 9.25,2.5M11.88,7.25C11.25,7.25 10.75,7.47 10.75,7.75C10.75,7.92 10.95,8.08 11.25,8.17V8.75A0.25,0.25 0 0,0 11.5,9H12.25A0.25,0.25 0 0,0 12.5,8.75V8.17C12.8,8.08 13,7.92 13,7.75C13,7.47 12.5,7.25 11.88,7.25Z"},{PackIconKind.LanguageHtml5,"M12,17.56L16.07,16.43L16.62,10.33H9.38L9.2,8.3H16.8L17,6.31H7L7.56,12.32H14.45L14.22,14.9L12,15.5L9.78,14.9L9.64,13.24H7.64L7.93,16.43L12,17.56M4.07,3H19.93L18.5,19.2L12,21L5.5,19.2L4.07,3Z"},{PackIconKind.LanguageJavascript,"M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z"},{PackIconKind.LanguagePhp,"M12,18.08C5.37,18.08 0,15.36 0,12C0,8.64 5.37,5.92 12,5.92C18.63,5.92 24,8.64 24,12C24,15.36 18.63,18.08 12,18.08M6.81,10.13C7.35,10.13 7.72,10.23 7.9,10.44C8.08,10.64 8.12,11 8.03,11.47C7.93,12 7.74,12.34 7.45,12.56C7.17,12.78 6.74,12.89 6.16,12.89H5.29L5.82,10.13H6.81M3.31,15.68H4.75L5.09,13.93H6.32C6.86,13.93 7.3,13.87 7.65,13.76C8,13.64 8.32,13.45 8.61,13.18C8.85,12.96 9.04,12.72 9.19,12.45C9.34,12.19 9.45,11.89 9.5,11.57C9.66,10.79 9.55,10.18 9.17,9.75C8.78,9.31 8.18,9.1 7.35,9.1H4.59L3.31,15.68M10.56,7.35L9.28,13.93H10.7L11.44,10.16H12.58C12.94,10.16 13.18,10.22 13.29,10.34C13.4,10.46 13.42,10.68 13.36,11L12.79,13.93H14.24L14.83,10.86C14.96,10.24 14.86,9.79 14.56,9.5C14.26,9.23 13.71,9.1 12.91,9.1H11.64L12,7.35H10.56M18,10.13C18.55,10.13 18.91,10.23 19.09,10.44C19.27,10.64 19.31,11 19.22,11.47C19.12,12 18.93,12.34 18.65,12.56C18.36,12.78 17.93,12.89 17.35,12.89H16.5L17,10.13H18M14.5,15.68H15.94L16.28,13.93H17.5C18.05,13.93 18.5,13.87 18.85,13.76C19.2,13.64 19.5,13.45 19.8,13.18C20.04,12.96 20.24,12.72 20.38,12.45C20.53,12.19 20.64,11.89 20.7,11.57C20.85,10.79 20.74,10.18 20.36,9.75C20,9.31 19.37,9.1 18.54,9.1H15.79L14.5,15.68Z"},{PackIconKind.LanguagePython,"M19.14,7.5A2.86,2.86 0 0,1 22,10.36V14.14A2.86,2.86 0 0,1 19.14,17H12C12,17.39 12.32,17.96 12.71,17.96H17V19.64A2.86,2.86 0 0,1 14.14,22.5H9.86A2.86,2.86 0 0,1 7,19.64V15.89C7,14.31 8.28,13.04 9.86,13.04H15.11C16.69,13.04 17.96,11.76 17.96,10.18V7.5H19.14M14.86,19.29C14.46,19.29 14.14,19.59 14.14,20.18C14.14,20.77 14.46,20.89 14.86,20.89A0.71,0.71 0 0,0 15.57,20.18C15.57,19.59 15.25,19.29 14.86,19.29M4.86,17.5C3.28,17.5 2,16.22 2,14.64V10.86C2,9.28 3.28,8 4.86,8H12C12,7.61 11.68,7.04 11.29,7.04H7V5.36C7,3.78 8.28,2.5 9.86,2.5H14.14C15.72,2.5 17,3.78 17,5.36V9.11C17,10.69 15.72,11.96 14.14,11.96H8.89C7.31,11.96 6.04,13.24 6.04,14.82V17.5H4.86M9.14,5.71C9.54,5.71 9.86,5.41 9.86,4.82C9.86,4.23 9.54,4.11 9.14,4.11C8.75,4.11 8.43,4.23 8.43,4.82C8.43,5.41 8.75,5.71 9.14,5.71Z"},{PackIconKind.LanguagePythonText,"M2,5.69C8.92,1.07 11.1,7 11.28,10.27C11.46,13.53 8.29,17.64 4.31,14.92V20.3L2,18.77V5.69M4.22,7.4V12.78C7.84,14.95 9.08,13.17 9.08,10.09C9.08,5.74 6.57,5.59 4.22,7.4M15.08,4.15C15.08,4.15 14.9,7.64 15.08,11.07C15.44,14.5 19.69,11.84 19.69,11.84V4.92L22,5.2V14.44C22,20.6 15.85,20.3 15.85,20.3L15.08,18C20.46,18 19.78,14.43 19.78,14.43C13.27,16.97 12.77,12.61 12.77,12.61V5.69L15.08,4.15Z"},{PackIconKind.LanguageR,"M12,4.29C6.5,4.29 2,7.29 2,11C2,14.28 5.56,17 10.24,17.58V19.71H13.65V17.59C14.5,17.5 15.29,17.34 16.04,17.11L17.42,19.71H21.28L18.96,15.8C20.83,14.58 22,12.87 22,11C22,7.29 17.5,4.29 12,4.29V4.29M13.53,6.91C17.73,6.91 20.83,8.31 20.83,11.5C20.83,13.21 19.91,14.41 18.41,15.15C18.32,15.1 18.24,15.05 18.19,15C17.83,14.84 17.23,14.66 17.23,14.66C17.23,14.66 20.21,14.44 20.21,11.47C20.21,8.5 17.09,8.45 17.09,8.45H10.24V15.61C7.69,14.87 5.93,13.3 5.93,11.5C5.93,8.96 9.33,6.91 13.53,6.91M13.68,10.89H15.75C15.75,10.89 16.7,10.84 16.7,11.83C16.7,12.8 15.75,12.8 15.75,12.8H13.68V10.89M13.65,15.3H14.57C14.75,15.3 14.84,15.35 15,15.5C15.13,15.6 15.27,15.79 15.39,15.96C14.84,16.03 14.26,16.06 13.65,16.06V15.3Z"},{PackIconKind.LanguageSwift,"M17.09,19.72C14.73,21.08 11.5,21.22 8.23,19.82C5.59,18.7 3.4,16.74 2,14.5C2.67,15.05 3.46,15.5 4.3,15.9C7.67,17.47 11.03,17.36 13.4,15.9C10.03,13.31 7.16,9.94 5.03,7.19C4.58,6.74 4.25,6.18 3.91,5.68C12.19,11.73 11.83,13.27 6.32,4.67C11.21,9.61 15.75,12.41 15.75,12.41C15.91,12.5 16,12.57 16.11,12.63C16.21,12.38 16.3,12.12 16.37,11.85C17.16,9 16.26,5.73 14.29,3.04C18.84,5.79 21.54,10.95 20.41,15.28C20.38,15.39 20.35,15.5 20.36,15.67C22.6,18.5 22,21.45 21.71,20.89C20.5,18.5 18.23,19.24 17.09,19.72V19.72Z"},{PackIconKind.LanguageTypescript,"M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z"},{PackIconKind.Laptop,"M4,6H20V16H4M20,18A2,2 0 0,0 22,16V6C22,4.89 21.1,4 20,4H4C2.89,4 2,4.89 2,6V16A2,2 0 0,0 4,18H0V20H24V18H20Z"},{PackIconKind.LaptopChromebook,"M20,15H4V5H20M14,18H10V17H14M22,18V3H2V18H0V20H24V18H22Z"},{PackIconKind.LaptopMac,"M12,19A1,1 0 0,1 11,18A1,1 0 0,1 12,17A1,1 0 0,1 13,18A1,1 0 0,1 12,19M4,5H20V16H4M20,18A2,2 0 0,0 22,16V5C22,3.89 21.1,3 20,3H4C2.89,3 2,3.89 2,5V16A2,2 0 0,0 4,18H0A2,2 0 0,0 2,20H22A2,2 0 0,0 24,18H20Z"},{PackIconKind.LaptopOff,"M1,4.27L2.28,3L20,20.72L18.73,22L16.73,20H0V18H4C2.89,18 2,17.1 2,16V6C2,5.78 2.04,5.57 2.1,5.37L1,4.27M4,16H12.73L4,7.27V16M20,16V6H7.82L5.82,4H20A2,2 0 0,1 22,6V16A2,2 0 0,1 20,18H24V20H21.82L17.82,16H20Z"},{PackIconKind.LaptopWindows,"M3,4H21A1,1 0 0,1 22,5V16A1,1 0 0,1 21,17H22L24,20V21H0V20L2,17H3A1,1 0 0,1 2,16V5A1,1 0 0,1 3,4M4,6V15H20V6H4Z"},{PackIconKind.Lastfm,"M18,17.93C15.92,17.92 14.81,16.9 14.04,15.09L13.82,14.6L11.92,10.23C11.29,8.69 9.72,7.64 7.96,7.64C5.57,7.64 3.63,9.59 3.63,12C3.63,14.41 5.57,16.36 7.96,16.36C9.62,16.36 11.08,15.41 11.8,14L12.57,15.81C11.5,17.15 9.82,18 7.96,18C4.67,18 2,15.32 2,12C2,8.69 4.67,6 7.96,6C10.44,6 12.45,7.34 13.47,9.7C13.54,9.89 14.54,12.24 15.42,14.24C15.96,15.5 16.42,16.31 17.91,16.36C19.38,16.41 20.39,15.5 20.39,14.37C20.39,13.26 19.62,13 18.32,12.56C16,11.79 14.79,11 14.79,9.15C14.79,7.33 16,6.12 18,6.12C19.31,6.12 20.24,6.7 20.89,7.86L19.62,8.5C19.14,7.84 18.61,7.57 17.94,7.57C17,7.57 16.33,8.23 16.33,9.1C16.33,10.34 17.43,10.53 18.97,11.03C21.04,11.71 22,12.5 22,14.42C22,16.45 20.27,17.93 18,17.93Z"},{PackIconKind.Lastpass,"M14,12A2,2 0 0,1 16,10A2,2 0 0,1 18,12A2,2 0 0,1 16,14A2,2 0 0,1 14,12M8,12A2,2 0 0,1 10,10A2,2 0 0,1 12,12A2,2 0 0,1 10,14A2,2 0 0,1 8,12M2,12A2,2 0 0,1 4,10A2,2 0 0,1 6,12A2,2 0 0,1 4,14A2,2 0 0,1 2,12M22,5H20V19H22V5Z"},{PackIconKind.Launch,"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},{PackIconKind.LavaLamp,"M10,3L8,16H16L14,3H10M11.5,5.75A0.75,0.75 0 0,1 12.25,6.5A0.75,0.75 0 0,1 11.5,7.25A0.75,0.75 0 0,1 10.75,6.5A0.75,0.75 0 0,1 11.5,5.75M12.5,8.5A1,1 0 0,1 13.5,9.5A1,1 0 0,1 12.5,10.5A1,1 0 0,1 11.5,9.5A1,1 0 0,1 12.5,8.5M11.5,12A1.5,1.5 0 0,1 13,13.5A1.5,1.5 0 0,1 11.5,15A1.5,1.5 0 0,1 10,13.5A1.5,1.5 0 0,1 11.5,12M8,17L10,19L8,21H16L14,19L16,17H8Z"},{PackIconKind.Layers,"M12,16L19.36,10.27L21,9L12,2L3,9L4.63,10.27M12,18.54L4.62,12.81L3,14.07L12,21.07L21,14.07L19.37,12.8L12,18.54Z"},{PackIconKind.LayersOff,"M3.27,1L2,2.27L6.22,6.5L3,9L4.63,10.27L12,16L14.1,14.37L15.53,15.8L12,18.54L4.63,12.81L3,14.07L12,21.07L16.95,17.22L20.73,21L22,19.73L3.27,1M19.36,10.27L21,9L12,2L9.09,4.27L16.96,12.15L19.36,10.27M19.81,15L21,14.07L19.57,12.64L18.38,13.56L19.81,15Z"},{PackIconKind.LeadPencil,"M16.84,2.73C16.45,2.73 16.07,2.88 15.77,3.17L13.65,5.29L18.95,10.6L21.07,8.5C21.67,7.89 21.67,6.94 21.07,6.36L17.9,3.17C17.6,2.88 17.22,2.73 16.84,2.73M12.94,6L4.84,14.11L7.4,14.39L7.58,16.68L9.86,16.85L10.15,19.41L18.25,11.3M4.25,15.04L2.5,21.73L9.2,19.94L8.96,17.78L6.65,17.61L6.47,15.29"},{PackIconKind.Leaf,"M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z"},{PackIconKind.LedOff,"M12,6A4,4 0 0,0 8,10V16H6V18H9V23H11V18H13V23H15V18H18V16H16V10A4,4 0 0,0 12,6Z"},{PackIconKind.LedOn,"M11,0V4H13V0H11M18.3,2.29L15.24,5.29L16.64,6.71L19.7,3.71L18.3,2.29M5.71,2.29L4.29,3.71L7.29,6.71L8.71,5.29L5.71,2.29M12,6A4,4 0 0,0 8,10V16H6V18H9V23H11V18H13V23H15V18H18V16H16V10A4,4 0 0,0 12,6M2,9V11H6V9H2M18,9V11H22V9H18Z"},{PackIconKind.LedOutline,"M12,6A4,4 0 0,0 8,10V16H6V18H9V23H11V18H13V23H15V18H18V16H16V10A4,4 0 0,0 12,6M12,8A2,2 0 0,1 14,10V15H10V10A2,2 0 0,1 12,8Z"},{PackIconKind.LedStrip,"M2.81,8.46L14.83,20.5L15.54,19.78L16.95,21.19L18.36,19.78L16.95,18.36L18.36,16.95L19.78,18.36L21.19,16.95L19.78,15.54L20.5,14.83L8.46,2.81L2.81,8.46M5.64,8.46L8.46,5.64L17.66,14.83L14.83,17.66L5.64,8.46M7.05,8.46L8.46,9.88L9.88,8.46L8.46,7.05L7.05,8.46M9.17,10.59L10.59,12L12,10.59L10.59,9.17L9.17,10.59M11.29,12.71L12.71,14.12L14.12,12.71L12.71,11.29L11.29,12.71M13.41,14.83L14.83,16.24L16.24,14.83L14.83,13.41L13.41,14.83Z"},{PackIconKind.LedVariantOff,"M12,3C10.05,3 8.43,4.4 8.08,6.25L16.82,15H18V13H16V7A4,4 0 0,0 12,3M3.28,4L2,5.27L8,11.27V13H6V15H9V21H11V15H11.73L13,16.27V21H15V18.27L18.73,22L20,20.72L15,15.72L8,8.72L3.28,4Z"},{PackIconKind.LedVariantOn,"M12,3A4,4 0 0,0 8,7V13H6V15H9V21H11V15H13V21H15V15H18V13H16V7A4,4 0 0,0 12,3Z"},{PackIconKind.LedVariantOutline,"M12,3A4,4 0 0,0 8,7V13H6V15H9V21H11V15H13V21H15V15H18V13H16V7A4,4 0 0,0 12,3M12,5A2,2 0 0,1 14,7V12H10V7A2,2 0 0,1 12,5Z"},{PackIconKind.Library,"M12,8A3,3 0 0,0 15,5A3,3 0 0,0 12,2A3,3 0 0,0 9,5A3,3 0 0,0 12,8M12,11.54C9.64,9.35 6.5,8 3,8V19C6.5,19 9.64,20.35 12,22.54C14.36,20.35 17.5,19 21,19V8C17.5,8 14.36,9.35 12,11.54Z"},{PackIconKind.LibraryBooks,"M19,7H9V5H19M15,15H9V13H15M19,11H9V9H19M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M4,6H2V20A2,2 0 0,0 4,22H18V20H4V6Z"},{PackIconKind.LibraryMusic,"M4,6H2V20A2,2 0 0,0 4,22H18V20H4M18,7H15V12.5A2.5,2.5 0 0,1 12.5,15A2.5,2.5 0 0,1 10,12.5A2.5,2.5 0 0,1 12.5,10C13.07,10 13.58,10.19 14,10.5V5H18M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2Z"},{PackIconKind.LibraryPlus,"M19,11H15V15H13V11H9V9H13V5H15V9H19M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M4,6H2V20A2,2 0 0,0 4,22H18V20H4V6Z"},{PackIconKind.Lightbulb,"M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z"},{PackIconKind.LightbulbOn,"M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z"},{PackIconKind.LightbulbOnOutline,"M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M11,18H13V15.87C14.73,15.43 16,13.86 16,12A4,4 0 0,0 12,8A4,4 0 0,0 8,12C8,13.86 9.27,15.43 11,15.87V18Z"},{PackIconKind.LightbulbOutline,"M12,2A7,7 0 0,1 19,9C19,11.38 17.81,13.47 16,14.74V17A1,1 0 0,1 15,18H9A1,1 0 0,1 8,17V14.74C6.19,13.47 5,11.38 5,9A7,7 0 0,1 12,2M9,21V20H15V21A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21M12,4A5,5 0 0,0 7,9C7,11.05 8.23,12.81 10,13.58V16H14V13.58C15.77,12.81 17,11.05 17,9A5,5 0 0,0 12,4Z"},{PackIconKind.Link,"M16,6H13V7.9H16C18.26,7.9 20.1,9.73 20.1,12A4.1,4.1 0 0,1 16,16.1H13V18H16A6,6 0 0,0 22,12C22,8.68 19.31,6 16,6M3.9,12C3.9,9.73 5.74,7.9 8,7.9H11V6H8A6,6 0 0,0 2,12A6,6 0 0,0 8,18H11V16.1H8C5.74,16.1 3.9,14.26 3.9,12M8,13H16V11H8V13Z"},{PackIconKind.LinkOff,"M2,5.27L3.28,4L20,20.72L18.73,22L14.73,18H13V16.27L9.73,13H8V11.27L5.5,8.76C4.5,9.5 3.9,10.68 3.9,12C3.9,14.26 5.74,16.1 8,16.1H11V18H8A6,6 0 0,1 2,12C2,10.16 2.83,8.5 4.14,7.41L2,5.27M16,6A6,6 0 0,1 22,12C22,14.21 20.8,16.15 19,17.19L17.6,15.77C19.07,15.15 20.1,13.7 20.1,12C20.1,9.73 18.26,7.9 16,7.9H13V6H16M8,6H11V7.9H9.72L7.82,6H8M16,11V13H14.82L12.82,11H16Z"},{PackIconKind.LinkVariant,"M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"},{PackIconKind.LinkVariantOff,"M2,5.27L3.28,4L20,20.72L18.73,22L13.9,17.17L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L12.5,15.76L10.88,14.15C10.87,14.39 10.77,14.64 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C8.12,13.77 7.63,12.37 7.72,11L2,5.27M12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.79,8.97L9.38,7.55L12.71,4.22M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.2,10.54 16.61,12.5 16.06,14.23L14.28,12.46C14.23,11.78 13.94,11.11 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z"},{PackIconKind.Linkedin,"M21,21H17V14.25C17,13.19 15.81,12.31 14.75,12.31C13.69,12.31 13,13.19 13,14.25V21H9V9H13V11C13.66,9.93 15.36,9.24 16.5,9.24C19,9.24 21,11.28 21,13.75V21M7,21H3V9H7V21M5,3A2,2 0 0,1 7,5A2,2 0 0,1 5,7A2,2 0 0,1 3,5A2,2 0 0,1 5,3Z"},{PackIconKind.LinkedinBox,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M18.5,18.5V13.2A3.26,3.26 0 0,0 15.24,9.94C14.39,9.94 13.4,10.46 12.92,11.24V10.13H10.13V18.5H12.92V13.57C12.92,12.8 13.54,12.17 14.31,12.17A1.4,1.4 0 0,1 15.71,13.57V18.5H18.5M6.88,8.56A1.68,1.68 0 0,0 8.56,6.88C8.56,5.95 7.81,5.19 6.88,5.19A1.69,1.69 0 0,0 5.19,6.88C5.19,7.81 5.95,8.56 6.88,8.56M8.27,18.5V10.13H5.5V18.5H8.27Z"},{PackIconKind.Linux,"M13.18,14.5C12.53,15.26 11.47,15.26 10.82,14.5L7.44,10.5C7.16,11.28 7,12.12 7,13C7,14.67 7.57,16.18 8.5,17.27C10,17.37 11.29,17.96 11.78,19C11.85,19 11.93,19 12.22,19C12.71,18 13.95,17.44 15.46,17.33C16.41,16.24 17,14.7 17,13C17,12.12 16.84,11.28 16.56,10.5L13.18,14.5M20,20.75C20,21.3 19.3,22 18.75,22H13.25C12.7,22 12,21.3 12,20.75C12,21.3 11.3,22 10.75,22H5.25C4.7,22 4,21.3 4,20.75C4,19.45 4.94,18.31 6.3,17.65C5.5,16.34 5,14.73 5,13C4,15 2.7,15.56 2.09,15C1.5,14.44 1.79,12.83 3.1,11.41C3.84,10.6 5,9.62 5.81,9.25C6.13,8.56 6.54,7.93 7,7.38V7A5,5 0 0,1 12,2A5,5 0 0,1 17,7V7.38C17.46,7.93 17.87,8.56 18.19,9.25C19,9.62 20.16,10.6 20.9,11.41C22.21,12.83 22.5,14.44 21.91,15C21.3,15.56 20,15 19,13C19,14.75 18.5,16.37 17.67,17.69C19.05,18.33 20,19.44 20,20.75M9.88,9C9.46,9.5 9.46,10.27 9.88,10.75L11.13,12.25C11.54,12.73 12.21,12.73 12.63,12.25L13.88,10.75C14.29,10.27 14.29,9.5 13.88,9H9.88M10,5.25C9.45,5.25 9,5.9 9,7C9,8.1 9.45,8.75 10,8.75C10.55,8.75 11,8.1 11,7C11,5.9 10.55,5.25 10,5.25M14,5.25C13.45,5.25 13,5.9 13,7C13,8.1 13.45,8.75 14,8.75C14.55,8.75 15,8.1 15,7C15,5.9 14.55,5.25 14,5.25Z"},{PackIconKind.Loading,"M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"},{PackIconKind.Lock,"M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z"},{PackIconKind.LockOpen,"M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z"},{PackIconKind.LockOpenOutline,"M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,1 10,15A2,2 0 0,1 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17Z"},{PackIconKind.LockOutline,"M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z"},{PackIconKind.LockPattern,"M7,3A4,4 0 0,1 11,7C11,8.86 9.73,10.43 8,10.87V13.13C8.37,13.22 8.72,13.37 9.04,13.56L13.56,9.04C13.2,8.44 13,7.75 13,7A4,4 0 0,1 17,3A4,4 0 0,1 21,7A4,4 0 0,1 17,11C16.26,11 15.57,10.8 15,10.45L10.45,15C10.8,15.57 11,16.26 11,17A4,4 0 0,1 7,21A4,4 0 0,1 3,17C3,15.14 4.27,13.57 6,13.13V10.87C4.27,10.43 3,8.86 3,7A4,4 0 0,1 7,3M17,13A4,4 0 0,1 21,17A4,4 0 0,1 17,21A4,4 0 0,1 13,17A4,4 0 0,1 17,13M17,15A2,2 0 0,0 15,17A2,2 0 0,0 17,19A2,2 0 0,0 19,17A2,2 0 0,0 17,15Z"},{PackIconKind.LockPlus,"M18,8H17V6A5,5 0 0,0 12,1A5,5 0 0,0 7,6V8H6A2,2 0 0,0 4,10V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V10A2,2 0 0,0 18,8M8.9,6C8.9,4.29 10.29,2.9 12,2.9C13.71,2.9 15.1,4.29 15.1,6V8H8.9V6M16,16H13V19H11V16H8V14H11V11H13V14H16V16Z"},{PackIconKind.LockReset,"M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z"},{PackIconKind.Locker,"M8,2H16A2,2 0 0,1 18,4V20A2,2 0 0,1 16,22H8A2,2 0 0,1 6,20V4A2,2 0 0,1 8,2M8,4V20H16V4H8M10,13H12V17H10V13M10,6H14V7.5H10V6M10,9H14V10.5H10V9Z"},{PackIconKind.LockerMultiple,"M3,2H21A2,2 0 0,1 23,4V20A2,2 0 0,1 21,22H3A2,2 0 0,1 1,20V4A2,2 0 0,1 3,2M13,4V20H21V4H13M3,4V20H11V4H3M5,13H7V17H5V13M5,6H9V7.5H5V6M5,9H9V10.5H5V9M15,13H17V17H15V13M15,6H19V7.5H15V6M15,9H19V10.5H15V9Z"},{PackIconKind.Login,"M10,17.25V14H3V10H10V6.75L15.25,12L10,17.25M8,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H8A2,2 0 0,1 6,20V16H8V20H17V4H8V8H6V4A2,2 0 0,1 8,2Z"},{PackIconKind.LoginVariant,"M19,3H5C3.89,3 3,3.89 3,5V9H5V5H19V19H5V15H3V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10.08,15.58L11.5,17L16.5,12L11.5,7L10.08,8.41L12.67,11H3V13H12.67L10.08,15.58Z"},{PackIconKind.Logout,"M17,17.25V14H10V10H17V6.75L22.25,12L17,17.25M13,2A2,2 0 0,1 15,4V8H13V4H4V20H13V16H15V20A2,2 0 0,1 13,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2H13Z"},{PackIconKind.LogoutVariant,"M14.08,15.59L16.67,13H7V11H16.67L14.08,8.41L15.5,7L20.5,12L15.5,17L14.08,15.59M19,3A2,2 0 0,1 21,5V9.67L19,7.67V5H5V19H19V16.33L21,14.33V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19Z"},{PackIconKind.Looks,"M12,6A11,11 0 0,0 1,17H3C3,12.04 7.04,8 12,8C16.96,8 21,12.04 21,17H23A11,11 0 0,0 12,6M12,10C8.14,10 5,13.14 5,17H7A5,5 0 0,1 12,12A5,5 0 0,1 17,17H19C19,13.14 15.86,10 12,10Z"},{PackIconKind.Loop,"M9,14V21H2V19H5.57C4,17.3 3,15 3,12.5A9.5,9.5 0 0,1 12.5,3A9.5,9.5 0 0,1 22,12.5A9.5,9.5 0 0,1 12.5,22H12V20H12.5A7.5,7.5 0 0,0 20,12.5A7.5,7.5 0 0,0 12.5,5A7.5,7.5 0 0,0 5,12.5C5,14.47 5.76,16.26 7,17.6V14H9Z"},{PackIconKind.Loupe,"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22H20A2,2 0 0,0 22,20V12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"},{PackIconKind.Lumx,"M12.35,1.75L20.13,9.53L13.77,15.89L12.35,14.47L17.3,9.53L10.94,3.16L12.35,1.75M15.89,9.53L14.47,10.94L10.23,6.7L5.28,11.65L3.87,10.23L10.23,3.87L15.89,9.53M10.23,8.11L11.65,9.53L6.7,14.47L13.06,20.84L11.65,22.25L3.87,14.47L10.23,8.11M8.11,14.47L9.53,13.06L13.77,17.3L18.72,12.35L20.13,13.77L13.77,20.13L8.11,14.47Z"},{PackIconKind.Magnet,"M3,7V13A9,9 0 0,0 12,22A9,9 0 0,0 21,13V7H17V13A5,5 0 0,1 12,18A5,5 0 0,1 7,13V7M17,5H21V2H17M3,5H7V2H3"},{PackIconKind.MagnetOn,"M3,7V13A9,9 0 0,0 12,22A9,9 0 0,0 21,13V7H17V13A5,5 0 0,1 12,18A5,5 0 0,1 7,13V7M17,5H21V2H17M3,5H7V2H3M13,1.5L9,9H11V14.5L15,7H13V1.5Z"},{PackIconKind.Magnify,"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},{PackIconKind.MagnifyMinus,"M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M5,8V10H13V8H5Z"},{PackIconKind.MagnifyMinusOutline,"M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z"},{PackIconKind.MagnifyPlus,"M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M8,5V8H5V10H8V13H10V10H13V8H10V5H8Z"},{PackIconKind.MagnifyPlusOutline,"M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z"},{PackIconKind.MailRu,"M15.45,11.91C15.34,9.7 13.7,8.37 11.72,8.37H11.64C9.35,8.37 8.09,10.17 8.09,12.21C8.09,14.5 9.62,15.95 11.63,15.95C13.88,15.95 15.35,14.3 15.46,12.36M11.65,6.39C13.18,6.39 14.62,7.07 15.67,8.13V8.13C15.67,7.62 16,7.24 16.5,7.24H16.61C17.35,7.24 17.5,7.94 17.5,8.16V16.06C17.46,16.58 18.04,16.84 18.37,16.5C19.64,15.21 21.15,9.81 17.58,6.69C14.25,3.77 9.78,4.25 7.4,5.89C4.88,7.63 3.26,11.5 4.83,15.11C6.54,19.06 11.44,20.24 14.35,19.06C15.83,18.47 16.5,20.46 15,21.11C12.66,22.1 6.23,22 3.22,16.79C1.19,13.27 1.29,7.08 6.68,3.87C10.81,1.42 16.24,2.1 19.5,5.5C22.95,9.1 22.75,15.8 19.4,18.41C17.89,19.59 15.64,18.44 15.66,16.71L15.64,16.15C14.59,17.2 13.18,17.81 11.65,17.81C8.63,17.81 6,15.15 6,12.13C6,9.08 8.63,6.39 11.65,6.39Z"},{PackIconKind.Mailbox,"M20,6H10V12H8V4H14V0H6V6H4A2,2 0 0,0 2,8V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V8A2,2 0 0,0 20,6Z"},{PackIconKind.Map,"M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z"},{PackIconKind.MapMarker,"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z"},{PackIconKind.MapMarkerCircle,"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,12.5A1.5,1.5 0 0,1 10.5,11A1.5,1.5 0 0,1 12,9.5A1.5,1.5 0 0,1 13.5,11A1.5,1.5 0 0,1 12,12.5M12,7.2C9.9,7.2 8.2,8.9 8.2,11C8.2,14 12,17.5 12,17.5C12,17.5 15.8,14 15.8,11C15.8,8.9 14.1,7.2 12,7.2Z"},{PackIconKind.MapMarkerMinus,"M9,11.5A2.5,2.5 0 0,0 11.5,9A2.5,2.5 0 0,0 9,6.5A2.5,2.5 0 0,0 6.5,9A2.5,2.5 0 0,0 9,11.5M9,2C12.86,2 16,5.13 16,9C16,14.25 9,22 9,22C9,22 2,14.25 2,9A7,7 0 0,1 9,2M15,17H23V19H15V17Z"},{PackIconKind.MapMarkerMultiple,"M14,11.5A2.5,2.5 0 0,0 16.5,9A2.5,2.5 0 0,0 14,6.5A2.5,2.5 0 0,0 11.5,9A2.5,2.5 0 0,0 14,11.5M14,2C17.86,2 21,5.13 21,9C21,14.25 14,22 14,22C14,22 7,14.25 7,9A7,7 0 0,1 14,2M5,9C5,13.5 10.08,19.66 11,20.81L10,22C10,22 3,14.25 3,9C3,5.83 5.11,3.15 8,2.29C6.16,3.94 5,6.33 5,9Z"},{PackIconKind.MapMarkerOff,"M16.37,16.1L11.75,11.47L11.64,11.36L3.27,3L2,4.27L5.18,7.45C5.06,7.95 5,8.46 5,9C5,14.25 12,22 12,22C12,22 13.67,20.15 15.37,17.65L18.73,21L20,19.72M12,6.5A2.5,2.5 0 0,1 14.5,9C14.5,9.73 14.17,10.39 13.67,10.85L17.3,14.5C18.28,12.62 19,10.68 19,9A7,7 0 0,0 12,2C10,2 8.24,2.82 6.96,4.14L10.15,7.33C10.61,6.82 11.26,6.5 12,6.5Z"},{PackIconKind.MapMarkerOutline,"M12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5M12,2A7,7 0 0,1 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M12,4A5,5 0 0,0 7,9C7,10 7,12 12,18.71C17,12 17,10 17,9A5,5 0 0,0 12,4Z"},{PackIconKind.MapMarkerPlus,"M9,11.5A2.5,2.5 0 0,0 11.5,9A2.5,2.5 0 0,0 9,6.5A2.5,2.5 0 0,0 6.5,9A2.5,2.5 0 0,0 9,11.5M9,2C12.86,2 16,5.13 16,9C16,14.25 9,22 9,22C9,22 2,14.25 2,9A7,7 0 0,1 9,2M15,17H18V14H20V17H23V19H20V22H18V19H15V17Z"},{PackIconKind.MapMarkerRadius,"M12,2C15.31,2 18,4.66 18,7.95C18,12.41 12,19 12,19C12,19 6,12.41 6,7.95C6,4.66 8.69,2 12,2M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M20,19C20,21.21 16.42,23 12,23C7.58,23 4,21.21 4,19C4,17.71 5.22,16.56 7.11,15.83L7.75,16.74C6.67,17.19 6,17.81 6,18.5C6,19.88 8.69,21 12,21C15.31,21 18,19.88 18,18.5C18,17.81 17.33,17.19 16.25,16.74L16.89,15.83C18.78,16.56 20,17.71 20,19Z"},{PackIconKind.Margin,"M14.63,6.78L12.9,5.78L18.5,2.08L18.1,8.78L16.37,7.78L8.73,21H6.42L14.63,6.78M17.5,12C19.43,12 21,13.74 21,16.5C21,19.26 19.43,21 17.5,21C15.57,21 14,19.26 14,16.5C14,13.74 15.57,12 17.5,12M17.5,14C16.67,14 16,14.84 16,16.5C16,18.16 16.67,19 17.5,19C18.33,19 19,18.16 19,16.5C19,14.84 18.33,14 17.5,14M7.5,5C9.43,5 11,6.74 11,9.5C11,12.26 9.43,14 7.5,14C5.57,14 4,12.26 4,9.5C4,6.74 5.57,5 7.5,5M7.5,7C6.67,7 6,7.84 6,9.5C6,11.16 6.67,12 7.5,12C8.33,12 9,11.16 9,9.5C9,7.84 8.33,7 7.5,7Z"},{PackIconKind.Markdown,"M2,16V8H4L7,11L10,8H12V16H10V10.83L7,13.83L4,10.83V16H2M16,8H19V12H21.5L17.5,16.5L13.5,12H16V8Z"},{PackIconKind.Marker,"M18.5,1.15C17.97,1.15 17.46,1.34 17.07,1.73L11.26,7.55L16.91,13.2L22.73,7.39C23.5,6.61 23.5,5.35 22.73,4.56L19.89,1.73C19.5,1.34 19,1.15 18.5,1.15M10.3,8.5L4.34,14.46C3.56,15.24 3.56,16.5 4.36,17.31C3.14,18.54 1.9,19.77 0.67,21H6.33L7.19,20.14C7.97,20.9 9.22,20.89 10,20.12L15.95,14.16"},{PackIconKind.MarkerCheck,"M10,16L5,11L6.41,9.58L10,13.17L17.59,5.58L19,7M19,1H5C3.89,1 3,1.89 3,3V15.93C3,16.62 3.35,17.23 3.88,17.59L12,23L20.11,17.59C20.64,17.23 21,16.62 21,15.93V3C21,1.89 20.1,1 19,1Z"},{PackIconKind.Martini,"M7.5,7L5.5,5H18.5L16.5,7M11,13V19H6V21H18V19H13V13L21,5V3H3V5L11,13Z"},{PackIconKind.MaterialUi,"M8,16.61V15.37L14,11.91V7.23L9,10.12L4,7.23V13L3,13.58L2,13V5L3.07,4.38L9,7.81L12.93,5.54L14.93,4.38L16,5V13.06L10.92,16L14.97,18.33L20,15.43V11L21,10.42L22,11V16.58L14.97,20.64L8,16.61M22,9.75L21,10.33L20,9.75V8.58L21,8L22,8.58V9.75Z"},{PackIconKind.MathCompass,"M13,4.2V3C13,2.4 12.6,2 12,2V4.2C9.8,4.6 9,5.7 9,7C9,7.8 9.3,8.5 9.8,9L4,19.9V22L6.2,20L11.6,10C11.7,10 11.9,10 12,10C13.7,10 15,8.7 15,7C15,5.7 14.2,4.6 13,4.2M12.9,7.5C12.7,7.8 12.4,8 12,8C11.4,8 11,7.6 11,7C11,6.8 11.1,6.7 11.1,6.5C11.3,6.2 11.6,6 12,6C12.6,6 13,6.4 13,7C13,7.2 12.9,7.3 12.9,7.5M20,19.9V22H20L17.8,20L13.4,11.8C14.1,11.6 14.7,11.3 15.2,10.9L20,19.9Z"},{PackIconKind.Matrix,"M2,2H6V4H4V20H6V22H2V2M20,4H18V2H22V22H18V20H20V4M9,5H10V10H11V11H8V10H9V6L8,6.5V5.5L9,5M15,13H16V18H17V19H14V18H15V14L14,14.5V13.5L15,13M9,13C10.1,13 11,14.34 11,16C11,17.66 10.1,19 9,19C7.9,19 7,17.66 7,16C7,14.34 7.9,13 9,13M9,14C8.45,14 8,14.9 8,16C8,17.1 8.45,18 9,18C9.55,18 10,17.1 10,16C10,14.9 9.55,14 9,14M15,5C16.1,5 17,6.34 17,8C17,9.66 16.1,11 15,11C13.9,11 13,9.66 13,8C13,6.34 13.9,5 15,5M15,6C14.45,6 14,6.9 14,8C14,9.1 14.45,10 15,10C15.55,10 16,9.1 16,8C16,6.9 15.55,6 15,6Z"},{PackIconKind.Maxcdn,"M20.6,6.69C19.73,5.61 18.38,5 16.9,5H2.95L4.62,8.57L2.39,19H6.05L8.28,8.57H11.4L9.17,19H12.83L15.06,8.57H16.9C17.3,8.57 17.63,8.7 17.82,8.94C18,9.17 18.07,9.5 18,9.9L16.04,19H19.69L21.5,10.65C21.78,9.21 21.46,7.76 20.6,6.69Z"},{PackIconKind.MedicalBag,"M10,3L8,5V7H5C3.85,7 3.12,8 3,9L2,19C1.88,20 2.54,21 4,21H20C21.46,21 22.12,20 22,19L21,9C20.88,8 20.06,7 19,7H16V5L14,3H10M10,5H14V7H10V5M11,10H13V13H16V15H13V18H11V15H8V13H11V10Z"},{PackIconKind.Medium,"M4.37,7.3C4.4,7.05 4.3,6.81 4.12,6.65L2.25,4.4V4.06H8.05L12.53,13.89L16.47,4.06H22V4.4L20.4,5.93C20.27,6.03 20.2,6.21 20.23,6.38V17.62C20.2,17.79 20.27,17.97 20.4,18.07L21.96,19.6V19.94H14.12V19.6L15.73,18.03C15.89,17.88 15.89,17.83 15.89,17.59V8.5L11.4,19.9H10.8L5.57,8.5V16.14C5.5,16.46 5.63,16.78 5.86,17L7.96,19.57V19.9H2V19.57L4.1,17C4.33,16.78 4.43,16.46 4.37,16.14V7.3Z"},{PackIconKind.Memory,"M17,17H7V7H17M21,11V9H19V7C19,5.89 18.1,5 17,5H15V3H13V5H11V3H9V5H7C5.89,5 5,5.89 5,7V9H3V11H5V13H3V15H5V17A2,2 0 0,0 7,19H9V21H11V19H13V21H15V19H17A2,2 0 0,0 19,17V15H21V13H19V11M13,13H11V11H13M15,9H9V15H15V9Z"},{PackIconKind.Menu,"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"},{PackIconKind.MenuDown,"M7,10L12,15L17,10H7Z"},{PackIconKind.MenuDownOutline,"M18,9V10.5L12,16.5L6,10.5V9H18M12,13.67L14.67,11H9.33L12,13.67Z"},{PackIconKind.MenuLeft,"M14,7L9,12L14,17V7Z"},{PackIconKind.MenuRight,"M10,17L15,12L10,7V17Z"},{PackIconKind.MenuUp,"M7,15L12,10L17,15H7Z"},{PackIconKind.MenuUpOutline,"M18,16V14.5L12,8.5L6,14.5V16H18M12,11.33L14.67,14H9.33L12,11.33Z"},{PackIconKind.Message,"M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.MessageAlert,"M13,10H11V6H13M13,14H11V12H13M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.MessageBulleted,"M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M8,14H6V12H8V14M8,11H6V9H8V11M8,8H6V6H8V8M15,14H10V12H15V14M18,11H10V9H18V11M18,8H10V6H18V8Z"},{PackIconKind.MessageBulletedOff,"M1.27,1.73L0,3L2,5V22L6,18H15L20.73,23.73L22,22.46L1.27,1.73M8,14H6V12H8V14M6,11V9L8,11H6M20,2H4.08L10,7.92V6H18V8H10.08L11.08,9H18V11H13.08L20.07,18C21.14,17.95 22,17.08 22,16V4A2,2 0 0,0 20,2Z"},{PackIconKind.MessageDraw,"M18,14H10.5L12.5,12H18M6,14V11.5L12.88,4.64C13.07,4.45 13.39,4.45 13.59,4.64L15.35,6.41C15.55,6.61 15.55,6.92 15.35,7.12L8.47,14M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.MessageImage,"M5,14L8.5,9.5L11,12.5L14.5,8L19,14M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.MessageOutline,"M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M20,16H6L4,18V4H20"},{PackIconKind.MessagePlus,"M20,2A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H6L2,22V4C2,2.89 2.9,2 4,2H20M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z"},{PackIconKind.MessageProcessing,"M17,11H15V9H17M13,11H11V9H13M9,11H7V9H9M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.MessageReply,"M22,4C22,2.89 21.1,2 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z"},{PackIconKind.MessageReplyText,"M18,8H6V6H18V8M18,11H6V9H18V11M18,14H6V12H18V14M22,4A2,2 0 0,0 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z"},{PackIconKind.MessageSettings,"M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M11,24H13V22H11V24M7,24H9V22H7V24M15,24H17V22H15V24Z"},{PackIconKind.MessageSettingsVariant,"M13.5,10A1.5,1.5 0 0,1 12,11.5C11.16,11.5 10.5,10.83 10.5,10A1.5,1.5 0 0,1 12,8.5A1.5,1.5 0 0,1 13.5,10M22,4V16A2,2 0 0,1 20,18H6L2,22V4A2,2 0 0,1 4,2H20A2,2 0 0,1 22,4M16.77,11.32L15.7,10.5C15.71,10.33 15.71,10.16 15.7,10C15.72,9.84 15.72,9.67 15.7,9.5L16.76,8.68C16.85,8.6 16.88,8.47 16.82,8.36L15.82,6.63C15.76,6.5 15.63,6.47 15.5,6.5L14.27,7C14,6.8 13.73,6.63 13.42,6.5L13.23,5.19C13.21,5.08 13.11,5 13,5H11C10.88,5 10.77,5.09 10.75,5.21L10.56,6.53C10.26,6.65 9.97,6.81 9.7,7L8.46,6.5C8.34,6.46 8.21,6.5 8.15,6.61L7.15,8.34C7.09,8.45 7.11,8.58 7.21,8.66L8.27,9.5C8.23,9.82 8.23,10.16 8.27,10.5L7.21,11.32C7.12,11.4 7.09,11.53 7.15,11.64L8.15,13.37C8.21,13.5 8.34,13.53 8.46,13.5L9.7,13C9.96,13.2 10.24,13.37 10.55,13.5L10.74,14.81C10.77,14.93 10.88,15 11,15H13C13.12,15 13.23,14.91 13.25,14.79L13.44,13.47C13.74,13.34 14,13.18 14.28,13L15.53,13.5C15.65,13.5 15.78,13.5 15.84,13.37L16.84,11.64C16.9,11.53 16.87,11.4 16.77,11.32Z"},{PackIconKind.MessageText,"M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M6,9H18V11H6M14,14H6V12H14M18,8H6V6H18"},{PackIconKind.MessageTextOutline,"M20,2A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H6L2,22V4C2,2.89 2.9,2 4,2H20M4,4V17.17L5.17,16H20V4H4M6,7H18V9H6V7M6,11H15V13H6V11Z"},{PackIconKind.MessageVideo,"M18,14L14,10.8V14H6V6H14V9.2L18,6M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.Meteor,"M2.8,3L19.67,18.82C19.67,18.82 20,19.27 19.58,19.71C19.17,20.15 18.63,19.77 18.63,19.77L2.8,3M7.81,4.59L20.91,16.64C20.91,16.64 21.23,17.08 20.82,17.5C20.4,17.97 19.86,17.59 19.86,17.59L7.81,4.59M4.29,8L17.39,20.03C17.39,20.03 17.71,20.47 17.3,20.91C16.88,21.36 16.34,21 16.34,21L4.29,8M12.05,5.96L21.2,14.37C21.2,14.37 21.42,14.68 21.13,15C20.85,15.3 20.47,15.03 20.47,15.03L12.05,5.96M5.45,11.91L14.6,20.33C14.6,20.33 14.82,20.64 14.54,20.95C14.25,21.26 13.87,21 13.87,21L5.45,11.91M16.38,7.92L20.55,11.74C20.55,11.74 20.66,11.88 20.5,12.03C20.38,12.17 20.19,12.05 20.19,12.05L16.38,7.92M7.56,16.1L11.74,19.91C11.74,19.91 11.85,20.06 11.7,20.2C11.56,20.35 11.37,20.22 11.37,20.22L7.56,16.1Z"},{PackIconKind.Metronome,"M12,1.75L8.57,2.67L4.06,19.53C4.03,19.68 4,19.84 4,20C4,21.11 4.89,22 6,22H18C19.11,22 20,21.11 20,20C20,19.84 19.97,19.68 19.94,19.53L18.58,14.42L17,16L17.2,17H13.41L16.25,14.16L14.84,12.75L10.59,17H6.8L10.29,4H13.71L15.17,9.43L16.8,7.79L15.43,2.67L12,1.75M11.25,5V14.75L12.75,13.25V5H11.25M19.79,7.8L16.96,10.63L16.25,9.92L14.84,11.34L17.66,14.16L19.08,12.75L18.37,12.04L21.2,9.21L19.79,7.8Z"},{PackIconKind.MetronomeTick,"M12,1.75L8.57,2.67L4.07,19.5C4.06,19.5 4,19.84 4,20C4,21.11 4.89,22 6,22H18C19.11,22 20,21.11 20,20C20,19.84 19.94,19.5 19.93,19.5L15.43,2.67L12,1.75M10.29,4H13.71L17.2,17H13V12H11V17H6.8L10.29,4M11,5V9H10V11H14V9H13V5H11Z"},{PackIconKind.MicroSd,"M8,2A2,2 0 0,0 6,4V11L4,13V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2H8M9,4H11V8H9V4M12,4H14V8H12V4M15,4H17V8H15V4Z"},{PackIconKind.Microphone,"M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z"},{PackIconKind.MicrophoneOff,"M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z"},{PackIconKind.MicrophoneOutline,"M17.3,11C17.3,14 14.76,16.1 12,16.1C9.24,16.1 6.7,14 6.7,11H5C5,14.41 7.72,17.23 11,17.72V21H13V17.72C16.28,17.23 19,14.41 19,11M10.8,4.9C10.8,4.24 11.34,3.7 12,3.7C12.66,3.7 13.2,4.24 13.2,4.9L13.19,11.1C13.19,11.76 12.66,12.3 12,12.3C11.34,12.3 10.8,11.76 10.8,11.1M12,14A3,3 0 0,0 15,11V5A3,3 0 0,0 12,2A3,3 0 0,0 9,5V11A3,3 0 0,0 12,14Z"},{PackIconKind.MicrophoneSettings,"M19,10H17.3C17.3,13 14.76,15.1 12,15.1C9.24,15.1 6.7,13 6.7,10H5C5,13.41 7.72,16.23 11,16.72V20H13V16.72C16.28,16.23 19,13.41 19,10M15,24H17V22H15M11,24H13V22H11M12,13A3,3 0 0,0 15,10V4A3,3 0 0,0 12,1A3,3 0 0,0 9,4V10A3,3 0 0,0 12,13M7,24H9V22H7V24Z"},{PackIconKind.MicrophoneVariant,"M9,3A4,4 0 0,1 13,7H5A4,4 0 0,1 9,3M11.84,9.82L11,18H10V19A2,2 0 0,0 12,21A2,2 0 0,0 14,19V14A4,4 0 0,1 18,10H20L19,11L20,12H18A2,2 0 0,0 16,14V19A4,4 0 0,1 12,23A4,4 0 0,1 8,19V18H7L6.16,9.82C5.67,9.32 5.31,8.7 5.13,8H12.87C12.69,8.7 12.33,9.32 11.84,9.82M9,11A1,1 0 0,0 8,12A1,1 0 0,0 9,13A1,1 0 0,0 10,12A1,1 0 0,0 9,11Z"},{PackIconKind.MicrophoneVariantOff,"M2,5.27L3.28,4L20,20.72L18.73,22L16,19.26C15.86,21.35 14.12,23 12,23A4,4 0 0,1 8,19V18H7L6.16,9.82C5.82,9.47 5.53,9.06 5.33,8.6L2,5.27M9,3A4,4 0 0,1 13,7H8.82L6.08,4.26C6.81,3.5 7.85,3 9,3M11.84,9.82L11.82,10L9.82,8H12.87C12.69,8.7 12.33,9.32 11.84,9.82M11,18H10V19A2,2 0 0,0 12,21A2,2 0 0,0 14,19V17.27L11.35,14.62L11,18M18,10H20L19,11L20,12H18A2,2 0 0,0 16,14V14.18L14.3,12.5C14.9,11 16.33,10 18,10M8,12A1,1 0 0,0 9,13C9.21,13 9.4,12.94 9.56,12.83L8.17,11.44C8.06,11.6 8,11.79 8,12Z"},{PackIconKind.Microscope,"M9.46,6.28L11.05,9C8.47,9.26 6.5,11.41 6.5,14A5,5 0 0,0 11.5,19C13.55,19 15.31,17.77 16.08,16H13.5V14H21.5V16H19.25C18.84,17.57 17.97,18.96 16.79,20H19.5V22H3.5V20H6.21C4.55,18.53 3.5,16.39 3.5,14C3.5,10.37 5.96,7.2 9.46,6.28M12.74,2.07L13.5,3.37L14.36,2.87L17.86,8.93L14.39,10.93L10.89,4.87L11.76,4.37L11,3.07L12.74,2.07Z"},{PackIconKind.Microsoft,"M2,3H11V12H2V3M11,22H2V13H11V22M21,3V12H12V3H21M21,22H12V13H21V22Z"},{PackIconKind.Minecraft,"M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M6,6V10H10V12H8V18H10V16H14V18H16V12H14V10H18V6H14V10H10V6H6Z"},{PackIconKind.Minus,"M19,13H5V11H19V13Z"},{PackIconKind.MinusBox,"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.MinusBoxOutline,"M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M17,11V13H7V11H17Z"},{PackIconKind.MinusCircle,"M17,13H7V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.MinusCircleOutline,"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"},{PackIconKind.MinusNetwork,"M16,11V9H8V11H16M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17Z"},{PackIconKind.Mixcloud,"M21.11,18.5C20.97,18.5 20.83,18.44 20.71,18.36C20.37,18.13 20.28,17.68 20.5,17.34C21.18,16.34 21.54,15.16 21.54,13.93C21.54,12.71 21.18,11.53 20.5,10.5C20.28,10.18 20.37,9.73 20.71,9.5C21.04,9.28 21.5,9.37 21.72,9.7C22.56,10.95 23,12.41 23,13.93C23,15.45 22.56,16.91 21.72,18.16C21.58,18.37 21.35,18.5 21.11,18.5M19,17.29C18.88,17.29 18.74,17.25 18.61,17.17C18.28,16.94 18.19,16.5 18.42,16.15C18.86,15.5 19.1,14.73 19.1,13.93C19.1,13.14 18.86,12.37 18.42,11.71C18.19,11.37 18.28,10.92 18.61,10.69C18.95,10.47 19.4,10.55 19.63,10.89C20.24,11.79 20.56,12.84 20.56,13.93C20.56,15 20.24,16.07 19.63,16.97C19.5,17.18 19.25,17.29 19,17.29M14.9,15.73C15.89,15.73 16.7,14.92 16.7,13.93C16.7,13.17 16.22,12.5 15.55,12.25C15.5,12.55 15.43,12.85 15.34,13.14C15.23,13.44 14.95,13.64 14.64,13.64C14.57,13.64 14.5,13.62 14.41,13.6C14.03,13.47 13.82,13.06 13.95,12.67C14.09,12.24 14.17,11.78 14.17,11.32C14.17,8.93 12.22,7 9.82,7C8.1,7 6.56,8 5.87,9.5C6.54,9.7 7.16,10.04 7.66,10.54C7.95,10.83 7.95,11.29 7.66,11.58C7.38,11.86 6.91,11.86 6.63,11.58C6.17,11.12 5.56,10.86 4.9,10.86C3.56,10.86 2.46,11.96 2.46,13.3C2.46,14.64 3.56,15.73 4.9,15.73H14.9M15.6,10.75C17.06,11.07 18.17,12.37 18.17,13.93C18.17,15.73 16.7,17.19 14.9,17.19H4.9C2.75,17.19 1,15.45 1,13.3C1,11.34 2.45,9.73 4.33,9.45C5.12,7.12 7.33,5.5 9.82,5.5C12.83,5.5 15.31,7.82 15.6,10.75Z"},{PackIconKind.Mixer,"M5.68,3.96L11.41,11.65C11.55,11.84 11.55,12.1 11.41,12.29L5.65,20L5.5,20.18C4.76,21 3.47,21.07 2.64,20.31C1.85,19.59 1.79,18.37 2.43,17.5L6.56,11.97L2.46,6.47C1.83,5.62 1.88,4.39 2.67,3.67L2.82,3.54C3.73,2.87 5,3.05 5.68,3.96M18.32,3.96C19,3.05 20.27,2.87 21.18,3.54L21.33,3.67C22.12,4.39 22.17,5.61 21.54,6.47L17.44,11.97L21.57,17.5C22.21,18.36 22.15,19.59 21.36,20.31C20.53,21.07 19.24,21 18.5,20.18L18.35,20L12.59,12.29C12.45,12.1 12.45,11.84 12.59,11.65L18.32,3.96Z"},{PackIconKind.Monitor,"M21,16H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10V20H8V22H16V20H14V18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z"},{PackIconKind.MonitorMultiple,"M22,17V7H6V17H22M22,5A2,2 0 0,1 24,7V17C24,18.11 23.1,19 22,19H16V21H18V23H10V21H12V19H6C4.89,19 4,18.11 4,17V7A2,2 0 0,1 6,5H22M2,3V15H0V3A2,2 0 0,1 2,1H20V3H2Z"},{PackIconKind.More,"M19,13.5A1.5,1.5 0 0,1 17.5,12A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 20.5,12A1.5,1.5 0 0,1 19,13.5M14,13.5A1.5,1.5 0 0,1 12.5,12A1.5,1.5 0 0,1 14,10.5A1.5,1.5 0 0,1 15.5,12A1.5,1.5 0 0,1 14,13.5M9,13.5A1.5,1.5 0 0,1 7.5,12A1.5,1.5 0 0,1 9,10.5A1.5,1.5 0 0,1 10.5,12A1.5,1.5 0 0,1 9,13.5M22,3H7C6.31,3 5.77,3.35 5.41,3.88L0,12L5.41,20.11C5.77,20.64 6.37,21 7.06,21H22A2,2 0 0,0 24,19V5C24,3.89 23.1,3 22,3Z"},{PackIconKind.Motorbike,"M16.36,4.27H18.55V2.13H16.36V1.07H18.22C17.89,0.43 17.13,0 16.36,0C15.16,0 14.18,0.96 14.18,2.13C14.18,3.31 15.16,4.27 16.36,4.27M10.04,9.39L13,6.93L17.45,9.6H10.25M19.53,12.05L21.05,10.56C21.93,9.71 21.93,8.43 21.05,7.57L19.2,9.39L13.96,4.27C13.64,3.73 13,3.41 12.33,3.41C11.78,3.41 11.35,3.63 11,3.95L7,7.89C6.65,8.21 6.44,8.64 6.44,9.17V9.71H5.13C4.04,9.71 3.16,10.67 3.16,11.84V12.27C3.5,12.16 3.93,12.16 4.25,12.16C7.09,12.16 9.5,14.4 9.5,17.28C9.5,17.6 9.5,18.03 9.38,18.35H14.5C14.4,18.03 14.4,17.6 14.4,17.28C14.4,14.29 16.69,12.05 19.53,12.05M4.36,19.73C2.84,19.73 1.64,18.56 1.64,17.07C1.64,15.57 2.84,14.4 4.36,14.4C5.89,14.4 7.09,15.57 7.09,17.07C7.09,18.56 5.89,19.73 4.36,19.73M4.36,12.8C1.96,12.8 0,14.72 0,17.07C0,19.41 1.96,21.33 4.36,21.33C6.76,21.33 8.73,19.41 8.73,17.07C8.73,14.72 6.76,12.8 4.36,12.8M19.64,19.73C18.11,19.73 16.91,18.56 16.91,17.07C16.91,15.57 18.11,14.4 19.64,14.4C21.16,14.4 22.36,15.57 22.36,17.07C22.36,18.56 21.16,19.73 19.64,19.73M19.64,12.8C17.24,12.8 15.27,14.72 15.27,17.07C15.27,19.41 17.24,21.33 19.64,21.33C22.04,21.33 24,19.41 24,17.07C24,14.72 22.04,12.8 19.64,12.8Z"},{PackIconKind.Mouse,"M11,1.07C7.05,1.56 4,4.92 4,9H11M4,15A8,8 0 0,0 12,23A8,8 0 0,0 20,15V11H4M13,1.07V9H20C20,4.92 16.94,1.56 13,1.07Z"},{PackIconKind.MouseOff,"M2,5.27L3.28,4L20,20.72L18.73,22L17.5,20.79C16.08,22.16 14.14,23 12,23A8,8 0 0,1 4,15V11H7.73L5.73,9H4C4,8.46 4.05,7.93 4.15,7.42L2,5.27M11,1.07V9H10.82L5.79,3.96C7.05,2.4 8.9,1.33 11,1.07M20,11V15C20,15.95 19.83,16.86 19.53,17.71L12.82,11H20M13,1.07C16.94,1.56 20,4.92 20,9H13V1.07Z"},{PackIconKind.MouseVariant,"M14,7H10V2.1C12.28,2.56 14,4.58 14,7M4,7C4,4.58 5.72,2.56 8,2.1V7H4M14,12C14,14.42 12.28,16.44 10,16.9V18A3,3 0 0,0 13,21A3,3 0 0,0 16,18V13A4,4 0 0,1 20,9H22L21,10L22,11H20A2,2 0 0,0 18,13H18V18A5,5 0 0,1 13,23A5,5 0 0,1 8,18V16.9C5.72,16.44 4,14.42 4,12V9H14V12Z"},{PackIconKind.MouseVariantOff,"M2,5.27L3.28,4L20,20.72L18.73,22L17.29,20.56C16.42,22 14.82,23 13,23A5,5 0 0,1 8,18V16.9C5.72,16.44 4,14.42 4,12V9H5.73L2,5.27M14,7H10V2.1C12.28,2.56 14,4.58 14,7M8,2.1V6.18L5.38,3.55C6.07,2.83 7,2.31 8,2.1M14,12V12.17L10.82,9H14V12M10,16.9V18A3,3 0 0,0 13,21C14.28,21 15.37,20.2 15.8,19.07L12.4,15.67C11.74,16.28 10.92,16.71 10,16.9M16,13A4,4 0 0,1 20,9H22L21,10L22,11H20A2,2 0 0,0 18,13V16.18L16,14.18V13Z"},{PackIconKind.MoveResize,"M9,1V2H10V5H9V6H12V5H11V2H12V1M9,7C7.89,7 7,7.89 7,9V21C7,22.11 7.89,23 9,23H21C22.11,23 23,22.11 23,21V9C23,7.89 22.11,7 21,7M1,9V12H2V11H5V12H6V9H5V10H2V9M9,9H21V21H9M14,10V11H15V16H11V15H10V18H11V17H15V19H14V20H17V19H16V17H19V18H20V15H19V16H16V11H17V10"},{PackIconKind.MoveResizeVariant,"M1.88,0.46L0.46,1.88L5.59,7H2V9H9V2H7V5.59M11,7V9H21V15H23V9A2,2 0 0,0 21,7M7,11V21A2,2 0 0,0 9,23H15V21H9V11M15.88,14.46L14.46,15.88L19.6,21H17V23H23V17H21V19.59"},{PackIconKind.Movie,"M18,4L20,8H17L15,4H13L15,8H12L10,4H8L10,8H7L5,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V4H18Z"},{PackIconKind.MovieRoll,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A2.5,2.5 0 0,0 9.5,6.5A2.5,2.5 0 0,0 12,9A2.5,2.5 0 0,0 14.5,6.5A2.5,2.5 0 0,0 12,4M4.4,9.53C3.97,10.84 4.69,12.25 6,12.68C7.32,13.1 8.73,12.39 9.15,11.07C9.58,9.76 8.86,8.35 7.55,7.92C6.24,7.5 4.82,8.21 4.4,9.53M19.61,9.5C19.18,8.21 17.77,7.5 16.46,7.92C15.14,8.34 14.42,9.75 14.85,11.07C15.28,12.38 16.69,13.1 18,12.67C19.31,12.25 20.03,10.83 19.61,9.5M7.31,18.46C8.42,19.28 10,19.03 10.8,17.91C11.61,16.79 11.36,15.23 10.24,14.42C9.13,13.61 7.56,13.86 6.75,14.97C5.94,16.09 6.19,17.65 7.31,18.46M16.7,18.46C17.82,17.65 18.07,16.09 17.26,14.97C16.45,13.85 14.88,13.6 13.77,14.42C12.65,15.23 12.4,16.79 13.21,17.91C14,19.03 15.59,19.27 16.7,18.46M12,10.5A1.5,1.5 0 0,0 10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5Z"},{PackIconKind.Multiplication,"M11,3H13V10.27L19.29,6.64L20.29,8.37L14,12L20.3,15.64L19.3,17.37L13,13.72V21H11V13.73L4.69,17.36L3.69,15.63L10,12L3.72,8.36L4.72,6.63L11,10.26V3Z"},{PackIconKind.MultiplicationBox,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M11,17H13V13.73L15.83,15.36L16.83,13.63L14,12L16.83,10.36L15.83,8.63L13,10.27V7H11V10.27L8.17,8.63L7.17,10.36L10,12L7.17,13.63L8.17,15.36L11,13.73V17Z"},{PackIconKind.Mushroom,"M12,2A10,10 0 0,1 22,12A2,2 0 0,1 20,14H4A2,2 0 0,1 2,12A10,10 0 0,1 12,2M12,8A2,2 0 0,0 14,6A2,2 0 0,0 12,4A2,2 0 0,0 10,6A2,2 0 0,0 12,8M17,12A2,2 0 0,0 19,10A2,2 0 0,0 17,8A2,2 0 0,0 15,10A2,2 0 0,0 17,12M7,12A2,2 0 0,0 9,10A2,2 0 0,0 7,8A2,2 0 0,0 5,10A2,2 0 0,0 7,12M15,15L16.27,19.45L16.35,20C16.35,21.1 15.45,22 14.35,22H9.65A2,2 0 0,1 7.65,20L7.73,19.45L9,15H15Z"},{PackIconKind.MushroomOutline,"M4,12H20C20,8.27 17.44,5.13 14,4.25C13.86,5.24 13,6 12,6C11,6 10.14,5.24 10,4.25C6.56,5.13 4,8.27 4,12M12,2A10,10 0 0,1 22,12A2,2 0 0,1 20,14H4A2,2 0 0,1 2,12A10,10 0 0,1 12,2M13.5,17H10.5L9.92,19L9.65,20H14.35L14.08,19L13.5,17M15,15L16,18.5L16.27,19.45L16.35,20C16.35,21.1 15.45,22 14.35,22H9.65L9.17,21.94C8.1,21.66 7.45,20.57 7.73,19.5L8,18.5L9,15H15M16,7A2,2 0 0,1 18,9A2,2 0 0,1 16,11A2,2 0 0,1 14,9A2,2 0 0,1 16,7M8,7A2,2 0 0,1 10,9A2,2 0 0,1 8,11A2,2 0 0,1 6,9A2,2 0 0,1 8,7Z"},{PackIconKind.Music,"M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z"},{PackIconKind.MusicBox,"M16,9H13V14.5A2.5,2.5 0 0,1 10.5,17A2.5,2.5 0 0,1 8,14.5A2.5,2.5 0 0,1 10.5,12C11.07,12 11.58,12.19 12,12.5V7H16M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.MusicBoxOutline,"M16,9H13V14.5A2.5,2.5 0 0,1 10.5,17A2.5,2.5 0 0,1 8,14.5A2.5,2.5 0 0,1 10.5,12C11.07,12 11.58,12.19 12,12.5V7H16V9M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M5,5V19H19V5H5Z"},{PackIconKind.MusicCircle,"M16,9V7H12V12.5C11.58,12.19 11.07,12 10.5,12A2.5,2.5 0 0,0 8,14.5A2.5,2.5 0 0,0 10.5,17A2.5,2.5 0 0,0 13,14.5V9H16M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2Z"},{PackIconKind.MusicNote,"M12,3V12.26C11.5,12.09 11,12 10.5,12C8,12 6,14 6,16.5C6,19 8,21 10.5,21C13,21 15,19 15,16.5V6H19V3H12Z"},{PackIconKind.MusicNoteBluetooth,"M10,3V12.26C9.5,12.09 9,12 8.5,12C6,12 4,14 4,16.5C4,19 6,21 8.5,21C11,21 13,19 13,16.5V6H17V3H10M20,7V10.79L17.71,8.5L17,9.21L19.79,12L17,14.79L17.71,15.5L20,13.21V17H20.5L23.35,14.15L21.21,12L23.36,9.85L20.5,7H20M21,8.91L21.94,9.85L21,10.79V8.91M21,13.21L21.94,14.15L21,15.09V13.21Z"},{PackIconKind.MusicNoteBluetoothOff,"M10,3V8.68L13,11.68V6H17V3H10M3.28,4.5L2,5.77L8.26,12.03C5.89,12.15 4,14.1 4,16.5C4,19 6,21 8.5,21C10.9,21 12.85,19.11 12.97,16.74L17.68,21.45L18.96,20.18L13,14.22L10,11.22L3.28,4.5M20,7V10.79L17.71,8.5L17,9.21L19.79,12L17,14.79L17.71,15.5L20,13.21V17H20.5L23.35,14.15L21.21,12L23.36,9.85L20.5,7H20M21,8.91L21.94,9.85L21,10.79V8.91M21,13.21L21.94,14.15L21,15.09V13.21Z"},{PackIconKind.MusicNoteEighth,"M12,3V12.26C11.5,12.09 11,12 10.5,12C8.54,12 6.9,13.26 6.28,15H3V18H6.28C6.9,19.74 8.54,21 10.5,21C12.46,21 14.1,19.74 14.72,18H19V15H15V6H19V3H12Z"},{PackIconKind.MusicNoteHalf,"M12,3V12.26C11.5,12.09 11,12 10.5,12C8.54,12 6.9,13.26 6.28,15H3V18H6.28C6.9,19.74 8.54,21 10.5,21C12.46,21 14.1,19.74 14.72,18H19V15H15V9L15,6V3H12M10.5,14.5A2,2 0 0,1 12.5,16.5A2,2 0 0,1 10.5,18.5A2,2 0 0,1 8.5,16.5A2,2 0 0,1 10.5,14.5Z"},{PackIconKind.MusicNoteOff,"M12,3V8.68L15,11.68V6H19V3H12M5.28,4.5L4,5.77L10.26,12.03C7.89,12.15 6,14.1 6,16.5C6,19 8,21 10.5,21C12.9,21 14.85,19.11 14.97,16.74L19.68,21.45L20.96,20.18L15,14.22L12,11.22L5.28,4.5Z"},{PackIconKind.MusicNoteQuarter,"M12,3H15V15H19V18H14.72C14.1,19.74 12.46,21 10.5,21C8.54,21 6.9,19.74 6.28,18H3V15H6.28C6.9,13.26 8.54,12 10.5,12C11,12 11.5,12.09 12,12.26V3Z"},{PackIconKind.MusicNoteSixteenth,"M12,3V12.26C11.5,12.09 11,12 10.5,12C8.54,12 6.9,13.26 6.28,15H3V18H6.28C6.9,19.74 8.54,21 10.5,21C12.46,21 14.1,19.74 14.72,18H19V15H15V10H19V7H15V6H19V3H12Z"},{PackIconKind.MusicNoteWhole,"M10.5,12C8.6,12 6.9,13.2 6.26,15H3V18H6.26C6.9,19.8 8.6,21 10.5,21C12.4,21 14.1,19.8 14.74,18H19V15H14.74C14.1,13.2 12.4,12 10.5,12M10.5,14.5A2,2 0 0,1 12.5,16.5A2,2 0 0,1 10.5,18.5A2,2 0 0,1 8.5,16.5A2,2 0 0,1 10.5,14.5Z"},{PackIconKind.MusicOff,"M2,5.27L3.28,4L20,20.72L18.73,22L9,12.27V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V10.27L2,5.27M21,3V15.5C21,16.5 20.57,17.42 19.88,18.06L14.94,13.12C15.58,12.43 16.5,12 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L10.17,8.35L7.66,5.84L21,3Z"},{PackIconKind.Nature,"M13,16.12C16.47,15.71 19.17,12.76 19.17,9.17C19.17,5.3 16.04,2.17 12.17,2.17A7,7 0 0,0 5.17,9.17C5.17,12.64 7.69,15.5 11,16.06V20H5V22H19V20H13V16.12Z"},{PackIconKind.NaturePeople,"M4.5,11A1.5,1.5 0 0,0 6,9.5A1.5,1.5 0 0,0 4.5,8A1.5,1.5 0 0,0 3,9.5A1.5,1.5 0 0,0 4.5,11M22.17,9.17C22.17,5.3 19.04,2.17 15.17,2.17A7,7 0 0,0 8.17,9.17C8.17,12.64 10.69,15.5 14,16.06V20H6V17H7V13A1,1 0 0,0 6,12H3A1,1 0 0,0 2,13V17H3V22H19V20H16V16.12C19.47,15.71 22.17,12.76 22.17,9.17Z"},{PackIconKind.Navigation,"M12,2L4.5,20.29L5.21,21L12,18L18.79,21L19.5,20.29L12,2Z"},{PackIconKind.NearMe,"M21,3L3,10.53V11.5L9.84,14.16L12.5,21H13.46L21,3Z"},{PackIconKind.Needle,"M11.15,15.18L9.73,13.77L11.15,12.35L12.56,13.77L13.97,12.35L12.56,10.94L13.97,9.53L15.39,10.94L16.8,9.53L13.97,6.7L6.9,13.77L9.73,16.6L11.15,15.18M3.08,19L6.2,15.89L4.08,13.77L13.97,3.87L16.1,6L17.5,4.58L16.1,3.16L17.5,1.75L21.75,6L20.34,7.4L18.92,6L17.5,7.4L19.63,9.53L9.73,19.42L7.61,17.3L3.08,21.84V19Z"},{PackIconKind.NestProtect,"M12,18A6,6 0 0,0 18,12C18,8.68 15.31,6 12,6C8.68,6 6,8.68 6,12A6,6 0 0,0 12,18M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12Z"},{PackIconKind.NestThermostat,"M16.95,16.95L14.83,14.83C15.55,14.1 16,13.1 16,12C16,11.26 15.79,10.57 15.43,10L17.6,7.81C18.5,9 19,10.43 19,12C19,13.93 18.22,15.68 16.95,16.95M12,5C13.57,5 15,5.5 16.19,6.4L14,8.56C13.43,8.21 12.74,8 12,8A4,4 0 0,0 8,12C8,13.1 8.45,14.1 9.17,14.83L7.05,16.95C5.78,15.68 5,13.93 5,12A7,7 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"},{PackIconKind.Netflix,"M6.5,2H10.5L13.44,10.83L13.5,2H17.5V22C16.25,21.78 14.87,21.64 13.41,21.58L10.5,13L10.43,21.59C9.03,21.65 7.7,21.79 6.5,22V2Z"},{PackIconKind.Network,"M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17Z"},{PackIconKind.NewBox,"M20,4C21.11,4 22,4.89 22,6V18C22,19.11 21.11,20 20,20H4C2.89,20 2,19.11 2,18V6C2,4.89 2.89,4 4,4H20M8.5,15V9H7.25V12.5L4.75,9H3.5V15H4.75V11.5L7.3,15H8.5M13.5,10.26V9H9.5V15H13.5V13.75H11V12.64H13.5V11.38H11V10.26H13.5M20.5,14V9H19.25V13.5H18.13V10H16.88V13.5H15.75V9H14.5V14A1,1 0 0,0 15.5,15H19.5A1,1 0 0,0 20.5,14Z"},{PackIconKind.Newspaper,"M20,11H4V8H20M20,15H13V13H20M20,19H13V17H20M11,19H4V13H11M20.33,4.67L18.67,3L17,4.67L15.33,3L13.67,4.67L12,3L10.33,4.67L8.67,3L7,4.67L5.33,3L3.67,4.67L2,3V19A2,2 0 0,0 4,21H20A2,2 0 0,0 22,19V3L20.33,4.67Z"},{PackIconKind.Nfc,"M10.59,7.66C10.59,7.66 11.19,7.39 11.57,7.82C11.95,8.26 12.92,9.94 12.92,11.62C12.92,13.3 12.5,15.09 12.05,15.68C11.62,16.28 11.19,16.28 10.86,16.06C10.54,15.85 5.5,12 5.23,11.89C4.95,11.78 4.85,12.05 5.12,13.5C5.39,15 4.95,15.41 4.57,15.47C4.2,15.5 3.06,15.2 3,12.16C2.95,9.13 3.76,8.64 4.14,8.64C4.85,8.64 10.27,13.5 10.64,13.46C10.97,13.41 11.13,11.35 10.5,9.72C9.78,7.96 10.59,7.66 10.59,7.66M19.3,4.63C21.12,8.24 21,11.66 21,12C21,12.34 21.12,15.76 19.3,19.37C19.3,19.37 18.83,19.92 18.12,19.59C17.42,19.26 17.66,18.4 17.66,18.4C17.66,18.4 19.14,15.55 19.1,12.05V12C19.14,8.5 17.66,5.6 17.66,5.6C17.66,5.6 17.42,4.74 18.12,4.41C18.83,4.08 19.3,4.63 19.3,4.63M15.77,6.25C17.26,8.96 17.16,11.66 17.14,12C17.16,12.34 17.26,14.92 15.77,17.85C15.77,17.85 15.3,18.4 14.59,18.07C13.89,17.74 14.13,16.88 14.13,16.88C14.13,16.88 15.09,15.5 15.24,12.05V12C15.14,8.53 14.13,7.23 14.13,7.23C14.13,7.23 13.89,6.36 14.59,6.04C15.3,5.71 15.77,6.25 15.77,6.25Z"},{PackIconKind.NfcTap,"M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M4,4H11A2,2 0 0,1 13,6V9H11V6H4V11H6V9L9,12L6,15V13H4A2,2 0 0,1 2,11V6A2,2 0 0,1 4,4M20,20H13A2,2 0 0,1 11,18V15H13V18H20V13H18V15L15,12L18,9V11H20A2,2 0 0,1 22,13V18A2,2 0 0,1 20,20Z"},{PackIconKind.NfcVariant,"M18,6H13A2,2 0 0,0 11,8V10.28C10.41,10.62 10,11.26 10,12A2,2 0 0,0 12,14C13.11,14 14,13.1 14,12C14,11.26 13.6,10.62 13,10.28V8H16V16H8V8H10V6H8L6,6V18H18M20,20H4V4H20M20,2H4A2,2 0 0,0 2,4V20A2,2 0 0,0 4,22H20C21.11,22 22,21.1 22,20V4C22,2.89 21.11,2 20,2Z"},{PackIconKind.Ninja,"M7.75,13C7.74,12.65 7.9,12.31 8.17,12.08C8.92,12.24 9.62,12.55 10.25,13C10.25,13.68 9.69,14.24 9,14.24C8.31,14.24 7.76,13.69 7.75,13M13.75,13C14.38,12.56 15.08,12.25 15.83,12.09C16.1,12.32 16.26,12.66 16.25,13C16.25,13.7 15.69,14.26 15,14.26C14.31,14.26 13.75,13.7 13.75,13V13M12,9C9.23,8.96 6.5,9.65 4.07,11L4,12C4,13.23 4.29,14.44 4.84,15.54C7.21,15.18 9.6,15 12,15C14.4,15 16.79,15.18 19.16,15.54C19.71,14.44 20,13.23 20,12L19.93,11C17.5,9.65 14.77,8.96 12,9M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2Z"},{PackIconKind.NintendoSwitch,"M10.04,20.4H7.12C6.19,20.4 5.3,20 4.64,19.36C4,18.7 3.6,17.81 3.6,16.88V7.12C3.6,6.19 4,5.3 4.64,4.64C5.3,4 6.19,3.62 7.12,3.62H10.04V20.4M7.12,2A5.12,5.12 0 0,0 2,7.12V16.88C2,19.71 4.29,22 7.12,22H11.65V2H7.12M5.11,8C5.11,9.04 5.95,9.88 7,9.88C8.03,9.88 8.87,9.04 8.87,8C8.87,6.96 8.03,6.12 7,6.12C5.95,6.12 5.11,6.96 5.11,8M17.61,11C18.72,11 19.62,11.89 19.62,13C19.62,14.12 18.72,15 17.61,15C16.5,15 15.58,14.12 15.58,13C15.58,11.89 16.5,11 17.61,11M16.88,22A5.12,5.12 0 0,0 22,16.88V7.12C22,4.29 19.71,2 16.88,2H13.65V22H16.88Z"},{PackIconKind.Nodejs,"M12,1.85C11.73,1.85 11.45,1.92 11.22,2.05L3.78,6.35C3.3,6.63 3,7.15 3,7.71V16.29C3,16.85 3.3,17.37 3.78,17.65L5.73,18.77C6.68,19.23 7,19.24 7.44,19.24C8.84,19.24 9.65,18.39 9.65,16.91V8.44C9.65,8.32 9.55,8.22 9.43,8.22H8.5C8.37,8.22 8.27,8.32 8.27,8.44V16.91C8.27,17.57 7.59,18.22 6.5,17.67L4.45,16.5C4.38,16.45 4.34,16.37 4.34,16.29V7.71C4.34,7.62 4.38,7.54 4.45,7.5L11.89,3.21C11.95,3.17 12.05,3.17 12.11,3.21L19.55,7.5C19.62,7.54 19.66,7.62 19.66,7.71V16.29C19.66,16.37 19.62,16.45 19.55,16.5L12.11,20.79C12.05,20.83 11.95,20.83 11.88,20.79L10,19.65C9.92,19.62 9.84,19.61 9.79,19.64C9.26,19.94 9.16,20 8.67,20.15C8.55,20.19 8.36,20.26 8.74,20.47L11.22,21.94C11.46,22.08 11.72,22.15 12,22.15C12.28,22.15 12.54,22.08 12.78,21.94L20.22,17.65C20.7,17.37 21,16.85 21,16.29V7.71C21,7.15 20.7,6.63 20.22,6.35L12.78,2.05C12.55,1.92 12.28,1.85 12,1.85M14,8C11.88,8 10.61,8.89 10.61,10.39C10.61,12 11.87,12.47 13.91,12.67C16.34,12.91 16.53,13.27 16.53,13.75C16.53,14.58 15.86,14.93 14.3,14.93C12.32,14.93 11.9,14.44 11.75,13.46C11.73,13.36 11.64,13.28 11.53,13.28H10.57C10.45,13.28 10.36,13.37 10.36,13.5C10.36,14.74 11.04,16.24 14.3,16.24C16.65,16.24 18,15.31 18,13.69C18,12.08 16.92,11.66 14.63,11.35C12.32,11.05 12.09,10.89 12.09,10.35C12.09,9.9 12.29,9.3 14,9.3C15.5,9.3 16.09,9.63 16.32,10.66C16.34,10.76 16.43,10.83 16.53,10.83H17.5C17.55,10.83 17.61,10.81 17.65,10.76C17.69,10.72 17.72,10.66 17.7,10.6C17.56,8.82 16.38,8 14,8Z"},{PackIconKind.Note,"M14,10V4.5L19.5,10M5,3C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V9L15,3H5Z"},{PackIconKind.NoteMultiple,"M16,9H21.5L16,3.5V9M7,2H17L23,8V18A2,2 0 0,1 21,20H7C5.89,20 5,19.1 5,18V4A2,2 0 0,1 7,2M3,6V22H21V24H3A2,2 0 0,1 1,22V6H3Z"},{PackIconKind.NoteMultipleOutline,"M3,6V22H21V24H3A2,2 0 0,1 1,22V6H3M16,9H21.5L16,3.5V9M7,2H17L23,8V18A2,2 0 0,1 21,20H7C5.89,20 5,19.1 5,18V4A2,2 0 0,1 7,2M7,4V18H21V11H14V4H7Z"},{PackIconKind.NoteOutline,"M14,10H19.5L14,4.5V10M5,3H15L21,9V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3M5,5V19H19V12H12V5H5Z"},{PackIconKind.NotePlus,"M14,10H19.5L14,4.5V10M5,3H15L21,9V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3M9,18H11V15H14V13H11V10H9V13H6V15H9V18Z"},{PackIconKind.NotePlusOutline,"M15,10H20.5L15,4.5V10M4,3H16L22,9V19A2,2 0 0,1 20,21H4C2.89,21 2,20.1 2,19V5C2,3.89 2.89,3 4,3M4,5V19H20V12H13V5H4M8,17V15H6V13H8V11H10V13H12V15H10V17H8Z"},{PackIconKind.NoteText,"M14,10H19.5L14,4.5V10M5,3H15L21,9V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3M5,12V14H19V12H5M5,16V18H14V16H5Z"},{PackIconKind.Notebook,"M3,7V5H5V4C5,2.89 5.9,2 7,2H13V9L15.5,7.5L18,9V2H19C20.05,2 21,2.95 21,4V20C21,21.05 20.05,22 19,22H7C5.95,22 5,21.05 5,20V19H3V17H5V13H3V11H5V7H3M7,11H5V13H7V11M7,7V5H5V7H7M7,19V17H5V19H7Z"},{PackIconKind.NotificationClearAll,"M5,13H19V11H5M3,17H17V15H3M7,7V9H21V7"},{PackIconKind.Npm,"M4,10V14H6V11H7V14H8V10H4M9,10V15H11V14H13V10H9M12,11V13H11V11H12M14,10V14H16V11H17V14H18V11H19V14H20V10H14M3,9H21V15H12V16H8V15H3V9Z"},{PackIconKind.Nuke,"M14.04,12H10V11H5.5A3.5,3.5 0 0,1 2,7.5A3.5,3.5 0 0,1 5.5,4C6.53,4 7.45,4.44 8.09,5.15C8.5,3.35 10.08,2 12,2C13.92,2 15.5,3.35 15.91,5.15C16.55,4.44 17.47,4 18.5,4A3.5,3.5 0 0,1 22,7.5A3.5,3.5 0 0,1 18.5,11H14.04V12M10,16.9V15.76H5V13.76H19V15.76H14.04V16.92L20,19.08C20.58,19.29 21,19.84 21,20.5A1.5,1.5 0 0,1 19.5,22H4.5A1.5,1.5 0 0,1 3,20.5C3,19.84 3.42,19.29 4,19.08L10,16.9Z"},{PackIconKind.Null,"M12,2C13.85,2 15.55,2.78 16.9,4.1L18.6,1.93L20.18,3.16L18.2,5.68C19.33,7.41 20,9.6 20,12C20,17.5 16.42,22 12,22C10.15,22 8.45,21.22 7.1,19.9L5.4,22.07L3.82,20.84L5.8,18.32C4.67,16.59 4,14.4 4,12C4,6.5 7.58,2 12,2M12,4C8.69,4 6,7.58 6,12C6,13.73 6.41,15.33 7.11,16.64L15.67,5.67C14.66,4.62 13.38,4 12,4M12,20C15.31,20 18,16.42 18,12C18,10.27 17.59,8.67 16.89,7.36L8.33,18.33C9.34,19.38 10.62,20 12,20Z"},{PackIconKind.Numeric,"M4,17V9H2V7H6V17H4M22,15C22,16.11 21.1,17 20,17H16V15H20V13H18V11H20V9H16V7H20A2,2 0 0,1 22,9V10.5A1.5,1.5 0 0,1 20.5,12A1.5,1.5 0 0,1 22,13.5V15M14,15V17H8V13C8,11.89 8.9,11 10,11H12V9H8V7H12A2,2 0 0,1 14,9V11C14,12.11 13.1,13 12,13H10V15H14Z"},{PackIconKind.Numeric0Box,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M11,7A2,2 0 0,0 9,9V15A2,2 0 0,0 11,17H13A2,2 0 0,0 15,15V9A2,2 0 0,0 13,7H11M11,9H13V15H11V9Z"},{PackIconKind.Numeric0BoxMultipleOutline,"M21,17V3H7V17H21M21,1A2,2 0 0,1 23,3V17A2,2 0 0,1 21,19H7A2,2 0 0,1 5,17V3A2,2 0 0,1 7,1H21M3,5V21H19V23H3A2,2 0 0,1 1,21V5H3M13,5H15A2,2 0 0,1 17,7V13A2,2 0 0,1 15,15H13A2,2 0 0,1 11,13V7A2,2 0 0,1 13,5M13,7V13H15V7H13Z"},{PackIconKind.Numeric0BoxOutline,"M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M11,7H13A2,2 0 0,1 15,9V15A2,2 0 0,1 13,17H11A2,2 0 0,1 9,15V9A2,2 0 0,1 11,7M11,9V15H13V9H11Z"},{PackIconKind.Numeric1Box,"M14,17H12V9H10V7H14M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric1BoxMultipleOutline,"M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M14,15H16V5H12V7H14M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric1BoxOutline,"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,17H14V7H10V9H12"},{PackIconKind.Numeric2Box,"M15,11C15,12.11 14.1,13 13,13H11V15H15V17H9V13C9,11.89 9.9,11 11,11H13V9H9V7H13A2,2 0 0,1 15,9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric2BoxMultipleOutline,"M17,13H13V11H15A2,2 0 0,0 17,9V7C17,5.89 16.1,5 15,5H11V7H15V9H13A2,2 0 0,0 11,11V15H17M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric2BoxOutline,"M15,15H11V13H13A2,2 0 0,0 15,11V9C15,7.89 14.1,7 13,7H9V9H13V11H11A2,2 0 0,0 9,13V17H15M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric3Box,"M15,10.5A1.5,1.5 0 0,1 13.5,12C14.34,12 15,12.67 15,13.5V15C15,16.11 14.11,17 13,17H9V15H13V13H11V11H13V9H9V7H13C14.11,7 15,7.89 15,9M19,3H5C3.91,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19C20.11,21 21,20.1 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric3BoxMultipleOutline,"M17,13V11.5A1.5,1.5 0 0,0 15.5,10A1.5,1.5 0 0,0 17,8.5V7C17,5.89 16.1,5 15,5H11V7H15V9H13V11H15V13H11V15H15A2,2 0 0,0 17,13M3,5H1V21A2,2 0 0,0 3,23H19V21H3M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1Z"},{PackIconKind.Numeric3BoxOutline,"M15,15V13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 15,10.5V9C15,7.89 14.1,7 13,7H9V9H13V11H11V13H13V15H9V17H13A2,2 0 0,0 15,15M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric4Box,"M15,17H13V13H9V7H11V11H13V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric4BoxMultipleOutline,"M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M15,15H17V5H15V9H13V5H11V11H15M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric4BoxOutline,"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13,17H15V7H13V11H11V7H9V13H13"},{PackIconKind.Numeric5Box,"M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H9V15H13V13H9V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric5BoxMultipleOutline,"M17,13V11C17,9.89 16.1,9 15,9H13V7H17V5H11V11H15V13H11V15H15A2,2 0 0,0 17,13M3,5H1V21A2,2 0 0,0 3,23H19V21H3M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1Z"},{PackIconKind.Numeric5BoxOutline,"M15,15V13C15,11.89 14.1,11 13,11H11V9H15V7H9V13H13V15H9V17H13A2,2 0 0,0 15,15M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric6Box,"M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H11A2,2 0 0,1 9,15V9C9,7.89 9.9,7 11,7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M11,15H13V13H11V15Z"},{PackIconKind.Numeric6BoxMultipleOutline,"M13,11H15V13H13M13,15H15A2,2 0 0,0 17,13V11C17,9.89 16.1,9 15,9H13V7H17V5H13A2,2 0 0,0 11,7V13C11,14.11 11.9,15 13,15M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric6BoxOutline,"M11,13H13V15H11M11,17H13A2,2 0 0,0 15,15V13C15,11.89 14.1,11 13,11H11V9H15V7H11A2,2 0 0,0 9,9V15C9,16.11 9.9,17 11,17M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric7Box,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M11,17L15,9V7H9V9H13L9,17H11Z"},{PackIconKind.Numeric7BoxMultipleOutline,"M13,15L17,7V5H11V7H15L11,15M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric7BoxOutline,"M11,17L15,9V7H9V9H13L9,17M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric8Box,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M11,17H13A2,2 0 0,0 15,15V13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 15,10.5V9C15,7.89 14.1,7 13,7H11A2,2 0 0,0 9,9V10.5A1.5,1.5 0 0,0 10.5,12A1.5,1.5 0 0,0 9,13.5V15C9,16.11 9.9,17 11,17M11,13H13V15H11V13M11,9H13V11H11V9Z"},{PackIconKind.Numeric8BoxMultipleOutline,"M13,11H15V13H13M13,7H15V9H13M13,15H15A2,2 0 0,0 17,13V11.5A1.5,1.5 0 0,0 15.5,10A1.5,1.5 0 0,0 17,8.5V7C17,5.89 16.1,5 15,5H13A2,2 0 0,0 11,7V8.5A1.5,1.5 0 0,0 12.5,10A1.5,1.5 0 0,0 11,11.5V13C11,14.11 11.9,15 13,15M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric8BoxOutline,"M11,13H13V15H11M11,9H13V11H11M11,17H13A2,2 0 0,0 15,15V13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 15,10.5V9C15,7.89 14.1,7 13,7H11A2,2 0 0,0 9,9V10.5A1.5,1.5 0 0,0 10.5,12A1.5,1.5 0 0,0 9,13.5V15C9,16.11 9.9,17 11,17M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric9Box,"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M13,11H11V9H13V11M13,7H11A2,2 0 0,0 9,9V11C9,12.11 9.9,13 11,13H13V15H9V17H13A2,2 0 0,0 15,15V9C15,7.89 14.1,7 13,7Z"},{PackIconKind.Numeric9BoxMultipleOutline,"M15,9H13V7H15M15,5H13A2,2 0 0,0 11,7V9C11,10.11 11.9,11 13,11H15V13H11V15H15A2,2 0 0,0 17,13V7C17,5.89 16.1,5 15,5M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric9BoxOutline,"M13,11H11V9H13M13,7H11A2,2 0 0,0 9,9V11C9,12.11 9.9,13 11,13H13V15H9V17H13A2,2 0 0,0 15,15V9C15,7.89 14.1,7 13,7M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z"},{PackIconKind.Numeric9PlusBox,"M21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M19,11H17V9H15V11H13V13H15V15H17V13H19V11M10,7H8A2,2 0 0,0 6,9V11C6,12.11 6.9,13 8,13H10V15H6V17H10A2,2 0 0,0 12,15V9C12,7.89 11.1,7 10,7M8,9H10V11H8V9Z"},{PackIconKind.Numeric9PlusBoxMultipleOutline,"M21,9H19V7H17V9H15V11H17V13H19V11H21V17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M11,9V8H12V9M14,12V8C14,6.89 13.1,6 12,6H11A2,2 0 0,0 9,8V9C9,10.11 9.9,11 11,11H12V12H9V14H12A2,2 0 0,0 14,12M3,5H1V21A2,2 0 0,0 3,23H19V21H3V5Z"},{PackIconKind.Numeric9PlusBoxOutline,"M19,11H17V9H15V11H13V13H15V15H17V13H19V19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M9,11V10H10V11M12,14V10C12,8.89 11.1,8 10,8H9A2,2 0 0,0 7,10V11C7,12.11 7.9,13 9,13H10V14H7V16H10A2,2 0 0,0 12,14Z"},{PackIconKind.Nut,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"},{PackIconKind.Nutrition,"M22,18A4,4 0 0,1 18,22H14A4,4 0 0,1 10,18V16H22V18M4,3H14A2,2 0 0,1 16,5V14H8V19H4A2,2 0 0,1 2,17V5A2,2 0 0,1 4,3M4,6V8H6V6H4M14,8V6H8V8H14M4,10V12H6V10H4M8,10V12H14V10H8M4,14V16H6V14H4Z"},{PackIconKind.Oar,"M20.23,15.21C18.77,13.75 14.97,10.2 12.77,11.27L4.5,3L3,4.5L11.28,12.79C10.3,15 13.88,18.62 15.35,20.08C17.11,21.84 18.26,20.92 19.61,19.57C21.1,18.08 21.61,16.61 20.23,15.21Z"},{PackIconKind.Octagon,"M15.73,3H8.27L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27"},{PackIconKind.OctagonOutline,"M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1"},{PackIconKind.Octagram,"M2.2,16.06L3.88,12L2.2,7.94L6.26,6.26L7.94,2.2L12,3.88L16.06,2.2L17.74,6.26L21.8,7.94L20.12,12L21.8,16.06L17.74,17.74L16.06,21.8L12,20.12L7.94,21.8L6.26,17.74L2.2,16.06Z"},{PackIconKind.OctagramOutline,"M2.2,16.06L3.88,12L2.2,7.94L6.26,6.26L7.94,2.2L12,3.88L16.06,2.2L17.74,6.26L21.8,7.94L20.12,12L21.8,16.06L17.74,17.74L16.06,21.8L12,20.12L7.94,21.8L6.26,17.74L2.2,16.06M4.81,9L6.05,12L4.81,15L7.79,16.21L9,19.19L12,17.95L15,19.19L16.21,16.21L19.19,15L17.95,12L19.19,9L16.21,7.79L15,4.81L12,6.05L9,4.81L7.79,7.79L4.81,9Z"},{PackIconKind.Odnoklassniki,"M17.83,12.74C17.55,12.17 16.76,11.69 15.71,12.5C14.28,13.64 12,13.64 12,13.64C12,13.64 9.72,13.64 8.29,12.5C7.24,11.69 6.45,12.17 6.17,12.74C5.67,13.74 6.23,14.23 7.5,15.04C8.59,15.74 10.08,16 11.04,16.1L10.24,16.9C9.1,18.03 8,19.12 7.25,19.88C6.8,20.34 6.8,21.07 7.25,21.5L7.39,21.66C7.84,22.11 8.58,22.11 9.03,21.66L12,18.68C13.15,19.81 14.24,20.9 15,21.66C15.45,22.11 16.18,22.11 16.64,21.66L16.77,21.5C17.23,21.07 17.23,20.34 16.77,19.88L13.79,16.9L13,16.09C13.95,16 15.42,15.73 16.5,15.04C17.77,14.23 18.33,13.74 17.83,12.74M12,4.57C13.38,4.57 14.5,5.69 14.5,7.06C14.5,8.44 13.38,9.55 12,9.55C10.62,9.55 9.5,8.44 9.5,7.06C9.5,5.69 10.62,4.57 12,4.57M12,12.12C14.8,12.12 17.06,9.86 17.06,7.06C17.06,4.27 14.8,2 12,2C9.2,2 6.94,4.27 6.94,7.06C6.94,9.86 9.2,12.12 12,12.12Z"},{PackIconKind.Office,"M3,18L7,16.75V7L14,5V19.5L3.5,18.25L14,22L20,20.75V3.5L13.95,2L3,5.75V18Z"},{PackIconKind.Oil,"M22,12.5C22,12.5 24,14.67 24,16A2,2 0 0,1 22,18A2,2 0 0,1 20,16C20,14.67 22,12.5 22,12.5M6,6H10A1,1 0 0,1 11,7A1,1 0 0,1 10,8H9V10H11C11.74,10 12.39,10.4 12.73,11L19.24,7.24L22.5,9.13C23,9.4 23.14,10 22.87,10.5C22.59,10.97 22,11.14 21.5,10.86L19.4,9.65L15.75,15.97C15.41,16.58 14.75,17 14,17H5A2,2 0 0,1 3,15V12A2,2 0 0,1 5,10H7V8H6A1,1 0 0,1 5,7A1,1 0 0,1 6,6M5,12V15H14L16.06,11.43L12.6,13.43L11.69,12H5M0.38,9.21L2.09,7.5C2.5,7.11 3.11,7.11 3.5,7.5C3.89,7.89 3.89,8.5 3.5,8.91L1.79,10.62C1.4,11 0.77,11 0.38,10.62C0,10.23 0,9.6 0.38,9.21Z"},{PackIconKind.OilTemperature,"M11.5,1A1.5,1.5 0 0,0 10,2.5V14.5C9.37,14.97 9,15.71 9,16.5A2.5,2.5 0 0,0 11.5,19A2.5,2.5 0 0,0 14,16.5C14,15.71 13.63,15 13,14.5V13H17V11H13V9H17V7H13V5H17V3H13V2.5A1.5,1.5 0 0,0 11.5,1M0,15V17C0.67,17 0.79,17.21 1.29,17.71C1.79,18.21 2.67,19 4,19C5.33,19 6.21,18.21 6.71,17.71C6.82,17.59 6.91,17.5 7,17.41V15.16C6.21,15.42 5.65,15.93 5.29,16.29C4.79,16.79 4.67,17 4,17C3.33,17 3.21,16.79 2.71,16.29C2.21,15.79 1.33,15 0,15M16,15V17C16.67,17 16.79,17.21 17.29,17.71C17.79,18.21 18.67,19 20,19C21.33,19 22.21,18.21 22.71,17.71C23.21,17.21 23.33,17 24,17V15C22.67,15 21.79,15.79 21.29,16.29C20.79,16.79 20.67,17 20,17C19.33,17 19.21,16.79 18.71,16.29C18.21,15.79 17.33,15 16,15M8,20C6.67,20 5.79,20.79 5.29,21.29C4.79,21.79 4.67,22 4,22C3.33,22 3.21,21.79 2.71,21.29C2.35,20.93 1.79,20.42 1,20.16V22.41C1.09,22.5 1.18,22.59 1.29,22.71C1.79,23.21 2.67,24 4,24C5.33,24 6.21,23.21 6.71,22.71C7.21,22.21 7.33,22 8,22C8.67,22 8.79,22.21 9.29,22.71C9.73,23.14 10.44,23.8 11.5,23.96C11.66,24 11.83,24 12,24C13.33,24 14.21,23.21 14.71,22.71C15.21,22.21 15.33,22 16,22C16.67,22 16.79,22.21 17.29,22.71C17.79,23.21 18.67,24 20,24C21.33,24 22.21,23.21 22.71,22.71C22.82,22.59 22.91,22.5 23,22.41V20.16C22.21,20.42 21.65,20.93 21.29,21.29C20.79,21.79 20.67,22 20,22C19.33,22 19.21,21.79 18.71,21.29C18.21,20.79 17.33,20 16,20C14.67,20 13.79,20.79 13.29,21.29C12.79,21.79 12.67,22 12,22C11.78,22 11.63,21.97 11.5,21.92C11.22,21.82 11.05,21.63 10.71,21.29C10.21,20.79 9.33,20 8,20Z"},{PackIconKind.Omega,"M19.15,19H13.39V16.87C15.5,15.25 16.59,13.24 16.59,10.84C16.59,9.34 16.16,8.16 15.32,7.29C14.47,6.42 13.37,6 12.03,6C10.68,6 9.57,6.42 8.71,7.3C7.84,8.17 7.41,9.37 7.41,10.88C7.41,13.26 8.5,15.26 10.61,16.87V19H4.85V16.87H8.41C6.04,15.32 4.85,13.23 4.85,10.6C4.85,8.5 5.5,6.86 6.81,5.66C8.12,4.45 9.84,3.85 11.97,3.85C14.15,3.85 15.89,4.45 17.19,5.64C18.5,6.83 19.15,8.5 19.15,10.58C19.15,13.21 17.95,15.31 15.55,16.87H19.15V19Z"},{PackIconKind.Onedrive,"M20.08,13.64C21.17,13.81 22,14.75 22,15.89C22,16.78 21.5,17.55 20.75,17.92L20.58,18H9.18L9.16,18V18C7.71,18 6.54,16.81 6.54,15.36C6.54,13.9 7.72,12.72 9.18,12.72L9.4,12.73L9.39,12.53A3.3,3.3 0 0,1 12.69,9.23C13.97,9.23 15.08,9.96 15.63,11C16.08,10.73 16.62,10.55 17.21,10.55A2.88,2.88 0 0,1 20.09,13.43L20.08,13.64M8.82,12.16C7.21,12.34 5.96,13.7 5.96,15.36C5.96,16.04 6.17,16.66 6.5,17.18H4.73A2.73,2.73 0 0,1 2,14.45C2,13 3.12,11.83 4.53,11.73L4.46,11.06C4.46,9.36 5.84,8 7.54,8C8.17,8 8.77,8.18 9.26,8.5C9.95,7.11 11.4,6.15 13.07,6.15C15.27,6.15 17.08,7.83 17.3,9.97H17.21C16.73,9.97 16.27,10.07 15.84,10.25C15.12,9.25 13.96,8.64 12.69,8.64C10.67,8.64 9,10.19 8.82,12.16Z"},{PackIconKind.Onenote,"M1.96,4.8L14,3.08V5H20L21,5A1,1 0 0,1 22,6V10A1,1 0 0,1 21,11H20V19H14V21L1.96,19.21V4.8M11,16.75V8.25L9,8.5V12.75L7,8.75L5,9V16L6.5,16.25V10.75L9,16.5L11,16.75M14,14H18V13H14V14M14,11H18V10H14V11M14,8H18V7H14V8M14,16V17H18V16H14Z"},{PackIconKind.Opacity,"M17.66,8L12,2.35L6.34,8C4.78,9.56 4,11.64 4,13.64C4,15.64 4.78,17.75 6.34,19.31C7.9,20.87 9.95,21.66 12,21.66C14.05,21.66 16.1,20.87 17.66,19.31C19.22,17.75 20,15.64 20,13.64C20,11.64 19.22,9.56 17.66,8M6,14C6,12 6.62,10.73 7.76,9.6L12,5.27L16.24,9.65C17.38,10.77 18,12 18,14H6Z"},{PackIconKind.OpenInApp,"M12,10L8,14H11V20H13V14H16M19,4H5C3.89,4 3,4.9 3,6V18A2,2 0 0,0 5,20H9V18H5V8H19V18H15V20H19A2,2 0 0,0 21,18V6A2,2 0 0,0 19,4Z"},{PackIconKind.OpenInNew,"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},{PackIconKind.Openid,"M14,2L11,3.5V19.94C7,19.5 4,17.46 4,15C4,12.75 6.5,10.85 10,10.22V8.19C4.86,8.88 1,11.66 1,15C1,18.56 5.36,21.5 11,21.94C11.03,21.94 11.06,21.94 11.09,21.94L14,20.5V2M15,8.19V10.22C16.15,10.43 17.18,10.77 18.06,11.22L16.5,12L23,13.5L22.5,9L20.5,10C19,9.12 17.12,8.47 15,8.19Z"},{PackIconKind.Opera,"M17.33,3.57C15.86,2.56 14.05,2 12,2C10.13,2 8.46,2.47 7.06,3.32C4.38,4.95 2.72,8 2.72,11.9C2.72,17.19 6.43,22 12,22C17.57,22 21.28,17.19 21.28,11.9C21.28,8.19 19.78,5.25 17.33,3.57M12,3.77C15,3.77 15.6,7.93 15.6,11.72C15.6,15.22 15.26,19.91 12.04,19.91C8.82,19.91 8.4,15.17 8.4,11.67C8.4,7.89 9,3.77 12,3.77Z"},{PackIconKind.Orbit,"M8.11,1.75C9.3,1.25 10.62,1 12,1C18.08,1 23,5.92 23,12C23,18.08 18.08,23 12,23C5.92,23 1,18.08 1,12C1,10.62 1.25,9.3 1.72,8.08C2.24,8.61 2.83,8.96 3.45,9.18C3.16,10.07 3,11 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3C11,3 10.07,3.16 9.18,3.45C8.96,2.83 8.61,2.24 8.11,1.75M4.93,2.93C6.03,2.93 6.93,3.82 6.93,4.93A2,2 0 0,1 4.93,6.93C3.82,6.93 2.93,6.03 2.93,4.93C2.93,3.82 3.82,2.93 4.93,2.93M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7Z"},{PackIconKind.Ornament,"M12,1A3,3 0 0,1 15,4V5A1,1 0 0,1 16,6V7.07C18.39,8.45 20,11.04 20,14A8,8 0 0,1 12,22A8,8 0 0,1 4,14C4,11.04 5.61,8.45 8,7.07V6A1,1 0 0,1 9,5V4A3,3 0 0,1 12,1M12,3A1,1 0 0,0 11,4V5H13V4A1,1 0 0,0 12,3M12,8C10.22,8 8.63,8.77 7.53,10H16.47C15.37,8.77 13.78,8 12,8M6.34,16H7.59L6,14.43C6.05,15 6.17,15.5 6.34,16M12.59,16L8.59,12H6.41L10.41,16H12.59M17.66,12H16.41L18,13.57C17.95,13 17.83,12.5 17.66,12M11.41,12L15.41,16H17.59L13.59,12H11.41M12,20C13.78,20 15.37,19.23 16.47,18H7.53C8.63,19.23 10.22,20 12,20Z"},{PackIconKind.OrnamentVariant,"M12,1A3,3 0 0,1 15,4V5A1,1 0 0,1 16,6V7.07C18.39,8.45 20,11.04 20,14A8,8 0 0,1 12,22A8,8 0 0,1 4,14C4,11.04 5.61,8.45 8,7.07V6A1,1 0 0,1 9,5V4A3,3 0 0,1 12,1M12,3A1,1 0 0,0 11,4V5H13V4A1,1 0 0,0 12,3M12,8C10.22,8 8.63,8.77 7.53,10H16.47C15.37,8.77 13.78,8 12,8M12,20C13.78,20 15.37,19.23 16.47,18H7.53C8.63,19.23 10.22,20 12,20M12,12A2,2 0 0,0 10,14A2,2 0 0,0 12,16A2,2 0 0,0 14,14A2,2 0 0,0 12,12M18,14C18,13.31 17.88,12.65 17.67,12C16.72,12.19 16,13 16,14C16,15 16.72,15.81 17.67,15.97C17.88,15.35 18,14.69 18,14M6,14C6,14.69 6.12,15.35 6.33,15.97C7.28,15.81 8,15 8,14C8,13 7.28,12.19 6.33,12C6.12,12.65 6,13.31 6,14Z"},{PackIconKind.Owl,"M12,16C12.56,16.84 13.31,17.53 14.2,18L12,20.2L9.8,18C10.69,17.53 11.45,16.84 12,16M17,11.2A2,2 0 0,0 15,13.2A2,2 0 0,0 17,15.2A2,2 0 0,0 19,13.2C19,12.09 18.1,11.2 17,11.2M7,11.2A2,2 0 0,0 5,13.2A2,2 0 0,0 7,15.2A2,2 0 0,0 9,13.2C9,12.09 8.1,11.2 7,11.2M17,8.7A4,4 0 0,1 21,12.7A4,4 0 0,1 17,16.7A4,4 0 0,1 13,12.7A4,4 0 0,1 17,8.7M7,8.7A4,4 0 0,1 11,12.7A4,4 0 0,1 7,16.7A4,4 0 0,1 3,12.7A4,4 0 0,1 7,8.7M2.24,1C4,4.7 2.73,7.46 1.55,10.2C1.19,11 1,11.83 1,12.7A6,6 0 0,0 7,18.7C7.21,18.69 7.42,18.68 7.63,18.65L10.59,21.61L12,23L13.41,21.61L16.37,18.65C16.58,18.68 16.79,18.69 17,18.7A6,6 0 0,0 23,12.7C23,11.83 22.81,11 22.45,10.2C21.27,7.46 20,4.7 21.76,1C19.12,3.06 15.36,4.69 12,4.7C8.64,4.69 4.88,3.06 2.24,1Z"},{PackIconKind.Package,"M5.12,5H18.87L17.93,4H5.93L5.12,5M20.54,5.23C20.83,5.57 21,6 21,6.5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V6.5C3,6 3.17,5.57 3.46,5.23L4.84,3.55C5.12,3.21 5.53,3 6,3H18C18.47,3 18.88,3.21 19.15,3.55L20.54,5.23M6,18H12V15H6V18Z"},{PackIconKind.PackageDown,"M5.12,5L5.93,4H17.93L18.87,5M12,17.5L6.5,12H10V10H14V12H17.5L12,17.5M20.54,5.23L19.15,3.55C18.88,3.21 18.47,3 18,3H6C5.53,3 5.12,3.21 4.84,3.55L3.46,5.23C3.17,5.57 3,6 3,6.5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V6.5C21,6 20.83,5.57 20.54,5.23Z"},{PackIconKind.PackageUp,"M20.54,5.23C20.83,5.57 21,6 21,6.5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V6.5C3,6 3.17,5.57 3.46,5.23L4.84,3.55C5.12,3.21 5.53,3 6,3H18C18.47,3 18.88,3.21 19.15,3.55L20.54,5.23M5.12,5H18.87L17.93,4H5.93L5.12,5M12,9.5L6.5,15H10V17H14V15H17.5L12,9.5Z"},{PackIconKind.PackageVariant,"M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z"},{PackIconKind.PackageVariantClosed,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L10.11,5.22L16,8.61L17.96,7.5L12,4.15M6.04,7.5L12,10.85L13.96,9.75L8.08,6.35L6.04,7.5M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V9.21L13,12.58V19.29L19,15.91Z"},{PackIconKind.PageFirst,"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"},{PackIconKind.PageLast,"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"},{PackIconKind.PageLayoutBody,"M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M6,8V16H18V8H6Z"},{PackIconKind.PageLayoutFooter,"M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M6,16V20H18V16H6Z"},{PackIconKind.PageLayoutHeader,"M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M6,4V8H18V4H6Z"},{PackIconKind.PageLayoutSidebarLeft,"M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M6,8V16H10V8H6Z"},{PackIconKind.PageLayoutSidebarRight,"M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M14,8V16H18V8H14Z"},{PackIconKind.Palette,"M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z"},{PackIconKind.PaletteAdvanced,"M22,22H10V20H22V22M2,22V20H9V22H2M18,18V10H22V18H18M18,3H22V9H18V3M2,18V3H16V18H2M9,14.56A3,3 0 0,0 12,11.56C12,9.56 9,6.19 9,6.19C9,6.19 6,9.56 6,11.56A3,3 0 0,0 9,14.56Z"},{PackIconKind.Panda,"M12,3C13.74,3 15.36,3.5 16.74,4.35C17.38,3.53 18.38,3 19.5,3A3.5,3.5 0 0,1 23,6.5C23,8 22.05,9.28 20.72,9.78C20.9,10.5 21,11.23 21,12A9,9 0 0,1 12,21A9,9 0 0,1 3,12C3,11.23 3.1,10.5 3.28,9.78C1.95,9.28 1,8 1,6.5A3.5,3.5 0 0,1 4.5,3C5.62,3 6.62,3.53 7.26,4.35C8.64,3.5 10.26,3 12,3M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5M16.19,10.3C16.55,11.63 16.08,12.91 15.15,13.16C14.21,13.42 13.17,12.54 12.81,11.2C12.45,9.87 12.92,8.59 13.85,8.34C14.79,8.09 15.83,8.96 16.19,10.3M7.81,10.3C8.17,8.96 9.21,8.09 10.15,8.34C11.08,8.59 11.55,9.87 11.19,11.2C10.83,12.54 9.79,13.42 8.85,13.16C7.92,12.91 7.45,11.63 7.81,10.3M12,14C12.6,14 13.13,14.19 13.5,14.5L12.5,15.5C12.5,15.92 12.84,16.25 13.25,16.25A0.75,0.75 0 0,0 14,15.5A0.5,0.5 0 0,1 14.5,15A0.5,0.5 0 0,1 15,15.5A1.75,1.75 0 0,1 13.25,17.25C12.76,17.25 12.32,17.05 12,16.72C11.68,17.05 11.24,17.25 10.75,17.25A1.75,1.75 0 0,1 9,15.5A0.5,0.5 0 0,1 9.5,15A0.5,0.5 0 0,1 10,15.5A0.75,0.75 0 0,0 10.75,16.25A0.75,0.75 0 0,0 11.5,15.5L10.5,14.5C10.87,14.19 11.4,14 12,14Z"},{PackIconKind.Pandora,"M16.87,7.73C16.87,9.9 15.67,11.7 13.09,11.7H10.45V3.66H13.09C15.67,3.66 16.87,5.5 16.87,7.73M10.45,15.67V13.41H13.09C17.84,13.41 20.5,10.91 20.5,7.73C20.5,4.45 17.84,2 13.09,2H3.5V2.92C6.62,2.92 7.17,3.66 7.17,8.28V15.67C7.17,20.29 6.62,21.08 3.5,21.08V22H14.1V21.08C11,21.08 10.45,20.29 10.45,15.67Z"},{PackIconKind.Panorama,"M8.5,12.5L11,15.5L14.5,11L19,17H5M23,18V6A2,2 0 0,0 21,4H3A2,2 0 0,0 1,6V18A2,2 0 0,0 3,20H21A2,2 0 0,0 23,18Z"},{PackIconKind.PanoramaFisheye,"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2Z"},{PackIconKind.PanoramaHorizontal,"M21.43,4C21.33,4 21.23,4 21.12,4.06C18.18,5.16 15.09,5.7 12,5.7C8.91,5.7 5.82,5.15 2.88,4.06C2.77,4 2.66,4 2.57,4C2.23,4 2,4.23 2,4.63V19.38C2,19.77 2.23,20 2.57,20C2.67,20 2.77,20 2.88,19.94C5.82,18.84 8.91,18.3 12,18.3C15.09,18.3 18.18,18.85 21.12,19.94C21.23,20 21.33,20 21.43,20C21.76,20 22,19.77 22,19.37V4.63C22,4.23 21.76,4 21.43,4M20,6.54V17.45C17.4,16.68 14.72,16.29 12,16.29C9.28,16.29 6.6,16.68 4,17.45V6.54C6.6,7.31 9.28,7.7 12,7.7C14.72,7.71 17.4,7.32 20,6.54Z"},{PackIconKind.PanoramaVertical,"M6.54,20C7.31,17.4 7.7,14.72 7.7,12C7.7,9.28 7.31,6.6 6.54,4H17.45C16.68,6.6 16.29,9.28 16.29,12C16.29,14.72 16.68,17.4 17.45,20M19.94,21.12C18.84,18.18 18.3,15.09 18.3,12C18.3,8.91 18.85,5.82 19.94,2.88C20,2.77 20,2.66 20,2.57C20,2.23 19.77,2 19.37,2H4.63C4.23,2 4,2.23 4,2.57C4,2.67 4,2.77 4.06,2.88C5.16,5.82 5.71,8.91 5.71,12C5.71,15.09 5.16,18.18 4.07,21.12C4,21.23 4,21.34 4,21.43C4,21.76 4.23,22 4.63,22H19.38C19.77,22 20,21.76 20,21.43C20,21.33 20,21.23 19.94,21.12Z"},{PackIconKind.PanoramaWideAngle,"M12,4C9.27,4 6.78,4.24 4.05,4.72L3.12,4.88L2.87,5.78C2.29,7.85 2,9.93 2,12C2,14.07 2.29,16.15 2.87,18.22L3.12,19.11L4.05,19.27C6.78,19.76 9.27,20 12,20C14.73,20 17.22,19.76 19.95,19.28L20.88,19.12L21.13,18.23C21.71,16.15 22,14.07 22,12C22,9.93 21.71,7.85 21.13,5.78L20.88,4.89L19.95,4.73C17.22,4.24 14.73,4 12,4M12,6C14.45,6 16.71,6.2 19.29,6.64C19.76,8.42 20,10.22 20,12C20,13.78 19.76,15.58 19.29,17.36C16.71,17.8 14.45,18 12,18C9.55,18 7.29,17.8 4.71,17.36C4.24,15.58 4,13.78 4,12C4,10.22 4.24,8.42 4.71,6.64C7.29,6.2 9.55,6 12,6Z"},{PackIconKind.PaperCutVertical,"M11.43,3.23L12,4L12.57,3.23V3.24C13.12,2.5 14,2 15,2A3,3 0 0,1 18,5C18,5.35 17.94,5.69 17.83,6H20A2,2 0 0,1 22,8V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V8A2,2 0 0,1 4,6H6.17C6.06,5.69 6,5.35 6,5A3,3 0 0,1 9,2C10,2 10.88,2.5 11.43,3.24V3.23M4,8V20H11A1,1 0 0,1 12,19A1,1 0 0,1 13,20H20V8H15L14.9,8L17,10.92L15.4,12.1L12.42,8H11.58L8.6,12.1L7,10.92L9.1,8H9L4,8M9,4A1,1 0 0,0 8,5A1,1 0 0,0 9,6A1,1 0 0,0 10,5A1,1 0 0,0 9,4M15,4A1,1 0 0,0 14,5A1,1 0 0,0 15,6A1,1 0 0,0 16,5A1,1 0 0,0 15,4M12,16A1,1 0 0,1 13,17A1,1 0 0,1 12,18A1,1 0 0,1 11,17A1,1 0 0,1 12,16M12,13A1,1 0 0,1 13,14A1,1 0 0,1 12,15A1,1 0 0,1 11,14A1,1 0 0,1 12,13M12,10A1,1 0 0,1 13,11A1,1 0 0,1 12,12A1,1 0 0,1 11,11A1,1 0 0,1 12,10Z"},{PackIconKind.Paperclip,"M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"},{PackIconKind.Parking,"M13.2,11H10V7H13.2A2,2 0 0,1 15.2,9A2,2 0 0,1 13.2,11M13,3H6V21H10V15H13A6,6 0 0,0 19,9C19,5.68 16.31,3 13,3Z"},{PackIconKind.Passport,"M6,2A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2H6M12,5A5,5 0 0,1 17,10A5,5 0 0,1 12,15A5,5 0 0,1 7,10A5,5 0 0,1 12,5M12,6C11.59,6.62 11.25,7.29 11.04,8H12.96C12.75,7.29 12.42,6.62 12,6M10.7,6.22C9.78,6.53 9,7.17 8.54,8H10C10.18,7.38 10.4,6.78 10.7,6.22M13.29,6.22C13.59,6.78 13.82,7.38 14,8H15.46C15,7.17 14.21,6.54 13.29,6.22M8.13,9C8.05,9.32 8,9.65 8,10C8,10.35 8.05,10.68 8.13,11H9.82C9.78,10.67 9.75,10.34 9.75,10C9.75,9.66 9.78,9.33 9.82,9H8.13M10.83,9C10.78,9.32 10.75,9.66 10.75,10C10.75,10.34 10.78,10.67 10.83,11H13.17C13.21,10.67 13.25,10.34 13.25,10C13.25,9.66 13.21,9.32 13.17,9H10.83M14.18,9C14.22,9.33 14.25,9.66 14.25,10C14.25,10.34 14.22,10.67 14.18,11H15.87C15.95,10.68 16,10.35 16,10C16,9.65 15.95,9.32 15.87,9H14.18M8.54,12C9,12.83 9.78,13.46 10.7,13.78C10.4,13.22 10.18,12.63 10,12H8.54M11.04,12C11.25,12.72 11.59,13.38 12,14C12.42,13.38 12.75,12.72 12.96,12H11.04M14,12C13.82,12.63 13.59,13.22 13.29,13.78C14.21,13.46 15,12.83 15.46,12H14M7,17H17V19H7V17Z"},{PackIconKind.Pause,"M14,19H18V5H14M6,19H10V5H6V19Z"},{PackIconKind.PauseCircle,"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.PauseCircleOutline,"M13,16V8H15V16H13M9,16V8H11V16H9M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.PauseOctagon,"M15.73,3L21,8.27V15.73L15.73,21H8.27L3,15.73V8.27L8.27,3H15.73M15,16V8H13V16H15M11,16V8H9V16H11Z"},{PackIconKind.PauseOctagonOutline,"M15,16H13V8H15V16M11,16H9V8H11V16M15.73,3L21,8.27V15.73L15.73,21H8.27L3,15.73V8.27L8.27,3H15.73M14.9,5H9.1L5,9.1V14.9L9.1,19H14.9L19,14.9V9.1L14.9,5Z"},{PackIconKind.Paw,"M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.5,7.67 10.85,9.25 9.67,9.43C8.5,9.61 7.24,8.32 6.87,6.54C6.5,4.77 7.17,3.19 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11 21,7.6M19.33,18.38C19.37,19.32 18.65,20.36 17.79,20.75C16,21.57 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.88,13.09 9.88,10.44 11.89,10.44C13.89,10.44 14.95,13.05 16.3,14.5C17.41,15.72 19.26,16.75 19.33,18.38Z"},{PackIconKind.PawOff,"M2,4.27L3.28,3L21.5,21.22L20.23,22.5L18.23,20.5C18.09,20.6 17.94,20.68 17.79,20.75C16,21.57 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.21,13.77 8.84,12.69 9.55,11.82L2,4.27M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.32,6.75 11.26,7.56 11,8.19L7.03,4.2C7.29,3.55 7.75,3.1 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11 21,7.6Z"},{PackIconKind.Pen,"M20.71,7.04C20.37,7.38 20.04,7.71 20.03,8.04C20,8.36 20.34,8.69 20.66,9C21.14,9.5 21.61,9.95 21.59,10.44C21.57,10.93 21.06,11.44 20.55,11.94L16.42,16.08L15,14.66L19.25,10.42L18.29,9.46L16.87,10.87L13.12,7.12L16.96,3.29C17.35,2.9 18,2.9 18.37,3.29L20.71,5.63C21.1,6 21.1,6.65 20.71,7.04M3,17.25L12.56,7.68L16.31,11.43L6.75,21H3V17.25Z"},{PackIconKind.Pencil,"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},{PackIconKind.PencilBox,"M19,3A2,2 0 0,1 21,5V19C21,20.11 20.1,21 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M16.7,9.35C16.92,9.14 16.92,8.79 16.7,8.58L15.42,7.3C15.21,7.08 14.86,7.08 14.65,7.3L13.65,8.3L15.7,10.35L16.7,9.35M7,14.94V17H9.06L15.12,10.94L13.06,8.88L7,14.94Z"},{PackIconKind.PencilBoxOutline,"M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19C21,20.11 20.1,21 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M16.7,9.35L15.7,10.35L13.65,8.3L14.65,7.3C14.86,7.08 15.21,7.08 15.42,7.3L16.7,8.58C16.92,8.79 16.92,9.14 16.7,9.35M7,14.94L13.06,8.88L15.12,10.94L9.06,17H7V14.94Z"},{PackIconKind.PencilCircle,"M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M15.1,7.07C15.24,7.07 15.38,7.12 15.5,7.23L16.77,8.5C17,8.72 17,9.07 16.77,9.28L15.77,10.28L13.72,8.23L14.72,7.23C14.82,7.12 14.96,7.07 15.1,7.07M13.13,8.81L15.19,10.87L9.13,16.93H7.07V14.87L13.13,8.81Z"},{PackIconKind.PencilCircleOutline,"M7,14.94L13.06,8.88L15.12,10.94L9.06,17H7V14.94M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M16.7,9.35L15.7,10.35L13.65,8.3L14.65,7.3C14.86,7.08 15.21,7.08 15.42,7.3L16.7,8.58C16.92,8.79 16.92,9.14 16.7,9.35M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2"},{PackIconKind.PencilLock,"M5.5,2A2.5,2.5 0 0,0 3,4.5V5A1,1 0 0,0 2,6V10A1,1 0 0,0 3,11H8A1,1 0 0,0 9,10V6A1,1 0 0,0 8,5V4.5A2.5,2.5 0 0,0 5.5,2M5.5,3A1.5,1.5 0 0,1 7,4.5V5H4V4.5A1.5,1.5 0 0,1 5.5,3M19.66,3C19.4,3 19.16,3.09 18.97,3.28L17.13,5.13L20.88,8.88L22.72,7.03C23.11,6.64 23.11,6 22.72,5.63L20.38,3.28C20.18,3.09 19.91,3 19.66,3M16.06,6.19L5,17.25V21H8.75L19.81,9.94L16.06,6.19Z"},{PackIconKind.PencilOff,"M18.66,2C18.4,2 18.16,2.09 17.97,2.28L16.13,4.13L19.88,7.88L21.72,6.03C22.11,5.64 22.11,5 21.72,4.63L19.38,2.28C19.18,2.09 18.91,2 18.66,2M3.28,4L2,5.28L8.5,11.75L4,16.25V20H7.75L12.25,15.5L18.72,22L20,20.72L13.5,14.25L9.75,10.5L3.28,4M15.06,5.19L11.03,9.22L14.78,12.97L18.81,8.94L15.06,5.19Z"},{PackIconKind.Pentagon,"M12,2.5L2,9.8L5.8,21.5H18.2L22,9.8L12,2.5Z"},{PackIconKind.PentagonOutline,"M12,5L19.6,10.5L16.7,19.4H7.3L4.4,10.5L12,5M12,2.5L2,9.8L5.8,21.5H18.1L22,9.8L12,2.5Z"},{PackIconKind.Percent,"M7,4A3,3 0 0,1 10,7A3,3 0 0,1 7,10A3,3 0 0,1 4,7A3,3 0 0,1 7,4M17,14A3,3 0 0,1 20,17A3,3 0 0,1 17,20A3,3 0 0,1 14,17A3,3 0 0,1 17,14M20,5.41L5.41,20L4,18.59L18.59,4L20,5.41Z"},{PackIconKind.PeriodicTableCo2,"M5,7A2,2 0 0,0 3,9V15A2,2 0 0,0 5,17H8V15H5V9H8V7H5M11,7A2,2 0 0,0 9,9V15A2,2 0 0,0 11,17H13A2,2 0 0,0 15,15V9A2,2 0 0,0 13,7H11M11,9H13V15H11V9M16,10.5V12H19V13.5H17.5A1.5,1.5 0 0,0 16,15V18H20.5V16.5H17.5V15H19A1.5,1.5 0 0,0 20.5,13.5V12A1.5,1.5 0 0,0 19,10.5H16Z"},{PackIconKind.Periscope,"M12,7A2,2 0 0,1 10,9A2,2 0 0,1 8,7C7.37,7.84 7,8.87 7,10A5,5 0 0,0 12,15A5,5 0 0,0 17,10A5,5 0 0,0 12,5C11.57,5 11.16,5.05 10.77,5.15C11.5,5.45 12,6.17 12,7M12,2A8,8 0 0,1 20,10C20,11.05 19.8,12.04 19.43,12.96C17.89,17.38 13.63,22 12,22C10.37,22 6.11,17.38 4.57,12.96C4.2,12.04 4,11.05 4,10A8,8 0 0,1 12,2Z"},{PackIconKind.Pharmacy,"M16,14H13V17H11V14H8V12H11V9H13V12H16M21,5H18.35L19.5,1.85L17.15,1L15.69,5H3V7L5,13L3,19V21H21V19L19,13L21,7V5Z"},{PackIconKind.Phone,"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z"},{PackIconKind.PhoneBluetooth,"M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5M18,7.21L18.94,8.14L18,9.08M18,2.91L18.94,3.85L18,4.79M14.71,9.5L17,7.21V11H17.5L20.35,8.14L18.21,6L20.35,3.85L17.5,1H17V4.79L14.71,2.5L14,3.21L16.79,6L14,8.79L14.71,9.5Z"},{PackIconKind.PhoneClassic,"M12,3C7.46,3 3.34,4.78 0.29,7.67C0.11,7.85 0,8.1 0,8.38C0,8.66 0.11,8.91 0.29,9.09L2.77,11.57C2.95,11.75 3.2,11.86 3.5,11.86C3.75,11.86 4,11.75 4.18,11.58C4.97,10.84 5.87,10.22 6.84,9.73C7.17,9.57 7.4,9.23 7.4,8.83V5.73C8.85,5.25 10.39,5 12,5C13.59,5 15.14,5.25 16.59,5.72V8.82C16.59,9.21 16.82,9.56 17.15,9.72C18.13,10.21 19,10.84 19.82,11.57C20,11.75 20.25,11.85 20.5,11.85C20.8,11.85 21.05,11.74 21.23,11.56L23.71,9.08C23.89,8.9 24,8.65 24,8.37C24,8.09 23.88,7.85 23.7,7.67C20.65,4.78 16.53,3 12,3M9,7V10C9,10 3,15 3,18V22H21V18C21,15 15,10 15,10V7H13V9H11V7H9M12,12A4,4 0 0,1 16,16A4,4 0 0,1 12,20A4,4 0 0,1 8,16A4,4 0 0,1 12,12M12,13.5A2.5,2.5 0 0,0 9.5,16A2.5,2.5 0 0,0 12,18.5A2.5,2.5 0 0,0 14.5,16A2.5,2.5 0 0,0 12,13.5Z"},{PackIconKind.PhoneForward,"M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5M18,11L23,6L18,1V4H14V8H18V11Z"},{PackIconKind.PhoneHangup,"M12,9C10.4,9 8.85,9.25 7.4,9.72V12.82C7.4,13.22 7.17,13.56 6.84,13.72C5.86,14.21 4.97,14.84 4.17,15.57C4,15.75 3.75,15.86 3.5,15.86C3.2,15.86 2.95,15.74 2.77,15.56L0.29,13.08C0.11,12.9 0,12.65 0,12.38C0,12.1 0.11,11.85 0.29,11.67C3.34,8.77 7.46,7 12,7C16.54,7 20.66,8.77 23.71,11.67C23.89,11.85 24,12.1 24,12.38C24,12.65 23.89,12.9 23.71,13.08L21.23,15.56C21.05,15.74 20.8,15.86 20.5,15.86C20.25,15.86 20,15.75 19.82,15.57C19.03,14.84 18.14,14.21 17.16,13.72C16.83,13.56 16.6,13.22 16.6,12.82V9.72C15.15,9.25 13.6,9 12,9Z"},{PackIconKind.PhoneInTalk,"M15,12H17A5,5 0 0,0 12,7V9A3,3 0 0,1 15,12M19,12H21C21,7 16.97,3 12,3V5C15.86,5 19,8.13 19,12M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5Z"},{PackIconKind.PhoneIncoming,"M4,3A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.17L13.21,17.37C10.38,15.93 8.06,13.62 6.62,10.78L8.82,8.57C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4M19,11V9.5H15.5L21,4L20,3L14.5,8.5V5H13V11H19Z"},{PackIconKind.PhoneLocked,"M19.2,4H15.8V3.5C15.8,2.56 16.56,1.8 17.5,1.8C18.44,1.8 19.2,2.56 19.2,3.5M20,4V3.5A2.5,2.5 0 0,0 17.5,1A2.5,2.5 0 0,0 15,3.5V4A1,1 0 0,0 14,5V9A1,1 0 0,0 15,10H20A1,1 0 0,0 21,9V5A1,1 0 0,0 20,4M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5Z"},{PackIconKind.PhoneLog,"M20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.24 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.58L6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5M12,3H14V5H12M15,3H21V5H15M12,6H14V8H12M15,6H21V8H15M12,9H14V11H12M15,9H21V11H15"},{PackIconKind.PhoneMinus,"M4,3A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5C18.76,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.07,13.62 6.62,10.79L8.82,8.58C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.24 8.5,4A1,1 0 0,0 7.5,3M13,6V8H21V6"},{PackIconKind.PhoneMissed,"M23.71,16.67C20.66,13.77 16.54,12 12,12C7.46,12 3.34,13.77 0.29,16.67C0.11,16.85 0,17.1 0,17.38C0,17.65 0.11,17.9 0.29,18.08L2.77,20.56C2.95,20.74 3.2,20.86 3.5,20.86C3.75,20.86 4,20.75 4.18,20.57C4.97,19.83 5.86,19.21 6.84,18.72C7.17,18.56 7.4,18.22 7.4,17.82V14.72C8.85,14.25 10.39,14 12,14C13.6,14 15.15,14.25 16.6,14.72V17.82C16.6,18.22 16.83,18.56 17.16,18.72C18.14,19.21 19.03,19.83 19.82,20.57C20,20.75 20.25,20.86 20.5,20.86C20.8,20.86 21.05,20.74 21.23,20.56L23.71,18.08C23.89,17.9 24,17.65 24,17.38C24,17.1 23.89,16.85 23.71,16.67M6.5,5.5L12,11L19,4L18,3L12,9L7.5,4.5H11V3H5V9H6.5V5.5Z"},{PackIconKind.PhoneOutgoing,"M4,3A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.17L13.21,17.37C10.38,15.93 8.06,13.62 6.62,10.78L8.82,8.57C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4M15,3V4.5H18.5L13,10L14,11L19.5,5.5V9H21V3H15Z"},{PackIconKind.PhonePaused,"M19,10H21V3H19M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5M17,3H15V10H17V3Z"},{PackIconKind.PhonePlus,"M4,3A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5C18.76,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.07,13.62 6.62,10.79L8.82,8.58C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.24 8.5,4A1,1 0 0,0 7.5,3M16,3V6H13V8H16V11H18V8H21V6H18V3"},{PackIconKind.PhoneReturn,"M21,6V11H19.5V7.5H13.87L16.3,9.93L15.24,11L11,6.75L15.24,2.5L16.3,3.57L13.87,6H21M8.82,8.58C9.08,8.32 9.17,7.93 9.06,7.58C8.69,6.42 8.5,5.22 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5C18.79,15.5 17.58,15.31 16.43,14.93C16.08,14.82 15.69,14.91 15.43,15.17L13.23,17.37C10.39,15.92 8.09,13.62 6.64,10.78L8.82,8.58Z"},{PackIconKind.PhoneSettings,"M19,11H21V9H19M20,15.5C18.75,15.5 17.55,15.3 16.43,14.93C16.08,14.82 15.69,14.9 15.41,15.18L13.21,17.38C10.38,15.94 8.06,13.62 6.62,10.79L8.82,8.59C9.1,8.31 9.18,7.92 9.07,7.57C8.7,6.45 8.5,5.25 8.5,4A1,1 0 0,0 7.5,3H4A1,1 0 0,0 3,4A17,17 0 0,0 20,21A1,1 0 0,0 21,20V16.5A1,1 0 0,0 20,15.5M17,9H15V11H17M13,9H11V11H13V9Z"},{PackIconKind.PhoneVoip,"M13,17V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H13M23.7,7.67C23.88,7.85 24,8.09 24,8.37C24,8.65 23.89,8.9 23.71,9.08L21.23,11.56C21.05,11.74 20.8,11.85 20.5,11.85C20.25,11.85 20,11.75 19.82,11.57C19,10.84 18.13,10.21 17.15,9.72C16.82,9.56 16.59,9.21 16.59,8.82V5.72C15.14,5.25 13.59,5 12,5C10.4,5 8.85,5.25 7.4,5.73V8.83C7.4,9.23 7.17,9.57 6.84,9.73C5.87,10.22 4.97,10.84 4.18,11.58C4,11.75 3.75,11.86 3.5,11.86C3.2,11.86 2.95,11.75 2.77,11.57L0.29,9.09C0.11,8.91 0,8.66 0,8.38C0,8.1 0.11,7.85 0.29,7.67C3.34,4.78 7.46,3 12,3C16.53,3 20.65,4.78 23.7,7.67M11,10V15H10V10H11M12,10H15V13H13V15H12V10M14,12V11H13V12H14Z"},{PackIconKind.Pi,"M4,5V7H6V19H8V7H14V16A3,3 0 0,0 17,19A3,3 0 0,0 20,16H18A1,1 0 0,1 17,17A1,1 0 0,1 16,16V7H18V5"},{PackIconKind.PiBox,"M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M6,7H17V9H15V14A1,1 0 0,0 16,15A1,1 0 0,0 17,14H19A3,3 0 0,1 16,17A3,3 0 0,1 13,14V9H10V17H8V9H6"},{PackIconKind.Piano,"M4,3H20A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5A2,2 0 0,1 4,3M4,5V19H8V13H6.75V5H4M9,19H15V13H13.75V5H10.25V13H9V19M16,19H20V5H17.25V13H16V19Z"},{PackIconKind.Pig,"M9.5,9A1.5,1.5 0 0,0 8,10.5A1.5,1.5 0 0,0 9.5,12A1.5,1.5 0 0,0 11,10.5A1.5,1.5 0 0,0 9.5,9M14.5,9A1.5,1.5 0 0,0 13,10.5A1.5,1.5 0 0,0 14.5,12A1.5,1.5 0 0,0 16,10.5A1.5,1.5 0 0,0 14.5,9M12,4L12.68,4.03C13.62,3.24 14.82,2.59 15.72,2.35C17.59,1.85 20.88,2.23 21.31,3.83C21.62,5 20.6,6.45 19.03,7.38C20.26,8.92 21,10.87 21,13A9,9 0 0,1 12,22A9,9 0 0,1 3,13C3,10.87 3.74,8.92 4.97,7.38C3.4,6.45 2.38,5 2.69,3.83C3.12,2.23 6.41,1.85 8.28,2.35C9.18,2.59 10.38,3.24 11.32,4.03L12,4M10,16A1,1 0 0,1 11,17A1,1 0 0,1 10,18A1,1 0 0,1 9,17A1,1 0 0,1 10,16M14,16A1,1 0 0,1 15,17A1,1 0 0,1 14,18A1,1 0 0,1 13,17A1,1 0 0,1 14,16M12,13C9.24,13 7,15.34 7,17C7,18.66 9.24,20 12,20C14.76,20 17,18.66 17,17C17,15.34 14.76,13 12,13M7.76,4.28C7.31,4.16 4.59,4.35 4.59,4.35C4.59,4.35 6.8,6.1 7.24,6.22C7.69,6.34 9.77,6.43 9.91,5.9C10.06,5.36 8.2,4.4 7.76,4.28M16.24,4.28C15.8,4.4 13.94,5.36 14.09,5.9C14.23,6.43 16.31,6.34 16.76,6.22C17.2,6.1 19.41,4.35 19.41,4.35C19.41,4.35 16.69,4.16 16.24,4.28Z"},{PackIconKind.Pill,"M4.22,11.29L11.29,4.22C13.64,1.88 17.43,1.88 19.78,4.22C22.12,6.56 22.12,10.36 19.78,12.71L12.71,19.78C10.36,22.12 6.56,22.12 4.22,19.78C1.88,17.43 1.88,13.64 4.22,11.29M5.64,12.71C4.59,13.75 4.24,15.24 4.6,16.57L10.59,10.59L14.83,14.83L18.36,11.29C19.93,9.73 19.93,7.2 18.36,5.64C16.8,4.07 14.27,4.07 12.71,5.64L5.64,12.71Z"},{PackIconKind.Pillar,"M6,5H18A1,1 0 0,1 19,6A1,1 0 0,1 18,7H6A1,1 0 0,1 5,6A1,1 0 0,1 6,5M21,2V4H3V2H21M15,8H17V22H15V8M7,8H9V22H7V8M11,8H13V22H11V8Z"},{PackIconKind.Pin,"M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"},{PackIconKind.PinOff,"M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"},{PackIconKind.PineTree,"M10,21V18H3L8,13H5L10,8H7L12,3L17,8H14L19,13H16L21,18H14V21H10Z"},{PackIconKind.PineTreeBox,"M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M11,19H13V17H18L14,13H17L13,9H16L12,5L8,9H11L7,13H10L6,17H11V19Z"},{PackIconKind.Pinterest,"M13.25,17.25C12.25,17.25 11.29,16.82 10.6,16.1L9.41,20.1L9.33,20.36L9.29,20.34C9.04,20.75 8.61,21 8.12,21C7.37,21 6.75,20.38 6.75,19.62C6.75,19.56 6.76,19.5 6.77,19.44L6.75,19.43L6.81,19.21L9.12,12.26C9.12,12.26 8.87,11.5 8.87,10.42C8.87,8.27 10.03,7.62 10.95,7.62C11.88,7.62 12.73,7.95 12.73,9.26C12.73,10.94 11.61,11.8 11.61,13C11.61,13.94 12.37,14.69 13.29,14.69C16.21,14.69 17.25,12.5 17.25,10.44C17.25,7.71 14.89,5.5 12,5.5C9.1,5.5 6.75,7.71 6.75,10.44C6.75,11.28 7,12.12 7.43,12.85C7.54,13.05 7.6,13.27 7.6,13.5A1.25,1.25 0 0,1 6.35,14.75C5.91,14.75 5.5,14.5 5.27,14.13C4.6,13 4.25,11.73 4.25,10.44C4.25,6.33 7.73,3 12,3C16.27,3 19.75,6.33 19.75,10.44C19.75,13.72 17.71,17.25 13.25,17.25Z"},{PackIconKind.PinterestBox,"M13,16.2C12.2,16.2 11.43,15.86 10.88,15.28L9.93,18.5L9.86,18.69L9.83,18.67C9.64,19 9.29,19.2 8.9,19.2C8.29,19.2 7.8,18.71 7.8,18.1C7.8,18.05 7.81,18 7.81,17.95H7.8L7.85,17.77L9.7,12.21C9.7,12.21 9.5,11.59 9.5,10.73C9.5,9 10.42,8.5 11.16,8.5C11.91,8.5 12.58,8.76 12.58,9.81C12.58,11.15 11.69,11.84 11.69,12.81C11.69,13.55 12.29,14.16 13.03,14.16C15.37,14.16 16.2,12.4 16.2,10.75C16.2,8.57 14.32,6.8 12,6.8C9.68,6.8 7.8,8.57 7.8,10.75C7.8,11.42 8,12.09 8.34,12.68C8.43,12.84 8.5,13 8.5,13.2A1,1 0 0,1 7.5,14.2C7.13,14.2 6.79,14 6.62,13.7C6.08,12.81 5.8,11.79 5.8,10.75C5.8,7.47 8.58,4.8 12,4.8C15.42,4.8 18.2,7.47 18.2,10.75C18.2,13.37 16.57,16.2 13,16.2M20,2H4C2.89,2 2,2.89 2,4V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.Pipe,"M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22"},{PackIconKind.PipeDisconnected,"M16,9V11H8V9H10V8H4V10H2V2H4V4H12A2,2 0 0,1 14,6V9H16M10,15V18A2,2 0 0,0 12,20H20V22H22V14H20V16H14V15H16V13H8V15H10Z"},{PackIconKind.Pistol,"M7,5H23V9H22V10H16A1,1 0 0,0 15,11V12A2,2 0 0,1 13,14H9.62C9.24,14 8.89,14.22 8.72,14.56L6.27,19.45C6.1,19.79 5.76,20 5.38,20H2C2,20 -1,20 3,14C3,14 6,10 2,10V5H3L3.5,4H6.5L7,5M14,12V11A1,1 0 0,0 13,10H12C12,10 11,11 12,12A2,2 0 0,1 10,10A1,1 0 0,0 9,11V12A1,1 0 0,0 10,13H13A1,1 0 0,0 14,12Z"},{PackIconKind.Pizza,"M12,15A2,2 0 0,1 10,13C10,11.89 10.9,11 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15M7,7C7,5.89 7.89,5 9,5A2,2 0 0,1 11,7A2,2 0 0,1 9,9C7.89,9 7,8.1 7,7M12,2C8.43,2 5.23,3.54 3,6L12,22L21,6C18.78,3.54 15.57,2 12,2Z"},{PackIconKind.PlaneShield,"M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,5.68C12.5,5.68 12.95,6.11 12.95,6.63V10.11L18,13.26V14.53L12.95,12.95V16.42L14.21,17.37V18.32L12,17.68L9.79,18.32V17.37L11.05,16.42V12.95L6,14.53V13.26L11.05,10.11V6.63C11.05,6.11 11.5,5.68 12,5.68Z"},{PackIconKind.Play,"M8,5.14V19.14L19,12.14L8,5.14Z"},{PackIconKind.PlayBoxOutline,"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10,8V16L15,12L10,8Z"},{PackIconKind.PlayCircle,"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.PlayCircleOutline,"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M10,16.5L16,12L10,7.5V16.5Z"},{PackIconKind.PlayPause,"M3,5V19L11,12M13,19H16V5H13M18,5V19H21V5"},{PackIconKind.PlayProtectedContent,"M2,5V18H11V16H4V7H17V11H19V5H2M9,9V14L12.5,11.5L9,9M21.04,11.67L16.09,16.62L13.96,14.5L12.55,15.91L16.09,19.45L22.45,13.09L21.04,11.67Z"},{PackIconKind.PlaylistCheck,"M14,10H2V12H14V10M14,6H2V8H14V6M2,16H10V14H2V16M21.5,11.5L23,13L16,20L11.5,15.5L13,14L16,17L21.5,11.5Z"},{PackIconKind.PlaylistMinus,"M2,16H10V14H2M12,14V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z"},{PackIconKind.PlaylistPlay,"M19,9H2V11H19V9M19,5H2V7H19V5M2,15H15V13H2V15M17,13V19L22,16L17,13Z"},{PackIconKind.PlaylistPlus,"M2,16H10V14H2M18,14V10H16V14H12V16H16V20H18V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z"},{PackIconKind.PlaylistRemove,"M2,6V8H14V6H2M2,10V12H10V10H2M14.17,10.76L12.76,12.17L15.59,15L12.76,17.83L14.17,19.24L17,16.41L19.83,19.24L21.24,17.83L18.41,15L21.24,12.17L19.83,10.76L17,13.59L14.17,10.76M2,14V16H10V14H2Z"},{PackIconKind.Playstation,"M9.5,4.27C10.88,4.53 12.9,5.14 14,5.5C16.75,6.45 17.69,7.63 17.69,10.29C17.69,12.89 16.09,13.87 14.05,12.89V8.05C14.05,7.5 13.95,6.97 13.41,6.82C13,6.69 12.76,7.07 12.76,7.63V19.73L9.5,18.69V4.27M13.37,17.62L18.62,15.75C19.22,15.54 19.31,15.24 18.83,15.08C18.34,14.92 17.47,14.97 16.87,15.18L13.37,16.41V14.45L13.58,14.38C13.58,14.38 14.59,14 16,13.87C17.43,13.71 19.17,13.89 20.53,14.4C22.07,14.89 22.25,15.61 21.86,16.1C21.46,16.6 20.5,16.95 20.5,16.95L13.37,19.5V17.62M3.5,17.42C1.93,17 1.66,16.05 2.38,15.5C3.05,15 4.18,14.65 4.18,14.65L8.86,13V14.88L5.5,16.09C4.9,16.3 4.81,16.6 5.29,16.76C5.77,16.92 6.65,16.88 7.24,16.66L8.86,16.08V17.77L8.54,17.83C6.92,18.09 5.2,18 3.5,17.42Z"},{PackIconKind.Plex,"M4,2C2.89,2 2,2.89 2,4V20C2,21.11 2.89,22 4,22H20C21.11,22 22,21.11 22,20V4C22,2.89 21.11,2 20,2H4M8.56,6H12.06L15.5,12L12.06,18H8.56L12,12L8.56,6Z"},{PackIconKind.Plus,"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},{PackIconKind.PlusBox,"M17,13H13V17H11V13H7V11H11V7H13V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.PlusBoxOutline,"M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M11,7H13V11H17V13H13V17H11V13H7V11H11V7Z"},{PackIconKind.PlusCircle,"M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.PlusCircleMultipleOutline,"M16,8H14V11H11V13H14V16H16V13H19V11H16M2,12C2,9.21 3.64,6.8 6,5.68V3.5C2.5,4.76 0,8.09 0,12C0,15.91 2.5,19.24 6,20.5V18.32C3.64,17.2 2,14.79 2,12M15,3C10.04,3 6,7.04 6,12C6,16.96 10.04,21 15,21C19.96,21 24,16.96 24,12C24,7.04 19.96,3 15,3M15,19C11.14,19 8,15.86 8,12C8,8.14 11.14,5 15,5C18.86,5 22,8.14 22,12C22,15.86 18.86,19 15,19Z"},{PackIconKind.PlusCircleOutline,"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"},{PackIconKind.PlusNetwork,"M16,11V9H13V6H11V9H8V11H11V14H13V11H16M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17Z"},{PackIconKind.PlusOne,"M10,8V12H14V14H10V18H8V14H4V12H8V8H10M14.5,6.08L19,5V18H17V7.4L14.5,7.9V6.08Z"},{PackIconKind.PlusOutline,"M4,9H9V4H15V9H20V15H15V20H9V15H4V9M11,13V18H13V13H18V11H13V6H11V11H6V13H11Z"},{PackIconKind.Pocket,"M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12V4.5A2.5,2.5 0 0,1 4.5,2H19.5A2.5,2.5 0 0,1 22,4.5V12M15.88,8.25L12,12.13L8.12,8.24C7.53,7.65 6.58,7.65 6,8.24C5.41,8.82 5.41,9.77 6,10.36L10.93,15.32C11.5,15.9 12.47,15.9 13.06,15.32L18,10.37C18.59,9.78 18.59,8.83 18,8.25C17.42,7.66 16.47,7.66 15.88,8.25Z"},{PackIconKind.Pokeball,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4C7.92,4 4.55,7.05 4.06,11H8.13C8.57,9.27 10.14,8 12,8C13.86,8 15.43,9.27 15.87,11H19.94C19.45,7.05 16.08,4 12,4M12,20C16.08,20 19.45,16.95 19.94,13H15.87C15.43,14.73 13.86,16 12,16C10.14,16 8.57,14.73 8.13,13H4.06C4.55,16.95 7.92,20 12,20M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z"},{PackIconKind.PokerChip,"M23,12C23,18.08 18.08,23 12,23C5.92,23 1,18.08 1,12C1,5.92 5.92,1 12,1C18.08,1 23,5.92 23,12M13,4.06C15.13,4.33 17.07,5.45 18.37,7.16L20.11,6.16C18.45,3.82 15.86,2.3 13,2V4.06M3.89,6.16L5.63,7.16C6.93,5.45 8.87,4.33 11,4.06V2C8.14,2.3 5.55,3.82 3.89,6.16M2.89,16.1L4.62,15.1C3.79,13.12 3.79,10.88 4.62,8.9L2.89,7.9C1.7,10.5 1.7,13.5 2.89,16.1M11,19.94C8.87,19.67 6.93,18.55 5.63,16.84L3.89,17.84C5.55,20.18 8.14,21.7 11,22V19.94M20.11,17.84L18.37,16.84C17.07,18.55 15.13,19.67 13,19.94V21.94C15.85,21.65 18.44,20.16 20.11,17.84M21.11,16.1C22.3,13.5 22.3,10.5 21.11,7.9L19.38,8.9C20.21,10.88 20.21,13.12 19.38,15.1L21.11,16.1M15,12L12,7L9,12L12,17L15,12Z"},{PackIconKind.Polaroid,"M6,3H18A2,2 0 0,1 20,5V19A2,2 0 0,1 18,21H6A2,2 0 0,1 4,19V5A2,2 0 0,1 6,3M6,5V17H18V5H6Z"},{PackIconKind.Poll,"M3,22V8H7V22H3M10,22V2H14V22H10M17,22V14H21V22H17Z"},{PackIconKind.PollBox,"M17,17H15V13H17M13,17H11V7H13M9,17H7V10H9M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.Polymer,"M19,4H15L7.1,16.63L4.5,12L9,4H5L0.5,12L5,20H9L16.89,7.37L19.5,12L15,20H19L23.5,12L19,4Z"},{PackIconKind.Pool,"M2,15C3.67,14.25 5.33,13.5 7,13.17V5A3,3 0 0,1 10,2C11.31,2 12.42,2.83 12.83,4H10A1,1 0 0,0 9,5V6H14V5A3,3 0 0,1 17,2C18.31,2 19.42,2.83 19.83,4H17A1,1 0 0,0 16,5V14.94C18,14.62 20,13 22,13V15C19.78,15 17.56,17 15.33,17C13.11,17 10.89,15 8.67,15C6.44,15 4.22,16 2,17V15M14,8H9V10H14V8M14,12H9V13C10.67,13.16 12.33,14.31 14,14.79V12M2,19C4.22,18 6.44,17 8.67,17C10.89,17 13.11,19 15.33,19C17.56,19 19.78,17 22,17V19C19.78,19 17.56,21 15.33,21C13.11,21 10.89,19 8.67,19C6.44,19 4.22,20 2,21V19Z"},{PackIconKind.Popcorn,"M7,22H4.75C4.75,22 4,22 3.81,20.65L2.04,3.81L2,3.5C2,2.67 2.9,2 4,2C5.1,2 6,2.67 6,3.5C6,2.67 6.9,2 8,2C9.1,2 10,2.67 10,3.5C10,2.67 10.9,2 12,2C13.09,2 14,2.66 14,3.5V3.5C14,2.67 14.9,2 16,2C17.1,2 18,2.67 18,3.5C18,2.67 18.9,2 20,2C21.1,2 22,2.67 22,3.5L21.96,3.81L20.19,20.65C20,22 19.25,22 19.25,22H17L16.5,22H13.75L10.25,22H7.5L7,22M17.85,4.93C17.55,4.39 16.84,4 16,4C15.19,4 14.36,4.36 14,4.87L13.78,20H16.66L17.85,4.93M10,4.87C9.64,4.36 8.81,4 8,4C7.16,4 6.45,4.39 6.15,4.93L7.34,20H10.22L10,4.87Z"},{PackIconKind.Pot,"M19,19A2,2 0 0,1 17,21H7A2,2 0 0,1 5,19V13H3V10H21V13H19V19M6,6H8V8H6V6M11,6H13V8H11V6M16,6H18V8H16V6M18,3H20V5H18V3M13,3H15V5H13V3M8,3H10V5H8V3Z"},{PackIconKind.PotMix,"M19,19A2,2 0 0,1 17,21H7A2,2 0 0,1 5,19V13H3V10H14L18,3.07L19.73,4.07L16.31,10H21V13H19V19Z"},{PackIconKind.Pound,"M5.41,21L6.12,17H2.12L2.47,15H6.47L7.53,9H3.53L3.88,7H7.88L8.59,3H10.59L9.88,7H15.88L16.59,3H18.59L17.88,7H21.88L21.53,9H17.53L16.47,15H20.47L20.12,17H16.12L15.41,21H13.41L14.12,17H8.12L7.41,21H5.41M9.53,9L8.47,15H14.47L15.53,9H9.53Z"},{PackIconKind.PoundBox,"M3,5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5M7,18H9L9.35,16H13.35L13,18H15L15.35,16H17.35L17.71,14H15.71L16.41,10H18.41L18.76,8H16.76L17.12,6H15.12L14.76,8H10.76L11.12,6H9.12L8.76,8H6.76L6.41,10H8.41L7.71,14H5.71L5.35,16H7.35L7,18M10.41,10H14.41L13.71,14H9.71L10.41,10Z"},{PackIconKind.Power,"M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13"},{PackIconKind.PowerPlug,"M16,7V3H14V7H10V3H8V7H8C7,7 6,8 6,9V14.5L9.5,18V21H14.5V18L18,14.5V9C18,8 17,7 16,7Z"},{PackIconKind.PowerPlugOff,"M8,3V6.18C11.1,9.23 14.1,12.3 17.2,15.3C17.4,15 17.8,14.8 18,14.4V8.8C18,7.68 16.7,7.16 16,6.84V3H14V7H10V3H8M3.28,4C2.85,4.42 2.43,4.85 2,5.27L6,9.27V14.5C7.17,15.65 8.33,16.83 9.5,18V21H14.5V18C14.72,17.73 14.95,18.33 15.17,18.44C16.37,19.64 17.47,20.84 18.67,22.04C19.17,21.64 19.57,21.14 19.97,20.74C14.37,15.14 8.77,9.64 3.27,4.04L3.28,4Z"},{PackIconKind.PowerSettings,"M15,24H17V22H15M16.56,4.44L15.11,5.89C16.84,6.94 18,8.83 18,11A6,6 0 0,1 12,17A6,6 0 0,1 6,11C6,8.83 7.16,6.94 8.88,5.88L7.44,4.44C5.36,5.88 4,8.28 4,11A8,8 0 0,0 12,19A8,8 0 0,0 20,11C20,8.28 18.64,5.88 16.56,4.44M13,2H11V12H13M11,24H13V22H11M7,24H9V22H7V24Z"},{PackIconKind.PowerSocket,"M15,15H17V11H15M7,15H9V11H7M11,13H13V9H11M8.83,7H15.2L19,10.8V17H5V10.8M8,5L3,10V19H21V10L16,5H8Z"},{PackIconKind.PowerSocketEu,"M7.5,10.5A1.5,1.5 0 0,1 9,12A1.5,1.5 0 0,1 7.5,13.5C6.66,13.5 6,12.83 6,12A1.5,1.5 0 0,1 7.5,10.5M16.5,10.5A1.5,1.5 0 0,1 18,12A1.5,1.5 0 0,1 16.5,13.5A1.5,1.5 0 0,1 15,12A1.5,1.5 0 0,1 16.5,10.5M4.22,2H19.78C21,2 22,3 22,4.22V19.78A2.22,2.22 0 0,1 19.78,22H4.22C3,22 2,21 2,19.78V4.22A2.22,2.22 0 0,1 4.22,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.PowerSocketUk,"M14.5,13.75H18V16H14.5V13.75M6,13.75H9.5V16H6V13.75M11,6H13V10H11V6M4.22,2A2.22,2.22 0 0,0 2,4.22V19.78C2,21 3,22 4.22,22H19.78A2.22,2.22 0 0,0 22,19.78V4.22C22,3 21,2 19.78,2H4.22M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4Z"},{PackIconKind.PowerSocketUs,"M8,7H10V12H8V7M4.22,2H19.78C21,2 22,3 22,4.22V19.78A2.22,2.22 0 0,1 19.78,22H4.22C3,22 2,21 2,19.78V4.22A2.22,2.22 0 0,1 4.22,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M14,7.5H16V11.5H14V7.5M10.5,16.25A1.5,1.5 0 0,1 12,14.75A1.5,1.5 0 0,1 13.5,16.25V17H10.5V16.25Z"},{PackIconKind.Prescription,"M4,4V10L4,14H6V10H8L13.41,15.41L9.83,19L11.24,20.41L14.83,16.83L18.41,20.41L19.82,19L16.24,15.41L19.82,11.83L18.41,10.41L14.83,14L10.83,10H11A3,3 0 0,0 14,7A3,3 0 0,0 11,4H4M6,6H11A1,1 0 0,1 12,7A1,1 0 0,1 11,8H6V6Z"},{PackIconKind.Presentation,"M2,3H10A2,2 0 0,1 12,1A2,2 0 0,1 14,3H22V5H21V16H15.25L17,22H15L13.25,16H10.75L9,22H7L8.75,16H3V5H2V3M5,5V14H19V5H5Z"},{PackIconKind.PresentationPlay,"M2,3H10A2,2 0 0,1 12,1A2,2 0 0,1 14,3H22V5H21V16H15.25L17,22H15L13.25,16H10.75L9,22H7L8.75,16H3V5H2V3M5,5V14H19V5H5M11.85,11.85C11.76,11.94 11.64,12 11.5,12A0.5,0.5 0 0,1 11,11.5V7.5A0.5,0.5 0 0,1 11.5,7C11.64,7 11.76,7.06 11.85,7.15L13.25,8.54C13.57,8.86 13.89,9.18 13.89,9.5C13.89,9.82 13.57,10.14 13.25,10.46L11.85,11.85Z"},{PackIconKind.Printer,"M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"},{PackIconKind.Printer3d,"M19,6A1,1 0 0,0 20,5A1,1 0 0,0 19,4A1,1 0 0,0 18,5A1,1 0 0,0 19,6M19,2A3,3 0 0,1 22,5V11H18V7H6V11H2V5A3,3 0 0,1 5,2H19M18,18.25C18,18.63 17.79,18.96 17.47,19.13L12.57,21.82C12.4,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L6.53,19.13C6.21,18.96 6,18.63 6,18.25V13C6,12.62 6.21,12.29 6.53,12.12L11.43,9.68C11.59,9.56 11.79,9.5 12,9.5C12.21,9.5 12.4,9.56 12.57,9.68L17.47,12.12C17.79,12.29 18,12.62 18,13V18.25M12,11.65L9.04,13L12,14.6L14.96,13L12,11.65M8,17.66L11,19.29V16.33L8,14.71V17.66M16,17.66V14.71L13,16.33V19.29L16,17.66Z"},{PackIconKind.PrinterAlert,"M14,4V8H6V4H14M15,13A1,1 0 0,0 16,12A1,1 0 0,0 15,11A1,1 0 0,0 14,12A1,1 0 0,0 15,13M13,19V15H7V19H13M15,9A3,3 0 0,1 18,12V17H15V21H5V17H2V12A3,3 0 0,1 5,9H15M22,7V12H20V7H22M22,14V16H20V14H22Z"},{PackIconKind.PrinterSettings,"M18,2V6H6V2H18M19,11A1,1 0 0,0 20,10A1,1 0 0,0 19,9A1,1 0 0,0 18,10A1,1 0 0,0 19,11M16,18V13H8V18H16M19,7A3,3 0 0,1 22,10V16H18V20H6V16H2V10A3,3 0 0,1 5,7H19M15,24V22H17V24H15M11,24V22H13V24H11M7,24V22H9V24H7Z"},{PackIconKind.PriorityHigh,"M14,19H22V17H14V19M14,13.5H22V11.5H14V13.5M14,8H22V6H14V8M2,12.5C2,8.92 4.92,6 8.5,6H9V4L12,7L9,10V8H8.5C6,8 4,10 4,12.5C4,15 6,17 8.5,17H12V19H8.5C4.92,19 2,16.08 2,12.5Z"},{PackIconKind.PriorityLow,"M14,5H22V7H14V5M14,10.5H22V12.5H14V10.5M14,16H22V18H14V16M2,11.5C2,15.08 4.92,18 8.5,18H9V20L12,17L9,14V16H8.5C6,16 4,14 4,11.5C4,9 6,7 8.5,7H12V5H8.5C4.92,5 2,7.92 2,11.5Z"},{PackIconKind.ProfessionalHexagon,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M5,9V15H6.25V13H7A2,2 0 0,0 9,11A2,2 0 0,0 7,9H5M6.25,12V10H6.75A1,1 0 0,1 7.75,11A1,1 0 0,1 6.75,12H6.25M9.75,9V15H11V13H11.75L12.41,15H13.73L12.94,12.61C13.43,12.25 13.75,11.66 13.75,11A2,2 0 0,0 11.75,9H9.75M11,12V10H11.5A1,1 0 0,1 12.5,11A1,1 0 0,1 11.5,12H11M17,9C15.62,9 14.5,10.34 14.5,12C14.5,13.66 15.62,15 17,15C18.38,15 19.5,13.66 19.5,12C19.5,10.34 18.38,9 17,9M17,10.25C17.76,10.25 18.38,11.03 18.38,12C18.38,12.97 17.76,13.75 17,13.75C16.24,13.75 15.63,12.97 15.63,12C15.63,11.03 16.24,10.25 17,10.25Z"},{PackIconKind.Projector,"M16,6C14.87,6 13.77,6.35 12.84,7H4C2.89,7 2,7.89 2,9V15C2,16.11 2.89,17 4,17H5V18A1,1 0 0,0 6,19H8A1,1 0 0,0 9,18V17H15V18A1,1 0 0,0 16,19H18A1,1 0 0,0 19,18V17H20C21.11,17 22,16.11 22,15V9C22,7.89 21.11,7 20,7H19.15C18.23,6.35 17.13,6 16,6M16,7.5A3.5,3.5 0 0,1 19.5,11A3.5,3.5 0 0,1 16,14.5A3.5,3.5 0 0,1 12.5,11A3.5,3.5 0 0,1 16,7.5M4,9H8V10H4V9M16,9A2,2 0 0,0 14,11A2,2 0 0,0 16,13A2,2 0 0,0 18,11A2,2 0 0,0 16,9M4,11H8V12H4V11M4,13H8V14H4V13Z"},{PackIconKind.ProjectorScreen,"M4,2A1,1 0 0,0 3,3V4A1,1 0 0,0 4,5H5V14H11V16.59L6.79,20.79L8.21,22.21L11,19.41V22H13V19.41L15.79,22.21L17.21,20.79L13,16.59V14H19V5H20A1,1 0 0,0 21,4V3A1,1 0 0,0 20,2H4Z"},{PackIconKind.Publish,"M5,4V6H19V4H5M5,14H9V20H15V14H19L12,7L5,14Z"},{PackIconKind.Pulse,"M3,13H5.79L10.1,4.79L11.28,13.75L14.5,9.66L17.83,13H21V15H17L14.67,12.67L9.92,18.73L8.94,11.31L7,15H3V13Z"},{PackIconKind.Puzzle,"M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z"},{PackIconKind.Qqchat,"M3.18,13.54C3.76,12.16 4.57,11.14 5.17,10.92C5.16,10.12 5.31,9.62 5.56,9.22C5.56,9.19 5.5,8.86 5.72,8.45C5.87,4.85 8.21,2 12,2C15.79,2 18.13,4.85 18.28,8.45C18.5,8.86 18.44,9.19 18.44,9.22C18.69,9.62 18.84,10.12 18.83,10.92C19.43,11.14 20.24,12.16 20.82,13.55C21.57,15.31 21.69,17 21.09,17.3C20.68,17.5 20.03,17 19.42,16.12C19.18,17.1 18.58,18 17.73,18.71C18.63,19.04 19.21,19.58 19.21,20.19C19.21,21.19 17.63,22 15.69,22C13.93,22 12.5,21.34 12.21,20.5H11.79C11.5,21.34 10.07,22 8.31,22C6.37,22 4.79,21.19 4.79,20.19C4.79,19.58 5.37,19.04 6.27,18.71C5.42,18 4.82,17.1 4.58,16.12C3.97,17 3.32,17.5 2.91,17.3C2.31,17 2.43,15.31 3.18,13.54Z"},{PackIconKind.Qrcode,"M3,11H5V13H3V11M11,5H13V9H11V5M9,11H13V15H11V13H9V11M15,11H17V13H19V11H21V13H19V15H21V19H19V21H17V19H13V21H11V17H15V15H17V13H15V11M19,19V15H17V19H19M15,3H21V9H15V3M17,5V7H19V5H17M3,3H9V9H3V3M5,5V7H7V5H5M3,15H9V21H3V15M5,17V19H7V17H5Z"},{PackIconKind.QrcodeScan,"M4,4H10V10H4V4M20,4V10H14V4H20M14,15H16V13H14V11H16V13H18V11H20V13H18V15H20V18H18V20H16V18H13V20H11V16H14V15M16,15V18H18V15H16M4,20V14H10V20H4M6,6V8H8V6H6M16,6V8H18V6H16M6,16V18H8V16H6M4,11H6V13H4V11M9,11H13V15H11V13H9V11M11,6H13V10H11V6M2,2V6H0V2A2,2 0 0,1 2,0H6V2H2M22,0A2,2 0 0,1 24,2V6H22V2H18V0H22M2,18V22H6V24H2A2,2 0 0,1 0,22V18H2M22,22V18H24V22A2,2 0 0,1 22,24H18V22H22Z"},{PackIconKind.Quadcopter,"M5.5,1C8,1 10,3 10,5.5C10,6.38 9.75,7.2 9.31,7.9L9.41,8H14.59L14.69,7.9C14.25,7.2 14,6.38 14,5.5C14,3 16,1 18.5,1C21,1 23,3 23,5.5C23,8 21,10 18.5,10C17.62,10 16.8,9.75 16.1,9.31L15,10.41V13.59L16.1,14.69C16.8,14.25 17.62,14 18.5,14C21,14 23,16 23,18.5C23,21 21,23 18.5,23C16,23 14,21 14,18.5C14,17.62 14.25,16.8 14.69,16.1L14.59,16H9.41L9.31,16.1C9.75,16.8 10,17.62 10,18.5C10,21 8,23 5.5,23C3,23 1,21 1,18.5C1,16 3,14 5.5,14C6.38,14 7.2,14.25 7.9,14.69L9,13.59V10.41L7.9,9.31C7.2,9.75 6.38,10 5.5,10C3,10 1,8 1,5.5C1,3 3,1 5.5,1M5.5,3A2.5,2.5 0 0,0 3,5.5A2.5,2.5 0 0,0 5.5,8A2.5,2.5 0 0,0 8,5.5A2.5,2.5 0 0,0 5.5,3M5.5,16A2.5,2.5 0 0,0 3,18.5A2.5,2.5 0 0,0 5.5,21A2.5,2.5 0 0,0 8,18.5A2.5,2.5 0 0,0 5.5,16M18.5,3A2.5,2.5 0 0,0 16,5.5A2.5,2.5 0 0,0 18.5,8A2.5,2.5 0 0,0 21,5.5A2.5,2.5 0 0,0 18.5,3M18.5,16A2.5,2.5 0 0,0 16,18.5A2.5,2.5 0 0,0 18.5,21A2.5,2.5 0 0,0 21,18.5A2.5,2.5 0 0,0 18.5,16M3.91,17.25L5.04,17.91C5.17,17.81 5.33,17.75 5.5,17.75A0.75,0.75 0 0,1 6.25,18.5L6.24,18.6L7.37,19.25L7.09,19.75L5.96,19.09C5.83,19.19 5.67,19.25 5.5,19.25A0.75,0.75 0 0,1 4.75,18.5L4.76,18.4L3.63,17.75L3.91,17.25M3.63,6.25L4.76,5.6L4.75,5.5A0.75,0.75 0 0,1 5.5,4.75C5.67,4.75 5.83,4.81 5.96,4.91L7.09,4.25L7.37,4.75L6.24,5.4L6.25,5.5A0.75,0.75 0 0,1 5.5,6.25C5.33,6.25 5.17,6.19 5.04,6.09L3.91,6.75L3.63,6.25M16.91,4.25L18.04,4.91C18.17,4.81 18.33,4.75 18.5,4.75A0.75,0.75 0 0,1 19.25,5.5L19.24,5.6L20.37,6.25L20.09,6.75L18.96,6.09C18.83,6.19 18.67,6.25 18.5,6.25A0.75,0.75 0 0,1 17.75,5.5L17.76,5.4L16.63,4.75L16.91,4.25M16.63,19.25L17.75,18.5A0.75,0.75 0 0,1 18.5,17.75C18.67,17.75 18.83,17.81 18.96,17.91L20.09,17.25L20.37,17.75L19.25,18.5A0.75,0.75 0 0,1 18.5,19.25C18.33,19.25 18.17,19.19 18.04,19.09L16.91,19.75L16.63,19.25Z"},{PackIconKind.QualityHigh,"M14.5,13.5H16.5V10.5H14.5M18,14A1,1 0 0,1 17,15H16.25V16.5H14.75V15H14A1,1 0 0,1 13,14V10A1,1 0 0,1 14,9H17A1,1 0 0,1 18,10M11,15H9.5V13H7.5V15H6V9H7.5V11.5H9.5V9H11M19,4H5C3.89,4 3,4.89 3,6V18A2,2 0 0,0 5,20H19A2,2 0 0,0 21,18V6C21,4.89 20.1,4 19,4Z"},{PackIconKind.Quicktime,"M12,3A9,9 0 0,1 21,12C21,13.76 20.5,15.4 19.62,16.79L21,18.17V20A1,1 0 0,1 20,21H18.18L16.79,19.62C15.41,20.5 13.76,21 12,21A9,9 0 0,1 3,12A9,9 0 0,1 12,3M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17C12.65,17 13.26,16.88 13.83,16.65L10.95,13.77C10.17,13 10.17,11.72 10.95,10.94C11.73,10.16 13,10.16 13.78,10.94L16.66,13.82C16.88,13.26 17,12.64 17,12A5,5 0 0,0 12,7Z"},{PackIconKind.Radar,"M19.07,4.93L17.66,6.34C19.1,7.79 20,9.79 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12C4,7.92 7.05,4.56 11,4.07V6.09C8.16,6.57 6,9.03 6,12A6,6 0 0,0 12,18A6,6 0 0,0 18,12C18,10.34 17.33,8.84 16.24,7.76L14.83,9.17C15.55,9.9 16,10.9 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12C8,10.14 9.28,8.59 11,8.14V10.28C10.4,10.63 10,11.26 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12C14,11.26 13.6,10.62 13,10.28V2H12A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,9.24 20.88,6.74 19.07,4.93Z"},{PackIconKind.Radiator,"M7.95,3L6.53,5.19L7.95,7.4H7.94L5.95,10.5L4.22,9.6L5.64,7.39L4.22,5.19L6.22,2.09L7.95,3M13.95,2.89L12.53,5.1L13.95,7.3L13.94,7.31L11.95,10.4L10.22,9.5L11.64,7.3L10.22,5.1L12.22,2L13.95,2.89M20,2.89L18.56,5.1L20,7.3V7.31L18,10.4L16.25,9.5L17.67,7.3L16.25,5.1L18.25,2L20,2.89M2,22V14A2,2 0 0,1 4,12H20A2,2 0 0,1 22,14V22H20V20H4V22H2M6,14A1,1 0 0,0 5,15V17A1,1 0 0,0 6,18A1,1 0 0,0 7,17V15A1,1 0 0,0 6,14M10,14A1,1 0 0,0 9,15V17A1,1 0 0,0 10,18A1,1 0 0,0 11,17V15A1,1 0 0,0 10,14M14,14A1,1 0 0,0 13,15V17A1,1 0 0,0 14,18A1,1 0 0,0 15,17V15A1,1 0 0,0 14,14M18,14A1,1 0 0,0 17,15V17A1,1 0 0,0 18,18A1,1 0 0,0 19,17V15A1,1 0 0,0 18,14Z"},{PackIconKind.Radio,"M20,6A2,2 0 0,1 22,8V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V8C2,7.15 2.53,6.42 3.28,6.13L15.71,1L16.47,2.83L8.83,6H20M20,8H4V12H16V10H18V12H20V8M7,14A3,3 0 0,0 4,17A3,3 0 0,0 7,20A3,3 0 0,0 10,17A3,3 0 0,0 7,14Z"},{PackIconKind.RadioHandheld,"M9,2A1,1 0 0,0 8,3C8,8.67 8,14.33 8,20C8,21.11 8.89,22 10,22H15C16.11,22 17,21.11 17,20V9C17,7.89 16.11,7 15,7H10V3A1,1 0 0,0 9,2M10,9H15V13H10V9Z"},{PackIconKind.RadioTower,"M12,10A2,2 0 0,1 14,12C14,12.5 13.82,12.94 13.53,13.29L16.7,22H14.57L12,14.93L9.43,22H7.3L10.47,13.29C10.18,12.94 10,12.5 10,12A2,2 0 0,1 12,10M12,8A4,4 0 0,0 8,12C8,12.5 8.1,13 8.28,13.46L7.4,15.86C6.53,14.81 6,13.47 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12C18,13.47 17.47,14.81 16.6,15.86L15.72,13.46C15.9,13 16,12.5 16,12A4,4 0 0,0 12,8M12,4A8,8 0 0,0 4,12C4,14.36 5,16.5 6.64,17.94L5.92,19.94C3.54,18.11 2,15.23 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12C22,15.23 20.46,18.11 18.08,19.94L17.36,17.94C19,16.5 20,14.36 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.Radioactive,"M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,22C10.05,22 8.22,21.44 6.69,20.47L10,15.47C10.6,15.81 11.28,16 12,16C12.72,16 13.4,15.81 14,15.47L17.31,20.47C15.78,21.44 13.95,22 12,22M2,12C2,7.86 4.5,4.3 8.11,2.78L10.34,8.36C8.96,9 8,10.38 8,12H2M16,12C16,10.38 15.04,9 13.66,8.36L15.89,2.78C19.5,4.3 22,7.86 22,12H16Z"},{PackIconKind.RadioboxBlank,"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.RadioboxMarked,"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"},{PackIconKind.Raspberrypi,"M20,8H22V10H20V8M4,5H20A2,2 0 0,1 22,7H19V9H5V13H8V16H19V17H22A2,2 0 0,1 20,19H16V20H14V19H11V20H7V19H4A2,2 0 0,1 2,17V7A2,2 0 0,1 4,5M19,15H9V10H19V11H22V13H19V15M13,12V14H15V12H13M5,6V8H6V6H5M7,6V8H8V6H7M9,6V8H10V6H9M11,6V8H12V6H11M13,6V8H14V6H13M15,6V8H16V6H15M20,14H22V16H20V14Z"},{PackIconKind.RayEnd,"M20,9C18.69,9 17.58,9.83 17.17,11H2V13H17.17C17.58,14.17 18.69,15 20,15A3,3 0 0,0 23,12A3,3 0 0,0 20,9Z"},{PackIconKind.RayEndArrow,"M1,12L5,16V13H17.17C17.58,14.17 18.69,15 20,15A3,3 0 0,0 23,12A3,3 0 0,0 20,9C18.69,9 17.58,9.83 17.17,11H5V8L1,12Z"},{PackIconKind.RayStart,"M4,9C5.31,9 6.42,9.83 6.83,11H22V13H6.83C6.42,14.17 5.31,15 4,15A3,3 0 0,1 1,12A3,3 0 0,1 4,9Z"},{PackIconKind.RayStartArrow,"M23,12L19,16V13H6.83C6.42,14.17 5.31,15 4,15A3,3 0 0,1 1,12A3,3 0 0,1 4,9C5.31,9 6.42,9.83 6.83,11H19V8L23,12Z"},{PackIconKind.RayStartEnd,"M4,9C5.31,9 6.42,9.83 6.83,11H17.17C17.58,9.83 18.69,9 20,9A3,3 0 0,1 23,12A3,3 0 0,1 20,15C18.69,15 17.58,14.17 17.17,13H6.83C6.42,14.17 5.31,15 4,15A3,3 0 0,1 1,12A3,3 0 0,1 4,9Z"},{PackIconKind.RayVertex,"M2,11H9.17C9.58,9.83 10.69,9 12,9C13.31,9 14.42,9.83 14.83,11H22V13H14.83C14.42,14.17 13.31,15 12,15C10.69,15 9.58,14.17 9.17,13H2V11Z"},{PackIconKind.React,"M12,10.11C13.03,10.11 13.87,10.95 13.87,12C13.87,13 13.03,13.85 12,13.85C10.97,13.85 10.13,13 10.13,12C10.13,10.95 10.97,10.11 12,10.11M7.37,20C8,20.38 9.38,19.8 10.97,18.3C10.45,17.71 9.94,17.07 9.46,16.4C8.64,16.32 7.83,16.2 7.06,16.04C6.55,18.18 6.74,19.65 7.37,20M8.08,14.26L7.79,13.75C7.68,14.04 7.57,14.33 7.5,14.61C7.77,14.67 8.07,14.72 8.38,14.77C8.28,14.6 8.18,14.43 8.08,14.26M14.62,13.5L15.43,12L14.62,10.5C14.32,9.97 14,9.5 13.71,9.03C13.17,9 12.6,9 12,9C11.4,9 10.83,9 10.29,9.03C10,9.5 9.68,9.97 9.38,10.5L8.57,12L9.38,13.5C9.68,14.03 10,14.5 10.29,14.97C10.83,15 11.4,15 12,15C12.6,15 13.17,15 13.71,14.97C14,14.5 14.32,14.03 14.62,13.5M12,6.78C11.81,7 11.61,7.23 11.41,7.5C11.61,7.5 11.8,7.5 12,7.5C12.2,7.5 12.39,7.5 12.59,7.5C12.39,7.23 12.19,7 12,6.78M12,17.22C12.19,17 12.39,16.77 12.59,16.5C12.39,16.5 12.2,16.5 12,16.5C11.8,16.5 11.61,16.5 11.41,16.5C11.61,16.77 11.81,17 12,17.22M16.62,4C16,3.62 14.62,4.2 13.03,5.7C13.55,6.29 14.06,6.93 14.54,7.6C15.36,7.68 16.17,7.8 16.94,7.96C17.45,5.82 17.26,4.35 16.62,4M15.92,9.74L16.21,10.25C16.32,9.96 16.43,9.67 16.5,9.39C16.23,9.33 15.93,9.28 15.62,9.23C15.72,9.4 15.82,9.57 15.92,9.74M17.37,2.69C18.84,3.53 19,5.74 18.38,8.32C20.92,9.07 22.75,10.31 22.75,12C22.75,13.69 20.92,14.93 18.38,15.68C19,18.26 18.84,20.47 17.37,21.31C15.91,22.15 13.92,21.19 12,19.36C10.08,21.19 8.09,22.15 6.62,21.31C5.16,20.47 5,18.26 5.62,15.68C3.08,14.93 1.25,13.69 1.25,12C1.25,10.31 3.08,9.07 5.62,8.32C5,5.74 5.16,3.53 6.62,2.69C8.09,1.85 10.08,2.81 12,4.64C13.92,2.81 15.91,1.85 17.37,2.69M17.08,12C17.42,12.75 17.72,13.5 17.97,14.26C20.07,13.63 21.25,12.73 21.25,12C21.25,11.27 20.07,10.37 17.97,9.74C17.72,10.5 17.42,11.25 17.08,12M6.92,12C6.58,11.25 6.28,10.5 6.03,9.74C3.93,10.37 2.75,11.27 2.75,12C2.75,12.73 3.93,13.63 6.03,14.26C6.28,13.5 6.58,12.75 6.92,12M15.92,14.26C15.82,14.43 15.72,14.6 15.62,14.77C15.93,14.72 16.23,14.67 16.5,14.61C16.43,14.33 16.32,14.04 16.21,13.75L15.92,14.26M13.03,18.3C14.62,19.8 16,20.38 16.62,20C17.26,19.65 17.45,18.18 16.94,16.04C16.17,16.2 15.36,16.32 14.54,16.4C14.06,17.07 13.55,17.71 13.03,18.3M8.08,9.74C8.18,9.57 8.28,9.4 8.38,9.23C8.07,9.28 7.77,9.33 7.5,9.39C7.57,9.67 7.68,9.96 7.79,10.25L8.08,9.74M10.97,5.7C9.38,4.2 8,3.62 7.37,4C6.74,4.35 6.55,5.82 7.06,7.96C7.83,7.8 8.64,7.68 9.46,7.6C9.94,6.93 10.45,6.29 10.97,5.7Z"},{PackIconKind.Read,"M21.59,11.59L23,13L13.5,22.5L8.42,17.41L9.83,16L13.5,19.68L21.59,11.59M4,16V3H6L9,3A4,4 0 0,1 13,7C13,8.54 12.13,9.88 10.85,10.55L14,16H12L9.11,11H6V16H4M6,9H9A2,2 0 0,0 11,7A2,2 0 0,0 9,5H6V9Z"},{PackIconKind.Receipt,"M3,22L4.5,20.5L6,22L7.5,20.5L9,22L10.5,20.5L12,22L13.5,20.5L15,22L16.5,20.5L18,22L19.5,20.5L21,22V2L19.5,3.5L18,2L16.5,3.5L15,2L13.5,3.5L12,2L10.5,3.5L9,2L7.5,3.5L6,2L4.5,3.5L3,2M18,9H6V7H18M18,13H6V11H18M18,17H6V15H18V17Z"},{PackIconKind.Record,"M19,12C19,15.86 15.86,19 12,19C8.14,19 5,15.86 5,12C5,8.14 8.14,5 12,5C15.86,5 19,8.14 19,12Z"},{PackIconKind.RecordRec,"M12.5,5A7.5,7.5 0 0,0 5,12.5A7.5,7.5 0 0,0 12.5,20A7.5,7.5 0 0,0 20,12.5A7.5,7.5 0 0,0 12.5,5M7,10H9A1,1 0 0,1 10,11V12C10,12.5 9.62,12.9 9.14,12.97L10.31,15H9.15L8,13V15H7M12,10H14V11H12V12H14V13H12V14H14V15H12A1,1 0 0,1 11,14V11A1,1 0 0,1 12,10M16,10H18V11H16V14H18V15H16A1,1 0 0,1 15,14V11A1,1 0 0,1 16,10M8,11V12H9V11"},{PackIconKind.Recycle,"M21.82,15.42L19.32,19.75C18.83,20.61 17.92,21.06 17,21H15V23L12.5,18.5L15,14V16H17.82L15.6,12.15L19.93,9.65L21.73,12.77C22.25,13.54 22.32,14.57 21.82,15.42M9.21,3.06H14.21C15.19,3.06 16.04,3.63 16.45,4.45L17.45,6.19L19.18,5.19L16.54,9.6L11.39,9.69L13.12,8.69L11.71,6.24L9.5,10.09L5.16,7.59L6.96,4.47C7.37,3.64 8.22,3.06 9.21,3.06M5.05,19.76L2.55,15.43C2.06,14.58 2.13,13.56 2.64,12.79L3.64,11.06L1.91,10.06L7.05,10.14L9.7,14.56L7.97,13.56L6.56,16H11V21H7.4C6.47,21.07 5.55,20.61 5.05,19.76Z"},{PackIconKind.Reddit,"M22,11.5C22,10.1 20.9,9 19.5,9C18.9,9 18.3,9.2 17.9,9.6C16.4,8.7 14.6,8.1 12.5,8L13.6,4L17,5A2,2 0 0,0 19,7A2,2 0 0,0 21,5A2,2 0 0,0 19,3C18.3,3 17.6,3.4 17.3,4L13.3,3C13,2.9 12.8,3.1 12.7,3.4L11.5,8C9.5,8.1 7.6,8.7 6.1,9.6C5.7,9.2 5.1,9 4.5,9C3.1,9 2,10.1 2,11.5C2,12.4 2.4,13.1 3.1,13.6L3,14.5C3,18.1 7,21 12,21C17,21 21,18.1 21,14.5L20.9,13.6C21.6,13.1 22,12.4 22,11.5M9,11.8C9.7,11.8 10.2,12.4 10.2,13C10.2,13.6 9.7,14.2 9,14.2C8.3,14.2 7.8,13.7 7.8,13C7.8,12.3 8.3,11.8 9,11.8M15.8,17.2C14,18.3 10,18.3 8.2,17.2C8,17 7.9,16.7 8.1,16.5C8.3,16.3 8.6,16.2 8.8,16.4C10,17.3 14,17.3 15.2,16.4C15.4,16.2 15.7,16.3 15.9,16.5C16.1,16.7 16,17 15.8,17.2M15,14.2C14.3,14.2 13.8,13.6 13.8,13C13.8,12.3 14.4,11.8 15,11.8C15.7,11.8 16.2,12.4 16.2,13C16.2,13.7 15.7,14.2 15,14.2Z"},{PackIconKind.Redo,"M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z"},{PackIconKind.RedoVariant,"M10.5,7A6.5,6.5 0 0,0 4,13.5A6.5,6.5 0 0,0 10.5,20H14V18H10.5C8,18 6,16 6,13.5C6,11 8,9 10.5,9H16.17L13.09,12.09L14.5,13.5L20,8L14.5,2.5L13.08,3.91L16.17,7H10.5M18,18H16V20H18V18Z"},{PackIconKind.Refresh,"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},{PackIconKind.Regex,"M16,16.92C15.67,16.97 15.34,17 15,17C14.66,17 14.33,16.97 14,16.92V13.41L11.5,15.89C11,15.5 10.5,15 10.11,14.5L12.59,12H9.08C9.03,11.67 9,11.34 9,11C9,10.66 9.03,10.33 9.08,10H12.59L10.11,7.5C10.3,7.25 10.5,7 10.76,6.76V6.76C11,6.5 11.25,6.3 11.5,6.11L14,8.59V5.08C14.33,5.03 14.66,5 15,5C15.34,5 15.67,5.03 16,5.08V8.59L18.5,6.11C19,6.5 19.5,7 19.89,7.5L17.41,10H20.92C20.97,10.33 21,10.66 21,11C21,11.34 20.97,11.67 20.92,12H17.41L19.89,14.5C19.7,14.75 19.5,15 19.24,15.24V15.24C19,15.5 18.75,15.7 18.5,15.89L16,13.41V16.92H16V16.92M5,19A2,2 0 0,1 7,17A2,2 0 0,1 9,19A2,2 0 0,1 7,21A2,2 0 0,1 5,19H5Z"},{PackIconKind.RelativeScale,"M20,18H4V6H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4M12,10H10V12H12M8,10H6V12H8M16,14H14V16H16M16,10H14V12H16V10Z"},{PackIconKind.Reload,"M19,12H22.32L17.37,16.95L12.42,12H16.97C17,10.46 16.42,8.93 15.24,7.75C12.9,5.41 9.1,5.41 6.76,7.75C4.42,10.09 4.42,13.9 6.76,16.24C8.6,18.08 11.36,18.47 13.58,17.41L15.05,18.88C12,20.69 8,20.29 5.34,17.65C2.22,14.53 2.23,9.47 5.35,6.35C8.5,3.22 13.53,3.21 16.66,6.34C18.22,7.9 19,9.95 19,12Z"},{PackIconKind.Reminder,"M7.25,3C7.9,3 8.5,3.21 9,3.56V3A2,2 0 0,1 11,1A2,2 0 0,1 13,3V3.57C13.5,3.22 14.1,3 14.75,3A3,3 0 0,1 17.75,6C17.75,7.58 16.54,8.87 15,9H13V10H14.24L14.72,10.13L19.31,12.42C20.13,12.73 20.53,13.34 20.53,14.25L20.5,14.39V14.53L19.5,21.28C19.44,21.75 19.22,22.16 18.84,22.5C18.47,22.84 18.05,23 17.58,23H10C9.45,23 9,22.81 8.58,22.41L2,15.84L3.05,14.77C3.33,14.5 3.69,14.34 4.13,14.34H4.45L9,15.33V10L9,9H7V9C5.46,8.86 4.25,7.57 4.25,6A3,3 0 0,1 7.25,3M9,6A1.75,1.75 0 0,0 7.25,4.25A1.75,1.75 0 0,0 5.5,6C5.5,6.88 6.15,7.61 7,7.73V7.75H9V6M15,7.75V7.74C15.85,7.62 16.5,6.89 16.5,6C16.5,5.04 15.72,4.26 14.75,4.26C13.78,4.26 13,5.04 13,6V7.75H15Z"},{PackIconKind.Remote,"M12,0C8.96,0 6.21,1.23 4.22,3.22L5.63,4.63C7.26,3 9.5,2 12,2C14.5,2 16.74,3 18.36,4.64L19.77,3.23C17.79,1.23 15.04,0 12,0M7.05,6.05L8.46,7.46C9.37,6.56 10.62,6 12,6C13.38,6 14.63,6.56 15.54,7.46L16.95,6.05C15.68,4.78 13.93,4 12,4C10.07,4 8.32,4.78 7.05,6.05M12,15A2,2 0 0,1 10,13A2,2 0 0,1 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15M15,9H9A1,1 0 0,0 8,10V22A1,1 0 0,0 9,23H15A1,1 0 0,0 16,22V10A1,1 0 0,0 15,9Z"},{PackIconKind.RenameBox,"M18,17H10.5L12.5,15H18M6,17V14.5L13.88,6.65C14.07,6.45 14.39,6.45 14.59,6.65L16.35,8.41C16.55,8.61 16.55,8.92 16.35,9.12L8.47,17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.ReorderHorizontal,"M3,15H21V13H3V15M3,19H21V17H3V19M3,11H21V9H3V11M3,5V7H21V5H3Z"},{PackIconKind.ReorderVertical,"M9,3V21H11V3H9M5,3V21H7V3H5M13,3V21H15V3H13M19,3H17V21H19V3Z"},{PackIconKind.Repeat,"M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z"},{PackIconKind.RepeatOff,"M2,5.27L3.28,4L20,20.72L18.73,22L15.73,19H7V22L3,18L7,14V17H13.73L7,10.27V11H5V8.27L2,5.27M17,13H19V17.18L17,15.18V13M17,5V2L21,6L17,10V7H8.82L6.82,5H17Z"},{PackIconKind.RepeatOnce,"M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z"},{PackIconKind.Replay,"M12,5V1L7,6L12,11V7A6,6 0 0,1 18,13A6,6 0 0,1 12,19A6,6 0 0,1 6,13H4A8,8 0 0,0 12,21A8,8 0 0,0 20,13A8,8 0 0,0 12,5Z"},{PackIconKind.Reply,"M10,9V5L3,12L10,19V14.9C15,14.9 18.5,16.5 21,20C20,15 17,10 10,9Z"},{PackIconKind.ReplyAll,"M13,9V5L6,12L13,19V14.9C18,14.9 21.5,16.5 24,20C23,15 20,10 13,9M7,8V5L0,12L7,19V16L3,12L7,8Z"},{PackIconKind.Reproduction,"M12.72,13.15L13.62,12.26C13.6,11 14.31,9.44 15.62,8.14C17.57,6.18 20.11,5.55 21.28,6.72C22.45,7.89 21.82,10.43 19.86,12.38C18.56,13.69 17,14.4 15.74,14.38L14.85,15.28C14.5,15.61 14,15.66 13.6,15.41C12.76,15.71 12,16.08 11.56,16.8C11.03,17.68 11.03,19.1 10.47,19.95C9.91,20.81 8.79,21.1 7.61,21.1C6.43,21.1 5,21 3.95,19.5L6.43,19.92C7,20 8.5,19.39 9.05,18.54C9.61,17.68 9.61,16.27 10.14,15.38C10.61,14.6 11.5,14.23 12.43,13.91C12.42,13.64 12.5,13.36 12.72,13.15M7,2A5,5 0 0,1 12,7A5,5 0 0,1 7,12A5,5 0 0,1 2,7A5,5 0 0,1 7,2M7,4A3,3 0 0,0 4,7A3,3 0 0,0 7,10A3,3 0 0,0 10,7A3,3 0 0,0 7,4Z"},{PackIconKind.ResizeBottomRight,"M22,22H20V20H22V22M22,18H20V16H22V18M18,22H16V20H18V22M18,18H16V16H18V18M14,22H12V20H14V22M22,14H20V12H22V14Z"},{PackIconKind.Responsive,"M4,6V16H9V12A2,2 0 0,1 11,10H16A2,2 0 0,1 18,12V16H20V6H4M0,20V18H4A2,2 0 0,1 2,16V6A2,2 0 0,1 4,4H20A2,2 0 0,1 22,6V16A2,2 0 0,1 20,18H24V20H18V20C18,21.11 17.1,22 16,22H11A2,2 0 0,1 9,20H9L0,20M11.5,20A0.5,0.5 0 0,0 11,20.5A0.5,0.5 0 0,0 11.5,21A0.5,0.5 0 0,0 12,20.5A0.5,0.5 0 0,0 11.5,20M15.5,20A0.5,0.5 0 0,0 15,20.5A0.5,0.5 0 0,0 15.5,21A0.5,0.5 0 0,0 16,20.5A0.5,0.5 0 0,0 15.5,20M13,20V21H14V20H13M11,12V19H16V12H11Z"},{PackIconKind.Restart,"M11,4C13.05,4 15.09,4.77 16.65,6.33C19.78,9.46 19.77,14.5 16.64,17.64C14.81,19.5 12.3,20.24 9.91,19.92L10.44,17.96C12.15,18.12 13.93,17.54 15.24,16.23C17.58,13.89 17.58,10.09 15.24,7.75C14.06,6.57 12.53,6 11,6V10.58L6.04,5.63L11,0.68V4M5.34,17.65C2.7,15 2.3,11 4.11,7.94L5.59,9.41C4.5,11.64 4.91,14.39 6.75,16.23C7.27,16.75 7.87,17.16 8.5,17.45L8,19.4C7,19 6.12,18.43 5.34,17.65Z"},{PackIconKind.Restore,"M13,3A9,9 0 0,0 4,12H1L4.89,15.89L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3M12,8V13L16.28,15.54L17,14.33L13.5,12.25V8H12Z"},{PackIconKind.Rewind,"M11.5,12L20,18V6M11,18V6L2.5,12L11,18Z"},{PackIconKind.RewindOutline,"M10,9.9L7,12L10,14.1V9.9M19,9.9L16,12L19,14.1V9.9M12,6V18L3.5,12L12,6M21,6V18L12.5,12L21,6Z"},{PackIconKind.Rhombus,"M21.5,10.8L13.2,2.5C12.5,1.8 11.5,1.8 10.8,2.5L2.5,10.8C1.8,11.5 1.8,12.5 2.5,13.2L10.8,21.5C11.5,22.2 12.5,22.2 13.2,21.5L21.5,13.2C22.1,12.5 22.1,11.5 21.5,10.8Z"},{PackIconKind.RhombusOutline,"M21.5,10.8L13.2,2.5C12.5,1.8 11.5,1.8 10.8,2.5L2.5,10.8C1.8,11.5 1.8,12.5 2.5,13.2L10.8,21.5C11.5,22.2 12.5,22.2 13.2,21.5L21.5,13.2C22.1,12.5 22.1,11.5 21.5,10.8M20.3,12L12,20.3L3.7,12L12,3.7L20.3,12Z"},{PackIconKind.Ribbon,"M13.41,19.31L16.59,22.5L18,21.07L14.83,17.9M15.54,11.53H15.53L12,15.07L8.47,11.53H8.46V11.53C7.56,10.63 7,9.38 7,8A5,5 0 0,1 12,3A5,5 0 0,1 17,8C17,9.38 16.44,10.63 15.54,11.53M16.9,13C18.2,11.73 19,9.96 19,8A7,7 0 0,0 12,1A7,7 0 0,0 5,8C5,9.96 5.81,11.73 7.1,13V13L10.59,16.5L6,21.07L7.41,22.5L16.9,13Z"},{PackIconKind.Rice,"M22,11H19.7C19.4,9.9 18.9,8.8 18.2,8L21.6,2.6L19.9,1.5L16.7,6.6C16.3,6.3 16,6.1 15.5,5.9L16.4,2.3L14.5,1.8L13.7,5.2C13.1,5.1 12.6,5 12,5C8.3,5 5.2,7.6 4.3,11H2C2,15.1 4.5,18.6 8,20.2V22H16V20.2C19.5,18.6 22,15.1 22,11M12,7C14.6,7 16.8,8.7 17.6,11H6.4C7.2,8.7 9.4,7 12,7Z"},{PackIconKind.Ring,"M12,10L8,4.4L9.6,2H14.4L16,4.4L12,10M15.5,6.8L14.3,8.5C16.5,9.4 18,11.5 18,14A6,6 0 0,1 12,20A6,6 0 0,1 6,14C6,11.5 7.5,9.4 9.7,8.5L8.5,6.8C5.8,8.1 4,10.8 4,14A8,8 0 0,0 12,22A8,8 0 0,0 20,14C20,10.8 18.2,8.1 15.5,6.8Z"},{PackIconKind.Road,"M11,16H13V20H11M11,10H13V14H11M11,4H13V8H11M4,22H20V2H4V22Z"},{PackIconKind.RoadVariant,"M18.1,4.8C18,4.3 17.6,4 17.1,4H13L13.2,7H10.8L11,4H6.8C6.3,4 5.9,4.4 5.8,4.8L3.1,18.8C3,19.4 3.5,20 4.1,20H10L10.3,15H13.7L14,20H19.8C20.4,20 20.9,19.4 20.8,18.8L18.1,4.8M10.4,13L10.6,9H13.2L13.4,13H10.4Z"},{PackIconKind.Robot,"M12,2A2,2 0 0,1 14,4C14,4.74 13.6,5.39 13,5.73V7H14A7,7 0 0,1 21,14H22A1,1 0 0,1 23,15V18A1,1 0 0,1 22,19H21V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V19H2A1,1 0 0,1 1,18V15A1,1 0 0,1 2,14H3A7,7 0 0,1 10,7H11V5.73C10.4,5.39 10,4.74 10,4A2,2 0 0,1 12,2M7.5,13A2.5,2.5 0 0,0 5,15.5A2.5,2.5 0 0,0 7.5,18A2.5,2.5 0 0,0 10,15.5A2.5,2.5 0 0,0 7.5,13M16.5,13A2.5,2.5 0 0,0 14,15.5A2.5,2.5 0 0,0 16.5,18A2.5,2.5 0 0,0 19,15.5A2.5,2.5 0 0,0 16.5,13Z"},{PackIconKind.Rocket,"M2.81,14.12L5.64,11.29L8.17,10.79C11.39,6.41 17.55,4.22 19.78,4.22C19.78,6.45 17.59,12.61 13.21,15.83L12.71,18.36L9.88,21.19L9.17,17.66C7.76,17.66 7.76,17.66 7.05,16.95C6.34,16.24 6.34,16.24 6.34,14.83L2.81,14.12M5.64,16.95L7.05,18.36L4.39,21.03H2.97V19.61L5.64,16.95M4.22,15.54L5.46,15.71L3,18.16V16.74L4.22,15.54M8.29,18.54L8.46,19.78L7.26,21H5.84L8.29,18.54M13,9.5A1.5,1.5 0 0,0 11.5,11A1.5,1.5 0 0,0 13,12.5A1.5,1.5 0 0,0 14.5,11A1.5,1.5 0 0,0 13,9.5Z"},{PackIconKind.Roomba,"M12,2C14.65,2 17.19,3.06 19.07,4.93L17.65,6.35C16.15,4.85 14.12,4 12,4C9.88,4 7.84,4.84 6.35,6.35L4.93,4.93C6.81,3.06 9.35,2 12,2M3.66,6.5L5.11,7.94C4.39,9.17 4,10.57 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,10.57 19.61,9.17 18.88,7.94L20.34,6.5C21.42,8.12 22,10.04 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,10.04 2.58,8.12 3.66,6.5M12,6A6,6 0 0,1 18,12C18,13.59 17.37,15.12 16.24,16.24L14.83,14.83C14.08,15.58 13.06,16 12,16C10.94,16 9.92,15.58 9.17,14.83L7.76,16.24C6.63,15.12 6,13.59 6,12A6,6 0 0,1 12,6M12,8A1,1 0 0,0 11,9A1,1 0 0,0 12,10A1,1 0 0,0 13,9A1,1 0 0,0 12,8Z"},{PackIconKind.Rotate3d,"M12,5C16.97,5 21,7.69 21,11C21,12.68 19.96,14.2 18.29,15.29C19.36,14.42 20,13.32 20,12.13C20,9.29 16.42,7 12,7V10L8,6L12,2V5M12,19C7.03,19 3,16.31 3,13C3,11.32 4.04,9.8 5.71,8.71C4.64,9.58 4,10.68 4,11.88C4,14.71 7.58,17 12,17V14L16,18L12,22V19Z"},{PackIconKind.RotateLeft,"M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z"},{PackIconKind.RotateLeftVariant,"M4,2H7A2,2 0 0,1 9,4V20A2,2 0 0,1 7,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M20,15A2,2 0 0,1 22,17V20A2,2 0 0,1 20,22H11V15H20M14,4A8,8 0 0,1 22,12L21.94,13H19.92L20,12A6,6 0 0,0 14,6V9L10,5L14,1V4Z"},{PackIconKind.RotateRight,"M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z"},{PackIconKind.RotateRightVariant,"M10,4V1L14,5L10,9V6A6,6 0 0,0 4,12L4.08,13H2.06L2,12A8,8 0 0,1 10,4M17,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H17A2,2 0 0,1 15,20V4A2,2 0 0,1 17,2M4,15H13V22H4A2,2 0 0,1 2,20V17A2,2 0 0,1 4,15Z"},{PackIconKind.RoundedCorner,"M19,19H21V21H19V19M19,17H21V15H19V17M3,13H5V11H3V13M3,17H5V15H3V17M3,9H5V7H3V9M3,5H5V3H3V5M7,5H9V3H7V5M15,21H17V19H15V21M11,21H13V19H11V21M15,21H17V19H15V21M7,21H9V19H7V21M3,21H5V19H3V21M21,8A5,5 0 0,0 16,3H11V5H16A3,3 0 0,1 19,8V13H21V8Z"},{PackIconKind.RouterWireless,"M4,13H20A1,1 0 0,1 21,14V18A1,1 0 0,1 20,19H4A1,1 0 0,1 3,18V14A1,1 0 0,1 4,13M9,17H10V15H9V17M5,15V17H7V15H5M19,6.93L17.6,8.34C16.15,6.89 14.15,6 11.93,6C9.72,6 7.72,6.89 6.27,8.34L4.87,6.93C6.68,5.12 9.18,4 11.93,4C14.69,4 17.19,5.12 19,6.93M16.17,9.76L14.77,11.17C14.04,10.45 13.04,10 11.93,10C10.82,10 9.82,10.45 9.1,11.17L7.7,9.76C8.78,8.67 10.28,8 11.93,8C13.58,8 15.08,8.67 16.17,9.76Z"},{PackIconKind.Routes,"M11,10H5L3,8L5,6H11V3L12,2L13,3V4H19L21,6L19,8H13V10H19L21,12L19,14H13V20A2,2 0 0,1 15,22H9A2,2 0 0,1 11,20V10Z"},{PackIconKind.Rowing,"M8.5,14.5L4,19L5.5,20.5L9,17H11L8.5,14.5M15,1A2,2 0 0,0 13,3A2,2 0 0,0 15,5A2,2 0 0,0 17,3A2,2 0 0,0 15,1M21,21L18,24L15,21V19.5L7.91,12.41C7.6,12.46 7.3,12.5 7,12.5V10.32C8.66,10.35 10.61,9.45 11.67,8.28L13.07,6.73C13.26,6.5 13.5,6.35 13.76,6.23C14.05,6.09 14.38,6 14.72,6H14.75C16,6 17,7 17,8.26V14C17,14.85 16.65,15.62 16.08,16.17L12.5,12.59V10.32C11.87,10.84 11.07,11.34 10.21,11.71L16.5,18H18L21,21Z"},{PackIconKind.Rss,"M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z"},{PackIconKind.RssBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M7.5,15A1.5,1.5 0 0,0 6,16.5A1.5,1.5 0 0,0 7.5,18A1.5,1.5 0 0,0 9,16.5A1.5,1.5 0 0,0 7.5,15M6,10V12A6,6 0 0,1 12,18H14A8,8 0 0,0 6,10M6,6V8A10,10 0 0,1 16,18H18A12,12 0 0,0 6,6Z"},{PackIconKind.Ruler,"M1.39,18.36L3.16,16.6L4.58,18L5.64,16.95L4.22,15.54L5.64,14.12L8.11,16.6L9.17,15.54L6.7,13.06L8.11,11.65L9.53,13.06L10.59,12L9.17,10.59L10.59,9.17L13.06,11.65L14.12,10.59L11.65,8.11L13.06,6.7L14.47,8.11L15.54,7.05L14.12,5.64L15.54,4.22L18,6.7L19.07,5.64L16.6,3.16L18.36,1.39L22.61,5.64L5.64,22.61L1.39,18.36Z"},{PackIconKind.Run,"M13.5,5.5C14.59,5.5 15.5,4.58 15.5,3.5C15.5,2.38 14.59,1.5 13.5,1.5C12.39,1.5 11.5,2.38 11.5,3.5C11.5,4.58 12.39,5.5 13.5,5.5M9.89,19.38L10.89,15L13,17V23H15V15.5L12.89,13.5L13.5,10.5C14.79,12 16.79,13 19,13V11C17.09,11 15.5,10 14.69,8.58L13.69,7C13.29,6.38 12.69,6 12,6C11.69,6 11.5,6.08 11.19,6.08L6,8.28V13H8V9.58L9.79,8.88L8.19,17L3.29,16L2.89,18L9.89,19.38Z"},{PackIconKind.RunFast,"M16.5,5.5A2,2 0 0,0 18.5,3.5A2,2 0 0,0 16.5,1.5A2,2 0 0,0 14.5,3.5A2,2 0 0,0 16.5,5.5M12.9,19.4L13.9,15L16,17V23H18V15.5L15.9,13.5L16.5,10.5C17.89,12.09 19.89,13 22,13V11C20.24,11.03 18.6,10.11 17.7,8.6L16.7,7C16.34,6.4 15.7,6 15,6C14.7,6 14.5,6.1 14.2,6.1L9,8.3V13H11V9.6L12.8,8.9L11.2,17L6.3,16L5.9,18L12.9,19.4M4,9A1,1 0 0,1 3,8A1,1 0 0,1 4,7H7V9H4M5,5A1,1 0 0,1 4,4A1,1 0 0,1 5,3H10V5H5M3,13A1,1 0 0,1 2,12A1,1 0 0,1 3,11H7V13H3Z"},{PackIconKind.Sale,"M18.65,2.85L19.26,6.71L22.77,8.5L21,12L22.78,15.5L19.24,17.29L18.63,21.15L14.74,20.54L11.97,23.3L9.19,20.5L5.33,21.14L4.71,17.25L1.22,15.47L3,11.97L1.23,8.5L4.74,6.69L5.35,2.86L9.22,3.5L12,0.69L14.77,3.46L18.65,2.85M9.5,7A1.5,1.5 0 0,0 8,8.5A1.5,1.5 0 0,0 9.5,10A1.5,1.5 0 0,0 11,8.5A1.5,1.5 0 0,0 9.5,7M14.5,14A1.5,1.5 0 0,0 13,15.5A1.5,1.5 0 0,0 14.5,17A1.5,1.5 0 0,0 16,15.5A1.5,1.5 0 0,0 14.5,14M8.41,17L17,8.41L15.59,7L7,15.59L8.41,17Z"},{PackIconKind.Sass,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M10,15.33C10.16,15.87 10.14,16.37 10,16.83C10,16.88 9.96,16.93 9.94,17C9.92,17 9.9,17.07 9.87,17.12C9.76,17.36 9.6,17.59 9.41,17.79C8.83,18.43 8,18.67 7.67,18.47C7.29,18.25 7.5,17.35 8.16,16.64C8.88,15.88 9.92,15.38 9.92,15.38V15.38L10,15.33M18.27,6.28C17.82,4.5 14.87,3.92 12.09,4.91C10.43,5.5 8.63,6.42 7.34,7.63C5.81,9.07 5.56,10.32 5.66,10.84C6,12.68 8.54,13.89 9.58,14.78V14.79C9.28,14.94 7.04,16.07 6.5,17.23C5.96,18.45 6.6,19.33 7,19.45C8.34,19.81 9.69,19.16 10.41,18.07C11.11,17.03 11.06,15.68 10.75,15C11.17,14.9 11.66,14.85 12.28,14.92C14.04,15.13 14.38,16.22 14.31,16.68C14.25,17.14 13.88,17.39 13.76,17.47C13.64,17.54 13.6,17.57 13.61,17.63C13.62,17.71 13.68,17.71 13.78,17.69C13.93,17.66 14.71,17.32 14.74,16.47C14.78,15.39 13.75,14.19 11.93,14.22C11.18,14.24 10.71,14.31 10.37,14.44L10.29,14.35C9.16,13.15 7.08,12.3 7.17,10.68C7.2,10.09 7.4,8.55 11.17,6.67C14.25,5.13 16.72,5.55 17.15,6.5C17.76,7.83 15.83,10.32 12.63,10.68C11.41,10.82 10.76,10.34 10.6,10.17C10.43,10 10.41,9.97 10.35,10C10.24,10.07 10.31,10.23 10.35,10.33C10.44,10.58 10.84,11 11.5,11.24C12.09,11.43 13.53,11.54 15.26,10.87C17.2,10.12 18.72,8.03 18.27,6.28Z"},{PackIconKind.Satellite,"M5,18L8.5,13.5L11,16.5L14.5,12L19,18M5,12V10A5,5 0 0,0 10,5H12A7,7 0 0,1 5,12M5,5H8A3,3 0 0,1 5,8M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.SatelliteVariant,"M11.62,1L17.28,6.67L15.16,8.79L13.04,6.67L11.62,8.09L13.95,10.41L12.79,11.58L13.24,12.04C14.17,11.61 15.31,11.77 16.07,12.54L12.54,16.07C11.77,15.31 11.61,14.17 12.04,13.24L11.58,12.79L10.41,13.95L8.09,11.62L6.67,13.04L8.79,15.16L6.67,17.28L1,11.62L3.14,9.5L5.26,11.62L6.67,10.21L3.84,7.38C3.06,6.6 3.06,5.33 3.84,4.55L4.55,3.84C5.33,3.06 6.6,3.06 7.38,3.84L10.21,6.67L11.62,5.26L9.5,3.14L11.62,1M18,14A4,4 0 0,1 14,18V16A2,2 0 0,0 16,14H18M22,14A8,8 0 0,1 14,22V20A6,6 0 0,0 20,14H22Z"},{PackIconKind.Saxophone,"M4,2A1,1 0 0,0 3,3A1,1 0 0,0 4,4A3,3 0 0,1 7,7V8.66L7,15.5C7,19.1 9.9,22 13.5,22C17.1,22 20,19.1 20,15.5V13A1,1 0 0,0 21,12A1,1 0 0,0 20,11H14A1,1 0 0,0 13,12A1,1 0 0,0 14,13V15A1,1 0 0,1 13,16A1,1 0 0,1 12,15V11A1,1 0 0,0 13,10A1,1 0 0,0 12,9V8A1,1 0 0,0 13,7A1,1 0 0,0 12,6V5.5A3.5,3.5 0 0,0 8.5,2H4Z"},{PackIconKind.Scale,"M8.46,15.06L7.05,16.47L5.68,15.1C4.82,16.21 4.24,17.54 4.06,19H6V21H2V20C2,15.16 5.44,11.13 10,10.2V8.2L2,5V3H22V5L14,8.2V10.2C18.56,11.13 22,15.16 22,20V21H18V19H19.94C19.76,17.54 19.18,16.21 18.32,15.1L16.95,16.47L15.54,15.06L16.91,13.68C15.8,12.82 14.46,12.24 13,12.06V14H11V12.06C9.54,12.24 8.2,12.82 7.09,13.68L8.46,15.06M12,18A2,2 0 0,1 14,20A2,2 0 0,1 12,22C11.68,22 11.38,21.93 11.12,21.79L7.27,20L11.12,18.21C11.38,18.07 11.68,18 12,18Z"},{PackIconKind.ScaleBalance,"M12,3C10.73,3 9.6,3.8 9.18,5H3V7H4.95L2,14C1.53,16 3,17 5.5,17C8,17 9.56,16 9,14L6.05,7H9.17C9.5,7.85 10.15,8.5 11,8.83V20H2V22H22V20H13V8.82C13.85,8.5 14.5,7.85 14.82,7H17.95L15,14C14.53,16 16,17 18.5,17C21,17 22.56,16 22,14L19.05,7H21V5H14.83C14.4,3.8 13.27,3 12,3M12,5A1,1 0 0,1 13,6A1,1 0 0,1 12,7A1,1 0 0,1 11,6A1,1 0 0,1 12,5M5.5,10.25L7,14H4L5.5,10.25M18.5,10.25L20,14H17L18.5,10.25Z"},{PackIconKind.ScaleBathroom,"M5,2H19A2,2 0 0,1 21,4V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2M12,4A4,4 0 0,0 8,8H11.26L10.85,5.23L12.9,8H16A4,4 0 0,0 12,4M5,10V20H19V10H5Z"},{PackIconKind.Scanner,"M19.8,10.7L4.2,5L3.5,6.9L17.6,12H5A2,2 0 0,0 3,14V18A2,2 0 0,0 5,20H19A2,2 0 0,0 21,18V12.5C21,11.7 20.5,10.9 19.8,10.7M7,17H5V15H7V17M19,17H9V15H19V17Z"},{PackIconKind.School,"M12,3L1,9L12,15L21,10.09V17H23V9M5,13.18V17.18L12,21L19,17.18V13.18L12,17L5,13.18Z"},{PackIconKind.ScreenRotation,"M7.5,21.5C4.25,19.94 1.91,16.76 1.55,13H0.05C0.56,19.16 5.71,24 12,24L12.66,23.97L8.85,20.16M14.83,21.19L2.81,9.17L9.17,2.81L21.19,14.83M10.23,1.75C9.64,1.16 8.69,1.16 8.11,1.75L1.75,8.11C1.16,8.7 1.16,9.65 1.75,10.23L13.77,22.25C14.36,22.84 15.31,22.84 15.89,22.25L22.25,15.89C22.84,15.3 22.84,14.35 22.25,13.77L10.23,1.75M16.5,2.5C19.75,4.07 22.09,7.24 22.45,11H23.95C23.44,4.84 18.29,0 12,0L11.34,0.03L15.15,3.84L16.5,2.5Z"},{PackIconKind.ScreenRotationLock,"M16.8,2.5C16.8,1.56 17.56,0.8 18.5,0.8C19.44,0.8 20.2,1.56 20.2,2.5V3H16.8V2.5M16,9H21A1,1 0 0,0 22,8V4A1,1 0 0,0 21,3V2.5A2.5,2.5 0 0,0 18.5,0A2.5,2.5 0 0,0 16,2.5V3A1,1 0 0,0 15,4V8A1,1 0 0,0 16,9M8.47,20.5C5.2,18.94 2.86,15.76 2.5,12H1C1.5,18.16 6.66,23 12.95,23L13.61,22.97L9.8,19.15L8.47,20.5M23.25,12.77L20.68,10.2L19.27,11.61L21.5,13.83L15.83,19.5L4.5,8.17L10.17,2.5L12.27,4.61L13.68,3.2L11.23,0.75C10.64,0.16 9.69,0.16 9.11,0.75L2.75,7.11C2.16,7.7 2.16,8.65 2.75,9.23L14.77,21.25C15.36,21.84 16.31,21.84 16.89,21.25L23.25,14.89C23.84,14.3 23.84,13.35 23.25,12.77Z"},{PackIconKind.Screwdriver,"M18,1.83C17.5,1.83 17,2 16.59,2.41C13.72,5.28 8,11 8,11L9.5,12.5L6,16H4L2,20L4,22L8,20V18L11.5,14.5L13,16C13,16 18.72,10.28 21.59,7.41C22.21,6.5 22.37,5.37 21.59,4.59L19.41,2.41C19,2 18.5,1.83 18,1.83M18,4L20,6L13,13L11,11L18,4Z"},{PackIconKind.Script,"M14,20A2,2 0 0,0 16,18V5H9A1,1 0 0,0 8,6V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H18V18L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H12A2,2 0 0,0 14,20Z"},{PackIconKind.Sd,"M18,8H16V4H18M15,8H13V4H15M12,8H10V4H12M18,2H10L4,8V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2Z"},{PackIconKind.Seal,"M20.39,19.37L16.38,18L15,22L11.92,16L9,22L7.62,18L3.61,19.37L6.53,13.37C5.57,12.17 5,10.65 5,9A7,7 0 0,1 12,2A7,7 0 0,1 19,9C19,10.65 18.43,12.17 17.47,13.37L20.39,19.37M7,9L9.69,10.34L9.5,13.34L12,11.68L14.5,13.33L14.33,10.34L17,9L14.32,7.65L14.5,4.67L12,6.31L9.5,4.65L9.67,7.66L7,9Z"},{PackIconKind.SearchWeb,"M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,4.5L8.95,4.53C8.71,5.05 8.34,5.93 8.07,7H10.93C10.66,5.93 10.29,5.05 10.05,4.53C9.87,4.5 9.69,4.5 9.5,4.5M13.83,7C13.24,5.97 12.29,5.17 11.15,4.78C11.39,5.31 11.7,6.08 11.93,7H13.83M5.17,7H7.07C7.3,6.08 7.61,5.31 7.85,4.78C6.71,5.17 5.76,5.97 5.17,7M4.5,9.5C4.5,10 4.58,10.53 4.73,11H6.87L6.75,9.5L6.87,8H4.73C4.58,8.47 4.5,9 4.5,9.5M14.27,11C14.42,10.53 14.5,10 14.5,9.5C14.5,9 14.42,8.47 14.27,8H12.13C12.21,8.5 12.25,9 12.25,9.5C12.25,10 12.21,10.5 12.13,11H14.27M7.87,8L7.75,9.5L7.87,11H11.13C11.21,10.5 11.25,10 11.25,9.5C11.25,9 11.21,8.5 11.13,8H7.87M9.5,14.5C9.68,14.5 9.86,14.5 10.03,14.47C10.28,13.95 10.66,13.07 10.93,12H8.07C8.34,13.07 8.72,13.95 8.97,14.47L9.5,14.5M13.83,12H11.93C11.7,12.92 11.39,13.69 11.15,14.22C12.29,13.83 13.24,13.03 13.83,12M5.17,12C5.76,13.03 6.71,13.83 7.85,14.22C7.61,13.69 7.3,12.92 7.07,12H5.17Z"},{PackIconKind.SeatFlat,"M22,11V13H9V7H18A4,4 0 0,1 22,11M2,14V16H8V18H16V16H22V14M7.14,12.1C8.3,10.91 8.28,9 7.1,7.86C5.91,6.7 4,6.72 2.86,7.9C1.7,9.09 1.72,11 2.9,12.14C4.09,13.3 6,13.28 7.14,12.1Z"},{PackIconKind.SeatFlatAngled,"M22.25,14.29L21.56,16.18L9.2,11.71L11.28,6.05L19.84,9.14C21.94,9.9 23,12.2 22.25,14.29M1.5,12.14L8,14.5V19H16V17.37L20.5,19L21.21,17.11L2.19,10.25M7.3,10.2C8.79,9.5 9.42,7.69 8.71,6.2C8,4.71 6.2,4.08 4.7,4.8C3.21,5.5 2.58,7.3 3.3,8.8C4,10.29 5.8,10.92 7.3,10.2Z"},{PackIconKind.SeatIndividualSuite,"M7,13A3,3 0 0,0 10,10A3,3 0 0,0 7,7A3,3 0 0,0 4,10A3,3 0 0,0 7,13M19,7H11V14H3V7H1V17H23V11A4,4 0 0,0 19,7Z"},{PackIconKind.SeatLegroomExtra,"M4,12V3H2V12A5,5 0 0,0 7,17H13V15H7A3,3 0 0,1 4,12M22.83,17.24C22.45,16.5 21.54,16.27 20.8,16.61L19.71,17.11L16.3,10.13C15.96,9.45 15.27,9 14.5,9H11V3H5V11A3,3 0 0,0 8,14H15L18.41,21L22.13,19.3C22.9,18.94 23.23,18 22.83,17.24Z"},{PackIconKind.SeatLegroomNormal,"M5,12V3H3V12A5,5 0 0,0 8,17H14V15H8A3,3 0 0,1 5,12M20.5,18H19V11A2,2 0 0,0 17,9H12V3H6V11A3,3 0 0,0 9,14H16V21H20.5A1.5,1.5 0 0,0 22,19.5A1.5,1.5 0 0,0 20.5,18Z"},{PackIconKind.SeatLegroomReduced,"M19.97,19.2C20.15,20.16 19.42,21 18.5,21H14V18L15,14H9A3,3 0 0,1 6,11V3H12V9H17A2,2 0 0,1 19,11L17,18H18.44C19.17,18 19.83,18.5 19.97,19.2M5,12V3H3V12A5,5 0 0,0 8,17H12V15H8A3,3 0 0,1 5,12Z"},{PackIconKind.SeatReclineExtra,"M5.35,5.64C4.45,5 4.23,3.76 4.86,2.85C5.5,1.95 6.74,1.73 7.65,2.36C8.55,3 8.77,4.24 8.14,5.15C7.5,6.05 6.26,6.27 5.35,5.64M16,19H8.93C7.45,19 6.19,17.92 5.97,16.46L4,7H2L4,16.76C4.37,19.2 6.47,21 8.94,21H16M16.23,15H11.35L10.32,10.9C11.9,11.79 13.6,12.44 15.47,12.12V10C13.84,10.3 12.03,9.72 10.78,8.74L9.14,7.47C8.91,7.29 8.65,7.17 8.38,7.09C8.06,7 7.72,6.97 7.39,7.03H7.37C6.14,7.25 5.32,8.42 5.53,9.64L6.88,15.56C7.16,17 8.39,18 9.83,18H16.68L20.5,21L22,19.5"},{PackIconKind.SeatReclineNormal,"M7.59,5.41C6.81,4.63 6.81,3.36 7.59,2.58C8.37,1.8 9.64,1.8 10.42,2.58C11.2,3.36 11.2,4.63 10.42,5.41C9.63,6.2 8.37,6.2 7.59,5.41M6,16V7H4V16A5,5 0 0,0 9,21H15V19H9A3,3 0 0,1 6,16M20,20.07L14.93,15H11.5V11.32C12.9,12.47 15.1,13.5 17,13.5V11.32C15.34,11.34 13.39,10.45 12.33,9.28L10.93,7.73C10.74,7.5 10.5,7.35 10.24,7.23C9.95,7.09 9.62,7 9.28,7H9.25C8,7 7,8 7,9.25V15A3,3 0 0,0 10,18H15.07L18.57,21.5"},{PackIconKind.Security,"M12,12H19C18.47,16.11 15.72,19.78 12,20.92V12H5V6.3L12,3.19M12,1L3,5V11C3,16.55 6.84,21.73 12,23C17.16,21.73 21,16.55 21,11V5L12,1Z"},{PackIconKind.SecurityAccount,"M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M17.13,17C15.92,18.85 14.11,20.24 12,20.92C9.89,20.24 8.08,18.85 6.87,17C6.53,16.5 6.24,16 6,15.47C6,13.82 8.71,12.47 12,12.47C15.29,12.47 18,13.79 18,15.47C17.76,16 17.47,16.5 17.13,17Z"},{PackIconKind.SecurityHome,"M11,13H13V16H16V11H18L12,6L6,11H8V16H11V13M12,1L21,5V11C21,16.55 17.16,21.74 12,23C6.84,21.74 3,16.55 3,11V5L12,1Z"},{PackIconKind.SecurityNetwork,"M13,18H14A1,1 0 0,1 15,19H22V21H15A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21H2V19H9A1,1 0 0,1 10,18H11V16.34C8.07,15.13 6,12 6,8.67V4.67L12,2L18,4.67V8.67C18,12 15.93,15.13 13,16.34V18M12,4L8,5.69V9H12V4M12,9V15C13.91,14.53 16,12.06 16,10V9H12Z"},{PackIconKind.Select,"M4,3H5V5H3V4A1,1 0 0,1 4,3M20,3A1,1 0 0,1 21,4V5H19V3H20M15,5V3H17V5H15M11,5V3H13V5H11M7,5V3H9V5H7M21,20A1,1 0 0,1 20,21H19V19H21V20M15,21V19H17V21H15M11,21V19H13V21H11M7,21V19H9V21H7M4,21A1,1 0 0,1 3,20V19H5V21H4M3,15H5V17H3V15M21,15V17H19V15H21M3,11H5V13H3V11M21,11V13H19V11H21M3,7H5V9H3V7M21,7V9H19V7H21Z"},{PackIconKind.SelectAll,"M9,9H15V15H9M7,17H17V7H7M15,5H17V3H15M15,21H17V19H15M19,17H21V15H19M19,9H21V7H19M19,21A2,2 0 0,0 21,19H19M19,13H21V11H19M11,21H13V19H11M9,3H7V5H9M3,17H5V15H3M5,21V19H3A2,2 0 0,0 5,21M19,3V5H21A2,2 0 0,0 19,3M13,3H11V5H13M3,9H5V7H3M7,21H9V19H7M3,13H5V11H3M3,5H5V3A2,2 0 0,0 3,5Z"},{PackIconKind.SelectInverse,"M5,3H7V5H9V3H11V5H13V3H15V5H17V3H19V5H21V7H19V9H21V11H19V13H21V15H19V17H21V19H19V21H17V19H15V21H13V19H11V21H9V19H7V21H5V19H3V17H5V15H3V13H5V11H3V9H5V7H3V5H5V3Z"},{PackIconKind.SelectOff,"M1,4.27L2.28,3L21,21.72L19.73,23L17,20.27V21H15V19H15.73L5,8.27V9H3V7H3.73L1,4.27M20,3A1,1 0 0,1 21,4V5H19V3H20M15,5V3H17V5H15M11,5V3H13V5H11M7,5V3H9V5H7M11,21V19H13V21H11M7,21V19H9V21H7M4,21A1,1 0 0,1 3,20V19H5V21H4M3,15H5V17H3V15M21,15V17H19V15H21M3,11H5V13H3V11M21,11V13H19V11H21M21,7V9H19V7H21Z"},{PackIconKind.Selection,"M2,4C2,2.89 2.9,2 4,2H7V4H4V7H2V4M22,4V7H20V4H17V2H20A2,2 0 0,1 22,4M20,20V17H22V20C22,21.11 21.1,22 20,22H17V20H20M2,20V17H4V20H7V22H4A2,2 0 0,1 2,20M10,2H14V4H10V2M10,20H14V22H10V20M20,10H22V14H20V10M2,10H4V14H2V10Z"},{PackIconKind.SelectionOff,"M0.5,3.77L1.78,2.5L21.5,22.22L20.23,23.5L18.73,22H17V20.27L3.73,7H2V5.27L0.5,3.77M4,2H7V4H5.82L3.83,2H4M22,4V7H20V4H17V2H20A2,2 0 0,1 22,4M20,17H22V20L22,20.17L20,18.18V17M2,20V17H4V20H7V22H4A2,2 0 0,1 2,20M10,2H14V4H10V2M10,20H14V22H10V20M20,10H22V14H20V10M2,10H4V14H2V10Z"},{PackIconKind.Send,"M2,21L23,12L2,3V10L17,12L2,14V21Z"},{PackIconKind.SendSecure,"M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z"},{PackIconKind.SerialPort,"M7,3H17V5H19V8H16V14H8V8H5V5H7V3M17,9H19V14H17V9M11,15H13V22H11V15M5,9H7V14H5V9Z"},{PackIconKind.Server,"M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z"},{PackIconKind.ServerMinus,"M4,4H20A1,1 0 0,1 21,5V9A1,1 0 0,1 20,10H4A1,1 0 0,1 3,9V5A1,1 0 0,1 4,4M9,8H10V6H9V8M5,6V8H7V6H5M8,16H16V18H8V16Z"},{PackIconKind.ServerNetwork,"M13,18H14A1,1 0 0,1 15,19H22V21H15A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21H2V19H9A1,1 0 0,1 10,18H11V16H4A1,1 0 0,1 3,15V11A1,1 0 0,1 4,10H20A1,1 0 0,1 21,11V15A1,1 0 0,1 20,16H13V18M4,2H20A1,1 0 0,1 21,3V7A1,1 0 0,1 20,8H4A1,1 0 0,1 3,7V3A1,1 0 0,1 4,2M9,6H10V4H9V6M9,14H10V12H9V14M5,4V6H7V4H5M5,12V14H7V12H5Z"},{PackIconKind.ServerNetworkOff,"M13,18H14A1,1 0 0,1 15,19H15.73L13,16.27V18M22,19V20.18L20.82,19H22M21,21.72L19.73,23L17.73,21H15A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21H2V19H9A1,1 0 0,1 10,18H11V16H4A1,1 0 0,1 3,15V11A1,1 0 0,1 4,10H6.73L4.73,8H4A1,1 0 0,1 3,7V6.27L1,4.27L2.28,3L21,21.72M4,2H20A1,1 0 0,1 21,3V7A1,1 0 0,1 20,8H9.82L7,5.18V4H5.82L3.84,2C3.89,2 3.94,2 4,2M20,10A1,1 0 0,1 21,11V15A1,1 0 0,1 20,16H17.82L11.82,10H20M9,6H10V4H9V6M9,14H10V13.27L9,12.27V14M5,12V14H7V12H5Z"},{PackIconKind.ServerOff,"M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H8.82L6.82,5H7V3H5V3.18L3.21,1.39C3.39,1.15 3.68,1 4,1M22,22.72L20.73,24L19.73,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17H13.73L11.73,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9H5.73L3.68,6.95C3.38,6.85 3.15,6.62 3.05,6.32L1,4.27L2.28,3L22,22.72M20,9A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H16.82L10.82,9H20M20,17A1,1 0 0,1 21,18V19.18L18.82,17H20M9,5H10V3H9V5M9,13H9.73L9,12.27V13M9,21H10V19H9V21M5,11V13H7V11H5M5,19V21H7V19H5Z"},{PackIconKind.ServerPlus,"M4,4H20A1,1 0 0,1 21,5V9A1,1 0 0,1 20,10H4A1,1 0 0,1 3,9V5A1,1 0 0,1 4,4M9,8H10V6H9V8M5,6V8H7V6H5M8,16H11V13H13V16H16V18H13V21H11V18H8V16Z"},{PackIconKind.ServerRemove,"M4,4H20A1,1 0 0,1 21,5V9A1,1 0 0,1 20,10H4A1,1 0 0,1 3,9V5A1,1 0 0,1 4,4M9,8H10V6H9V8M5,6V8H7V6H5M10.59,17L8,14.41L9.41,13L12,15.59L14.59,13L16,14.41L13.41,17L16,19.59L14.59,21L12,18.41L9.41,21L8,19.59L10.59,17Z"},{PackIconKind.ServerSecurity,"M3,1H19A1,1 0 0,1 20,2V6A1,1 0 0,1 19,7H3A1,1 0 0,1 2,6V2A1,1 0 0,1 3,1M3,9H19A1,1 0 0,1 20,10V10.67L17.5,9.56L11,12.44V15H3A1,1 0 0,1 2,14V10A1,1 0 0,1 3,9M3,17H11C11.06,19.25 12,21.4 13.46,23H3A1,1 0 0,1 2,22V18A1,1 0 0,1 3,17M8,5H9V3H8V5M8,13H9V11H8V13M8,21H9V19H8V21M4,3V5H6V3H4M4,11V13H6V11H4M4,19V21H6V19H4M17.5,12L22,14V17C22,19.78 20.08,22.37 17.5,23C14.92,22.37 13,19.78 13,17V14L17.5,12M17.5,13.94L15,15.06V17.72C15,19.26 16.07,20.7 17.5,21.06V13.94Z"},{PackIconKind.SetAll,"M9,5C10.04,5 11.06,5.24 12,5.68C12.94,5.24 13.96,5 15,5A7,7 0 0,1 22,12A7,7 0 0,1 15,19C13.96,19 12.94,18.76 12,18.32C11.06,18.76 10.04,19 9,19A7,7 0 0,1 2,12A7,7 0 0,1 9,5M8.5,12C8.5,13.87 9.29,15.56 10.56,16.75L11.56,16.29C10.31,15.29 9.5,13.74 9.5,12C9.5,10.26 10.31,8.71 11.56,7.71L10.56,7.25C9.29,8.44 8.5,10.13 8.5,12M15.5,12C15.5,10.13 14.71,8.44 13.44,7.25L12.44,7.71C13.69,8.71 14.5,10.26 14.5,12C14.5,13.74 13.69,15.29 12.44,16.29L13.44,16.75C14.71,15.56 15.5,13.87 15.5,12Z"},{PackIconKind.SetCenter,"M9,5A7,7 0 0,0 2,12A7,7 0 0,0 9,19C10.04,19 11.06,18.76 12,18.32C12.94,18.76 13.96,19 15,19A7,7 0 0,0 22,12A7,7 0 0,0 15,5C13.96,5 12.94,5.24 12,5.68C11.06,5.24 10.04,5 9,5M9,7C9.34,7 9.67,7.03 10,7.1C8.72,8.41 8,10.17 8,12C8,13.83 8.72,15.59 10,16.89C9.67,16.96 9.34,17 9,17A5,5 0 0,1 4,12A5,5 0 0,1 9,7M15,7A5,5 0 0,1 20,12A5,5 0 0,1 15,17C14.66,17 14.33,16.97 14,16.9C15.28,15.59 16,13.83 16,12C16,10.17 15.28,8.41 14,7.11C14.33,7.04 14.66,7 15,7Z"},{PackIconKind.SetCenterRight,"M15,19C13.96,19 12.94,18.76 12,18.32C11.06,18.76 10.04,19 9,19A7,7 0 0,1 2,12A7,7 0 0,1 9,5C10.04,5 11.06,5.24 12,5.68C12.94,5.24 13.96,5 15,5A7,7 0 0,1 22,12A7,7 0 0,1 15,19M9,17L10,16.89C8.72,15.59 8,13.83 8,12C8,10.17 8.72,8.41 10,7.1L9,7A5,5 0 0,0 4,12A5,5 0 0,0 9,17M15.5,12C15.5,10.13 14.71,8.44 13.44,7.25L12.44,7.71C13.69,8.71 14.5,10.26 14.5,12C14.5,13.74 13.69,15.29 12.44,16.29L13.44,16.75C14.71,15.56 15.5,13.87 15.5,12Z"},{PackIconKind.SetLeft,"M9,5A7,7 0 0,0 2,12A7,7 0 0,0 9,19C10.04,19 11.06,18.76 12,18.32C12.94,18.76 13.96,19 15,19A7,7 0 0,0 22,12A7,7 0 0,0 15,5C13.96,5 12.94,5.24 12,5.68C11.06,5.24 10.04,5 9,5M15,7A5,5 0 0,1 20,12A5,5 0 0,1 15,17C14.66,17 14.33,16.97 14,16.9C15.28,15.59 16,13.83 16,12C16,10.17 15.28,8.41 14,7.11C14.33,7.04 14.66,7 15,7M12,8C13.26,8.95 14,10.43 14,12C14,13.57 13.26,15.05 12,16C10.74,15.05 10,13.57 10,12C10,10.43 10.74,8.95 12,8Z"},{PackIconKind.SetLeftCenter,"M9,5C10.04,5 11.06,5.24 12,5.68C12.94,5.24 13.96,5 15,5A7,7 0 0,1 22,12A7,7 0 0,1 15,19C13.96,19 12.94,18.76 12,18.32C11.06,18.76 10.04,19 9,19A7,7 0 0,1 2,12A7,7 0 0,1 9,5M15,7L14,7.11C15.28,8.41 16,10.17 16,12C16,13.83 15.28,15.59 14,16.9L15,17A5,5 0 0,0 20,12A5,5 0 0,0 15,7M8.5,12C8.5,13.87 9.29,15.56 10.56,16.75L11.56,16.29C10.31,15.29 9.5,13.74 9.5,12C9.5,10.26 10.31,8.71 11.56,7.71L10.56,7.25C9.29,8.44 8.5,10.13 8.5,12Z"},{PackIconKind.SetLeftRight,"M9,5C10.04,5 11.06,5.24 12,5.68C12.94,5.24 13.96,5 15,5A7,7 0 0,1 22,12A7,7 0 0,1 15,19C13.96,19 12.94,18.76 12,18.32C11.06,18.76 10.04,19 9,19A7,7 0 0,1 2,12A7,7 0 0,1 9,5M9,12C9,14.22 10.21,16.16 12,17.2C13.79,16.16 15,14.22 15,12C15,9.78 13.79,7.84 12,6.8C10.21,7.84 9,9.78 9,12Z"},{PackIconKind.SetNone,"M9,5A7,7 0 0,0 2,12A7,7 0 0,0 9,19C10.04,19 11.06,18.76 12,18.32C12.94,18.76 13.96,19 15,19A7,7 0 0,0 22,12A7,7 0 0,0 15,5C13.96,5 12.94,5.24 12,5.68C11.06,5.24 10.04,5 9,5M9,7C9.34,7 9.67,7.03 10,7.1C8.72,8.41 8,10.17 8,12C8,13.83 8.72,15.59 10,16.89C9.67,16.96 9.34,17 9,17A5,5 0 0,1 4,12A5,5 0 0,1 9,7M15,7A5,5 0 0,1 20,12A5,5 0 0,1 15,17C14.66,17 14.33,16.97 14,16.9C15.28,15.59 16,13.83 16,12C16,10.17 15.28,8.41 14,7.11C14.33,7.04 14.66,7 15,7M12,8C13.26,8.95 14,10.43 14,12C14,13.57 13.26,15.05 12,16C10.74,15.05 10,13.57 10,12C10,10.43 10.74,8.95 12,8Z"},{PackIconKind.SetRight,"M15,19C13.96,19 12.94,18.76 12,18.32C11.06,18.76 10.04,19 9,19A7,7 0 0,1 2,12A7,7 0 0,1 9,5C10.04,5 11.06,5.24 12,5.68C12.94,5.24 13.96,5 15,5A7,7 0 0,1 22,12A7,7 0 0,1 15,19M9,17L10,16.89C8.72,15.59 8,13.83 8,12C8,10.17 8.72,8.41 10,7.1L9,7A5,5 0 0,0 4,12A5,5 0 0,0 9,17M12,16C13.26,15.05 14,13.57 14,12C14,10.43 13.26,8.95 12,8C10.74,8.95 10,10.43 10,12C10,13.57 10.74,15.05 12,16Z"},{PackIconKind.Settings,"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"},{PackIconKind.SettingsBox,"M17.25,12C17.25,12.23 17.23,12.46 17.2,12.68L18.68,13.84C18.81,13.95 18.85,14.13 18.76,14.29L17.36,16.71C17.27,16.86 17.09,16.92 16.93,16.86L15.19,16.16C14.83,16.44 14.43,16.67 14,16.85L13.75,18.7C13.72,18.87 13.57,19 13.4,19H10.6C10.43,19 10.28,18.87 10.25,18.7L10,16.85C9.56,16.67 9.17,16.44 8.81,16.16L7.07,16.86C6.91,16.92 6.73,16.86 6.64,16.71L5.24,14.29C5.15,14.13 5.19,13.95 5.32,13.84L6.8,12.68C6.77,12.46 6.75,12.23 6.75,12C6.75,11.77 6.77,11.54 6.8,11.32L5.32,10.16C5.19,10.05 5.15,9.86 5.24,9.71L6.64,7.29C6.73,7.13 6.91,7.07 7.07,7.13L8.81,7.84C9.17,7.56 9.56,7.32 10,7.15L10.25,5.29C10.28,5.13 10.43,5 10.6,5H13.4C13.57,5 13.72,5.13 13.75,5.29L14,7.15C14.43,7.32 14.83,7.56 15.19,7.84L16.93,7.13C17.09,7.07 17.27,7.13 17.36,7.29L18.76,9.71C18.85,9.86 18.81,10.05 18.68,10.16L17.2,11.32C17.23,11.54 17.25,11.77 17.25,12M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M12,10C10.89,10 10,10.89 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12C14,10.89 13.1,10 12,10Z"},{PackIconKind.Shape,"M11,13.5V21.5H3V13.5H11M12,2L17.5,11H6.5L12,2M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13Z"},{PackIconKind.ShapeCirclePlus,"M11,19A6,6 0 0,0 17,13H19A8,8 0 0,1 11,21A8,8 0 0,1 3,13A8,8 0 0,1 11,5V7A6,6 0 0,0 5,13A6,6 0 0,0 11,19M19,5H22V7H19V10H17V7H14V5H17V2H19V5Z"},{PackIconKind.ShapeOutline,"M11,13.5V21.5H3V13.5H11M9,15.5H5V19.5H9V15.5M12,2L17.5,11H6.5L12,2M12,5.86L10.08,9H13.92L12,5.86M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13M17.5,15A2.5,2.5 0 0,0 15,17.5A2.5,2.5 0 0,0 17.5,20A2.5,2.5 0 0,0 20,17.5A2.5,2.5 0 0,0 17.5,15Z"},{PackIconKind.ShapePlus,"M2,2H11V11H2V2M17.5,2C20,2 22,4 22,6.5C22,9 20,11 17.5,11C15,11 13,9 13,6.5C13,4 15,2 17.5,2M6.5,14L11,22H2L6.5,14M19,17H22V19H19V22H17V19H14V17H17V14H19V17Z"},{PackIconKind.ShapePolygonPlus,"M17,15.7V13H19V17L10,21L3,14L7,5H11V7H8.3L5.4,13.6L10.4,18.6L17,15.7M22,5V7H19V10H17V7H14V5H17V2H19V5H22Z"},{PackIconKind.ShapeRectanglePlus,"M19,6H22V8H19V11H17V8H14V6H17V3H19V6M17,17V14H19V19H3V6H11V8H5V17H17Z"},{PackIconKind.ShapeSquarePlus,"M19,5H22V7H19V10H17V7H14V5H17V2H19V5M17,19V13H19V21H3V5H11V7H5V19H17Z"},{PackIconKind.Share,"M21,11L14,4V8C7,9 4,14 3,19C5.5,15.5 9,13.9 14,13.9V18L21,11Z"},{PackIconKind.ShareVariant,"M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z"},{PackIconKind.Shield,"M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"},{PackIconKind.ShieldHalfFull,"M21,11C21,16.55 17.16,21.74 12,23C6.84,21.74 3,16.55 3,11V5L12,1L21,5V11M12,21C15.75,20 19,15.54 19,11.22V6.3L12,3.18V21Z"},{PackIconKind.ShieldOutline,"M21,11C21,16.55 17.16,21.74 12,23C6.84,21.74 3,16.55 3,11V5L12,1L21,5V11M12,21C15.75,20 19,15.54 19,11.22V6.3L12,3.18L5,6.3V11.22C5,15.54 8.25,20 12,21Z"},{PackIconKind.ShipWheel,"M2,11L4.05,11.1C4.3,8.83 5.5,6.85 7.25,5.56L6.13,3.84C5.86,3.36 6,2.75 6.5,2.47C7,2.2 7.59,2.36 7.87,2.84L8.8,4.66C9.78,4.24 10.86,4 12,4C13.14,4 14.22,4.24 15.2,4.66L16.13,2.84C16.41,2.36 17,2.2 17.5,2.47C18,2.75 18.14,3.36 17.87,3.84L16.75,5.56C18.5,6.85 19.7,8.83 19.95,11.1L22,11A1,1 0 0,1 23,12A1,1 0 0,1 22,13L19.95,12.9C19.7,15.17 18.5,17.15 16.75,18.44L17.87,20.16C18.14,20.64 18,21.25 17.5,21.53C17,21.8 16.41,21.64 16.13,21.16L15.2,19.34C14.22,19.76 13.14,20 12,20C10.86,20 9.78,19.76 8.8,19.34L7.87,21.16C7.59,21.64 7,21.8 6.5,21.53C6,21.25 5.86,20.64 6.13,20.16L7.25,18.44C5.5,17.15 4.3,15.17 4.05,12.9L2,13A1,1 0 0,1 1,12A1,1 0 0,1 2,11M9.07,11.35C9.2,10.74 9.53,10.2 10,9.79L8.34,7.25C7.11,8.19 6.27,9.6 6.05,11.2L9.07,11.35M12,9C12.32,9 12.62,9.05 12.9,9.14L14.28,6.45C13.58,6.16 12.81,6 12,6C11.19,6 10.42,6.16 9.72,6.45L11.1,9.14C11.38,9.05 11.68,9 12,9M14.93,11.35L17.95,11.2C17.73,9.6 16.89,8.19 15.66,7.25L14,9.79C14.47,10.2 14.8,10.74 14.93,11.35M14.93,12.65C14.8,13.26 14.47,13.8 14,14.21L15.66,16.75C16.89,15.81 17.73,14.4 17.95,12.8L14.93,12.65M12,15C11.68,15 11.38,14.95 11.09,14.86L9.72,17.55C10.42,17.84 11.19,18 12,18C12.81,18 13.58,17.84 14.28,17.55L12.91,14.86C12.62,14.95 12.32,15 12,15M9.07,12.65L6.05,12.8C6.27,14.4 7.11,15.81 8.34,16.75L10,14.21C9.53,13.8 9.2,13.26 9.07,12.65Z"},{PackIconKind.Shopping,"M12,13A5,5 0 0,1 7,8H9A3,3 0 0,0 12,11A3,3 0 0,0 15,8H17A5,5 0 0,1 12,13M12,3A3,3 0 0,1 15,6H9A3,3 0 0,1 12,3M19,6H17A5,5 0 0,0 12,1A5,5 0 0,0 7,6H5C3.89,6 3,6.89 3,8V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V8C21,6.89 20.1,6 19,6Z"},{PackIconKind.ShoppingMusic,"M12,3A3,3 0 0,0 9,6H15A3,3 0 0,0 12,3M19,6A2,2 0 0,1 21,8V20A2,2 0 0,1 19,22H5C3.89,22 3,21.1 3,20V8C3,6.89 3.89,6 5,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6H19M9,19L16.5,14L9,10V19Z"},{PackIconKind.Shovel,"M15.1,1.81L12.27,4.64C11.5,5.42 11.5,6.69 12.27,7.47L13.68,8.88L9.13,13.43L6.31,10.6L4.89,12C-0.06,17 3.5,20.5 3.5,20.5C3.5,20.5 7,24 12,19.09L13.41,17.68L10.61,14.88L15.15,10.34L16.54,11.73C17.32,12.5 18.59,12.5 19.37,11.73L22.2,8.9L15.1,1.81M17.93,10.28L16.55,8.9L15.11,7.46L13.71,6.06L15.12,4.65L19.35,8.88L17.93,10.28Z"},{PackIconKind.ShovelOff,"M15.1,1.81L12.27,4.65C11.5,5.43 11.5,6.69 12.27,7.47L13.68,8.89L13,9.62L14.44,11.06L15.17,10.33L16.56,11.72C17.34,12.5 18.61,12.5 19.39,11.72L22.22,8.88L15.1,1.81M17.93,10.28L13.7,6.06L15.11,4.65L19.34,8.88L17.93,10.28M20.7,20.24L19.29,21.65L11.5,13.88L10.5,14.88L13.33,17.69L12,19.09C7,24 3.5,20.5 3.5,20.5C3.5,20.5 -0.06,17 4.89,12L6.31,10.6L9.13,13.43L10.13,12.43L2.35,4.68L3.77,3.26L20.7,20.24Z"},{PackIconKind.Shredder,"M6,3V7H8V5H16V7H18V3H6M5,8A3,3 0 0,0 2,11V17H5V14H19V17H22V11A3,3 0 0,0 19,8H5M18,10A1,1 0 0,1 19,11A1,1 0 0,1 18,12A1,1 0 0,1 17,11A1,1 0 0,1 18,10M7,16V21H9V16H7M11,16V20H13V16H11M15,16V21H17V16H15Z"},{PackIconKind.Shuffle,"M14.83,13.41L13.42,14.82L16.55,17.95L14.5,20H20V14.5L17.96,16.54L14.83,13.41M14.5,4L16.54,6.04L4,18.59L5.41,20L17.96,7.46L20,9.5V4M10.59,9.17L5.41,4L4,5.41L9.17,10.58L10.59,9.17Z"},{PackIconKind.ShuffleDisabled,"M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16"},{PackIconKind.ShuffleVariant,"M17,3L22.25,7.5L17,12L22.25,16.5L17,21V18H14.26L11.44,15.18L13.56,13.06L15.5,15H17V12L17,9H15.5L6.5,18H2V15H5.26L14.26,6H17V3M2,6H6.5L9.32,8.82L7.2,10.94L5.26,9H2V6Z"},{PackIconKind.Sigma,"M5,4H18V9H17L16,6H10.06L13.65,11.13L9.54,17H16L17,15H18V20H5L10.6,12L5,4Z"},{PackIconKind.SigmaLower,"M19,12C19,16.42 15.64,20 11.5,20C7.36,20 4,16.42 4,12C4,7.58 7.36,4 11.5,4H20V6H16.46C18,7.47 19,9.61 19,12M11.5,6C8.46,6 6,8.69 6,12C6,15.31 8.46,18 11.5,18C14.54,18 17,15.31 17,12C17,8.69 14.54,6 11.5,6Z"},{PackIconKind.SignCaution,"M2,3H22V13H18V21H16V13H8V21H6V13H2V3M18.97,11L20,9.97V7.15L16.15,11H18.97M13.32,11L19.32,5H16.5L10.5,11H13.32M7.66,11L13.66,5H10.83L4.83,11H7.66M5.18,5L4,6.18V9L8,5H5.18Z"},{PackIconKind.SignDirection,"M11,12H3.5L6,9.5L3.5,7H11V3L12,2L13,3V7H18L20.5,9.5L18,12H13V20A2,2 0 0,1 15,22H9A2,2 0 0,1 11,20V12Z"},{PackIconKind.SignText,"M11,3L12,2L13,3V5H20A1,1 0 0,1 21,6V16A1,1 0 0,1 20,17H13V20A2,2 0 0,1 15,22H9A2,2 0 0,1 11,20V17H4A1,1 0 0,1 3,16V6A1,1 0 0,1 4,5H11V3M6,8V10H18V8H6M6,12V14H13V12H6Z"},{PackIconKind.Signal,"M3,21H6V18H3M8,21H11V14H8M13,21H16V9H13M18,21H21V3H18V21Z"},{PackIconKind.Signal2g,"M11,19.5H2V13.5A3,3 0 0,1 5,10.5H8V7.5H2V4.5H8A3,3 0 0,1 11,7.5V10.5A3,3 0 0,1 8,13.5H5V16.5H11M22,10.5H17.5V13.5H19V16.5H16V7.5H22V4.5H16A3,3 0 0,0 13,7.5V16.5A3,3 0 0,0 16,19.5H19A3,3 0 0,0 22,16.5"},{PackIconKind.Signal3g,"M11,16.5V14.25C11,13 10,12 8.75,12C10,12 11,11 11,9.75V7.5A3,3 0 0,0 8,4.5H2V7.5H8V10.5H5V13.5H8V16.5H2V19.5H8A3,3 0 0,0 11,16.5M22,16.5V10.5H17.5V13.5H19V16.5H16V7.5H22V4.5H16A3,3 0 0,0 13,7.5V16.5A3,3 0 0,0 16,19.5H19A3,3 0 0,0 22,16.5Z"},{PackIconKind.Signal4g,"M22,16.5V10.5H17.5V13.5H19V16.5H16V7.5H22V4.5H16A3,3 0 0,0 13,7.5V16.5A3,3 0 0,0 16,19.5H19A3,3 0 0,0 22,16.5M8,19.5H11V4.5H8V10.5H5V4.5H2V13.5H8V19.5Z"},{PackIconKind.SignalHspa,"M10.5,10.5H13.5V4.5H16.5V19.5H13.5V13.5H10.5V19.5H7.5V4.5H10.5V10.5Z"},{PackIconKind.SignalHspaPlus,"M19,8V11H22V14H19V17H16V14H13V11H16V8H19M5,10.5H8V4.5H11V19.5H8V13.5H5V19.5H2V4.5H5V10.5Z"},{PackIconKind.SignalOff,"M18,3V16.18L21,19.18V3H18M4.28,5L3,6.27L10.73,14H8V21H11V14.27L13,16.27V21H16V19.27L19.73,23L21,21.72L4.28,5M13,9V11.18L16,14.18V9H13M3,18V21H6V18H3Z"},{PackIconKind.SignalVariant,"M4,6V4H4.1C12.9,4 20,11.1 20,19.9V20H18V19.9C18,12.2 11.8,6 4,6M4,10V8A12,12 0 0,1 16,20H14A10,10 0 0,0 4,10M4,14V12A8,8 0 0,1 12,20H10A6,6 0 0,0 4,14M4,16A4,4 0 0,1 8,20H4V16Z"},{PackIconKind.Silverware,"M8.1,13.34L3.91,9.16C2.35,7.59 2.35,5.06 3.91,3.5L10.93,10.5L8.1,13.34M14.88,11.53L13.41,13L20.29,19.88L18.88,21.29L12,14.41L5.12,21.29L3.71,19.88L13.47,10.12C12.76,8.59 13.26,6.44 14.85,4.85C16.76,2.93 19.5,2.57 20.96,4.03C22.43,5.5 22.07,8.24 20.15,10.15C18.56,11.74 16.41,12.24 14.88,11.53Z"},{PackIconKind.SilverwareFork,"M5.12,21.29L3.71,19.88L13.36,10.22L13.16,10C12.38,9.23 12.38,7.97 13.16,7.19L17.5,2.82L18.43,3.74L15.19,7L16.15,7.94L19.39,4.69L20.31,5.61L17.06,8.85L18,9.81L21.26,6.56L22.18,7.5L17.81,11.84C17.03,12.62 15.77,12.62 15,11.84L14.78,11.64L5.12,21.29Z"},{PackIconKind.SilverwareSpoon,"M14.88,11.53L5.12,21.29L3.71,19.88L13.47,10.12C12.76,8.59 13.26,6.44 14.85,4.85C16.76,2.93 19.5,2.57 20.96,4.03C22.43,5.5 22.07,8.24 20.15,10.15C18.56,11.74 16.41,12.24 14.88,11.53Z"},{PackIconKind.SilverwareVariant,"M8.1,13.34L3.91,9.16C2.35,7.59 2.35,5.06 3.91,3.5L10.93,10.5L8.1,13.34M13.41,13L20.29,19.88L18.88,21.29L12,14.41L5.12,21.29L3.71,19.88L13.36,10.22L13.16,10C12.38,9.23 12.38,7.97 13.16,7.19L17.5,2.82L18.43,3.74L15.19,7L16.15,7.94L19.39,4.69L20.31,5.61L17.06,8.85L18,9.81L21.26,6.56L22.18,7.5L17.81,11.84C17.03,12.62 15.77,12.62 15,11.84L14.78,11.64L13.41,13Z"},{PackIconKind.Sim,"M20,4A2,2 0 0,0 18,2H10L4,8V20A2,2 0 0,0 6,22H18C19.11,22 20,21.1 20,20V4M9,19H7V17H9V19M17,19H15V17H17V19M9,15H7V11H9V15M13,19H11V15H13V19M13,13H11V11H13V13M17,15H15V11H17V15Z"},{PackIconKind.SimAlert,"M13,13H11V8H13M13,17H11V15H13M18,2H10L4,8V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2Z"},{PackIconKind.SimOff,"M19,5A2,2 0 0,0 17,3H10L7.66,5.34L19,16.68V5M3.65,3.88L2.38,5.15L5,7.77V19A2,2 0 0,0 7,21H17C17.36,21 17.68,20.9 17.97,20.74L19.85,22.62L21.12,21.35L3.65,3.88Z"},{PackIconKind.Sitemap,"M9,2V8H11V11H5C3.89,11 3,11.89 3,13V16H1V22H7V16H5V13H11V16H9V22H15V16H13V13H19V16H17V22H23V16H21V13C21,11.89 20.11,11 19,11H13V8H15V2H9Z"},{PackIconKind.SkipBackward,"M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12"},{PackIconKind.SkipForward,"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},{PackIconKind.SkipNext,"M16,18H18V6H16M6,18L14.5,12L6,6V18Z"},{PackIconKind.SkipNextCircle,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8L13,12L8,16M14,8H16V16H14"},{PackIconKind.SkipNextCircleOutline,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4M8,8V16L13,12M14,8V16H16V8"},{PackIconKind.SkipPrevious,"M6,18V6H8V18H6M9.5,12L18,6V18L9.5,12Z"},{PackIconKind.SkipPreviousCircle,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8H10V16H8M16,8V16L11,12"},{PackIconKind.SkipPreviousCircleOutline,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4C7.59,4 4,7.59 4,12C4,16.41 7.59,20 12,20C16.41,20 20,16.41 20,12C20,7.59 16.41,4 12,4M16,8V16L11,12M10,8V16H8V8"},{PackIconKind.Skull,"M12,2A9,9 0 0,0 3,11C3,14.03 4.53,16.82 7,18.47V22H9V19H11V22H13V19H15V22H17V18.46C19.47,16.81 21,14 21,11A9,9 0 0,0 12,2M8,11A2,2 0 0,1 10,13A2,2 0 0,1 8,15A2,2 0 0,1 6,13A2,2 0 0,1 8,11M16,11A2,2 0 0,1 18,13A2,2 0 0,1 16,15A2,2 0 0,1 14,13A2,2 0 0,1 16,11M12,14L13.5,17H10.5L12,14Z"},{PackIconKind.Skype,"M18,6C20.07,8.04 20.85,10.89 20.36,13.55C20.77,14.27 21,15.11 21,16A5,5 0 0,1 16,21C15.11,21 14.27,20.77 13.55,20.36C10.89,20.85 8.04,20.07 6,18C3.93,15.96 3.15,13.11 3.64,10.45C3.23,9.73 3,8.89 3,8A5,5 0 0,1 8,3C8.89,3 9.73,3.23 10.45,3.64C13.11,3.15 15.96,3.93 18,6M12.04,17.16C14.91,17.16 16.34,15.78 16.34,13.92C16.34,12.73 15.78,11.46 13.61,10.97L11.62,10.53C10.86,10.36 10,10.13 10,9.42C10,8.7 10.6,8.2 11.7,8.2C13.93,8.2 13.72,9.73 14.83,9.73C15.41,9.73 15.91,9.39 15.91,8.8C15.91,7.43 13.72,6.4 11.86,6.4C9.85,6.4 7.7,7.26 7.7,9.54C7.7,10.64 8.09,11.81 10.25,12.35L12.94,13.03C13.75,13.23 13.95,13.68 13.95,14.1C13.95,14.78 13.27,15.45 12.04,15.45C9.63,15.45 9.96,13.6 8.67,13.6C8.09,13.6 7.67,14 7.67,14.57C7.67,15.68 9,17.16 12.04,17.16Z"},{PackIconKind.SkypeBusiness,"M12.03,16.53C9.37,16.53 8.18,15.22 8.18,14.24C8.18,13.74 8.55,13.38 9.06,13.38C10.2,13.38 9.91,15 12.03,15C13.12,15 13.73,14.43 13.73,13.82C13.73,13.46 13.55,13.06 12.83,12.88L10.46,12.29C8.55,11.81 8.2,10.78 8.2,9.81C8.2,7.79 10.1,7.03 11.88,7.03C13.5,7.03 15.46,7.94 15.46,9.15C15.46,9.67 15,9.97 14.5,9.97C13.5,9.97 13.7,8.62 11.74,8.62C10.77,8.62 10.23,9.06 10.23,9.69C10.23,10.32 11,10.5 11.66,10.68L13.42,11.07C15.34,11.5 15.83,12.62 15.83,13.67C15.83,15.31 14.57,16.53 12.03,16.53M18,6C20.07,8.04 20.85,10.89 20.36,13.55C20.77,14.27 21,15.11 21,16A5,5 0 0,1 16,21C15.11,21 14.27,20.77 13.55,20.36C10.89,20.85 8.04,20.07 6,18C3.93,15.96 3.15,13.11 3.64,10.45C3.23,9.73 3,8.89 3,8A5,5 0 0,1 8,3C8.89,3 9.73,3.23 10.45,3.64C13.11,3.15 15.96,3.93 18,6M8,5A3,3 0 0,0 5,8C5,8.79 5.3,9.5 5.8,10.04C5.1,12.28 5.63,14.82 7.4,16.6C9.18,18.37 11.72,18.9 13.96,18.2C14.5,18.7 15.21,19 16,19A3,3 0 0,0 19,16C19,15.21 18.7,14.5 18.2,13.96C18.9,11.72 18.37,9.18 16.6,7.4C14.82,5.63 12.28,5.1 10.04,5.8C9.5,5.3 8.79,5 8,5Z"},{PackIconKind.Slack,"M10.23,11.16L12.91,10.27L13.77,12.84L11.09,13.73L10.23,11.16M17.69,13.71C18.23,13.53 18.5,12.94 18.34,12.4C18.16,11.86 17.57,11.56 17.03,11.75L15.73,12.18L14.87,9.61L16.17,9.17C16.71,9 17,8.4 16.82,7.86C16.64,7.32 16.05,7 15.5,7.21L14.21,7.64L13.76,6.3C13.58,5.76 13,5.46 12.45,5.65C11.91,5.83 11.62,6.42 11.8,6.96L12.25,8.3L9.57,9.19L9.12,7.85C8.94,7.31 8.36,7 7.81,7.2C7.27,7.38 7,7.97 7.16,8.5L7.61,9.85L6.31,10.29C5.77,10.47 5.5,11.06 5.66,11.6C5.8,12 6.19,12.3 6.61,12.31L6.97,12.25L8.27,11.82L9.13,14.39L7.83,14.83C7.29,15 7,15.6 7.18,16.14C7.32,16.56 7.71,16.84 8.13,16.85L8.5,16.79L9.79,16.36L10.24,17.7C10.38,18.13 10.77,18.4 11.19,18.41L11.55,18.35C12.09,18.17 12.38,17.59 12.2,17.04L11.75,15.7L14.43,14.81L14.88,16.15C15,16.57 15.41,16.84 15.83,16.85L16.19,16.8C16.73,16.62 17,16.03 16.84,15.5L16.39,14.15L17.69,13.71M21.17,9.25C23.23,16.12 21.62,19.1 14.75,21.17C7.88,23.23 4.9,21.62 2.83,14.75C0.77,7.88 2.38,4.9 9.25,2.83C16.12,0.77 19.1,2.38 21.17,9.25Z"},{PackIconKind.Sleep,"M23,12H17V10L20.39,6H17V4H23V6L19.62,10H23V12M15,16H9V14L12.39,10H9V8H15V10L11.62,14H15V16M7,20H1V18L4.39,14H1V12H7V14L3.62,18H7V20Z"},{PackIconKind.SleepOff,"M2,5.27L3.28,4L20,20.72L18.73,22L12.73,16H9V14L9.79,13.06L2,5.27M23,12H17V10L20.39,6H17V4H23V6L19.62,10H23V12M9.82,8H15V10L13.54,11.72L9.82,8M7,20H1V18L4.39,14H1V12H7V14L3.62,18H7V20Z"},{PackIconKind.Smoking,"M2,16H17V19H2V16M20.5,16H22V19H20.5V16M18,16H19.5V19H18V16M18.85,7.73C19.47,7.12 19.85,6.28 19.85,5.35C19.85,3.5 18.35,2 16.5,2V3.5C17.5,3.5 18.35,4.33 18.35,5.35C18.35,6.37 17.5,7.2 16.5,7.2V8.7C18.74,8.7 20.5,10.53 20.5,12.77V15H22V12.76C22,10.54 20.72,8.62 18.85,7.73M16.03,10.2H14.5C13.5,10.2 12.65,9.22 12.65,8.2C12.65,7.18 13.5,6.45 14.5,6.45V4.95C12.65,4.95 11.15,6.45 11.15,8.3A3.35,3.35 0 0,0 14.5,11.65H16.03C17.08,11.65 18,12.39 18,13.7V15H19.5V13.36C19.5,11.55 17.9,10.2 16.03,10.2Z"},{PackIconKind.SmokingOff,"M2,6L9,13H2V16H12L19,23L20.25,21.75L3.25,4.75L2,6M20.5,13H22V16H20.5V13M18,13H19.5V16H18V13M18.85,4.88C19.47,4.27 19.85,3.43 19.85,2.5H18.35C18.35,3.5 17.5,4.35 16.5,4.35V5.85C18.74,5.85 20.5,7.68 20.5,9.92V12H22V9.92C22,7.69 20.72,5.77 18.85,4.88M14.5,8.7H16.03C17.08,8.7 18,9.44 18,10.75V12H19.5V10.41C19.5,8.61 17.9,7.25 16.03,7.25H14.5C13.5,7.25 12.65,6.27 12.65,5.25C12.65,4.23 13.5,3.5 14.5,3.5V2A3.35,3.35 0 0,0 11.15,5.35A3.35,3.35 0 0,0 14.5,8.7M17,15.93V13H14.07L17,15.93Z"},{PackIconKind.Snapchat,"M12,20.45C10.81,20.45 10.1,19.94 9.47,19.5C9,19.18 8.58,18.87 8.08,18.79C6.93,18.73 6.59,18.79 5.97,18.9C5.86,18.9 5.73,18.87 5.68,18.69C5.5,17.94 5.45,17.73 5.32,17.71C4,17.5 3.19,17.2 3.03,16.83C3,16.6 3.07,16.5 3.18,16.5C4.25,16.31 5.2,15.75 6,14.81C6.63,14.09 6.93,13.39 6.96,13.32C7.12,13 7.15,12.72 7.06,12.5C6.89,12.09 6.31,11.91 5.68,11.7C5.34,11.57 4.79,11.29 4.86,10.9C4.92,10.62 5.29,10.42 5.81,10.46C6.16,10.62 6.46,10.7 6.73,10.7C7.06,10.7 7.21,10.58 7.25,10.54C7.14,8.78 7.05,7.25 7.44,6.38C8.61,3.76 11.08,3.55 12,3.55C12.92,3.55 15.39,3.76 16.56,6.38C16.95,7.25 16.86,8.78 16.75,10.54C16.79,10.58 16.94,10.7 17.27,10.7C17.54,10.7 17.84,10.62 18.19,10.46C18.71,10.42 19.08,10.62 19.14,10.9C19.21,11.29 18.66,11.57 18.32,11.7C17.69,11.91 17.11,12.09 16.94,12.5C16.85,12.72 16.88,13 17.04,13.32C17.07,13.39 17.37,14.09 18,14.81C18.8,15.75 19.75,16.31 20.82,16.5C20.93,16.5 21,16.6 20.97,16.83C20.81,17.2 20,17.5 18.68,17.71C18.55,17.73 18.5,17.94 18.32,18.69C18.27,18.87 18.14,18.9 18.03,18.9C17.41,18.79 17.07,18.73 15.92,18.79C15.42,18.87 15,19.18 14.53,19.5C13.9,19.94 13.19,20.45 12,20.45Z"},{PackIconKind.Snowflake,"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},{PackIconKind.Snowman,"M17,17A5,5 0 0,1 12,22A5,5 0 0,1 7,17C7,15.5 7.65,14.17 8.69,13.25C8.26,12.61 8,11.83 8,11C8,10.86 8,10.73 8,10.59L5.04,8.87L4.83,8.71L2.29,9.39L2.03,8.43L4.24,7.84L2.26,6.69L2.76,5.82L4.74,6.97L4.15,4.75L5.11,4.5L5.8,7.04L6.04,7.14L8.73,8.69C9.11,8.15 9.62,7.71 10.22,7.42C9.5,6.87 9,6 9,5A3,3 0 0,1 12,2A3,3 0 0,1 15,5C15,6 14.5,6.87 13.78,7.42C14.38,7.71 14.89,8.15 15.27,8.69L17.96,7.14L18.2,7.04L18.89,4.5L19.85,4.75L19.26,6.97L21.24,5.82L21.74,6.69L19.76,7.84L21.97,8.43L21.71,9.39L19.17,8.71L18.96,8.87L16,10.59V11C16,11.83 15.74,12.61 15.31,13.25C16.35,14.17 17,15.5 17,17Z"},{PackIconKind.Soccer,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,3C13.76,3 15.4,3.53 16.78,4.41L16.5,5H13L12,5L10.28,4.16L10.63,3.13C11.08,3.05 11.53,3 12,3M9.53,3.38L9.19,4.41L6.63,5.69L5.38,5.94C6.5,4.73 7.92,3.84 9.53,3.38M13,6H16L18.69,9.59L17.44,12.16L14.81,12.78L11.53,8.94L13,6M6.16,6.66L7,10L5.78,13.06L3.22,13.94C3.08,13.31 3,12.67 3,12C3,10.1 3.59,8.36 4.59,6.91L6.16,6.66M20.56,9.22C20.85,10.09 21,11.03 21,12C21,13.44 20.63,14.79 20.03,16H19L18.16,12.66L19.66,9.66L20.56,9.22M8,10H11L13.81,13.28L12,16L8.84,16.78L6.53,13.69L8,10M12,17L15,19L14.13,20.72C13.44,20.88 12.73,21 12,21C10.25,21 8.63,20.5 7.25,19.63L8.41,17.91L12,17M19,17H19.5C18.5,18.5 17,19.67 15.31,20.34L16,19L19,17Z"},{PackIconKind.SoccerField,"M4,4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4H4M4,6H11V8.13C9.24,8.59 8,10.18 8,12C8,13.82 9.24,15.41 11,15.87V18H4V16H7V8H4V6M13,6H20V8H17V16H20V18H13V15.87C14.76,15.41 16,13.82 16,12C16,10.18 14.76,8.59 13,8.13V6M4,10H5V14H4V10M19,10H20V14H19V10M13,10.27C13.62,10.63 14,11.29 14,12C14,12.71 13.62,13.37 13,13.73V10.27M11,10.27V13.73C10.38,13.37 10,12.71 10,12C10,11.29 10.38,10.63 11,10.27Z"},{PackIconKind.Sofa,"M7,6H9A2,2 0 0,1 11,8V12H5V8A2,2 0 0,1 7,6M15,6H17A2,2 0 0,1 19,8V12H13V8A2,2 0 0,1 15,6M1,9H2A1,1 0 0,1 3,10V12A2,2 0 0,0 5,14H19A2,2 0 0,0 21,12V11L21,10A1,1 0 0,1 22,9H23A1,1 0 0,1 24,10V19H21V17H3V19H0V10A1,1 0 0,1 1,9Z"},{PackIconKind.Solid,"M0,0H24V24H0"},{PackIconKind.Sort,"M10,13V11H18V13H10M10,19V17H14V19H10M10,7V5H22V7H10M6,17H8.5L5,20.5L1.5,17H4V7H1.5L5,3.5L8.5,7H6V17Z"},{PackIconKind.SortAlphabetical,"M9.25,5L12.5,1.75L15.75,5H9.25M15.75,19L12.5,22.25L9.25,19H15.75M8.89,14.3H6L5.28,17H2.91L6,7H9L12.13,17H9.67L8.89,14.3M6.33,12.68H8.56L7.93,10.56L7.67,9.59L7.42,8.63H7.39L7.17,9.6L6.93,10.58L6.33,12.68M13.05,17V15.74L17.8,8.97V8.91H13.5V7H20.73V8.34L16.09,15V15.08H20.8V17H13.05Z"},{PackIconKind.SortAscending,"M10,11V13H18V11H10M10,5V7H14V5H10M10,17V19H22V17H10M6,7H8.5L5,3.5L1.5,7H4V20H6V7Z"},{PackIconKind.SortDescending,"M10,13V11H18V13H10M10,19V17H14V19H10M10,7V5H22V7H10M6,17H8.5L5,20.5L1.5,17H4V4H6V17Z"},{PackIconKind.SortNumeric,"M7.78,7C9.08,7.04 10,7.53 10.57,8.46C11.13,9.4 11.41,10.56 11.39,11.95C11.4,13.5 11.09,14.73 10.5,15.62C9.88,16.5 8.95,16.97 7.71,17C6.45,16.96 5.54,16.5 4.96,15.56C4.38,14.63 4.09,13.45 4.09,12C4.09,10.55 4.39,9.36 5,8.44C5.59,7.5 6.5,7.04 7.78,7M7.75,8.63C7.31,8.63 6.96,8.9 6.7,9.46C6.44,10 6.32,10.87 6.32,12C6.31,13.15 6.44,14 6.69,14.54C6.95,15.1 7.31,15.37 7.77,15.37C8.69,15.37 9.16,14.24 9.17,12C9.17,9.77 8.7,8.65 7.75,8.63M13.33,17V15.22L13.76,15.24L14.3,15.22L15.34,15.03C15.68,14.92 16,14.78 16.26,14.58C16.59,14.35 16.86,14.08 17.07,13.76C17.29,13.45 17.44,13.12 17.53,12.78L17.5,12.77C17.05,13.19 16.38,13.4 15.47,13.41C14.62,13.4 13.91,13.15 13.34,12.65C12.77,12.15 12.5,11.43 12.46,10.5C12.47,9.5 12.81,8.69 13.47,8.03C14.14,7.37 15,7.03 16.12,7C17.37,7.04 18.29,7.45 18.88,8.24C19.47,9 19.76,10 19.76,11.19C19.75,12.15 19.61,13 19.32,13.76C19.03,14.5 18.64,15.13 18.12,15.64C17.66,16.06 17.11,16.38 16.47,16.61C15.83,16.83 15.12,16.96 14.34,17H13.33M16.06,8.63C15.65,8.64 15.32,8.8 15.06,9.11C14.81,9.42 14.68,9.84 14.68,10.36C14.68,10.8 14.8,11.16 15.03,11.46C15.27,11.77 15.63,11.92 16.11,11.93C16.43,11.93 16.7,11.86 16.92,11.74C17.14,11.61 17.3,11.46 17.41,11.28C17.5,11.17 17.53,10.97 17.53,10.71C17.54,10.16 17.43,9.69 17.2,9.28C16.97,8.87 16.59,8.65 16.06,8.63M9.25,5L12.5,1.75L15.75,5H9.25M15.75,19L12.5,22.25L9.25,19H15.75Z"},{PackIconKind.SortVariant,"M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z"},{PackIconKind.Soundcloud,"M11.56,8.87V17H20.32V17C22.17,16.87 23,15.73 23,14.33C23,12.85 21.88,11.66 20.38,11.66C20,11.66 19.68,11.74 19.35,11.88C19.11,9.54 17.12,7.71 14.67,7.71C13.5,7.71 12.39,8.15 11.56,8.87M10.68,9.89C10.38,9.71 10.06,9.57 9.71,9.5V17H11.1V9.34C10.95,9.5 10.81,9.7 10.68,9.89M8.33,9.35V17H9.25V9.38C9.06,9.35 8.87,9.34 8.67,9.34C8.55,9.34 8.44,9.34 8.33,9.35M6.5,10V17H7.41V9.54C7.08,9.65 6.77,9.81 6.5,10M4.83,12.5C4.77,12.5 4.71,12.44 4.64,12.41V17H5.56V10.86C5.19,11.34 4.94,11.91 4.83,12.5M2.79,12.22V16.91C3,16.97 3.24,17 3.5,17H3.72V12.14C3.64,12.13 3.56,12.12 3.5,12.12C3.24,12.12 3,12.16 2.79,12.22M1,14.56C1,15.31 1.34,15.97 1.87,16.42V12.71C1.34,13.15 1,13.82 1,14.56Z"},{PackIconKind.SourceBranch,"M13,14C9.64,14 8.54,15.35 8.18,16.24C9.25,16.7 10,17.76 10,19A3,3 0 0,1 7,22A3,3 0 0,1 4,19C4,17.69 4.83,16.58 6,16.17V7.83C4.83,7.42 4,6.31 4,5A3,3 0 0,1 7,2A3,3 0 0,1 10,5C10,6.31 9.17,7.42 8,7.83V13.12C8.88,12.47 10.16,12 12,12C14.67,12 15.56,10.66 15.85,9.77C14.77,9.32 14,8.25 14,7A3,3 0 0,1 17,4A3,3 0 0,1 20,7C20,8.34 19.12,9.5 17.91,9.86C17.65,11.29 16.68,14 13,14M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M17,6A1,1 0 0,0 16,7A1,1 0 0,0 17,8A1,1 0 0,0 18,7A1,1 0 0,0 17,6Z"},{PackIconKind.SourceCommit,"M17,12C17,14.42 15.28,16.44 13,16.9V21H11V16.9C8.72,16.44 7,14.42 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"},{PackIconKind.SourceCommitEnd,"M17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"},{PackIconKind.SourceCommitEndLocal,"M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M11,5V3H13V5H11Z"},{PackIconKind.SourceCommitLocal,"M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M11,5V3H13V5H11M11,21V19H13V21H11Z"},{PackIconKind.SourceCommitNextLocal,"M17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M11,21V19H13V21H11Z"},{PackIconKind.SourceCommitStart,"M12,7A5,5 0 0,1 17,12C17,14.42 15.28,16.44 13,16.9V21H11V16.9C8.72,16.44 7,14.42 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"},{PackIconKind.SourceCommitStartNextLocal,"M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M11,21V19H13V21H11Z"},{PackIconKind.SourceFork,"M6,2A3,3 0 0,1 9,5C9,6.28 8.19,7.38 7.06,7.81C7.15,8.27 7.39,8.83 8,9.63C9,10.92 11,12.83 12,14.17C13,12.83 15,10.92 16,9.63C16.61,8.83 16.85,8.27 16.94,7.81C15.81,7.38 15,6.28 15,5A3,3 0 0,1 18,2A3,3 0 0,1 21,5C21,6.32 20.14,7.45 18.95,7.85C18.87,8.37 18.64,9 18,9.83C17,11.17 15,13.08 14,14.38C13.39,15.17 13.15,15.73 13.06,16.19C14.19,16.62 15,17.72 15,19A3,3 0 0,1 12,22A3,3 0 0,1 9,19C9,17.72 9.81,16.62 10.94,16.19C10.85,15.73 10.61,15.17 10,14.38C9,13.08 7,11.17 6,9.83C5.36,9 5.13,8.37 5.05,7.85C3.86,7.45 3,6.32 3,5A3,3 0 0,1 6,2M6,4A1,1 0 0,0 5,5A1,1 0 0,0 6,6A1,1 0 0,0 7,5A1,1 0 0,0 6,4M18,4A1,1 0 0,0 17,5A1,1 0 0,0 18,6A1,1 0 0,0 19,5A1,1 0 0,0 18,4M12,18A1,1 0 0,0 11,19A1,1 0 0,0 12,20A1,1 0 0,0 13,19A1,1 0 0,0 12,18Z"},{PackIconKind.SourceMerge,"M7,3A3,3 0 0,1 10,6C10,7.29 9.19,8.39 8.04,8.81C8.58,13.81 13.08,14.77 15.19,14.96C15.61,13.81 16.71,13 18,13A3,3 0 0,1 21,16A3,3 0 0,1 18,19C16.69,19 15.57,18.16 15.16,17C10.91,16.8 9.44,15.19 8,13.39V15.17C9.17,15.58 10,16.69 10,18A3,3 0 0,1 7,21A3,3 0 0,1 4,18C4,16.69 4.83,15.58 6,15.17V8.83C4.83,8.42 4,7.31 4,6A3,3 0 0,1 7,3M7,5A1,1 0 0,0 6,6A1,1 0 0,0 7,7A1,1 0 0,0 8,6A1,1 0 0,0 7,5M7,17A1,1 0 0,0 6,18A1,1 0 0,0 7,19A1,1 0 0,0 8,18A1,1 0 0,0 7,17M18,15A1,1 0 0,0 17,16A1,1 0 0,0 18,17A1,1 0 0,0 19,16A1,1 0 0,0 18,15Z"},{PackIconKind.SourcePull,"M6,3A3,3 0 0,1 9,6C9,7.31 8.17,8.42 7,8.83V15.17C8.17,15.58 9,16.69 9,18A3,3 0 0,1 6,21A3,3 0 0,1 3,18C3,16.69 3.83,15.58 5,15.17V8.83C3.83,8.42 3,7.31 3,6A3,3 0 0,1 6,3M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17M21,18A3,3 0 0,1 18,21A3,3 0 0,1 15,18C15,16.69 15.83,15.58 17,15.17V7H15V10.25L10.75,6L15,1.75V5H17A2,2 0 0,1 19,7V15.17C20.17,15.58 21,16.69 21,18M18,17A1,1 0 0,0 17,18A1,1 0 0,0 18,19A1,1 0 0,0 19,18A1,1 0 0,0 18,17Z"},{PackIconKind.SoySauce,"M13.9,7.5C13.9,6.8 14.1,6.3 14.2,6H14.8L15.7,3.5H16.5V2H7.5V3.5H8.3L9.2,6H9.8C10,6.3 10.1,6.8 10.1,7.5C10.1,8.8 6,13.7 6,17.6V19.6C6,21 8.7,21.9 12,21.9C15.3,21.9 18,21 18,19.6V17.6C18,13.7 13.9,8.8 13.9,7.5M12,15A2,2 0 0,1 10,13A2,2 0 0,1 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15Z"},{PackIconKind.Speaker,"M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z"},{PackIconKind.SpeakerOff,"M2,5.27L3.28,4L21,21.72L19.73,23L18.27,21.54C17.93,21.83 17.5,22 17,22H7C5.89,22 5,21.1 5,20V8.27L2,5.27M12,18A3,3 0 0,1 9,15C9,14.24 9.28,13.54 9.75,13L8.33,11.6C7.5,12.5 7,13.69 7,15A5,5 0 0,0 12,20C13.31,20 14.5,19.5 15.4,18.67L14,17.25C13.45,17.72 12.76,18 12,18M17,15A5,5 0 0,0 12,10H11.82L5.12,3.3C5.41,2.54 6.14,2 7,2H17A2,2 0 0,1 19,4V17.18L17,15.17V15M12,4C10.89,4 10,4.89 10,6A2,2 0 0,0 12,8A2,2 0 0,0 14,6C14,4.89 13.1,4 12,4Z"},{PackIconKind.SpeakerWireless,"M20.07,19.07L18.66,17.66C20.11,16.22 21,14.21 21,12C21,9.78 20.11,7.78 18.66,6.34L20.07,4.93C21.88,6.74 23,9.24 23,12C23,14.76 21.88,17.26 20.07,19.07M17.24,16.24L15.83,14.83C16.55,14.11 17,13.11 17,12C17,10.89 16.55,9.89 15.83,9.17L17.24,7.76C18.33,8.85 19,10.35 19,12C19,13.65 18.33,15.15 17.24,16.24M4,3H12A2,2 0 0,1 14,5V19A2,2 0 0,1 12,21H4A2,2 0 0,1 2,19V5A2,2 0 0,1 4,3M8,5A2,2 0 0,0 6,7A2,2 0 0,0 8,9A2,2 0 0,0 10,7A2,2 0 0,0 8,5M8,11A4,4 0 0,0 4,15A4,4 0 0,0 8,19A4,4 0 0,0 12,15A4,4 0 0,0 8,11M8,13A2,2 0 0,1 10,15A2,2 0 0,1 8,17A2,2 0 0,1 6,15A2,2 0 0,1 8,13Z"},{PackIconKind.Speedometer,"M12,16A3,3 0 0,1 9,13C9,11.88 9.61,10.9 10.5,10.39L20.21,4.77L14.68,14.35C14.18,15.33 13.17,16 12,16M12,3C13.81,3 15.5,3.5 16.97,4.32L14.87,5.53C14,5.19 13,5 12,5A8,8 0 0,0 4,13C4,15.21 4.89,17.21 6.34,18.65H6.35C6.74,19.04 6.74,19.67 6.35,20.06C5.96,20.45 5.32,20.45 4.93,20.07V20.07C3.12,18.26 2,15.76 2,13A10,10 0 0,1 12,3M22,13C22,15.76 20.88,18.26 19.07,20.07V20.07C18.68,20.45 18.05,20.45 17.66,20.06C17.27,19.67 17.27,19.04 17.66,18.65V18.65C19.11,17.2 20,15.21 20,13C20,12 19.81,11 19.46,10.1L20.67,8C21.5,9.5 22,11.18 22,13Z"},{PackIconKind.Spellcheck,"M21.59,11.59L13.5,19.68L9.83,16L8.42,17.41L13.5,22.5L23,13M6.43,11L8.5,5.5L10.57,11M12.45,16H14.54L9.43,3H7.57L2.46,16H4.55L5.67,13H11.31L12.45,16Z"},{PackIconKind.Spotify,"M17.9,10.9C14.7,9 9.35,8.8 6.3,9.75C5.8,9.9 5.3,9.6 5.15,9.15C5,8.65 5.3,8.15 5.75,8C9.3,6.95 15.15,7.15 18.85,9.35C19.3,9.6 19.45,10.2 19.2,10.65C18.95,11 18.35,11.15 17.9,10.9M17.8,13.7C17.55,14.05 17.1,14.2 16.75,13.95C14.05,12.3 9.95,11.8 6.8,12.8C6.4,12.9 5.95,12.7 5.85,12.3C5.75,11.9 5.95,11.45 6.35,11.35C10,10.25 14.5,10.8 17.6,12.7C17.9,12.85 18.05,13.35 17.8,13.7M16.6,16.45C16.4,16.75 16.05,16.85 15.75,16.65C13.4,15.2 10.45,14.9 6.95,15.7C6.6,15.8 6.3,15.55 6.2,15.25C6.1,14.9 6.35,14.6 6.65,14.5C10.45,13.65 13.75,14 16.35,15.6C16.7,15.75 16.75,16.15 16.6,16.45M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.Spotlight,"M2,6L7.09,8.55C6.4,9.5 6,10.71 6,12C6,13.29 6.4,14.5 7.09,15.45L2,18V6M6,3H18L15.45,7.09C14.5,6.4 13.29,6 12,6C10.71,6 9.5,6.4 8.55,7.09L6,3M22,6V18L16.91,15.45C17.6,14.5 18,13.29 18,12C18,10.71 17.6,9.5 16.91,8.55L22,6M18,21H6L8.55,16.91C9.5,17.6 10.71,18 12,18C13.29,18 14.5,17.6 15.45,16.91L18,21M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z"},{PackIconKind.SpotlightBeam,"M9,16.5L9.91,15.59L15.13,20.8L14.21,21.71L9,16.5M15.5,10L16.41,9.09L21.63,14.3L20.71,15.21L15.5,10M6.72,2.72L10.15,6.15L6.15,10.15L2.72,6.72C1.94,5.94 1.94,4.67 2.72,3.89L3.89,2.72C4.67,1.94 5.94,1.94 6.72,2.72M14.57,7.5L15.28,8.21L8.21,15.28L7.5,14.57L6.64,11.07L11.07,6.64L14.57,7.5Z"},{PackIconKind.Spray,"M10,4H12V6H10V4M7,3H9V5H7V3M7,6H9V8H7V6M6,8V10H4V8H6M6,5V7H4V5H6M6,2V4H4V2H6M13,22A2,2 0 0,1 11,20V10A2,2 0 0,1 13,8V7H14V4H17V7H18V8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H13M13,10V20H18V10H13Z"},{PackIconKind.Square,"M3,3V21H21V3"},{PackIconKind.SquareInc,"M6,3H18A3,3 0 0,1 21,6V18A3,3 0 0,1 18,21H6A3,3 0 0,1 3,18V6A3,3 0 0,1 6,3M7,6A1,1 0 0,0 6,7V17A1,1 0 0,0 7,18H17A1,1 0 0,0 18,17V7A1,1 0 0,0 17,6H7M9.5,9H14.5A0.5,0.5 0 0,1 15,9.5V14.5A0.5,0.5 0 0,1 14.5,15H9.5A0.5,0.5 0 0,1 9,14.5V9.5A0.5,0.5 0 0,1 9.5,9Z"},{PackIconKind.SquareIncCash,"M5.5,0H18.5A5.5,5.5 0 0,1 24,5.5V18.5A5.5,5.5 0 0,1 18.5,24H5.5A5.5,5.5 0 0,1 0,18.5V5.5A5.5,5.5 0 0,1 5.5,0M15.39,15.18C15.39,16.76 14.5,17.81 12.85,17.95V12.61C14.55,13.13 15.39,13.66 15.39,15.18M11.65,6V10.88C10.34,10.5 9.03,9.93 9.03,8.43C9.03,6.94 10.18,6.12 11.65,6M15.5,7.6L16.5,6.8C15.62,5.66 14.4,4.92 12.85,4.77V3.8H11.65V3.8L11.65,4.75C9.5,4.89 7.68,6.17 7.68,8.5C7.68,11 9.74,11.78 11.65,12.29V17.96C10.54,17.84 9.29,17.31 8.43,16.03L7.3,16.78C8.2,18.12 9.76,19 11.65,19.14V20.2H12.07L12.85,20.2V19.16C15.35,19 16.7,17.34 16.7,15.14C16.7,12.58 14.81,11.76 12.85,11.19V6.05C14,6.22 14.85,6.76 15.5,7.6Z"},{PackIconKind.SquareOutline,"M3,3H21V21H3V3M5,5V19H19V5H5Z"},{PackIconKind.SquareRoot,"M11.76,16.83L14.59,14L11.76,11.17L13.17,9.76L16,12.59L18.83,9.76L20.24,11.17L17.41,14L20.24,16.83L18.83,18.24L16,15.41L13.17,18.24L11.76,16.83M2,11H5V11H5L7.29,16.4L10,6H22V8H11.55L8.68,19H6.22L3.68,13H2V11Z"},{PackIconKind.StackOverflow,"M17.36,20.2V14.82H19.15V22H3V14.82H4.8V20.2H17.36M6.77,14.32L7.14,12.56L15.93,14.41L15.56,16.17L6.77,14.32M7.93,10.11L8.69,8.5L16.83,12.28L16.07,13.9L7.93,10.11M10.19,6.12L11.34,4.74L18.24,10.5L17.09,11.87L10.19,6.12M14.64,1.87L20,9.08L18.56,10.15L13.2,2.94L14.64,1.87M6.59,18.41V16.61H15.57V18.41H6.59Z"},{PackIconKind.Stackexchange,"M4,14.04V11H20V14.04H4M4,10V7H20V10H4M17.46,2C18.86,2 20,3.18 20,4.63V6H4V4.63C4,3.18 5.14,2 6.54,2H17.46M4,15H20V16.35C20,17.81 18.86,19 17.46,19H16.5L13,22V19H6.54C5.14,19 4,17.81 4,16.35V15Z"},{PackIconKind.Stadium,"M5,3H7L10,5L7,7V8.33C8.47,8.12 10.18,8 12,8C13.82,8 15.53,8.12 17,8.33V3H19L22,5L19,7V8.71C20.85,9.17 22,9.8 22,10.5C22,11.88 17.5,13 12,13C6.5,13 2,11.88 2,10.5C2,9.8 3.15,9.17 5,8.71V3M12,9.5C8.69,9.5 7,9.67 7,10.5C7,11.33 8.69,11.5 12,11.5C15.31,11.5 17,11.33 17,10.5C17,9.67 15.31,9.5 12,9.5M12,14.75C15.81,14.75 19.2,14.08 21.4,13.05L20,21H15V19A2,2 0 0,0 13,17H11A2,2 0 0,0 9,19V21H4L2.6,13.05C4.8,14.08 8.19,14.75 12,14.75Z"},{PackIconKind.Stairs,"M15,5V9H11V13H7V17H3V20H10V16H14V12H18V8H22V5H15Z"},{PackIconKind.StandardDefinition,"M13,7H16A3,3 0 0,1 19,10V14A3,3 0 0,1 16,17H13V7M16,15A1,1 0 0,0 17,14V10A1,1 0 0,0 16,9H15V15H16M7,7H11V9H7V11H9A2,2 0 0,1 11,13V15A2,2 0 0,1 9,17H5V15H9V13H7A2,2 0 0,1 5,11V9A2,2 0 0,1 7,7Z"},{PackIconKind.Star,"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"},{PackIconKind.StarCircle,"M16.23,18L12,15.45L7.77,18L8.89,13.19L5.16,9.96L10.08,9.54L12,5L13.92,9.53L18.84,9.95L15.11,13.18L16.23,18M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.StarHalf,"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z"},{PackIconKind.StarOff,"M2,5.27L3.28,4L20,20.72L18.73,22L17.05,20.31L12,17.27L5.82,21L7.45,13.97L2,9.24L5.66,8.93L2,5.27M12,2L14.81,8.62L22,9.24L16.54,13.97L16.77,14.95L9.56,7.74L12,2Z"},{PackIconKind.StarOutline,"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z"},{PackIconKind.Steam,"M20.14,7.79C21.33,7.79 22.29,8.75 22.29,9.93C22.29,11.11 21.33,12.07 20.14,12.07A2.14,2.14 0 0,1 18,9.93C18,8.75 18.96,7.79 20.14,7.79M3,6.93A3,3 0 0,1 6,9.93V10.24L12.33,13.54C12.84,13.15 13.46,12.93 14.14,12.93L16.29,9.93C16.29,7.8 18,6.07 20.14,6.07A3.86,3.86 0 0,1 24,9.93A3.86,3.86 0 0,1 20.14,13.79L17.14,15.93A3,3 0 0,1 14.14,18.93C12.5,18.93 11.14,17.59 11.14,15.93C11.14,15.89 11.14,15.85 11.14,15.82L4.64,12.44C4.17,12.75 3.6,12.93 3,12.93A3,3 0 0,1 0,9.93A3,3 0 0,1 3,6.93M15.03,14.94C15.67,15.26 15.92,16.03 15.59,16.67C15.27,17.3 14.5,17.55 13.87,17.23L12.03,16.27C12.19,17.29 13.08,18.07 14.14,18.07C15.33,18.07 16.29,17.11 16.29,15.93C16.29,14.75 15.33,13.79 14.14,13.79C13.81,13.79 13.5,13.86 13.22,14L15.03,14.94M3,7.79C1.82,7.79 0.86,8.75 0.86,9.93C0.86,11.11 1.82,12.07 3,12.07C3.24,12.07 3.5,12.03 3.7,11.95L2.28,11.22C1.64,10.89 1.39,10.12 1.71,9.5C2.04,8.86 2.81,8.6 3.44,8.93L5.14,9.81C5.08,8.68 4.14,7.79 3,7.79M20.14,6.93C18.5,6.93 17.14,8.27 17.14,9.93A3,3 0 0,0 20.14,12.93A3,3 0 0,0 23.14,9.93A3,3 0 0,0 20.14,6.93Z"},{PackIconKind.Steering,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4C16.1,4 19.5,7.1 20,11H17C16.5,9.9 14.4,9 12,9C9.6,9 7.5,9.9 7,11H4C4.5,7.1 7.9,4 12,4M4,13H7C7.2,14.3 8.2,16.6 11,17V20C7.4,19.6 4.4,16.6 4,13M13,20V17C15.8,16.6 16.7,14.3 17,13H20C19.6,16.6 16.6,19.6 13,20Z"},{PackIconKind.StepBackward,"M19,5V19H16V5M14,5V19L3,12"},{PackIconKind.StepBackward2,"M17,5H14V19H17V5M12,5L1,12L12,19V5M22,5H19V19H22V5Z"},{PackIconKind.StepForward,"M5,5V19H8V5M10,5V19L21,12"},{PackIconKind.StepForward2,"M7,5H10V19H7V5M12,5L23,12L12,19V5M2,5H5V19H2V5Z"},{PackIconKind.Stethoscope,"M19,8C19.56,8 20,8.43 20,9A1,1 0 0,1 19,10C18.43,10 18,9.55 18,9C18,8.43 18.43,8 19,8M2,2V11C2,13.96 4.19,16.5 7.14,16.91C7.76,19.92 10.42,22 13.5,22A6.5,6.5 0 0,0 20,15.5V11.81C21.16,11.39 22,10.29 22,9A3,3 0 0,0 19,6A3,3 0 0,0 16,9C16,10.29 16.84,11.4 18,11.81V15.41C18,17.91 16,19.91 13.5,19.91C11.5,19.91 9.82,18.7 9.22,16.9C12,16.3 14,13.8 14,11V2H10V5H12V11A4,4 0 0,1 8,15A4,4 0 0,1 4,11V5H6V2H2Z"},{PackIconKind.Sticker,"M12.12,18.46L18.3,12.28C16.94,12.59 15.31,13.2 14.07,14.46C13.04,15.5 12.39,16.83 12.12,18.46M20.75,10H21.05C21.44,10 21.79,10.27 21.93,10.64C22.07,11 22,11.43 21.7,11.71L11.7,21.71C11.5,21.9 11.26,22 11,22L10.64,21.93C10.27,21.79 10,21.44 10,21.05C9.84,17.66 10.73,14.96 12.66,13.03C15.5,10.2 19.62,10 20.75,10M12,2C16.5,2 20.34,5 21.58,9.11L20,9H19.42C18.24,6.07 15.36,4 12,4A8,8 0 0,0 4,12C4,15.36 6.07,18.24 9,19.42C8.97,20.13 9,20.85 9.11,21.57C5,20.33 2,16.5 2,12C2,6.47 6.5,2 12,2Z"},{PackIconKind.StickerEmoji,"M5.5,2C3.56,2 2,3.56 2,5.5V18.5C2,20.44 3.56,22 5.5,22H16L22,16V5.5C22,3.56 20.44,2 18.5,2H5.5M5.75,4H18.25A1.75,1.75 0 0,1 20,5.75V15H18.5C16.56,15 15,16.56 15,18.5V20H5.75A1.75,1.75 0 0,1 4,18.25V5.75A1.75,1.75 0 0,1 5.75,4M14.44,6.77C14.28,6.77 14.12,6.79 13.97,6.83C13.03,7.09 12.5,8.05 12.74,9C12.79,9.15 12.86,9.3 12.95,9.44L16.18,8.56C16.18,8.39 16.16,8.22 16.12,8.05C15.91,7.3 15.22,6.77 14.44,6.77M8.17,8.5C8,8.5 7.85,8.5 7.7,8.55C6.77,8.81 6.22,9.77 6.47,10.7C6.5,10.86 6.59,11 6.68,11.16L9.91,10.28C9.91,10.11 9.89,9.94 9.85,9.78C9.64,9 8.95,8.5 8.17,8.5M16.72,11.26L7.59,13.77C8.91,15.3 11,15.94 12.95,15.41C14.9,14.87 16.36,13.25 16.72,11.26Z"},{PackIconKind.Stocking,"M17,2A2,2 0 0,1 19,4V7A2,2 0 0,1 17,9V17C17,17.85 16.5,18.57 15.74,18.86L9.5,21.77C8.5,22.24 7.29,21.81 6.83,20.81L6,19C5.5,18 5.95,16.8 6.95,16.34L10,14.91V9A2,2 0 0,1 8,7V4A2,2 0 0,1 10,2H17M10,4V7H17V4H10Z"},{PackIconKind.Stop,"M18,18H6V6H18V18Z"},{PackIconKind.StopCircle,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9"},{PackIconKind.StopCircleOutline,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4M9,9V15H15V9"},{PackIconKind.Store,"M12,18H6V14H12M21,14V12L20,7H4L3,12V14H4V20H14V14H18V20H20V14M20,4H4V6H20V4Z"},{PackIconKind.Store24Hour,"M16,12H15V10H13V7H14V9H15V7H16M11,10H9V11H11V12H8V9H10V8H8V7H11M19,7V4H5V7H2V20H10V16H14V20H22V7H19Z"},{PackIconKind.Stove,"M6,14H8L11,17H9L6,14M4,4H5V3A1,1 0 0,1 6,2H10A1,1 0 0,1 11,3V4H13V3A1,1 0 0,1 14,2H18A1,1 0 0,1 19,3V4H20A2,2 0 0,1 22,6V19A2,2 0 0,1 20,21V22H17V21H7V22H4V21A2,2 0 0,1 2,19V6A2,2 0 0,1 4,4M18,7A1,1 0 0,1 19,8A1,1 0 0,1 18,9A1,1 0 0,1 17,8A1,1 0 0,1 18,7M14,7A1,1 0 0,1 15,8A1,1 0 0,1 14,9A1,1 0 0,1 13,8A1,1 0 0,1 14,7M20,6H4V10H20V6M4,19H20V12H4V19M6,7A1,1 0 0,1 7,8A1,1 0 0,1 6,9A1,1 0 0,1 5,8A1,1 0 0,1 6,7M13,14H15L18,17H16L13,14Z"},{PackIconKind.SubdirectoryArrowLeft,"M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z"},{PackIconKind.SubdirectoryArrowRight,"M19,15L13,21L11.58,19.58L15.17,16H4V4H6V14H15.17L11.58,10.42L13,9L19,15Z"},{PackIconKind.Subway,"M8.5,15A1,1 0 0,1 9.5,16A1,1 0 0,1 8.5,17A1,1 0 0,1 7.5,16A1,1 0 0,1 8.5,15M7,9H17V14H7V9M15.5,15A1,1 0 0,1 16.5,16A1,1 0 0,1 15.5,17A1,1 0 0,1 14.5,16A1,1 0 0,1 15.5,15M18,15.88V9C18,6.38 15.32,6 12,6C9,6 6,6.37 6,9V15.88A2.62,2.62 0 0,0 8.62,18.5L7.5,19.62V20H9.17L10.67,18.5H13.5L15,20H16.5V19.62L15.37,18.5C16.82,18.5 18,17.33 18,15.88M17.8,2.8C20.47,3.84 22,6.05 22,8.86V22H2V8.86C2,6.05 3.53,3.84 6.2,2.8C8,2.09 10.14,2 12,2C13.86,2 16,2.09 17.8,2.8Z"},{PackIconKind.SubwayVariant,"M18,11H13V6H18M16.5,17A1.5,1.5 0 0,1 15,15.5A1.5,1.5 0 0,1 16.5,14A1.5,1.5 0 0,1 18,15.5A1.5,1.5 0 0,1 16.5,17M11,11H6V6H11M7.5,17A1.5,1.5 0 0,1 6,15.5A1.5,1.5 0 0,1 7.5,14A1.5,1.5 0 0,1 9,15.5A1.5,1.5 0 0,1 7.5,17M12,2C7.58,2 4,2.5 4,6V15.5A3.5,3.5 0 0,0 7.5,19L6,20.5V21H18V20.5L16.5,19A3.5,3.5 0 0,0 20,15.5V6C20,2.5 16.42,2 12,2Z"},{PackIconKind.Summit,"M15,3H17L22,5L17,7V10.17L22,21H2L8,13L11.5,17.7L15,10.17V3Z"},{PackIconKind.Sunglasses,"M7,17H4C2.38,17 0.96,15.74 0.76,14.14L0.26,11.15C0.15,10.3 0.39,9.5 0.91,8.92C1.43,8.34 2.19,8 3,8H9C9.83,8 10.58,8.35 11.06,8.96C11.17,9.11 11.27,9.27 11.35,9.45C11.78,9.36 12.22,9.36 12.64,9.45C12.72,9.27 12.82,9.11 12.94,8.96C13.41,8.35 14.16,8 15,8H21C21.81,8 22.57,8.34 23.09,8.92C23.6,9.5 23.84,10.3 23.74,11.11L23.23,14.18C23.04,15.74 21.61,17 20,17H17C15.44,17 13.92,15.81 13.54,14.3L12.64,11.59C12.26,11.31 11.73,11.31 11.35,11.59L10.43,14.37C10.07,15.82 8.56,17 7,17Z"},{PackIconKind.SurroundSound,"M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M7.76,16.24L6.35,17.65C4.78,16.1 4,14.05 4,12C4,9.95 4.78,7.9 6.34,6.34L7.75,7.75C6.59,8.93 6,10.46 6,12C6,13.54 6.59,15.07 7.76,16.24M12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16M17.66,17.66L16.25,16.25C17.41,15.07 18,13.54 18,12C18,10.46 17.41,8.93 16.24,7.76L17.65,6.35C19.22,7.9 20,9.95 20,12C20,14.05 19.22,16.1 17.66,17.66M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z"},{PackIconKind.SurroundSound20,"M17,7H19A2,2 0 0,1 21,9V15A2,2 0 0,1 19,17H17A2,2 0 0,1 15,15V9A2,2 0 0,1 17,7M17,9V15H19V9H17M9,17H3V15L7,9H3V7H7A2,2 0 0,1 9,9C9,9.42 8.87,9.81 8.65,10.13L5.41,15H9V17M12,17A1,1 0 0,1 11,16A1,1 0 0,1 12,15A1,1 0 0,1 13,16A1,1 0 0,1 12,17Z"},{PackIconKind.SurroundSound31,"M13,17A1,1 0 0,1 12,16A1,1 0 0,1 13,15A1,1 0 0,1 14,16A1,1 0 0,1 13,17M19,7V15H20V17H16V15H17V9H16L17,7H19M4,7H8A2,2 0 0,1 10,9V15A2,2 0 0,1 8,17H4V15H8V13H5V11H8V9H4V7Z"},{PackIconKind.SurroundSound51,"M13,17A1,1 0 0,1 12,16A1,1 0 0,1 13,15A1,1 0 0,1 14,16A1,1 0 0,1 13,17M19,7V15H20V17H16V15H17V9H16L17,7H19M6,13A2,2 0 0,1 4,11V7H10V9H6V11H8A2,2 0 0,1 10,13V15A2,2 0 0,1 8,17H4V15H8V13H6Z"},{PackIconKind.SurroundSound71,"M12,17A1,1 0 0,1 11,16A1,1 0 0,1 12,15A1,1 0 0,1 13,16A1,1 0 0,1 12,17M18,7V15H19V17H15V15H16V9H15L16,7H18M11,7L8,17H6L8.4,9H5V7H11Z"},{PackIconKind.Svg,"M5.13,10.71H8.87L6.22,8.06C5.21,8.06 4.39,7.24 4.39,6.22A1.83,1.83 0 0,1 6.22,4.39C7.24,4.39 8.06,5.21 8.06,6.22L10.71,8.87V5.13C10,4.41 10,3.25 10.71,2.54C11.42,1.82 12.58,1.82 13.29,2.54C14,3.25 14,4.41 13.29,5.13V8.87L15.95,6.22C15.95,5.21 16.76,4.39 17.78,4.39C18.79,4.39 19.61,5.21 19.61,6.22C19.61,7.24 18.79,8.06 17.78,8.06L15.13,10.71H18.87C19.59,10 20.75,10 21.46,10.71C22.18,11.42 22.18,12.58 21.46,13.29C20.75,14 19.59,14 18.87,13.29H15.13L17.78,15.95C18.79,15.95 19.61,16.76 19.61,17.78A1.83,1.83 0 0,1 17.78,19.61C16.76,19.61 15.95,18.79 15.95,17.78L13.29,15.13V18.87C14,19.59 14,20.75 13.29,21.46C12.58,22.18 11.42,22.18 10.71,21.46C10,20.75 10,19.59 10.71,18.87V15.13L8.06,17.78C8.06,18.79 7.24,19.61 6.22,19.61C5.21,19.61 4.39,18.79 4.39,17.78C4.39,16.76 5.21,15.95 6.22,15.95L8.87,13.29H5.13C4.41,14 3.25,14 2.54,13.29C1.82,12.58 1.82,11.42 2.54,10.71C3.25,10 4.41,10 5.13,10.71Z"},{PackIconKind.SwapHorizontal,"M21,9L17,5V8H10V10H17V13M7,11L3,15L7,19V16H14V14H7V11Z"},{PackIconKind.SwapVertical,"M9,3L5,7H8V14H10V7H13M16,17V10H14V17H11L15,21L19,17H16Z"},{PackIconKind.Swim,"M2,18C4.22,17 6.44,16 8.67,16C10.89,16 13.11,18 15.33,18C17.56,18 19.78,16 22,16V19C19.78,19 17.56,21 15.33,21C13.11,21 10.89,19 8.67,19C6.44,19 4.22,20 2,21V18M8.67,13C7.89,13 7.12,13.12 6.35,13.32L11.27,9.88L10.23,8.64C10.09,8.47 10,8.24 10,8C10,7.66 10.17,7.35 10.44,7.17L16.16,3.17L17.31,4.8L12.47,8.19L17.7,14.42C16.91,14.75 16.12,15 15.33,15C13.11,15 10.89,13 8.67,13M18,7A2,2 0 0,1 20,9A2,2 0 0,1 18,11A2,2 0 0,1 16,9A2,2 0 0,1 18,7Z"},{PackIconKind.Switch,"M13,18H14A1,1 0 0,1 15,19H22V21H15A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21H2V19H9A1,1 0 0,1 10,18H11V16H8A1,1 0 0,1 7,15V3A1,1 0 0,1 8,2H16A1,1 0 0,1 17,3V15A1,1 0 0,1 16,16H13V18M13,6H14V4H13V6M9,4V6H11V4H9M9,8V10H11V8H9M9,12V14H11V12H9Z"},{PackIconKind.Sword,"M6.92,5H5L14,14L15,13.06M19.96,19.12L19.12,19.96C18.73,20.35 18.1,20.35 17.71,19.96L14.59,16.84L11.91,19.5L10.5,18.09L11.92,16.67L3,7.75V3H7.75L16.67,11.92L18.09,10.5L19.5,11.91L16.83,14.58L19.95,17.7C20.35,18.1 20.35,18.73 19.96,19.12Z"},{PackIconKind.SwordCross,"M6.2,2.44L18.1,14.34L20.22,12.22L21.63,13.63L19.16,16.1L22.34,19.28C22.73,19.67 22.73,20.3 22.34,20.69L21.63,21.4C21.24,21.79 20.61,21.79 20.22,21.4L17,18.23L14.56,20.7L13.15,19.29L15.27,17.17L3.37,5.27V2.44H6.2M15.89,10L20.63,5.26V2.44H17.8L13.06,7.18L15.89,10M10.94,15L8.11,12.13L5.9,14.34L3.78,12.22L2.37,13.63L4.84,16.1L1.66,19.29C1.27,19.68 1.27,20.31 1.66,20.7L2.37,21.41C2.76,21.8 3.39,21.8 3.78,21.41L7,18.23L9.44,20.7L10.85,19.29L8.73,17.17L10.94,15Z"},{PackIconKind.Sync,"M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.SyncAlert,"M11,13H13V7H11M21,4H15V10L17.24,7.76C18.32,8.85 19,10.34 19,12C19,14.61 17.33,16.83 15,17.65V19.74C18.45,18.85 21,15.73 21,12C21,9.79 20.09,7.8 18.64,6.36M11,17H13V15H11M3,12C3,14.21 3.91,16.2 5.36,17.64L3,20H9V14L6.76,16.24C5.68,15.15 5,13.66 5,12C5,9.39 6.67,7.17 9,6.35V4.26C5.55,5.15 3,8.27 3,12Z"},{PackIconKind.SyncOff,"M20,4H14V10L16.24,7.76C17.32,8.85 18,10.34 18,12C18,13 17.75,13.94 17.32,14.77L18.78,16.23C19.55,15 20,13.56 20,12C20,9.79 19.09,7.8 17.64,6.36L20,4M2.86,5.41L5.22,7.77C4.45,9 4,10.44 4,12C4,14.21 4.91,16.2 6.36,17.64L4,20H10V14L7.76,16.24C6.68,15.15 6,13.66 6,12C6,11 6.25,10.06 6.68,9.23L14.76,17.31C14.5,17.44 14.26,17.56 14,17.65V19.74C14.79,19.53 15.54,19.2 16.22,18.78L18.58,21.14L19.85,19.87L4.14,4.14L2.86,5.41M10,6.35V4.26C9.2,4.47 8.45,4.8 7.77,5.22L9.23,6.68C9.5,6.56 9.73,6.44 10,6.35Z"},{PackIconKind.Tab,"M19,19H5V5H12V9H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},{PackIconKind.TabPlus,"M19,19V9H12V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M7,13H10V10H12V13H15V15H12V18H10V15H7V13Z"},{PackIconKind.TabUnselected,"M15,21H17V19H15M11,21H13V19H11M19,13H21V11H19M19,21A2,2 0 0,0 21,19H19M7,5H9V3H7M19,17H21V15H19M19,3H11V9H21V5C21,3.89 20.1,3 19,3M5,21V19H3A2,2 0 0,0 5,21M3,17H5V15H3M7,21H9V19H7M3,5H5V3C3.89,3 3,3.89 3,5M3,13H5V11H3M3,9H5V7H3V9Z"},{PackIconKind.Table,"M5,4H19A2,2 0 0,1 21,6V18A2,2 0 0,1 19,20H5A2,2 0 0,1 3,18V6A2,2 0 0,1 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z"},{PackIconKind.TableColumn,"M8,2H16A2,2 0 0,1 18,4V20A2,2 0 0,1 16,22H8A2,2 0 0,1 6,20V4A2,2 0 0,1 8,2M8,10V14H16V10H8M8,16V20H16V16H8M8,4V8H16V4H8Z"},{PackIconKind.TableColumnPlusAfter,"M11,2A2,2 0 0,1 13,4V20A2,2 0 0,1 11,22H2V2H11M4,10V14H11V10H4M4,16V20H11V16H4M4,4V8H11V4H4M15,11H18V8H20V11H23V13H20V16H18V13H15V11Z"},{PackIconKind.TableColumnPlusBefore,"M13,2A2,2 0 0,0 11,4V20A2,2 0 0,0 13,22H22V2H13M20,10V14H13V10H20M20,16V20H13V16H20M20,4V8H13V4H20M9,11H6V8H4V11H1V13H4V16H6V13H9V11Z"},{PackIconKind.TableColumnRemove,"M4,2H11A2,2 0 0,1 13,4V20A2,2 0 0,1 11,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M4,10V14H11V10H4M4,16V20H11V16H4M4,4V8H11V4H4M17.59,12L15,9.41L16.41,8L19,10.59L21.59,8L23,9.41L20.41,12L23,14.59L21.59,16L19,13.41L16.41,16L15,14.59L17.59,12Z"},{PackIconKind.TableColumnWidth,"M5,8H19A2,2 0 0,1 21,10V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V10A2,2 0 0,1 5,8M5,12V15H11V12H5M13,12V15H19V12H13M5,17V20H11V17H5M13,17V20H19V17H13M11,2H21V6H19V4H13V6H11V2Z"},{PackIconKind.TableEdit,"M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.08 20.21,11.08 20.42,11.3L21.7,12.58C21.92,12.79 21.92,13.14 21.7,13.35M12,18.94L18.07,12.88L20.12,14.93L14.06,21H12V18.94M4,2H18A2,2 0 0,1 20,4V8.17L16.17,12H12V16.17L10.17,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M4,6V10H10V6H4M12,6V10H18V6H12M4,12V16H10V12H4Z"},{PackIconKind.TableLarge,"M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z"},{PackIconKind.TableOfContents,"M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"},{PackIconKind.TableRow,"M22,14A2,2 0 0,1 20,16H4A2,2 0 0,1 2,14V10A2,2 0 0,1 4,8H20A2,2 0 0,1 22,10V14M4,14H8V10H4V14M10,14H14V10H10V14M16,14H20V10H16V14Z"},{PackIconKind.TableRowHeight,"M3,5H15A2,2 0 0,1 17,7V17A2,2 0 0,1 15,19H3A2,2 0 0,1 1,17V7A2,2 0 0,1 3,5M3,9V12H8V9H3M10,9V12H15V9H10M3,14V17H8V14H3M10,14V17H15V14H10M23,14V7H19V9H21V12H19V14H23Z"},{PackIconKind.TableRowPlusAfter,"M22,10A2,2 0 0,1 20,12H4A2,2 0 0,1 2,10V3H4V5H8V3H10V5H14V3H16V5H20V3H22V10M4,10H8V7H4V10M10,10H14V7H10V10M20,10V7H16V10H20M11,14H13V17H16V19H13V22H11V19H8V17H11V14Z"},{PackIconKind.TableRowPlusBefore,"M22,14A2,2 0 0,0 20,12H4A2,2 0 0,0 2,14V21H4V19H8V21H10V19H14V21H16V19H20V21H22V14M4,14H8V17H4V14M10,14H14V17H10V14M20,14V17H16V14H20M11,10H13V7H16V5H13V2H11V5H8V7H11V10Z"},{PackIconKind.TableRowRemove,"M9.41,13L12,15.59L14.59,13L16,14.41L13.41,17L16,19.59L14.59,21L12,18.41L9.41,21L8,19.59L10.59,17L8,14.41L9.41,13M22,9A2,2 0 0,1 20,11H4A2,2 0 0,1 2,9V6A2,2 0 0,1 4,4H20A2,2 0 0,1 22,6V9M4,9H8V6H4V9M10,9H14V6H10V9M16,9H20V6H16V9Z"},{PackIconKind.TableSettings,"M7,22H9V24H7V22M11,22H13V24H11V22M15,22H17V24H15V22M5,4H19A2,2 0 0,1 21,6V18A2,2 0 0,1 19,20H5A2,2 0 0,1 3,18V6A2,2 0 0,1 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z"},{PackIconKind.Tablet,"M19,18H5V6H19M21,4H3C1.89,4 1,4.89 1,6V18A2,2 0 0,0 3,20H21A2,2 0 0,0 23,18V6C23,4.89 22.1,4 21,4Z"},{PackIconKind.TabletAndroid,"M19.25,19H4.75V3H19.25M14,22H10V21H14M18,0H6A3,3 0 0,0 3,3V21A3,3 0 0,0 6,24H18A3,3 0 0,0 21,21V3A3,3 0 0,0 18,0Z"},{PackIconKind.TabletIpad,"M19,19H4V3H19M11.5,23A1.5,1.5 0 0,1 10,21.5A1.5,1.5 0 0,1 11.5,20A1.5,1.5 0 0,1 13,21.5A1.5,1.5 0 0,1 11.5,23M18.5,0H4.5A2.5,2.5 0 0,0 2,2.5V21.5A2.5,2.5 0 0,0 4.5,24H18.5A2.5,2.5 0 0,0 21,21.5V2.5A2.5,2.5 0 0,0 18.5,0Z"},{PackIconKind.Taco,"M19,18H5A4,4 0 0,1 1,14A8,8 0 0,1 9,6C10.06,6 11.07,6.21 12,6.58C12.93,6.21 13.94,6 15,6A8,8 0 0,1 23,14A4,4 0 0,1 19,18M3,14A2,2 0 0,0 5,16A2,2 0 0,0 7,14C7,11.63 8.03,9.5 9.67,8.04L9,8A6,6 0 0,0 3,14M19,16A2,2 0 0,0 21,14A6,6 0 0,0 15,8A6,6 0 0,0 9,14C9,14.73 8.81,15.41 8.46,16H19Z"},{PackIconKind.Tag,"M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z"},{PackIconKind.TagFaces,"M15,18C11.68,18 9,15.31 9,12C9,8.68 11.68,6 15,6A6,6 0 0,1 21,12A6,6 0 0,1 15,18M4,13A1,1 0 0,1 3,12A1,1 0 0,1 4,11A1,1 0 0,1 5,12A1,1 0 0,1 4,13M22,3H7.63C6.97,3 6.38,3.32 6,3.81L0,12L6,20.18C6.38,20.68 6.97,21 7.63,21H22A2,2 0 0,0 24,19V5C24,3.89 23.1,3 22,3M13,11A1,1 0 0,0 14,10A1,1 0 0,0 13,9A1,1 0 0,0 12,10A1,1 0 0,0 13,11M15,16C16.86,16 18.35,14.72 18.8,13H11.2C11.65,14.72 13.14,16 15,16M17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11Z"},{PackIconKind.TagHeart,"M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4A2,2 0 0,0 2,4V11C2,11.55 2.22,12.05 2.59,12.42L11.59,21.42C11.95,21.78 12.45,22 13,22C13.55,22 14.05,21.78 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.45 21.77,11.94 21.41,11.58M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M17.27,15.27L13,19.54L8.73,15.27C8.28,14.81 8,14.19 8,13.5A2.5,2.5 0 0,1 10.5,11C11.19,11 11.82,11.28 12.27,11.74L13,12.46L13.73,11.73C14.18,11.28 14.81,11 15.5,11A2.5,2.5 0 0,1 18,13.5C18,14.19 17.72,14.82 17.27,15.27Z"},{PackIconKind.TagMultiple,"M5.5,9A1.5,1.5 0 0,0 7,7.5A1.5,1.5 0 0,0 5.5,6A1.5,1.5 0 0,0 4,7.5A1.5,1.5 0 0,0 5.5,9M17.41,11.58C17.77,11.94 18,12.44 18,13C18,13.55 17.78,14.05 17.41,14.41L12.41,19.41C12.05,19.77 11.55,20 11,20C10.45,20 9.95,19.78 9.58,19.41L2.59,12.42C2.22,12.05 2,11.55 2,11V6C2,4.89 2.89,4 4,4H9C9.55,4 10.05,4.22 10.41,4.58L17.41,11.58M13.54,5.71L14.54,4.71L21.41,11.58C21.78,11.94 22,12.45 22,13C22,13.55 21.78,14.05 21.42,14.41L16.04,19.79L15.04,18.79L20.75,13L13.54,5.71Z"},{PackIconKind.TagOutline,"M5.5,7A1.5,1.5 0 0,0 7,5.5A1.5,1.5 0 0,0 5.5,4A1.5,1.5 0 0,0 4,5.5A1.5,1.5 0 0,0 5.5,7M21.41,11.58C21.77,11.94 22,12.44 22,13C22,13.55 21.78,14.05 21.41,14.41L14.41,21.41C14.05,21.77 13.55,22 13,22C12.45,22 11.95,21.77 11.58,21.41L2.59,12.41C2.22,12.05 2,11.55 2,11V4C2,2.89 2.89,2 4,2H11C11.55,2 12.05,2.22 12.41,2.58L21.41,11.58M13,20L20,13L11.5,4.5L4.5,11.5L13,20Z"},{PackIconKind.TagPlus,"M21.41,11.58L12.41,2.58C12.04,2.21 11.53,2 11,2H4A2,2 0 0,0 2,4V11C2,11.53 2.21,12.04 2.59,12.41L3,12.81C3.9,12.27 4.94,12 6,12A6,6 0 0,1 12,18C12,19.06 11.72,20.09 11.18,21L11.58,21.4C11.95,21.78 12.47,22 13,22C13.53,22 14.04,21.79 14.41,21.41L21.41,14.41C21.79,14.04 22,13.53 22,13C22,12.47 21.79,11.96 21.41,11.58M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M10,19H7V22H5V19H2V17H5V14H7V17H10V19Z"},{PackIconKind.TagRemove,"M21.41,11.58L12.41,2.58C12.04,2.21 11.53,2 11,2H4A2,2 0 0,0 2,4V11C2,11.53 2.21,12.04 2.59,12.41L3,12.81C3.9,12.27 4.94,12 6,12A6,6 0 0,1 12,18C12,19.06 11.72,20.09 11.18,21L11.58,21.4C11.95,21.78 12.47,22 13,22C13.53,22 14.04,21.79 14.41,21.41L21.41,14.41C21.79,14.04 22,13.53 22,13C22,12.47 21.79,11.96 21.41,11.58M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M8.12,21.54L6,19.41L3.88,21.54L2.46,20.12L4.59,18L2.46,15.88L3.87,14.47L6,16.59L8.12,14.47L9.53,15.88L7.41,18L9.53,20.12L8.12,21.54Z"},{PackIconKind.TagTextOutline,"M5.5,7A1.5,1.5 0 0,0 7,5.5A1.5,1.5 0 0,0 5.5,4A1.5,1.5 0 0,0 4,5.5A1.5,1.5 0 0,0 5.5,7M21.41,11.58C21.77,11.94 22,12.44 22,13C22,13.55 21.78,14.05 21.41,14.41L14.41,21.41C14.05,21.77 13.55,22 13,22C12.45,22 11.95,21.77 11.58,21.41L2.59,12.41C2.22,12.05 2,11.55 2,11V4C2,2.89 2.89,2 4,2H11C11.55,2 12.05,2.22 12.41,2.58L21.41,11.58M13,20L20,13L11.5,4.5L4.5,11.5L13,20M10.09,8.91L11.5,7.5L17,13L15.59,14.41L10.09,8.91M7.59,11.41L9,10L13,14L11.59,15.41L7.59,11.41Z"},{PackIconKind.Target,"M11,2V4.07C7.38,4.53 4.53,7.38 4.07,11H2V13H4.07C4.53,16.62 7.38,19.47 11,19.93V22H13V19.93C16.62,19.47 19.47,16.62 19.93,13H22V11H19.93C19.47,7.38 16.62,4.53 13,4.07V2M11,6.08V8H13V6.09C15.5,6.5 17.5,8.5 17.92,11H16V13H17.91C17.5,15.5 15.5,17.5 13,17.92V16H11V17.91C8.5,17.5 6.5,15.5 6.08,13H8V11H6.09C6.5,8.5 8.5,6.5 11,6.08M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11Z"},{PackIconKind.Taxi,"M5,11L6.5,6.5H17.5L19,11M17.5,16A1.5,1.5 0 0,1 16,14.5A1.5,1.5 0 0,1 17.5,13A1.5,1.5 0 0,1 19,14.5A1.5,1.5 0 0,1 17.5,16M6.5,16A1.5,1.5 0 0,1 5,14.5A1.5,1.5 0 0,1 6.5,13A1.5,1.5 0 0,1 8,14.5A1.5,1.5 0 0,1 6.5,16M18.92,6C18.72,5.42 18.16,5 17.5,5H15V3H9V5H6.5C5.84,5 5.28,5.42 5.08,6L3,12V20A1,1 0 0,0 4,21H5A1,1 0 0,0 6,20V19H18V20A1,1 0 0,0 19,21H20A1,1 0 0,0 21,20V12L18.92,6Z"},{PackIconKind.Teamviewer,"M19,3A2,2 0 0,1 21,5V19C21,20.11 20.1,21 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5M7,12L10,9V11H14V9L17,12L14,15V13H10V15L7,12Z"},{PackIconKind.Telegram,"M9.78,18.65L10.06,14.42L17.74,7.5C18.08,7.19 17.67,7.04 17.22,7.31L7.74,13.3L3.64,12C2.76,11.75 2.75,11.14 3.84,10.7L19.81,4.54C20.54,4.21 21.24,4.72 20.96,5.84L18.24,18.65C18.05,19.56 17.5,19.78 16.74,19.36L12.6,16.3L10.61,18.23C10.38,18.46 10.19,18.65 9.78,18.65Z"},{PackIconKind.Television,"M20,17H4V5H20M20,3H4C2.89,3 2,3.89 2,5V17A2,2 0 0,0 4,19H8V21H16V19H20A2,2 0 0,0 22,17V5C22,3.89 21.1,3 20,3Z"},{PackIconKind.TelevisionBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M16,16L19,8H16.5L15,12.5L13.5,8H5V10H8V16H10V10H11.77L14,16H16Z"},{PackIconKind.TelevisionClassic,"M8.16,3L6.75,4.41L9.34,7H4C2.89,7 2,7.89 2,9V19C2,20.11 2.89,21 4,21H20C21.11,21 22,20.11 22,19V9C22,7.89 21.11,7 20,7H14.66L17.25,4.41L15.84,3L12,6.84L8.16,3M4,9H17V19H4V9M19.5,9A1,1 0 0,1 20.5,10A1,1 0 0,1 19.5,11A1,1 0 0,1 18.5,10A1,1 0 0,1 19.5,9M19.5,12A1,1 0 0,1 20.5,13A1,1 0 0,1 19.5,14A1,1 0 0,1 18.5,13A1,1 0 0,1 19.5,12Z"},{PackIconKind.TelevisionClassicOff,"M2,5.27L3.28,4L21,21.72L19.73,23L17.73,21H4C2.89,21 2,20.11 2,19V9C2,8 2.76,7.14 3.75,7L2,5.27M8.16,3L12,6.84L15.84,3L17.25,4.41L14.66,7H20C21.11,7 22,7.89 22,9V19C22,19.34 21.92,19.66 21.77,19.94L17,15.18V9H10.82L8.82,7H9.34L6.75,4.41L8.16,3M4,9V19H15.73L5.73,9H4M19.5,9A1,1 0 0,0 18.5,10A1,1 0 0,0 19.5,11A1,1 0 0,0 20.5,10A1,1 0 0,0 19.5,9M19.5,12A1,1 0 0,0 18.5,13A1,1 0 0,0 19.5,14A1,1 0 0,0 20.5,13A1,1 0 0,0 19.5,12Z"},{PackIconKind.TelevisionGuide,"M21,17V5H3V17H21M21,3A2,2 0 0,1 23,5V17A2,2 0 0,1 21,19H16V21H8V19H3A2,2 0 0,1 1,17V5A2,2 0 0,1 3,3H21M5,7H11V11H5V7M5,13H11V15H5V13M13,7H19V9H13V7M13,11H19V15H13V11Z"},{PackIconKind.TelevisionOff,"M0.5,2.77L1.78,1.5L21,20.72L19.73,22L16.73,19H16V21H8V19H3A2,2 0 0,1 1,17V5C1,4.5 1.17,4.07 1.46,3.73L0.5,2.77M21,17V5H7.82L5.82,3H21A2,2 0 0,1 23,5V17C23,17.85 22.45,18.59 21.7,18.87L19.82,17H21M3,17H14.73L3,5.27V17Z"},{PackIconKind.TemperatureCelsius,"M16.5,5C18.05,5 19.5,5.47 20.69,6.28L19.53,9.17C18.73,8.44 17.67,8 16.5,8C14,8 12,10 12,12.5C12,15 14,17 16.5,17C17.53,17 18.47,16.66 19.23,16.08L20.37,18.93C19.24,19.61 17.92,20 16.5,20A7.5,7.5 0 0,1 9,12.5A7.5,7.5 0 0,1 16.5,5M6,3A3,3 0 0,1 9,6A3,3 0 0,1 6,9A3,3 0 0,1 3,6A3,3 0 0,1 6,3M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5Z"},{PackIconKind.TemperatureFahrenheit,"M11,20V5H20V8H14V11H19V14H14V20H11M6,3A3,3 0 0,1 9,6A3,3 0 0,1 6,9A3,3 0 0,1 3,6A3,3 0 0,1 6,3M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5Z"},{PackIconKind.TemperatureKelvin,"M7,5H10V11L15,5H19L13.88,10.78L19,20H15.38L11.76,13.17L10,15.15V20H7V5Z"},{PackIconKind.Tennis,"M12,2C14.5,2 16.75,2.9 18.5,4.4C16.36,6.23 15,8.96 15,12C15,15.04 16.36,17.77 18.5,19.6C16.75,21.1 14.5,22 12,22C9.5,22 7.25,21.1 5.5,19.6C7.64,17.77 9,15.04 9,12C9,8.96 7.64,6.23 5.5,4.4C7.25,2.9 9.5,2 12,2M22,12C22,14.32 21.21,16.45 19.88,18.15C18.12,16.68 17,14.47 17,12C17,9.53 18.12,7.32 19.88,5.85C21.21,7.55 22,9.68 22,12M2,12C2,9.68 2.79,7.55 4.12,5.85C5.88,7.32 7,9.53 7,12C7,14.47 5.88,16.68 4.12,18.15C2.79,16.45 2,14.32 2,12Z"},{PackIconKind.Tent,"M4,6C4,7.19 4.39,8.27 5,9A3,3 0 0,1 2,6A3,3 0 0,1 5,3C4.39,3.73 4,4.81 4,6M2,21V19H4.76L12,4.78L19.24,19H22V21H2M12,9.19L7,19H17L12,9.19Z"},{PackIconKind.Terrain,"M14,6L10.25,11L13.1,14.8L11.5,16C9.81,13.75 7,10 7,10L1,18H23L14,6Z"},{PackIconKind.TestTube,"M7,2V4H8V18A4,4 0 0,0 12,22A4,4 0 0,0 16,18V4H17V2H7M11,16C10.4,16 10,15.6 10,15C10,14.4 10.4,14 11,14C11.6,14 12,14.4 12,15C12,15.6 11.6,16 11,16M13,12C12.4,12 12,11.6 12,11C12,10.4 12.4,10 13,10C13.6,10 14,10.4 14,11C14,11.6 13.6,12 13,12M14,7H10V4H14V7Z"},{PackIconKind.TextShadow,"M3,3H16V6H11V18H8V6H3V3M12,7H14V9H12V7M15,7H17V9H15V7M18,7H20V9H18V7M12,10H14V12H12V10M12,13H14V15H12V13M12,16H14V18H12V16M12,19H14V21H12V19Z"},{PackIconKind.TextToSpeech,"M8,7A2,2 0 0,1 10,9V14A2,2 0 0,1 8,16A2,2 0 0,1 6,14V9A2,2 0 0,1 8,7M14,14C14,16.97 11.84,19.44 9,19.92V22H7V19.92C4.16,19.44 2,16.97 2,14H4A4,4 0 0,0 8,18A4,4 0 0,0 12,14H14M21.41,9.41L17.17,13.66L18.18,10H14A2,2 0 0,1 12,8V4A2,2 0 0,1 14,2H20A2,2 0 0,1 22,4V8C22,8.55 21.78,9.05 21.41,9.41Z"},{PackIconKind.TextToSpeechOff,"M2,5.27L3.28,4L20,20.72L18.73,22L13.38,16.65C12.55,18.35 10.93,19.59 9,19.92V22H7V19.92C4.16,19.44 2,16.97 2,14H4A4,4 0 0,0 8,18C9.82,18 11.36,16.78 11.84,15.11L10,13.27V14A2,2 0 0,1 8,16A2,2 0 0,1 6,14V9.27L2,5.27M21.41,9.41L17.17,13.66L18.18,10H14A2,2 0 0,1 12,8V4A2,2 0 0,1 14,2H20A2,2 0 0,1 22,4V8C22,8.55 21.78,9.05 21.41,9.41Z"},{PackIconKind.Textbox,"M17,7H22V17H17V19A1,1 0 0,0 18,20H20V22H17.5C16.95,22 16,21.55 16,21C16,21.55 15.05,22 14.5,22H12V20H14A1,1 0 0,0 15,19V5A1,1 0 0,0 14,4H12V2H14.5C15.05,2 16,2.45 16,3C16,2.45 16.95,2 17.5,2H20V4H18A1,1 0 0,0 17,5V7M2,7H13V9H4V15H13V17H2V7M20,15V9H17V15H20Z"},{PackIconKind.TextboxPassword,"M17,7H22V17H17V19A1,1 0 0,0 18,20H20V22H17.5C16.95,22 16,21.55 16,21C16,21.55 15.05,22 14.5,22H12V20H14A1,1 0 0,0 15,19V5A1,1 0 0,0 14,4H12V2H14.5C15.05,2 16,2.45 16,3C16,2.45 16.95,2 17.5,2H20V4H18A1,1 0 0,0 17,5V7M2,7H13V9H4V15H13V17H2V7M20,15V9H17V15H20M8.5,12A1.5,1.5 0 0,0 7,10.5A1.5,1.5 0 0,0 5.5,12A1.5,1.5 0 0,0 7,13.5A1.5,1.5 0 0,0 8.5,12M13,10.89C12.39,10.33 11.44,10.38 10.88,11C10.32,11.6 10.37,12.55 11,13.11C11.55,13.63 12.43,13.63 13,13.11V10.89Z"},{PackIconKind.Texture,"M9.29,21H12.12L21,12.12V9.29M19,21C19.55,21 20.05,20.78 20.41,20.41C20.78,20.05 21,19.55 21,19V17L17,21M5,3A2,2 0 0,0 3,5V7L7,3M11.88,3L3,11.88V14.71L14.71,3M19.5,3.08L3.08,19.5C3.17,19.85 3.35,20.16 3.59,20.41C3.84,20.65 4.15,20.83 4.5,20.92L20.93,4.5C20.74,3.8 20.2,3.26 19.5,3.08Z"},{PackIconKind.Theater,"M4,15H6A2,2 0 0,1 8,17V19H9V17A2,2 0 0,1 11,15H13A2,2 0 0,1 15,17V19H16V17A2,2 0 0,1 18,15H20A2,2 0 0,1 22,17V19H23V22H1V19H2V17A2,2 0 0,1 4,15M11,7L15,10L11,13V7M4,2H20A2,2 0 0,1 22,4V13.54C21.41,13.19 20.73,13 20,13V4H4V13C3.27,13 2.59,13.19 2,13.54V4A2,2 0 0,1 4,2Z"},{PackIconKind.ThemeLightDark,"M7.5,2C5.71,3.15 4.5,5.18 4.5,7.5C4.5,9.82 5.71,11.85 7.53,13C4.46,13 2,10.54 2,7.5A5.5,5.5 0 0,1 7.5,2M19.07,3.5L20.5,4.93L4.93,20.5L3.5,19.07L19.07,3.5M12.89,5.93L11.41,5L9.97,6L10.39,4.3L9,3.24L10.75,3.12L11.33,1.47L12,3.1L13.73,3.13L12.38,4.26L12.89,5.93M9.59,9.54L8.43,8.81L7.31,9.59L7.65,8.27L6.56,7.44L7.92,7.35L8.37,6.06L8.88,7.33L10.24,7.36L9.19,8.23L9.59,9.54M19,13.5A5.5,5.5 0 0,1 13.5,19C12.28,19 11.15,18.6 10.24,17.93L17.93,10.24C18.6,11.15 19,12.28 19,13.5M14.6,20.08L17.37,18.93L17.13,22.28L14.6,20.08M18.93,17.38L20.08,14.61L22.28,17.15L18.93,17.38M20.08,12.42L18.94,9.64L22.28,9.88L20.08,12.42M9.63,18.93L12.4,20.08L9.87,22.27L9.63,18.93Z"},{PackIconKind.Thermometer,"M17,17A5,5 0 0,1 12,22A5,5 0 0,1 7,17C7,15.36 7.79,13.91 9,13V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V13C16.21,13.91 17,15.36 17,17M11,8V14.17C9.83,14.58 9,15.69 9,17A3,3 0 0,0 12,20A3,3 0 0,0 15,17C15,15.69 14.17,14.58 13,14.17V8H11Z"},{PackIconKind.ThermometerLines,"M17,3H21V5H17V3M17,7H21V9H17V7M17,11H21V13H17.75L17,12.1V11M21,15V17H19C19,16.31 18.9,15.63 18.71,15H21M17,17A5,5 0 0,1 12,22A5,5 0 0,1 7,17C7,15.36 7.79,13.91 9,13V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V13C16.21,13.91 17,15.36 17,17M11,8V14.17C9.83,14.58 9,15.69 9,17A3,3 0 0,0 12,20A3,3 0 0,0 15,17C15,15.69 14.17,14.58 13,14.17V8H11M7,3V5H3V3H7M7,7V9H3V7H7M7,11V12.1L6.25,13H3V11H7M3,15H5.29C5.1,15.63 5,16.31 5,17H3V15Z"},{PackIconKind.ThermostatBox,"M5,3A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H5M12,5C13.57,5 15,5.5 16.19,6.4L14,8.56C13.43,8.21 12.74,8 12,8A4,4 0 0,0 8,12C8,13.1 8.45,14.1 9.17,14.83L7.05,16.95C5.78,15.68 5,13.93 5,12A7,7 0 0,1 12,5M17.6,7.81C18.5,9 19,10.43 19,12C19,13.93 18.22,15.68 16.95,16.95L14.83,14.83C15.55,14.1 16,13.1 16,12C16,11.26 15.79,10.57 15.43,10L17.6,7.81Z"},{PackIconKind.ThoughtBubble,"M3.5,19A1.5,1.5 0 0,1 5,20.5A1.5,1.5 0 0,1 3.5,22A1.5,1.5 0 0,1 2,20.5A1.5,1.5 0 0,1 3.5,19M8.5,16A2.5,2.5 0 0,1 11,18.5A2.5,2.5 0 0,1 8.5,21A2.5,2.5 0 0,1 6,18.5A2.5,2.5 0 0,1 8.5,16M14.5,15C13.31,15 12.23,14.5 11.5,13.65C10.77,14.5 9.69,15 8.5,15C6.54,15 4.91,13.59 4.57,11.74C3.07,11.16 2,9.7 2,8A4,4 0 0,1 6,4C6.26,4 6.5,4.03 6.77,4.07C7.5,3.41 8.45,3 9.5,3C10.69,3 11.77,3.5 12.5,4.35C13.23,3.5 14.31,3 15.5,3C17.46,3 19.09,4.41 19.43,6.26C20.93,6.84 22,8.3 22,10A4,4 0 0,1 18,14L17.23,13.93C16.5,14.59 15.55,15 14.5,15Z"},{PackIconKind.ThoughtBubbleOutline,"M3.5,19A1.5,1.5 0 0,1 5,20.5A1.5,1.5 0 0,1 3.5,22A1.5,1.5 0 0,1 2,20.5A1.5,1.5 0 0,1 3.5,19M8.5,16A2.5,2.5 0 0,1 11,18.5A2.5,2.5 0 0,1 8.5,21A2.5,2.5 0 0,1 6,18.5A2.5,2.5 0 0,1 8.5,16M14.5,15C13.31,15 12.23,14.5 11.5,13.65C10.77,14.5 9.69,15 8.5,15C6.54,15 4.91,13.59 4.57,11.74C3.07,11.16 2,9.7 2,8A4,4 0 0,1 6,4L6.77,4.07C7.5,3.41 8.45,3 9.5,3C10.69,3 11.77,3.5 12.5,4.35C13.23,3.5 14.31,3 15.5,3C17.46,3 19.09,4.41 19.43,6.26C20.93,6.84 22,8.3 22,10A4,4 0 0,1 18,14L17.23,13.93C16.5,14.59 15.55,15 14.5,15M6,6A2,2 0 0,0 4,8A2,2 0 0,0 6,10C6.33,10 6.64,9.92 6.92,9.78C6.66,10.12 6.5,10.54 6.5,11A2,2 0 0,0 8.5,13C9.1,13 9.64,12.73 10,12.31V12.31L11.47,10.63L13,12.34V12.34C13.38,12.74 13.91,13 14.5,13C15.5,13 16.33,12.26 16.5,11.3C16.84,11.73 17.39,12 18,12A2,2 0 0,0 20,10A2,2 0 0,0 18,8C17.67,8 17.36,8.08 17.08,8.22C17.34,7.88 17.5,7.46 17.5,7A2,2 0 0,0 15.5,5C14.91,5 14.38,5.26 14,5.66L12.47,7.37L11,5.69V5.69C10.64,5.27 10.1,5 9.5,5C8.5,5 7.67,5.74 7.5,6.7C7.16,6.27 6.61,6 6,6M8.5,17.5A1,1 0 0,0 7.5,18.5A1,1 0 0,0 8.5,19.5A1,1 0 0,0 9.5,18.5A1,1 0 0,0 8.5,17.5Z"},{PackIconKind.ThumbDown,"M19,15H23V3H19M15,3H6C5.17,3 4.46,3.5 4.16,4.22L1.14,11.27C1.05,11.5 1,11.74 1,12V14A2,2 0 0,0 3,16H9.31L8.36,20.57C8.34,20.67 8.33,20.77 8.33,20.88C8.33,21.3 8.5,21.67 8.77,21.94L9.83,23L16.41,16.41C16.78,16.05 17,15.55 17,15V5C17,3.89 16.1,3 15,3Z"},{PackIconKind.ThumbDownOutline,"M19,15V3H23V15H19M15,3A2,2 0 0,1 17,5V15C17,15.55 16.78,16.05 16.41,16.41L9.83,23L8.77,21.94C8.5,21.67 8.33,21.3 8.33,20.88L8.36,20.57L9.31,16H3C1.89,16 1,15.1 1,14V12C1,11.74 1.05,11.5 1.14,11.27L4.16,4.22C4.46,3.5 5.17,3 6,3H15M15,5H5.97L3,12V14H11.78L10.65,19.32L15,14.97V5Z"},{PackIconKind.ThumbUp,"M23,10C23,8.89 22.1,8 21,8H14.68L15.64,3.43C15.66,3.33 15.67,3.22 15.67,3.11C15.67,2.7 15.5,2.32 15.23,2.05L14.17,1L7.59,7.58C7.22,7.95 7,8.45 7,9V19A2,2 0 0,0 9,21H18C18.83,21 19.54,20.5 19.84,19.78L22.86,12.73C22.95,12.5 23,12.26 23,12V10M1,21H5V9H1V21Z"},{PackIconKind.ThumbUpOutline,"M5,9V21H1V9H5M9,21A2,2 0 0,1 7,19V9C7,8.45 7.22,7.95 7.59,7.59L14.17,1L15.23,2.06C15.5,2.33 15.67,2.7 15.67,3.11L15.64,3.43L14.69,8H21C22.11,8 23,8.9 23,10V12C23,12.26 22.95,12.5 22.86,12.73L19.84,19.78C19.54,20.5 18.83,21 18,21H9M9,19H18.03L21,12V10H12.21L13.34,4.68L9,9.03V19Z"},{PackIconKind.ThumbsUpDown,"M22.5,10H15.75C15.13,10 14.6,10.38 14.37,10.91L12.11,16.2C12.04,16.37 12,16.56 12,16.75V18A1,1 0 0,0 13,19H18.18L17.5,22.18V22.42C17.5,22.73 17.63,23 17.83,23.22L18.62,24L23.56,19.06C23.83,18.79 24,18.41 24,18V11.5A1.5,1.5 0 0,0 22.5,10M12,6A1,1 0 0,0 11,5H5.82L6.5,1.82V1.59C6.5,1.28 6.37,1 6.17,0.79L5.38,0L0.44,4.94C0.17,5.21 0,5.59 0,6V12.5A1.5,1.5 0 0,0 1.5,14H8.25C8.87,14 9.4,13.62 9.63,13.09L11.89,7.8C11.96,7.63 12,7.44 12,7.25V6Z"},{PackIconKind.Ticket,"M15.58,16.8L12,14.5L8.42,16.8L9.5,12.68L6.21,10L10.46,9.74L12,5.8L13.54,9.74L17.79,10L14.5,12.68M20,12C20,10.89 20.9,10 22,10V6C22,4.89 21.1,4 20,4H4A2,2 0 0,0 2,6V10C3.11,10 4,10.9 4,12A2,2 0 0,1 2,14V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V14A2,2 0 0,1 20,12Z"},{PackIconKind.TicketAccount,"M20,12A2,2 0 0,0 22,14V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V14C3.11,14 4,13.1 4,12A2,2 0 0,0 2,10V6C2,4.89 2.9,4 4,4H20A2,2 0 0,1 22,6V10A2,2 0 0,0 20,12M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5V16.25M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z"},{PackIconKind.TicketConfirmation,"M13,8.5H11V6.5H13V8.5M13,13H11V11H13V13M13,17.5H11V15.5H13V17.5M22,10V6C22,4.89 21.1,4 20,4H4A2,2 0 0,0 2,6V10C3.11,10 4,10.9 4,12A2,2 0 0,1 2,14V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V14A2,2 0 0,1 20,12A2,2 0 0,1 22,10Z"},{PackIconKind.TicketPercent,"M4,4A2,2 0 0,0 2,6V10C3.11,10 4,10.9 4,12A2,2 0 0,1 2,14V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V14A2,2 0 0,1 20,12C20,10.89 20.9,10 22,10V6C22,4.89 21.1,4 20,4H4M15.5,7L17,8.5L8.5,17L7,15.5L15.5,7M8.81,7.04C9.79,7.04 10.58,7.83 10.58,8.81A1.77,1.77 0 0,1 8.81,10.58C7.83,10.58 7.04,9.79 7.04,8.81A1.77,1.77 0 0,1 8.81,7.04M15.19,13.42C16.17,13.42 16.96,14.21 16.96,15.19A1.77,1.77 0 0,1 15.19,16.96C14.21,16.96 13.42,16.17 13.42,15.19A1.77,1.77 0 0,1 15.19,13.42Z"},{PackIconKind.Tie,"M6,2L10,6L7,17L12,22L17,17L14,6L18,2Z"},{PackIconKind.Tilde,"M2,15C2,15 2,9 8,9C12,9 12.5,12.5 15.5,12.5C19.5,12.5 19.5,9 19.5,9H22C22,9 22,15 16,15C12,15 10.5,11.5 8.5,11.5C4.5,11.5 4.5,15 4.5,15H2"},{PackIconKind.Timelapse,"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.24,7.76C15.07,6.58 13.53,6 12,6V12L7.76,16.24C10.1,18.58 13.9,18.58 16.24,16.24C18.59,13.9 18.59,10.1 16.24,7.76Z"},{PackIconKind.Timer,"M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M19.03,7.39L20.45,5.97C20,5.46 19.55,5 19.04,4.56L17.62,6C16.07,4.74 14.12,4 12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22C17,22 21,17.97 21,13C21,10.88 20.26,8.93 19.03,7.39M11,14H13V8H11M15,1H9V3H15V1Z"},{PackIconKind.Timer10,"M12.9,13.22C12.9,13.82 12.86,14.33 12.78,14.75C12.7,15.17 12.58,15.5 12.42,15.77C12.26,16.03 12.06,16.22 11.83,16.34C11.6,16.46 11.32,16.5 11,16.5C10.71,16.5 10.43,16.46 10.19,16.34C9.95,16.22 9.75,16.03 9.59,15.77C9.43,15.5 9.3,15.17 9.21,14.75C9.12,14.33 9.08,13.82 9.08,13.22V10.72C9.08,10.12 9.12,9.61 9.21,9.2C9.3,8.79 9.42,8.46 9.59,8.2C9.75,7.95 9.95,7.77 10.19,7.65C10.43,7.54 10.7,7.5 11,7.5C11.31,7.5 11.58,7.54 11.81,7.65C12.05,7.76 12.25,7.94 12.41,8.2C12.57,8.45 12.7,8.78 12.78,9.19C12.86,9.6 12.91,10.11 12.91,10.71V13.22M13.82,7.05C13.5,6.65 13.07,6.35 12.59,6.17C12.12,6 11.58,5.9 11,5.9C10.42,5.9 9.89,6 9.41,6.17C8.93,6.35 8.5,6.64 8.18,7.05C7.84,7.46 7.58,8 7.39,8.64C7.21,9.29 7.11,10.09 7.11,11.03V12.95C7.11,13.89 7.2,14.69 7.39,15.34C7.58,16 7.84,16.53 8.19,16.94C8.53,17.35 8.94,17.65 9.42,17.83C9.9,18 10.43,18.11 11,18.11C11.6,18.11 12.13,18 12.6,17.83C13.08,17.65 13.5,17.35 13.82,16.94C14.16,16.53 14.42,16 14.6,15.34C14.78,14.69 14.88,13.89 14.88,12.95V11.03C14.88,10.09 14.79,9.29 14.6,8.64C14.42,8 14.16,7.45 13.82,7.05M23.78,14.37C23.64,14.09 23.43,13.84 23.15,13.63C22.87,13.42 22.54,13.24 22.14,13.1C21.74,12.96 21.29,12.83 20.79,12.72C20.44,12.65 20.15,12.57 19.92,12.5C19.69,12.41 19.5,12.33 19.37,12.24C19.23,12.15 19.14,12.05 19.09,11.94C19.04,11.83 19,11.7 19,11.55C19,11.41 19.04,11.27 19.1,11.14C19.16,11 19.25,10.89 19.37,10.8C19.5,10.7 19.64,10.62 19.82,10.56C20,10.5 20.22,10.47 20.46,10.47C20.71,10.47 20.93,10.5 21.12,10.58C21.31,10.65 21.47,10.75 21.6,10.87C21.73,11 21.82,11.13 21.89,11.29C21.95,11.45 22,11.61 22,11.78H23.94C23.94,11.39 23.86,11.03 23.7,10.69C23.54,10.35 23.31,10.06 23,9.81C22.71,9.56 22.35,9.37 21.92,9.22C21.5,9.07 21,9 20.46,9C19.95,9 19.5,9.07 19.07,9.21C18.66,9.35 18.3,9.54 18,9.78C17.72,10 17.5,10.3 17.34,10.62C17.18,10.94 17.11,11.27 17.11,11.63C17.11,12 17.19,12.32 17.34,12.59C17.5,12.87 17.7,13.11 18,13.32C18.25,13.53 18.58,13.7 18.96,13.85C19.34,14 19.77,14.11 20.23,14.21C20.62,14.29 20.94,14.38 21.18,14.47C21.42,14.56 21.61,14.66 21.75,14.76C21.88,14.86 21.97,15 22,15.1C22.07,15.22 22.09,15.35 22.09,15.5C22.09,15.81 21.96,16.06 21.69,16.26C21.42,16.46 21.03,16.55 20.5,16.55C20.3,16.55 20.09,16.53 19.88,16.47C19.67,16.42 19.5,16.34 19.32,16.23C19.15,16.12 19,15.97 18.91,15.79C18.8,15.61 18.74,15.38 18.73,15.12H16.84C16.84,15.5 16.92,15.83 17.08,16.17C17.24,16.5 17.47,16.82 17.78,17.1C18.09,17.37 18.47,17.59 18.93,17.76C19.39,17.93 19.91,18 20.5,18C21.04,18 21.5,17.95 21.95,17.82C22.38,17.69 22.75,17.5 23.06,17.28C23.37,17.05 23.6,16.77 23.77,16.45C23.94,16.13 24,15.78 24,15.39C24,15 23.93,14.65 23.78,14.37M0,7.72V9.4L3,8.4V18H5V6H4.75L0,7.72Z"},{PackIconKind.Timer3,"M20.87,14.37C20.73,14.09 20.5,13.84 20.24,13.63C19.96,13.42 19.63,13.24 19.23,13.1C18.83,12.96 18.38,12.83 17.88,12.72C17.53,12.65 17.24,12.57 17,12.5C16.78,12.41 16.6,12.33 16.46,12.24C16.32,12.15 16.23,12.05 16.18,11.94C16.13,11.83 16.1,11.7 16.1,11.55C16.1,11.4 16.13,11.27 16.19,11.14C16.25,11 16.34,10.89 16.46,10.8C16.58,10.7 16.73,10.62 16.91,10.56C17.09,10.5 17.31,10.47 17.55,10.47C17.8,10.47 18,10.5 18.21,10.58C18.4,10.65 18.56,10.75 18.69,10.87C18.82,11 18.91,11.13 19,11.29C19.04,11.45 19.08,11.61 19.08,11.78H21.03C21.03,11.39 20.95,11.03 20.79,10.69C20.63,10.35 20.4,10.06 20.1,9.81C19.8,9.56 19.44,9.37 19,9.22C18.58,9.07 18.09,9 17.55,9C17.04,9 16.57,9.07 16.16,9.21C15.75,9.35 15.39,9.54 15.1,9.78C14.81,10 14.59,10.3 14.43,10.62C14.27,10.94 14.2,11.27 14.2,11.63C14.2,12 14.28,12.31 14.43,12.59C14.58,12.87 14.8,13.11 15.07,13.32C15.34,13.53 15.67,13.7 16.05,13.85C16.43,14 16.86,14.11 17.32,14.21C17.71,14.29 18.03,14.38 18.27,14.47C18.5,14.56 18.7,14.66 18.84,14.76C18.97,14.86 19.06,15 19.11,15.1C19.16,15.22 19.18,15.35 19.18,15.5C19.18,15.81 19.05,16.06 18.78,16.26C18.5,16.46 18.12,16.55 17.61,16.55C17.39,16.55 17.18,16.53 16.97,16.47C16.76,16.42 16.57,16.34 16.41,16.23C16.24,16.12 16.11,15.97 16,15.79C15.89,15.61 15.83,15.38 15.82,15.12H13.93C13.93,15.5 14,15.83 14.17,16.17C14.33,16.5 14.56,16.82 14.87,17.1C15.18,17.37 15.56,17.59 16,17.76C16.5,17.93 17,18 17.6,18C18.13,18 18.61,17.95 19.04,17.82C19.47,17.69 19.84,17.5 20.15,17.28C20.46,17.05 20.69,16.77 20.86,16.45C21.03,16.13 21.11,15.78 21.11,15.39C21.09,15 21,14.65 20.87,14.37M11.61,12.97C11.45,12.73 11.25,12.5 11,12.32C10.74,12.13 10.43,11.97 10.06,11.84C10.36,11.7 10.63,11.54 10.86,11.34C11.09,11.14 11.28,10.93 11.43,10.7C11.58,10.47 11.7,10.24 11.77,10C11.85,9.75 11.88,9.5 11.88,9.26C11.88,8.71 11.79,8.22 11.6,7.8C11.42,7.38 11.16,7.03 10.82,6.74C10.5,6.46 10.09,6.24 9.62,6.1C9.17,5.97 8.65,5.9 8.09,5.9C7.54,5.9 7.03,6 6.57,6.14C6.1,6.31 5.7,6.54 5.37,6.83C5.04,7.12 4.77,7.46 4.59,7.86C4.39,8.25 4.3,8.69 4.3,9.15H6.28C6.28,8.89 6.33,8.66 6.42,8.46C6.5,8.26 6.64,8.08 6.8,7.94C6.97,7.8 7.16,7.69 7.38,7.61C7.6,7.53 7.84,7.5 8.11,7.5C8.72,7.5 9.17,7.65 9.47,7.96C9.77,8.27 9.91,8.71 9.91,9.28C9.91,9.55 9.87,9.8 9.79,10C9.71,10.24 9.58,10.43 9.41,10.59C9.24,10.75 9.03,10.87 8.78,10.96C8.53,11.05 8.23,11.09 7.89,11.09H6.72V12.66H7.9C8.24,12.66 8.54,12.7 8.81,12.77C9.08,12.85 9.31,12.96 9.5,13.12C9.69,13.28 9.84,13.5 9.94,13.73C10.04,13.97 10.1,14.27 10.1,14.6C10.1,15.22 9.92,15.69 9.57,16C9.22,16.35 8.73,16.5 8.12,16.5C7.83,16.5 7.56,16.47 7.32,16.38C7.08,16.3 6.88,16.18 6.71,16C6.54,15.86 6.41,15.68 6.32,15.46C6.23,15.24 6.18,15 6.18,14.74H4.19C4.19,15.29 4.3,15.77 4.5,16.19C4.72,16.61 5,16.96 5.37,17.24C5.73,17.5 6.14,17.73 6.61,17.87C7.08,18 7.57,18.08 8.09,18.08C8.66,18.08 9.18,18 9.67,17.85C10.16,17.7 10.58,17.47 10.93,17.17C11.29,16.87 11.57,16.5 11.77,16.07C11.97,15.64 12.07,15.14 12.07,14.59C12.07,14.3 12.03,14 11.96,13.73C11.88,13.5 11.77,13.22 11.61,12.97Z"},{PackIconKind.TimerOff,"M12,20A7,7 0 0,1 5,13C5,11.72 5.35,10.5 5.95,9.5L15.5,19.04C14.5,19.65 13.28,20 12,20M3,4L1.75,5.27L4.5,8.03C3.55,9.45 3,11.16 3,13A9,9 0 0,0 12,22C13.84,22 15.55,21.45 17,20.5L19.5,23L20.75,21.73L13.04,14L3,4M11,9.44L13,11.44V8H11M15,1H9V3H15M19.04,4.55L17.62,5.97C16.07,4.74 14.12,4 12,4C10.17,4 8.47,4.55 7.05,5.5L8.5,6.94C9.53,6.35 10.73,6 12,6A7,7 0 0,1 19,13C19,14.27 18.65,15.47 18.06,16.5L19.5,17.94C20.45,16.53 21,14.83 21,13C21,10.88 20.26,8.93 19.03,7.39L20.45,5.97L19.04,4.55Z"},{PackIconKind.TimerSand,"M6,2H18V8H18V8L14,12L18,16V16H18V22H6V16H6V16L10,12L6,8V8H6V2M16,16.5L12,12.5L8,16.5V20H16V16.5M12,11.5L16,7.5V4H8V7.5L12,11.5M10,6H14V6.75L12,8.75L10,6.75V6Z"},{PackIconKind.TimerSandEmpty,"M6,2V8H6V8L10,12L6,16V16H6V22H18V16H18V16L14,12L18,8V8H18V2H6M16,16.5V20H8V16.5L12,12.5L16,16.5M12,11.5L8,7.5V4H16V7.5L12,11.5Z"},{PackIconKind.TimerSandFull,"M6,2V8H6V8L10,12L6,16V16H6V22H18V16H18V16L14,12L18,8V8H18V2H6Z"},{PackIconKind.Timetable,"M14,12H15.5V14.82L17.94,16.23L17.19,17.53L14,15.69V12M4,2H18A2,2 0 0,1 20,4V10.1C21.24,11.36 22,13.09 22,15A7,7 0 0,1 15,22C13.09,22 11.36,21.24 10.1,20H4A2,2 0 0,1 2,18V4A2,2 0 0,1 4,2M4,15V18H8.67C8.24,17.09 8,16.07 8,15H4M4,8H10V5H4V8M18,8V5H12V8H18M4,13H8.29C8.63,11.85 9.26,10.82 10.1,10H4V13M15,10.15A4.85,4.85 0 0,0 10.15,15C10.15,17.68 12.32,19.85 15,19.85A4.85,4.85 0 0,0 19.85,15C19.85,12.32 17.68,10.15 15,10.15Z"},{PackIconKind.ToggleSwitch,"M17,7A5,5 0 0,1 22,12A5,5 0 0,1 17,17A5,5 0 0,1 12,12A5,5 0 0,1 17,7M4,14A2,2 0 0,1 2,12A2,2 0 0,1 4,10H10V14H4Z"},{PackIconKind.ToggleSwitchOff,"M7,7A5,5 0 0,1 12,12A5,5 0 0,1 7,17A5,5 0 0,1 2,12A5,5 0 0,1 7,7M20,14H14V10H20A2,2 0 0,1 22,12A2,2 0 0,1 20,14M7,9A3,3 0 0,0 4,12A3,3 0 0,0 7,15A3,3 0 0,0 10,12A3,3 0 0,0 7,9Z"},{PackIconKind.Tooltip,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2Z"},{PackIconKind.TooltipEdit,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M18,14V12H12.5L10.5,14H18M6,14H8.5L15.35,7.12C15.55,6.93 15.55,6.61 15.35,6.41L13.59,4.65C13.39,4.45 13.07,4.45 12.88,4.65L6,11.53V14Z"},{PackIconKind.TooltipImage,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M19,15V7L15,11L13,9L7,15H19M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z"},{PackIconKind.TooltipOutline,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M4,4V16H8.83L12,19.17L15.17,16H20V4H4Z"},{PackIconKind.TooltipOutlinePlus,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M4,4V16H8.83L12,19.17L15.17,16H20V4H4M11,6H13V9H16V11H13V14H11V11H8V9H11V6Z"},{PackIconKind.TooltipText,"M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M5,5V7H19V5H5M5,9V11H15V9H5M5,13V15H17V13H5Z"},{PackIconKind.Tooth,"M7,2C4,2 2,5 2,8C2,10.11 3,13 4,14C5,15 6,22 8,22C12.54,22 10,15 12,15C14,15 11.46,22 16,22C18,22 19,15 20,14C21,13 22,10.11 22,8C22,5 20,2 17,2C14,2 14,3 12,3C10,3 10,2 7,2M7,4C9,4 10,5 12,5C14,5 15,4 17,4C18.67,4 20,6 20,8C20,9.75 19.14,12.11 18.19,13.06C17.33,13.92 16.06,19.94 15.5,19.94C15.29,19.94 15,18.88 15,17.59C15,15.55 14.43,13 12,13C9.57,13 9,15.55 9,17.59C9,18.88 8.71,19.94 8.5,19.94C7.94,19.94 6.67,13.92 5.81,13.06C4.86,12.11 4,9.75 4,8C4,6 5.33,4 7,4Z"},{PackIconKind.Tor,"M12,14C11,14 9,15 9,16C9,18 12,18 12,18V17A1,1 0 0,1 11,16A1,1 0 0,1 12,15V14M12,19C12,19 8,18.5 8,16.5C8,13.5 11,12.75 12,12.75V11.5C11,11.5 7,13 7,16C7,20 12,20 12,20V19M10.07,7.03L11.26,7.56C11.69,5.12 12.84,3.5 12.84,3.5C12.41,4.53 12.13,5.38 11.95,6.05C13.16,3.55 15.61,2 15.61,2C14.43,3.18 13.56,4.46 12.97,5.53C14.55,3.85 16.74,2.75 16.74,2.75C14.05,4.47 12.84,7.2 12.54,7.96L13.09,8.04C13.09,8.56 13.09,9.04 13.34,9.42C14.1,11.31 18,11.47 18,16C18,20.53 13.97,22 11.83,22C9.69,22 5,21.03 5,16C5,10.97 9.95,10.93 10.83,8.92C10.95,8.54 10.07,7.03 10.07,7.03Z"},{PackIconKind.TowerBeach,"M17,4V8H18V10H17.64L21,23H18.93L18.37,20.83L12,17.15L5.63,20.83L5.07,23H3L6.36,10H6V8H7V4H6V3L18,1V4H17M7.28,14.43L6.33,18.12L10,16L7.28,14.43M15.57,10H8.43L7.8,12.42L12,14.85L16.2,12.42L15.57,10M17.67,18.12L16.72,14.43L14,16L17.67,18.12Z"},{PackIconKind.TowerFire,"M17,4V8H18V10H17.64L21,23H18.93L18.37,20.83L12,17.15L5.63,20.83L5.07,23H3L6.36,10H6V8H7V4H6V3L12,1L18,3V4H17M7.28,14.43L6.33,18.12L10,16L7.28,14.43M15.57,10H8.43L7.8,12.42L12,14.85L16.2,12.42L15.57,10M17.67,18.12L16.72,14.43L14,16L17.67,18.12Z"},{PackIconKind.Towing,"M15,10H20.39L17.06,6H15V10M17.5,18.5C17.89,18.5 18.24,18.37 18.54,18.07C18.84,17.77 19,17.42 19,17C19,16.61 18.84,16.26 18.54,15.96C18.24,15.66 17.89,15.5 17.5,15.5C17.08,15.5 16.73,15.66 16.43,15.96C16.13,16.26 16,16.61 16,17C16,17.42 16.13,17.77 16.43,18.07C16.73,18.37 17.08,18.5 17.5,18.5M6,18.5C6.44,18.5 6.8,18.37 7.08,18.07C7.36,17.77 7.5,17.42 7.5,17C7.5,16.61 7.36,16.26 7.08,15.96C6.8,15.66 6.44,15.5 6,15.5C5.56,15.5 5.2,15.66 4.92,15.96C4.64,16.26 4.5,16.61 4.5,17C4.5,17.42 4.64,17.77 4.92,18.07C5.2,18.37 5.56,18.5 6,18.5M18,4L23,10V17H20.5C20.5,17.83 20.19,18.53 19.59,19.13C19,19.72 18.3,20 17.5,20C16.67,20 15.97,19.72 15.38,19.13C14.78,18.53 14.5,17.83 14.5,17H9C9,17.83 8.7,18.53 8.11,19.13C7.5,19.72 6.81,20 6,20C5.19,20 4.5,19.72 3.89,19.13C3.3,18.53 3,17.83 3,17H1V13H9.19L3,8.11V11H1V5H2L13,11.06V4H18Z"},{PackIconKind.Trackpad,"M4,3H20A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5A2,2 0 0,1 4,3M4,5V13H20V5H4M4,19H11V15H4V19M20,19V15H13V19H20Z"},{PackIconKind.Tractor,"M5,4V11.26C3.2,11.9 2,13.6 2,15.5C2,18 4,20 6.5,20C8.79,20 10.71,18.28 10.97,16H15.17C15.06,16.32 15,16.66 15,17A3,3 0 0,0 18,20A3,3 0 0,0 21,17C21,16.66 20.94,16.32 20.82,16H22V13C22,11.89 21.11,11 20,11H15.04L13.65,4H5M7,6H12L13,11V14H10.74C10.16,12.38 8.71,11.23 7,11.03V6M6.5,13.25A2.25,2.25 0 0,1 8.75,15.5A2.25,2.25 0 0,1 6.5,17.75A2.25,2.25 0 0,1 4.25,15.5A2.25,2.25 0 0,1 6.5,13.25M18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5Z"},{PackIconKind.TrafficLight,"M12,9A2,2 0 0,1 10,7C10,5.89 10.9,5 12,5C13.11,5 14,5.89 14,7A2,2 0 0,1 12,9M12,14A2,2 0 0,1 10,12C10,10.89 10.9,10 12,10C13.11,10 14,10.89 14,12A2,2 0 0,1 12,14M12,19A2,2 0 0,1 10,17C10,15.89 10.9,15 12,15C13.11,15 14,15.89 14,17A2,2 0 0,1 12,19M20,10H17V8.86C18.72,8.41 20,6.86 20,5H17V4A1,1 0 0,0 16,3H8A1,1 0 0,0 7,4V5H4C4,6.86 5.28,8.41 7,8.86V10H4C4,11.86 5.28,13.41 7,13.86V15H4C4,16.86 5.28,18.41 7,18.86V20A1,1 0 0,0 8,21H16A1,1 0 0,0 17,20V18.86C18.72,18.41 20,16.86 20,15H17V13.86C18.72,13.41 20,11.86 20,10Z"},{PackIconKind.Train,"M18,10H6V5H18M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M4,15.5A3.5,3.5 0 0,0 7.5,19L6,20.5V21H18V20.5L16.5,19A3.5,3.5 0 0,0 20,15.5V5C20,1.5 16.42,1 12,1C7.58,1 4,1.5 4,5V15.5Z"},{PackIconKind.Tram,"M19,16.94V8.5C19,5.71 16.39,5.1 13,5L13.75,3.5H17V2H7V3.5H11.75L11,5C7.86,5.11 5,5.73 5,8.5V16.94C5,18.39 6.19,19.6 7.59,19.91L6,21.5V22H8.23L10.23,20H14L16,22H18V21.5L16.5,20H16.42C18.11,20 19,18.63 19,16.94M12,18.5A1.5,1.5 0 0,1 10.5,17A1.5,1.5 0 0,1 12,15.5A1.5,1.5 0 0,1 13.5,17A1.5,1.5 0 0,1 12,18.5M17,14H7V9H17V14Z"},{PackIconKind.Transcribe,"M20,5A2,2 0 0,1 22,7V17A2,2 0 0,1 20,19H4C2.89,19 2,18.1 2,17V7C2,5.89 2.89,5 4,5H20M18,17V15H12.5L10.5,17H18M6,17H8.5L15.35,10.12C15.55,9.93 15.55,9.61 15.35,9.41L13.59,7.65C13.39,7.45 13.07,7.45 12.88,7.65L6,14.53V17Z"},{PackIconKind.TranscribeClose,"M12,23L8,19H16L12,23M20,3A2,2 0 0,1 22,5V15A2,2 0 0,1 20,17H4A2,2 0 0,1 2,15V5A2,2 0 0,1 4,3H20M18,15V13H12.5L10.5,15H18M6,15H8.5L15.35,8.12C15.55,7.93 15.55,7.61 15.35,7.42L13.59,5.65C13.39,5.45 13.07,5.45 12.88,5.65L6,12.53V15Z"},{PackIconKind.Transfer,"M3,8H5V16H3V8M7,8H9V16H7V8M11,8H13V16H11V8M15,19.25V4.75L22.25,12L15,19.25Z"},{PackIconKind.TransitTransfer,"M16.5,15.5H22V17H16.5V18.75L14,16.25L16.5,13.75V15.5M19.5,19.75V18L22,20.5L19.5,23V21.25H14V19.75H19.5M9.5,5.5A2,2 0 0,1 7.5,3.5A2,2 0 0,1 9.5,1.5A2,2 0 0,1 11.5,3.5A2,2 0 0,1 9.5,5.5M5.75,8.9L4,9.65V13H2V8.3L7.25,6.15C7.5,6.05 7.75,6 8,6C8.7,6 9.35,6.35 9.7,6.95L10.65,8.55C11.55,10 13.15,11 15,11V13C12.8,13 10.85,12 9.55,10.4L8.95,13.4L11,15.45V23H9V17L6.85,15L5.1,23H3L5.75,8.9Z"},{PackIconKind.Translate,"M12.87,15.07L10.33,12.56L10.36,12.53C12.1,10.59 13.34,8.36 14.07,6H17V4H10V2H8V4H1V6H12.17C11.5,7.92 10.44,9.75 9,11.35C8.07,10.32 7.3,9.19 6.69,8H4.69C5.42,9.63 6.42,11.17 7.67,12.56L2.58,17.58L4,19L9,14L12.11,17.11L12.87,15.07M18.5,10H16.5L12,22H14L15.12,19H19.87L21,22H23L18.5,10M15.88,17L17.5,12.67L19.12,17H15.88Z"},{PackIconKind.TreasureChest,"M5,4H19A3,3 0 0,1 22,7V11H15V10H9V11H2V7A3,3 0 0,1 5,4M11,11H13V13H11V11M2,12H9V13L11,15H13L15,13V12H22V20H2V12Z"},{PackIconKind.Tree,"M11,21V16.74C10.53,16.91 10.03,17 9.5,17C7,17 5,15 5,12.5C5,11.23 5.5,10.09 6.36,9.27C6.13,8.73 6,8.13 6,7.5C6,5 8,3 10.5,3C12.06,3 13.44,3.8 14.25,5C14.33,5 14.41,5 14.5,5A5.5,5.5 0 0,1 20,10.5A5.5,5.5 0 0,1 14.5,16C14,16 13.5,15.93 13,15.79V21H11Z"},{PackIconKind.Trello,"M19.5,2H4.5A2.5,2.5 0 0,0 2,4.5V19.5A2.5,2.5 0 0,0 4.5,22H19.5A2.5,2.5 0 0,0 22,19.5V4.5A2.5,2.5 0 0,0 19.5,2M10.7,17.2A1.2,1.2 0 0,1 9.5,18.4H5.8C5.14,18.4 4.6,17.86 4.6,17.2V5.8A1.2,1.2 0 0,1 5.8,4.6H9.5C10.16,4.6 10.7,5.14 10.7,5.8V17.2M19.4,12.2C19.4,12.86 18.86,13.4 18.2,13.4H14.5C13.84,13.4 13.3,12.86 13.3,12.2V5.8C13.3,5.14 13.84,4.6 14.5,4.6H18.2C18.86,4.6 19.4,5.14 19.4,5.8V12.2Z"},{PackIconKind.TrendingDown,"M16,18L18.29,15.71L13.41,10.83L9.41,14.83L2,7.41L3.41,6L9.41,12L13.41,8L19.71,14.29L22,12V18H16Z"},{PackIconKind.TrendingNeutral,"M22,12L18,8V11H3V13H18V16L22,12Z"},{PackIconKind.TrendingUp,"M16,6L18.29,8.29L13.41,13.17L9.41,9.17L2,16.59L3.41,18L9.41,12L13.41,16L19.71,9.71L22,12V6H16Z"},{PackIconKind.Triangle,"M1,21H23L12,2"},{PackIconKind.TriangleOutline,"M12,2L1,21H23M12,6L19.53,19H4.47"},{PackIconKind.Trophy,"M20.2,2H19.5H18C17.1,2 16,3 16,4H8C8,3 6.9,2 6,2H4.5H3.8H2V11C2,12 3,13 4,13H6.2C6.6,15 7.9,16.7 11,17V19.1C8.8,19.3 8,20.4 8,21.7V22H16V21.7C16,20.4 15.2,19.3 13,19.1V17C16.1,16.7 17.4,15 17.8,13H20C21,13 22,12 22,11V2H20.2M4,11V4H6V6V11C5.1,11 4.3,11 4,11M20,11C19.7,11 18.9,11 18,11V6V4H20V11Z"},{PackIconKind.TrophyAward,"M15.2,10.7L16.6,16L12,12.2L7.4,16L8.8,10.8L4.6,7.3L10,7L12,2L14,7L19.4,7.3L15.2,10.7M14,19.1H13V16L12,15L11,16V19.1H10A2,2 0 0,0 8,21.1V22.1H16V21.1A2,2 0 0,0 14,19.1Z"},{PackIconKind.TrophyOutline,"M2,2V11C2,12 3,13 4,13H6.2C6.6,15 7.9,16.7 11,17V19.1C8.8,19.3 8,20.4 8,21.7V22H16V21.7C16,20.4 15.2,19.3 13,19.1V17C16.1,16.7 17.4,15 17.8,13H20C21,13 22,12 22,11V2H18C17.1,2 16,3 16,4H8C8,3 6.9,2 6,2H2M4,4H6V6L6,11H4V4M18,4H20V11H18V6L18,4M8,6H16V11.5C16,13.43 15.42,15 12,15C8.59,15 8,13.43 8,11.5V6Z"},{PackIconKind.TrophyVariant,"M20.2,4H20H17V2H7V4H4.5H3.8H2V11C2,12 3,13 4,13H7.2C7.6,14.9 8.6,16.6 11,16.9V19C8,19.2 8,20.3 8,21.6V22H16V21.7C16,20.4 16,19.3 13,19.1V17C15.5,16.7 16.5,15 16.8,13.1H20C21,13.1 22,12.1 22,11.1V4H20.2M4,11V6H7V8V11C5.6,11 4.4,11 4,11M20,11C19.6,11 18.4,11 17,11V6H18H20V11Z"},{PackIconKind.TrophyVariantOutline,"M7,2V4H2V11C2,12 3,13 4,13H7.2C7.6,14.9 8.6,16.6 11,16.9V19C8,19.2 8,20.3 8,21.6V22H16V21.7C16,20.4 16,19.3 13,19.1V17C15.5,16.7 16.5,15 16.8,13.1H20C21,13.1 22,12.1 22,11.1V4H17V2H7M9,4H15V12A3,3 0 0,1 12,15C10,15 9,13.66 9,12V4M4,6H7V8L7,11H4V6M17,6H20V11H17V6Z"},{PackIconKind.Truck,"M18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5M19.5,9.5L21.46,12H17V9.5M6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5M20,8H17V4H3C1.89,4 1,4.89 1,6V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V12L20,8Z"},{PackIconKind.TruckDelivery,"M3,4A2,2 0 0,0 1,6V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V12L20,8H17V4M10,6L14,10L10,14V11H4V9H10M17,9.5H19.5L21.47,12H17M6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5M18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5Z"},{PackIconKind.TruckFast,"M3,13.5L2.25,12H7.5L6.9,10.5H2L1.25,9H9.05L8.45,7.5H1.11L0.25,6H4A2,2 0 0,1 6,4H18V8H21L24,12V17H22A3,3 0 0,1 19,20A3,3 0 0,1 16,17H12A3,3 0 0,1 9,20A3,3 0 0,1 6,17H4V13.5H3M19,18.5A1.5,1.5 0 0,0 20.5,17A1.5,1.5 0 0,0 19,15.5A1.5,1.5 0 0,0 17.5,17A1.5,1.5 0 0,0 19,18.5M20.5,9.5H18V12H22.46L20.5,9.5M9,18.5A1.5,1.5 0 0,0 10.5,17A1.5,1.5 0 0,0 9,15.5A1.5,1.5 0 0,0 7.5,17A1.5,1.5 0 0,0 9,18.5Z"},{PackIconKind.TruckTrailer,"M22,15V17H10A3,3 0 0,1 7,20A3,3 0 0,1 4,17H2V6A2,2 0 0,1 4,4H17A2,2 0 0,1 19,6V15H22M7,16A1,1 0 0,0 6,17A1,1 0 0,0 7,18A1,1 0 0,0 8,17A1,1 0 0,0 7,16Z"},{PackIconKind.TshirtCrew,"M16,21H8A1,1 0 0,1 7,20V12.07L5.7,13.12C5.31,13.5 4.68,13.5 4.29,13.12L1.46,10.29C1.07,9.9 1.07,9.27 1.46,8.88L7.34,3H9C9,4.1 10.34,5 12,5C13.66,5 15,4.1 15,3H16.66L22.54,8.88C22.93,9.27 22.93,9.9 22.54,10.29L19.71,13.12C19.32,13.5 18.69,13.5 18.3,13.12L17,12.07V20A1,1 0 0,1 16,21M20.42,9.58L16.11,5.28C15.8,5.63 15.43,5.94 15,6.2C14.16,6.7 13.13,7 12,7C10.3,7 8.79,6.32 7.89,5.28L3.58,9.58L5,11L8,9H9V19H15V9H16L19,11L20.42,9.58Z"},{PackIconKind.TshirtV,"M16,21H8A1,1 0 0,1 7,20V12.07L5.7,13.12C5.31,13.5 4.68,13.5 4.29,13.12L1.46,10.29C1.07,9.9 1.07,9.27 1.46,8.88L7.34,3H9C9,4.1 10,6 12,7.25C14,6 15,4.1 15,3H16.66L22.54,8.88C22.93,9.27 22.93,9.9 22.54,10.29L19.71,13.12C19.32,13.5 18.69,13.5 18.3,13.12L17,12.07V20A1,1 0 0,1 16,21M20.42,9.58L16.11,5.28C15,7 14,8.25 12,9.25C10,8.25 9,7 7.89,5.28L3.58,9.58L5,11L8,9H9V19H15V9H16L19,11L20.42,9.58Z"},{PackIconKind.Tumblr,"M16,11H13V14.9C13,15.63 13.14,16 14.1,16H16V19C16,19 14.97,19.1 13.9,19.1C11.25,19.1 10,17.5 10,15.7V11H8V8.2C10.41,8 10.62,6.16 10.8,5H13V8H16M20,2H4C2.89,2 2,2.89 2,4V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V4C22,2.89 21.1,2 20,2Z"},{PackIconKind.TumblrReblog,"M3.75,17L8,12.75V16H18V11.5L20,9.5V16A2,2 0 0,1 18,18H8V21.25L3.75,17M20.25,7L16,11.25V8H6V12.5L4,14.5V8A2,2 0 0,1 6,6H16V2.75L20.25,7Z"},{PackIconKind.Tune,"M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z"},{PackIconKind.TuneVertical,"M5,3V12H3V14H5V21H7V14H9V12H7V3M11,3V8H9V10H11V21H13V10H15V8H13V3M17,3V14H15V16H17V21H19V16H21V14H19V3"},{PackIconKind.Twitch,"M4,2H22V14L17,19H13L10,22H7V19H2V6L4,2M20,13V4H6V16H9V19L12,16H17L20,13M15,7H17V12H15V7M12,7V12H10V7H12Z"},{PackIconKind.Twitter,"M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z"},{PackIconKind.TwitterBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M17.71,9.33C18.19,8.93 18.75,8.45 19,7.92C18.59,8.13 18.1,8.26 17.56,8.33C18.06,7.97 18.47,7.5 18.68,6.86C18.16,7.14 17.63,7.38 16.97,7.5C15.42,5.63 11.71,7.15 12.37,9.95C9.76,9.79 8.17,8.61 6.85,7.16C6.1,8.38 6.75,10.23 7.64,10.74C7.18,10.71 6.83,10.57 6.5,10.41C6.54,11.95 7.39,12.69 8.58,13.09C8.22,13.16 7.82,13.18 7.44,13.12C7.81,14.19 8.58,14.86 9.9,15C9,15.76 7.34,16.29 6,16.08C7.15,16.81 8.46,17.39 10.28,17.31C14.69,17.11 17.64,13.95 17.71,9.33Z"},{PackIconKind.TwitterCircle,"M17.71,9.33C18.19,8.93 18.75,8.45 19,7.92C18.59,8.13 18.1,8.26 17.56,8.33C18.06,7.97 18.47,7.5 18.68,6.86C18.16,7.14 17.63,7.38 16.97,7.5C15.42,5.63 11.71,7.15 12.37,9.95C9.76,9.79 8.17,8.61 6.85,7.16C6.1,8.38 6.75,10.23 7.64,10.74C7.18,10.71 6.83,10.57 6.5,10.41C6.54,11.95 7.39,12.69 8.58,13.09C8.22,13.16 7.82,13.18 7.44,13.12C7.81,14.19 8.58,14.86 9.9,15C9,15.76 7.34,16.29 6,16.08C7.15,16.81 8.46,17.39 10.28,17.31C14.69,17.11 17.64,13.95 17.71,9.33M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2Z"},{PackIconKind.TwitterRetweet,"M6,5.75L10.25,10H7V16H13.5L15.5,18H7A2,2 0 0,1 5,16V10H1.75L6,5.75M18,18.25L13.75,14H17V8H10.5L8.5,6H17A2,2 0 0,1 19,8V14H22.25L18,18.25Z"},{PackIconKind.Uber,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.64,22 2.27,17.79 2,12.5H9V14.5A0.5,0.5 0 0,0 9.5,15H14.5A0.5,0.5 0 0,0 15,14.5V9.5A0.5,0.5 0 0,0 14.5,9H9.5A0.5,0.5 0 0,0 9,9.5V11.5H2C2.27,6.21 6.64,2 12,2Z"},{PackIconKind.Ubuntu,"M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M14.34,7.74C14.92,8.07 15.65,7.87 16,7.3C16.31,6.73 16.12,6 15.54,5.66C14.97,5.33 14.23,5.5 13.9,6.1C13.57,6.67 13.77,7.41 14.34,7.74M11.88,15.5C11.35,15.5 10.85,15.39 10.41,15.18L9.57,16.68C10.27,17 11.05,17.22 11.88,17.22C12.37,17.22 12.83,17.15 13.28,17.03C13.36,16.54 13.64,16.1 14.1,15.84C14.56,15.57 15.08,15.55 15.54,15.72C16.43,14.85 17,13.66 17.09,12.33L15.38,12.31C15.22,14.1 13.72,15.5 11.88,15.5M11.88,8.5C13.72,8.5 15.22,9.89 15.38,11.69L17.09,11.66C17,10.34 16.43,9.15 15.54,8.28C15.08,8.45 14.55,8.42 14.1,8.16C13.64,7.9 13.36,7.45 13.28,6.97C12.83,6.85 12.37,6.78 11.88,6.78C11.05,6.78 10.27,6.97 9.57,7.32L10.41,8.82C10.85,8.61 11.35,8.5 11.88,8.5M8.37,12C8.37,10.81 8.96,9.76 9.86,9.13L9,7.65C7.94,8.36 7.15,9.43 6.83,10.69C7.21,11 7.45,11.47 7.45,12C7.45,12.53 7.21,13 6.83,13.31C7.15,14.56 7.94,15.64 9,16.34L9.86,14.87C8.96,14.24 8.37,13.19 8.37,12M14.34,16.26C13.77,16.59 13.57,17.32 13.9,17.9C14.23,18.47 14.97,18.67 15.54,18.34C16.12,18 16.31,17.27 16,16.7C15.65,16.12 14.92,15.93 14.34,16.26M5.76,10.8C5.1,10.8 4.56,11.34 4.56,12C4.56,12.66 5.1,13.2 5.76,13.2C6.43,13.2 6.96,12.66 6.96,12C6.96,11.34 6.43,10.8 5.76,10.8Z"},{PackIconKind.UltraHighDefinition,"M9,7H11V11H13V7H15V17H13V13H11V17H9V7M17,7H20A3,3 0 0,1 23,10V14A3,3 0 0,1 20,17H17V7M20,15A1,1 0 0,0 21,14V10A1,1 0 0,0 20,9H19V15H20M7,14A3,3 0 0,1 4,17A3,3 0 0,1 1,14V7H3V14A1,1 0 0,0 4,15A1,1 0 0,0 5,14V7H7V14Z"},{PackIconKind.Umbraco,"M8.6,8.6L7.17,8.38C6.5,11.67 6.46,14.24 7.61,15.5C8.6,16.61 11.89,16.61 11.89,16.61C11.89,16.61 15.29,16.61 16.28,15.5C17.43,14.24 17.38,11.67 16.72,8.38L15.29,8.6C15.29,8.6 16.54,13.88 14.69,14.69C13.81,15.07 11.89,15.07 11.89,15.07C11.89,15.07 10.08,15.07 9.2,14.69C7.35,13.88 8.6,8.6 8.6,8.6M12,3A9,9 0 0,1 21,12A9,9 0 0,1 12,21A9,9 0 0,1 3,12A9,9 0 0,1 12,3Z"},{PackIconKind.Umbrella,"M12,2A9,9 0 0,0 3,11H11V19A1,1 0 0,1 10,20A1,1 0 0,1 9,19H7A3,3 0 0,0 10,22A3,3 0 0,0 13,19V11H21A9,9 0 0,0 12,2Z"},{PackIconKind.UmbrellaOutline,"M12,4C15.09,4 17.82,6.04 18.7,9H5.3C6.18,6.03 8.9,4 12,4M12,2A9,9 0 0,0 3,11H11V19A1,1 0 0,1 10,20A1,1 0 0,1 9,19H7A3,3 0 0,0 10,22A3,3 0 0,0 13,19V11H21A9,9 0 0,0 12,2Z"},{PackIconKind.Undo,"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},{PackIconKind.UndoVariant,"M13.5,7A6.5,6.5 0 0,1 20,13.5A6.5,6.5 0 0,1 13.5,20H10V18H13.5C16,18 18,16 18,13.5C18,11 16,9 13.5,9H7.83L10.91,12.09L9.5,13.5L4,8L9.5,2.5L10.92,3.91L7.83,7H13.5M6,18H8V20H6V18Z"},{PackIconKind.UnfoldLessHorizontal,"M16.59,5.41L15.17,4L12,7.17L8.83,4L7.41,5.41L12,10M7.41,18.59L8.83,20L12,16.83L15.17,20L16.58,18.59L12,14L7.41,18.59Z"},{PackIconKind.UnfoldLessVertical,"M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z"},{PackIconKind.UnfoldMoreHorizontal,"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"},{PackIconKind.UnfoldMoreVertical,"M18.17,12L15,8.83L16.41,7.41L21,12L16.41,16.58L15,15.17L18.17,12M5.83,12L9,15.17L7.59,16.59L3,12L7.59,7.42L9,8.83L5.83,12Z"},{PackIconKind.Ungroup,"M2,2H6V3H13V2H17V6H16V9H18V8H22V12H21V18H22V22H18V21H12V22H8V18H9V16H6V17H2V13H3V6H2V2M18,12V11H16V13H17V17H13V16H11V18H12V19H18V18H19V12H18M13,6V5H6V6H5V13H6V14H9V12H8V8H12V9H14V6H13M12,12H11V14H13V13H14V11H12V12Z"},{PackIconKind.Unity,"M9.11,17H6.5L1.59,12L6.5,7H9.11L10.42,4.74L17.21,3L19.08,9.74L17.77,12L19.08,14.26L17.21,21L10.42,19.26L9.11,17M9.25,16.75L14.38,18.13L11.42,13H5.5L9.25,16.75M16.12,17.13L17.5,12L16.12,6.87L13.15,12L16.12,17.13M9.25,7.25L5.5,11H11.42L14.38,5.87L9.25,7.25Z"},{PackIconKind.Untappd,"M14.41,4C14.41,4 14.94,4.39 14.97,4.71C14.97,4.81 14.73,4.85 14.68,4.93C14.62,5 14.7,5.15 14.65,5.21C14.59,5.26 14.5,5.26 14.41,5.41C14.33,5.56 12.07,10.09 11.73,10.63C11.59,11.03 11.47,12.46 11.37,12.66C11.26,12.85 6.34,19.84 6.16,20.05C5.67,20.63 4.31,20.3 3.28,19.56C2.3,18.86 1.74,17.7 2.11,17.16C2.27,16.93 7.15,9.92 7.29,9.75C7.44,9.58 8.75,9 9.07,8.71C9.47,8.22 12.96,4.54 13.07,4.42C13.18,4.3 13.15,4.2 13.18,4.13C13.22,4.06 13.38,4.08 13.43,4C13.5,3.93 13.39,3.71 13.5,3.68C13.59,3.64 13.96,3.67 14.41,4M10.85,4.44L11.74,5.37L10.26,6.94L9.46,5.37C9.38,5.22 9.28,5.22 9.22,5.17C9.17,5.11 9.24,4.97 9.19,4.89C9.13,4.81 8.9,4.83 8.9,4.73C8.9,4.62 9.05,4.28 9.5,3.96C9.5,3.96 10.06,3.6 10.37,3.68C10.47,3.71 10.43,3.95 10.5,4C10.54,4.1 10.7,4.08 10.73,4.15C10.77,4.21 10.73,4.32 10.85,4.44M21.92,17.15C22.29,17.81 21.53,19 20.5,19.7C19.5,20.39 18.21,20.54 17.83,20C17.66,19.78 12.67,12.82 12.56,12.62C12.45,12.43 12.32,11 12.18,10.59L12.15,10.55C12.45,10 13.07,8.77 13.73,7.47C14.3,8.06 14.75,8.56 14.88,8.72C15.21,9 16.53,9.58 16.68,9.75C16.82,9.92 21.78,16.91 21.92,17.15Z"},{PackIconKind.Update,"M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z"},{PackIconKind.Upload,"M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z"},{PackIconKind.UploadMultiple,"M9,14V8H5L12,1L19,8H15V14H9M5,18V16H19V18H5M19,20H5V22H19V20Z"},{PackIconKind.UploadNetwork,"M17,3A2,2 0 0,1 19,5V15A2,2 0 0,1 17,17H13V19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H7C5.89,17 5,16.1 5,15V5A2,2 0 0,1 7,3H17M12,5.5L7.5,10H11V14H13V10H16.5L12,5.5Z"},{PackIconKind.Usb,"M15,7V11H16V13H13V5H15L12,1L9,5H11V13H8V10.93C8.7,10.56 9.2,9.85 9.2,9C9.2,7.78 8.21,6.8 7,6.8C5.78,6.8 4.8,7.78 4.8,9C4.8,9.85 5.3,10.56 6,10.93V13A2,2 0 0,0 8,15H11V18.05C10.29,18.41 9.8,19.15 9.8,20A2.2,2.2 0 0,0 12,22.2A2.2,2.2 0 0,0 14.2,20C14.2,19.15 13.71,18.41 13,18.05V15H16A2,2 0 0,0 18,13V11H19V7H15Z"},{PackIconKind.VanPassenger,"M3,7C1.89,7 1,7.89 1,9V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V13C23,11.89 22.11,11 21,11L18,7H3M3,8.5H7V11H3V8.5M9,8.5H13V11H9V8.5M15,8.5H17.5L19.46,11H15V8.5M6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5M18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5Z"},{PackIconKind.VanUtility,"M3,7C1.89,7 1,7.89 1,9V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V13C23,11.89 22.11,11 21,11L18,7H3M15,8.5H17.5L19.46,11H15V8.5M6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5M18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5Z"},{PackIconKind.Vanish,"M16,13V11H21V13H16M14.83,7.76L17.66,4.93L19.07,6.34L16.24,9.17L14.83,7.76M11,16H13V21H11V16M11,3H13V8H11V3M4.93,17.66L7.76,14.83L9.17,16.24L6.34,19.07L4.93,17.66M4.93,6.34L6.34,4.93L9.17,7.76L7.76,9.17L4.93,6.34M8,13H3V11H8V13M19.07,17.66L17.66,19.07L14.83,16.24L16.24,14.83L19.07,17.66Z"},{PackIconKind.VectorArrangeAbove,"M3,1C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16C6.67,16 10.33,16 14,16C15.11,16 16,15.11 16,14C16,10.33 16,6.67 16,3C16,1.89 15.11,1 14,1H3M3,3H14V14H3V3M18,7V9H20V20H9V18H7V20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7H18Z"},{PackIconKind.VectorArrangeBelow,"M20,22C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7C16.33,7 12.67,7 9,7C7.89,7 7,7.89 7,9C7,12.67 7,16.33 7,20C7,21.11 7.89,22 9,22H20M20,20H9V9H20V20M5,16V14H3V3H14V5H16V3C16,1.89 15.11,1 14,1H3C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16H5Z"},{PackIconKind.VectorCircle,"M9,2V4.06C6.72,4.92 4.92,6.72 4.05,9H2V15H4.06C4.92,17.28 6.72,19.09 9,19.95V22H15V19.94C17.28,19.08 19.09,17.28 19.95,15H22V9H19.94C19.08,6.72 17.28,4.92 15,4.05V2M11,4H13V6H11M9,6.25V8H15V6.25C16.18,6.86 17.14,7.82 17.75,9H16V15H17.75C17.14,16.18 16.18,17.14 15,17.75V16H9V17.75C7.82,17.14 6.86,16.18 6.25,15H8V9H6.25C6.86,7.82 7.82,6.86 9,6.25M4,11H6V13H4M18,11H20V13H18M11,18H13V20H11"},{PackIconKind.VectorCircleVariant,"M22,9H19.97C18.7,5.41 15.31,3 11.5,3A9,9 0 0,0 2.5,12C2.5,17 6.53,21 11.5,21C15.31,21 18.7,18.6 20,15H22M20,11V13H18V11M17.82,15C16.66,17.44 14.2,19 11.5,19C7.64,19 4.5,15.87 4.5,12C4.5,8.14 7.64,5 11.5,5C14.2,5 16.66,6.57 17.81,9H16V15"},{PackIconKind.VectorCombine,"M3,1C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16C4.33,16 7,16 7,16C7,16 7,18.67 7,20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7C18.67,7 16,7 16,7C16,7 16,4.33 16,3C16,1.89 15.11,1 14,1H3M3,3H14C14,4.33 14,7 14,7H9C7.89,7 7,7.89 7,9V14C7,14 4.33,14 3,14V3M9,9H14V14H9V9M16,9C16,9 18.67,9 20,9V20H9C9,18.67 9,16 9,16H14C15.11,16 16,15.11 16,14V9Z"},{PackIconKind.VectorCurve,"M18.5,2A1.5,1.5 0 0,1 20,3.5A1.5,1.5 0 0,1 18.5,5C18.27,5 18.05,4.95 17.85,4.85L14.16,8.55L14.5,9C16.69,7.74 19.26,7 22,7L23,7.03V9.04L22,9C19.42,9 17,9.75 15,11.04A3.96,3.96 0 0,1 11.04,15C9.75,17 9,19.42 9,22L9.04,23H7.03L7,22C7,19.26 7.74,16.69 9,14.5L8.55,14.16L4.85,17.85C4.95,18.05 5,18.27 5,18.5A1.5,1.5 0 0,1 3.5,20A1.5,1.5 0 0,1 2,18.5A1.5,1.5 0 0,1 3.5,17C3.73,17 3.95,17.05 4.15,17.15L7.84,13.45C7.31,12.78 7,11.92 7,11A4,4 0 0,1 11,7C11.92,7 12.78,7.31 13.45,7.84L17.15,4.15C17.05,3.95 17,3.73 17,3.5A1.5,1.5 0 0,1 18.5,2M11,9A2,2 0 0,0 9,11A2,2 0 0,0 11,13A2,2 0 0,0 13,11A2,2 0 0,0 11,9Z"},{PackIconKind.VectorDifference,"M3,1C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16H5V14H3V3H14V5H16V3C16,1.89 15.11,1 14,1H3M9,7C7.89,7 7,7.89 7,9V11H9V9H11V7H9M13,7V9H14V10H16V7H13M18,7V9H20V20H9V18H7V20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7H18M14,12V14H12V16H14C15.11,16 16,15.11 16,14V12H14M7,13V16H10V14H9V13H7Z"},{PackIconKind.VectorDifferenceAb,"M3,1C1.89,1 1,1.89 1,3V5H3V3H5V1H3M7,1V3H10V1H7M12,1V3H14V5H16V3C16,1.89 15.11,1 14,1H12M1,7V10H3V7H1M14,7C14,7 14,11.67 14,14C11.67,14 7,14 7,14C7,14 7,18 7,20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7C18,7 14,7 14,7M16,9H20V20H9V16H14C15.11,16 16,15.11 16,14V9M1,12V14C1,15.11 1.89,16 3,16H5V14H3V12H1Z"},{PackIconKind.VectorDifferenceBa,"M20,22C21.11,22 22,21.11 22,20V18H20V20H18V22H20M16,22V20H13V22H16M11,22V20H9V18H7V20C7,21.11 7.89,22 9,22H11M22,16V13H20V16H22M9,16C9,16 9,11.33 9,9C11.33,9 16,9 16,9C16,9 16,5 16,3C16,1.89 15.11,1 14,1H3C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16C5,16 9,16 9,16M7,14H3V3H14V7H9C7.89,7 7,7.89 7,9V14M22,11V9C22,7.89 21.11,7 20,7H18V9H20V11H22Z"},{PackIconKind.VectorEllipse,"M23,9V15H20.35C19.38,17.12 17.43,18.78 15,19.54V22H9V19.54C5.5,18.45 3,15.5 3,12C3,7.58 7.03,4 12,4C15.78,4 19,6.07 20.35,9H23M17,15V9H18.06C16.85,7.21 14.59,6 12,6C8.13,6 5,8.69 5,12C5,14.39 6.64,16.46 9,17.42V16H15V17.42C16.29,16.9 17.35,16.05 18.06,15H17M19,13H21V11H19V13M11,20H13V18H11V20Z"},{PackIconKind.VectorIntersection,"M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z"},{PackIconKind.VectorLine,"M15,3V7.59L7.59,15H3V21H9V16.42L16.42,9H21V3M17,5H19V7H17M5,17H7V19H5"},{PackIconKind.VectorPoint,"M12,20L7,22L12,11L17,22L12,20M8,2H16V5H22V7H16V10H8V7H2V5H8V2M10,4V8H14V4H10Z"},{PackIconKind.VectorPolygon,"M2,2V8H4.28L5.57,16H4V22H10V20.06L15,20.05V22H21V16H19.17L20,9H22V3H16V6.53L14.8,8H9.59L8,5.82V2M4,4H6V6H4M18,5H20V7H18M6.31,8H7.11L9,10.59V14H15V10.91L16.57,9H18L17.16,16H15V18.06H10V16H7.6M11,10H13V12H11M6,18H8V20H6M17,18H19V20H17"},{PackIconKind.VectorPolyline,"M16,2V8H17.08L14.95,13H14.26L12,9.97V5H6V11H6.91L4.88,16H2V22H8V16H7.04L9.07,11H10.27L12,13.32V19H18V13H17.12L19.25,8H22V2M18,4H20V6H18M8,7H10V9H8M14,15H16V17H14M4,18H6V20H4"},{PackIconKind.VectorRadius,"M2,4H4V2H10V4A10,10 0 0,1 20,14H22V20H20V22H18V20H16V14H18A8,8 0 0,0 10,6V8H4V6H2V4M18,16V18H20V16H18M6,4V6H8V4H6Z"},{PackIconKind.VectorRectangle,"M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z"},{PackIconKind.VectorSelection,"M3,1H5V3H3V5H1V3A2,2 0 0,1 3,1M14,1A2,2 0 0,1 16,3V5H14V3H12V1H14M20,7A2,2 0 0,1 22,9V11H20V9H18V7H20M22,20A2,2 0 0,1 20,22H18V20H20V18H22V20M20,13H22V16H20V13M13,9V7H16V10H14V9H13M13,22V20H16V22H13M9,22A2,2 0 0,1 7,20V18H9V20H11V22H9M7,16V13H9V14H10V16H7M7,3V1H10V3H7M3,16A2,2 0 0,1 1,14V12H3V14H5V16H3M1,7H3V10H1V7M9,7H11V9H9V11H7V9A2,2 0 0,1 9,7M16,14A2,2 0 0,1 14,16H12V14H14V12H16V14Z"},{PackIconKind.VectorSquare,"M2,2H8V4H16V2H22V8H20V16H22V22H16V20H8V22H2V16H4V8H2V2M16,8V6H8V8H6V16H8V18H16V16H18V8H16M4,4V6H6V4H4M18,4V6H20V4H18M4,18V20H6V18H4M18,18V20H20V18H18Z"},{PackIconKind.VectorTriangle,"M9,3V9H9.73L5.79,16H2V22H8V20H16V22H22V16H18.21L14.27,9H15V3M11,5H13V7H11M12,9.04L16,16.15V18H8V16.15M4,18H6V20H4M18,18H20V20H18"},{PackIconKind.VectorUnion,"M3,1C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16H7V20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7H16V3C16,1.89 15.11,1 14,1H3M3,3H14V9H20V20H9V14H3V3Z"},{PackIconKind.Venmo,"M19.5,3C20.14,4.08 20.44,5.19 20.44,6.6C20.44,11.08 16.61,16.91 13.5,21H6.41L3.56,4L9.77,3.39L11.28,15.5C12.69,13.21 14.42,9.61 14.42,7.16C14.42,5.81 14.19,4.9 13.83,4.15L19.5,3Z"},{PackIconKind.Verified,"M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z"},{PackIconKind.Vibrate,"M16,19H8V5H16M16.5,3H7.5A1.5,1.5 0 0,0 6,4.5V19.5A1.5,1.5 0 0,0 7.5,21H16.5A1.5,1.5 0 0,0 18,19.5V4.5A1.5,1.5 0 0,0 16.5,3M19,17H21V7H19M22,9V15H24V9M3,17H5V7H3M0,15H2V9H0V15Z"},{PackIconKind.Video,"M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z"},{PackIconKind.Video3d,"M5,7H9A2,2 0 0,1 11,9V15A2,2 0 0,1 9,17H5V15H9V13H6V11H9V9H5V7M13,7H16A3,3 0 0,1 19,10V14A3,3 0 0,1 16,17H13V7M16,15A1,1 0 0,0 17,14V10A1,1 0 0,0 16,9H15V15H16Z"},{PackIconKind.Video4kBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M18.09,15L16.08,12L18.09,9H16.36L14.39,12V9H12.89V15H14.39V12L16.36,15H18.09M11.86,13.5V12H10.88V9H9.38V12H7.88V9H6.38V13.5H9.38V15H10.88V13.5H11.86Z"},{PackIconKind.VideoInputAntenna,"M12,5A7,7 0 0,0 5,12H7A5,5 0 0,1 12,7A5,5 0 0,1 17,12H19A7,7 0 0,0 12,5M13,14.29C13.88,13.9 14.5,13.03 14.5,12A2.5,2.5 0 0,0 12,9.5A2.5,2.5 0 0,0 9.5,12C9.5,13 10.12,13.9 11,14.29V17.59L7.59,21L9,22.41L12,19.41L15,22.41L16.41,21L13,17.59V14.29M12,1A11,11 0 0,0 1,12H3A9,9 0 0,1 12,3A9,9 0 0,1 21,12H23A11,11 0 0,0 12,1Z"},{PackIconKind.VideoInputComponent,"M5,2A1,1 0 0,0 4,1A1,1 0 0,0 3,2V6H1V12H7V6H5V2M9,16C9,17.3 9.84,18.4 11,18.82V23H13V18.82C14.16,18.41 15,17.31 15,16V14H9V16M1,16C1,17.3 1.84,18.4 3,18.82V23H5V18.82C6.16,18.4 7,17.3 7,16V14H1V16M21,6V2A1,1 0 0,0 20,1A1,1 0 0,0 19,2V6H17V12H23V6H21M13,2A1,1 0 0,0 12,1A1,1 0 0,0 11,2V6H9V12H15V6H13V2M17,16C17,17.3 17.84,18.4 19,18.82V23H21V18.82C22.16,18.41 23,17.31 23,16V14H17V16Z"},{PackIconKind.VideoInputHdmi,"M18,7V4A2,2 0 0,0 16,2H8A2,2 0 0,0 6,4V7H5V13L8,19V22H16V19L19,13V7H18M8,4H16V7H14V5H13V7H11V5H10V7H8V4Z"},{PackIconKind.VideoInputSvideo,"M8,11.5A1.5,1.5 0 0,0 6.5,10A1.5,1.5 0 0,0 5,11.5A1.5,1.5 0 0,0 6.5,13A1.5,1.5 0 0,0 8,11.5M15,6.5A1.5,1.5 0 0,0 13.5,5H10.5A1.5,1.5 0 0,0 9,6.5A1.5,1.5 0 0,0 10.5,8H13.5A1.5,1.5 0 0,0 15,6.5M8.5,15A1.5,1.5 0 0,0 7,16.5A1.5,1.5 0 0,0 8.5,18A1.5,1.5 0 0,0 10,16.5A1.5,1.5 0 0,0 8.5,15M12,1A11,11 0 0,0 1,12A11,11 0 0,0 12,23A11,11 0 0,0 23,12A11,11 0 0,0 12,1M12,21C7.04,21 3,16.96 3,12C3,7.04 7.04,3 12,3C16.96,3 21,7.04 21,12C21,16.96 16.96,21 12,21M17.5,10A1.5,1.5 0 0,0 16,11.5A1.5,1.5 0 0,0 17.5,13A1.5,1.5 0 0,0 19,11.5A1.5,1.5 0 0,0 17.5,10M15.5,15A1.5,1.5 0 0,0 14,16.5A1.5,1.5 0 0,0 15.5,18A1.5,1.5 0 0,0 17,16.5A1.5,1.5 0 0,0 15.5,15Z"},{PackIconKind.VideoOff,"M3.27,2L2,3.27L4.73,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16C16.2,18 16.39,17.92 16.54,17.82L19.73,21L21,19.73M21,6.5L17,10.5V7A1,1 0 0,0 16,6H9.82L21,17.18V6.5Z"},{PackIconKind.VideoSwitch,"M13,15.5V13H7V15.5L3.5,12L7,8.5V11H13V8.5L16.5,12M18,9.5V6A1,1 0 0,0 17,5H3A1,1 0 0,0 2,6V18A1,1 0 0,0 3,19H17A1,1 0 0,0 18,18V14.5L22,18.5V5.5L18,9.5Z"},{PackIconKind.ViewAgenda,"M20,3H3A1,1 0 0,0 2,4V10A1,1 0 0,0 3,11H20A1,1 0 0,0 21,10V4A1,1 0 0,0 20,3M20,13H3A1,1 0 0,0 2,14V20A1,1 0 0,0 3,21H20A1,1 0 0,0 21,20V14A1,1 0 0,0 20,13Z"},{PackIconKind.ViewArray,"M8,18H17V5H8M18,5V18H21V5M4,18H7V5H4V18Z"},{PackIconKind.ViewCarousel,"M18,6V17H22V6M2,17H6V6H2M7,19H17V4H7V19Z"},{PackIconKind.ViewColumn,"M16,5V18H21V5M4,18H9V5H4M10,18H15V5H10V18Z"},{PackIconKind.ViewDashboard,"M13,3V9H21V3M13,21H21V11H13M3,21H11V15H3M3,13H11V3H3V13Z"},{PackIconKind.ViewDashboardVariant,"M2,5V19H8V5H2M9,5V10H15V5H9M16,5V14H22V5H16M9,11V19H15V11H9M16,15V19H22V15H16Z"},{PackIconKind.ViewDay,"M2,3V6H21V3M20,8H3A1,1 0 0,0 2,9V15A1,1 0 0,0 3,16H20A1,1 0 0,0 21,15V9A1,1 0 0,0 20,8M2,21H21V18H2V21Z"},{PackIconKind.ViewGrid,"M3,11H11V3H3M3,21H11V13H3M13,21H21V13H13M13,3V11H21V3"},{PackIconKind.ViewHeadline,"M4,5V7H21V5M4,11H21V9H4M4,19H21V17H4M4,15H21V13H4V15Z"},{PackIconKind.ViewList,"M9,5V9H21V5M9,19H21V15H9M9,14H21V10H9M4,9H8V5H4M4,19H8V15H4M4,14H8V10H4V14Z"},{PackIconKind.ViewModule,"M16,5V11H21V5M10,11H15V5H10M16,18H21V12H16M10,18H15V12H10M4,18H9V12H4M4,11H9V5H4V11Z"},{PackIconKind.ViewParallel,"M4,21V3H8V21H4M10,21V3H14V21H10M16,21V3H20V21H16Z"},{PackIconKind.ViewQuilt,"M10,5V11H21V5M16,18H21V12H16M4,18H9V5H4M10,18H15V12H10V18Z"},{PackIconKind.ViewSequential,"M3,4H21V8H3V4M3,10H21V14H3V10M3,16H21V20H3V16Z"},{PackIconKind.ViewStream,"M4,5V11H21V5M4,18H21V12H4V18Z"},{PackIconKind.ViewWeek,"M13,5H10A1,1 0 0,0 9,6V18A1,1 0 0,0 10,19H13A1,1 0 0,0 14,18V6A1,1 0 0,0 13,5M20,5H17A1,1 0 0,0 16,6V18A1,1 0 0,0 17,19H20A1,1 0 0,0 21,18V6A1,1 0 0,0 20,5M6,5H3A1,1 0 0,0 2,6V18A1,1 0 0,0 3,19H6A1,1 0 0,0 7,18V6A1,1 0 0,0 6,5Z"},{PackIconKind.Vimeo,"M22,7.42C21.91,9.37 20.55,12.04 17.92,15.44C15.2,19 12.9,20.75 11,20.75C9.85,20.75 8.86,19.67 8.05,17.5C7.5,15.54 7,13.56 6.44,11.58C5.84,9.42 5.2,8.34 4.5,8.34C4.36,8.34 3.84,8.66 2.94,9.29L2,8.07C3,7.2 3.96,6.33 4.92,5.46C6.24,4.32 7.23,3.72 7.88,3.66C9.44,3.5 10.4,4.58 10.76,6.86C11.15,9.33 11.42,10.86 11.57,11.46C12,13.5 12.5,14.5 13.05,14.5C13.47,14.5 14.1,13.86 14.94,12.53C15.78,11.21 16.23,10.2 16.29,9.5C16.41,8.36 15.96,7.79 14.94,7.79C14.46,7.79 13.97,7.9 13.46,8.12C14.44,4.89 16.32,3.32 19.09,3.41C21.15,3.47 22.12,4.81 22,7.42Z"},{PackIconKind.Violin,"M11,2A1,1 0 0,0 10,3V5L10,9A0.5,0.5 0 0,0 10.5,9.5H12A0.5,0.5 0 0,1 12.5,10A0.5,0.5 0 0,1 12,10.5H10.5C9.73,10.5 9,9.77 9,9V5.16C7.27,5.6 6,7.13 6,9V10.5A2.5,2.5 0 0,1 8.5,13A2.5,2.5 0 0,1 6,15.5V17C6,19.77 8.23,22 11,22H13C15.77,22 18,19.77 18,17V15.5A2.5,2.5 0 0,1 15.5,13A2.5,2.5 0 0,1 18,10.5V9C18,6.78 16.22,5 14,5V3A1,1 0 0,0 13,2H11M10.75,16.5H13.25L12.75,20H11.25L10.75,16.5Z"},{PackIconKind.Visualstudio,"M17,8.5L12.25,12.32L17,16V8.5M4.7,18.4L2,16.7V7.7L5,6.7L9.3,10.03L18,2L22,4.5V20L17,22L9.34,14.66L4.7,18.4M5,14L6.86,12.28L5,10.5V14Z"},{PackIconKind.Vk,"M19.54,14.6C21.09,16.04 21.41,16.73 21.46,16.82C22.1,17.88 20.76,17.96 20.76,17.96L18.18,18C18.18,18 17.62,18.11 16.9,17.61C15.93,16.95 15,15.22 14.31,15.45C13.6,15.68 13.62,17.23 13.62,17.23C13.62,17.23 13.62,17.45 13.46,17.62C13.28,17.81 12.93,17.74 12.93,17.74H11.78C11.78,17.74 9.23,18 7,15.67C4.55,13.13 2.39,8.13 2.39,8.13C2.39,8.13 2.27,7.83 2.4,7.66C2.55,7.5 2.97,7.5 2.97,7.5H5.73C5.73,7.5 6,7.5 6.17,7.66C6.32,7.77 6.41,8 6.41,8C6.41,8 6.85,9.11 7.45,10.13C8.6,12.12 9.13,12.55 9.5,12.34C10.1,12.03 9.93,9.53 9.93,9.53C9.93,9.53 9.94,8.62 9.64,8.22C9.41,7.91 8.97,7.81 8.78,7.79C8.62,7.77 8.88,7.41 9.21,7.24C9.71,7 10.58,7 11.62,7C12.43,7 12.66,7.06 12.97,7.13C13.93,7.36 13.6,8.25 13.6,10.37C13.6,11.06 13.5,12 13.97,12.33C14.18,12.47 14.7,12.35 16,10.16C16.6,9.12 17.06,7.89 17.06,7.89C17.06,7.89 17.16,7.68 17.31,7.58C17.47,7.5 17.69,7.5 17.69,7.5H20.59C20.59,7.5 21.47,7.4 21.61,7.79C21.76,8.2 21.28,9.17 20.09,10.74C18.15,13.34 17.93,13.1 19.54,14.6Z"},{PackIconKind.VkBox,"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M17.24,14.03C16.06,12.94 16.22,13.11 17.64,11.22C18.5,10.07 18.85,9.37 18.74,9.07C18.63,8.79 18,8.86 18,8.86L15.89,8.88C15.89,8.88 15.73,8.85 15.62,8.92C15.5,9 15.43,9.15 15.43,9.15C15.43,9.15 15.09,10.04 14.65,10.8C13.71,12.39 13.33,12.47 13.18,12.38C12.83,12.15 12.91,11.45 12.91,10.95C12.91,9.41 13.15,8.76 12.46,8.6C12.23,8.54 12.06,8.5 11.47,8.5C10.72,8.5 10.08,8.5 9.72,8.68C9.5,8.8 9.29,9.06 9.41,9.07C9.55,9.09 9.86,9.16 10.03,9.39C10.25,9.68 10.24,10.34 10.24,10.34C10.24,10.34 10.36,12.16 9.95,12.39C9.66,12.54 9.27,12.22 8.44,10.78C8,10.04 7.68,9.22 7.68,9.22L7.5,9L7.19,8.85H5.18C5.18,8.85 4.88,8.85 4.77,9C4.67,9.1 4.76,9.32 4.76,9.32C4.76,9.32 6.33,12.96 8.11,14.8C9.74,16.5 11.59,16.31 11.59,16.31H12.43C12.43,16.31 12.68,16.36 12.81,16.23C12.93,16.1 12.93,15.94 12.93,15.94C12.93,15.94 12.91,14.81 13.43,14.65C13.95,14.5 14.61,15.73 15.31,16.22C15.84,16.58 16.24,16.5 16.24,16.5L18.12,16.47C18.12,16.47 19.1,16.41 18.63,15.64C18.6,15.58 18.36,15.07 17.24,14.03Z"},{PackIconKind.VkCircle,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M17.24,14.03C16.06,12.94 16.22,13.11 17.64,11.22C18.5,10.07 18.85,9.37 18.74,9.07C18.63,8.79 18,8.86 18,8.86L15.89,8.88C15.89,8.88 15.73,8.85 15.62,8.92C15.5,9 15.43,9.15 15.43,9.15C15.43,9.15 15.09,10.04 14.65,10.8C13.71,12.39 13.33,12.47 13.18,12.38C12.83,12.15 12.91,11.45 12.91,10.95C12.91,9.41 13.15,8.76 12.46,8.6C12.23,8.54 12.06,8.5 11.47,8.5C10.72,8.5 10.08,8.5 9.72,8.68C9.5,8.8 9.29,9.06 9.41,9.07C9.55,9.09 9.86,9.16 10.03,9.39C10.25,9.68 10.24,10.34 10.24,10.34C10.24,10.34 10.36,12.16 9.95,12.39C9.66,12.54 9.27,12.22 8.44,10.78C8,10.04 7.68,9.22 7.68,9.22L7.5,9L7.19,8.85H5.18C5.18,8.85 4.88,8.85 4.77,9C4.67,9.1 4.76,9.32 4.76,9.32C4.76,9.32 6.33,12.96 8.11,14.8C9.74,16.5 11.59,16.31 11.59,16.31H12.43C12.43,16.31 12.68,16.36 12.81,16.23C12.93,16.1 12.93,15.94 12.93,15.94C12.93,15.94 12.91,14.81 13.43,14.65C13.95,14.5 14.61,15.73 15.31,16.22C15.84,16.58 16.24,16.5 16.24,16.5L18.12,16.47C18.12,16.47 19.1,16.41 18.63,15.64C18.6,15.58 18.36,15.07 17.24,14.03Z"},{PackIconKind.Vlc,"M12,1C11.58,1 11.19,1.23 11,1.75L9.88,4.88C10.36,5.4 11.28,5.5 12,5.5C12.72,5.5 13.64,5.4 14.13,4.88L13,1.75C12.82,1.25 12.42,1 12,1M8.44,8.91L7,12.91C8.07,14.27 10.26,14.5 12,14.5C13.74,14.5 15.93,14.27 17,12.91L15.56,8.91C14.76,9.83 13.24,10 12,10C10.76,10 9.24,9.83 8.44,8.91M5.44,15C4.62,15 3.76,15.65 3.53,16.44L2.06,21.56C1.84,22.35 2.3,23 3.13,23H20.88C21.7,23 22.16,22.35 21.94,21.56L20.47,16.44C20.24,15.65 19.38,15 18.56,15H17.75L18.09,15.97C18.21,16.29 18.29,16.69 18.09,16.97C16.84,18.7 14.14,19 12,19C9.86,19 7.16,18.7 5.91,16.97C5.71,16.69 5.79,16.29 5.91,15.97L6.25,15H5.44Z"},{PackIconKind.Voice,"M9,5A4,4 0 0,1 13,9A4,4 0 0,1 9,13A4,4 0 0,1 5,9A4,4 0 0,1 9,5M9,15C11.67,15 17,16.34 17,19V21H1V19C1,16.34 6.33,15 9,15M16.76,5.36C18.78,7.56 18.78,10.61 16.76,12.63L15.08,10.94C15.92,9.76 15.92,8.23 15.08,7.05L16.76,5.36M20.07,2C24,6.05 23.97,12.11 20.07,16L18.44,14.37C21.21,11.19 21.21,6.65 18.44,3.63L20.07,2Z"},{PackIconKind.Voicemail,"M18.5,15A3.5,3.5 0 0,1 15,11.5A3.5,3.5 0 0,1 18.5,8A3.5,3.5 0 0,1 22,11.5A3.5,3.5 0 0,1 18.5,15M5.5,15A3.5,3.5 0 0,1 2,11.5A3.5,3.5 0 0,1 5.5,8A3.5,3.5 0 0,1 9,11.5A3.5,3.5 0 0,1 5.5,15M18.5,6A5.5,5.5 0 0,0 13,11.5C13,12.83 13.47,14.05 14.26,15H9.74C10.53,14.05 11,12.83 11,11.5A5.5,5.5 0 0,0 5.5,6A5.5,5.5 0 0,0 0,11.5A5.5,5.5 0 0,0 5.5,17H18.5A5.5,5.5 0 0,0 24,11.5A5.5,5.5 0 0,0 18.5,6Z"},{PackIconKind.VolumeHigh,"M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z"},{PackIconKind.VolumeLow,"M7,9V15H11L16,20V4L11,9H7Z"},{PackIconKind.VolumeMedium,"M5,9V15H9L14,20V4L9,9M18.5,12C18.5,10.23 17.5,8.71 16,7.97V16C17.5,15.29 18.5,13.76 18.5,12Z"},{PackIconKind.VolumeMinus,"M3,9H7L12,4V20L7,15H3V9M14,11H22V13H14V11Z"},{PackIconKind.VolumeMute,"M3,9H7L12,4V20L7,15H3V9M16.59,12L14,9.41L15.41,8L18,10.59L20.59,8L22,9.41L19.41,12L22,14.59L20.59,16L18,13.41L15.41,16L14,14.59L16.59,12Z"},{PackIconKind.VolumeOff,"M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z"},{PackIconKind.VolumePlus,"M3,9H7L12,4V20L7,15H3V9M14,11H17V8H19V11H22V13H19V16H17V13H14V11Z"},{PackIconKind.Vpn,"M9,5H15L12,8L9,5M10.5,14.66C10.2,15 10,15.5 10,16A2,2 0 0,0 12,18A2,2 0 0,0 14,16C14,15.45 13.78,14.95 13.41,14.59L14.83,13.17C15.55,13.9 16,14.9 16,16A4,4 0 0,1 12,20A4,4 0 0,1 8,16C8,14.93 8.42,13.96 9.1,13.25L9.09,13.24L16.17,6.17V6.17C16.89,5.45 17.89,5 19,5A4,4 0 0,1 23,9A4,4 0 0,1 19,13C17.9,13 16.9,12.55 16.17,11.83L17.59,10.41C17.95,10.78 18.45,11 19,11A2,2 0 0,0 21,9A2,2 0 0,0 19,7C18.45,7 17.95,7.22 17.59,7.59L10.5,14.66M6.41,7.59C6.05,7.22 5.55,7 5,7A2,2 0 0,0 3,9A2,2 0 0,0 5,11C5.55,11 6.05,10.78 6.41,10.41L7.83,11.83C7.1,12.55 6.1,13 5,13A4,4 0 0,1 1,9A4,4 0 0,1 5,5C6.11,5 7.11,5.45 7.83,6.17V6.17L10.59,8.93L9.17,10.35L6.41,7.59Z"},{PackIconKind.Vuejs,"M2,3H5.5L12,15L18.5,3H22L12,21L2,3M6.5,3H9.5L12,7.58L14.5,3H17.5L12,13.08L6.5,3Z"},{PackIconKind.Walk,"M14.12,10H19V8.2H15.38L13.38,4.87C13.08,4.37 12.54,4.03 11.92,4.03C11.74,4.03 11.58,4.06 11.42,4.11L6,5.8V11H7.8V7.33L9.91,6.67L6,22H7.8L10.67,13.89L13,17V22H14.8V15.59L12.31,11.05L13.04,8.18M14,3.8C15,3.8 15.8,3 15.8,2C15.8,1 15,0.2 14,0.2C13,0.2 12.2,1 12.2,2C12.2,3 13,3.8 14,3.8Z"},{PackIconKind.Wall,"M3,16H12V21H3V16M2,10H8V15H2V10M9,10H15V15H9V10M16,10H22V15H16V10M13,16H21V21H13V16M3,4H11V9H3V4M12,4H21V9H12V4Z"},{PackIconKind.Wallet,"M21,18V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5V6H12C10.89,6 10,6.9 10,8V16A2,2 0 0,0 12,18M12,16H22V8H12M16,13.5A1.5,1.5 0 0,1 14.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,12A1.5,1.5 0 0,1 16,13.5Z"},{PackIconKind.WalletGiftcard,"M20,14H4V8H9.08L7,10.83L8.62,12L11,8.76L12,7.4L13,8.76L15.38,12L17,10.83L14.92,8H20M20,19H4V17H20M9,4A1,1 0 0,1 10,5A1,1 0 0,1 9,6A1,1 0 0,1 8,5A1,1 0 0,1 9,4M15,4A1,1 0 0,1 16,5A1,1 0 0,1 15,6A1,1 0 0,1 14,5A1,1 0 0,1 15,4M20,6H17.82C17.93,5.69 18,5.35 18,5A3,3 0 0,0 15,2C13.95,2 13.04,2.54 12.5,3.35L12,4L11.5,3.34C10.96,2.54 10.05,2 9,2A3,3 0 0,0 6,5C6,5.35 6.07,5.69 6.18,6H4C2.89,6 2,6.89 2,8V19C2,20.11 2.89,21 4,21H20C21.11,21 22,20.11 22,19V8C22,6.89 21.11,6 20,6Z"},{PackIconKind.WalletMembership,"M20,10H4V4H20M20,15H4V13H20M20,2H4C2.89,2 2,2.89 2,4V15C2,16.11 2.89,17 4,17H8V22L12,20L16,22V17H20C21.11,17 22,16.11 22,15V4C22,2.89 21.11,2 20,2Z"},{PackIconKind.WalletTravel,"M20,14H4V8H7V10H9V8H15V10H17V8H20M20,19H4V17H20M9,4H15V6H9M20,6H17V4C17,2.89 16.11,2 15,2H9C7.89,2 7,2.89 7,4V6H4C2.89,6 2,6.89 2,8V19C2,20.11 2.89,21 4,21H20C21.11,21 22,20.11 22,19V8C22,6.89 21.11,6 20,6Z"},{PackIconKind.Wan,"M12,2A8,8 0 0,0 4,10C4,14.03 7,17.42 11,17.93V19H10A1,1 0 0,0 9,20H2V22H9A1,1 0 0,0 10,23H14A1,1 0 0,0 15,22H22V20H15A1,1 0 0,0 14,19H13V17.93C17,17.43 20,14.03 20,10A8,8 0 0,0 12,2M12,4C12,4 12.74,5.28 13.26,7H10.74C11.26,5.28 12,4 12,4M9.77,4.43C9.5,4.93 9.09,5.84 8.74,7H6.81C7.5,5.84 8.5,4.93 9.77,4.43M14.23,4.44C15.5,4.94 16.5,5.84 17.19,7H15.26C14.91,5.84 14.5,4.93 14.23,4.44M6.09,9H8.32C8.28,9.33 8.25,9.66 8.25,10C8.25,10.34 8.28,10.67 8.32,11H6.09C6.03,10.67 6,10.34 6,10C6,9.66 6.03,9.33 6.09,9M10.32,9H13.68C13.72,9.33 13.75,9.66 13.75,10C13.75,10.34 13.72,10.67 13.68,11H10.32C10.28,10.67 10.25,10.34 10.25,10C10.25,9.66 10.28,9.33 10.32,9M15.68,9H17.91C17.97,9.33 18,9.66 18,10C18,10.34 17.97,10.67 17.91,11H15.68C15.72,10.67 15.75,10.34 15.75,10C15.75,9.66 15.72,9.33 15.68,9M6.81,13H8.74C9.09,14.16 9.5,15.07 9.77,15.56C8.5,15.06 7.5,14.16 6.81,13M10.74,13H13.26C12.74,14.72 12,16 12,16C12,16 11.26,14.72 10.74,13M15.26,13H17.19C16.5,14.16 15.5,15.07 14.23,15.57C14.5,15.07 14.91,14.16 15.26,13Z"},{PackIconKind.WashingMachine,"M14.83,11.17C16.39,12.73 16.39,15.27 14.83,16.83C13.27,18.39 10.73,18.39 9.17,16.83L14.83,11.17M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8Z"},{PackIconKind.Watch,"M6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12M20,12C20,9.45 18.81,7.19 16.95,5.73L16,0H8L7.05,5.73C5.19,7.19 4,9.45 4,12C4,14.54 5.19,16.81 7.05,18.27L8,24H16L16.95,18.27C18.81,16.81 20,14.54 20,12Z"},{PackIconKind.WatchExport,"M14,11H19L16.5,8.5L17.92,7.08L22.84,12L17.92,16.92L16.5,15.5L19,13H14V11M12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.4,6 14.69,6.5 15.71,7.29L17.13,5.87L16.95,5.73L16,0H8L7.05,5.73C5.19,7.19 4,9.46 4,12C4,14.55 5.19,16.81 7.05,18.27L8,24H16L16.95,18.27L17.13,18.13L15.71,16.71C14.69,17.5 13.4,18 12,18Z"},{PackIconKind.WatchImport,"M2,11H7L4.5,8.5L5.92,7.08L10.84,12L5.92,16.92L4.5,15.5L7,13H2V11M12,18A6,6 0 0,0 18,12A6,6 0 0,0 12,6C10.6,6 9.31,6.5 8.29,7.29L6.87,5.87L7.05,5.73L8,0H16L16.95,5.73C18.81,7.19 20,9.45 20,12C20,14.54 18.81,16.81 16.95,18.27L16,24H8L7.05,18.27L6.87,18.13L8.29,16.71C9.31,17.5 10.6,18 12,18Z"},{PackIconKind.WatchVibrate,"M3,17V7H5V17H3M19,17V7H21V17H19M22,9H24V15H22V9M0,15V9H2V15H0M17.96,11.97C17.96,13.87 17.07,15.57 15.68,16.67L14.97,20.95H9L8.27,16.67C6.88,15.57 6,13.87 6,11.97C6,10.07 6.88,8.37 8.27,7.28L9,3H14.97L15.68,7.28C17.07,8.37 17.96,10.07 17.96,11.97M7.5,11.97C7.5,14.45 9.5,16.46 11.97,16.46A4.5,4.5 0 0,0 16.46,11.97C16.46,9.5 14.45,7.5 11.97,7.5A4.47,4.47 0 0,0 7.5,11.97Z"},{PackIconKind.Water,"M12,20A6,6 0 0,1 6,14C6,10 12,3.25 12,3.25C12,3.25 18,10 18,14A6,6 0 0,1 12,20Z"},{PackIconKind.WaterOff,"M17.12,17.12L12.5,12.5L5.27,5.27L4,6.55L7.32,9.87C6.55,11.32 6,12.79 6,14A6,6 0 0,0 12,20C13.5,20 14.9,19.43 15.96,18.5L18.59,21.13L19.86,19.86L17.12,17.12M18,14C18,10 12,3.2 12,3.2C12,3.2 10.67,4.71 9.27,6.72L17.86,15.31C17.95,14.89 18,14.45 18,14Z"},{PackIconKind.WaterPercent,"M12,3.25C12,3.25 6,10 6,14C6,17.32 8.69,20 12,20A6,6 0 0,0 18,14C18,10 12,3.25 12,3.25M14.47,9.97L15.53,11.03L9.53,17.03L8.47,15.97M9.75,10A1.25,1.25 0 0,1 11,11.25A1.25,1.25 0 0,1 9.75,12.5A1.25,1.25 0 0,1 8.5,11.25A1.25,1.25 0 0,1 9.75,10M14.25,14.5A1.25,1.25 0 0,1 15.5,15.75A1.25,1.25 0 0,1 14.25,17A1.25,1.25 0 0,1 13,15.75A1.25,1.25 0 0,1 14.25,14.5Z"},{PackIconKind.WaterPump,"M19,14.5C19,14.5 21,16.67 21,18A2,2 0 0,1 19,20A2,2 0 0,1 17,18C17,16.67 19,14.5 19,14.5M5,18V9A2,2 0 0,1 3,7A2,2 0 0,1 5,5V4A2,2 0 0,1 7,2H9A2,2 0 0,1 11,4V5H19A2,2 0 0,1 21,7V9L21,11A1,1 0 0,1 22,12A1,1 0 0,1 21,13H17A1,1 0 0,1 16,12A1,1 0 0,1 17,11V9H11V18H12A2,2 0 0,1 14,20V22H2V20A2,2 0 0,1 4,18H5Z"},{PackIconKind.Watermark,"M21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19V5A2,2 0 0,0 21,3M21,19H12V13H21V19Z"},{PackIconKind.Waves,"M2,18C4.22,17 6.44,16 8.67,16C10.89,16 13.11,18 15.33,18C17.56,18 19.78,16 22,16V19C19.78,19 17.56,21 15.33,21C13.11,21 10.89,19 8.67,19C6.44,19 4.22,20 2,21V18M2,12C4.22,11 6.44,10 8.67,10C10.89,10 13.11,12 15.33,12C17.56,12 19.78,10 22,10V13C19.78,13 17.56,15 15.33,15C13.11,15 10.89,13 8.67,13C6.44,13 4.22,14 2,15V12M2,6C4.22,5 6.44,4 8.67,4C10.89,4 13.11,6 15.33,6C17.56,6 19.78,4 22,4V7C19.78,7 17.56,9 15.33,9C13.11,9 10.89,7 8.67,7C6.44,7 4.22,8 2,9V6Z"},{PackIconKind.WeatherCloudy,"M6,19A5,5 0 0,1 1,14A5,5 0 0,1 6,9C7,6.65 9.3,5 12,5C15.43,5 18.24,7.66 18.5,11.03L19,11A4,4 0 0,1 23,15A4,4 0 0,1 19,19H6M19,13H17V12A5,5 0 0,0 12,7C9.5,7 7.45,8.82 7.06,11.19C6.73,11.07 6.37,11 6,11A3,3 0 0,0 3,14A3,3 0 0,0 6,17H19A2,2 0 0,0 21,15A2,2 0 0,0 19,13Z"},{PackIconKind.WeatherFog,"M3,15H13A1,1 0 0,1 14,16A1,1 0 0,1 13,17H3A1,1 0 0,1 2,16A1,1 0 0,1 3,15M16,15H21A1,1 0 0,1 22,16A1,1 0 0,1 21,17H16A1,1 0 0,1 15,16A1,1 0 0,1 16,15M1,12A5,5 0 0,1 6,7C7,4.65 9.3,3 12,3C15.43,3 18.24,5.66 18.5,9.03L19,9C21.19,9 22.97,10.76 23,13H21A2,2 0 0,0 19,11H17V10A5,5 0 0,0 12,5C9.5,5 7.45,6.82 7.06,9.19C6.73,9.07 6.37,9 6,9A3,3 0 0,0 3,12C3,12.35 3.06,12.69 3.17,13H1.1L1,12M3,19H5A1,1 0 0,1 6,20A1,1 0 0,1 5,21H3A1,1 0 0,1 2,20A1,1 0 0,1 3,19M8,19H21A1,1 0 0,1 22,20A1,1 0 0,1 21,21H8A1,1 0 0,1 7,20A1,1 0 0,1 8,19Z"},{PackIconKind.WeatherHail,"M6,14A1,1 0 0,1 7,15A1,1 0 0,1 6,16A5,5 0 0,1 1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16H18A1,1 0 0,1 17,15A1,1 0 0,1 18,14H19A2,2 0 0,0 21,12A2,2 0 0,0 19,10H17V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11A3,3 0 0,0 6,14M10,18A2,2 0 0,1 12,20A2,2 0 0,1 10,22A2,2 0 0,1 8,20A2,2 0 0,1 10,18M14.5,16A1.5,1.5 0 0,1 16,17.5A1.5,1.5 0 0,1 14.5,19A1.5,1.5 0 0,1 13,17.5A1.5,1.5 0 0,1 14.5,16M10.5,12A1.5,1.5 0 0,1 12,13.5A1.5,1.5 0 0,1 10.5,15A1.5,1.5 0 0,1 9,13.5A1.5,1.5 0 0,1 10.5,12Z"},{PackIconKind.WeatherLightning,"M6,16A5,5 0 0,1 1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16H18A1,1 0 0,1 17,15A1,1 0 0,1 18,14H19A2,2 0 0,0 21,12A2,2 0 0,0 19,10H17V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11A3,3 0 0,0 6,14H7A1,1 0 0,1 8,15A1,1 0 0,1 7,16H6M12,11H15L13,15H15L11.25,22L12,17H9.5L12,11Z"},{PackIconKind.WeatherLightningRainy,"M4.5,13.59C5,13.87 5.14,14.5 4.87,14.96C4.59,15.44 4,15.6 3.5,15.33V15.33C2,14.47 1,12.85 1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16A1,1 0 0,1 18,15A1,1 0 0,1 19,14A2,2 0 0,0 21,12A2,2 0 0,0 19,10H17V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11C3,12.11 3.6,13.08 4.5,13.6V13.59M9.5,11H12.5L10.5,15H12.5L8.75,22L9.5,17H7L9.5,11M17.5,18.67C17.5,19.96 16.5,21 15.25,21C14,21 13,19.96 13,18.67C13,17.12 15.25,14.5 15.25,14.5C15.25,14.5 17.5,17.12 17.5,18.67Z"},{PackIconKind.WeatherNight,"M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z"},{PackIconKind.WeatherPartlycloudy,"M12.74,5.47C15.1,6.5 16.35,9.03 15.92,11.46C17.19,12.56 18,14.19 18,16V16.17C18.31,16.06 18.65,16 19,16A3,3 0 0,1 22,19A3,3 0 0,1 19,22H6A4,4 0 0,1 2,18A4,4 0 0,1 6,14H6.27C5,12.45 4.6,10.24 5.5,8.26C6.72,5.5 9.97,4.24 12.74,5.47M11.93,7.3C10.16,6.5 8.09,7.31 7.31,9.07C6.85,10.09 6.93,11.22 7.41,12.13C8.5,10.83 10.16,10 12,10C12.7,10 13.38,10.12 14,10.34C13.94,9.06 13.18,7.86 11.93,7.3M13.55,3.64C13,3.4 12.45,3.23 11.88,3.12L14.37,1.82L15.27,4.71C14.76,4.29 14.19,3.93 13.55,3.64M6.09,4.44C5.6,4.79 5.17,5.19 4.8,5.63L4.91,2.82L7.87,3.5C7.25,3.71 6.65,4.03 6.09,4.44M18,9.71C17.91,9.12 17.78,8.55 17.59,8L19.97,9.5L17.92,11.73C18.03,11.08 18.05,10.4 18,9.71M3.04,11.3C3.11,11.9 3.24,12.47 3.43,13L1.06,11.5L3.1,9.28C3,9.93 2.97,10.61 3.04,11.3M19,18H16V16A4,4 0 0,0 12,12A4,4 0 0,0 8,16H6A2,2 0 0,0 4,18A2,2 0 0,0 6,20H19A1,1 0 0,0 20,19A1,1 0 0,0 19,18Z"},{PackIconKind.WeatherPouring,"M9,12C9.53,12.14 9.85,12.69 9.71,13.22L8.41,18.05C8.27,18.59 7.72,18.9 7.19,18.76C6.65,18.62 6.34,18.07 6.5,17.54L7.78,12.71C7.92,12.17 8.47,11.86 9,12M13,12C13.53,12.14 13.85,12.69 13.71,13.22L11.64,20.95C11.5,21.5 10.95,21.8 10.41,21.66C9.88,21.5 9.56,20.97 9.7,20.43L11.78,12.71C11.92,12.17 12.47,11.86 13,12M17,12C17.53,12.14 17.85,12.69 17.71,13.22L16.41,18.05C16.27,18.59 15.72,18.9 15.19,18.76C14.65,18.62 14.34,18.07 14.5,17.54L15.78,12.71C15.92,12.17 16.47,11.86 17,12M17,10V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11C3,12.11 3.6,13.08 4.5,13.6V13.59C5,13.87 5.14,14.5 4.87,14.96C4.59,15.43 4,15.6 3.5,15.32V15.33C2,14.47 1,12.85 1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12C23,13.5 22.2,14.77 21,15.46V15.46C20.5,15.73 19.91,15.57 19.63,15.09C19.36,14.61 19.5,14 20,13.72V13.73C20.6,13.39 21,12.74 21,12A2,2 0 0,0 19,10H17Z"},{PackIconKind.WeatherRainy,"M6,14A1,1 0 0,1 7,15A1,1 0 0,1 6,16A5,5 0 0,1 1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16H18A1,1 0 0,1 17,15A1,1 0 0,1 18,14H19A2,2 0 0,0 21,12A2,2 0 0,0 19,10H17V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11A3,3 0 0,0 6,14M14.83,15.67C16.39,17.23 16.39,19.5 14.83,21.08C14.05,21.86 13,22 12,22C11,22 9.95,21.86 9.17,21.08C7.61,19.5 7.61,17.23 9.17,15.67L12,11L14.83,15.67M13.41,16.69L12,14.25L10.59,16.69C9.8,17.5 9.8,18.7 10.59,19.5C11,19.93 11.5,20 12,20C12.5,20 13,19.93 13.41,19.5C14.2,18.7 14.2,17.5 13.41,16.69Z"},{PackIconKind.WeatherSnowy,"M6,14A1,1 0 0,1 7,15A1,1 0 0,1 6,16A5,5 0 0,1 1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16H18A1,1 0 0,1 17,15A1,1 0 0,1 18,14H19A2,2 0 0,0 21,12A2,2 0 0,0 19,10H17V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11A3,3 0 0,0 6,14M7.88,18.07L10.07,17.5L8.46,15.88C8.07,15.5 8.07,14.86 8.46,14.46C8.85,14.07 9.5,14.07 9.88,14.46L11.5,16.07L12.07,13.88C12.21,13.34 12.76,13.03 13.29,13.17C13.83,13.31 14.14,13.86 14,14.4L13.41,16.59L15.6,16C16.14,15.86 16.69,16.17 16.83,16.71C16.97,17.24 16.66,17.79 16.12,17.93L13.93,18.5L15.54,20.12C15.93,20.5 15.93,21.15 15.54,21.54C15.15,21.93 14.5,21.93 14.12,21.54L12.5,19.93L11.93,22.12C11.79,22.66 11.24,22.97 10.71,22.83C10.17,22.69 9.86,22.14 10,21.6L10.59,19.41L8.4,20C7.86,20.14 7.31,19.83 7.17,19.29C7.03,18.76 7.34,18.21 7.88,18.07Z"},{PackIconKind.WeatherSnowyRainy,"M18.5,18.67C18.5,19.96 17.5,21 16.25,21C15,21 14,19.96 14,18.67C14,17.12 16.25,14.5 16.25,14.5C16.25,14.5 18.5,17.12 18.5,18.67M4,17.36C3.86,16.82 4.18,16.25 4.73,16.11L7,15.5L5.33,13.86C4.93,13.46 4.93,12.81 5.33,12.4C5.73,12 6.4,12 6.79,12.4L8.45,14.05L9.04,11.8C9.18,11.24 9.75,10.92 10.29,11.07C10.85,11.21 11.17,11.78 11,12.33L10.42,14.58L12.67,14C13.22,13.83 13.79,14.15 13.93,14.71C14.08,15.25 13.76,15.82 13.2,15.96L10.95,16.55L12.6,18.21C13,18.6 13,19.27 12.6,19.67C12.2,20.07 11.54,20.07 11.15,19.67L9.5,18L8.89,20.27C8.75,20.83 8.18,21.14 7.64,21C7.08,20.86 6.77,20.29 6.91,19.74L7.5,17.5L5.26,18.09C4.71,18.23 4.14,17.92 4,17.36M1,11A5,5 0 0,1 6,6C7,3.65 9.3,2 12,2C15.43,2 18.24,4.66 18.5,8.03L19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16A1,1 0 0,1 18,15A1,1 0 0,1 19,14A2,2 0 0,0 21,12A2,2 0 0,0 19,10H17V9A5,5 0 0,0 12,4C9.5,4 7.45,5.82 7.06,8.19C6.73,8.07 6.37,8 6,8A3,3 0 0,0 3,11C3,11.85 3.35,12.61 3.91,13.16C4.27,13.55 4.26,14.16 3.88,14.54C3.5,14.93 2.85,14.93 2.47,14.54C1.56,13.63 1,12.38 1,11Z"},{PackIconKind.WeatherSunny,"M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z"},{PackIconKind.WeatherSunset,"M3,12H7A5,5 0 0,1 12,7A5,5 0 0,1 17,12H21A1,1 0 0,1 22,13A1,1 0 0,1 21,14H3A1,1 0 0,1 2,13A1,1 0 0,1 3,12M5,16H19A1,1 0 0,1 20,17A1,1 0 0,1 19,18H5A1,1 0 0,1 4,17A1,1 0 0,1 5,16M17,20A1,1 0 0,1 18,21A1,1 0 0,1 17,22H7A1,1 0 0,1 6,21A1,1 0 0,1 7,20H17M15,12A3,3 0 0,0 12,9A3,3 0 0,0 9,12H15M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7Z"},{PackIconKind.WeatherSunsetDown,"M3,12H7A5,5 0 0,1 12,7A5,5 0 0,1 17,12H21A1,1 0 0,1 22,13A1,1 0 0,1 21,14H3A1,1 0 0,1 2,13A1,1 0 0,1 3,12M15,12A3,3 0 0,0 12,9A3,3 0 0,0 9,12H15M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M12.71,20.71L15.82,17.6C16.21,17.21 16.21,16.57 15.82,16.18C15.43,15.79 14.8,15.79 14.41,16.18L12,18.59L9.59,16.18C9.2,15.79 8.57,15.79 8.18,16.18C7.79,16.57 7.79,17.21 8.18,17.6L11.29,20.71C11.5,20.9 11.74,21 12,21C12.26,21 12.5,20.9 12.71,20.71Z"},{PackIconKind.WeatherSunsetUp,"M3,12H7A5,5 0 0,1 12,7A5,5 0 0,1 17,12H21A1,1 0 0,1 22,13A1,1 0 0,1 21,14H3A1,1 0 0,1 2,13A1,1 0 0,1 3,12M15,12A3,3 0 0,0 12,9A3,3 0 0,0 9,12H15M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M12.71,16.3L15.82,19.41C16.21,19.8 16.21,20.43 15.82,20.82C15.43,21.21 14.8,21.21 14.41,20.82L12,18.41L9.59,20.82C9.2,21.21 8.57,21.21 8.18,20.82C7.79,20.43 7.79,19.8 8.18,19.41L11.29,16.3C11.5,16.1 11.74,16 12,16C12.26,16 12.5,16.1 12.71,16.3Z"},{PackIconKind.WeatherWindy,"M4,10A1,1 0 0,1 3,9A1,1 0 0,1 4,8H12A2,2 0 0,0 14,6A2,2 0 0,0 12,4C11.45,4 10.95,4.22 10.59,4.59C10.2,5 9.56,5 9.17,4.59C8.78,4.2 8.78,3.56 9.17,3.17C9.9,2.45 10.9,2 12,2A4,4 0 0,1 16,6A4,4 0 0,1 12,10H4M19,12A1,1 0 0,0 20,11A1,1 0 0,0 19,10C18.72,10 18.47,10.11 18.29,10.29C17.9,10.68 17.27,10.68 16.88,10.29C16.5,9.9 16.5,9.27 16.88,8.88C17.42,8.34 18.17,8 19,8A3,3 0 0,1 22,11A3,3 0 0,1 19,14H5A1,1 0 0,1 4,13A1,1 0 0,1 5,12H19M18,18H4A1,1 0 0,1 3,17A1,1 0 0,1 4,16H18A3,3 0 0,1 21,19A3,3 0 0,1 18,22C17.17,22 16.42,21.66 15.88,21.12C15.5,20.73 15.5,20.1 15.88,19.71C16.27,19.32 16.9,19.32 17.29,19.71C17.47,19.89 17.72,20 18,20A1,1 0 0,0 19,19A1,1 0 0,0 18,18Z"},{PackIconKind.WeatherWindyVariant,"M6,6L6.69,6.06C7.32,3.72 9.46,2 12,2A5.5,5.5 0 0,1 17.5,7.5L17.42,8.45C17.88,8.16 18.42,8 19,8A3,3 0 0,1 22,11A3,3 0 0,1 19,14H6A4,4 0 0,1 2,10A4,4 0 0,1 6,6M6,8A2,2 0 0,0 4,10A2,2 0 0,0 6,12H19A1,1 0 0,0 20,11A1,1 0 0,0 19,10H15.5V7.5A3.5,3.5 0 0,0 12,4A3.5,3.5 0 0,0 8.5,7.5V8H6M18,18H4A1,1 0 0,1 3,17A1,1 0 0,1 4,16H18A3,3 0 0,1 21,19A3,3 0 0,1 18,22C17.17,22 16.42,21.66 15.88,21.12C15.5,20.73 15.5,20.1 15.88,19.71C16.27,19.32 16.9,19.32 17.29,19.71C17.47,19.89 17.72,20 18,20A1,1 0 0,0 19,19A1,1 0 0,0 18,18Z"},{PackIconKind.Web,"M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},{PackIconKind.Webcam,"M12,2A7,7 0 0,1 19,9A7,7 0 0,1 12,16A7,7 0 0,1 5,9A7,7 0 0,1 12,2M12,4A5,5 0 0,0 7,9A5,5 0 0,0 12,14A5,5 0 0,0 17,9A5,5 0 0,0 12,4M12,6A3,3 0 0,1 15,9A3,3 0 0,1 12,12A3,3 0 0,1 9,9A3,3 0 0,1 12,6M6,22A2,2 0 0,1 4,20C4,19.62 4.1,19.27 4.29,18.97L6.11,15.81C7.69,17.17 9.75,18 12,18C14.25,18 16.31,17.17 17.89,15.81L19.71,18.97C19.9,19.27 20,19.62 20,20A2,2 0 0,1 18,22H6Z"},{PackIconKind.Webhook,"M10.46,19C9,21.07 6.15,21.59 4.09,20.15C2.04,18.71 1.56,15.84 3,13.75C3.87,12.5 5.21,11.83 6.58,11.77L6.63,13.2C5.72,13.27 4.84,13.74 4.27,14.56C3.27,16 3.58,17.94 4.95,18.91C6.33,19.87 8.26,19.5 9.26,18.07C9.57,17.62 9.75,17.13 9.82,16.63V15.62L15.4,15.58L15.47,15.47C16,14.55 17.15,14.23 18.05,14.75C18.95,15.27 19.26,16.43 18.73,17.35C18.2,18.26 17.04,18.58 16.14,18.06C15.73,17.83 15.44,17.46 15.31,17.04L11.24,17.06C11.13,17.73 10.87,18.38 10.46,19M17.74,11.86C20.27,12.17 22.07,14.44 21.76,16.93C21.45,19.43 19.15,21.2 16.62,20.89C15.13,20.71 13.9,19.86 13.19,18.68L14.43,17.96C14.92,18.73 15.75,19.28 16.75,19.41C18.5,19.62 20.05,18.43 20.26,16.76C20.47,15.09 19.23,13.56 17.5,13.35C16.96,13.29 16.44,13.36 15.97,13.53L15.12,13.97L12.54,9.2H12.32C11.26,9.16 10.44,8.29 10.47,7.25C10.5,6.21 11.4,5.4 12.45,5.44C13.5,5.5 14.33,6.35 14.3,7.39C14.28,7.83 14.11,8.23 13.84,8.54L15.74,12.05C16.36,11.85 17.04,11.78 17.74,11.86M8.25,9.14C7.25,6.79 8.31,4.1 10.62,3.12C12.94,2.14 15.62,3.25 16.62,5.6C17.21,6.97 17.09,8.47 16.42,9.67L15.18,8.95C15.6,8.14 15.67,7.15 15.27,6.22C14.59,4.62 12.78,3.85 11.23,4.5C9.67,5.16 8.97,7 9.65,8.6C9.93,9.26 10.4,9.77 10.97,10.11L11.36,10.32L8.29,15.31C8.32,15.36 8.36,15.42 8.39,15.5C8.88,16.41 8.54,17.56 7.62,18.05C6.71,18.54 5.56,18.18 5.06,17.24C4.57,16.31 4.91,15.16 5.83,14.67C6.22,14.46 6.65,14.41 7.06,14.5L9.37,10.73C8.9,10.3 8.5,9.76 8.25,9.14Z"},{PackIconKind.Webpack,"M21,16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V7.5C3,7.12 3.21,6.79 3.53,6.62L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.79,6.79 21,7.12 21,7.5V16.5M12,4.15L5,8.09V15.91L12,19.85L19,15.91V8.09L12,4.15M12,6.23L16.9,9.06L12,11.89L7.1,9.06L12,6.23M17,14.89L13,17.2V13.62L17,11.31V14.89M11,17.2L7,14.89V11.31L11,13.62V17.2Z"},{PackIconKind.Wechat,"M9.5,4C5.36,4 2,6.69 2,10C2,11.89 3.08,13.56 4.78,14.66L4,17L6.5,15.5C7.39,15.81 8.37,16 9.41,16C9.15,15.37 9,14.7 9,14C9,10.69 12.13,8 16,8C16.19,8 16.38,8 16.56,8.03C15.54,5.69 12.78,4 9.5,4M6.5,6.5A1,1 0 0,1 7.5,7.5A1,1 0 0,1 6.5,8.5A1,1 0 0,1 5.5,7.5A1,1 0 0,1 6.5,6.5M11.5,6.5A1,1 0 0,1 12.5,7.5A1,1 0 0,1 11.5,8.5A1,1 0 0,1 10.5,7.5A1,1 0 0,1 11.5,6.5M16,9C12.69,9 10,11.24 10,14C10,16.76 12.69,19 16,19C16.67,19 17.31,18.92 17.91,18.75L20,20L19.38,18.13C20.95,17.22 22,15.71 22,14C22,11.24 19.31,9 16,9M14,11.5A1,1 0 0,1 15,12.5A1,1 0 0,1 14,13.5A1,1 0 0,1 13,12.5A1,1 0 0,1 14,11.5M18,11.5A1,1 0 0,1 19,12.5A1,1 0 0,1 18,13.5A1,1 0 0,1 17,12.5A1,1 0 0,1 18,11.5Z"},{PackIconKind.Weight,"M12,3A4,4 0 0,1 16,7C16,7.73 15.81,8.41 15.46,9H18C18.95,9 19.75,9.67 19.95,10.56C21.96,18.57 22,18.78 22,19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19C2,18.78 2.04,18.57 4.05,10.56C4.25,9.67 5.05,9 6,9H8.54C8.19,8.41 8,7.73 8,7A4,4 0 0,1 12,3M12,5A2,2 0 0,0 10,7A2,2 0 0,0 12,9A2,2 0 0,0 14,7A2,2 0 0,0 12,5Z"},{PackIconKind.WeightKilogram,"M12,3A4,4 0 0,1 16,7C16,7.73 15.81,8.41 15.46,9H18C18.95,9 19.75,9.67 19.95,10.56C21.96,18.57 22,18.78 22,19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19C2,18.78 2.04,18.57 4.05,10.56C4.25,9.67 5.05,9 6,9H8.54C8.19,8.41 8,7.73 8,7A4,4 0 0,1 12,3M12,5A2,2 0 0,0 10,7A2,2 0 0,0 12,9A2,2 0 0,0 14,7A2,2 0 0,0 12,5M9.04,15.44L10.4,18H12.11L10.07,14.66L11.95,11.94H10.2L8.87,14.33H8.39V11.94H6.97V18H8.39V15.44H9.04M17.31,17.16V14.93H14.95V16.04H15.9V16.79L15.55,16.93L14.94,17C14.59,17 14.31,16.85 14.11,16.6C13.92,16.34 13.82,16 13.82,15.59V14.34C13.82,13.93 13.92,13.6 14.12,13.35C14.32,13.09 14.58,12.97 14.91,12.97C15.24,12.97 15.5,13.05 15.64,13.21C15.8,13.37 15.9,13.61 15.95,13.93H17.27L17.28,13.9C17.23,13.27 17,12.77 16.62,12.4C16.23,12.04 15.64,11.86 14.86,11.86C14.14,11.86 13.56,12.09 13.1,12.55C12.64,13 12.41,13.61 12.41,14.34V15.6C12.41,16.34 12.65,16.94 13.12,17.4C13.58,17.86 14.19,18.09 14.94,18.09C15.53,18.09 16.03,18 16.42,17.81C16.81,17.62 17.11,17.41 17.31,17.16Z"},{PackIconKind.Whatsapp,"M16.75,13.96C17,14.09 17.16,14.16 17.21,14.26C17.27,14.37 17.25,14.87 17,15.44C16.8,16 15.76,16.54 15.3,16.56C14.84,16.58 14.83,16.92 12.34,15.83C9.85,14.74 8.35,12.08 8.23,11.91C8.11,11.74 7.27,10.53 7.31,9.3C7.36,8.08 8,7.5 8.26,7.26C8.5,7 8.77,6.97 8.94,7H9.41C9.56,7 9.77,6.94 9.96,7.45L10.65,9.32C10.71,9.45 10.75,9.6 10.66,9.76L10.39,10.17L10,10.59C9.88,10.71 9.74,10.84 9.88,11.09C10,11.35 10.5,12.18 11.2,12.87C12.11,13.75 12.91,14.04 13.15,14.17C13.39,14.31 13.54,14.29 13.69,14.13L14.5,13.19C14.69,12.94 14.85,13 15.08,13.08L16.75,13.96M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C10.03,22 8.2,21.43 6.65,20.45L2,22L3.55,17.35C2.57,15.8 2,13.97 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.72 4.54,15.31 5.46,16.61L4.5,19.5L7.39,18.54C8.69,19.46 10.28,20 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"},{PackIconKind.WheelchairAccessibility,"M18.4,11.2L14.3,11.4L16.6,8.8C16.8,8.5 16.9,8 16.8,7.5C16.7,7.2 16.6,6.9 16.3,6.7L10.9,3.5C10.5,3.2 9.9,3.3 9.5,3.6L6.8,6.1C6.3,6.6 6.2,7.3 6.7,7.8C7.1,8.3 7.9,8.3 8.4,7.9L10.4,6.1L12.3,7.2L8.1,11.5C8,11.6 8,11.7 7.9,11.7C7.4,11.9 6.9,12.1 6.5,12.4L8,13.9C8.5,13.7 9,13.5 9.5,13.5C11.4,13.5 13,15.1 13,17C13,17.6 12.9,18.1 12.6,18.5L14.1,20C14.7,19.1 15,18.1 15,17C15,15.8 14.6,14.6 13.9,13.7L17.2,13.4L17,18.2C16.9,18.9 17.4,19.4 18.1,19.5H18.2C18.8,19.5 19.3,19 19.4,18.4L19.6,12.5C19.6,12.2 19.5,11.8 19.3,11.6C19,11.3 18.7,11.2 18.4,11.2M18,5.5A2,2 0 0,0 20,3.5A2,2 0 0,0 18,1.5A2,2 0 0,0 16,3.5A2,2 0 0,0 18,5.5M12.5,21.6C11.6,22.2 10.6,22.5 9.5,22.5C6.5,22.5 4,20 4,17C4,15.9 4.3,14.9 4.9,14L6.4,15.5C6.2,16 6,16.5 6,17C6,18.9 7.6,20.5 9.5,20.5C10.1,20.5 10.6,20.4 11,20.1L12.5,21.6Z"},{PackIconKind.WhiteBalanceAuto,"M10.3,16L9.6,14H6.4L5.7,16H3.8L7,7H9L12.2,16M22,7L20.8,13.29L19.3,7H17.7L16.21,13.29L15,7H14.24C12.77,5.17 10.5,4 8,4A8,8 0 0,0 0,12A8,8 0 0,0 8,20C11.13,20 13.84,18.19 15.15,15.57L15.25,16H17L18.5,9.9L20,16H21.75L23.8,7M6.85,12.65H9.15L8,9L6.85,12.65Z"},{PackIconKind.WhiteBalanceIncandescent,"M17.24,18.15L19.04,19.95L20.45,18.53L18.66,16.74M20,12.5H23V10.5H20M15,6.31V1.5H9V6.31C7.21,7.35 6,9.28 6,11.5A6,6 0 0,0 12,17.5A6,6 0 0,0 18,11.5C18,9.28 16.79,7.35 15,6.31M4,10.5H1V12.5H4M11,22.45C11.32,22.45 13,22.45 13,22.45V19.5H11M3.55,18.53L4.96,19.95L6.76,18.15L5.34,16.74L3.55,18.53Z"},{PackIconKind.WhiteBalanceIridescent,"M4.96,19.95L6.76,18.15L5.34,16.74L3.55,18.53M3.55,4.46L5.34,6.26L6.76,4.84L4.96,3.05M20.45,18.53L18.66,16.74L17.24,18.15L19.04,19.95M13,22.45V19.5H11V22.45C11.32,22.45 13,22.45 13,22.45M19.04,3.05L17.24,4.84L18.66,6.26L20.45,4.46M11,3.5H13V0.55H11M5,14.5H19V8.5H5V14.5Z"},{PackIconKind.WhiteBalanceSunny,"M3.55,18.54L4.96,19.95L6.76,18.16L5.34,16.74M11,22.45C11.32,22.45 13,22.45 13,22.45V19.5H11M12,5.5A6,6 0 0,0 6,11.5A6,6 0 0,0 12,17.5A6,6 0 0,0 18,11.5C18,8.18 15.31,5.5 12,5.5M20,12.5H23V10.5H20M17.24,18.16L19.04,19.95L20.45,18.54L18.66,16.74M20.45,4.46L19.04,3.05L17.24,4.84L18.66,6.26M13,0.55H11V3.5H13M4,10.5H1V12.5H4M6.76,4.84L4.96,3.05L3.55,4.46L5.34,6.26L6.76,4.84Z"},{PackIconKind.Widgets,"M3,3H11V7.34L16.66,1.69L22.31,7.34L16.66,13H21V21H13V13H16.66L11,7.34V11H3V3M3,13H11V21H3V13Z"},{PackIconKind.Wifi,"M12,21L15.6,16.2C14.6,15.45 13.35,15 12,15C10.65,15 9.4,15.45 8.4,16.2L12,21M12,3C7.95,3 4.21,4.34 1.2,6.6L3,9C5.5,7.12 8.62,6 12,6C15.38,6 18.5,7.12 21,9L22.8,6.6C19.79,4.34 16.05,3 12,3M12,9C9.3,9 6.81,9.89 4.8,11.4L6.6,13.8C8.1,12.67 9.97,12 12,12C14.03,12 15.9,12.67 17.4,13.8L19.2,11.4C17.19,9.89 14.7,9 12,9Z"},{PackIconKind.WifiOff,"M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z"},{PackIconKind.Wii,"M17.84,16.94H15.97V10.79H17.84V16.94M18,8.58C18,9.19 17.5,9.69 16.9,9.69A1.11,1.11 0 0,1 15.79,8.58C15.79,7.96 16.29,7.46 16.9,7.46C17.5,7.46 18,7.96 18,8.58M21.82,16.94H19.94V10.79H21.82V16.94M22,8.58C22,9.19 21.5,9.69 20.88,9.69A1.11,1.11 0 0,1 19.77,8.58C19.77,7.96 20.27,7.46 20.88,7.46C21.5,7.46 22,7.96 22,8.58M12.9,8.05H14.9L12.78,15.5C12.78,15.5 12.5,17.04 11.28,17.04C10.07,17.04 9.79,15.5 9.79,15.5L8.45,10.64L7.11,15.5C7.11,15.5 6.82,17.04 5.61,17.04C4.4,17.04 4.12,15.5 4.12,15.5L2,8.05H4L5.72,14.67L7.11,9.3C7.43,7.95 8.45,7.97 8.45,7.97C8.45,7.97 9.47,7.95 9.79,9.3L11.17,14.67L12.9,8.05Z"},{PackIconKind.Wiiu,"M2,15.96C2,18.19 3.54,19.5 5.79,19.5H18.57C20.47,19.5 22,18.2 22,16.32V6.97C22,5.83 21.15,4.6 20.11,4.6H17.15V12.3C17.15,18.14 6.97,18.09 6.97,12.41V4.5H4.72C3.26,4.5 2,5.41 2,6.85V15.96M9.34,11.23C9.34,15.74 14.66,15.09 14.66,11.94V4.5H9.34V11.23Z"},{PackIconKind.Wikipedia,"M14.97,18.95L12.41,12.92C11.39,14.91 10.27,17 9.31,18.95C9.3,18.96 8.84,18.95 8.84,18.95C7.37,15.5 5.85,12.1 4.37,8.68C4.03,7.84 2.83,6.5 2,6.5C2,6.4 2,6.18 2,6.05H7.06V6.5C6.46,6.5 5.44,6.9 5.7,7.55C6.42,9.09 8.94,15.06 9.63,16.58C10.1,15.64 11.43,13.16 12,12.11C11.55,11.23 10.13,7.93 9.71,7.11C9.39,6.57 8.58,6.5 7.96,6.5C7.96,6.35 7.97,6.25 7.96,6.06L12.42,6.07V6.47C11.81,6.5 11.24,6.71 11.5,7.29C12.1,8.53 12.45,9.42 13,10.57C13.17,10.23 14.07,8.38 14.5,7.41C14.76,6.76 14.37,6.5 13.29,6.5C13.3,6.38 13.3,6.17 13.3,6.07C14.69,6.06 16.78,6.06 17.15,6.05V6.47C16.44,6.5 15.71,6.88 15.33,7.46L13.5,11.3C13.68,11.81 15.46,15.76 15.65,16.2L19.5,7.37C19.2,6.65 18.34,6.5 18,6.5C18,6.37 18,6.2 18,6.05L22,6.08V6.1L22,6.5C21.12,6.5 20.57,7 20.25,7.75C19.45,9.54 17,15.24 15.4,18.95C15.4,18.95 14.97,18.95 14.97,18.95Z"},{PackIconKind.WindowClose,"M13.46,12L19,17.54V19H17.54L12,13.46L6.46,19H5V17.54L10.54,12L5,6.46V5H6.46L12,10.54L17.54,5H19V6.46L13.46,12Z"},{PackIconKind.WindowClosed,"M6,11H10V9H14V11H18V4H6V11M18,13H6V20H18V13M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2Z"},{PackIconKind.WindowMaximize,"M4,4H20V20H4V4M6,8V18H18V8H6Z"},{PackIconKind.WindowMinimize,"M20,14H4V10H20"},{PackIconKind.WindowOpen,"M6,8H10V6H14V8H18V4H6V8M18,10H6V15H18V10M6,20H18V17H6V20M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2Z"},{PackIconKind.WindowRestore,"M4,8H8V4H20V16H16V20H4V8M16,8V14H18V6H10V8H16M6,12V18H14V12H6Z"},{PackIconKind.Windows,"M3,12V6.75L9,5.43V11.91L3,12M20,3V11.75L10,11.9V5.21L20,3M3,13L9,13.09V19.9L3,18.75V13M20,13.25V22L10,20.09V13.1L20,13.25Z"},{PackIconKind.Wordpress,"M3.42,12C3.42,10.76 3.69,9.58 4.16,8.5L8.26,19.72C5.39,18.33 3.42,15.4 3.42,12M17.79,11.57C17.79,12.3 17.5,13.15 17.14,14.34L16.28,17.2L13.18,8L14.16,7.9C14.63,7.84 14.57,7.16 14.11,7.19C14.11,7.19 12.72,7.3 11.82,7.3L9.56,7.19C9.1,7.16 9.05,7.87 9.5,7.9L10.41,8L11.75,11.64L9.87,17.27L6.74,8L7.73,7.9C8.19,7.84 8.13,7.16 7.67,7.19C7.67,7.19 6.28,7.3 5.38,7.3L4.83,7.29C6.37,4.96 9,3.42 12,3.42C14.23,3.42 16.27,4.28 17.79,5.67H17.68C16.84,5.67 16.24,6.4 16.24,7.19C16.24,7.9 16.65,8.5 17.08,9.2C17.41,9.77 17.79,10.5 17.79,11.57M12.15,12.75L14.79,19.97L14.85,20.09C13.96,20.41 13,20.58 12,20.58C11.16,20.58 10.35,20.46 9.58,20.23L12.15,12.75M19.53,7.88C20.2,9.11 20.58,10.5 20.58,12C20.58,15.16 18.86,17.93 16.31,19.41L18.93,11.84C19.42,10.62 19.59,9.64 19.59,8.77L19.53,7.88M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,21.54C17.26,21.54 21.54,17.26 21.54,12C21.54,6.74 17.26,2.46 12,2.46C6.74,2.46 2.46,6.74 2.46,12C2.46,17.26 6.74,21.54 12,21.54Z"},{PackIconKind.Worker,"M12,15C7.58,15 4,16.79 4,19V21H20V19C20,16.79 16.42,15 12,15M8,9A4,4 0 0,0 12,13A4,4 0 0,0 16,9M11.5,2C11.2,2 11,2.21 11,2.5V5.5H10V3C10,3 7.75,3.86 7.75,6.75C7.75,6.75 7,6.89 7,8H17C16.95,6.89 16.25,6.75 16.25,6.75C16.25,3.86 14,3 14,3V5.5H13V2.5C13,2.21 12.81,2 12.5,2H11.5Z"},{PackIconKind.Wrap,"M21,5H3V7H21V5M3,19H10V17H3V19M3,13H18C19,13 20,13.43 20,15C20,16.57 19,17 18,17H16V15L12,18L16,21V19H18C20.95,19 22,17.73 22,15C22,12.28 21,11 18,11H3V13Z"},{PackIconKind.Wrench,"M22.7,19L13.6,9.9C14.5,7.6 14,4.9 12.1,3C10.1,1 7.1,0.6 4.7,1.7L9,6L6,9L1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1C4.8,14 7.5,14.5 9.8,13.6L18.9,22.7C19.3,23.1 19.9,23.1 20.3,22.7L22.6,20.4C23.1,20 23.1,19.3 22.7,19Z"},{PackIconKind.Wunderlist,"M17,17.5L12,15L7,17.5V5H5V19H19V5H17V17.5M12,12.42L14.25,13.77L13.65,11.22L15.64,9.5L13,9.27L12,6.86L11,9.27L8.36,9.5L10.35,11.22L9.75,13.77L12,12.42M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3Z"},{PackIconKind.Xamarin,"M22.75,11.07C22.91,11.35 23,11.67 23,12C23,12.33 22.91,12.65 22.75,12.93L18.08,21C17.72,21.62 17.06,22 16.35,22H7.65C6.94,22 6.28,21.62 5.92,21L1.25,12.93C1.09,12.65 1,12.33 1,12C1,11.67 1.09,11.35 1.25,11.07L5.92,3C6.28,2.38 6.94,2 7.65,2H16.35C17.06,2 17.72,2.38 18.08,3L22.75,11.07M12,12V11.9L9.42,7.1L9.25,7H7.66L7.5,7.1V7.3L10,12L7.5,16.7V16.9L7.66,17H9.25L9.42,16.9L12,12.1V12L12.03,12.1L14.58,16.9L14.75,17H16.34L16.5,16.9V16.7L14,12L16.5,7.3V7.1L16.34,7H14.75L14.58,7.1L12.03,11.9L12,12Z"},{PackIconKind.XamarinOutline,"M12,12L12.03,11.9L14.58,7.1L14.75,7H16.34L16.5,7.1V7.3L14,12L16.5,16.7V16.9L16.34,17H14.75L14.58,16.9L12.03,12.1L12,12V12.1L9.42,16.9L9.25,17H7.66L7.5,16.9V16.7L10,12L7.5,7.3V7.1L7.66,7H9.25L9.42,7.1L12,11.9V12M22.75,11.07C22.91,11.35 23,11.67 23,12C23,12.33 22.91,12.65 22.75,12.93L18.08,21C17.72,21.62 17.06,22 16.35,22H7.65C6.94,22 6.28,21.62 5.92,21L1.25,12.93C1.09,12.65 1,12.33 1,12C1,11.67 1.09,11.35 1.25,11.07L5.92,3C6.28,2.38 6.94,2 7.65,2H16.35C17.06,2 17.72,2.38 18.08,3L22.75,11.07M20.8,11.25L16.97,4.8C16.68,4.3 16.14,4 15.56,4H8.44C7.86,4 7.32,4.3 7.03,4.8L3.2,11.25C3.07,11.5 3,11.74 3,12C3,12.26 3.07,12.5 3.2,12.75L7.03,19.2C7.32,19.7 7.86,20 8.44,20H15.56C16.14,20 16.68,19.7 16.97,19.2L20.8,12.75C20.93,12.5 21,12.26 21,12C21,11.74 20.93,11.5 20.8,11.25Z"},{PackIconKind.Xaml,"M18.93,12L15.46,18H8.54L5.07,12L8.54,6H15.46L18.93,12M23.77,12L19.73,19L18,18L21.46,12L18,6L19.73,5L23.77,12M0.23,12L4.27,5L6,6L2.54,12L6,18L4.27,19L0.23,12Z"},{PackIconKind.Xbox,"M6.43,3.72C6.5,3.66 6.57,3.6 6.62,3.56C8.18,2.55 10,2 12,2C13.88,2 15.64,2.5 17.14,3.42C17.25,3.5 17.54,3.69 17.7,3.88C16.25,2.28 12,5.7 12,5.7C10.5,4.57 9.17,3.8 8.16,3.5C7.31,3.29 6.73,3.5 6.46,3.7M19.34,5.21C19.29,5.16 19.24,5.11 19.2,5.06C18.84,4.66 18.38,4.56 18,4.59C17.61,4.71 15.9,5.32 13.8,7.31C13.8,7.31 16.17,9.61 17.62,11.96C19.07,14.31 19.93,16.16 19.4,18.73C21,16.95 22,14.59 22,12C22,9.38 21,7 19.34,5.21M15.73,12.96C15.08,12.24 14.13,11.21 12.86,9.95C12.59,9.68 12.3,9.4 12,9.1C12,9.1 11.53,9.56 10.93,10.17C10.16,10.94 9.17,11.95 8.61,12.54C7.63,13.59 4.81,16.89 4.65,18.74C4.65,18.74 4,17.28 5.4,13.89C6.3,11.68 9,8.36 10.15,7.28C10.15,7.28 9.12,6.14 7.82,5.35L7.77,5.32C7.14,4.95 6.46,4.66 5.8,4.62C5.13,4.67 4.71,5.16 4.71,5.16C3.03,6.95 2,9.35 2,12A10,10 0 0,0 12,22C14.93,22 17.57,20.74 19.4,18.73C19.4,18.73 19.19,17.4 17.84,15.5C17.53,15.07 16.37,13.69 15.73,12.96Z"},{PackIconKind.XboxController,"M8.75,15.75C6.75,15.75 6,18 4,19C2,19 0.5,16 4.5,7.5H4.75L5.19,6.67C5.19,6.67 8,5 9.33,6.23H14.67C16,5 18.81,6.67 18.81,6.67L19.25,7.5H19.5C23.5,16 22,19 20,19C18,18 17.25,15.75 15.25,15.75H8.75M12,7A1,1 0 0,0 11,8A1,1 0 0,0 12,9A1,1 0 0,0 13,8A1,1 0 0,0 12,7Z"},{PackIconKind.XboxControllerBatteryAlert,"M21,19V7H15V19H21M21.67,5C22.4,5 23,5.6 23,6.33V19.67A1.33,1.33 0 0,1 21.67,21H14.33C13.6,21 13,20.4 13,19.67V16.75H7.75C5.75,16.75 5,19 3,20C1,20 -0.5,17 3.5,8.5H3.75L4.19,7.67C4.19,7.67 7,6 8.33,7.23H13V6.33A1.33,1.33 0 0,1 14.33,5H16V3H20V5H21.67M11,8A1,1 0 0,0 10,9A1,1 0 0,0 11,10A1,1 0 0,0 12,9A1,1 0 0,0 11,8M17,9H19V14H17V9M17,15H19V17H17V15Z"},{PackIconKind.XboxControllerBatteryEmpty,"M21,19V7H15V19H21M21.67,5C22.4,5 23,5.6 23,6.33V19.67A1.33,1.33 0 0,1 21.67,21H14.33C13.6,21 13,20.4 13,19.67V16.75H7.75C5.75,16.75 5,19 3,20C1,20 -0.5,17 3.5,8.5H3.75L4.19,7.67C4.19,7.67 7,6 8.33,7.23H13V6.33A1.33,1.33 0 0,1 14.33,5H16V3H20V5H21.67M11,8A1,1 0 0,0 10,9A1,1 0 0,0 11,10A1,1 0 0,0 12,9A1,1 0 0,0 11,8Z"},{PackIconKind.XboxControllerBatteryFull,"M21.67,5C22.4,5 23,5.6 23,6.33V19.67A1.33,1.33 0 0,1 21.67,21H14.33C13.6,21 13,20.4 13,19.67V16.75H7.75C5.75,16.75 5,19 3,20C1,20 -0.5,17 3.5,8.5H3.75L4.19,7.67C4.19,7.67 7,6 8.33,7.23H13V6.33A1.33,1.33 0 0,1 14.33,5H16V3H20V5H21.67M11,8A1,1 0 0,0 10,9A1,1 0 0,0 11,10A1,1 0 0,0 12,9A1,1 0 0,0 11,8Z"},{PackIconKind.XboxControllerBatteryLow,"M21,16V7H15V16H21M21.67,5C22.4,5 23,5.6 23,6.33V19.67A1.33,1.33 0 0,1 21.67,21H14.33C13.6,21 13,20.4 13,19.67V16.75H7.75C5.75,16.75 5,19 3,20C1,20 -0.5,17 3.5,8.5H3.75L4.19,7.67C4.19,7.67 7,6 8.33,7.23H13V6.33A1.33,1.33 0 0,1 14.33,5H16V3H20V5H21.67M11,8A1,1 0 0,0 10,9A1,1 0 0,0 11,10A1,1 0 0,0 12,9A1,1 0 0,0 11,8Z"},{PackIconKind.XboxControllerBatteryMedium,"M21,12V7H15V12H21M21.67,5C22.4,5 23,5.6 23,6.33V19.67A1.33,1.33 0 0,1 21.67,21H14.33C13.6,21 13,20.4 13,19.67V16.75H7.75C5.75,16.75 5,19 3,20C1,20 -0.5,17 3.5,8.5H3.75L4.19,7.67C4.19,7.67 7,6 8.33,7.23H13V6.33A1.33,1.33 0 0,1 14.33,5H16V3H20V5H21.67M11,8A1,1 0 0,0 10,9A1,1 0 0,0 11,10A1,1 0 0,0 12,9A1,1 0 0,0 11,8Z"},{PackIconKind.XboxControllerBatteryUnknown,"M21.67,5C22.4,5 23,5.6 23,6.33V19.67A1.33,1.33 0 0,1 21.67,21H14.33C13.6,21 13,20.4 13,19.67V16.75H7.75C5.75,16.75 5,19 3,20C1,20 -0.5,17 3.5,8.5H3.75L4.19,7.67C4.19,7.67 7,6 8.33,7.23H13V6.33A1.33,1.33 0 0,1 14.33,5H16V3H20V5H21.67M11,8A1,1 0 0,0 10,9A1,1 0 0,0 11,10A1,1 0 0,0 12,9A1,1 0 0,0 11,8M18.19,8C17.32,8 16.62,8.2 16.08,8.59C15.56,9 15.3,9.57 15.31,10.36L15.32,10.39H17.25C17.26,10.09 17.35,9.86 17.53,9.7C17.71,9.55 17.93,9.47 18.19,9.47C18.5,9.47 18.76,9.57 18.94,9.75C19.12,9.94 19.2,10.2 19.2,10.5C19.2,10.82 19.13,11.09 18.97,11.32C18.83,11.55 18.62,11.75 18.36,11.91C17.85,12.25 17.5,12.55 17.31,12.82C17.11,13.08 17,13.5 17,14H19C19,13.69 19.04,13.44 19.13,13.26C19.22,13.08 19.39,12.9 19.64,12.74C20.09,12.5 20.46,12.21 20.75,11.81C21.04,11.41 21.19,11 21.19,10.5C21.19,9.74 20.92,9.13 20.38,8.68C19.85,8.23 19.12,8 18.19,8M17,15V17H19V15H17Z"},{PackIconKind.XboxControllerOff,"M2,5.27L3.28,4L20,20.72L18.73,22L12.5,15.75H8.75C6.75,15.75 6,18 4,19C2,19 0.5,16.04 4.42,7.69L2,5.27M9.33,6.23H14.67C16,5 18.81,6.67 18.81,6.67L19.25,7.5H19.5C23,15 22.28,18.2 20.69,18.87L7.62,5.8C8.25,5.73 8.87,5.81 9.33,6.23M12,7A1,1 0 0,0 11,8A1,1 0 0,0 12,9A1,1 0 0,0 13,8A1,1 0 0,0 12,7Z"},{PackIconKind.Xda,"M-0.05,16.79L3.19,12.97L-0.05,9.15L1.5,7.86L4.5,11.41L7.5,7.86L9.05,9.15L5.81,12.97L9.05,16.79L7.5,18.07L4.5,14.5L1.5,18.07L-0.05,16.79M24,17A1,1 0 0,1 23,18H20A2,2 0 0,1 18,16V14A2,2 0 0,1 20,12H22V10H18V8H23A1,1 0 0,1 24,9M22,14H20V16H22V14M16,17A1,1 0 0,1 15,18H12A2,2 0 0,1 10,16V10A2,2 0 0,1 12,8H14V5H16V17M14,16V10H12V16H14Z"},{PackIconKind.Xing,"M17.67,2C17.24,2 17.05,2.27 16.9,2.55C16.9,2.55 10.68,13.57 10.5,13.93L14.58,21.45C14.72,21.71 14.94,22 15.38,22H18.26C18.44,22 18.57,21.93 18.64,21.82C18.72,21.69 18.72,21.53 18.64,21.37L14.57,13.92L20.96,2.63C21.04,2.47 21.04,2.31 20.97,2.18C20.89,2.07 20.76,2 20.58,2M5.55,5.95C5.38,5.95 5.23,6 5.16,6.13C5.08,6.26 5.09,6.41 5.18,6.57L7.12,9.97L4.06,15.37C4,15.53 4,15.69 4.06,15.82C4.13,15.94 4.26,16 4.43,16H7.32C7.75,16 7.96,15.72 8.11,15.45C8.11,15.45 11.1,10.16 11.22,9.95L9.24,6.5C9.1,6.24 8.88,5.95 8.43,5.95"},{PackIconKind.XingBox,"M4.8,3C3.8,3 3,3.8 3,4.8V19.2C3,20.2 3.8,21 4.8,21H19.2C20.2,21 21,20.2 21,19.2V4.8C21,3.8 20.2,3 19.2,3M16.07,5H18.11C18.23,5 18.33,5.04 18.37,5.13C18.43,5.22 18.43,5.33 18.37,5.44L13.9,13.36L16.75,18.56C16.81,18.67 16.81,18.78 16.75,18.87C16.7,18.95 16.61,19 16.5,19H14.47C14.16,19 14,18.79 13.91,18.61L11.04,13.35C11.18,13.1 15.53,5.39 15.53,5.39C15.64,5.19 15.77,5 16.07,5M7.09,7.76H9.1C9.41,7.76 9.57,7.96 9.67,8.15L11.06,10.57C10.97,10.71 8.88,14.42 8.88,14.42C8.77,14.61 8.63,14.81 8.32,14.81H6.3C6.18,14.81 6.09,14.76 6.04,14.67C6,14.59 6,14.47 6.04,14.36L8.18,10.57L6.82,8.2C6.77,8.09 6.75,8 6.81,7.89C6.86,7.81 6.96,7.76 7.09,7.76Z"},{PackIconKind.XingCircle,"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M15.85,6H17.74C17.86,6 17.94,6.04 18,6.12C18.04,6.2 18.04,6.3 18,6.41L13.84,13.76L16.5,18.59C16.53,18.69 16.53,18.8 16.5,18.88C16.43,18.96 16.35,19 16.24,19H14.36C14.07,19 13.93,18.81 13.84,18.64L11.17,13.76C11.31,13.5 15.35,6.36 15.35,6.36C15.45,6.18 15.57,6 15.85,6M7.5,8.57H9.39C9.67,8.57 9.81,8.75 9.9,8.92L11.19,11.17C11.12,11.3 9.17,14.75 9.17,14.75C9.07,14.92 8.94,15.11 8.66,15.11H6.78C6.67,15.11 6.59,15.06 6.54,15C6.5,14.9 6.5,14.8 6.54,14.69L8.53,11.17L7.27,9C7.21,8.87 7.2,8.77 7.25,8.69C7.3,8.61 7.39,8.57 7.5,8.57Z"},{PackIconKind.Xml,"M12.89,3L14.85,3.4L11.11,21L9.15,20.6L12.89,3M19.59,12L16,8.41V5.58L22.42,12L16,18.41V15.58L19.59,12M1.58,12L8,5.58V8.41L4.41,12L8,15.58V18.41L1.58,12Z"},{PackIconKind.Xmpp,"M12,15.4C9.75,13.09 8,9.54 8,6C2,4 8,6 2,4C2,9.65 6.33,14.11 10.55,16.66C9.38,17.5 8.15,18 7,18C7,19 7,18 7,19C8.2,19 10.03,18.46 12,17.46C13.97,18.46 15.8,19 17,19C17,18 17,19 17,18C15.85,18 14.62,17.5 13.45,16.66C17.66,14.11 22,9.65 22,4C16,6 22,4 16,6C16,9.54 14.25,13.09 12,15.4Z"},{PackIconKind.Yammer,"M13.54,5.93L9.18,17.11C9.16,17.19 8.26,19.65 5.23,19.65A1,1 0 0,1 4.23,18.65C4.23,18.09 4.68,17.65 5.23,17.65C6.79,17.65 7.26,16.53 7.31,16.41L7.68,15.4L3.82,5.94C3.62,5.43 3.86,4.84 4.37,4.64C4.88,4.43 5.47,4.67 5.68,5.19L8.75,12.72L11.68,5.2C11.88,4.68 12.46,4.43 13,4.63C13.5,4.83 13.75,5.41 13.54,5.93M18.5,6.38C18.32,6.38 18.13,6.45 18,6.57C18,6.57 13.8,9.56 14,9.88C14.19,10.2 18.83,8.03 18.84,8C19.15,7.9 19.38,7.59 19.38,7.23C19.38,6.76 19,6.38 18.5,6.38M19.27,16.84C19.17,16.67 19,16.54 18.83,16.46C18.83,16.46 14.17,14.29 14,14.61C13.81,14.94 18,17.92 18,17.92C18.25,18.14 18.63,18.18 18.94,18C19.35,17.77 19.5,17.25 19.27,16.84M20.97,11.42C20.79,11.32 20.6,11.29 20.4,11.32C20.4,11.32 15.29,11.85 15.3,12.22C15.31,12.59 20.41,13 20.42,13C20.76,13.05 21.11,12.9 21.29,12.58C21.5,12.17 21.38,11.65 20.97,11.42Z"},{PackIconKind.Yeast,"M18,14A4,4 0 0,1 22,18A4,4 0 0,1 18,22A4,4 0 0,1 14,18L14.09,17.15C14.05,16.45 13.92,15.84 13.55,15.5C13.35,15.3 13.07,15.19 12.75,15.13C11.79,15.68 10.68,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,10.68 15.68,11.79 15.13,12.75C15.19,13.07 15.3,13.35 15.5,13.55C15.84,13.92 16.45,14.05 17.15,14.09L18,14M7.5,10A1.5,1.5 0 0,1 9,11.5A1.5,1.5 0 0,1 7.5,13A1.5,1.5 0 0,1 6,11.5A1.5,1.5 0 0,1 7.5,10M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},{PackIconKind.Yelp,"M10.59,2C11.23,2 11.5,2.27 11.58,2.97L11.79,6.14L12.03,10.29C12.05,10.64 12,11 11.86,11.32C11.64,11.77 11.14,11.89 10.73,11.58C10.5,11.39 10.31,11.14 10.15,10.87L6.42,4.55C6.06,3.94 6.17,3.54 6.77,3.16C7.5,2.68 9.73,2 10.59,2M14.83,14.85L15.09,14.91L18.95,16.31C19.61,16.55 19.79,16.92 19.5,17.57C19.06,18.7 18.34,19.66 17.42,20.45C16.96,20.85 16.5,20.78 16.21,20.28L13.94,16.32C13.55,15.61 14.03,14.8 14.83,14.85M4.5,14C4.5,13.26 4.5,12.55 4.75,11.87C4.97,11.2 5.33,11 6,11.27L9.63,12.81C10.09,13 10.35,13.32 10.33,13.84C10.3,14.36 9.97,14.58 9.53,14.73L5.85,15.94C5.15,16.17 4.79,15.96 4.64,15.25C4.55,14.83 4.47,14.4 4.5,14M11.97,21C11.95,21.81 11.6,22.12 10.81,22C9.77,21.8 8.81,21.4 7.96,20.76C7.54,20.44 7.45,19.95 7.76,19.53L10.47,15.97C10.7,15.67 11.03,15.6 11.39,15.74C11.77,15.88 11.97,16.18 11.97,16.59V21M14.45,13.32C13.73,13.33 13.23,12.5 13.64,11.91C14.47,10.67 15.35,9.46 16.23,8.26C16.5,7.85 16.94,7.82 17.31,8.16C18.24,9 18.91,10 19.29,11.22C19.43,11.67 19.25,12.08 18.83,12.2L15.09,13.17L14.45,13.32Z"},{PackIconKind.YinYang,"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A4,4 0 0,1 8,16A4,4 0 0,1 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4M12,6.5A1.5,1.5 0 0,1 13.5,8A1.5,1.5 0 0,1 12,9.5A1.5,1.5 0 0,1 10.5,8A1.5,1.5 0 0,1 12,6.5M12,14.5A1.5,1.5 0 0,0 10.5,16A1.5,1.5 0 0,0 12,17.5A1.5,1.5 0 0,0 13.5,16A1.5,1.5 0 0,0 12,14.5Z"},{PackIconKind.YoutubeCreatorStudio,"M10,15L15,12L10,9V15M19.45,13L21.56,14.63C21.78,14.78 21.81,15 21.66,15.28L19.64,18.75C19.5,18.97 19.31,19.03 19.03,18.94L16.55,17.95C15.89,18.42 15.33,18.75 14.86,18.94L14.5,21.56C14.42,21.84 14.27,22 14,22H10C9.73,22 9.58,21.84 9.5,21.56L9.14,18.94C8.55,18.69 8,18.36 7.45,17.95L4.97,18.94C4.69,19.03 4.5,18.97 4.36,18.75L2.34,15.28C2.19,15 2.22,14.78 2.44,14.63L4.55,13C4.5,12.77 4.5,12.44 4.5,12C4.5,11.56 4.5,11.23 4.55,11L2.44,9.38C2.22,9.22 2.19,9 2.34,8.72L4.36,5.25C4.5,5.03 4.69,4.97 4.97,5.06L7.45,6.05C8.11,5.58 8.67,5.25 9.14,5.06L9.5,2.44C9.58,2.16 9.73,2 10,2H14C14.27,2 14.42,2.16 14.5,2.44L14.86,5.06C15.45,5.31 16,5.64 16.55,6.05L19.03,5.06C19.31,4.97 19.5,5.03 19.64,5.25L21.66,8.72C21.81,9 21.78,9.22 21.56,9.38L19.45,11C19.5,11.23 19.5,11.56 19.5,12C19.5,12.44 19.5,12.77 19.45,13Z"},{PackIconKind.YoutubeGaming,"M6,3.54C5.81,3.54 5.63,3.62 5.46,3.71L0.55,6.5C0.21,6.7 0,7.06 0,7.45V13.68C0,14.07 0.21,14.43 0.55,14.63L11.46,20.83C11.63,20.92 11.81,21 12,21C12.19,21 12.37,20.92 12.54,20.83L23.45,14.63C23.79,14.44 24,14.08 24,13.69V7.45C24,7.06 23.79,6.7 23.45,6.5L18.54,3.71C18.37,3.62 18.19,3.54 18,3.54C17.81,3.54 17.63,3.62 17.46,3.71L12.54,6.5C12.21,6.7 11.8,6.7 11.46,6.5L6.54,3.71C6.37,3.62 6.19,3.54 6,3.54M18.14,4.09L23.46,7.09L18.14,10.23V4.09Z"},{PackIconKind.YoutubePlay,"M10,16.5V7.5L16,12M20,4.4C19.4,4.2 15.7,4 12,4C8.3,4 4.6,4.19 4,4.38C2.44,4.9 2,8.4 2,12C2,15.59 2.44,19.1 4,19.61C4.6,19.81 8.3,20 12,20C15.7,20 19.4,19.81 20,19.61C21.56,19.1 22,15.59 22,12C22,8.4 21.56,4.91 20,4.4Z"},{PackIconKind.YoutubeTv,"M2.5,4.5H21.5C22.34,4.5 23,5.15 23,6V17.5C23,18.35 22.34,19 21.5,19H2.5C1.65,19 1,18.35 1,17.5V6C1,5.15 1.65,4.5 2.5,4.5M9.71,8.5V15L15.42,11.7L9.71,8.5M17.25,21H6.65C6.35,21 6.15,20.8 6.15,20.5C6.15,20.2 6.35,20 6.65,20H17.35C17.65,20 17.85,20.2 17.85,20.5C17.85,20.8 17.55,21 17.25,21Z"},{PackIconKind.ZipBox,"M14,17H12V15H10V13H12V15H14M14,9H12V11H14V13H12V11H10V9H12V7H10V5H12V7H14M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}}; + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconExtension.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconExtension.cs new file mode 100644 index 000000000..d92e75a31 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconExtension.cs @@ -0,0 +1,42 @@ +using System; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf +{ + [MarkupExtensionReturnType(typeof(PackIcon))] + public class PackIconExtension : MarkupExtension + { + public PackIconExtension() + { } + + public PackIconExtension(PackIconKind kind) + { + Kind = kind; + } + + public PackIconExtension(PackIconKind kind, double size) + { + Kind = kind; + Size = size; + } + + [ConstructorArgument("kind")] + public PackIconKind Kind { get; set; } + + [ConstructorArgument("size")] + public double? Size { get; set; } + + public override object ProvideValue(IServiceProvider serviceProvider) + { + var result = new PackIcon {Kind = Kind}; + + if (Size.HasValue) + { + result.Height = Size.Value; + result.Width = Size.Value; + } + + return result; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconKind.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconKind.cs new file mode 100644 index 000000000..61efc70af --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PackIconKind.cs @@ -0,0 +1,2148 @@ +namespace MaterialDesignThemes.Wpf +{ + /// ****************************************** + /// This code is auto generated. Do not amend. + /// ****************************************** + + /// <summary> + /// List of available icons for use with <see cref="PackIcon" />. + /// </summary> + /// <remarks> + /// All icons sourced from Material Design Icons Font - <see cref="https://materialdesignicons.com/"/> - in accordance of + /// <see cref="https://github.com/Templarian/MaterialDesign/blob/master/license.txt"/>. + /// </remarks> + public enum PackIconKind + { + AccessPoint, + AccessPointNetwork, + Account, + AccountAlert, + AccountBox, + AccountBoxOutline, + AccountCardDetails, + AccountCheck, + AccountCircle, + AccountConvert, + AccountEdit, + AccountKey, + AccountLocation, + AccountMinus, + AccountMultiple, + AccountMultipleMinus, + AccountMultipleOutline, + AccountMultiplePlus, + AccountMultiplePlusOutline, + AccountNetwork, + AccountOff, + AccountOutline, + AccountPlus, + AccountPlusOutline, + AccountRemove, + AccountSearch, + AccountSettings, + AccountSettingsVariant, + AccountStar, + AccountSwitch, + Adjust, + AirConditioner, + Airballoon, + Airplane, + AirplaneLanding, + AirplaneOff, + AirplaneTakeoff, + Airplay, + Alarm, + AlarmBell, + AlarmCheck, + AlarmLight, + AlarmMultiple, + AlarmOff, + AlarmPlus, + AlarmSnooze, + Album, + Alert, + AlertBox, + AlertCircle, + AlertCircleOutline, + AlertDecagram, + AlertOctagon, + AlertOctagram, + AlertOutline, + AllInclusive, + Allo, + Alpha, + Alphabetical, + Altimeter, + Amazon, + AmazonClouddrive, + Ambulance, + Amplifier, + Anchor, + Android, + AndroidDebugBridge, + AndroidHead, + AndroidStudio, + Angular, + Angularjs, + Animation, + Apple, + AppleFinder, + AppleIos, + AppleKeyboardCaps, + AppleKeyboardCommand, + AppleKeyboardControl, + AppleKeyboardOption, + AppleKeyboardShift, + AppleMobileme, + AppleSafari, + Application, + Approval, + Apps, + Archive, + ArrangeBringForward, + ArrangeBringToFront, + ArrangeSendBackward, + ArrangeSendToBack, + ArrowAll, + ArrowBottomLeft, + ArrowBottomRight, + ArrowCollapse, + ArrowCollapseAll, + ArrowCollapseDown, + ArrowCollapseLeft, + ArrowCollapseRight, + ArrowCollapseUp, + ArrowDown, + ArrowDownBold, + ArrowDownBoldBox, + ArrowDownBoldBoxOutline, + ArrowDownBoldCircle, + ArrowDownBoldCircleOutline, + ArrowDownBoldHexagonOutline, + ArrowDownBox, + ArrowDownDropCircle, + ArrowDownDropCircleOutline, + ArrowDownThick, + ArrowExpand, + ArrowExpandAll, + ArrowExpandDown, + ArrowExpandLeft, + ArrowExpandRight, + ArrowExpandUp, + ArrowLeft, + ArrowLeftBold, + ArrowLeftBoldBox, + ArrowLeftBoldBoxOutline, + ArrowLeftBoldCircle, + ArrowLeftBoldCircleOutline, + ArrowLeftBoldHexagonOutline, + ArrowLeftBox, + ArrowLeftDropCircle, + ArrowLeftDropCircleOutline, + ArrowLeftThick, + ArrowRight, + ArrowRightBold, + ArrowRightBoldBox, + ArrowRightBoldBoxOutline, + ArrowRightBoldCircle, + ArrowRightBoldCircleOutline, + ArrowRightBoldHexagonOutline, + ArrowRightBox, + ArrowRightDropCircle, + ArrowRightDropCircleOutline, + ArrowRightThick, + ArrowTopLeft, + ArrowTopRight, + ArrowUp, + ArrowUpBold, + ArrowUpBoldBox, + ArrowUpBoldBoxOutline, + ArrowUpBoldCircle, + ArrowUpBoldCircleOutline, + ArrowUpBoldHexagonOutline, + ArrowUpBox, + ArrowUpDropCircle, + ArrowUpDropCircleOutline, + ArrowUpThick, + Artist, + Assistant, + Asterisk, + At, + Atlassian, + Atom, + Attachment, + Audiobook, + AutoFix, + AutoUpload, + Autorenew, + AvTimer, + Azure, + Baby, + BabyBuggy, + Backburger, + Backspace, + BackupRestore, + Bandcamp, + Bank, + Barcode, + BarcodeScan, + Barley, + Barrel, + Basecamp, + Basket, + BasketFill, + BasketUnfill, + Basketball, + Battery, + Battery10, + Battery20, + Battery30, + Battery40, + Battery50, + Battery60, + Battery70, + Battery80, + Battery90, + BatteryAlert, + BatteryCharging, + BatteryCharging100, + BatteryCharging20, + BatteryCharging30, + BatteryCharging40, + BatteryCharging60, + BatteryCharging80, + BatteryCharging90, + BatteryChargingWireless, + BatteryChargingWireless10, + BatteryChargingWireless20, + BatteryChargingWireless30, + BatteryChargingWireless40, + BatteryChargingWireless50, + BatteryChargingWireless60, + BatteryChargingWireless70, + BatteryChargingWireless80, + BatteryChargingWireless90, + BatteryChargingWirelessAlert, + BatteryChargingWirelessOutline, + BatteryMinus, + BatteryNegative, + BatteryOutline, + BatteryPlus, + BatteryPositive, + BatteryUnknown, + Beach, + Beaker, + Beats, + Beer, + Behance, + Bell, + BellOff, + BellOutline, + BellPlus, + BellRing, + BellRingOutline, + BellSleep, + Beta, + Bible, + Bike, + Bing, + Binoculars, + Bio, + Biohazard, + Bitbucket, + Bitcoin, + BlackMesa, + Blackberry, + Blender, + Blinds, + BlockHelper, + Blogger, + Bluetooth, + BluetoothAudio, + BluetoothConnect, + BluetoothOff, + BluetoothSettings, + BluetoothTransfer, + Blur, + BlurLinear, + BlurOff, + BlurRadial, + Bomb, + BombOff, + Bone, + Book, + BookMinus, + BookMultiple, + BookMultipleVariant, + BookOpen, + BookOpenPageVariant, + BookOpenVariant, + BookPlus, + BookSecure, + BookUnsecure, + BookVariant, + Bookmark, + BookmarkCheck, + BookmarkMusic, + BookmarkOutline, + BookmarkPlus, + BookmarkPlusOutline, + BookmarkRemove, + Boombox, + Bootstrap, + BorderAll, + BorderBottom, + BorderColor, + BorderHorizontal, + BorderInside, + BorderLeft, + BorderNone, + BorderOutside, + BorderRight, + BorderStyle, + BorderTop, + BorderVertical, + BowTie, + Bowl, + Bowling, + Box, + BoxCutter, + BoxShadow, + Bridge, + Briefcase, + BriefcaseCheck, + BriefcaseDownload, + BriefcaseOutline, + BriefcaseUpload, + Brightness1, + Brightness2, + Brightness3, + Brightness4, + Brightness5, + Brightness6, + Brightness7, + BrightnessAuto, + Broom, + Brush, + Buffer, + Bug, + BulletinBoard, + Bullhorn, + Bullseye, + Bus, + BusArticulatedEnd, + BusArticulatedFront, + BusDoubleDecker, + BusSchool, + BusSide, + Cached, + Cake, + CakeLayered, + CakeVariant, + Calculator, + Calendar, + CalendarBlank, + CalendarCheck, + CalendarClock, + CalendarMultiple, + CalendarMultipleCheck, + CalendarPlus, + CalendarQuestion, + CalendarRange, + CalendarRemove, + CalendarText, + CalendarToday, + CallMade, + CallMerge, + CallMissed, + CallReceived, + CallSplit, + Camcorder, + CamcorderBox, + CamcorderBoxOff, + CamcorderOff, + Camera, + CameraBurst, + CameraEnhance, + CameraFront, + CameraFrontVariant, + CameraGopro, + CameraIris, + CameraMeteringCenter, + CameraMeteringMatrix, + CameraMeteringPartial, + CameraMeteringSpot, + CameraOff, + CameraPartyMode, + CameraRear, + CameraRearVariant, + CameraSwitch, + CameraTimer, + Cancel, + Candle, + Candycane, + Cannabis, + Car, + CarBattery, + CarConnected, + CarConvertible, + CarEstate, + CarHatchback, + CarPickup, + CarSide, + CarSports, + CarWash, + Caravan, + Cards, + CardsOutline, + CardsPlayingOutline, + CardsVariant, + Carrot, + Cart, + CartOff, + CartOutline, + CartPlus, + CaseSensitiveAlt, + Cash, + Cash100, + CashMultiple, + CashUsd, + Cast, + CastConnected, + CastOff, + Castle, + Cat, + Cctv, + CeilingLight, + Cellphone, + CellphoneAndroid, + CellphoneBasic, + CellphoneDock, + CellphoneIphone, + CellphoneLink, + CellphoneLinkOff, + CellphoneSettings, + CellphoneWireless, + Certificate, + ChairSchool, + ChartArc, + ChartAreaspline, + ChartBar, + ChartBarStacked, + ChartBubble, + ChartDonut, + ChartDonutVariant, + ChartGantt, + ChartHistogram, + ChartLine, + ChartLineStacked, + ChartLineVariant, + ChartPie, + ChartScatterplotHexbin, + ChartTimeline, + Check, + CheckAll, + CheckCircle, + CheckCircleOutline, + CheckboxBlank, + CheckboxBlankCircle, + CheckboxBlankCircleOutline, + CheckboxBlankOutline, + CheckboxMarked, + CheckboxMarkedCircle, + CheckboxMarkedCircleOutline, + CheckboxMarkedOutline, + CheckboxMultipleBlank, + CheckboxMultipleBlankCircle, + CheckboxMultipleBlankCircleOutline, + CheckboxMultipleBlankOutline, + CheckboxMultipleMarked, + CheckboxMultipleMarkedCircle, + CheckboxMultipleMarkedCircleOutline, + CheckboxMultipleMarkedOutline, + Checkerboard, + ChemicalWeapon, + ChevronDoubleDown, + ChevronDoubleLeft, + ChevronDoubleRight, + ChevronDoubleUp, + ChevronDown, + ChevronLeft, + ChevronRight, + ChevronUp, + ChiliHot, + ChiliMedium, + ChiliMild, + Chip, + Church, + Circle, + CircleOutline, + CiscoWebex, + City, + Clipboard, + ClipboardAccount, + ClipboardAlert, + ClipboardArrowDown, + ClipboardArrowLeft, + ClipboardCheck, + ClipboardFlow, + ClipboardOutline, + ClipboardPlus, + ClipboardText, + Clippy, + Clock, + ClockAlert, + ClockEnd, + ClockFast, + ClockIn, + ClockOut, + ClockStart, + Close, + CloseBox, + CloseBoxOutline, + CloseCircle, + CloseCircleOutline, + CloseNetwork, + CloseOctagon, + CloseOctagonOutline, + CloseOutline, + ClosedCaption, + Cloud, + CloudBraces, + CloudCheck, + CloudCircle, + CloudDownload, + CloudOffOutline, + CloudOutline, + CloudPrint, + CloudPrintOutline, + CloudSync, + CloudTags, + CloudUpload, + Clover, + CodeArray, + CodeBraces, + CodeBrackets, + CodeEqual, + CodeGreaterThan, + CodeGreaterThanOrEqual, + CodeLessThan, + CodeLessThanOrEqual, + CodeNotEqual, + CodeNotEqualVariant, + CodeParentheses, + CodeString, + CodeTags, + CodeTagsCheck, + Codepen, + Coffee, + CoffeeOutline, + CoffeeToGo, + Coin, + Coins, + Collage, + ColorHelper, + Comment, + CommentAccount, + CommentAccountOutline, + CommentAlert, + CommentAlertOutline, + CommentCheck, + CommentCheckOutline, + CommentMultipleOutline, + CommentOutline, + CommentPlusOutline, + CommentProcessing, + CommentProcessingOutline, + CommentQuestion, + CommentQuestionOutline, + CommentRemove, + CommentRemoveOutline, + CommentText, + CommentTextOutline, + Compare, + Compass, + CompassOutline, + Console, + ConsoleLine, + ContactMail, + Contacts, + ContentCopy, + ContentCut, + ContentDuplicate, + ContentPaste, + ContentSave, + ContentSaveAll, + ContentSaveOutline, + ContentSaveSettings, + Contrast, + ContrastBox, + ContrastCircle, + Cookie, + Copyright, + Corn, + Counter, + Cow, + Creation, + CreditCard, + CreditCardMultiple, + CreditCardOff, + CreditCardPlus, + CreditCardScan, + Crop, + CropFree, + CropLandscape, + CropPortrait, + CropRotate, + CropSquare, + Crosshairs, + CrosshairsGps, + Crown, + Cube, + CubeOutline, + CubeSend, + CubeUnfolded, + Cup, + CupOff, + CupWater, + CurrencyBtc, + CurrencyChf, + CurrencyCny, + CurrencyEth, + CurrencyEur, + CurrencyGbp, + CurrencyInr, + CurrencyJpy, + CurrencyKrw, + CurrencyNgn, + CurrencyRub, + CurrencySign, + CurrencyTry, + CurrencyTwd, + CurrencyUsd, + CurrencyUsdOff, + CursorDefault, + CursorDefaultOutline, + CursorMove, + CursorPointer, + CursorText, + Database, + DatabaseMinus, + DatabasePlus, + DatabaseSearch, + DebugStepInto, + DebugStepOut, + DebugStepOver, + Decagram, + DecagramOutline, + DecimalDecrease, + DecimalIncrease, + Delete, + DeleteCircle, + DeleteEmpty, + DeleteForever, + DeleteRestore, + DeleteSweep, + DeleteVariant, + Delta, + Deskphone, + DesktopClassic, + DesktopMac, + DesktopTower, + Details, + DeveloperBoard, + Deviantart, + Dialpad, + Diamond, + Dice1, + Dice2, + Dice3, + Dice4, + Dice5, + Dice6, + DiceD10, + DiceD20, + DiceD4, + DiceD6, + DiceD8, + DiceMultiple, + Dictionary, + DipSwitch, + Directions, + DirectionsFork, + Discord, + Disk, + DiskAlert, + Disqus, + DisqusOutline, + Division, + DivisionBox, + Dna, + Dns, + DoNotDisturb, + DoNotDisturbOff, + Dolby, + Domain, + Donkey, + Door, + DoorClosed, + DoorOpen, + DotsHorizontal, + DotsHorizontalCircle, + DotsVertical, + DotsVerticalCircle, + Douban, + Download, + DownloadNetwork, + Drag, + DragHorizontal, + DragVertical, + Drawing, + DrawingBox, + Dribbble, + DribbbleBox, + Drone, + Dropbox, + Drupal, + Duck, + Dumbbell, + EarHearing, + Earth, + EarthBox, + EarthBoxOff, + EarthOff, + Edge, + Eject, + Elephant, + ElevationDecline, + ElevationRise, + Elevator, + Email, + EmailAlert, + EmailOpen, + EmailOpenOutline, + EmailOutline, + EmailSecure, + EmailVariant, + Emby, + Emoticon, + EmoticonCool, + EmoticonDead, + EmoticonDevil, + EmoticonExcited, + EmoticonHappy, + EmoticonNeutral, + EmoticonPoop, + EmoticonSad, + EmoticonTongue, + Engine, + EngineOutline, + Equal, + EqualBox, + Eraser, + EraserVariant, + Escalator, + Ethernet, + EthernetCable, + EthernetCableOff, + Etsy, + EvStation, + Eventbrite, + Evernote, + Exclamation, + ExitToApp, + Export, + Eye, + EyeOff, + EyeOffOutline, + EyeOutline, + EyePlus, + EyePlusOutline, + Eyedropper, + EyedropperVariant, + Face, + FaceProfile, + Facebook, + FacebookBox, + FacebookMessenger, + Factory, + Fan, + FanOff, + FastForward, + FastForwardOutline, + Fax, + Feather, + Ferry, + File, + FileAccount, + FileChart, + FileCheck, + FileCloud, + FileDelimited, + FileDocument, + FileDocumentBox, + FileExcel, + FileExcelBox, + FileExport, + FileFind, + FileHidden, + FileImage, + FileImport, + FileLock, + FileMultiple, + FileMusic, + FileOutline, + FilePdf, + FilePdfBox, + FilePercent, + FilePlus, + FilePowerpoint, + FilePowerpointBox, + FilePresentationBox, + FileQuestion, + FileRestore, + FileSend, + FileTree, + FileVideo, + FileWord, + FileWordBox, + FileXml, + Film, + Filmstrip, + FilmstripOff, + Filter, + FilterOutline, + FilterRemove, + FilterRemoveOutline, + FilterVariant, + Finance, + FindReplace, + Fingerprint, + Fire, + Firefox, + Fish, + Flag, + FlagCheckered, + FlagOutline, + FlagTriangle, + FlagVariant, + FlagVariantOutline, + Flash, + FlashAuto, + FlashCircle, + FlashOff, + FlashOutline, + FlashRedEye, + Flashlight, + FlashlightOff, + Flask, + FlaskEmpty, + FlaskEmptyOutline, + FlaskOutline, + Flattr, + FlipToBack, + FlipToFront, + FloorPlan, + Floppy, + Flower, + Folder, + FolderAccount, + FolderDownload, + FolderGoogleDrive, + FolderImage, + FolderLock, + FolderLockOpen, + FolderMove, + FolderMultiple, + FolderMultipleImage, + FolderMultipleOutline, + FolderNetwork, + FolderOpen, + FolderOutline, + FolderPlus, + FolderRemove, + FolderStar, + FolderUpload, + FontAwesome, + Food, + FoodApple, + FoodCroissant, + FoodForkDrink, + FoodOff, + FoodVariant, + Football, + FootballAustralian, + FootballHelmet, + Forklift, + FormatAlignBottom, + FormatAlignCenter, + FormatAlignJustify, + FormatAlignLeft, + FormatAlignMiddle, + FormatAlignRight, + FormatAlignTop, + FormatAnnotationPlus, + FormatBold, + FormatClear, + FormatColorFill, + FormatColorText, + FormatFloatCenter, + FormatFloatLeft, + FormatFloatNone, + FormatFloatRight, + FormatFont, + FormatHeader1, + FormatHeader2, + FormatHeader3, + FormatHeader4, + FormatHeader5, + FormatHeader6, + FormatHeaderDecrease, + FormatHeaderEqual, + FormatHeaderIncrease, + FormatHeaderPound, + FormatHorizontalAlignCenter, + FormatHorizontalAlignLeft, + FormatHorizontalAlignRight, + FormatIndentDecrease, + FormatIndentIncrease, + FormatItalic, + FormatLineSpacing, + FormatLineStyle, + FormatLineWeight, + FormatListBulleted, + FormatListBulletedType, + FormatListChecks, + FormatListNumbers, + FormatPageBreak, + FormatPaint, + FormatParagraph, + FormatPilcrow, + FormatQuoteClose, + FormatQuoteOpen, + FormatRotate90, + FormatSection, + FormatSize, + FormatStrikethrough, + FormatStrikethroughVariant, + FormatSubscript, + FormatSuperscript, + FormatText, + FormatTextdirectionLToR, + FormatTextdirectionRToL, + FormatTitle, + FormatUnderline, + FormatVerticalAlignBottom, + FormatVerticalAlignCenter, + FormatVerticalAlignTop, + FormatWrapInline, + FormatWrapSquare, + FormatWrapTight, + FormatWrapTopBottom, + Forum, + ForumOutline, + Forward, + Foursquare, + Fridge, + FridgeFilled, + FridgeFilledBottom, + FridgeFilledTop, + Fuel, + Fullscreen, + FullscreenExit, + Function, + FunctionVariant, + Gamepad, + GamepadVariant, + Garage, + GarageOpen, + GasCylinder, + GasStation, + Gate, + Gauge, + Gavel, + GenderFemale, + GenderMale, + GenderMaleFemale, + GenderTransgender, + Gesture, + GestureDoubleTap, + GestureSwipeDown, + GestureSwipeLeft, + GestureSwipeRight, + GestureSwipeUp, + GestureTap, + GestureTwoDoubleTap, + GestureTwoTap, + Ghost, + Gift, + Git, + GithubBox, + GithubCircle, + GithubFace, + GlassFlute, + GlassMug, + GlassStange, + GlassTulip, + Glassdoor, + Glasses, + Gmail, + Gnome, + Golf, + Gondola, + Google, + GoogleAnalytics, + GoogleAssistant, + GoogleCardboard, + GoogleChrome, + GoogleCircles, + GoogleCirclesCommunities, + GoogleCirclesExtended, + GoogleCirclesGroup, + GoogleController, + GoogleControllerOff, + GoogleDrive, + GoogleEarth, + GoogleGlass, + GoogleHome, + GoogleKeep, + GoogleMaps, + GoogleNearby, + GooglePages, + GooglePhotos, + GooglePhysicalWeb, + GooglePlay, + GooglePlus, + GooglePlusBox, + GoogleTranslate, + GoogleWallet, + Gradient, + GreasePencil, + Grid, + GridLarge, + GridOff, + Group, + GuitarAcoustic, + GuitarElectric, + GuitarPick, + GuitarPickOutline, + GuyFawkesMask, + Hackernews, + Hamburger, + HandPointingRight, + Hanger, + Hangouts, + Harddisk, + Headphones, + HeadphonesBox, + HeadphonesOff, + HeadphonesSettings, + Headset, + HeadsetDock, + HeadsetOff, + Heart, + HeartBox, + HeartBoxOutline, + HeartBroken, + HeartHalf, + HeartHalfFull, + HeartHalfOutline, + HeartOff, + HeartOutline, + HeartPulse, + Help, + HelpBox, + HelpCircle, + HelpCircleOutline, + HelpNetwork, + Hexagon, + HexagonMultiple, + HexagonOutline, + HighDefinition, + Highway, + History, + Hololens, + Home, + HomeAccount, + HomeAssistant, + HomeAutomation, + HomeCircle, + HomeHeart, + HomeMapMarker, + HomeModern, + HomeOutline, + HomeVariant, + Hook, + HookOff, + Hops, + Hospital, + HospitalBuilding, + HospitalMarker, + HotTub, + Hotel, + Houzz, + HouzzBox, + Hulu, + Human, + HumanChild, + HumanFemale, + HumanGreeting, + HumanHandsdown, + HumanHandsup, + HumanMale, + HumanMaleFemale, + HumanPregnant, + HumbleBundle, + IceCream, + Image, + ImageAlbum, + ImageArea, + ImageAreaClose, + ImageBroken, + ImageBrokenVariant, + ImageFilter, + ImageFilterBlackWhite, + ImageFilterCenterFocus, + ImageFilterCenterFocusWeak, + ImageFilterDrama, + ImageFilterFrames, + ImageFilterHdr, + ImageFilterNone, + ImageFilterTiltShift, + ImageFilterVintage, + ImageMultiple, + ImageOff, + ImagePlus, + Import, + Inbox, + InboxArrowDown, + InboxArrowUp, + Incognito, + Infinity, + Information, + InformationOutline, + InformationVariant, + Instagram, + Instapaper, + InternetExplorer, + InvertColors, + Itunes, + Jeepney, + Jira, + Jsfiddle, + Json, + Karate, + Keg, + Kettle, + Key, + KeyChange, + KeyMinus, + KeyPlus, + KeyRemove, + KeyVariant, + Keyboard, + KeyboardBackspace, + KeyboardCaps, + KeyboardClose, + KeyboardOff, + KeyboardReturn, + KeyboardTab, + KeyboardVariant, + Kickstarter, + Kodi, + Label, + LabelOutline, + Ladybug, + Lambda, + Lamp, + Lan, + LanConnect, + LanDisconnect, + LanPending, + LanguageC, + LanguageCpp, + LanguageCsharp, + LanguageCss3, + LanguageGo, + LanguageHtml5, + LanguageJavascript, + LanguagePhp, + LanguagePython, + LanguagePythonText, + LanguageR, + LanguageSwift, + LanguageTypescript, + Laptop, + LaptopChromebook, + LaptopMac, + LaptopOff, + LaptopWindows, + Lastfm, + Lastpass, + Launch, + LavaLamp, + Layers, + LayersOff, + LeadPencil, + Leaf, + LedOff, + LedOn, + LedOutline, + LedStrip, + LedVariantOff, + LedVariantOn, + LedVariantOutline, + Library, + LibraryBooks, + LibraryMusic, + LibraryPlus, + Lightbulb, + LightbulbOn, + LightbulbOnOutline, + LightbulbOutline, + Link, + LinkOff, + LinkVariant, + LinkVariantOff, + Linkedin, + LinkedinBox, + Linux, + Loading, + Lock, + LockOpen, + LockOpenOutline, + LockOutline, + LockPattern, + LockPlus, + LockReset, + Locker, + LockerMultiple, + Login, + LoginVariant, + Logout, + LogoutVariant, + Looks, + Loop, + Loupe, + Lumx, + Magnet, + MagnetOn, + Magnify, + MagnifyMinus, + MagnifyMinusOutline, + MagnifyPlus, + MagnifyPlusOutline, + MailRu, + Mailbox, + Map, + MapMarker, + MapMarkerCircle, + MapMarkerMinus, + MapMarkerMultiple, + MapMarkerOff, + MapMarkerOutline, + MapMarkerPlus, + MapMarkerRadius, + Margin, + Markdown, + Marker, + MarkerCheck, + Martini, + MaterialUi, + MathCompass, + Matrix, + Maxcdn, + MedicalBag, + Medium, + Memory, + Menu, + MenuDown, + MenuDownOutline, + MenuLeft, + MenuRight, + MenuUp, + MenuUpOutline, + Message, + MessageAlert, + MessageBulleted, + MessageBulletedOff, + MessageDraw, + MessageImage, + MessageOutline, + MessagePlus, + MessageProcessing, + MessageReply, + MessageReplyText, + MessageSettings, + MessageSettingsVariant, + MessageText, + MessageTextOutline, + MessageVideo, + Meteor, + Metronome, + MetronomeTick, + MicroSd, + Microphone, + MicrophoneOff, + MicrophoneOutline, + MicrophoneSettings, + MicrophoneVariant, + MicrophoneVariantOff, + Microscope, + Microsoft, + Minecraft, + Minus, + MinusBox, + MinusBoxOutline, + MinusCircle, + MinusCircleOutline, + MinusNetwork, + Mixcloud, + Mixer, + Monitor, + MonitorMultiple, + More, + Motorbike, + Mouse, + MouseOff, + MouseVariant, + MouseVariantOff, + MoveResize, + MoveResizeVariant, + Movie, + MovieRoll, + Multiplication, + MultiplicationBox, + Mushroom, + MushroomOutline, + Music, + MusicBox, + MusicBoxOutline, + MusicCircle, + MusicNote, + MusicNoteBluetooth, + MusicNoteBluetoothOff, + MusicNoteEighth, + MusicNoteHalf, + MusicNoteOff, + MusicNoteQuarter, + MusicNoteSixteenth, + MusicNoteWhole, + MusicOff, + Nature, + NaturePeople, + Navigation, + NearMe, + Needle, + NestProtect, + NestThermostat, + Netflix, + Network, + NewBox, + Newspaper, + Nfc, + NfcTap, + NfcVariant, + Ninja, + NintendoSwitch, + Nodejs, + Note, + NoteMultiple, + NoteMultipleOutline, + NoteOutline, + NotePlus, + NotePlusOutline, + NoteText, + Notebook, + NotificationClearAll, + Npm, + Nuke, + Null, + Numeric, + Numeric0Box, + Numeric0BoxMultipleOutline, + Numeric0BoxOutline, + Numeric1Box, + Numeric1BoxMultipleOutline, + Numeric1BoxOutline, + Numeric2Box, + Numeric2BoxMultipleOutline, + Numeric2BoxOutline, + Numeric3Box, + Numeric3BoxMultipleOutline, + Numeric3BoxOutline, + Numeric4Box, + Numeric4BoxMultipleOutline, + Numeric4BoxOutline, + Numeric5Box, + Numeric5BoxMultipleOutline, + Numeric5BoxOutline, + Numeric6Box, + Numeric6BoxMultipleOutline, + Numeric6BoxOutline, + Numeric7Box, + Numeric7BoxMultipleOutline, + Numeric7BoxOutline, + Numeric8Box, + Numeric8BoxMultipleOutline, + Numeric8BoxOutline, + Numeric9Box, + Numeric9BoxMultipleOutline, + Numeric9BoxOutline, + Numeric9PlusBox, + Numeric9PlusBoxMultipleOutline, + Numeric9PlusBoxOutline, + Nut, + Nutrition, + Oar, + Octagon, + OctagonOutline, + Octagram, + OctagramOutline, + Odnoklassniki, + Office, + Oil, + OilTemperature, + Omega, + Onedrive, + Onenote, + Opacity, + OpenInApp, + OpenInNew, + Openid, + Opera, + Orbit, + Ornament, + OrnamentVariant, + Owl, + Package, + PackageDown, + PackageUp, + PackageVariant, + PackageVariantClosed, + PageFirst, + PageLast, + PageLayoutBody, + PageLayoutFooter, + PageLayoutHeader, + PageLayoutSidebarLeft, + PageLayoutSidebarRight, + Palette, + PaletteAdvanced, + Panda, + Pandora, + Panorama, + PanoramaFisheye, + PanoramaHorizontal, + PanoramaVertical, + PanoramaWideAngle, + PaperCutVertical, + Paperclip, + Parking, + Passport, + Pause, + PauseCircle, + PauseCircleOutline, + PauseOctagon, + PauseOctagonOutline, + Paw, + PawOff, + Pen, + Pencil, + PencilBox, + PencilBoxOutline, + PencilCircle, + PencilCircleOutline, + PencilLock, + PencilOff, + Pentagon, + PentagonOutline, + Percent, + PeriodicTableCo2, + Periscope, + Pharmacy, + Phone, + PhoneBluetooth, + PhoneClassic, + PhoneForward, + PhoneHangup, + PhoneInTalk, + PhoneIncoming, + PhoneLocked, + PhoneLog, + PhoneMinus, + PhoneMissed, + PhoneOutgoing, + PhonePaused, + PhonePlus, + PhoneReturn, + PhoneSettings, + PhoneVoip, + Pi, + PiBox, + Piano, + Pig, + Pill, + Pillar, + Pin, + PinOff, + PineTree, + PineTreeBox, + Pinterest, + PinterestBox, + Pipe, + PipeDisconnected, + Pistol, + Pizza, + PlaneShield, + Play, + PlayBoxOutline, + PlayCircle, + PlayCircleOutline, + PlayPause, + PlayProtectedContent, + PlaylistCheck, + PlaylistMinus, + PlaylistPlay, + PlaylistPlus, + PlaylistRemove, + Playstation, + Plex, + Plus, + PlusBox, + PlusBoxOutline, + PlusCircle, + PlusCircleMultipleOutline, + PlusCircleOutline, + PlusNetwork, + PlusOne, + PlusOutline, + Pocket, + Pokeball, + PokerChip, + Polaroid, + Poll, + PollBox, + Polymer, + Pool, + Popcorn, + Pot, + PotMix, + Pound, + PoundBox, + Power, + PowerPlug, + PowerPlugOff, + PowerSettings, + PowerSocket, + PowerSocketEu, + PowerSocketUk, + PowerSocketUs, + Prescription, + Presentation, + PresentationPlay, + Printer, + Printer3d, + PrinterAlert, + PrinterSettings, + PriorityHigh, + PriorityLow, + ProfessionalHexagon, + Projector, + ProjectorScreen, + Publish, + Pulse, + Puzzle, + Qqchat, + Qrcode, + QrcodeScan, + Quadcopter, + QualityHigh, + Quicktime, + Radar, + Radiator, + Radio, + RadioHandheld, + RadioTower, + Radioactive, + RadioboxBlank, + RadioboxMarked, + Raspberrypi, + RayEnd, + RayEndArrow, + RayStart, + RayStartArrow, + RayStartEnd, + RayVertex, + React, + Read, + Receipt, + Record, + RecordRec, + Recycle, + Reddit, + Redo, + RedoVariant, + Refresh, + Regex, + RelativeScale, + Reload, + Reminder, + Remote, + RenameBox, + ReorderHorizontal, + ReorderVertical, + Repeat, + RepeatOff, + RepeatOnce, + Replay, + Reply, + ReplyAll, + Reproduction, + ResizeBottomRight, + Responsive, + Restart, + Restore, + Rewind, + RewindOutline, + Rhombus, + RhombusOutline, + Ribbon, + Rice, + Ring, + Road, + RoadVariant, + Robot, + Rocket, + Roomba, + Rotate3d, + RotateLeft, + RotateLeftVariant, + RotateRight, + RotateRightVariant, + RoundedCorner, + RouterWireless, + Routes, + Rowing, + Rss, + RssBox, + Ruler, + Run, + RunFast, + Sale, + Sass, + Satellite, + SatelliteVariant, + Saxophone, + Scale, + ScaleBalance, + ScaleBathroom, + Scanner, + School, + ScreenRotation, + ScreenRotationLock, + Screwdriver, + Script, + Sd, + Seal, + SearchWeb, + SeatFlat, + SeatFlatAngled, + SeatIndividualSuite, + SeatLegroomExtra, + SeatLegroomNormal, + SeatLegroomReduced, + SeatReclineExtra, + SeatReclineNormal, + Security, + SecurityAccount, + SecurityHome, + SecurityNetwork, + Select, + SelectAll, + SelectInverse, + SelectOff, + Selection, + SelectionOff, + Send, + SendSecure, + SerialPort, + Server, + ServerMinus, + ServerNetwork, + ServerNetworkOff, + ServerOff, + ServerPlus, + ServerRemove, + ServerSecurity, + SetAll, + SetCenter, + SetCenterRight, + SetLeft, + SetLeftCenter, + SetLeftRight, + SetNone, + SetRight, + Settings, + SettingsBox, + Shape, + ShapeCirclePlus, + ShapeOutline, + ShapePlus, + ShapePolygonPlus, + ShapeRectanglePlus, + ShapeSquarePlus, + Share, + ShareVariant, + Shield, + ShieldHalfFull, + ShieldOutline, + ShipWheel, + Shopping, + ShoppingMusic, + Shovel, + ShovelOff, + Shredder, + Shuffle, + ShuffleDisabled, + ShuffleVariant, + Sigma, + SigmaLower, + SignCaution, + SignDirection, + SignText, + Signal, + Signal2g, + Signal3g, + Signal4g, + SignalHspa, + SignalHspaPlus, + SignalOff, + SignalVariant, + Silverware, + SilverwareFork, + SilverwareSpoon, + SilverwareVariant, + Sim, + SimAlert, + SimOff, + Sitemap, + SkipBackward, + SkipForward, + SkipNext, + SkipNextCircle, + SkipNextCircleOutline, + SkipPrevious, + SkipPreviousCircle, + SkipPreviousCircleOutline, + Skull, + Skype, + SkypeBusiness, + Slack, + Sleep, + SleepOff, + Smoking, + SmokingOff, + Snapchat, + Snowflake, + Snowman, + Soccer, + SoccerField, + Sofa, + Solid, + Sort, + SortAlphabetical, + SortAscending, + SortDescending, + SortNumeric, + SortVariant, + Soundcloud, + SourceBranch, + SourceCommit, + SourceCommitEnd, + SourceCommitEndLocal, + SourceCommitLocal, + SourceCommitNextLocal, + SourceCommitStart, + SourceCommitStartNextLocal, + SourceFork, + SourceMerge, + SourcePull, + SoySauce, + Speaker, + SpeakerOff, + SpeakerWireless, + Speedometer, + Spellcheck, + Spotify, + Spotlight, + SpotlightBeam, + Spray, + Square, + SquareInc, + SquareIncCash, + SquareOutline, + SquareRoot, + StackOverflow, + Stackexchange, + Stadium, + Stairs, + StandardDefinition, + Star, + StarCircle, + StarHalf, + StarOff, + StarOutline, + Steam, + Steering, + StepBackward, + StepBackward2, + StepForward, + StepForward2, + Stethoscope, + Sticker, + StickerEmoji, + Stocking, + Stop, + StopCircle, + StopCircleOutline, + Store, + Store24Hour, + Stove, + SubdirectoryArrowLeft, + SubdirectoryArrowRight, + Subway, + SubwayVariant, + Summit, + Sunglasses, + SurroundSound, + SurroundSound20, + SurroundSound31, + SurroundSound51, + SurroundSound71, + Svg, + SwapHorizontal, + SwapVertical, + Swim, + Switch, + Sword, + SwordCross, + Sync, + SyncAlert, + SyncOff, + Tab, + TabPlus, + TabUnselected, + Table, + TableColumn, + TableColumnPlusAfter, + TableColumnPlusBefore, + TableColumnRemove, + TableColumnWidth, + TableEdit, + TableLarge, + TableOfContents, + TableRow, + TableRowHeight, + TableRowPlusAfter, + TableRowPlusBefore, + TableRowRemove, + TableSettings, + Tablet, + TabletAndroid, + TabletIpad, + Taco, + Tag, + TagFaces, + TagHeart, + TagMultiple, + TagOutline, + TagPlus, + TagRemove, + TagTextOutline, + Target, + Taxi, + Teamviewer, + Telegram, + Television, + TelevisionBox, + TelevisionClassic, + TelevisionClassicOff, + TelevisionGuide, + TelevisionOff, + TemperatureCelsius, + TemperatureFahrenheit, + TemperatureKelvin, + Tennis, + Tent, + Terrain, + TestTube, + TextShadow, + TextToSpeech, + TextToSpeechOff, + Textbox, + TextboxPassword, + Texture, + Theater, + ThemeLightDark, + Thermometer, + ThermometerLines, + ThermostatBox, + ThoughtBubble, + ThoughtBubbleOutline, + ThumbDown, + ThumbDownOutline, + ThumbUp, + ThumbUpOutline, + ThumbsUpDown, + Ticket, + TicketAccount, + TicketConfirmation, + TicketPercent, + Tie, + Tilde, + Timelapse, + Timer, + Timer10, + Timer3, + TimerOff, + TimerSand, + TimerSandEmpty, + TimerSandFull, + Timetable, + ToggleSwitch, + ToggleSwitchOff, + Tooltip, + TooltipEdit, + TooltipImage, + TooltipOutline, + TooltipOutlinePlus, + TooltipText, + Tooth, + Tor, + TowerBeach, + TowerFire, + Towing, + Trackpad, + Tractor, + TrafficLight, + Train, + Tram, + Transcribe, + TranscribeClose, + Transfer, + TransitTransfer, + Translate, + TreasureChest, + Tree, + Trello, + TrendingDown, + TrendingNeutral, + TrendingUp, + Triangle, + TriangleOutline, + Trophy, + TrophyAward, + TrophyOutline, + TrophyVariant, + TrophyVariantOutline, + Truck, + TruckDelivery, + TruckFast, + TruckTrailer, + TshirtCrew, + TshirtV, + Tumblr, + TumblrReblog, + Tune, + TuneVertical, + Twitch, + Twitter, + TwitterBox, + TwitterCircle, + TwitterRetweet, + Uber, + Ubuntu, + UltraHighDefinition, + Umbraco, + Umbrella, + UmbrellaOutline, + Undo, + UndoVariant, + UnfoldLessHorizontal, + UnfoldLessVertical, + UnfoldMoreHorizontal, + UnfoldMoreVertical, + Ungroup, + Unity, + Untappd, + Update, + Upload, + UploadMultiple, + UploadNetwork, + Usb, + VanPassenger, + VanUtility, + Vanish, + VectorArrangeAbove, + VectorArrangeBelow, + VectorCircle, + VectorCircleVariant, + VectorCombine, + VectorCurve, + VectorDifference, + VectorDifferenceAb, + VectorDifferenceBa, + VectorEllipse, + VectorIntersection, + VectorLine, + VectorPoint, + VectorPolygon, + VectorPolyline, + VectorRadius, + VectorRectangle, + VectorSelection, + VectorSquare, + VectorTriangle, + VectorUnion, + Venmo, + Verified, + Vibrate, + Video, + Video3d, + Video4kBox, + VideoInputAntenna, + VideoInputComponent, + VideoInputHdmi, + VideoInputSvideo, + VideoOff, + VideoSwitch, + ViewAgenda, + ViewArray, + ViewCarousel, + ViewColumn, + ViewDashboard, + ViewDashboardVariant, + ViewDay, + ViewGrid, + ViewHeadline, + ViewList, + ViewModule, + ViewParallel, + ViewQuilt, + ViewSequential, + ViewStream, + ViewWeek, + Vimeo, + Violin, + Visualstudio, + Vk, + VkBox, + VkCircle, + Vlc, + Voice, + Voicemail, + VolumeHigh, + VolumeLow, + VolumeMedium, + VolumeMinus, + VolumeMute, + VolumeOff, + VolumePlus, + Vpn, + Vuejs, + Walk, + Wall, + Wallet, + WalletGiftcard, + WalletMembership, + WalletTravel, + Wan, + WashingMachine, + Watch, + WatchExport, + WatchImport, + WatchVibrate, + Water, + WaterOff, + WaterPercent, + WaterPump, + Watermark, + Waves, + WeatherCloudy, + WeatherFog, + WeatherHail, + WeatherLightning, + WeatherLightningRainy, + WeatherNight, + WeatherPartlycloudy, + WeatherPouring, + WeatherRainy, + WeatherSnowy, + WeatherSnowyRainy, + WeatherSunny, + WeatherSunset, + WeatherSunsetDown, + WeatherSunsetUp, + WeatherWindy, + WeatherWindyVariant, + Web, + Webcam, + Webhook, + Webpack, + Wechat, + Weight, + WeightKilogram, + Whatsapp, + WheelchairAccessibility, + WhiteBalanceAuto, + WhiteBalanceIncandescent, + WhiteBalanceIridescent, + WhiteBalanceSunny, + Widgets, + Wifi, + WifiOff, + Wii, + Wiiu, + Wikipedia, + WindowClose, + WindowClosed, + WindowMaximize, + WindowMinimize, + WindowOpen, + WindowRestore, + Windows, + Wordpress, + Worker, + Wrap, + Wrench, + Wunderlist, + Xamarin, + XamarinOutline, + Xaml, + Xbox, + XboxController, + XboxControllerBatteryAlert, + XboxControllerBatteryEmpty, + XboxControllerBatteryFull, + XboxControllerBatteryLow, + XboxControllerBatteryMedium, + XboxControllerBatteryUnknown, + XboxControllerOff, + Xda, + Xing, + XingBox, + XingCircle, + Xml, + Xmpp, + Yammer, + Yeast, + Yelp, + YinYang, + YoutubeCreatorStudio, + YoutubeGaming, + YoutubePlay, + YoutubeTv, + ZipBox } +} + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Palette.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Palette.cs new file mode 100644 index 000000000..16e3ccdd4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Palette.cs @@ -0,0 +1,32 @@ +using MaterialDesignColors; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Provides full information about a palette. + /// </summary> + public class Palette + { + public Palette(Swatch primarySwatch, Swatch accentSwatch, int primaryLightHueIndex, int primaryMidHueIndex, int primaryDarkHueIndex, int accentHueIndex) + { + PrimarySwatch = primarySwatch; + AccentSwatch = accentSwatch; + PrimaryLightHueIndex = primaryLightHueIndex; + PrimaryMidHueIndex = primaryMidHueIndex; + PrimaryDarkHueIndex = primaryDarkHueIndex; + AccentHueIndex = accentHueIndex; + } + + public Swatch PrimarySwatch { get; } + + public Swatch AccentSwatch { get; } + + public int PrimaryLightHueIndex { get; } + + public int PrimaryMidHueIndex { get; } + + public int PrimaryDarkHueIndex { get; } + + public int AccentHueIndex { get; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PaletteHelper.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PaletteHelper.cs new file mode 100644 index 000000000..3513b4636 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PaletteHelper.cs @@ -0,0 +1,276 @@ +using MaterialDesignColors; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text.RegularExpressions; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Runtime.InteropServices; +namespace MaterialDesignThemes.Wpf +{ + public class PaletteHelper + { + public virtual void SetLightDark(bool isDark) + { + var existingResourceDictionary = Application.Current.Resources.MergedDictionaries + .Where(rd => rd.Source != null) + .SingleOrDefault(rd => Regex.Match(rd.Source.OriginalString, @"(\/MaterialDesignThemes.Wpf;component\/Themes\/MaterialDesignTheme\.)((Light)|(Dark))").Success); + if (existingResourceDictionary == null) + throw new ApplicationException("Unable to find Light/Dark base theme in Application resources."); + + var source = + $"pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.{(isDark ? "Dark" : "Light")}.xaml"; + var newResourceDictionary = new ResourceDictionary() { Source = new Uri(source) }; + + Application.Current.Resources.MergedDictionaries.Remove(existingResourceDictionary); + Application.Current.Resources.MergedDictionaries.Add(newResourceDictionary); + + var existingMahAppsResourceDictionary = Application.Current.Resources.MergedDictionaries + .Where(rd => rd.Source != null) + .SingleOrDefault(rd => Regex.Match(rd.Source.OriginalString, @"(\/MahApps.Metro;component\/Styles\/Accents\/)((BaseLight)|(BaseDark))").Success); + if (existingMahAppsResourceDictionary == null) return; + + source = + $"pack://application:,,,/MahApps.Metro;component/Styles/Accents/{(isDark ? "BaseDark" : "BaseLight")}.xaml"; + var newMahAppsResourceDictionary = new ResourceDictionary { Source = new Uri(source) }; + + Application.Current.Resources.MergedDictionaries.Remove(existingMahAppsResourceDictionary); + Application.Current.Resources.MergedDictionaries.Add(newMahAppsResourceDictionary); + } + + /// <summary> + /// Replaces the entire palette + /// </summary> + public virtual void ReplacePalette(Palette palette) + { + if (palette == null) throw new ArgumentNullException(nameof(palette)); + + var allHues = palette.PrimarySwatch.PrimaryHues.ToList(); + ReplacePrimaryColor( + palette.PrimarySwatch, + allHues[palette.PrimaryLightHueIndex], + allHues[palette.PrimaryMidHueIndex], + allHues[palette.PrimaryDarkHueIndex], + allHues); + + var accentHue = palette.AccentSwatch.AccentHues.ElementAt(palette.AccentHueIndex); + ReplaceEntry("SecondaryAccentBrush", new SolidColorBrush(accentHue.Color)); + ReplaceEntry("SecondaryAccentForegroundBrush", new SolidColorBrush(accentHue.Foreground)); + } + + /// <summary> + /// Replaces the primary colour, selecting a balanced set of hues for the light, mid and dark hues. + /// </summary> + /// <param name="swatch"></param> + public virtual void ReplacePrimaryColor(Swatch swatch) + { + if (swatch == null) throw new ArgumentNullException(nameof(swatch)); + + var palette = QueryPalette(); + + var list = swatch.PrimaryHues.ToList(); + var light = list[palette.PrimaryLightHueIndex]; + var mid = list[palette.PrimaryMidHueIndex]; + var dark = list[palette.PrimaryDarkHueIndex]; + + ReplacePrimaryColor(swatch, light, mid, dark, list); + } + + public virtual void ReplacePrimaryColor(string name) + { + if (name == null) throw new ArgumentNullException(nameof(name)); + + var swatch = new SwatchesProvider().Swatches.FirstOrDefault( + s => string.Compare(s.Name, name, StringComparison.InvariantCultureIgnoreCase) == 0); + + if (swatch == null) + throw new ArgumentException($"No such swatch '{name}'", nameof(name)); + + ReplacePrimaryColor(swatch); + } + + public virtual void ReplaceAccentColor(Swatch swatch) + { + if (swatch == null) throw new ArgumentNullException(nameof(swatch)); + + var palette = QueryPalette(); + + foreach (var color in swatch.AccentHues) + { + ReplaceEntry(color.Name, color.Color); + ReplaceEntry(color.Name + "Foreground", color.Foreground); + } + + var hue = swatch.AccentHues.ElementAt(palette.AccentHueIndex); + + ReplaceEntry("SecondaryAccentBrush", new SolidColorBrush(hue.Color)); + ReplaceEntry("SecondaryAccentForegroundBrush", new SolidColorBrush(hue.Foreground)); + } + + public virtual void ReplaceAccentColor(string name) + { + if (name == null) throw new ArgumentNullException(nameof(name)); + + var swatch = new SwatchesProvider().Swatches.FirstOrDefault( + s => string.Compare(s.Name, name, StringComparison.InvariantCultureIgnoreCase) == 0 && s.IsAccented); + + if (swatch == null) + throw new ArgumentException($"No such accented swatch '{name}'", nameof(name)); + + ReplaceAccentColor(swatch); + } + + /// <summary> + /// Attempts to query the current palette configured in the application's resources. + /// </summary> + /// <returns></returns> + /// <exception cref="InvalidOperationException">Thrown if there is any ambiguouty regarding the palette. Provided + /// standard guidleines have been followed for palette configureation, this should not happen.</exception> + public Palette QueryPalette() + { + //it's not safe to to query for the included swatches, so we find the mid (or accent) colour, + //& cross match it with the entirety of all available hues to find the owning swatch. + + //TODO could cache this statically + var swatchesProvider = new SwatchesProvider(); + var swatchByPrimaryHueIndex = swatchesProvider + .Swatches + .SelectMany(s => s.PrimaryHues.Select(h => new {s, h})) + .ToDictionary(a => a.h.Color, a => a.s); + var swatchByAccentHueIndex = swatchesProvider + .Swatches + .Where(s => s.IsAccented) + .SelectMany(s => s.AccentHues.Select(h => new { s, h })) + .ToDictionary(a => a.h.Color, a => a.s); + + var primaryMidBrush = GetBrush("PrimaryHueMidBrush"); + var accentBrush = GetBrush("SecondaryAccentBrush"); + + Swatch primarySwatch; + if (!swatchByPrimaryHueIndex.TryGetValue(primaryMidBrush.Color, out primarySwatch)) + throw new InvalidOperationException("PrimaryHueMidBrush is not from standard swatches"); + Swatch accentSwatch; + if (!swatchByAccentHueIndex.TryGetValue(accentBrush.Color, out accentSwatch)) + throw new InvalidOperationException("SecondaryAccentBrush is not from standard swatches"); + + var primaryLightBrush = GetBrush("PrimaryHueLightBrush"); + var primaryDarkBrush = GetBrush("PrimaryHueDarkBrush"); + + var primaryLightHueIndex = GetHueIndex(primarySwatch, primaryLightBrush.Color, false); + var primaryMidHueIndex = GetHueIndex(primarySwatch, primaryMidBrush.Color, false); + var primaryDarkHueIndex = GetHueIndex(primarySwatch, primaryDarkBrush.Color, false); + var accentHueIndex = GetHueIndex(accentSwatch, accentBrush.Color, true); + + return new Palette(primarySwatch, accentSwatch, primaryLightHueIndex, primaryMidHueIndex, primaryDarkHueIndex, accentHueIndex); + } + + private static void ReplacePrimaryColor(Swatch swatch, Hue light, Hue mid, Hue dark, IList<Hue> allHues) + { + foreach (var color in swatch.PrimaryHues) + { + ReplaceEntry(color.Name, color.Color); + ReplaceEntry(color.Name + "Foreground", color.Foreground); + } + + ReplaceEntry("PrimaryHueLightBrush", new SolidColorBrush(light.Color)); + ReplaceEntry("PrimaryHueLightForegroundBrush", new SolidColorBrush(light.Foreground)); + ReplaceEntry("PrimaryHueMidBrush", new SolidColorBrush(mid.Color)); + ReplaceEntry("PrimaryHueMidForegroundBrush", new SolidColorBrush(mid.Foreground)); + ReplaceEntry("PrimaryHueDarkBrush", new SolidColorBrush(dark.Color)); + ReplaceEntry("PrimaryHueDarkForegroundBrush", new SolidColorBrush(dark.Foreground)); + + //mahapps brushes + ReplaceEntry("HighlightBrush", new SolidColorBrush(dark.Color)); + ReplaceEntry("AccentColorBrush", new SolidColorBrush(dark.Color)); + ReplaceEntry("AccentColorBrush2", new SolidColorBrush(mid.Color)); + ReplaceEntry("AccentColorBrush3", new SolidColorBrush(light.Color)); + ReplaceEntry("AccentColorBrush4", new SolidColorBrush(light.Color) { Opacity = .82 }); + ReplaceEntry("WindowTitleColorBrush", new SolidColorBrush(dark.Color)); + ReplaceEntry("AccentSelectedColorBrush", new SolidColorBrush(dark.Foreground)); + ReplaceEntry("ProgressBrush", new LinearGradientBrush(dark.Color, mid.Color, 90.0)); + ReplaceEntry("CheckmarkFill", new SolidColorBrush(dark.Color)); + ReplaceEntry("RightArrowFill", new SolidColorBrush(dark.Color)); + ReplaceEntry("IdealForegroundColorBrush", new SolidColorBrush(dark.Foreground)); + ReplaceEntry("IdealForegroundDisabledBrush", new SolidColorBrush(dark.Color) { Opacity = .4 }); + } + + private static int GetHueIndex(Swatch swatch, Color color, bool isAccent) + { + var x = (isAccent ? swatch.AccentHues : swatch.PrimaryHues).Select((h, i) => new {h, i}) + .FirstOrDefault(a => a.h.Color == color); + if (x == null) + throw new InvalidOperationException($"Color {color} not found in swatch {swatch.Name}."); + return x.i; + } + + private static SolidColorBrush GetBrush(string name) + { + var group = GetTree(Application.Current.Resources) + .SelectMany(d => GetEntries(d).Select(e => new { d, e })) + .Where(a => a.e.Value is SolidColorBrush) + .GroupBy(a => (SolidColorBrush)a.e.Value) + .SingleOrDefault(g => g.First().e.Key.Equals(name)); + if (group == null) + throw new InvalidOperationException($"Unable to safely determine a single resource definition for {name}."); + var solidColorBrush = group.First().e.Value as SolidColorBrush; + if (solidColorBrush == null) + throw new InvalidOperationException($"Expected {name} to be a SolidColorBrush"); + + return solidColorBrush; + } + + + private static IEnumerable<DictionaryEntry> GetEntries(IDictionary dictionary) + { + var dictionaryEnumerator = dictionary.GetEnumerator(); + while (dictionaryEnumerator.MoveNext()) + { + yield return dictionaryEnumerator.Entry; + } + } + + private static IEnumerable<ResourceDictionary> GetTree(ResourceDictionary node) + { + yield return node; + + foreach (var descendant in node.MergedDictionaries.SelectMany(GetTree)) + { + yield return descendant; + } + } + + /// <summary> + /// Replaces a certain entry anywhere in the parent dictionary and its merged dictionaries + /// </summary> + /// <param name="entryName">The entry to replace</param> + /// <param name="newValue">The new entry value</param> + /// <param name="parentDictionary">The root dictionary to start searching at. Null means using Application.Current.Resources</param> + private static void ReplaceEntry(object entryName, object newValue, ResourceDictionary parentDictionary = null) + { + if (parentDictionary == null) + parentDictionary = Application.Current.Resources; + + if (parentDictionary.Contains(entryName)) + { + var brush = parentDictionary[entryName] as SolidColorBrush; + if (brush != null && !brush.IsFrozen) + { + var animation = new ColorAnimation + { + From = ((SolidColorBrush)parentDictionary[entryName]).Color, + To = ((SolidColorBrush)newValue).Color, + Duration = new Duration(TimeSpan.FromMilliseconds(300)) + }; + brush.BeginAnimation(SolidColorBrush.ColorProperty, animation); + } + else + parentDictionary[entryName] = newValue; //Set value normally + } + + foreach (var dictionary in parentDictionary.MergedDictionaries) + ReplaceEntry(entryName, newValue, dictionary); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Plane3D.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Plane3D.cs new file mode 100644 index 000000000..75e1787df --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Plane3D.cs @@ -0,0 +1,263 @@ +using System; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Media3D; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// View a control on a 3D plane. + /// </summary> + /// <remarks> + /// Taken from http://blogs.msdn.com/greg_schechter/archive/2007/10/26/enter-the-planerator-dead-simple-3d-in-wpf-with-a-stupid-name.aspx , Greg Schechter - Fall 2007 + /// </remarks> + [ContentProperty("Child")] + public class Plane3D : FrameworkElement + { + private FrameworkElement _logicalChild; + private FrameworkElement _visualChild; + private FrameworkElement _originalChild; + + private readonly QuaternionRotation3D _quaternionRotation = new QuaternionRotation3D(); + private readonly RotateTransform3D _rotationTransform = new RotateTransform3D(); + private Viewport3D _viewport3D; + private readonly ScaleTransform3D _scaleTransform = new ScaleTransform3D(); + + private static readonly Point3D[] Mesh = { new Point3D(0, 0, 0), new Point3D(0, 1, 0), new Point3D(1, 1, 0), new Point3D(1, 0, 0) }; + private static readonly Point[] TexCoords = { new Point(0, 1), new Point(0, 0), new Point(1, 0), new Point(1, 1) }; + private static readonly int[] Indices = { 0, 2, 1, 0, 3, 2 }; + private static readonly Vector3D XAxis = new Vector3D(1, 0, 0); + private static readonly Vector3D YAxis = new Vector3D(0, 1, 0); + private static readonly Vector3D ZAxis = new Vector3D(0, 0, 1); + + + public static readonly DependencyProperty RotationXProperty = + DependencyProperty.Register("RotationX", typeof(double), typeof(Plane3D), new UIPropertyMetadata(0.0, (d, args) => ((Plane3D)d).UpdateRotation())); + + public double RotationX + { + get { return (double)GetValue(RotationXProperty); } + set { SetValue(RotationXProperty, value); } + } + + public static readonly DependencyProperty RotationYProperty = + DependencyProperty.Register("RotationY", typeof(double), typeof(Plane3D), new UIPropertyMetadata(0.0, (d, args) => ((Plane3D)d).UpdateRotation())); + + public double RotationY + { + get { return (double)GetValue(RotationYProperty); } + set { SetValue(RotationYProperty, value); } + } + + public static readonly DependencyProperty RotationZProperty = + DependencyProperty.Register("RotationZ", typeof(double), typeof(Plane3D), new UIPropertyMetadata(0.0, (d, args) => ((Plane3D)d).UpdateRotation())); + + public double RotationZ + { + get { return (double)GetValue(RotationZProperty); } + set { SetValue(RotationZProperty, value); } + } + + public static readonly DependencyProperty FieldOfViewProperty = + DependencyProperty.Register("FieldOfView", typeof(double), typeof(Plane3D), new UIPropertyMetadata(45.0, (d, args) => ((Plane3D)d).Update3D(), + (d, val) => Math.Min(Math.Max((double)val, 0.5), 179.9))); // clamp to a meaningful range + + public double FieldOfView + { + get { return (double)GetValue(FieldOfViewProperty); } + set { SetValue(FieldOfViewProperty, value); } + } + + public static readonly DependencyProperty ZFactorProperty = DependencyProperty.Register( + "ZFactor", typeof(double), typeof(Plane3D), new UIPropertyMetadata(2.0, (d, args) => ((Plane3D)d).UpdateRotation())); + + public double ZFactor + { + get { return (double) GetValue(ZFactorProperty); } + set { SetValue(ZFactorProperty, value); } + } + + public FrameworkElement Child + { + get + { + return _originalChild; + } + set + { + if (Equals(_originalChild, value)) return; + RemoveVisualChild(_visualChild); + RemoveLogicalChild(_logicalChild); + + // Wrap child with special decorator that catches layout invalidations. + _originalChild = value; + _logicalChild = new LayoutInvalidationCatcher() { Child = _originalChild }; + _visualChild = CreateVisualChild(); + + AddVisualChild(_visualChild); + + // Need to use a logical child here to make sure databinding operations get down to it, + // since otherwise the child appears only as the Visual to a Viewport2DVisual3D, which + // doesn't have databinding operations pass into it from above. + AddLogicalChild(_logicalChild); + InvalidateMeasure(); + } + } + + protected override Size MeasureOverride(Size availableSize) + { + Size result; + if (_logicalChild != null) + { + // Measure based on the size of the logical child, since we want to align with it. + _logicalChild.Measure(availableSize); + result = _logicalChild.DesiredSize; + _visualChild.Measure(result); + } + else + { + result = new Size(0, 0); + } + return result; + } + + protected override Size ArrangeOverride(Size finalSize) + { + if (_logicalChild == null) return base.ArrangeOverride(finalSize); + _logicalChild.Arrange(new Rect(finalSize)); + _visualChild.Arrange(new Rect(finalSize)); + Update3D(); + return base.ArrangeOverride(finalSize); + } + + protected override Visual GetVisualChild(int index) + { + return _visualChild; + + } + + protected override int VisualChildrenCount => _visualChild == null ? 0 : 1; + + private FrameworkElement CreateVisualChild() + { + var simpleQuad = new MeshGeometry3D + { + Positions = new Point3DCollection(Mesh), + TextureCoordinates = new PointCollection(TexCoords), + TriangleIndices = new Int32Collection(Indices) + }; + + // Front material is interactive, back material is not. + Material frontMaterial = new DiffuseMaterial(Brushes.White); + frontMaterial.SetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty, true); + + var vb = new VisualBrush(_logicalChild); + SetCachingForObject(vb); // big perf wins by caching!! + Material backMaterial = new DiffuseMaterial(vb); + + _rotationTransform.Rotation = _quaternionRotation; + var xfGroup = new Transform3DGroup { Children = { _scaleTransform, _rotationTransform } }; + + var backModel = new GeometryModel3D { Geometry = simpleQuad, Transform = xfGroup, BackMaterial = backMaterial }; + var m3DGroup = new Model3DGroup + { + Children = { new DirectionalLight(Colors.White, new Vector3D(0, 0, -1)), + new DirectionalLight(Colors.White, new Vector3D(0.1, -0.1, 1)), + backModel } + }; + + // Non-interactive Visual3D consisting of the backside, and two lights. + var mv3D = new ModelVisual3D { Content = m3DGroup }; + + // Interactive frontside Visual3D + var frontModel = new Viewport2DVisual3D { Geometry = simpleQuad, Visual = _logicalChild, Material = frontMaterial, Transform = xfGroup }; + + // Cache the brush in the VP2V3 by setting caching on it. Big perf wins. + SetCachingForObject(frontModel); + + // Scene consists of both the above Visual3D's. + _viewport3D = new Viewport3D { ClipToBounds = false, Children = { mv3D, frontModel } }; + + UpdateRotation(); + + return _viewport3D; + } + + private void SetCachingForObject(DependencyObject d) + { + RenderOptions.SetCachingHint(d, CachingHint.Cache); + RenderOptions.SetCacheInvalidationThresholdMinimum(d, 0.5); + RenderOptions.SetCacheInvalidationThresholdMaximum(d, 2.0); + } + + private void UpdateRotation() + { + var qx = new Quaternion(XAxis, RotationX); + var qy = new Quaternion(YAxis, RotationY); + var qz = new Quaternion(ZAxis, RotationZ); + + _quaternionRotation.Quaternion = qx * qy * qz; + } + + private void Update3D() + { + // Use GetDescendantBounds for sizing and centering since DesiredSize includes layout whitespace, whereas GetDescendantBounds + // is tighter + var logicalBounds = VisualTreeHelper.GetDescendantBounds(_logicalChild); + var w = logicalBounds.Width; + var h = logicalBounds.Height; + + // Create a camera that looks down -Z, with up as Y, and positioned right halfway in X and Y on the element, + // and back along Z the right distance based on the field-of-view is the same projected size as the 2D content + // that it's looking at. See http://blogs.msdn.com/greg_schechter/archive/2007/04/03/camera-construction-in-parallaxui.aspx + // for derivation of this camera. + var fovInRadians = FieldOfView * (Math.PI / 180); + var zValue = w / Math.Tan(fovInRadians / 2) / ZFactor; + _viewport3D.Camera = new PerspectiveCamera(new Point3D(w / 2, h / 2, zValue), + -ZAxis, + YAxis, + FieldOfView); + + _scaleTransform.ScaleX = w; + _scaleTransform.ScaleY = h; + _rotationTransform.CenterX = w / 2; + _rotationTransform.CenterY = h / 2; + } + + #region Private Classes + + /// <summary> + /// Wrap this around a class that we want to catch the measure and arrange + /// processes occuring on, and propagate to the parent Planerator, if any. + /// Do this because layout invalidations don't flow up out of a + /// Viewport2DVisual3D object. + /// </summary> + private class LayoutInvalidationCatcher : Decorator + { + protected override Size MeasureOverride(Size constraint) + { + Plane3D pl = this.Parent as Plane3D; + if (pl != null) + { + pl.InvalidateMeasure(); + } + return base.MeasureOverride(constraint); + } + + protected override Size ArrangeOverride(Size arrangeSize) + { + Plane3D pl = this.Parent as Plane3D; + if (pl != null) + { + pl.InvalidateArrange(); + } + return base.ArrangeOverride(arrangeSize); + } + } + + #endregion + + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PopupBox.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PopupBox.cs new file mode 100644 index 000000000..fa4181562 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/PopupBox.cs @@ -0,0 +1,762 @@ +using ControlzEx; +using System; +using System.ComponentModel; +using System.Linq; +using System.Runtime.InteropServices; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Defines how the <see cref="PopupBox"/> popup is aligned to the toggle part of the control. + /// </summary> + public enum PopupBoxPlacementMode + { + /// <summary> + /// Display the popup below the toggle, and align the left edges.3 + /// </summary> + BottomAndAlignLeftEdges, + /// <summary> + /// Display the popup below the toggle, and align the right edges. + /// </summary> + BottomAndAlignRightEdges, + /// <summary> + /// Display the popup below the toggle, and align the center of the popup with the center of the toggle. + /// </summary> + BottomAndAlignCentres, + /// <summary> + /// Display the popup above the toggle, and align the left edges. + /// </summary> + TopAndAlignLeftEdges, + /// <summary> + /// Display the popup above the toggle, and align the right edges. + /// </summary> + TopAndAlignRightEdges, + /// <summary> + /// Display the popup above the toggle, and align the center of the popup with the center of the toggle. + /// </summary> + TopAndAlignCentres, + /// <summary> + /// Display the popup to the left of the toggle, and align the top edges. + /// </summary> + LeftAndAlignTopEdges, + /// <summary> + /// Display the popup to the left of the toggle, and align the bottom edges. + /// </summary> + LeftAndAlignBottomEdges, + /// <summary> + /// Display the popup to the left of the toggle, and align the middles. + /// </summary> + LeftAndAlignMiddles, + /// <summary> + /// Display the popup to the right of the toggle, and align the top edges. + /// </summary> + RightAndAlignTopEdges, + /// <summary> + /// Display the popup to the right of the toggle, and align the bottom edges. + /// </summary> + RightAndAlignBottomEdges, + /// <summary> + /// Display the popup to the right of the toggle, and align the middles. + /// </summary> + RightAndAlignMiddles, + } + + /// <summary> + /// Defines what causes the <see cref="PopupBox"/> to open it's popup. + /// </summary> + public enum PopupBoxPopupMode + { + /// <summary> + /// Open when the toggle button is clicked. + /// </summary> + Click, + /// <summary> + /// Open when the mouse goes over the toggle button. + /// </summary> + MouseOver, + /// <summary> + /// Open when the mouse goes over the toggle button, or the space in which the popup box would occupy should it be open. + /// </summary> + MouseOverEager + } + + /// <summary> + /// Popup box, similar to a <see cref="ComboBox"/>, but allows more customizable content. + /// </summary> + [TemplatePart(Name = PopupPartName, Type = typeof(Popup))] + [TemplatePart(Name = PopupContentControlPartName, Type = typeof(ContentControl))] + [TemplatePart(Name = TogglePartName, Type = typeof(ToggleButton))] + [TemplateVisualState(GroupName = "PopupStates", Name = PopupIsOpenStateName)] + [TemplateVisualState(GroupName = "PopupStates", Name = PopupIsClosedStateName)] + [ContentProperty("PopupContent")] + public class PopupBox : ContentControl + { + public const string PopupPartName = "PART_Popup"; + public const string TogglePartName = "PART_Toggle"; + public const string PopupContentControlPartName = "PART_PopupContentControl"; + public const string PopupIsOpenStateName = "IsOpen"; + public const string PopupIsClosedStateName = "IsClosed"; + private PopupEx _popup; + private ContentControl _popupContentControl; + private ToggleButton _toggleButton; + private Point _popupPointFromLastRequest; + private Point _lastRelativePositon; + + static PopupBox() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(PopupBox), new FrameworkPropertyMetadata(typeof(PopupBox))); + ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(PopupBox), new FrameworkPropertyMetadata(null, CoerceToolTipIsEnabled)); + EventManager.RegisterClassHandler(typeof(PopupBox), Mouse.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCapture)); + EventManager.RegisterClassHandler(typeof(PopupBox), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true); + } + + public PopupBox() + { + LayoutUpdated += OnLayoutUpdated; + } + + public static readonly DependencyProperty ToggleContentProperty = DependencyProperty.Register( + nameof(ToggleContent), typeof (object), typeof (PopupBox), new PropertyMetadata(default(object))); + + /// <summary> + /// Content to display in the toggle button. + /// </summary> + public object ToggleContent + { + get { return (object) GetValue(ToggleContentProperty); } + set { SetValue(ToggleContentProperty, value); } + } + + public static readonly DependencyProperty ToggleContentTemplateProperty = DependencyProperty.Register( + nameof(ToggleContentTemplate), typeof (DataTemplate), typeof (PopupBox), new PropertyMetadata(default(DataTemplate))); + + /// <summary> + /// Template for <see cref="ToggleContent"/>. + /// </summary> + public DataTemplate ToggleContentTemplate + { + get { return (DataTemplate) GetValue(ToggleContentTemplateProperty); } + set { SetValue(ToggleContentTemplateProperty, value); } + } + + public static readonly DependencyProperty ToggleCheckedContentProperty = DependencyProperty.Register( + nameof(ToggleCheckedContent), typeof (object), typeof (PopupBox), new PropertyMetadata(default(object))); + + /// <summary> + /// Content to display in the toggle when it's checked (when the popup is open). Optional; if not provided the <see cref="ToggleContent"/> is used. + /// </summary> + public object ToggleCheckedContent + { + get { return (object) GetValue(ToggleCheckedContentProperty); } + set { SetValue(ToggleCheckedContentProperty, value); } + } + + public static readonly DependencyProperty ToggleCheckedContentTemplateProperty = DependencyProperty.Register( + nameof(ToggleCheckedContentTemplate), typeof (DataTemplate), typeof (PopupBox), new PropertyMetadata(default(DataTemplate))); + + /// <summary> + /// Template for <see cref="ToggleCheckedContent"/>. + /// </summary> + public DataTemplate ToggleCheckedContentTemplate + { + get { return (DataTemplate) GetValue(ToggleCheckedContentTemplateProperty); } + set { SetValue(ToggleCheckedContentTemplateProperty, value); } + } + + public static readonly DependencyProperty ToggleCheckedContentCommandProperty = DependencyProperty.Register( + nameof(ToggleCheckedContentCommand), typeof (ICommand), typeof (PopupBox), new PropertyMetadata(default(ICommand))); + + /// <summary> + /// Command to execute if toggle is checked (popup is open) and <see cref="ToggleCheckedContent"/> is set. + /// </summary> + public ICommand ToggleCheckedContentCommand + { + get { return (ICommand) GetValue(ToggleCheckedContentCommandProperty); } + set { SetValue(ToggleCheckedContentCommandProperty, value); } + } + + public static readonly DependencyProperty ToggleCheckedContentCommandParameterProperty = DependencyProperty.Register( + nameof(ToggleCheckedContentCommandParameter), typeof (object), typeof (PopupBox), new PropertyMetadata(default(object))); + + /// <summary> + /// Command parameter to use in conjunction with <see cref="ToggleCheckedContentCommand"/>. + /// </summary> + public object ToggleCheckedContentCommandParameter + { + get { return (object) GetValue(ToggleCheckedContentCommandParameterProperty); } + set { SetValue(ToggleCheckedContentCommandParameterProperty, value); } + } + + public static readonly DependencyProperty PopupContentProperty = DependencyProperty.Register( + nameof(PopupContent), typeof (object), typeof (PopupBox), new PropertyMetadata(default(object))); + + /// <summary> + /// Content to display in the content. + /// </summary> + public object PopupContent + { + get { return (object) GetValue(PopupContentProperty); } + set { SetValue(PopupContentProperty, value); } + } + + public static readonly DependencyProperty PopupContentTemplateProperty = DependencyProperty.Register( + nameof(PopupContentTemplate), typeof (DataTemplate), typeof (PopupBox), new PropertyMetadata(default(DataTemplate))); + + /// <summary> + /// Popup content template. + /// </summary> + public DataTemplate PopupContentTemplate + { + get { return (DataTemplate) GetValue(PopupContentTemplateProperty); } + set { SetValue(PopupContentTemplateProperty, value); } + } + + public static readonly DependencyProperty IsPopupOpenProperty = DependencyProperty.Register( + nameof(IsPopupOpen), typeof (bool), typeof (PopupBox), new FrameworkPropertyMetadata(default(bool), IsPopupOpenPropertyChangedCallback)); + + private static void IsPopupOpenPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var popupBox = (PopupBox) dependencyObject; + var newValue = (bool)dependencyPropertyChangedEventArgs.NewValue; + if (popupBox.PopupMode == PopupBoxPopupMode.Click) + { + if (newValue) + Mouse.Capture(popupBox, CaptureMode.SubTree); + else + Mouse.Capture(null); + } + + popupBox.AnimateChildrenIn(!newValue); + popupBox._popup?.RefreshPosition(); + + VisualStateManager.GoToState(popupBox, newValue ? PopupIsOpenStateName : PopupIsClosedStateName, true); + + if (newValue) + popupBox.OnOpened(); + else + popupBox.OnClosed(); + } + + /// <summary> + /// Gets or sets whether the popup is currently open. + /// </summary> + public bool IsPopupOpen + { + get { return (bool) GetValue(IsPopupOpenProperty); } + set { SetValue(IsPopupOpenProperty, value); } + } + + public static readonly DependencyProperty StaysOpenProperty = DependencyProperty.Register( + nameof(StaysOpen), typeof (bool), typeof (PopupBox), new PropertyMetadata(default(bool))); + + /// <summary> + /// Indicates of the popup should stay open if a click occurs inside the popup. + /// </summary> + public bool StaysOpen + { + get { return (bool) GetValue(StaysOpenProperty); } + set { SetValue(StaysOpenProperty, value); } + } + + public static readonly DependencyProperty PlacementModeProperty = DependencyProperty.Register( + nameof(PlacementMode), typeof (PopupBoxPlacementMode), typeof (PopupBox), new PropertyMetadata(default(PopupBoxPlacementMode), PlacementModePropertyChangedCallback)); + + private static void PlacementModePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((PopupBox)dependencyObject)._popup?.RefreshPosition(); + } + + /// <summary> + /// Gets or sets how the popup is aligned in relation to the toggle. + /// </summary> + public PopupBoxPlacementMode PlacementMode + { + get { return (PopupBoxPlacementMode) GetValue(PlacementModeProperty); } + set { SetValue(PlacementModeProperty, value); } + } + + public static readonly DependencyProperty PopupModeProperty = DependencyProperty.Register( + nameof(PopupMode), typeof (PopupBoxPopupMode), typeof (PopupBox), new PropertyMetadata(default(PopupBoxPopupMode))); + + /// <summary> + /// Gets or sets what trigger causes the popup to open. + /// </summary> + public PopupBoxPopupMode PopupMode + { + get { return (PopupBoxPopupMode) GetValue(PopupModeProperty); } + set { SetValue(PopupModeProperty, value); } + } + + /// <summary> + /// Get or sets how to unfurl controls when opening the popups. Only child elements of type <see cref="ButtonBase"/> are animated. + /// </summary> + public static readonly DependencyProperty UnfurlOrientationProperty = DependencyProperty.Register( + nameof(UnfurlOrientation), typeof (Orientation), typeof (PopupBox), new PropertyMetadata(Orientation.Vertical)); + + /// <summary> + /// Gets or sets how to unfurl controls when opening the popups. Only child elements of type <see cref="ButtonBase"/> are animated. + /// </summary> + public Orientation UnfurlOrientation + { + get { return (Orientation) GetValue(UnfurlOrientationProperty); } + set { SetValue(UnfurlOrientationProperty, value); } + } + + /// <summary> + /// Framework use. Provides the method used to position the popup. + /// </summary> + public CustomPopupPlacementCallback PopupPlacementMethod => GetPopupPlacement; + + /// <summary> + /// Event raised when the checked toggled content (if set) is clicked. + /// </summary> + public static readonly RoutedEvent ToggleCheckedContentClickEvent = EventManager.RegisterRoutedEvent("ToggleCheckedContentClick", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(PopupBox)); + + /// <summary> + /// Event raised when the checked toggled content (if set) is clicked. + /// </summary> + [Category("Behavior")] + public event RoutedEventHandler ToggleCheckedContentClick { add { AddHandler(ToggleCheckedContentClickEvent, value); } remove { RemoveHandler(ToggleCheckedContentClickEvent, value); } } + + /// <summary> + /// Raises <see cref="ToggleCheckedContentClickEvent"/>. + /// </summary> + protected virtual void OnToggleCheckedContentClick() + { + var newEvent = new RoutedEventArgs(ToggleCheckedContentClickEvent, this); + RaiseEvent(newEvent); + } + + public static readonly RoutedEvent OpenedEvent = + EventManager.RegisterRoutedEvent( + "Opened", + RoutingStrategy.Bubble, + typeof(EventHandler), + typeof(PopupBox)); + + /// <summary> + /// Raised when the popup is opened. + /// </summary> + public event RoutedEventHandler Opened + { + add { AddHandler(OpenedEvent, value); } + remove { RemoveHandler(OpenedEvent, value); } + } + + /// <summary> + /// Raises <see cref="OpenedEvent"/>. + /// </summary> + protected virtual void OnOpened() + { + var newEvent = new RoutedEventArgs(OpenedEvent, this); + RaiseEvent(newEvent); + } + + public static readonly RoutedEvent ClosedEvent = + EventManager.RegisterRoutedEvent( + "Closed", + RoutingStrategy.Bubble, + typeof(EventHandler), + typeof(PopupBox)); + + /// <summary> + /// Raised when the popup is opened. + /// </summary> + public event RoutedEventHandler Closed + { + add { AddHandler(ClosedEvent, value); } + remove { RemoveHandler(ClosedEvent, value); } + } + + /// <summary> + /// Raises <see cref="ClosedEvent"/>. + /// </summary> + protected virtual void OnClosed() + { + var newEvent = new RoutedEventArgs(ClosedEvent, this); + RaiseEvent(newEvent); + } + + public override void OnApplyTemplate() + { + if (_popup != null) + _popup.Loaded -= PopupOnLoaded; + if (_toggleButton != null) + _toggleButton.PreviewMouseLeftButtonUp -= ToggleButtonOnPreviewMouseLeftButtonUp; + + base.OnApplyTemplate(); + + _popup = GetTemplateChild(PopupPartName) as PopupEx; + _popupContentControl = GetTemplateChild(PopupContentControlPartName) as ContentControl; + _toggleButton = GetTemplateChild(TogglePartName) as ToggleButton; + + if (_popup != null) + _popup.Loaded += PopupOnLoaded; + if (_toggleButton != null) + _toggleButton.PreviewMouseLeftButtonUp += ToggleButtonOnPreviewMouseLeftButtonUp; + + VisualStateManager.GoToState(this, IsPopupOpen ? PopupIsOpenStateName : PopupIsClosedStateName, false); + } + + protected override void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e) + { + base.OnIsKeyboardFocusWithinChanged(e); + + if (IsPopupOpen && !IsKeyboardFocusWithin) + { + Close(); + } + } + + protected override void OnMouseEnter(MouseEventArgs e) + { + if (IsEnabled && IsLoaded && + (PopupMode == PopupBoxPopupMode.MouseOverEager + || PopupMode == PopupBoxPopupMode.MouseOver)) + { + if (_popupContentControl != null) + { + //if the invisible popup that is watching the mouse, isn't where we expected it to be + //then the main popup toggle has been moved off screen...so we shouldn't show the popup content + var inputSource = PresentationSource.FromVisual(_popupContentControl); + if (inputSource != null) + { + var popupScreenPoint = _popupContentControl.PointToScreen(new Point()); + popupScreenPoint.Offset(-_popupContentControl.Margin.Left, -_popupContentControl.Margin.Top); + var expectedPopupScreenPoint = PointToScreen(_popupPointFromLastRequest); + + if (Math.Abs(popupScreenPoint.X - expectedPopupScreenPoint.X) > ActualWidth/3 + || + Math.Abs(popupScreenPoint.Y - expectedPopupScreenPoint.Y) > ActualHeight/3) + return; + } + } + + SetCurrentValue(IsPopupOpenProperty, true); + } + base.OnMouseEnter(e); + } + + private void OnLayoutUpdated(object sender, EventArgs eventArgs) + { + if (_popupContentControl != null && _popup != null && + (PopupMode == PopupBoxPopupMode.MouseOver || PopupMode == PopupBoxPopupMode.MouseOverEager)) + { + Point relativePosition = _popupContentControl.TranslatePoint(new Point(), this); + if (relativePosition != _lastRelativePositon) + { + _popup.RefreshPosition(); + _lastRelativePositon = _popupContentControl.TranslatePoint(new Point(), this); + } + } + } + + protected override void OnMouseLeave(MouseEventArgs e) + { + if (PopupMode == PopupBoxPopupMode.MouseOverEager + || PopupMode == PopupBoxPopupMode.MouseOver) + + Close(); + + base.OnMouseEnter(e); + } + + protected void Close() + { + if (IsPopupOpen) + SetCurrentValue(IsPopupOpenProperty, false); + } + + private CustomPopupPlacement[] GetPopupPlacement(Size popupSize, Size targetSize, Point offset) + { + double x, y; + + if (FlowDirection == FlowDirection.RightToLeft) + offset.X += targetSize.Width / 2; + + switch (PlacementMode) + { + case PopupBoxPlacementMode.BottomAndAlignLeftEdges: + x = 0 - Math.Abs(offset.X*3); + y = targetSize.Height - Math.Abs(offset.Y); + break; + case PopupBoxPlacementMode.BottomAndAlignRightEdges: + x = 0 - popupSize.Width + targetSize.Width - offset.X; + y = targetSize.Height - Math.Abs(offset.Y); + break; + case PopupBoxPlacementMode.BottomAndAlignCentres: + x = targetSize.Width/2 - popupSize.Width/2 - Math.Abs(offset.X*2); + y = targetSize.Height - Math.Abs(offset.Y); + break; + case PopupBoxPlacementMode.TopAndAlignLeftEdges: + x = 0 - Math.Abs(offset.X * 3); + y = 0 - popupSize.Height - Math.Abs(offset.Y*2); + break; + case PopupBoxPlacementMode.TopAndAlignRightEdges: + x = 0 - popupSize.Width + targetSize.Width - offset.X; + y = 0 - popupSize.Height - Math.Abs(offset.Y * 2); + break; + case PopupBoxPlacementMode.TopAndAlignCentres: + x = targetSize.Width/2 - popupSize.Width/2 - Math.Abs(offset.X*2); + y = 0 - popupSize.Height - Math.Abs(offset.Y * 2); + break; + case PopupBoxPlacementMode.LeftAndAlignTopEdges: + x = 0 - popupSize.Width - Math.Abs(offset.X * 2); + y = 0 - Math.Abs(offset.Y * 3); + break; + case PopupBoxPlacementMode.LeftAndAlignBottomEdges: + x = 0 - popupSize.Width - Math.Abs(offset.X * 2); + y = 0 - (popupSize.Height - targetSize.Height); + break; + case PopupBoxPlacementMode.LeftAndAlignMiddles: + x = 0 - popupSize.Width - Math.Abs(offset.X * 2); + y = targetSize.Height / 2 - popupSize.Height / 2 - Math.Abs(offset.Y * 2); + break; + case PopupBoxPlacementMode.RightAndAlignTopEdges: + x = targetSize.Width; + y = 0 - Math.Abs(offset.X * 3); + break; + case PopupBoxPlacementMode.RightAndAlignBottomEdges: + x = targetSize.Width; + y = 0 - (popupSize.Height - targetSize.Height); + break; + case PopupBoxPlacementMode.RightAndAlignMiddles: + x = targetSize.Width; + y = targetSize.Height / 2 - popupSize.Height / 2 - Math.Abs(offset.Y * 2); + break; + default: + throw new ArgumentOutOfRangeException(); + } + + _popupPointFromLastRequest = new Point(x, y); + return new[] {new CustomPopupPlacement(_popupPointFromLastRequest, PopupPrimaryAxis.Horizontal)}; + } + + private void AnimateChildrenIn(bool reverse) + { + if (_popupContentControl == null) return; + if (VisualTreeHelper.GetChildrenCount(_popupContentControl) != 1) return; + var contentPresenter = VisualTreeHelper.GetChild(_popupContentControl, 0) as ContentPresenter; + + var controls = contentPresenter.VisualDepthFirstTraversal().OfType<ButtonBase>(); + double translateCoordinateFrom; + if ((PlacementMode == PopupBoxPlacementMode.TopAndAlignCentres + || PlacementMode == PopupBoxPlacementMode.TopAndAlignLeftEdges + || PlacementMode == PopupBoxPlacementMode.TopAndAlignRightEdges + || PlacementMode == PopupBoxPlacementMode.LeftAndAlignBottomEdges + || PlacementMode == PopupBoxPlacementMode.RightAndAlignBottomEdges + || (UnfurlOrientation == Orientation.Horizontal && + ( + PlacementMode == PopupBoxPlacementMode.LeftAndAlignBottomEdges + || PlacementMode == PopupBoxPlacementMode.LeftAndAlignMiddles + || PlacementMode == PopupBoxPlacementMode.LeftAndAlignTopEdges + )) + )) + { + controls = controls.Reverse(); + translateCoordinateFrom = 80; + } + else + translateCoordinateFrom = -80; + + var translateCoordinatePath = + "(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform." + + (UnfurlOrientation == Orientation.Horizontal ? "X)" : "Y)"); + + var sineEase = new SineEase(); + + var i = 0; + foreach (var uiElement in controls) + { + var deferredStart = i++*20; + var deferredEnd = deferredStart+200.0; + + var absoluteZeroKeyTime = KeyTime.FromPercent(0.0); + var deferredStartKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(deferredStart)); + var deferredEndKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(deferredEnd)); + + var elementTranslateCoordinateFrom = translateCoordinateFrom * i; + var translateTransform = new TranslateTransform( + UnfurlOrientation == Orientation.Vertical ? 0 : elementTranslateCoordinateFrom, + UnfurlOrientation == Orientation.Vertical ? elementTranslateCoordinateFrom : 0); + + var transformGroup = new TransformGroup + { + Children = new TransformCollection(new Transform[] + { + new ScaleTransform(0, 0), + translateTransform + }) + }; + uiElement.SetCurrentValue(RenderTransformOriginProperty, new Point(.5, .5)); + uiElement.RenderTransform = transformGroup; + + var opacityAnimation = new DoubleAnimationUsingKeyFrames(); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, absoluteZeroKeyTime, sineEase)); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, deferredStartKeyTime, sineEase)); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame((double)uiElement.GetAnimationBaseValue(OpacityProperty), deferredEndKeyTime, sineEase)); + Storyboard.SetTargetProperty(opacityAnimation, new PropertyPath("Opacity")); + Storyboard.SetTarget(opacityAnimation, uiElement); + + var scaleXAnimation = new DoubleAnimationUsingKeyFrames(); + scaleXAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, absoluteZeroKeyTime, sineEase)); + scaleXAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, deferredStartKeyTime, sineEase)); + scaleXAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, deferredEndKeyTime, sineEase)); + Storyboard.SetTargetProperty(scaleXAnimation, new PropertyPath("(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)")); + Storyboard.SetTarget(scaleXAnimation, uiElement); + + var scaleYAnimation = new DoubleAnimationUsingKeyFrames(); + scaleYAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, absoluteZeroKeyTime, sineEase)); + scaleYAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, deferredStartKeyTime, sineEase)); + scaleYAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, deferredEndKeyTime, sineEase)); + Storyboard.SetTargetProperty(scaleYAnimation, new PropertyPath("(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)")); + Storyboard.SetTarget(scaleYAnimation, uiElement); + + var translateCoordinateAnimation = new DoubleAnimationUsingKeyFrames(); + translateCoordinateAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(elementTranslateCoordinateFrom, absoluteZeroKeyTime, sineEase)); + translateCoordinateAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(elementTranslateCoordinateFrom, deferredStartKeyTime, sineEase)); + translateCoordinateAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, deferredEndKeyTime, sineEase)); + + Storyboard.SetTargetProperty(translateCoordinateAnimation, new PropertyPath(translateCoordinatePath)); + Storyboard.SetTarget(translateCoordinateAnimation, uiElement); + + var storyboard = new Storyboard(); + + storyboard.Children.Add(opacityAnimation); + storyboard.Children.Add(scaleXAnimation); + storyboard.Children.Add(scaleYAnimation); + storyboard.Children.Add(translateCoordinateAnimation); + + if (reverse) + { + storyboard.AutoReverse = true; + storyboard.Begin(); + storyboard.Seek(TimeSpan.FromMilliseconds(deferredEnd)); + storyboard.Resume(); + } + else + storyboard.Begin(); + } + } + + #region Capture + + [DllImport("user32.dll", CharSet = CharSet.Auto)] + private static extern IntPtr GetCapture(); + + private static void OnLostMouseCapture(object sender, MouseEventArgs e) + { + var popupBox = (PopupBox) sender; + + if (Equals(Mouse.Captured, popupBox)) return; + + if (Equals(e.OriginalSource, popupBox)) + { + if (Mouse.Captured == null || popupBox._popup == null) + { + if (!(Mouse.Captured as DependencyObject).IsDescendantOf(popupBox._popup)) + { + popupBox.Close(); + } + } + } + else + { + if ((Mouse.Captured as DependencyObject).GetVisualAncestry().Contains(popupBox._popup.Child)) + { + // Take capture if one of our children gave up capture (by closing their drop down) + if (!popupBox.IsPopupOpen || Mouse.Captured != null || GetCapture() != IntPtr.Zero) return; + + Mouse.Capture(popupBox, CaptureMode.SubTree); + e.Handled = true; + } + else + { + if (popupBox.StaysOpen && popupBox.IsPopupOpen) + { + // allow scrolling + if (GetCapture() != IntPtr.Zero) return; + + // Take capture back because click happend outside of control + Mouse.Capture(popupBox, CaptureMode.SubTree); + e.Handled = true; + } + else + { + popupBox.Close(); + } + } + } + } + + private static void OnMouseButtonDown(object sender, MouseButtonEventArgs e) + { + var popupBox = (PopupBox) sender; + + if (!popupBox.IsKeyboardFocusWithin) + { + popupBox.Focus(); + } + + e.Handled = true; + + if (Mouse.Captured == popupBox && e.OriginalSource == popupBox) + { + popupBox.Close(); + } + } + + protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e) + { + if (IsPopupOpen && !StaysOpen) + { + Close(); + e.Handled = true; + } + else + base.OnMouseLeftButtonUp(e); + } + + #endregion + + private void PopupOnLoaded(object sender, RoutedEventArgs routedEventArgs) + { + if (PopupMode == PopupBoxPopupMode.MouseOverEager) + _popup.IsOpen = true; + } + + private void ToggleButtonOnPreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs mouseButtonEventArgs) + { + if (PopupMode == PopupBoxPopupMode.Click || !IsPopupOpen) return; + + if (ToggleCheckedContent != null) + { + OnToggleCheckedContentClick(); + + if (ToggleCheckedContentCommand != null + && ToggleCheckedContentCommand.CanExecute(ToggleCheckedContentCommandParameter) + ) + { + ToggleCheckedContentCommand.Execute(ToggleCheckedContentCommandParameter); + } + } + + Close(); + Mouse.Capture(null); + mouseButtonEventArgs.Handled = true; + } + + private static object CoerceToolTipIsEnabled(DependencyObject dependencyObject, object value) + { + var popupBox = (PopupBox) dependencyObject; + return popupBox.IsPopupOpen ? false : value; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..072ba5e60 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs @@ -0,0 +1,58 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; +using System.Windows.Markup; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MaterialDesignThemes.Wpf")] +[assembly: AssemblyDescription("Material Design in XAML Toolkit - WPF Themes")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Mulholland Software/James Willock")] +[assembly: AssemblyProduct("MaterialDesignColors.Wpf")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: XmlnsPrefix("http://materialdesigninxaml.net/winfx/xaml/themes", "materialDesign")] +[assembly: XmlnsDefinition("http://materialdesigninxaml.net/winfx/xaml/themes", "MaterialDesignThemes.Wpf")] +[assembly: XmlnsDefinition("http://materialdesigninxaml.net/winfx/xaml/themes", "MaterialDesignThemes.Wpf.Transitions")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file +//inside a <PropertyGroup>. For example, if you are using US english +//in your source files, set the <UICulture> to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly:ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.2.0.*")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Resources.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Resources.Designer.cs new file mode 100644 index 000000000..b1473c5d6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignThemes.Wpf.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MaterialDesignThemes.Wpf.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Resources.resx b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Settings.Designer.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Settings.Designer.cs new file mode 100644 index 000000000..751b641df --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MaterialDesignThemes.Wpf.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Settings.settings b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RatingBar.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RatingBar.cs new file mode 100644 index 000000000..e141f7007 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RatingBar.cs @@ -0,0 +1,149 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Input; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// A custom control implementing a rating bar. + /// The icon aka content may be set as a DataTemplate via the ButtonContentTemplate property. + /// </summary> + public class RatingBar : Control + { + public static RoutedCommand SelectRatingCommand = new RoutedCommand(); + + static RatingBar() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(RatingBar), new FrameworkPropertyMetadata(typeof(RatingBar))); + } + + private readonly ObservableCollection<RatingBarButton> _ratingButtonsInternal = new ObservableCollection<RatingBarButton>(); + private readonly ReadOnlyObservableCollection<RatingBarButton> _ratingButtons; + + public RatingBar() + { + CommandBindings.Add(new CommandBinding(SelectRatingCommand, SelectItemHandler)); + _ratingButtons = new ReadOnlyObservableCollection<RatingBarButton>(_ratingButtonsInternal); + } + + private void SelectItemHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (executedRoutedEventArgs.Parameter is int) + Value = (int) executedRoutedEventArgs.Parameter; + } + + public static readonly DependencyProperty MinProperty = DependencyProperty.Register( + nameof(Min), typeof (int), typeof (RatingBar), new PropertyMetadata(1, MinPropertyChangedCallback)); + + public int Min + { + get { return (int) GetValue(MinProperty); } + set { SetValue(MinProperty, value); } + } + + public static readonly DependencyProperty MaxProperty = DependencyProperty.Register( + nameof(Max), typeof (int), typeof (RatingBar), new PropertyMetadata(5, MaxPropertyChangedCallback)); + + public int Max + { + get { return (int) GetValue(MaxProperty); } + set { SetValue(MaxProperty, value); } + } + + public static readonly DependencyProperty ValueProperty = DependencyProperty.Register( + nameof(Value), typeof (int), typeof (RatingBar), new PropertyMetadata(0, ValuePropertyChangedCallback)); + + private static void ValuePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + foreach (var button in ((RatingBar) dependencyObject).RatingButtons) + button.IsWithinSelectedValue = button.Value <= (int)dependencyPropertyChangedEventArgs.NewValue; + } + + public int Value + { + get { return (int) GetValue(ValueProperty); } + set { SetValue(ValueProperty, value); } + } + + public ReadOnlyObservableCollection<RatingBarButton> RatingButtons => _ratingButtons; + + public static readonly DependencyProperty ValueItemContainerButtonStyleProperty = DependencyProperty.Register( + nameof(ValueItemContainerButtonStyle), typeof (Style), typeof (RatingBar), new PropertyMetadata(default(Style))); + + public Style ValueItemContainerButtonStyle + { + get { return (Style) GetValue(ValueItemContainerButtonStyleProperty); } + set { SetValue(ValueItemContainerButtonStyleProperty, value); } + } + + public static readonly DependencyProperty ValueItemTemplateProperty = DependencyProperty.Register( + nameof(ValueItemTemplate), typeof (DataTemplate), typeof (RatingBar), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate ValueItemTemplate + { + get { return (DataTemplate) GetValue(ValueItemTemplateProperty); } + set { SetValue(ValueItemTemplateProperty, value); } + } + + public static readonly DependencyProperty ValueItemTemplateSelectorProperty = DependencyProperty.Register( + nameof(ValueItemTemplateSelector), typeof (DataTemplateSelector), typeof (RatingBar), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector ValueItemTemplateSelector + { + get { return (DataTemplateSelector) GetValue(ValueItemTemplateSelectorProperty); } + set { SetValue(ValueItemTemplateSelectorProperty, value); } + } + + public static readonly DependencyProperty OrientationProperty = DependencyProperty.Register( + nameof(Orientation), typeof (Orientation), typeof (RatingBar), new PropertyMetadata(default(Orientation))); + + public Orientation Orientation + { + get { return (Orientation) GetValue(OrientationProperty); } + set { SetValue(OrientationProperty, value); } + } + + private static void MaxPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((RatingBar)dependencyObject).RebuildButtons(); + } + + private static void MinPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((RatingBar)dependencyObject).RebuildButtons(); + } + + private void RebuildButtons() + { + _ratingButtonsInternal.Clear(); + for (var i = Min; i <= Max; i++) + { + _ratingButtonsInternal.Add(new RatingBarButton + { + Content = i, + ContentTemplate = ValueItemTemplate, + ContentTemplateSelector = ValueItemTemplateSelector, + IsWithinSelectedValue = i <= Value, + Style = ValueItemContainerButtonStyle, + Value = i, + }); + } + } + + public override void OnApplyTemplate() + { + RebuildButtons(); + + base.OnApplyTemplate(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RatingBarButton.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RatingBarButton.cs new file mode 100644 index 000000000..73b0a38a2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RatingBarButton.cs @@ -0,0 +1,41 @@ +using System.Windows; +using System.Windows.Controls.Primitives; + +namespace MaterialDesignThemes.Wpf +{ + public class RatingBarButton : ButtonBase + { + static RatingBarButton() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(RatingBarButton), new FrameworkPropertyMetadata(typeof(RatingBarButton))); + } + + private static readonly DependencyPropertyKey ValuePropertyKey = + DependencyProperty.RegisterReadOnly( + "Value", typeof (int), typeof (RatingBarButton), + new PropertyMetadata(default(int))); + + public static readonly DependencyProperty ValueProperty = + ValuePropertyKey.DependencyProperty; + + public int Value + { + get { return (int) GetValue(ValueProperty); } + internal set { SetValue(ValuePropertyKey, value); } + } + + private static readonly DependencyPropertyKey IsWithinValuePropertyKey = + DependencyProperty.RegisterReadOnly( + "IsWithinSelectedValue", typeof (bool), typeof (RatingBarButton), + new PropertyMetadata(default(bool))); + + public static readonly DependencyProperty IsWithinSelectedValueProperty = + IsWithinValuePropertyKey.DependencyProperty; + + public bool IsWithinSelectedValue + { + get { return (bool) GetValue(IsWithinSelectedValueProperty); } + internal set { SetValue(IsWithinValuePropertyKey, value); } + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Black.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Black.ttf Binary files differnew file mode 100644 index 000000000..fbde625d4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Black.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-BlackItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-BlackItalic.ttf Binary files differnew file mode 100644 index 000000000..60f7782a2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-BlackItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Bold.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Bold.ttf Binary files differnew file mode 100644 index 000000000..a355c27cd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Bold.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-BoldItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-BoldItalic.ttf Binary files differnew file mode 100644 index 000000000..3c9a7a373 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-BoldItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Italic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Italic.ttf Binary files differnew file mode 100644 index 000000000..ff6046d5b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Italic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Light.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Light.ttf Binary files differnew file mode 100644 index 000000000..94c6bcc67 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Light.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-LightItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-LightItalic.ttf Binary files differnew file mode 100644 index 000000000..04cc00230 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-LightItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Medium.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Medium.ttf Binary files differnew file mode 100644 index 000000000..39c63d746 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Medium.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-MediumItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-MediumItalic.ttf Binary files differnew file mode 100644 index 000000000..dc743f0a6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-MediumItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Regular.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Regular.ttf Binary files differnew file mode 100644 index 000000000..8c082c8de --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Regular.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Thin.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Thin.ttf Binary files differnew file mode 100644 index 000000000..d69555029 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-Thin.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-ThinItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-ThinItalic.ttf Binary files differnew file mode 100644 index 000000000..07172ff66 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/Roboto-ThinItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Bold.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Bold.ttf Binary files differnew file mode 100644 index 000000000..fc28868a8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Bold.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-BoldItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-BoldItalic.ttf Binary files differnew file mode 100644 index 000000000..e1a648fff --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-BoldItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Italic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Italic.ttf Binary files differnew file mode 100644 index 000000000..97ff9f1ed --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Italic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Light.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Light.ttf Binary files differnew file mode 100644 index 000000000..2dae31e28 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Light.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-LightItalic.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-LightItalic.ttf Binary files differnew file mode 100644 index 000000000..da108d3aa --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-LightItalic.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Regular.ttf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Regular.ttf Binary files differnew file mode 100644 index 000000000..c2304c14a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Resources/Roboto/RobotoCondensed-Regular.ttf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Ripple.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Ripple.cs new file mode 100644 index 000000000..9eba9a56e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Ripple.cs @@ -0,0 +1,220 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf +{ + [TemplateVisualState(GroupName = "CommonStates", Name = TemplateStateNormal)] + [TemplateVisualState(GroupName = "CommonStates", Name = TemplateStateMousePressed)] + [TemplateVisualState(GroupName = "CommonStates", Name = TemplateStateMouseOut)] + public class Ripple : ContentControl + { + public const string TemplateStateNormal = "Normal"; + public const string TemplateStateMousePressed = "MousePressed"; + public const string TemplateStateMouseOut = "MouseOut"; + + private static readonly HashSet<Ripple> PressedInstances = new HashSet<Ripple>(); + + static Ripple() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Ripple), new FrameworkPropertyMetadata(typeof(Ripple))); + + EventManager.RegisterClassHandler(typeof(ContentControl), Mouse.PreviewMouseUpEvent, new MouseButtonEventHandler(MouseButtonEventHandler), true); + EventManager.RegisterClassHandler(typeof(ContentControl), Mouse.MouseMoveEvent, new MouseEventHandler(MouseMouveEventHandler), true); + EventManager.RegisterClassHandler(typeof(Popup), Mouse.PreviewMouseUpEvent, new MouseButtonEventHandler(MouseButtonEventHandler), true); + EventManager.RegisterClassHandler(typeof(Popup), Mouse.MouseMoveEvent, new MouseEventHandler(MouseMouveEventHandler), true); + } + + public Ripple() + { + SizeChanged += OnSizeChanged; + } + + private static void MouseButtonEventHandler(object sender, MouseButtonEventArgs e) + { + foreach (var ripple in PressedInstances) + { + // adjust the transition scale time according to the current animated scale + var scaleTrans = ripple.Template.FindName("ScaleTransform", ripple) as ScaleTransform; + if (scaleTrans != null) + { + double currentScale = scaleTrans.ScaleX; + var newTime = TimeSpan.FromMilliseconds(300 * (1.0 - currentScale)); + + // change the scale animation according to the current scale + var scaleXKeyFrame = ripple.Template.FindName("MousePressedToNormalScaleXKeyFrame", ripple) as EasingDoubleKeyFrame; + if (scaleXKeyFrame != null) + { + scaleXKeyFrame.KeyTime = KeyTime.FromTimeSpan(newTime); + } + var scaleYKeyFrame = ripple.Template.FindName("MousePressedToNormalScaleYKeyFrame", ripple) as EasingDoubleKeyFrame; + if (scaleYKeyFrame != null) { + scaleYKeyFrame.KeyTime = KeyTime.FromTimeSpan(newTime); + } + } + + VisualStateManager.GoToState(ripple, TemplateStateNormal, true); + } + PressedInstances.Clear(); + } + + private static void MouseMouveEventHandler(object sender, MouseEventArgs e) + { + foreach (var ripple in PressedInstances.ToList()) + { + var relativePosition = Mouse.GetPosition(ripple); + if (relativePosition.X < 0 + || relativePosition.Y < 0 + || relativePosition.X >= ripple.ActualWidth + || relativePosition.Y >= ripple.ActualHeight) + + { + VisualStateManager.GoToState(ripple, TemplateStateMouseOut, true); + PressedInstances.Remove(ripple); + } + } + } + + public static readonly DependencyProperty FeedbackProperty = DependencyProperty.Register( + nameof(Feedback), typeof(Brush), typeof(Ripple), new PropertyMetadata(default(Brush))); + + public Brush Feedback + { + get { return (Brush)GetValue(FeedbackProperty); } + set { SetValue(FeedbackProperty, value); } + } + + protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e) + { + var point = e.GetPosition(this); + + if (RippleAssist.GetIsCentered(this)) + { + var innerContent = (Content as FrameworkElement); + + if (innerContent != null) + { + var position = innerContent.TransformToAncestor(this) + .Transform(new Point(0, 0)); + + RippleX = position.X + innerContent.ActualWidth / 2 - RippleSize / 2; + RippleY = position.Y + innerContent.ActualHeight / 2 - RippleSize / 2; + } + else + { + RippleX = ActualWidth / 2 - RippleSize / 2; + RippleY = ActualHeight / 2 - RippleSize / 2; + } + } + else + { + RippleX = point.X - RippleSize / 2; + RippleY = point.Y - RippleSize / 2; + } + + if (!RippleAssist.GetIsDisabled(this)) + { + VisualStateManager.GoToState(this, TemplateStateNormal, false); + VisualStateManager.GoToState(this, TemplateStateMousePressed, true); + PressedInstances.Add(this); + } + + base.OnPreviewMouseLeftButtonDown(e); + } + + private static readonly DependencyPropertyKey RippleSizePropertyKey = + DependencyProperty.RegisterReadOnly( + "RippleSize", typeof(double), typeof(Ripple), + new PropertyMetadata(default(double))); + + public static readonly DependencyProperty RippleSizeProperty = + RippleSizePropertyKey.DependencyProperty; + + public double RippleSize + { + get { return (double)GetValue(RippleSizeProperty); } + private set { SetValue(RippleSizePropertyKey, value); } + } + + private static readonly DependencyPropertyKey RippleXPropertyKey = + DependencyProperty.RegisterReadOnly( + "RippleX", typeof(double), typeof(Ripple), + new PropertyMetadata(default(double))); + + public static readonly DependencyProperty RippleXProperty = + RippleXPropertyKey.DependencyProperty; + + public double RippleX + { + get { return (double)GetValue(RippleXProperty); } + private set { SetValue(RippleXPropertyKey, value); } + } + + private static readonly DependencyPropertyKey RippleYPropertyKey = + DependencyProperty.RegisterReadOnly( + "RippleY", typeof(double), typeof(Ripple), + new PropertyMetadata(default(double))); + + public static readonly DependencyProperty RippleYProperty = + RippleYPropertyKey.DependencyProperty; + + public double RippleY + { + get { return (double)GetValue(RippleYProperty); } + private set { SetValue(RippleYPropertyKey, value); } + } + + /// <summary> + /// The DependencyProperty for the RecognizesAccessKey property. + /// Default Value: false + /// </summary> + public static readonly DependencyProperty RecognizesAccessKeyProperty = + DependencyProperty.Register( + nameof(RecognizesAccessKey), typeof(bool), typeof(Ripple), + new PropertyMetadata(default(bool))); + + /// <summary> + /// Determine if Ripple should use AccessText in its style + /// </summary> + public bool RecognizesAccessKey + { + get { return (bool)GetValue(RecognizesAccessKeyProperty); } + set { SetValue(RecognizesAccessKeyProperty, value); } + } + + public override void OnApplyTemplate() + { + base.OnApplyTemplate(); + + VisualStateManager.GoToState(this, TemplateStateNormal, false); + } + + private void OnSizeChanged(object sender, SizeChangedEventArgs sizeChangedEventArgs) + { + var innerContent = (Content as FrameworkElement); + + double width, height; + + if (RippleAssist.GetIsCentered(this) && innerContent != null) + { + width = innerContent.ActualWidth; + height = innerContent.ActualHeight; + } + else + { + width = sizeChangedEventArgs.NewSize.Width; + height = sizeChangedEventArgs.NewSize.Height; + } + + var radius = Math.Sqrt(Math.Pow(width, 2) + Math.Pow(height, 2)); + + RippleSize = 2 * radius * RippleAssist.GetRippleSizeMultiplier(this); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RippleAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RippleAssist.cs new file mode 100644 index 000000000..c8dc85438 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/RippleAssist.cs @@ -0,0 +1,122 @@ +using System.Windows; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + public static class RippleAssist + { + #region ClipToBound + + public static readonly DependencyProperty ClipToBoundsProperty = DependencyProperty.RegisterAttached( + "ClipToBounds", typeof(bool), typeof(RippleAssist), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetClipToBounds(DependencyObject element, bool value) + { + element.SetValue(ClipToBoundsProperty, value); + } + + public static bool GetClipToBounds(DependencyObject element) + { + return (bool)element.GetValue(ClipToBoundsProperty); + } + + #endregion + + #region StayOnCenter + + /// <summary> + /// Set to <c>true</c> to cause the ripple to originate from the centre of the + /// content. Otherwise the effect will originate from the mouse down position. + /// </summary> + public static readonly DependencyProperty IsCenteredProperty = DependencyProperty.RegisterAttached( + "IsCentered", typeof(bool), typeof(RippleAssist), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Set to <c>true</c> to cause the ripple to originate from the centre of the + /// content. Otherwise the effect will originate from the mouse down position. + /// </summary> + /// <param name="element"></param> + /// <param name="value"></param> + public static void SetIsCentered(DependencyObject element, bool value) + { + element.SetValue(IsCenteredProperty, value); + } + + /// <summary> + /// Set to <c>true</c> to cause the ripple to originate from the centre of the + /// content. Otherwise the effect will originate from the mouse down position. + /// </summary> + /// <param name="element"></param> + public static bool GetIsCentered(DependencyObject element) + { + return (bool)element.GetValue(IsCenteredProperty); + } + + #endregion + + #region disable + + /// <summary> + /// Set to <c>True</c> to disable ripple effect + /// </summary> + public static readonly DependencyProperty IsDisabledProperty = DependencyProperty.RegisterAttached( + "IsDisabled", typeof(bool), typeof(RippleAssist), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Set to <c>True</c> to disable ripple effect + /// </summary> + /// <param name="element"></param> + /// <param name="value"></param> + public static void SetIsDisabled(DependencyObject element, bool value) + { + element.SetValue(IsDisabledProperty, value); + } + + /// <summary> + /// Set to <c>True</c> to disable ripple effect + /// </summary> + /// <param name="element"></param> + public static bool GetIsDisabled(DependencyObject element) + { + return (bool)element.GetValue(IsDisabledProperty); + } + + #endregion + + #region RippleSizeMultiplier + + public static readonly DependencyProperty RippleSizeMultiplierProperty = DependencyProperty.RegisterAttached( + "RippleSizeMultiplier", typeof(double), typeof(RippleAssist), new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetRippleSizeMultiplier(DependencyObject element, double value) + { + element.SetValue(RippleSizeMultiplierProperty, value); + } + + public static double GetRippleSizeMultiplier(DependencyObject element) + { + return (double)element.GetValue(RippleSizeMultiplierProperty); + } + + #endregion + + #region Feedback + + public static readonly DependencyProperty FeedbackProperty = DependencyProperty.RegisterAttached( + "Feedback", typeof(Brush), typeof(RippleAssist), new FrameworkPropertyMetadata(default(Brush), FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsRender)); + + public static void SetFeedback(DependencyObject element, Brush value) + { + element.SetValue(FeedbackProperty, value); + } + + public static Brush GetFeedback(DependencyObject element) + { + return (Brush)element.GetValue(FeedbackProperty); + } + + #endregion + + + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ScaleHost.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ScaleHost.cs new file mode 100644 index 000000000..17655471e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ScaleHost.cs @@ -0,0 +1,19 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Internal use only. + /// </summary> + public class ScaleHost : FrameworkElement + { + public static readonly DependencyProperty ScaleProperty = DependencyProperty.Register( + "Scale", typeof(double), typeof(ScaleHost), new PropertyMetadata(0.0)); + + public double Scale + { + get { return (double) GetValue(ScaleProperty); } + set { SetValue(ScaleProperty, value); } + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Screen.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Screen.cs new file mode 100644 index 000000000..89ecfb6cc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Screen.cs @@ -0,0 +1,409 @@ +using Microsoft.Win32;
+using System;
+using System.Collections.Generic;
+using System.Runtime.InteropServices;
+using System.Runtime.Versioning;
+using System.Threading;
+using System.Windows;
+
+namespace MaterialDesignThemes.Wpf
+{
+ ///<summary>
+ /// Represents a display device or multiple display devices on a single system.
+ /// Based on http://referencesource.microsoft.com/#System.Windows.Forms/winforms/Managed/System/WinForms/Screen.cs
+ /// </summary>
+ internal class Screen
+ {
+ private static class NativeMethods
+ {
+ private const string User32 = "user32.dll";
+
+ [DllImport(User32, ExactSpelling = true, CharSet = CharSet.Auto)]
+ [ResourceExposure(ResourceScope.None)]
+ public static extern int GetSystemMetrics(int nIndex);
+
+ [DllImport(User32, CharSet = CharSet.Auto)]
+ [ResourceExposure(ResourceScope.None)]
+ public static extern bool GetMonitorInfo(HandleRef hmonitor, [In, Out]MONITORINFOEX info);
+
+ [DllImport(User32, ExactSpelling = true)]
+ [ResourceExposure(ResourceScope.None)]
+ public static extern bool EnumDisplayMonitors(HandleRef hdc, COMRECT rcClip, MonitorEnumProc lpfnEnum, IntPtr dwData);
+
+ [DllImport(User32, ExactSpelling = true)]
+ [ResourceExposure(ResourceScope.None)]
+ public static extern IntPtr MonitorFromPoint(POINTSTRUCT pt, int flags);
+
+ [DllImport(User32, ExactSpelling = true)]
+ [ResourceExposure(ResourceScope.None)]
+ public static extern IntPtr MonitorFromRect(ref RECT rect, int flags);
+
+ public delegate bool MonitorEnumProc(IntPtr monitor, IntPtr hdc, IntPtr lprcMonitor, IntPtr lParam);
+
+ [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 4)]
+ public class MONITORINFOEX
+ {
+ internal int cbSize = Marshal.SizeOf(typeof(MONITORINFOEX));
+ internal RECT rcMonitor = new RECT();
+ internal RECT rcWork = new RECT();
+ internal int dwFlags = 0;
+ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
+ internal char[] szDevice = new char[32];
+ }
+
+ [StructLayout(LayoutKind.Sequential)]
+ public struct RECT
+ {
+ public int left;
+ public int top;
+ public int right;
+ public int bottom;
+
+ public RECT(Rect r)
+ {
+ left = (int)r.Left;
+ top = (int)r.Top;
+ right = (int)r.Right;
+ bottom = (int)r.Bottom;
+ }
+ }
+
+ [StructLayout(LayoutKind.Sequential)]
+ public class COMRECT
+ {
+ public int left;
+ public int top;
+ public int right;
+ public int bottom;
+ }
+
+ [StructLayout(LayoutKind.Sequential)]
+ public struct POINTSTRUCT
+ {
+ public int x;
+ public int y;
+ public POINTSTRUCT(int x, int y)
+ {
+ this.x = x;
+ this.y = y;
+ }
+ }
+
+ public static readonly HandleRef NullHandleRef = new HandleRef(null, IntPtr.Zero);
+
+ public const int SM_CMONITORS = 80;
+ }
+
+ private readonly IntPtr _hmonitor;
+
+ /// <summary>
+ /// Available working area on the screen. This excludes taskbars and other
+ /// docked windows.
+ /// </summary>
+ private Rect _workingArea = Rect.Empty;
+
+ private static readonly object _syncLock = new object();//used to lock this class before sync'ing to SystemEvents
+
+ private static int _desktopChangedCount = -1;//static counter of desktop size changes
+
+ private int _currentDesktopChangedCount = -1;//instance-based counter used to invalidate WorkingArea
+
+ // This identifier is just for us, so that we don't try to call the multimon
+ // functions if we just need the primary monitor... this is safer for
+ // non-multimon OSes.
+ private const int PRIMARY_MONITOR = unchecked((int)0xBAADF00D);
+
+ private const int MONITOR_DEFAULTTONEAREST = 0x00000002;
+ private const int MONITORINFOF_PRIMARY = 0x00000001;
+
+ private static readonly bool _multiMonitorSupport = NativeMethods.GetSystemMetrics(NativeMethods.SM_CMONITORS) != 0;
+ private static Screen[] _screens;
+
+ private Screen(IntPtr monitor)
+ {
+ if (!_multiMonitorSupport || monitor == (IntPtr)PRIMARY_MONITOR)
+ {
+ // Single monitor system
+ Bounds = new Rect(SystemParameters.VirtualScreenLeft, SystemParameters.VirtualScreenTop,
+ SystemParameters.VirtualScreenWidth, SystemParameters.VirtualScreenHeight);
+ Primary = true;
+ DeviceName = "DISPLAY";
+ }
+ else
+ {
+ // MultiMonitor System
+ // We call the 'A' version of GetMonitorInfoA() because
+ // the 'W' version just never fills out the struct properly on Win2K.
+ NativeMethods.MONITORINFOEX info = new NativeMethods.MONITORINFOEX();
+ NativeMethods.GetMonitorInfo(new HandleRef(null, monitor), info);
+ Bounds = new Rect(info.rcMonitor.left, info.rcMonitor.top, info.rcMonitor.right - info.rcMonitor.left, info.rcMonitor.bottom - info.rcMonitor.top);
+ Primary = (info.dwFlags & MONITORINFOF_PRIMARY) != 0;
+
+ DeviceName = new string(info.szDevice);
+ DeviceName = DeviceName.TrimEnd((char)0);
+
+ }
+ _hmonitor = monitor;
+ }
+
+ /// <summary>
+ /// Gets an array of all of the displays on the system.
+ /// </summary>
+ public static Screen[] AllScreens
+ {
+ get
+ {
+ if (_screens == null)
+ {
+ if (_multiMonitorSupport)
+ {
+ MonitorEnumCallback closure = new MonitorEnumCallback();
+ NativeMethods.MonitorEnumProc proc = closure.Callback;
+ NativeMethods.EnumDisplayMonitors(NativeMethods.NullHandleRef, null, proc, IntPtr.Zero);
+
+ if (closure.Screens.Count > 0)
+ {
+ Screen[] temp = new Screen[closure.Screens.Count];
+ closure.Screens.CopyTo(temp, 0);
+ _screens = temp;
+ }
+ else
+ {
+ _screens = new[] { new Screen((IntPtr)PRIMARY_MONITOR) };
+ }
+ }
+ else
+ {
+ _screens = new[] { PrimaryScreen };
+ }
+
+ // Now that we have our screens, attach a display setting changed
+ // event so that we know when to invalidate them.
+ SystemEvents.DisplaySettingsChanging += OnDisplaySettingsChanging;
+ }
+
+ return _screens;
+ }
+ }
+
+ /// <summary>
+ /// Gets the bounds of the display.
+ /// </summary>
+ public Rect Bounds { get; }
+
+ /// <summary>
+ /// Gets the device name associated with a display.
+ /// </summary>
+ public string DeviceName { get; }
+
+ /// <summary>
+ /// Gets a value indicating whether a particular display is the primary device.
+ /// </summary>
+ public bool Primary { get; }
+
+ /// <summary>
+ /// Gets the primary display.
+ /// </summary>
+ public static Screen PrimaryScreen
+ {
+ get
+ {
+ if (_multiMonitorSupport)
+ {
+ foreach (Screen screen in AllScreens)
+ {
+ if (screen.Primary)
+ {
+ return screen;
+ }
+ }
+ return null;
+ }
+ return new Screen((IntPtr)PRIMARY_MONITOR);
+ }
+ }
+
+ /// <summary>
+ /// Gets the working area of the screen.
+ /// </summary>
+ public Rect WorkingArea
+ {
+ get
+ {
+
+ //if the static Screen class has a different desktop change count
+ //than this instance then update the count and recalculate our working area
+ if (_currentDesktopChangedCount != DesktopChangedCount)
+ {
+ Interlocked.Exchange(ref _currentDesktopChangedCount, DesktopChangedCount);
+
+ if (!_multiMonitorSupport || _hmonitor == (IntPtr)PRIMARY_MONITOR)
+ {
+ // Single monitor system
+ _workingArea = SystemParameters.WorkArea;
+ }
+ else
+ {
+ // MultiMonitor System
+ // We call the 'A' version of GetMonitorInfoA() because
+ // the 'W' version just never fills out the struct properly on Win2K.
+ NativeMethods.MONITORINFOEX info = new NativeMethods.MONITORINFOEX();
+ NativeMethods.GetMonitorInfo(new HandleRef(null, _hmonitor), info);
+ _workingArea = new Rect(info.rcWork.left, info.rcWork.top, info.rcWork.right - info.rcWork.left, info.rcWork.bottom - info.rcWork.top);
+ }
+ }
+ return _workingArea;
+ }
+ }
+
+ /// <summary>
+ /// Screen instances call this property to determine
+ /// if their WorkingArea cache needs to be invalidated.
+ /// </summary>
+ private static int DesktopChangedCount
+ {
+ get
+ {
+ if (_desktopChangedCount == -1)
+ {
+
+ lock (_syncLock)
+ {
+
+ //now that we have a lock, verify (again) our changecount...
+ if (_desktopChangedCount == -1)
+ {
+ //sync the UserPreference.Desktop change event. We'll keep count
+ //of desktop changes so that the WorkingArea property on Screen
+ //instances know when to invalidate their cache.
+ SystemEvents.UserPreferenceChanged += OnUserPreferenceChanged;
+
+ _desktopChangedCount = 0;
+ }
+ }
+ }
+ return _desktopChangedCount;
+ }
+ }
+
+ /// <summary>
+ /// Specifies a value that indicates whether the specified object is equal to this one.
+ /// </summary>
+ public override bool Equals(object obj)
+ {
+ return obj is Screen comp && _hmonitor == comp._hmonitor;
+ }
+
+ /// <summary>
+ /// Retrieves a <see cref='Screen'/> for the monitor that contains the specified point.
+ /// </summary>
+ public static Screen FromPoint(Point point)
+ {
+ if (_multiMonitorSupport)
+ {
+ NativeMethods.POINTSTRUCT pt = new NativeMethods.POINTSTRUCT((int)point.X, (int)point.Y);
+ return new Screen(NativeMethods.MonitorFromPoint(pt, MONITOR_DEFAULTTONEAREST));
+ }
+ return new Screen((IntPtr)PRIMARY_MONITOR);
+ }
+
+ /// <summary>
+ /// Retrieves a <see cref='Screen'/> for the monitor that contains the largest region of the Rect.
+ /// </summary>
+ public static Screen FromRect(Rect rect)
+ {
+ if (_multiMonitorSupport)
+ {
+ NativeMethods.RECT rc = new NativeMethods.RECT(rect);
+ return new Screen(NativeMethods.MonitorFromRect(ref rc, MONITOR_DEFAULTTONEAREST));
+ }
+ return new Screen((IntPtr)PRIMARY_MONITOR);
+ }
+
+ ///<summary>
+ /// Retrieves the working area for the monitor that is closest to the specified point.
+ /// </summary>
+ public static Rect GetWorkingArea(Point pt)
+ {
+ return FromPoint(pt).WorkingArea;
+ }
+
+ ///<summary>
+ /// Retrieves the working area for the monitor that contains the largest region of the specified Rect.
+ /// </summary>
+ public static Rect GetWorkingArea(Rect rect)
+ {
+ return FromRect(rect).WorkingArea;
+ }
+
+ ///<summary>
+ /// Retrieves the bounds of the monitor that is closest to the specified point.
+ /// </summary>
+ public static Rect GetBounds(Point pt)
+ {
+ return FromPoint(pt).Bounds;
+ }
+
+ /// <summary>
+ /// Retrieves the bounds of the monitor that contains the largest region of the specified Rect.
+ /// </summary>
+ public static Rect GetBounds(Rect rect)
+ {
+ return FromRect(rect).Bounds;
+ }
+
+ /// <summary>
+ /// Computes and retrieves a hash code for an object.
+ /// </summary>
+ public override int GetHashCode()
+ {
+ return (int)_hmonitor;
+ }
+
+ /// <summary>
+ /// Called by the SystemEvents class when our display settings are
+ /// changing. We cache screen information and at this point we must
+ /// invalidate our cache.
+ /// </summary>
+ private static void OnDisplaySettingsChanging(object sender, EventArgs e)
+ {
+ // Now that we've responded to this event, we don't need it again until
+ // someone re-queries. We will re-add the event at that time.
+ SystemEvents.DisplaySettingsChanging -= OnDisplaySettingsChanging;
+
+ // Display settings changed, so the set of screens we have is invalid.
_screens = null;
+ }
+
+ /// <summary>
+ /// Called by the SystemEvents class when our display settings have
+ /// changed. Here, we increment a static counter that Screen instances
+ /// can check against to invalidate their cache.
+ /// </summary>
+ private static void OnUserPreferenceChanged(object sender, UserPreferenceChangedEventArgs e)
+ {
+ if (e.Category == UserPreferenceCategory.Desktop)
+ {
+ Interlocked.Increment(ref _desktopChangedCount);
+ }
+ }
+
+ /// <summary>
+ /// Retrieves a string representing this object.
+ /// </summary>
+ public override string ToString()
+ {
+ return GetType().Name + "[Bounds=" + Bounds + " WorkingArea=" + WorkingArea + " Primary=" + Primary + " DeviceName=" + DeviceName;
+ }
+
+ private class MonitorEnumCallback
+ {
+ public List<Screen> Screens { get; } = new List<Screen>();
+
+ public virtual bool Callback(IntPtr monitor, IntPtr hdc, IntPtr lprcMonitor, IntPtr lparam)
+ {
+ Screens.Add(new Screen(monitor));
+ return true;
+ }
+ }
+ }
+}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ScrollViewerAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ScrollViewerAssist.cs new file mode 100644 index 000000000..0f65022da --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ScrollViewerAssist.cs @@ -0,0 +1,28 @@ +using System; +using System.Windows; +using System.Windows.Controls; + +namespace MaterialDesignThemes.Wpf +{ + internal static class ScrollViewerAssist + { + public static readonly DependencyProperty HorizontalOffsetProperty = DependencyProperty.RegisterAttached( + "SyncHorizontalOffset", typeof(double), typeof(ScrollViewerAssist), new PropertyMetadata(default(double), OnSyncHorizontalOffsetChanged)); + + private static void OnSyncHorizontalOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var scrollViewer = d as ScrollViewer; + scrollViewer?.ScrollToHorizontalOffset((double)e.NewValue); + } + + public static void SetSyncHorizontalOffset(DependencyObject element, double value) + { + element.SetValue(HorizontalOffsetProperty, value); + } + + public static double GetSyncHorizontalOffset(DependencyObject element) + { + return (double) element.GetValue(HorizontalOffsetProperty); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ShadowAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ShadowAssist.cs new file mode 100644 index 000000000..9ffb4004d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ShadowAssist.cs @@ -0,0 +1,137 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; + +namespace MaterialDesignThemes.Wpf +{ + public enum ShadowDepth + { + Depth0, + Depth1, + Depth2, + Depth3, + Depth4, + Depth5 + } + + [Flags] + public enum ShadowEdges + { + None = 0, + Left = 1, + Top = 2, + Right = 4, + Bottom = 8, + All = Left | Top | Right | Bottom + } + + internal class ShadowLocalInfo + { + public ShadowLocalInfo(double standardOpacity) + { + StandardOpacity = standardOpacity; + } + + public double StandardOpacity { get; } + } + + public static class ShadowAssist + { + public static readonly DependencyProperty ShadowDepthProperty = DependencyProperty.RegisterAttached( + "ShadowDepth", typeof (ShadowDepth), typeof (ShadowAssist), new FrameworkPropertyMetadata(default(ShadowDepth), FrameworkPropertyMetadataOptions.AffectsRender)); + + public static void SetShadowDepth(DependencyObject element, ShadowDepth value) + { + element.SetValue(ShadowDepthProperty, value); + } + + public static ShadowDepth GetShadowDepth(DependencyObject element) + { + return (ShadowDepth) element.GetValue(ShadowDepthProperty); + } + + private static readonly DependencyPropertyKey LocalInfoPropertyKey = DependencyProperty.RegisterAttachedReadOnly( + "LocalInfo", typeof (ShadowLocalInfo), typeof (ShadowAssist), new PropertyMetadata(default(ShadowLocalInfo))); + + private static void SetLocalInfo(DependencyObject element, ShadowLocalInfo value) + { + element.SetValue(LocalInfoPropertyKey, value); + } + + private static ShadowLocalInfo GetLocalInfo(DependencyObject element) + { + return (ShadowLocalInfo) element.GetValue(LocalInfoPropertyKey.DependencyProperty); + } + + public static readonly DependencyProperty DarkenProperty = DependencyProperty.RegisterAttached( + "Darken", typeof (bool), typeof (ShadowAssist), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.AffectsRender, DarkenPropertyChangedCallback)); + + private static void DarkenPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var uiElement = dependencyObject as UIElement; + var dropShadowEffect = uiElement?.Effect as DropShadowEffect; + + if (dropShadowEffect == null) return; + + if ((bool) dependencyPropertyChangedEventArgs.NewValue) + { + SetLocalInfo(dependencyObject, new ShadowLocalInfo(dropShadowEffect.Opacity)); + + var doubleAnimation = new DoubleAnimation(1, new Duration(TimeSpan.FromMilliseconds(350))) + { + FillBehavior = FillBehavior.HoldEnd + }; + dropShadowEffect.BeginAnimation(DropShadowEffect.OpacityProperty, doubleAnimation); + } + else + { + var shadowLocalInfo = GetLocalInfo(dependencyObject); + if (shadowLocalInfo == null) return; + + var doubleAnimation = new DoubleAnimation(shadowLocalInfo.StandardOpacity, new Duration(TimeSpan.FromMilliseconds(350))) + { + FillBehavior = FillBehavior.HoldEnd + }; + dropShadowEffect.BeginAnimation(DropShadowEffect.OpacityProperty, doubleAnimation); + } + } + + public static void SetDarken(DependencyObject element, bool value) + { + element.SetValue(DarkenProperty, value); + } + + public static bool GetDarken(DependencyObject element) + { + return (bool) element.GetValue(DarkenProperty); + } + + public static readonly DependencyProperty CacheModeProperty = DependencyProperty.RegisterAttached( + "CacheMode", typeof(CacheMode), typeof(ShadowAssist), new FrameworkPropertyMetadata(new BitmapCache { EnableClearType = true, SnapsToDevicePixels = true }, FrameworkPropertyMetadataOptions.Inherits)); + + public static void SetCacheMode(DependencyObject element, CacheMode value) + { + element.SetValue(CacheModeProperty, value); + } + + public static CacheMode GetCacheMode(DependencyObject element) + { + return (CacheMode)element.GetValue(CacheModeProperty); + } + + public static readonly DependencyProperty ShadowEdgesProperty = DependencyProperty.RegisterAttached( + "ShadowEdges", typeof(ShadowEdges), typeof(ShadowAssist), new PropertyMetadata(ShadowEdges.All)); + + public static void SetShadowEdges(DependencyObject element, ShadowEdges value) + { + element.SetValue(ShadowEdgesProperty, value); + } + + public static ShadowEdges GetShadowEdges(DependencyObject element) + { + return (ShadowEdges) element.GetValue(ShadowEdgesProperty); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SmartHint.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SmartHint.cs new file mode 100644 index 000000000..a3b15b513 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SmartHint.cs @@ -0,0 +1,245 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using MaterialDesignThemes.Wpf.Converters; + +namespace MaterialDesignThemes.Wpf +{ + + /// <summary> + /// A control that implement placeholder behavior. Can work as a simple placeholder either as a floating hint, see <see cref="UseFloating"/> property. + /// <para/> + /// To set a target control you should set the HintProxy property. Use the <see cref="HintProxyFabricConverter.Instance"/> converter which converts a control into the IHintProxy interface. + /// </summary> + [TemplateVisualState(GroupName = ContentStatesGroupName, Name = ContentEmptyName)] + [TemplateVisualState(GroupName = ContentStatesGroupName, Name = ContentNotEmptyName)] + [TemplateVisualState(GroupName = ContentStatesGroupName, Name = HintRestingPositionName)] + [TemplateVisualState(GroupName = ContentStatesGroupName, Name = HintFloatingPositionName)] + public class SmartHint : Control + { + public const string ContentStatesGroupName = "ContentStates"; + [System.Obsolete] + public const string ContentEmptyName = "ContentEmpty"; + [System.Obsolete] + public const string ContentNotEmptyName = "ContentNotEmpty"; + + public const string HintRestingPositionName = "HintRestingPosition"; + public const string HintFloatingPositionName = "HintFloatingPosition"; + + #region ManagedProperty + + public static readonly DependencyProperty HintProxyProperty = DependencyProperty.Register( + nameof(HintProxy), typeof(IHintProxy), typeof(SmartHint), new PropertyMetadata(default(IHintProxy), HintProxyPropertyChangedCallback)); + + public IHintProxy HintProxy + { + get { return (IHintProxy)GetValue(HintProxyProperty); } + set { SetValue(HintProxyProperty, value); } + } + + #endregion + + #region HintProperty + + public static readonly DependencyProperty HintProperty = DependencyProperty.Register( + nameof(Hint), typeof(object), typeof(SmartHint), new PropertyMetadata(null)); + + public object Hint + { + get { return GetValue(HintProperty); } + set { SetValue(HintProperty, value); } + } + + #endregion + + #region IsContentNullOrEmpty + + private static readonly DependencyPropertyKey IsContentNullOrEmptyPropertyKey = + DependencyProperty.RegisterReadOnly( + "IsContentNullOrEmpty", typeof(bool), typeof(SmartHint), + new PropertyMetadata(default(bool))); + + public static readonly DependencyProperty IsContentNullOrEmptyProperty = + IsContentNullOrEmptyPropertyKey.DependencyProperty; + + public bool IsContentNullOrEmpty + { + get { return (bool) GetValue(IsContentNullOrEmptyProperty); } + private set { SetValue(IsContentNullOrEmptyPropertyKey, value); } + } + + #endregion + + #region IsHintInFloatingPosition + + private static readonly DependencyPropertyKey IsHintInFloatingPositionPropertyKey = + DependencyProperty.RegisterReadOnly( + "IsHintInFloatingPosition", typeof(bool), typeof(SmartHint), + new PropertyMetadata(default(bool))); + + public static readonly DependencyProperty IsHintInFloatingPositionProperty = + IsHintInFloatingPositionPropertyKey.DependencyProperty; + + public bool IsHintInFloatingPosition + { + get { return (bool)GetValue(IsHintInFloatingPositionProperty); } + private set { SetValue(IsHintInFloatingPositionPropertyKey, value); } + } + + #endregion + + #region UseFloating + + public static readonly DependencyProperty UseFloatingProperty = DependencyProperty.Register( + nameof(UseFloating), typeof(bool), typeof(SmartHint), new PropertyMetadata(false)); + + public bool UseFloating + { + get { return (bool) GetValue(UseFloatingProperty); } + set { SetValue(UseFloatingProperty, value); } + } + + #endregion + + #region FloatingScale & FloatingOffset + + public static readonly DependencyProperty FloatingScaleProperty = DependencyProperty.Register( + nameof(FloatingScale), typeof(double), typeof(SmartHint), new PropertyMetadata(.74)); + + public double FloatingScale + { + get { return (double)GetValue(FloatingScaleProperty); } + set { SetValue(FloatingScaleProperty, value); } + } + + public static readonly DependencyProperty FloatingOffsetProperty = DependencyProperty.Register( + nameof(FloatingOffset), typeof(Point), typeof(SmartHint), new PropertyMetadata(new Point(1, -16))); + + public Point FloatingOffset + { + get { return (Point)GetValue(FloatingOffsetProperty); } + set { SetValue(FloatingOffsetProperty, value); } + } + + #endregion + + #region HintOpacity + + public static readonly DependencyProperty HintOpacityProperty = DependencyProperty.Register( + nameof(HintOpacity), typeof(double), typeof(SmartHint), new PropertyMetadata(.46)); + + public double HintOpacity + { + get { return (double) GetValue(HintOpacityProperty); } + set { SetValue(HintOpacityProperty, value); } + } + + #endregion + + static SmartHint() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(SmartHint), new FrameworkPropertyMetadata(typeof(SmartHint))); + } + + public SmartHint() + { + IsHitTestVisible = false; + HorizontalAlignment = HorizontalAlignment.Left; + VerticalAlignment = VerticalAlignment.Top; + } + + private static void HintProxyPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var smartHint = dependencyObject as SmartHint; + if (smartHint == null) return; + + var hintProxy = dependencyPropertyChangedEventArgs.OldValue as IHintProxy; + + if (hintProxy != null) + { + hintProxy.IsVisibleChanged -= smartHint.OnHintProxyIsVisibleChanged; + hintProxy.ContentChanged -= smartHint.OnHintProxyContentChanged; + hintProxy.Loaded -= smartHint.OnHintProxyContentChanged; + hintProxy.FocusedChanged -= smartHint.OnHintProxyFocusedChanged; + hintProxy.Dispose(); + } + + hintProxy = dependencyPropertyChangedEventArgs.NewValue as IHintProxy; + if (hintProxy == null) return; + + hintProxy.IsVisibleChanged += smartHint.OnHintProxyIsVisibleChanged; + hintProxy.ContentChanged += smartHint.OnHintProxyContentChanged; + hintProxy.Loaded += smartHint.OnHintProxyContentChanged; + hintProxy.FocusedChanged += smartHint.OnHintProxyFocusedChanged; + smartHint.RefreshState(false); + } + + protected virtual void OnHintProxyFocusedChanged(object sender, EventArgs e) + { + if (HintProxy.IsLoaded) + RefreshState(true); + else + HintProxy.Loaded += HintProxySetStateOnLoaded; + } + + protected virtual void OnHintProxyContentChanged(object sender, EventArgs e) + { + IsContentNullOrEmpty = HintProxy.IsEmpty(); + + if (HintProxy.IsLoaded) + RefreshState(true); + else + HintProxy.Loaded += HintProxySetStateOnLoaded; + } + + private void HintProxySetStateOnLoaded(object sender, EventArgs e) + { + RefreshState(false); + HintProxy.Loaded -= HintProxySetStateOnLoaded; + } + + protected virtual void OnHintProxyIsVisibleChanged(object sender, EventArgs e) + { + RefreshState(false); + } + + private void RefreshState(bool useTransitions) + { + IHintProxy proxy = HintProxy; + + if (proxy == null) return; + if (!proxy.IsVisible) return; + + var action = new Action(() => + { + string state = string.Empty; + + bool isEmpty = proxy.IsEmpty(); + bool isFocused = proxy.IsFocused(); + + if (UseFloating) + state = !isEmpty || isFocused ? HintFloatingPositionName : HintRestingPositionName; + else + state = !isEmpty ? HintFloatingPositionName : HintRestingPositionName; + + IsHintInFloatingPosition = state == HintFloatingPositionName; + + VisualStateManager.GoToState(this, state, useTransitions); + }); + + if (DesignerProperties.GetIsInDesignMode(this)) + { + action(); + } + else + { + Dispatcher.BeginInvoke(action); + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Snackbar.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Snackbar.cs new file mode 100644 index 000000000..c408b198e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Snackbar.cs @@ -0,0 +1,184 @@ +using System; +using System.Collections.Concurrent; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using System.Timers; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Threading; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Implements a <see cref="Snackbar"/> inspired by the Material Design specs (https://material.google.com/components/snackbars-toasts.html). + /// </summary> + [ContentProperty(nameof(Message))] + public class Snackbar : Control + { + private const string ActivateStoryboardName = "ActivateStoryboard"; + private const string DeactivateStoryboardName = "DeactivateStoryboard"; + + private Action _messageQueueRegistrationCleanUp = null; + + static Snackbar() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Snackbar), new FrameworkPropertyMetadata(typeof(Snackbar))); + } + + public static readonly DependencyProperty MessageProperty = DependencyProperty.Register( + nameof(Message), typeof(SnackbarMessage), typeof(Snackbar), new PropertyMetadata(default(SnackbarMessage))); + + public SnackbarMessage Message + { + get { return (SnackbarMessage) GetValue(MessageProperty); } + set { SetValue(MessageProperty, value); } + } + + public static readonly DependencyProperty MessageQueueProperty = DependencyProperty.Register( + nameof(MessageQueue), typeof(SnackbarMessageQueue), typeof(Snackbar), new PropertyMetadata(default(SnackbarMessageQueue), MessageQueuePropertyChangedCallback)); + + private static void MessageQueuePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var snackbar = (Snackbar) dependencyObject; + (snackbar._messageQueueRegistrationCleanUp ?? (() => { }))(); + var messageQueue = dependencyPropertyChangedEventArgs.NewValue as SnackbarMessageQueue; + snackbar._messageQueueRegistrationCleanUp = messageQueue?.Pair(snackbar); + } + + public SnackbarMessageQueue MessageQueue + { + get { return (SnackbarMessageQueue) GetValue(MessageQueueProperty); } + set { SetValue(MessageQueueProperty, value); } + } + + public static readonly DependencyProperty IsActiveProperty = DependencyProperty.Register( + nameof(IsActive), typeof(bool), typeof(Snackbar), new PropertyMetadata(default(bool), IsActivePropertyChangedCallback)); + + public bool IsActive + { + get { return (bool) GetValue(IsActiveProperty); } + set { SetValue(IsActiveProperty, value); } + } + + public event RoutedPropertyChangedEventHandler<bool> IsActiveChanged + { + add { AddHandler(IsActiveChangedEvent, value); } + remove { RemoveHandler(IsActiveChangedEvent, value); } + } + + public static readonly RoutedEvent IsActiveChangedEvent = + EventManager.RegisterRoutedEvent( + nameof(IsActiveChanged), + RoutingStrategy.Bubble, + typeof(RoutedPropertyChangedEventHandler<bool>), + typeof(Snackbar)); + + private static void OnIsActiveChanged( + DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var instance = d as Snackbar; + var args = new RoutedPropertyChangedEventArgs<bool>( + (bool) e.OldValue, + (bool) e.NewValue) {RoutedEvent = IsActiveChangedEvent }; + instance?.RaiseEvent(args); + } + + public static readonly RoutedEvent DeactivateStoryboardCompletedEvent = + EventManager.RegisterRoutedEvent( + nameof(DeactivateStoryboardCompleted), + RoutingStrategy.Bubble, + typeof(SnackbarMessageEventArgs), + typeof(Snackbar)); + + public event RoutedPropertyChangedEventHandler<SnackbarMessage> DeactivateStoryboardCompleted + { + add { AddHandler(DeactivateStoryboardCompletedEvent, value); } + remove { RemoveHandler(DeactivateStoryboardCompletedEvent, value); } + } + + private static void OnDeactivateStoryboardCompleted( + IInputElement snackbar, SnackbarMessage message) + { + var args = new SnackbarMessageEventArgs(DeactivateStoryboardCompletedEvent, message); + snackbar.RaiseEvent(args); + } + + public TimeSpan ActivateStoryboardDuration { get; private set; } + + public TimeSpan DeactivateStoryboardDuration { get; private set; } + + public static readonly DependencyProperty ActionButtonStyleProperty = DependencyProperty.Register( + nameof(ActionButtonStyle), typeof(Style), typeof(Snackbar), new PropertyMetadata(default(Style))); + + public Style ActionButtonStyle + { + get { return (Style) GetValue(ActionButtonStyleProperty); } + set { SetValue(ActionButtonStyleProperty, value); } + } + + public override void OnApplyTemplate() + { + //we regards to notification of deactivate storyboard finishing, + //we either build a storyboard in code and subscribe to completed event, + //or take the not 100% proof of the storyboard duration from the storyboard itself + //...HOWEVER...we can both methods result can work under the same public API so + //we can flip the implementation if this version doesnt pan out + + //(currently we have no even on the activate animation; don't + // need it just now, but it would mirror the deactivate) + + ActivateStoryboardDuration = GetStoryboardResourceDuration(ActivateStoryboardName); + DeactivateStoryboardDuration = GetStoryboardResourceDuration(DeactivateStoryboardName); + + base.OnApplyTemplate(); + } + + private TimeSpan GetStoryboardResourceDuration(string resourceName) + { + var storyboard = Template.Resources.Contains(resourceName) + ? (Storyboard)Template.Resources[resourceName] + : null; + + return storyboard != null && storyboard.Duration.HasTimeSpan + ? storyboard.Duration.TimeSpan + : new Func<TimeSpan>(() => + { + System.Diagnostics.Debug.WriteLine( + $"Warning, no Duration was specified at root of storyboard '{resourceName}'."); + return TimeSpan.Zero; + })(); + } + + private static void IsActivePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + OnIsActiveChanged(dependencyObject, dependencyPropertyChangedEventArgs); + + if ((bool)dependencyPropertyChangedEventArgs.NewValue) return; + + var snackbar = (Snackbar)dependencyObject; + if (snackbar.Message == null) return; + + var dispatcherTimer = new DispatcherTimer + { + Tag = new Tuple<Snackbar, SnackbarMessage>(snackbar, snackbar.Message), + Interval = snackbar.DeactivateStoryboardDuration + }; + dispatcherTimer.Tick += DeactivateStoryboardDispatcherTimerOnTick; + dispatcherTimer.Start(); + } + + private static void DeactivateStoryboardDispatcherTimerOnTick(object sender, EventArgs eventArgs) + { + var dispatcherTimer = (DispatcherTimer)sender; + dispatcherTimer.Stop(); + dispatcherTimer.Tick -= DeactivateStoryboardDispatcherTimerOnTick; + var source = (Tuple<Snackbar, SnackbarMessage>)dispatcherTimer.Tag; + OnDeactivateStoryboardCompleted(source.Item1, source.Item2); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessage.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessage.cs new file mode 100644 index 000000000..7879f7d0f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessage.cs @@ -0,0 +1,123 @@ +using System; +using System.ComponentModel; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Input; +using MaterialDesignThemes.Wpf.Converters; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Defines the content of a message within a <see cref="Snackbar"/>. Primary content should be set via the + /// standard <see cref="SnackbarMessage.Content"/> property. Where an action is allowed, content + /// can be provided in <see cref="SnackbarMessage.ActionContent"/>. Standard button properties are + /// provided for actions, includiing <see cref="SnackbarMessage.ActionCommand"/>. + /// </summary> + [TypeConverter(typeof(SnackbarMessageTypeConverter))] + [TemplatePart(Name = ActionButtonPartName, Type = typeof(ButtonBase))] + public class SnackbarMessage : ContentControl + { + public const string ActionButtonPartName = "PART_ActionButton"; + private Action _templateCleanupAction = () => {}; + + static SnackbarMessage() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(SnackbarMessage), new FrameworkPropertyMetadata(typeof(SnackbarMessage))); + } + + public static readonly DependencyProperty ActionCommandProperty = DependencyProperty.Register( + "ActionCommand", typeof(ICommand), typeof(SnackbarMessage), new PropertyMetadata(default(ICommand))); + + public ICommand ActionCommand + { + get { return (ICommand) GetValue(ActionCommandProperty); } + set { SetValue(ActionCommandProperty, value); } + } + + public static readonly DependencyProperty ActionCommandParameterProperty = DependencyProperty.Register( + "ActionCommandParameter", typeof(object), typeof(SnackbarMessage), new PropertyMetadata(default(object))); + + public object ActionCommandParameter + { + get { return (object) GetValue(ActionCommandParameterProperty); } + set { SetValue(ActionCommandParameterProperty, value); } + } + + public static readonly DependencyProperty ActionContentProperty = DependencyProperty.Register( + "ActionContent", typeof(object), typeof(SnackbarMessage), new PropertyMetadata(default(object))); + + public object ActionContent + { + get { return (object) GetValue(ActionContentProperty); } + set { SetValue(ActionContentProperty, value); } + } + + public static readonly DependencyProperty ActionContentTemplateProperty = DependencyProperty.Register( + "ActionContentTemplate", typeof(DataTemplate), typeof(SnackbarMessage), new PropertyMetadata(default(DataTemplate))); + + public DataTemplate ActionContentTemplate + { + get { return (DataTemplate) GetValue(ActionContentTemplateProperty); } + set { SetValue(ActionContentTemplateProperty, value); } + } + + public static readonly DependencyProperty ActionContentStringFormatProperty = DependencyProperty.Register( + "ActionContentStringFormat", typeof(string ), typeof(SnackbarMessage), new PropertyMetadata(default(string ))); + + public string ActionContentStringFormat + { + get { return (string ) GetValue(ActionContentStringFormatProperty); } + set { SetValue(ActionContentStringFormatProperty, value); } + } + + public static readonly DependencyProperty ActionContentTemplateSelectorProperty = DependencyProperty.Register( + "ActionContentTemplateSelector", typeof(DataTemplateSelector), typeof(SnackbarMessage), new PropertyMetadata(default(DataTemplateSelector))); + + public DataTemplateSelector ActionContentTemplateSelector + { + get { return (DataTemplateSelector) GetValue(ActionContentTemplateSelectorProperty); } + set { SetValue(ActionContentTemplateSelectorProperty, value); } + } + + /// <summary> + /// Event correspond to left mouse button click on the Action button. + /// </summary> + public static readonly RoutedEvent ActionClickEvent = EventManager.RegisterRoutedEvent("ActionClick", + RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(SnackbarMessage)); + + /// <summary> + /// Add / Remove ActionClickEvent handler + /// </summary> + [Category("Behavior")] + public event RoutedEventHandler ActionClick { add { AddHandler(ActionClickEvent, value); } remove { RemoveHandler(ActionClickEvent, value); } } + + protected virtual void OnActionClick() + { + var newEvent = new RoutedEventArgs(ActionClickEvent, this); + RaiseEvent(newEvent); + } + + public override void OnApplyTemplate() + { + _templateCleanupAction(); + + var buttonBase = GetTemplateChild(ActionButtonPartName) as ButtonBase; + if (buttonBase != null) + { + buttonBase.Click += ButtonBaseOnClick; + + _templateCleanupAction = () => buttonBase.Click -= ButtonBaseOnClick; + } + else + _templateCleanupAction = () => { }; + + base.OnApplyTemplate(); + } + + private void ButtonBaseOnClick(object sender, RoutedEventArgs routedEventArgs) + { + OnActionClick(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageEventArgs.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageEventArgs.cs new file mode 100644 index 000000000..c3e031c02 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageEventArgs.cs @@ -0,0 +1,24 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public class SnackbarMessageEventArgs : RoutedEventArgs + { + public SnackbarMessageEventArgs(SnackbarMessage message) + { + Message = message; + } + + public SnackbarMessageEventArgs(RoutedEvent routedEvent, SnackbarMessage message) : base(routedEvent) + { + Message = message; + } + + public SnackbarMessageEventArgs(RoutedEvent routedEvent, object source, SnackbarMessage message) : base(routedEvent, source) + { + Message = message; + } + + public SnackbarMessage Message { get; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageQueue.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageQueue.cs new file mode 100644 index 000000000..a8f6dcfe8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageQueue.cs @@ -0,0 +1,449 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Input; +using System.Windows.Threading; + +namespace MaterialDesignThemes.Wpf +{ + public class SnackbarMessageQueue : ISnackbarMessageQueue, IDisposable + { + private readonly TimeSpan _messageDuration; + private readonly HashSet<Snackbar> _pairedSnackbars = new HashSet<Snackbar>(); + private readonly LinkedList<SnackbarMessageQueueItem> _snackbarMessages = new LinkedList<SnackbarMessageQueueItem>(); + private readonly ManualResetEvent _disposedEvent = new ManualResetEvent(false); + private readonly ManualResetEvent _pausedEvent = new ManualResetEvent(false); + private readonly ManualResetEvent _messageWaitingEvent = new ManualResetEvent(false); + private Tuple<SnackbarMessageQueueItem, DateTime> _latestShownItem; + private int _pauseCounter; + private bool _isDisposed; + + #region private class MouseNotOverManagedWaitHandle : IDisposable + + private class MouseNotOverManagedWaitHandle : IDisposable + { + private readonly ManualResetEvent _waitHandle; + private readonly ManualResetEvent _disposedWaitHandle = new ManualResetEvent(false); + private Action _cleanUp; + private bool _isWaitHandleDisposed; + private readonly object _waitHandleGate = new object(); + + public MouseNotOverManagedWaitHandle(UIElement uiElement) + { + if (uiElement == null) throw new ArgumentNullException(nameof(uiElement)); + + _waitHandle = new ManualResetEvent(!uiElement.IsMouseOver); + uiElement.MouseEnter += UiElementOnMouseEnter; + uiElement.MouseLeave += UiElementOnMouseLeave; + + _cleanUp = () => + { + uiElement.MouseEnter -= UiElementOnMouseEnter; + uiElement.MouseLeave -= UiElementOnMouseLeave; + lock (_waitHandleGate) + { + _waitHandle.Dispose(); + _isWaitHandleDisposed = true; + } + _disposedWaitHandle.Set(); + _disposedWaitHandle.Dispose(); + _cleanUp = () => { }; + }; + } + + public WaitHandle WaitHandle => _waitHandle; + + private void UiElementOnMouseLeave(object sender, MouseEventArgs mouseEventArgs) + { + Task.Factory.StartNew(() => + { + try + { + _disposedWaitHandle.WaitOne(TimeSpan.FromSeconds(2)); + } + catch (ObjectDisposedException) + { + /* we are we suppresing this? + * as we have switched out wait onto another thread, so we don't block the UI thread, the + * _cleanUp/Dispose() action might also happen, and the _disposedWaitHandle might get disposed + * just before we WaitOne. We wond add a lock in the _cleanUp because it might block for 2 seconds. + * We could use a Monitor.TryEnter in _cleanUp and run clean up after but oh my gosh it's just getting + * too complicated for this use case, so for the rare times this happens, we can swallow safely + */ + } + + }).ContinueWith(t => + { + if (((UIElement) sender).IsMouseOver) return; + lock (_waitHandleGate) + { + if (!_isWaitHandleDisposed) + _waitHandle.Set(); + } + }, TaskScheduler.FromCurrentSynchronizationContext()); + } + + private void UiElementOnMouseEnter(object sender, MouseEventArgs mouseEventArgs) + { + _waitHandle.Reset(); + } + + public void Dispose() + { + _cleanUp(); + } + } + + #endregion + + #region private class DurationMonitor + + private class DurationMonitor + { + private DateTime _completionTime; + + private DurationMonitor( + TimeSpan minimumDuration, + WaitHandle pausedWaitHandle, + EventWaitHandle signalWhenDurationPassedWaitHandle, + WaitHandle ceaseWaitHandle) + { + if (pausedWaitHandle == null) throw new ArgumentNullException(nameof(pausedWaitHandle)); + if (signalWhenDurationPassedWaitHandle == null) + throw new ArgumentNullException(nameof(signalWhenDurationPassedWaitHandle)); + if (ceaseWaitHandle == null) throw new ArgumentNullException(nameof(ceaseWaitHandle)); + + _completionTime = DateTime.Now.Add(minimumDuration); + + //this keeps the event waiting simpler, rather that actually watching play -> pause -> play -> pause etc + var granularity = TimeSpan.FromMilliseconds(200); + + Task.Factory.StartNew(() => + { + //keep upping the completion time in case it's paused... + while (DateTime.Now < _completionTime && !ceaseWaitHandle.WaitOne(granularity)) + { + if (pausedWaitHandle.WaitOne(TimeSpan.Zero)) + { + _completionTime = _completionTime.Add(granularity); + } + } + + if (DateTime.Now >= _completionTime) + signalWhenDurationPassedWaitHandle.Set(); + }); + } + + public static DurationMonitor Start(TimeSpan minimumDuration, + WaitHandle pausedWaitHandle, + EventWaitHandle signalWhenDurationPassedWaitHandle, + WaitHandle ceaseWaitHandle) + { + return new DurationMonitor(minimumDuration, pausedWaitHandle, signalWhenDurationPassedWaitHandle, + ceaseWaitHandle); + } + } + + #endregion + + public SnackbarMessageQueue() : this(TimeSpan.FromSeconds(3)) + { + } + + public SnackbarMessageQueue(TimeSpan messageDuration) + { + _messageDuration = messageDuration; + Task.Factory.StartNew(PumpAsync); + } + + //oh if only I had Disposable.Create in this lib :) tempted to copy it in like dragabalz, + //but this is an internal method so no one will know my direty Action disposer... + internal Action Pair(Snackbar snackbar) + { + if (snackbar == null) throw new ArgumentNullException(nameof(snackbar)); + + _pairedSnackbars.Add(snackbar); + + return () => _pairedSnackbars.Remove(snackbar); + } + + internal Action Pause() + { + if (_isDisposed) return () => { }; + + if (Interlocked.Increment(ref _pauseCounter) == 1) + _pausedEvent.Set(); + + return () => + { + if (Interlocked.Decrement(ref _pauseCounter) == 0) + _pausedEvent.Reset(); + }; + } + + public void Enqueue(object content) + { + Enqueue(content, false); + } + + public void Enqueue(object content, bool neverConsiderToBeDuplicate) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + + Enqueue(content, null, null, null, false, neverConsiderToBeDuplicate); + } + + public void Enqueue(object content, object actionContent, Action actionHandler) + { + Enqueue(content, actionContent, actionHandler, false); + } + + public void Enqueue(object content, object actionContent, Action actionHandler, bool promote) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + if (actionContent == null) throw new ArgumentNullException(nameof(actionContent)); + if (actionHandler == null) throw new ArgumentNullException(nameof(actionHandler)); + + Enqueue(content, actionContent, _ => actionHandler(), promote, false, false); + } + + public void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, + TArgument actionArgument) + { + Enqueue(content, actionContent, actionHandler, actionArgument, false, false); + } + + public void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, + TArgument actionArgument, bool promote) => + Enqueue(content, actionContent, actionHandler, actionArgument, promote, promote); + + public void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, + TArgument actionArgument, bool promote, bool neverConsiderToBeDuplicate) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + + if (actionContent == null ^ actionHandler == null) + { + throw new ArgumentException("All action arguments must be provided if any are provided.", + actionContent != null ? nameof(actionContent) : nameof(actionHandler)); + } + + Action<object> handler = actionHandler != null + ? new Action<object>(argument => actionHandler((TArgument)argument)) + : null; + Enqueue(content, actionContent, handler, actionArgument, promote, neverConsiderToBeDuplicate); + } + + public void Enqueue(object content, object actionContent, Action<object> actionHandler, + object actionArgument, bool promote, bool neverConsiderToBeDuplicate) + { + if (content == null) throw new ArgumentNullException(nameof(content)); + + if (actionContent == null ^ actionHandler == null) + { + throw new ArgumentException("All action arguments must be provided if any are provided.", + actionContent != null ? nameof(actionContent) : nameof(actionHandler)); + } + + var snackbarMessageQueueItem = new SnackbarMessageQueueItem(content, actionContent, actionHandler, + actionArgument, promote, neverConsiderToBeDuplicate); + if (promote) + InsertAsLastNotPromotedNode(snackbarMessageQueueItem); + else + _snackbarMessages.AddLast(snackbarMessageQueueItem); + + _messageWaitingEvent.Set(); + } + + private void InsertAsLastNotPromotedNode(SnackbarMessageQueueItem snackbarMessageQueueItem) + { + var node = _snackbarMessages.First; + while (node != null) + { + if (!node.Value.IsPromoted) + { + _snackbarMessages.AddBefore(node, snackbarMessageQueueItem); + return; + } + node = node.Next; + } + _snackbarMessages.AddLast(snackbarMessageQueueItem); + } + + private async void PumpAsync() + { + while (!_isDisposed) + { + var eventId = WaitHandle.WaitAny(new WaitHandle[] { _disposedEvent, _messageWaitingEvent }); + if (eventId == 0) continue; + var exemplar = _pairedSnackbars.FirstOrDefault(); + if (exemplar == null) + { + Trace.TraceWarning( + "A snackbar message as waiting, but no Snackbar instances are assigned to the message queue."); + _disposedEvent.WaitOne(TimeSpan.FromSeconds(1)); + continue; + } + + //find a target + var snackbar = await FindSnackbar(exemplar.Dispatcher); + + //show message + if (snackbar != null) + { + var message = _snackbarMessages.First.Value; + _snackbarMessages.RemoveFirst(); + if (_latestShownItem == null + || message.IgnoreDuplicate + || !Equals(_latestShownItem.Item1.Content, message.Content) + || !Equals(_latestShownItem.Item1.ActionContent, message.ActionContent) + || _latestShownItem.Item2 <= DateTime.Now.Subtract(_messageDuration)) + { + await ShowAsync(snackbar, message); + _latestShownItem = new Tuple<SnackbarMessageQueueItem, DateTime>(message, DateTime.Now); + } + } + else + { + //no snackbar could be found, take a break + _disposedEvent.WaitOne(TimeSpan.FromSeconds(1)); + } + + if (_snackbarMessages.Count > 0) + _messageWaitingEvent.Set(); + else + _messageWaitingEvent.Reset(); + } + } + + private DispatcherOperation<Snackbar> FindSnackbar(Dispatcher dispatcher) + { + return dispatcher.InvokeAsync(() => + { + return _pairedSnackbars.FirstOrDefault(sb => + { + if (!sb.IsLoaded || sb.Visibility != Visibility.Visible) return false; + var window = Window.GetWindow(sb); + return window != null && window.WindowState != WindowState.Minimized; + }); + }); + } + + private async Task ShowAsync(Snackbar snackbar, SnackbarMessageQueueItem messageQueueItem) + { + await Task.Run(async () => + { + //create and show the message, setting up all the handles we need to wait on + var actionClickWaitHandle = new ManualResetEvent(false); + var mouseNotOverManagedWaitHandle = + await + snackbar.Dispatcher.InvokeAsync( + () => CreateAndShowMessage(snackbar, messageQueueItem, actionClickWaitHandle)); + var durationPassedWaitHandle = new ManualResetEvent(false); + DurationMonitor.Start(_messageDuration.Add(snackbar.ActivateStoryboardDuration), + _pausedEvent, durationPassedWaitHandle, _disposedEvent); + + //wait until time span completed (including pauses and mouse overs), or the action is clicked + await WaitForCompletionAsync(mouseNotOverManagedWaitHandle, durationPassedWaitHandle, actionClickWaitHandle); + + //close message on snackbar + await + snackbar.Dispatcher.InvokeAsync( + () => snackbar.SetCurrentValue(Snackbar.IsActiveProperty, false)); + + //we could wait for the animation event, but just doing + //this for now...at least it is prevent extra call back hell + _disposedEvent.WaitOne(snackbar.DeactivateStoryboardDuration); + + //remove message on snackbar + await snackbar.Dispatcher.InvokeAsync( + () => snackbar.SetCurrentValue(Snackbar.MessageProperty, null)); + + mouseNotOverManagedWaitHandle.Dispose(); + durationPassedWaitHandle.Dispose(); + + }) + .ContinueWith(t => + { + if (t.Exception == null) return; + + var exc = t.Exception.InnerExceptions.FirstOrDefault() ?? t.Exception; + Trace.WriteLine("Error occured whilst showing Snackbar, exception will be rethrown."); + Trace.WriteLine($"{exc.Message} ({exc.GetType().FullName})"); + Trace.WriteLine(exc.StackTrace); + + throw t.Exception; + }); + } + + private static MouseNotOverManagedWaitHandle CreateAndShowMessage(UIElement snackbar, + SnackbarMessageQueueItem messageQueueItem, EventWaitHandle actionClickWaitHandle) + { + var clickCount = 0; + var snackbarMessage = Create(messageQueueItem); + snackbarMessage.ActionClick += (sender, args) => + { + if (++clickCount == 1) + DoActionCallback(messageQueueItem); + actionClickWaitHandle.Set(); + }; + snackbar.SetCurrentValue(Snackbar.MessageProperty, snackbarMessage); + snackbar.SetCurrentValue(Snackbar.IsActiveProperty, true); + return new MouseNotOverManagedWaitHandle(snackbar); + } + + private static async Task WaitForCompletionAsync( + MouseNotOverManagedWaitHandle mouseNotOverManagedWaitHandle, + WaitHandle durationPassedWaitHandle, WaitHandle actionClickWaitHandle) + { + await Task.WhenAny( + Task.Factory.StartNew(() => + { + WaitHandle.WaitAll(new[] + { + mouseNotOverManagedWaitHandle.WaitHandle, + durationPassedWaitHandle + }); + }), + Task.Factory.StartNew(actionClickWaitHandle.WaitOne)); + } + + private static void DoActionCallback(SnackbarMessageQueueItem messageQueueItem) + { + try + { + messageQueueItem.ActionHandler(messageQueueItem.ActionArgument); + + } + catch (Exception exc) + { + Trace.WriteLine("Error during SnackbarMessageQueue message action callback, exception will be rethrown."); + Trace.WriteLine($"{exc.Message} ({exc.GetType().FullName})"); + Trace.WriteLine(exc.StackTrace); + + throw; + } + } + + private static SnackbarMessage Create(SnackbarMessageQueueItem messageQueueItem) + { + return new SnackbarMessage + { + Content = messageQueueItem.Content, + ActionContent = messageQueueItem.ActionContent + }; + } + + public void Dispose() + { + _isDisposed = true; + _disposedEvent.Set(); + _disposedEvent.Dispose(); + _pausedEvent.Dispose(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageQueueItem.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageQueueItem.cs new file mode 100644 index 000000000..708749e7f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/SnackbarMessageQueueItem.cs @@ -0,0 +1,48 @@ +using System; + +namespace MaterialDesignThemes.Wpf +{ + internal class SnackbarMessageQueueItem + { + public SnackbarMessageQueueItem(object content, object actionContent = null, Action<object> actionHandler = null, object actionArgument = null, + bool isPromoted = false, bool ignoreDuplicate = false) + { + Content = content; + ActionContent = actionContent; + ActionHandler = actionHandler; + ActionArgument = actionArgument; + IsPromoted = isPromoted; + IgnoreDuplicate = ignoreDuplicate; + } + + /// <summary> + /// The content to be displayed + /// </summary> + public object Content { get; } + + /// <summary> + /// The content for the action button on the snackbar + /// </summary> + public object ActionContent { get; } + + /// <summary> + /// Handler to be invoked when the action button is clicked + /// </summary> + public Action<object> ActionHandler { get; } + + /// <summary> + /// The argument to pass to the <see cref="ActionHandler"/> delegate. + /// </summary> + public object ActionArgument { get; } + + /// <summary> + /// Promote the message, pushing it in front of any message that is not promoted. + /// </summary> + public bool IsPromoted { get; } + + /// <summary> + /// Still display this message even if it is a duplicate. + /// </summary> + public bool IgnoreDuplicate { get; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Spelling.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Spelling.cs new file mode 100644 index 000000000..a3b56038f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Spelling.cs @@ -0,0 +1,20 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public static class Spelling + { + public static ResourceKey SuggestionMenuItemStyleKey { get; } = new ComponentResourceKey(typeof(Spelling), ResourceKeyId.SpellingSuggestionMenuItemStyle); + public static ResourceKey IgnoreAllMenuItemStyleKey { get; } = new ComponentResourceKey(typeof(Spelling), ResourceKeyId.SpellingIgnoreAllMenuItemStyle); + public static ResourceKey NoSuggestionsMenuItemStyleKey { get; } = new ComponentResourceKey(typeof(Spelling), ResourceKeyId.SpellingNoSuggestionsMenuItemStyle); + public static ResourceKey SeparatorStyleKey { get; } = new ComponentResourceKey(typeof(Spelling), ResourceKeyId.SpellingSeparatorStyle); + } + + internal enum ResourceKeyId + { + SpellingSuggestionMenuItemStyle, + SpellingIgnoreAllMenuItemStyle, + SpellingNoSuggestionsMenuItemStyle, + SpellingSeparatorStyle, + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/StringExtensions.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/StringExtensions.cs new file mode 100644 index 000000000..3bdc79e08 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/StringExtensions.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MaterialDesignThemes.Wpf +{ + internal static class StringExtensions + { + public static string ToTitleCase(this string text, CultureInfo culture, string separator = " ") + { + TextInfo textInfo = culture.TextInfo; + + string lowerText = textInfo.ToLower(text); + string[] words = lowerText.Split(new[] { separator }, StringSplitOptions.None); + + return String.Join(separator, words.Select(v => textInfo.ToTitleCase(v))); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TextFieldAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TextFieldAssist.cs new file mode 100644 index 000000000..775124425 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TextFieldAssist.cs @@ -0,0 +1,283 @@ +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Documents; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// Helper properties for working with text fields. + /// </summary> + public static class TextFieldAssist + { + /// <summary> + /// The text box view margin property + /// </summary> + public static readonly DependencyProperty TextBoxViewMarginProperty = DependencyProperty.RegisterAttached( + "TextBoxViewMargin", + typeof(Thickness), + typeof(TextFieldAssist), + new FrameworkPropertyMetadata(new Thickness(double.NegativeInfinity), FrameworkPropertyMetadataOptions.Inherits, TextBoxViewMarginPropertyChangedCallback)); + + /// <summary> + /// Sets the text box view margin. + /// </summary> + /// <param name="element">The element.</param> + /// <param name="value">The value.</param> + public static void SetTextBoxViewMargin(DependencyObject element, Thickness value) + { + element.SetValue(TextBoxViewMarginProperty, value); + } + + /// <summary> + /// Gets the text box view margin. + /// </summary> + /// <param name="element">The element.</param> + /// <returns> + /// The <see cref="Thickness" />. + /// </returns> + public static Thickness GetTextBoxViewMargin(DependencyObject element) + { + return (Thickness)element.GetValue(TextBoxViewMarginProperty); + } + + + /// <summary> + /// Controls the visibility of the underline decoration. + /// </summary> + public static readonly DependencyProperty DecorationVisibilityProperty = DependencyProperty.RegisterAttached( + "DecorationVisibility", typeof(Visibility), typeof(TextFieldAssist), new PropertyMetadata(default(Visibility))); + + /// <summary> + /// Controls the visibility of the underline decoration. + /// </summary> + public static void SetDecorationVisibility(DependencyObject element, Visibility value) + { + element.SetValue(DecorationVisibilityProperty, value); + } + + /// <summary> + /// Controls the visibility of the underline decoration. + /// </summary> + /// <param name="element"></param> + /// <returns></returns> + public static Visibility GetDecorationVisibility(DependencyObject element) + { + return (Visibility)element.GetValue(DecorationVisibilityProperty); + } + + /// <summary> + /// Controls the visbility of the text field box. + /// </summary> + public static readonly DependencyProperty HasTextFieldBoxProperty = DependencyProperty.RegisterAttached( + "HasTextFieldBox", typeof(bool), typeof(TextFieldAssist), new PropertyMetadata(false)); + + public static void SetHasTextFieldBox(DependencyObject element, bool value) + { + element.SetValue(HasTextFieldBoxProperty, value); + } + + public static bool GetHasTextFieldBox(DependencyObject element) + { + return (bool)element.GetValue(HasTextFieldBoxProperty); + } + + /// <summary> + /// Controls the visibility of the text field area box. + /// </summary> + public static readonly DependencyProperty HasTextAreaBoxProperty = DependencyProperty.RegisterAttached( + "HasTextAreaBox", typeof(bool), typeof(TextFieldAssist), new PropertyMetadata(false)); + + public static void SetHasTextAreaBox(DependencyObject element, bool value) + { + element.SetValue(HasTextAreaBoxProperty, value); + } + + public static bool GetHasTextAreaBox(DependencyObject element) + { + return (bool)element.GetValue(HasTextAreaBoxProperty); + } + + /// <summary> + /// Automatially inserts spelling suggestions into the text box context menu. + /// </summary> + public static readonly DependencyProperty IncludeSpellingSuggestionsProperty = DependencyProperty.RegisterAttached( + "IncludeSpellingSuggestions", typeof(bool), typeof(TextFieldAssist), new PropertyMetadata(default(bool), IncludeSpellingSuggestionsChanged)); + + public static void SetIncludeSpellingSuggestions(TextBoxBase element, bool value) + { + element.SetValue(IncludeSpellingSuggestionsProperty, value); + } + + public static bool GetIncludeSpellingSuggestions(TextBoxBase element) + { + return (bool)element.GetValue(IncludeSpellingSuggestionsProperty); + } + + private static void IncludeSpellingSuggestionsChanged(DependencyObject element, DependencyPropertyChangedEventArgs e) + { + var textBox = element as TextBoxBase; + if (textBox != null) + { + if ((bool)e.NewValue) + { + textBox.ContextMenuOpening += TextBoxOnContextMenuOpening; + textBox.ContextMenuClosing += TextBoxOnContextMenuClosing; + } + else + { + textBox.ContextMenuOpening -= TextBoxOnContextMenuOpening; + textBox.ContextMenuClosing -= TextBoxOnContextMenuClosing; + } + } + } + + private static void TextBoxOnContextMenuOpening(object sender, ContextMenuEventArgs e) + { + var textBoxBase = sender as TextBoxBase; + + ContextMenu contextMenu = textBoxBase?.ContextMenu; + if (contextMenu == null) return; + + RemoveSpellingSuggestions(contextMenu); + + if (!SpellCheck.GetIsEnabled(textBoxBase)) return; + + SpellingError spellingError = GetSpellingError(textBoxBase); + if (spellingError != null) + { + Style spellingSuggestionStyle = + contextMenu.TryFindResource(Spelling.SuggestionMenuItemStyleKey) as Style; + + int insertionIndex = 0; + bool hasSuggestion = false; + foreach (string suggestion in spellingError.Suggestions) + { + hasSuggestion = true; + var menuItem = new MenuItem + { + CommandTarget = textBoxBase, + Command = EditingCommands.CorrectSpellingError, + CommandParameter = suggestion, + Style = spellingSuggestionStyle, + Tag = typeof(Spelling) + }; + contextMenu.Items.Insert(insertionIndex++, menuItem); + } + if (!hasSuggestion) + { + contextMenu.Items.Insert(insertionIndex++, new MenuItem + { + Style = contextMenu.TryFindResource(Spelling.NoSuggestionsMenuItemStyleKey) as Style, + Tag = typeof(Spelling) + }); + } + + contextMenu.Items.Insert(insertionIndex++, new Separator + { + Style = contextMenu.TryFindResource(Spelling.SeparatorStyleKey) as Style, + Tag = typeof(Spelling) + }); + + contextMenu.Items.Insert(insertionIndex++, new MenuItem + { + Command = EditingCommands.IgnoreSpellingError, + CommandTarget = textBoxBase, + Style = contextMenu.TryFindResource(Spelling.IgnoreAllMenuItemStyleKey) as Style, + Tag = typeof(Spelling) + }); + + contextMenu.Items.Insert(insertionIndex, new Separator + { + Style = contextMenu.TryFindResource(Spelling.SeparatorStyleKey) as Style, + Tag = typeof(Spelling) + }); + } + } + + private static SpellingError GetSpellingError(TextBoxBase textBoxBase) + { + var textBox = textBoxBase as TextBox; + if (textBox != null) + { + return textBox.GetSpellingError(textBox.CaretIndex); + } + var richTextBox = textBoxBase as RichTextBox; + if (richTextBox != null) + { + return richTextBox.GetSpellingError(richTextBox.CaretPosition); + } + return null; + } + + private static void TextBoxOnContextMenuClosing(object sender, ContextMenuEventArgs e) + { + var contextMenu = (sender as TextBoxBase)?.ContextMenu; + if (contextMenu != null) + { + RemoveSpellingSuggestions(contextMenu); + } + } + + private static void RemoveSpellingSuggestions(ContextMenu menu) + { + foreach (FrameworkElement item in (from item in menu.Items.OfType<FrameworkElement>() + where ReferenceEquals(item.Tag, typeof(Spelling)) + select item).ToList()) + { + menu.Items.Remove(item); + } + } + + #region Methods + + /// <summary> + /// Applies the text box view margin. + /// </summary> + /// <param name="textBox">The text box.</param> + /// <param name="margin">The margin.</param> + private static void ApplyTextBoxViewMargin(Control textBox, Thickness margin) + { + if (margin.Equals(new Thickness(double.NegativeInfinity))) + { + return; + } + + var frameworkElement = (textBox.Template.FindName("PART_ContentHost", textBox) as ScrollViewer)?.Content as FrameworkElement; + if (frameworkElement != null) + { + frameworkElement.Margin = margin; + } + } + + /// <summary> + /// The text box view margin property changed callback. + /// </summary> + /// <param name="dependencyObject">The dependency object.</param> + /// <param name="dependencyPropertyChangedEventArgs">The dependency property changed event args.</param> + private static void TextBoxViewMarginPropertyChangedCallback( + DependencyObject dependencyObject, + DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var box = dependencyObject as Control; //could be a text box or password box + if (box == null) + { + return; + } + + if (box.IsLoaded) + { + ApplyTextBoxViewMargin(box, (Thickness)dependencyPropertyChangedEventArgs.NewValue); + } + + box.Loaded += (sender, args) => + { + var textBox = (Control)sender; + ApplyTextBoxViewMargin(textBox, GetTextBoxViewMargin(textBox)); + }; + } + + #endregion + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/Generic.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/Generic.xaml new file mode 100644 index 000000000..0b08d67a9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/Generic.xaml @@ -0,0 +1,1103 @@ +<ResourceDictionary + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:controlzEx="clr-namespace:ControlzEx" + xmlns:transitions="clr-namespace:MaterialDesignThemes.Wpf.Transitions" + xmlns:system="clr-namespace:System;assembly=mscorlib"> + + <ResourceDictionary.MergedDictionaries> + <!-- we only bring in the dictionaries for controls which were "invented" + as part of Material Design in XAML Toolkit. Other themes, for existing controls + must be selected manually by the user, so that they override default styles. + The easiest way to do this is include: + + MaterialDesignTheme.Defaults.xaml + in your App.xaml + --> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Badged.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Card.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Chip.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Clock.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Flipper.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PopupBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.RatingBar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TimePicker.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Font.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.SmartHint.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Snackbar.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <!-- set up default styles for our custom Material Design in XAML Toolkit controls --> + <Style TargetType="{x:Type local:Clock}" BasedOn="{StaticResource MaterialDesignClock}" /> + <Style TargetType="{x:Type local:PopupBox}" BasedOn="{StaticResource MaterialDesignPopupBox}" /> + <Style TargetType="{x:Type local:TimePicker}" BasedOn="{StaticResource MaterialDesignTimePicker}" /> + + <converters:BrushToRadialGradientBrushConverter x:Key="BrushToRadialGradientBrushConverter" /> + <converters:DrawerOffsetConverter x:Key="DrawerOffsetConverter" /> + + <system:Boolean x:Key="True">True</system:Boolean> + + <Style TargetType="{x:Type local:Ripple}"> + <Setter Property="RecognizesAccessKey" Value="True" /> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="IsTabStop" Value="False" /> + <Setter Property="ClipToBounds" Value="{Binding RelativeSource={RelativeSource Self}, Path=(local:RippleAssist.ClipToBounds)}" /> + <Setter Property="Feedback" Value="{Binding RelativeSource={RelativeSource Self}, Path=(local:RippleAssist.Feedback)}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:Ripple}"> + <Grid Background="Transparent"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Normal" To="MousePressed"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:1.2" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseIn" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:1.2" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseIn" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.05" Value=".26"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="MousePressed" To="MouseOut"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0:0:0.12" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseIn" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0:0:0.12" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseIn" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse"> + <EasingDoubleKeyFrame KeyTime="0:0:0.12" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="MousePressed" To="Normal"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0:0:0.30" Value="1" x:Name="MousePressedToNormalScaleXKeyFrame"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.50" Value="1"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.50" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform"> + <EasingDoubleKeyFrame KeyTime="0:0:0.30" Value="1" x:Name="MousePressedToNormalScaleYKeyFrame"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.50" Value="1"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.50" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse"> + <EasingDoubleKeyFrame KeyTime="0:0:0.05" Value=".26"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.30" Value=".26"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.50" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform" To="0"/> + <DoubleAnimation Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform" To="0"/> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse" To="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="MousePressed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform" To="1"/> + <DoubleAnimation Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform" To="1"/> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse" To="0.26"/> + </Storyboard> + </VisualState> + <VisualState x:Name="MouseOut"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="ScaleTransform" To="0"/> + <DoubleAnimation Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="ScaleTransform" To="0"/> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ClickEllipse" To="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + + <Canvas IsHitTestVisible="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> + <Ellipse x:Name="ClickEllipse" Fill="{TemplateBinding Feedback}" Opacity="0" + Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleSize}" + Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleSize}" + Canvas.Left="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleX}" + Canvas.Top="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RippleY}" + RenderTransformOrigin=".5,.5"> + <Ellipse.RenderTransform> + <TransformGroup> + <ScaleTransform x:Name="ScaleTransform" ScaleX="0" ScaleY="0" /> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform x:Name="TranslateTransform"/> + </TransformGroup> + </Ellipse.RenderTransform> + </Ellipse> + </Canvas> + <ContentPresenter Content="{TemplateBinding Content}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + RecognizesAccessKey="{TemplateBinding RecognizesAccessKey}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type local:Underline}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="SnapsToDevicePixels" Value="True"/> + <Setter Property="HorizontalAlignment" Value="Stretch"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="Height" Value="2"/> + <Setter Property="IsTabStop" Value="False"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:Underline}"> + <ControlTemplate.Resources> + <CircleEase x:Key="UnderlineEasingFunction" EasingMode="EaseOut"/> + </ControlTemplate.Resources> + <Border x:Name="UnderlineBorder" + Background="{TemplateBinding Background}" + CornerRadius="{TemplateBinding CornerRadius}" + IsHitTestVisible="False" + Height="{TemplateBinding Height}" + VerticalAlignment="{TemplateBinding VerticalAlignment}" + HorizontalAlignment="{TemplateBinding HorizontalAlignment}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + RenderTransformOrigin="0.5,0.5"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="ActivationStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Inactive" To="Active"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ScaleTransform" + Storyboard.TargetProperty="ScaleX" + Duration="0:0:0.3" + EasingFunction="{StaticResource UnderlineEasingFunction}" + To="1"/> + </Storyboard> + </VisualTransition> + <VisualTransition From="Active" To="Inactive"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ScaleTransform" + Storyboard.TargetProperty="ScaleX" + Duration="0:0:0.3" + EasingFunction="{StaticResource UnderlineEasingFunction}" + To="0"/> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Active"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ScaleTransform" + Storyboard.TargetProperty="ScaleX" + Duration="0" + To="1"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Inactive"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ScaleTransform" + Storyboard.TargetProperty="ScaleX" + Duration="0" + To="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Border.RenderTransform> + <ScaleTransform ScaleX="0" ScaleY="1" x:Name="ScaleTransform" /> + </Border.RenderTransform> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type local:MaterialDateDisplay}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:MaterialDateDisplay}"> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}"> + <StackPanel Orientation="Vertical" + Margin="0"> + <TextBlock x:Name="ComponentThreeTextBlock" + Text="{TemplateBinding ComponentThreeContent}" + HorizontalAlignment="Left" + FontSize="15" FontWeight="Normal" /> + <StackPanel x:Name="ComponentOneTwoWrapper" Orientation="Horizontal" + HorizontalAlignment="Left"> + <TextBlock Text="{TemplateBinding ComponentTwoContent}" FontSize="30" FontWeight="Normal" /> + <TextBlock Text="{TemplateBinding ComponentOneContent}" Margin="10 0 0 0" FontSize="30" FontWeight="Normal" /> + </StackPanel> + </StackPanel> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsDayInFirstComponent" Value="True"> + <Setter TargetName="ComponentThreeTextBlock" Property="Opacity" Value=".56"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter TargetName="ComponentThreeTextBlock" Property="Opacity" Value="1"/> + <Setter TargetName="ComponentOneTwoWrapper" Property="Opacity" Value=".56"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type local:ListSortDirectionIndicator}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:ListSortDirectionIndicator}"> + <Viewbox Margin="0,0,0,0" > + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="Direction"> + <VisualStateGroup.Transitions> + <VisualTransition From="None" GeneratedDuration="0" To="Ascending"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimation Duration="0:0:0.2" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"/> + <DoubleAnimation Duration="0:0:0.2" To="90" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path" BeginTime="0:0:0.2"/> + </Storyboard> + </VisualTransition> + <VisualTransition From="None" GeneratedDuration="0" To="Descending"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimation Duration="0:0:0.2" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"/> + <DoubleAnimation Duration="0:0:0.2" To="-90" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path" BeginTime="0:0:0.2"> + <DoubleAnimation.EasingFunction> + <CubicEase EasingMode="EaseOut"/> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </VisualTransition> + <VisualTransition From="Ascending" GeneratedDuration="0" To="Descending"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"> + <DoubleAnimation.EasingFunction> + <CubicEase EasingMode="EaseOut"/> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + <DoubleAnimation Duration="0:0:0.2" To="-90" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path" From="90"/> + </Storyboard> + </VisualTransition> + <VisualTransition From="Ascending" GeneratedDuration="0" To="None"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"/> + <DoubleAnimation Duration="0" To="90" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path"/> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Descending" GeneratedDuration="0" To="Ascending"> + <Storyboard> + <DoubleAnimation Duration="0:0:0.2" To="90" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path" From="-90"/> + </Storyboard> + </VisualTransition> + <VisualTransition From="Descending" GeneratedDuration="0" To="None"> + <Storyboard> + <DoubleAnimation Duration="0" To="-90" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path"/> + <DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"/> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="None"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Ascending"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="90"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Descending"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="-90"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="path"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Path x:Name="path" Data="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z" Fill="{TemplateBinding Foreground}" + RenderTransformOrigin="0.5,0.5" Height="24" Stretch="Fill" Width="24" > + <Path.RenderTransform> + <TransformGroup> + <ScaleTransform ScaleY="0"/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Path.RenderTransform> + </Path> + </Viewbox> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type local:ColorZone}"> + <Style.Resources> + <converters:ShadowEdgeConverter x:Key="ShadowEdgeConverter" /> + </Style.Resources> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + <Setter Property="HorizontalContentAlignment" Value="Stretch" /> + <Setter Property="VerticalContentAlignment" Value="Stretch" /> + <Setter Property="VerticalAlignment" Value="Top" /> + <Setter Property="IsTabStop" Value="False" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:ColorZone}"> + <Grid Background="Transparent"> + <Grid.OpacityMask> + <MultiBinding Converter="{StaticResource ShadowEdgeConverter}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="ActualWidth"/> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="ActualHeight"/> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="(local:ShadowAssist.ShadowDepth)" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="(local:ShadowAssist.ShadowEdges)" /> + </MultiBinding> + </Grid.OpacityMask> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(local:ShadowAssist.CacheMode)}"> + <Border Background="{TemplateBinding Background}" + CornerRadius="{TemplateBinding CornerRadius}" + Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(local:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}"> + </Border> + </AdornerDecorator> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + CornerRadius="{TemplateBinding CornerRadius}" + ClipToBounds="True"> + <ContentPresenter Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + TextElement.Foreground="{TemplateBinding Foreground}" + RecognizesAccessKey="True" + Cursor="{TemplateBinding Cursor}" + Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Border> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="Mode" Value="Inverted"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignBody}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignPaper}" /> + </Trigger> + <Trigger Property="Mode" Value="PrimaryLight"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}" /> + </Trigger> + <Trigger Property="Mode" Value="PrimaryMid"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}" /> + </Trigger> + <Trigger Property="Mode" Value="PrimaryDark"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}" /> + </Trigger> + <Trigger Property="Mode" Value="Accent"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}" /> + </Trigger> + <Trigger Property="Mode" Value="Light"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignLightBackground}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignLightForeground}" /> + </Trigger> + <Trigger Property="Mode" Value="Dark"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDarkBackground}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignDarkForeground}" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignDialogHostPopup" TargetType="{x:Type controlzEx:PopupEx}"> + <Setter Property="StaysOpen" Value="True" /> + <Setter Property="AllowsTransparency" Value="True" /> + <Setter Property="PopupAnimation" Value="None" /> + <Setter Property="Placement" Value="Center" /> + </Style> + + <Style TargetType="{x:Type local:DialogHost}"> + <Setter Property="DialogMargin" Value="22" /> + <Setter Property="local:ShadowAssist.ShadowDepth" Value="Depth5" /> + <Setter Property="PopupStyle" Value="{StaticResource MaterialDesignDialogHostPopup}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="local:DialogHost"> + <Grid x:Name="DialogHostRoot" Focusable="False"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="PopupStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Closed" To="Open"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value="0.56" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_PopupContentElement" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CardScaleTransform" Storyboard.TargetProperty="ScaleX"> + <EasingDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CardScaleTransform" Storyboard.TargetProperty="ScaleY"> + <EasingDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Open" To="Closed"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0:0:0.3" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="0.56" KeyTime="0" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_PopupContentElement" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.18" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CardScaleTransform" Storyboard.TargetProperty="ScaleX"> + <EasingDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.18" /> + <EasingDoubleKeyFrame Value="0.5" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="CardScaleTransform" Storyboard.TargetProperty="ScaleY"> + <EasingDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.18" /> + <EasingDoubleKeyFrame Value="0.5" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Open"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="PART_ContentCoverGrid" Storyboard.TargetProperty="Opacity" + Duration="0" + To=".56" /> + <DoubleAnimation Storyboard.TargetName="PART_PopupContentElement" Storyboard.TargetProperty="Opacity" + Duration="0" + To="1" /> + <DoubleAnimation Storyboard.TargetName="CardScaleTransform" Storyboard.TargetProperty="ScaleX" + Duration="0" + To="1" /> + <DoubleAnimation Storyboard.TargetName="CardScaleTransform" Storyboard.TargetProperty="ScaleY" + Duration="0" + To="1" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Closed"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_Popup" Storyboard.TargetProperty="IsOpen"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0:0:0.3" /> + </BooleanAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <controlzEx:PopupEx PlacementTarget="{Binding ElementName=DialogHostRoot, Mode=OneWay}" + x:Name="PART_Popup" + Style="{TemplateBinding PopupStyle}"> + <controlzEx:PopupEx.Resources> + <ResourceDictionary> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /> + </ResourceDictionary.MergedDictionaries> + </ResourceDictionary> + </controlzEx:PopupEx.Resources> + <local:Card x:Name="PART_PopupContentElement" + Margin="{TemplateBinding DialogMargin}" + local:ShadowAssist.ShadowDepth="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(local:ShadowAssist.ShadowDepth)}" + UniformCornerRadius="4" + TextElement.Foreground="{DynamicResource MaterialDesignBody}" + TextElement.FontWeight="Regular" + TextElement.FontSize="13" + TextOptions.TextFormattingMode="Ideal" + TextOptions.TextRenderingMode="Auto" + FocusManager.IsFocusScope="False" + Foreground="{DynamicResource MaterialDesignBody}" + FontFamily="{StaticResource MaterialDesignFont}" + Focusable="True" + IsTabStop="False" + Opacity="0" + RenderTransformOrigin=".5,.5" + Content="{TemplateBinding DialogContent}" + ContentTemplate="{TemplateBinding DialogContentTemplate}" + ContentTemplateSelector="{TemplateBinding DialogContentTemplateSelector}" + ContentStringFormat="{TemplateBinding DialogContentStringFormat}"> + <local:Card.RenderTransform> + <TransformGroup> + <ScaleTransform x:Name="CardScaleTransform" + ScaleX="0" + ScaleY="0" /> + </TransformGroup> + </local:Card.RenderTransform> + </local:Card> + </controlzEx:PopupEx> + <AdornerDecorator> + <ContentPresenter + x:Name="ContentPresenter" Opacity="1" + Content="{TemplateBinding ContentControl.Content}" ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}" ContentStringFormat="{TemplateBinding ContentControl.ContentStringFormat}" /> + </AdornerDecorator> + <Grid x:Name="PART_ContentCoverGrid" Background="{x:Null}" Opacity="0" IsHitTestVisible="False" Focusable="False" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsOpen" Value="True"> + <Setter TargetName="ContentPresenter" Property="IsEnabled" Value="False" /> + <Setter TargetName="PART_ContentCoverGrid" Property="Background" Value="Black" /> + <Setter TargetName="PART_ContentCoverGrid" Property="IsHitTestVisible" Value="True" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <SolidColorBrush x:Key="BlackBackground" Color="Black" /> + + <Style TargetType="{x:Type local:DrawerHost}"> + <Setter Property="local:ShadowAssist.ShadowDepth" Value="Depth3" /> + <Setter Property="ClipToBounds" Value="True" /> + <Setter Property="LeftDrawerBackground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="TopDrawerBackground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="RightDrawerBackground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="BottomDrawerBackground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="IsTabStop" Value="False" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:DrawerHost}"> + <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="AllDrawers"> + <VisualStateGroup.Transitions> + <VisualTransition From="AllClosed" To="AnyOpen"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="IsEnabled"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value=".56" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" + Storyboard.TargetProperty="Background"> + <DiscreteObjectKeyFrame Value="{StaticResource BlackBackground}" KeyTime="0" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="AnyOpen" To="AllClosed"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="0.56" KeyTime="0" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.3"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="AnyOpen"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="Opacity" + To=".56" Duration="0" /> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="IsEnabled"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" + Storyboard.TargetProperty="Background"> + <DiscreteObjectKeyFrame Value="{StaticResource BlackBackground}" KeyTime="0" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="AllClosed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="Opacity" + To="0" /> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_ContentCover" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="False" /> + </BooleanAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="LeftDrawer"> + <VisualStateGroup.Transitions> + <VisualTransition From="LeftDrawerClosed" To="LeftDrawerOpen"> + <Storyboard> + <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_LeftDrawer"> + <EasingThicknessKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingThicknessKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingThicknessKeyFrame.EasingFunction> + </EasingThicknessKeyFrame> + </ThicknessAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="LeftDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.04" /> + </Storyboard> + </VisualTransition> + <VisualTransition From="LeftDrawerOpen" To="LeftDrawerClosed"> + <Storyboard> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_LeftDrawer" Duration="0:0:0.4"> + <ThicknessAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </ThicknessAnimation.EasingFunction> + </ThicknessAnimation> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LeftDrawerShadow" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.36" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="LeftDrawerOpen"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="LeftDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_LeftDrawer" To="0" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="LeftDrawerClosed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="LeftDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="0" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_LeftDrawer" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="RightDrawer"> + <VisualStateGroup.Transitions> + <VisualTransition From="RightDrawerClosed" To="RightDrawerOpen"> + <Storyboard> + <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_RightDrawer"> + <EasingThicknessKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingThicknessKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingThicknessKeyFrame.EasingFunction> + </EasingThicknessKeyFrame> + </ThicknessAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="RightDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.04" /> + </Storyboard> + </VisualTransition> + <VisualTransition From="RightDrawerOpen" To="RightDrawerClosed"> + <Storyboard> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_RightDrawer" Duration="0:0:0.4"> + <ThicknessAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </ThicknessAnimation.EasingFunction> + </ThicknessAnimation> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="RightDrawerShadow" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.36" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="RightDrawerOpen"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="RightDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_RightDrawer" To="0 0 0 0" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="RightDrawerClosed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="RightDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="0" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_RightDrawer" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="TopDrawer"> + <VisualStateGroup.Transitions> + <VisualTransition From="TopDrawerClosed" To="TopDrawerOpen"> + <Storyboard> + <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_TopDrawer"> + <EasingThicknessKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingThicknessKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingThicknessKeyFrame.EasingFunction> + </EasingThicknessKeyFrame> + </ThicknessAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="TopDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.04" /> + </Storyboard> + </VisualTransition> + <VisualTransition From="TopDrawerOpen" To="TopDrawerClosed"> + <Storyboard> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_TopDrawer" Duration="0:0:0.4"> + <ThicknessAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </ThicknessAnimation.EasingFunction> + </ThicknessAnimation> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="TopDrawerShadow" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.36" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="TopDrawerOpen"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="TopDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_TopDrawer" To="0" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="TopDrawerClosed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="TopDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="0" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_TopDrawer" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="BottomDrawer"> + <VisualStateGroup.Transitions> + <VisualTransition From="BottomDrawerClosed" To="BottomDrawerOpen"> + <Storyboard> + <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_BottomDrawer"> + <EasingThicknessKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingThicknessKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingThicknessKeyFrame.EasingFunction> + </EasingThicknessKeyFrame> + </ThicknessAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="BottomDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.04" /> + </Storyboard> + </VisualTransition> + <VisualTransition From="BottomDrawerOpen" To="BottomDrawerClosed"> + <Storyboard> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_BottomDrawer" Duration="0:0:0.4"> + <ThicknessAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </ThicknessAnimation.EasingFunction> + </ThicknessAnimation> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BottomDrawerShadow" Storyboard.TargetProperty="Opacity"> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.36" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="BottomDrawerOpen"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="BottomDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_BottomDrawer" To="0 0 0 0" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState x:Name="BottomDrawerClosed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="BottomDrawerShadow" Storyboard.TargetProperty="Opacity" From="0" To="0" Duration="0" /> + <ThicknessAnimation Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_BottomDrawer" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid x:Name="RootGrid"> + <AdornerDecorator> + <ContentPresenter + x:Name="ContentPresenter" Opacity="1" + Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentStringFormat="{TemplateBinding ContentStringFormat}" /> + </AdornerDecorator> + <Grid x:Name="PART_ContentCover" Background="{x:Null}" Opacity="0" IsHitTestVisible="False" Focusable="False" /> + <Grid> + <Grid HorizontalAlignment="Left" VerticalAlignment="Stretch" + x:Name="PART_LeftDrawer" + Margin="{Binding RelativeSource={RelativeSource Self}, Path=ActualWidth, Converter={StaticResource DrawerOffsetConverter}, ConverterParameter={x:Static Dock.Left}}" + Panel.ZIndex="{TemplateBinding LeftDrawerZIndex}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(local:ShadowAssist.CacheMode)}"> + <Border Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(local:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + Opacity="0" + Background="{TemplateBinding LeftDrawerBackground}" + x:Name="LeftDrawerShadow"> + </Border> + </AdornerDecorator> + <ContentPresenter Content="{TemplateBinding LeftDrawerContent}" ContentTemplate="{TemplateBinding LeftDrawerContentTemplate}" ContentStringFormat="{TemplateBinding LeftDrawerContentStringFormat}" + IsEnabled="{TemplateBinding IsLeftDrawerOpen}" + /> + </Grid> + <Grid VerticalAlignment="Stretch" HorizontalAlignment="Right" + x:Name="PART_RightDrawer" + Margin="{Binding RelativeSource={RelativeSource Self}, Path=ActualWidth, Converter={StaticResource DrawerOffsetConverter}, ConverterParameter={x:Static Dock.Right}}" + Panel.ZIndex="{TemplateBinding RightDrawerZIndex}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(local:ShadowAssist.CacheMode)}"> + <Border Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(local:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + Opacity="0" + Background="{TemplateBinding RightDrawerBackground}" + x:Name="RightDrawerShadow"> + </Border> + </AdornerDecorator> + <ContentPresenter Content="{TemplateBinding RightDrawerContent}" ContentTemplate="{TemplateBinding RightDrawerContentTemplate}" ContentStringFormat="{TemplateBinding RightDrawerContentStringFormat}" + IsEnabled="{TemplateBinding IsRightDrawerOpen}" /> + </Grid> + <Grid HorizontalAlignment="Stretch" VerticalAlignment="Top" + x:Name="PART_TopDrawer" + Margin="{Binding RelativeSource={RelativeSource Self}, Path=ActualHeight, Converter={StaticResource DrawerOffsetConverter}, ConverterParameter={x:Static Dock.Top}}" + Panel.ZIndex="{TemplateBinding TopDrawerZIndex}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(local:ShadowAssist.CacheMode)}"> + <Border Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(local:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + Opacity="0" + Background="{TemplateBinding TopDrawerBackground}" + x:Name="TopDrawerShadow"> + </Border> + </AdornerDecorator> + <ContentPresenter Content="{TemplateBinding TopDrawerContent}" ContentTemplate="{TemplateBinding TopDrawerContentTemplate}" ContentStringFormat="{TemplateBinding TopDrawerContentStringFormat}" + IsEnabled="{TemplateBinding IsTopDrawerOpen}" /> + </Grid> + <Grid VerticalAlignment="Bottom" HorizontalAlignment="Stretch" + x:Name="PART_BottomDrawer" + Margin="{Binding RelativeSource={RelativeSource Self}, Path=ActualHeight, Converter={StaticResource DrawerOffsetConverter}, ConverterParameter={x:Static Dock.Bottom}}" + Panel.ZIndex="{TemplateBinding BottomDrawerZIndex}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(local:ShadowAssist.CacheMode)}"> + <Border Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(local:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + Opacity="0" + Background="{TemplateBinding BottomDrawerBackground}" + x:Name="BottomDrawerShadow"> + </Border> + </AdornerDecorator> + <ContentPresenter Content="{TemplateBinding BottomDrawerContent}" ContentTemplate="{TemplateBinding BottomDrawerContentTemplate}" ContentStringFormat="{TemplateBinding BottomDrawerContentStringFormat}" + IsEnabled="{TemplateBinding IsBottomDrawerOpen}"/> + </Grid> + </Grid> + </Grid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type local:PackIcon}"> + <Setter Property="Height" Value="16" /> + <Setter Property="Width" Value="16" /> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="VerticalAlignment" Value="Top" /> + <Setter Property="IsTabStop" Value="False" /> + <Setter Property="FlowDirection" Value="LeftToRight" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type local:PackIcon}"> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}"> + <Viewbox FlowDirection="{TemplateBinding FlowDirection}"> + <Canvas Width="24" Height="24"> + <Path Data="{Binding Data, RelativeSource={RelativeSource TemplatedParent}}" + Fill="{TemplateBinding Foreground}" /> + </Canvas> + </Viewbox> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type transitions:Transitioner}"> + <Setter Property="ClipToBounds" Value="True" /> + <Setter Property="ItemsPanel"> + <Setter.Value> + <ItemsPanelTemplate> + <Grid IsItemsHost="True" /> + </ItemsPanelTemplate> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type transitions:Transitioner}"> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}"> + <ItemsPresenter x:Name="ItemsPresenter" /> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="SelectedIndex" Value="-1"> + <Setter TargetName="ItemsPresenter" Property="Visibility" Value="Hidden" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type transitions:TransitioningContentBase}"> + <Setter Property="KeyboardNavigation.IsTabStop" Value="False"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type transitions:TransitioningContentBase}"> + <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" + x:Name="Border"> + <ContentPresenter + x:Name="ContentPresenter" + Margin="{TemplateBinding Padding}" + Content="{TemplateBinding ContentControl.Content}" + ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentControl.ContentTemplateSelector}" + ContentStringFormat="{TemplateBinding ContentControl.ContentStringFormat}" + RenderTransformOrigin=".5,.5"> + <ContentPresenter.RenderTransform> + <TransformGroup> + <MatrixTransform x:Name="PART_MatrixTransform" /> + <RotateTransform x:Name="PART_RotateTransform" Angle="0" /> + <ScaleTransform x:Name="PART_ScaleTransform" ScaleX="1" ScaleY="1" /> + <SkewTransform x:Name="PART_SkewTransform" AngleX="0" AngleY="0" /> + <TranslateTransform x:Name="PART_TranslateTransform" X="0" Y="0" /> + </TransformGroup> + </ContentPresenter.RenderTransform> + </ContentPresenter> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type transitions:TransitioningContent}" BasedOn="{StaticResource {x:Type transitions:TransitioningContentBase}}" /> + + <Style TargetType="{x:Type transitions:TransitionerSlide}" BasedOn="{StaticResource {x:Type transitions:TransitioningContentBase}}"> + <Setter Property="RenderTransformOrigin" Value=".5,.5" /> + <Setter Property="IsEnabled" Value="False" /> + <Setter Property="Visibility" Value="Hidden" /> + <Style.Triggers> + <Trigger Property="State" Value="Current"> + <Setter Property="Visibility" Value="Visible" /> + <Setter Property="IsEnabled" Value="True" /> + </Trigger> + <Trigger Property="State" Value="Previous"> + <Setter Property="Visibility" Value="Visible" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Badged.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Badged.xaml new file mode 100644 index 000000000..dc97893fd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Badged.xaml @@ -0,0 +1,139 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf"> + + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + <SineEase EasingMode="EaseOut" x:Key="BadgeEase" /> + <Storyboard x:Key="BadgeChangedStoryboard"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"> + <EasingDoubleKeyFrame KeyTime="0" Value="1.4" /> + <EasingDoubleKeyFrame EasingFunction="{StaticResource BadgeEase}" KeyTime="0:0:0.3" Value="1" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"> + <EasingDoubleKeyFrame KeyTime="0" Value="1.4" /> + <EasingDoubleKeyFrame EasingFunction="{StaticResource BadgeEase}" KeyTime="0:0:0.3" Value="1" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + + <Style TargetType="{x:Type wpf:Badged}"> + <Setter Property="IsTabStop" Value="False" /> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="VerticalAlignment" Value="Top" /> + <Setter Property="BadgeColorZoneMode" Value="PrimaryLight" /> + <Setter Property="BadgePlacementMode" Value="TopRight" /> + <Setter Property="BadgeChangedStoryboard" Value="{StaticResource BadgeChangedStoryboard}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:Badged}"> + <Grid> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}"> + <ContentPresenter Content="{TemplateBinding Content}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Border> + <Border x:Name="PART_BadgeContainer" + CornerRadius="9" Background="{TemplateBinding BadgeBackground}" + MinWidth="18" MinHeight="18" + HorizontalAlignment="Left" VerticalAlignment="Top" Padding="2" + TextElement.FontSize="11" + TextElement.FontWeight="DemiBold" + RenderTransformOrigin=".5,.5" + Visibility="{TemplateBinding IsBadgeSet, Converter={StaticResource BooleanToVisibilityConverter}}"> + <Border.Resources> + <Style TargetType="wpf:PackIcon"> + <Setter Property="Width" Value="12" /> + <Setter Property="Height" Value="12" /> + </Style> + </Border.Resources> + <Border.RenderTransform> + <ScaleTransform ScaleX="1" ScaleY="1" /> + </Border.RenderTransform> + <ContentControl Foreground="{TemplateBinding BadgeForeground}" + IsTabStop="False" + Focusable="False" + HorizontalAlignment="Center" VerticalAlignment="Center" + Margin="1 0 1 0" + Content="{TemplateBinding Badge}" /> + </Border> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="BadgePlacementMode" Value="TopLeft"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Left" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Top" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="Top"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Center" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Top" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="TopRight"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Right" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Top" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="Right"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Right" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Center" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="BottomRight"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Right" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Bottom" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="Bottom"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Center" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Bottom" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="BottomLeft"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Left" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Bottom" /> + </Trigger> + <Trigger Property="BadgePlacementMode" Value="Left"> + <Setter TargetName="PART_BadgeContainer" Property="HorizontalAlignment" Value="Left" /> + <Setter TargetName="PART_BadgeContainer" Property="VerticalAlignment" Value="Center" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="BadgeColorZoneMode" Value="Standard"> + <Setter Property="BadgeBackground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource MaterialDesignBody}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="Inverted"> + <Setter Property="BadgeBackground" Value="{DynamicResource MaterialDesignBody}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource MaterialDesignPaper}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="PrimaryLight"> + <Setter Property="BadgeBackground" Value="{DynamicResource PrimaryHueLightBrush}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource PrimaryHueLightForegroundBrush}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="PrimaryMid"> + <Setter Property="BadgeBackground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource PrimaryHueMidForegroundBrush}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="PrimaryDark"> + <Setter Property="BadgeBackground" Value="{DynamicResource PrimaryHueDarkBrush}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="Accent"> + <Setter Property="BadgeBackground" Value="{DynamicResource SecondaryAccentBrush}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource SecondaryAccentForegroundBrush}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="Light"> + <Setter Property="BadgeBackground" Value="{DynamicResource MaterialDesignLightBackground}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource MaterialDesignLightForeground}" /> + </Trigger> + <Trigger Property="BadgeColorZoneMode" Value="Dark"> + <Setter Property="BadgeBackground" Value="{DynamicResource MaterialDesignDarkBackground}" /> + <Setter Property="BadgeForeground" Value="{DynamicResource MaterialDesignDarkForeground}" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Button.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Button.xaml new file mode 100644 index 000000000..2366a65d0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Button.xaml @@ -0,0 +1,319 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:system="clr-namespace:System;assembly=mscorlib"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <converters:RangeLengthConverter x:Key="RangeLengthConverter" /> + <converters:MathConverter x:Key="MathAddConverter" Operation="Add" /> + <system:Int32 x:Key="ProgressRingStrokeWidth">8</system:Int32> + + <SolidColorBrush x:Key="AttentionToActionBrush" Color="{StaticResource MaterialDesignShadow}" Opacity=".23" po:Freeze="True" /> + + <Style x:Key="MaterialDesignRaisedButton" TargetType="{x:Type ButtonBase}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/> + <Setter Property="wpf:RippleAssist.Feedback" Value="White" /> + <Setter Property="Cursor" Value="Hand"/> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth1" /> + <Setter Property="TextBlock.FontWeight" Value="Medium"/> + <Setter Property="TextBlock.FontSize" Value="14"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="16 4 16 4"/> + <Setter Property="Height" Value="32" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ButtonBase}"> + <Grid> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Grid> + <Border Background="{TemplateBinding Background}" CornerRadius="2" + BorderThickness="{TemplateBinding BorderThickness}" + BorderBrush="{TemplateBinding BorderBrush}" + x:Name="border" + Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" /> + <Border HorizontalAlignment="Left" Background="{DynamicResource MaterialDesignBackground}" Opacity=".4"> + <Border.Width> + <MultiBinding Converter="{StaticResource RangeLengthConverter}"> + <Binding Path="(wpf:ButtonProgressAssist.Minimum)" RelativeSource="{RelativeSource TemplatedParent}" /> + <Binding Path="(wpf:ButtonProgressAssist.Maximum)" RelativeSource="{RelativeSource TemplatedParent}" /> + <Binding Path="(wpf:ButtonProgressAssist.Value)" RelativeSource="{RelativeSource TemplatedParent}" /> + <Binding Path="ActualWidth" RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type ButtonBase}}" /> + </MultiBinding> + </Border.Width> + </Border> + </Grid> + </AdornerDecorator> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" /> + </Trigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" /> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignRaisedLightButton" TargetType="{x:Type ButtonBase}" BasedOn="{StaticResource MaterialDesignRaisedButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignRaisedDarkButton" TargetType="{x:Type ButtonBase}" BasedOn="{StaticResource MaterialDesignRaisedButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignRaisedAccentButton" TargetType="{x:Type ButtonBase}" BasedOn="{StaticResource MaterialDesignRaisedButton}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignFlatButton" TargetType="{x:Type Button}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="Cursor" Value="Hand"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="wpf:RippleAssist.Feedback" Value="{DynamicResource MaterialDesignFlatButtonRipple}" /> + <Setter Property="TextBlock.FontWeight" Value="Medium"/> + <Setter Property="TextBlock.FontSize" Value="14"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="16 4 16 4"/> + <Setter Property="Height" Value="32" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Button}"> + <Grid> + <Border Background="{TemplateBinding Background}" x:Name="border" CornerRadius="2" + BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Border> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsDefaulted" Value="true"> + <!--Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/--> + </Trigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource MaterialDesignFlatButtonClick}" /> + <Setter Property="Background" TargetName="border" Value="{DynamicResource MaterialDesignFlatButtonClick}" /> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignFlatAccentButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFlatButton}"> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentBrush}"/> + </Style> + + <Style x:Key="MaterialDesignToolButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFlatButton}"> + <Setter Property="Foreground" Value="#616161" /> + <Setter Property="Padding" Value="4"/> + <Setter Property="wpf:RippleAssist.ClipToBounds" Value="False"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="Button"> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignToolForegroundButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignToolButton}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + </Style> + + <Style x:Key="MaterialDesignFloatingActionMiniButton" TargetType="{x:Type Button}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/> + <Setter Property="wpf:RippleAssist.Feedback" Value="White" /> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource SecondaryAccentBrush}" /> + <Setter Property="wpf:ButtonProgressAssist.IndicatorBackground" Value="{DynamicResource MaterialDesignDivider}" /> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Cursor" Value="Hand"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth2" /> + <Setter Property="Padding" Value="1"/> + <Setter Property="Width" Value="40" /> + <Setter Property="Height" Value="40" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Button}"> + <Grid> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Ellipse Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" + Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + x:Name="border"> + </Ellipse> + </AdornerDecorator> + <ProgressBar x:Name="ProgressBar" + Style="{DynamicResource MaterialDesignCircularProgressBar}" + Minimum="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.Minimum)}" + Maximum="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.Maximum)}" + Foreground="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.IndicatorForeground)}" + Background="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.IndicatorBackground)}" + Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.Value)}" + IsIndeterminate="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ButtonProgressAssist.IsIndeterminate)}" + Margin="-8" + Width="{TemplateBinding Width, Converter={StaticResource MathAddConverter}, ConverterParameter={StaticResource ProgressRingStrokeWidth}}" + Height="{TemplateBinding Height, Converter={StaticResource MathAddConverter}, ConverterParameter={StaticResource ProgressRingStrokeWidth}}" + HorizontalAlignment="Stretch" + VerticalAlignment="Stretch" + RenderTransformOrigin=".5, .5"> + <ProgressBar.RenderTransform> + <TransformGroup> + <ScaleTransform ScaleX="0" ScaleY="0" /> + </TransformGroup> + </ProgressBar.RenderTransform> + </ProgressBar> + <Ellipse Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" /> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + Clip="{Binding ElementName=GeometryEllipse, Path=RenderedGeometry}" ClipToBounds="True" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + <Ellipse x:Name="GeometryEllipse" Fill="Transparent" IsHitTestVisible="False" Focusable="False" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsDefaulted" Value="true"> + <Setter Property="Stroke" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + <Trigger Property="IsMouseOver" Value="True"> + <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" /> + </Trigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" /> + </Trigger> + <Trigger Property="wpf:ButtonProgressAssist.IsIndicatorVisible" Value="True"> + <Trigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Duration="0:0:0.2" From=".9" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="ProgressBar"/> + <DoubleAnimation Duration="0:0:0.2" From=".9" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="ProgressBar"/> + </Storyboard> + </BeginStoryboard> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Duration="0:0:0.2" From="1" To=".9" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="ProgressBar"/> + <DoubleAnimation Duration="0:0:0.2" From="1" To=".9" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="ProgressBar"/> + </Storyboard> + </BeginStoryboard> + </Trigger.ExitActions> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignFloatingActionButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionMiniButton}"> + <Setter Property="Width" Value="56"/> + <Setter Property="Height" Value="56"/> + </Style> + + <Style x:Key="MaterialDesignFloatingActionMiniLightButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionMiniButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource PrimaryHueDarkBrush}" /> + </Style> + + <Style x:Key="MaterialDesignFloatingActionMiniDarkButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionMiniButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource PrimaryHueLightBrush}" /> + </Style> + + <Style x:Key="MaterialDesignFloatingActionMiniAccentButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionMiniButton}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource PrimaryHueMidBrush}" /> + </Style> + + <Style x:Key="MaterialDesignFloatingActionLightButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource PrimaryHueDarkBrush}" /> + </Style> + + <Style x:Key="MaterialDesignFloatingActionDarkButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource PrimaryHueLightBrush}" /> + </Style> + + <Style x:Key="MaterialDesignFloatingActionAccentButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionButton}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + <Setter Property="wpf:ButtonProgressAssist.IndicatorForeground" Value="{DynamicResource PrimaryHueMidBrush}" /> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Calendar.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Calendar.xaml new file mode 100644 index 000000000..198f6e208 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Calendar.xaml @@ -0,0 +1,614 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:globalization="clr-namespace:System.Globalization;assembly=mscorlib"> + <Style x:Key="MaterialDesignCalendarButton" TargetType="{x:Type CalendarButton}"> + <Setter Property="MinWidth" Value="5"/> + <Setter Property="MinHeight" Value="5"/> + <Setter Property="FontSize" Value="12"/> + <Setter Property="Cursor" Value="Hand"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Margin" Value="2"/> + <Setter Property="Width" Value="48" /> + <Setter Property="Height" Value="48" /> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type CalendarButton}"> + <Grid> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.1"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightBackground"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Pressed"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightBackground"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightBackground"/> + <DoubleAnimation Duration="0" To=".35" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="NormalText"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="SelectionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Unselected"/> + <VisualState x:Name="Selected"> + <Storyboard> + <DoubleAnimation Duration="0" To=".75" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedBackground"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground)" Storyboard.TargetName="NormalText"> + <DiscreteObjectKeyFrame Value="{DynamicResource PrimaryHueMidForegroundBrush}" KeyTime="0" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="CalendarButtonFocusStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="CalendarButtonFocused"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DayButtonFocusVisual"> + <DiscreteObjectKeyFrame KeyTime="0"> + <DiscreteObjectKeyFrame.Value> + <Visibility>Visible</Visibility> + </DiscreteObjectKeyFrame.Value> + </DiscreteObjectKeyFrame> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="CalendarButtonUnfocused"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DayButtonFocusVisual"> + <DiscreteObjectKeyFrame KeyTime="0"> + <DiscreteObjectKeyFrame.Value> + <Visibility>Collapsed</Visibility> + </DiscreteObjectKeyFrame.Value> + </DiscreteObjectKeyFrame> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="ActiveStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Active"/> + <VisualState x:Name="Inactive" /> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Ellipse x:Name="TodayBackground" + Fill="{DynamicResource PrimaryHueLightBrush}" + Opacity="0" /> + <Ellipse x:Name="SelectedBackground" + Fill="{DynamicResource PrimaryHueMidBrush}" + Opacity="0" /> + <Border BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" /> + <Ellipse x:Name="HighlightBackground" + Fill="{DynamicResource PrimaryHueDarkBrush}" + Opacity="0" /> + <ContentPresenter x:Name="NormalText" + TextElement.Foreground="{TemplateBinding Foreground}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + Margin="5,1,5,1" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + <Ellipse x:Name="DayButtonFocusVisual" + Stroke="{DynamicResource PrimaryHueDarkBrush}" + Opacity="0" + Visibility="Collapsed" + StrokeThickness="1" /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsInactive" + Value="True"> + <Setter Property="MinHeight" + Value="0" /> + <Setter Property="MaxHeight" + Value="0" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignCalendarDayButton" TargetType="{x:Type CalendarDayButton}"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="MinWidth" Value="5"/> + <Setter Property="MinHeight" Value="5"/> + <Setter Property="FontSize" Value="12"/> + <Setter Property="Cursor" Value="Hand" /> + <Setter Property="Margin" Value="2"/> + <Setter Property="Width" Value="34" /> + <Setter Property="Height" Value="34" /> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type CalendarDayButton}"> + <Grid> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.1"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightBackground"/> + </Storyboard> + </VisualState> + <VisualState x:Name="Pressed"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="HighlightBackground"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="SelectionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Unselected"/> + <VisualState x:Name="Selected"> + <Storyboard> + <DoubleAnimation Duration="0" To=".75" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedBackground"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground)" Storyboard.TargetName="NormalText"> + <DiscreteObjectKeyFrame Value="{DynamicResource PrimaryHueMidForegroundBrush}" KeyTime="0" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="CalendarButtonFocusStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="CalendarButtonFocused"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DayButtonFocusVisual"> + <DiscreteObjectKeyFrame KeyTime="0"> + <DiscreteObjectKeyFrame.Value> + <Visibility>Visible</Visibility> + </DiscreteObjectKeyFrame.Value> + </DiscreteObjectKeyFrame> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="CalendarButtonUnfocused"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DayButtonFocusVisual"> + <DiscreteObjectKeyFrame KeyTime="0"> + <DiscreteObjectKeyFrame.Value> + <Visibility>Collapsed</Visibility> + </DiscreteObjectKeyFrame.Value> + </DiscreteObjectKeyFrame> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="ActiveStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Active"/> + <VisualState x:Name="Inactive"/> + </VisualStateGroup> + <VisualStateGroup x:Name="DayStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="RegularDay"/> + <VisualState x:Name="Today"> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="TodayBackground"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground)" Storyboard.TargetName="NormalText"> + <DiscreteObjectKeyFrame Value="{DynamicResource PrimaryHueLightForegroundBrush}" KeyTime="0" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="BlackoutDayStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="NormalDay"/> + <VisualState x:Name="BlackoutDay"> + <Storyboard> + <DoubleAnimation Duration="0" + To="0" + Storyboard.TargetProperty="Opacity" + Storyboard.TargetName="HighlightingBorder"/> + <DoubleAnimation Duration="0" + To="0.38" + Storyboard.TargetProperty="Opacity" + Storyboard.TargetName="NormalText" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Ellipse x:Name="TodayBackground" + Fill="{DynamicResource PrimaryHueLightBrush}" + Opacity="0" /> + <Ellipse x:Name="SelectedBackground" + Fill="{DynamicResource PrimaryHueMidBrush}" + Opacity="0" /> + <Border BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}"/> + <Border x:Name="HighlightingBorder" + Opacity="1"> + <Ellipse x:Name="HighlightBackground" + Fill="{DynamicResource PrimaryHueDarkBrush}" + Opacity="0"/> + </Border> + <ContentPresenter x:Name="NormalText" + TextElement.Foreground="{TemplateBinding Foreground}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + Margin="5,1,5,1" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> + <Ellipse x:Name="DayButtonFocusVisual" + Stroke="{DynamicResource PrimaryHueDarkBrush}" + Opacity="0" + Visibility="Collapsed" + StrokeThickness="1"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsInactive" + Value="True"> + <Setter Property="MinHeight" + Value="0" /> + <Setter Property="MaxHeight" + Value="0" /> + </Trigger> + <Trigger Property="IsBlackedOut" + Value="True"> + <Setter Property="Cursor" + Value="No" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignCalendarItemPortrait" TargetType="{x:Type CalendarItem}"> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="Margin" Value="0,3,0,3"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type CalendarItem}"> + <ControlTemplate.Resources> + <SineEase x:Key="EasingFunction" EasingMode="EaseOut"/> + <CubicEase x:Key="EasingFunctionIn" EasingMode="EaseIn"/> + + <DataTemplate x:Key="{x:Static CalendarItem.DayTitleTemplateResourceKey}"> + <TextBlock Foreground="{DynamicResource MaterialDesignToolTipBackground}" + Opacity="0.65" + FontWeight="Bold" + FontSize="9.5" + HorizontalAlignment="Center" VerticalAlignment="Center" + Margin="0,6,0,6" + Text="{Binding [0]}"/> + </DataTemplate> + </ControlTemplate.Resources> + <Grid x:Name="PART_Root"> + <Grid.Resources> + <SolidColorBrush x:Key="DisabledColor" Color="#A5FFFFFF"/> + </Grid.Resources> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_DisabledVisual"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:Card UniformCornerRadius="2" Background="{TemplateBinding Background}" wpf:ShadowAssist.ShadowDepth="Depth0"> + <Grid> + <Grid.Resources> + <ControlTemplate x:Key="PreviousButtonTemplate" TargetType="{x:Type Button}"> + <Grid Cursor="Hand"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver" /> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To=".56" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="path"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:Ripple HorizontalAlignment="Center" VerticalAlignment="Center"> + <Viewbox Height="12" Margin="8"> + <Path x:Name="path" Data="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z" Fill="{TemplateBinding Foreground}" Stretch="Fill" /> + </Viewbox> + </wpf:Ripple> + </Grid> + </ControlTemplate> + <ControlTemplate x:Key="NextButtonTemplate" TargetType="{x:Type Button}"> + <Grid Cursor="Hand"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver"/> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To=".5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="path"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:Ripple HorizontalAlignment="Center" VerticalAlignment="Center"> + <Viewbox Height="12" Margin="8"> + <Path x:Name="path" Data="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" Fill="{TemplateBinding Foreground}" Stretch="Fill" /> + </Viewbox> + </wpf:Ripple> + </Grid> + </ControlTemplate> + <ControlTemplate x:Key="HeaderButtonTemplate" TargetType="{x:Type Button}"> + <Grid Cursor="Hand"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver" /> + <VisualState x:Name="Disabled"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:MaterialDateDisplay x:Name="buttonContent" Foreground="{DynamicResource PrimaryHueMidForegroundBrush}" + IsEnabled="{TemplateBinding IsEnabled}"> + <wpf:MaterialDateDisplay.DisplayDate> + <MultiBinding Mode="OneWay"> + <MultiBinding.Converter> + <converters:CalendarDateCoalesceConverter /> + </MultiBinding.Converter> + <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type Calendar}}" Path="DisplayDate" /> + <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type Calendar}}" Path="SelectedDate" /> + </MultiBinding> + </wpf:MaterialDateDisplay.DisplayDate> + </wpf:MaterialDateDisplay> + </Grid> + </ControlTemplate> + </Grid.Resources> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="*"/> + </Grid.RowDefinitions> + <Border Grid.ColumnSpan="3" Grid.Row="0" Background="{DynamicResource PrimaryHueMidBrush}" /> + <Button x:Name="PART_HeaderButton" + Grid.Row="0" + Grid.ColumnSpan="3" + FontWeight="Bold" Focusable="False" FontSize="10.5" + HorizontalAlignment="Left" VerticalAlignment="Center" + Template="{StaticResource HeaderButtonTemplate}" + Height="Auto" + Margin="20 15"/> + <Button x:Name="PART_PreviousButton" Grid.Row="1" Grid.Column="0" Focusable="False" HorizontalAlignment="Left" Height="36" Template="{StaticResource PreviousButtonTemplate}" Width="32" + Margin="6 0 0 0" Foreground="{TemplateBinding Foreground}" /> + <TextBlock x:Name="CurrentDateTextBlock" + HorizontalAlignment="Center" VerticalAlignment="Center" + Margin="8" + FontSize="14" + Grid.Row="1" Grid.Column="1" + FontWeight="SemiBold" + RenderTransformOrigin="0, 0.5" + Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Calendar}}, Path=DisplayDate, StringFormat=MMMM yyyy}"> + <TextBlock.RenderTransform> + <TranslateTransform X="0" Y="0"/> + </TextBlock.RenderTransform> + </TextBlock> + <Button x:Name="PART_NextButton" Grid.Row="1" Grid.Column="2" Focusable="False" HorizontalAlignment="Right" Height="36" Template="{StaticResource NextButtonTemplate}" Width="32" + Margin="0 0 6 0" Foreground="{TemplateBinding Foreground}" /> + + <Grid x:Name="MonthViewWrapperGrid" + Grid.ColumnSpan="3" + Grid.Row="2" + HorizontalAlignment="Center" + VerticalAlignment="Top" + Margin="6 -1 6 6" + Visibility="Visible"> + <Border x:Name="PART_MonthViewCopy" RenderTransformOrigin="0, 0.5" + Opacity="0" Margin="4 7 4 3"> + <Border.Background> + <VisualBrush Visual="{Binding ElementName=PART_MonthView}" Stretch="UniformToFill"/> + </Border.Background> + <Border.RenderTransform> + <TranslateTransform X="0"/> + </Border.RenderTransform> + </Border> + <Grid x:Name="PART_MonthView" RenderTransformOrigin="0, 0.5"> + <Grid.RenderTransform> + <TranslateTransform X="0" /> + </Grid.RenderTransform> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + </Grid> + </Grid> + + <Grid x:Name="YearViewWrapperGrid" + Grid.ColumnSpan="3" + Grid.Row="2" + HorizontalAlignment="Center" + VerticalAlignment="Top" + Margin="6 -3 7 6" + Visibility="Hidden"> + <Border x:Name="PART_YearViewCopy" RenderTransformOrigin="0, 0.5" + Opacity="0" Margin="2"> + <Border.Background> + <VisualBrush Visual="{Binding ElementName=PART_YearView}" Stretch="UniformToFill"/> + </Border.Background> + <Border.RenderTransform> + <TranslateTransform X="0"/> + </Border.RenderTransform> + </Border> + <Grid x:Name="PART_YearView" + RenderTransformOrigin="0, 0.5"> + <Grid.RenderTransform> + <TranslateTransform X="0" /> + </Grid.RenderTransform> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + </Grid> + </Grid> + </Grid> + </wpf:Card> + <Rectangle x:Name="PART_DisabledVisual" Fill="{StaticResource DisabledColor}" Opacity="0" RadiusY="2" RadiusX="2" Stretch="Fill" Stroke="{StaticResource DisabledColor}" StrokeThickness="1" Visibility="Collapsed"/> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Visibility" TargetName="PART_DisabledVisual" Value="Visible"/> + </Trigger> + <DataTrigger Binding="{Binding DisplayMode, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Calendar}}}" Value="Year"> + <Setter Property="Visibility" TargetName="MonthViewWrapperGrid" Value="Hidden"/> + <Setter Property="Visibility" TargetName="YearViewWrapperGrid" Value="Visible"/> + </DataTrigger> + <DataTrigger Binding="{Binding DisplayMode, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Calendar}}}" Value="Decade"> + <Setter Property="Visibility" TargetName="MonthViewWrapperGrid" Value="Hidden"/> + <Setter Property="Visibility" TargetName="YearViewWrapperGrid" Value="Visible"/> + </DataTrigger> + <EventTrigger RoutedEvent="Button.Click" SourceName="PART_NextButton"> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="CurrentDateTextBlock" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + EasingFunction="{StaticResource EasingFunction}" + AccelerationRatio="0.1" DecelerationRatio="0.89" + From="240" To="0" Duration="0:0:0.450"/> + + <DoubleAnimation Storyboard.TargetName="PART_MonthViewCopy" + Storyboard.TargetProperty="(UIElement.Opacity)" + From="1" To="0" Duration="0:0:0.450"/> + + <DoubleAnimation Storyboard.TargetName="PART_MonthViewCopy" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="0" To="-270" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + + <DoubleAnimation Storyboard.TargetName="PART_MonthView" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="270" To="0" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + + <DoubleAnimation Storyboard.TargetName="PART_YearViewCopy" + Storyboard.TargetProperty="(UIElement.Opacity)" + From="1" To="0" Duration="0:0:0.450"/> + + <DoubleAnimation Storyboard.TargetName="PART_YearViewCopy" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="0" To="-240" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + + <DoubleAnimation Storyboard.TargetName="PART_YearView" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="240" To="0" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + </Storyboard> + </BeginStoryboard> + </EventTrigger> + <EventTrigger RoutedEvent="Button.Click" SourceName="PART_PreviousButton"> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="CurrentDateTextBlock" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + EasingFunction="{StaticResource EasingFunction}" + AccelerationRatio="0.1" DecelerationRatio="0.89" + From="-240" To="0" Duration="0:0:0.450"/> + + <DoubleAnimation Storyboard.TargetName="PART_MonthViewCopy" + Storyboard.TargetProperty="(UIElement.Opacity)" + From="1" To="0" Duration="0:0:0.450"/> + + <DoubleAnimation Storyboard.TargetName="PART_MonthViewCopy" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="0" To="270" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + + <DoubleAnimation Storyboard.TargetName="PART_MonthView" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="-270" To="0" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + + <DoubleAnimation Storyboard.TargetName="PART_YearViewCopy" + Storyboard.TargetProperty="(UIElement.Opacity)" + From="1" To="0" Duration="0:0:0.450"/> + + <DoubleAnimation Storyboard.TargetName="PART_YearViewCopy" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="0" To="240" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + + <DoubleAnimation Storyboard.TargetName="PART_YearView" + Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" + From="-240" To="0" Duration="0:0:0.450" + AccelerationRatio="0.3" DecelerationRatio="0.69"/> + </Storyboard> + </BeginStoryboard> + </EventTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignCalendarPortrait" TargetType="{x:Type Calendar}"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="CalendarDayButtonStyle" Value="{StaticResource MaterialDesignCalendarDayButton}" /> + <Setter Property="CalendarButtonStyle" Value="{StaticResource MaterialDesignCalendarButton}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Calendar}"> + <CalendarItem x:Name="PART_CalendarItem" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Style="{DynamicResource MaterialDesignCalendarItemPortrait}"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Card.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Card.xaml new file mode 100644 index 000000000..949dd40d7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Card.xaml @@ -0,0 +1,52 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:CardClipConverter x:Key="CardClipConverter" /> + + <ControlTemplate TargetType="{x:Type wpf:Card}" x:Key="CardTemplate"> + <ControlTemplate.Resources> + <converters:ShadowEdgeConverter x:Key="ShadowEdgeConverter" /> + </ControlTemplate.Resources> + <Grid Margin="{TemplateBinding Margin}" Background="Transparent"> + <Grid.OpacityMask> + <MultiBinding Converter="{StaticResource ShadowEdgeConverter}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="ActualWidth"/> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="ActualHeight"/> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="(wpf:ShadowAssist.ShadowDepth)" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="(wpf:ShadowAssist.ShadowEdges)" /> + </MultiBinding> + </Grid.OpacityMask> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + CornerRadius="{TemplateBinding UniformCornerRadius}"> + <Border Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" + x:Name="PART_ClipBorder" + Clip="{TemplateBinding ContentClip}" /> + </Border> + </AdornerDecorator> + <ContentPresenter + x:Name="ContentPresenter" + Margin="{TemplateBinding Padding}" + Clip="{TemplateBinding ContentClip}" + Content="{TemplateBinding ContentControl.Content}" + ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentControl.ContentTemplateSelector}" + ContentStringFormat="{TemplateBinding ContentControl.ContentStringFormat}"> + </ContentPresenter> + </Grid> + </ControlTemplate> + <Style TargetType="{x:Type wpf:Card}"> + <Setter Property="Template" Value="{StaticResource CardTemplate}" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignCardBackground}" /> + <Setter Property="VerticalAlignment" Value="Top" /> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth2" /> + <Setter Property="Focusable" Value="False"/> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.CheckBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.CheckBox.xaml new file mode 100644 index 000000000..62ed2e4c1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.CheckBox.xaml @@ -0,0 +1,243 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToggleButton.xaml" /> + <ResourceDictionary Source="MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="OptionMarkFocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="14,0,0,0" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignActionCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignActionToggleButton}" /> + + <Style x:Key="MaterialDesignActionLightCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignActionCheckBox}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignActionDarkCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignActionCheckBox}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignActionAccentCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignActionCheckBox}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignCheckBox" TargetType="{x:Type CheckBox}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type CheckBox}"> + <ControlTemplate.Resources> + <Storyboard x:Key="Click"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="48"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="48"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.3"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </ControlTemplate.Resources> + <Grid x:Name="templateRoot" Background="Transparent" SnapsToDevicePixels="True"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Viewbox Width="18" Height="18" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + FlowDirection="LeftToRight"> + <Canvas Width="24" Height="24"> + <Path x:Name="Graphic" + Data="M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z" + Fill="{DynamicResource MaterialDesignCheckBoxOff}" /> + <Ellipse x:Name="InteractionEllipse" Fill="{TemplateBinding Foreground}" Width="0" Height="0" Canvas.Top="12" Canvas.Left="12" Opacity="0" RenderTransformOrigin="0.5,0.5" + IsHitTestVisible="False"> + <Ellipse.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Ellipse.RenderTransform> + </Ellipse> + </Canvas> + </Viewbox> + <ContentPresenter x:Name="contentPresenter" Grid.Column="1" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + <ControlTemplate.Triggers> + <EventTrigger RoutedEvent="ButtonBase.Click"> + <BeginStoryboard Storyboard="{StaticResource Click}"/> + </EventTrigger> + <Trigger Property="HasContent" Value="true"> + <Setter Property="FocusVisualStyle" Value="{StaticResource OptionMarkFocusVisual}"/> + <Setter Property="Padding" Value="4,2,0,0"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Fill" TargetName="Graphic" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + <Setter Property="Opacity" Value="0.26"/> + </Trigger> + <Trigger Property="IsPressed" Value="true"/> + <Trigger Property="IsChecked" Value="true"> + <Setter Property="Data" TargetName="Graphic" Value="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" /> + <Setter Property="Fill" TargetName="Graphic" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Background}" /> + </Trigger> + <Trigger Property="IsChecked" Value="{x:Null}"> + <Setter Property="Data" TargetName="Graphic" Value="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" /> + <Setter Property="Opacity" TargetName="Graphic" Value="0.56"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="Fill" TargetName="Graphic" Value="{DynamicResource ValidationErrorBrush}" /> + <Setter Property="Control.Foreground" TargetName="contentPresenter" Value="{DynamicResource ValidationErrorBrush}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignLightCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignDarkCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignAccentCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignUserForegroundCheckBox" TargetType="{x:Type CheckBox}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type CheckBox}"> + <ControlTemplate.Resources> + <Storyboard x:Key="Click"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="48"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="48"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.3"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </ControlTemplate.Resources> + <Grid x:Name="templateRoot" Background="Transparent" SnapsToDevicePixels="True"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Viewbox Width="18" Height="18" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> + <Canvas Width="24" Height="24"> + <Path x:Name="Graphic" + Data="M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z" + Fill="{TemplateBinding Foreground}" /> + <Ellipse x:Name="InteractionEllipse" Fill="{TemplateBinding Foreground}" Width="0" Height="0" Canvas.Top="12" Canvas.Left="12" Opacity="0" RenderTransformOrigin="0.5,0.5" > + <Ellipse.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Ellipse.RenderTransform> + </Ellipse> + </Canvas> + </Viewbox> + <ContentPresenter x:Name="contentPresenter" Grid.Column="1" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + <ControlTemplate.Triggers> + <EventTrigger RoutedEvent="ButtonBase.Click"> + <BeginStoryboard Storyboard="{StaticResource Click}"/> + </EventTrigger> + <Trigger Property="HasContent" Value="true"> + <Setter Property="FocusVisualStyle" Value="{StaticResource OptionMarkFocusVisual}"/> + <Setter Property="Padding" Value="4,2,0,0"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" TargetName="Graphic" Value=".26" /> + </Trigger> + <Trigger Property="IsPressed" Value="true"/> + <Trigger Property="IsChecked" Value="true"> + <Setter Property="Data" TargetName="Graphic" Value="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" /> + </Trigger> + <Trigger Property="IsChecked" Value="{x:Null}"> + <Setter Property="Data" TargetName="Graphic" Value="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" /> + <Setter Property="Opacity" TargetName="Graphic" Value="0.56"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="Fill" TargetName="Graphic" Value="{DynamicResource ValidationErrorBrush}" /> + <Setter Property="Control.Foreground" TargetName="contentPresenter" Value="{DynamicResource ValidationErrorBrush}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml new file mode 100644 index 000000000..aad2a46e5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Chip.xaml @@ -0,0 +1,163 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:MaterialDesignThemes.Wpf.Themes" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + <converters:NullableToVisibilityConverter x:Key="NullableToVisibilityConverter" /> + + <!-- not happy with where the tool tip is going right now --> + <!-- + <Style x:Key="MaterialDesignChipToolTip" TargetType="ToolTip"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ToolTip"> + <wpf:Card Foreground="{DynamicResource MaterialDesignBody}" + FontSize="15" + FontWeight="Regular" + Padding="0 8 0 8" + RenderOptions.ClearTypeHint="Enabled" + wpf:ShadowAssist.ShadowDepth="Depth3" + Margin="8"> + <Grid Margin="16 8 16 8"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + + <Border> + <Border.Background> + <VisualBrush Visual="{Binding ElementName=PART_MonthView}" Stretch="UniformToFill"/> + </Border.Background> + <Border.RenderTransform> + <TranslateTransform X="0"/> + </Border.RenderTransform> + </Border> + + <ContentControl Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:Chip}, Path=Icon}" + x:Name="IconControl" + Background="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:Chip}, Path=IconBackground}" + Foreground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:Chip}, Path=IconForeground}" + FontSize="17" + FontWeight="Regular" + Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:Chip}, Path=Icon, Converter={StaticResource NullableToVisibilityConverter}}" + VerticalAlignment="Center" + VerticalContentAlignment="Center" + HorizontalContentAlignment="Center" + Height="32" Width="32" + Margin="0 0 8 0"> + <ContentControl.Clip> + <EllipseGeometry RadiusX="16" RadiusY="16" Center="16,16" /> + </ContentControl.Clip> + <ContentControl.Template> + <ControlTemplate TargetType="ContentControl"> + <Border Background="{TemplateBinding Background}"> + <ContentPresenter Content="{TemplateBinding Content}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> + </Border> + </ControlTemplate> + </ContentControl.Template> + </ContentControl> + <ContentControl Grid.Column="1" Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:Chip}, Path=Content}" + FontSize="13" /> + <ContentControl Grid.Column="1" Grid.Row="1" Content="{TemplateBinding Content}" + FontSize="11"/> + </Grid> + </wpf:Card> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + --> + + <Style TargetType="{x:Type wpf:Chip}"> + <Setter Property="Height" Value="32" /> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="FontSize" Value="13" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignChipBackground}" /> + <Setter Property="IconBackground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="IconForeground" Value="{DynamicResource PrimaryHueMidForegroundBrush}" /> + <Setter Property="Cursor" Value="Hand" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:Chip}"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <Border CornerRadius="16" Background="{TemplateBinding Background}" Grid.ColumnSpan="3" /> + <ContentControl Content="{TemplateBinding Icon}" + x:Name="IconControl" + Background="{TemplateBinding IconBackground}" + Foreground="{TemplateBinding IconForeground}" + FontSize="17" + FontWeight="Regular" + IsTabStop="False" + Visibility="{TemplateBinding Icon, Converter={StaticResource NullableToVisibilityConverter}}" + VerticalAlignment="Center" + VerticalContentAlignment="Center" + HorizontalContentAlignment="Center" + Height="32" Width="32"> + <ContentControl.Clip> + <EllipseGeometry RadiusX="16" RadiusY="16" Center="16,16" /> + </ContentControl.Clip> + <ContentControl.Template> + <ControlTemplate TargetType="ContentControl"> + <Border Background="{TemplateBinding Background}"> + <ContentPresenter Content="{TemplateBinding Content}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> + </Border> + </ControlTemplate> + </ContentControl.Template> + </ContentControl> + <ContentControl Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + ContentStringFormat="{TemplateBinding ContentTemplateSelector}" + x:Name="TextBlock" + IsTabStop="False" + VerticalAlignment="Center" + Margin="8 0 12 0" + Grid.Column="1"/> + <Button Grid.Column="2" Visibility="{TemplateBinding IsDeletable, Converter={StaticResource BooleanToVisibilityConverter}}" + x:Name="PART_DeleteButton" + ToolTip="{TemplateBinding DeleteToolTip}" + Margin="-6 0 8 0" + VerticalAlignment="Center" + Width="16" Height="16"> + <Button.Template> + <ControlTemplate> + <Grid> + <Ellipse x:Name="Bg" Fill="#FFA6A6A6" Stroke="#FF009587" StrokeThickness="0" /> + <wpf:PackIcon Kind="Close" Width="12" Height="12" + HorizontalAlignment="Center" + VerticalAlignment="Center" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter TargetName="Bg" Property="StrokeThickness" Value="1" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Button.Template> + </Button> + </Grid> + <ControlTemplate.Triggers> + <Trigger SourceName="IconControl" Property="Visibility" Value="Collapsed"> + <Setter TargetName="TextBlock" Property="Margin" Value="12 0 12 0" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Clock.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Clock.xaml new file mode 100644 index 000000000..d5329fdb5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Clock.xaml @@ -0,0 +1,405 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <converters:ClockLineConverter x:Key="ClockHourLineConverter" DisplayMode="Hours" /> + <converters:ClockLineConverter x:Key="ClockMinuteLineConverter" DisplayMode="Minutes" /> + <converters:NotConverter x:Key="NotConverter" /> + + <Style x:Key="MaterialDesignClockItemThumb" TargetType="{x:Type Thumb}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Thumb}"> + <Ellipse Fill="{TemplateBinding Background}" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignCalendarMeridiemRadioButton" TargetType="{x:Type RadioButton}"> + <Setter Property="FontSize" Value="14" /> + <Setter Property="FontWeight" Value="Medium" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RadioButton}"> + <Grid> + <Ellipse Fill="{TemplateBinding Background}" /> + <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsChecked" Value="True"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignClock" TargetType="{x:Type wpf:Clock}"> + <Setter Property="Width" Value="280" /> + <Setter Property="Height" Value="470" /> + <Setter Property="BorderThickness" Value="1" /> + <Setter Property="ButtonRadiusRatio" Value=".835" /> + <Setter Property="ButtonRadiusInnerRatio" Value=".6" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="ButtonStyle"> + <Setter.Value> + <Style TargetType="{x:Type wpf:ClockItemButton}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Width" Value="32" /> + <Setter Property="Height" Value="32" /> + <Setter Property="HorizontalContentAlignment" Value="Center" /> + <Setter Property="VerticalContentAlignment" Value="Center" /> + <Setter Property="Canvas.ZIndex" Value="0" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:ClockItemButton}"> + <Grid> + <Thumb Style="{StaticResource MaterialDesignClockItemThumb}" Background="{TemplateBinding Background}" Opacity="23" + x:Name="PART_Thumb"/> + <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + IsHitTestVisible="False"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" /> + </Trigger> + <Trigger Property="IsChecked" Value="True"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}" /> + </Trigger> + </Style.Triggers> + </Style> + </Setter.Value> + </Setter> + <Setter Property="LesserButtonStyle"> + <Setter.Value> + <Style TargetType="{x:Type wpf:ClockItemButton}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Width" Value="12" /> + <Setter Property="Height" Value="12" /> + <Setter Property="HorizontalContentAlignment" Value="Center" /> + <Setter Property="VerticalContentAlignment" Value="Center" /> + <Setter Property="Canvas.ZIndex" Value="1" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:ClockItemButton}"> + <Grid> + <Thumb Style="{StaticResource MaterialDesignClockItemThumb}" Background="{TemplateBinding Background}" Opacity=".52" + x:Name="PART_Thumb" + ToolTip="{TemplateBinding Content}"/> + <Ellipse Fill="{TemplateBinding Background}" HorizontalAlignment="Center" VerticalAlignment="Center" Height="6" Width="6" + IsHitTestVisible="False"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" /> + </Trigger> + <Trigger Property="IsChecked" Value="True"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}" /> + </Trigger> + </Style.Triggers> + </Style> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:Clock}"> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="DisplayModeStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Hours"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="Opacity"> + <DiscreteDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.4"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseIn" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleX"> + <DiscreteDoubleKeyFrame Value="1.2" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleY"> + <DiscreteDoubleKeyFrame Value="1.2" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="Opacity"> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleX"> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value=".85" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleY"> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value=".85" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Hours" To="Minutes"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="Opacity"> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseIn" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleX"> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1.2" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleY"> + <DiscreteDoubleKeyFrame Value="1" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1.2" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="Opacity"> + <DiscreteDoubleKeyFrame Value="0" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleX"> + <DiscreteDoubleKeyFrame Value="0.85" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleY"> + <DiscreteDoubleKeyFrame Value="0.85" KeyTime="0" /> + <EasingDoubleKeyFrame Value="1" KeyTime="0:0:0.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Hours"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="Opacity" + To="1" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleX" + To="1" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleY" + To="1" Duration="0" /> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="Opacity" + To="0" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleX" + To=".85" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleY" + To=".85" Duration="0" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Minutes"> + <Storyboard> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="False" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="PART_HoursCanvas" Storyboard.TargetProperty="Opacity" + To="0" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleX" + To="1.2" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="HoursScaleTransform" Storyboard.TargetProperty="ScaleY" + To="1.2" Duration="0" /> + <BooleanAnimationUsingKeyFrames Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="IsHitTestVisible"> + <DiscreteBooleanKeyFrame Value="True" KeyTime="0" /> + </BooleanAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="PART_MinutesCanvas" Storyboard.TargetProperty="Opacity" + To="1" Duration="0"/> + <DoubleAnimation Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleX" + To="1" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="MinutesScaleTransform" Storyboard.TargetProperty="ScaleY" + To="1" Duration="0" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Border Background="{DynamicResource PrimaryHueMidBrush}" Height="120" CornerRadius="2 2 0 0"> + <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0 6 38 0" + x:Name="TimeReadoutStackPanel"> + <StackPanel.Resources> + <Style x:Key="TimeTextBlock" TargetType="{x:Type TextBlock}"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}" /> + <Setter Property="FontSize" Value="66" /> + <Setter Property="FontWeight" Value="Normal" /> + </Style> + </StackPanel.Resources> + <TextBlock Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Time, Mode=OneWay, StringFormat={}{0:%h}}" + x:Name="PART_HourReadOut"> + <TextBlock.Style> + <Style BasedOn="{StaticResource TimeTextBlock}" TargetType="{x:Type TextBlock}"> + <Setter Property="Opacity" Value=".56"></Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DisplayMode}" Value="{x:Static wpf:ClockDisplayMode.Hours}"> + <Setter Property="Opacity" Value="1" /> + </DataTrigger> + </Style.Triggers> + </Style> + </TextBlock.Style> + </TextBlock> + <TextBlock Text=":" Style="{StaticResource TimeTextBlock}" /> + <TextBlock Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Time, Mode=OneWay, StringFormat={}{0:mm}}" + x:Name="PART_MinuteReadOut"> + <TextBlock.Style> + <Style BasedOn="{StaticResource TimeTextBlock}" TargetType="{x:Type TextBlock}"> + <Setter Property="Opacity" Value=".56"></Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DisplayMode}" Value="{x:Static wpf:ClockDisplayMode.Minutes}"> + <Setter Property="Opacity" Value="1" /> + </DataTrigger> + </Style.Triggers> + </Style> + </TextBlock.Style> + </TextBlock> + <TextBlock FontSize="16" + x:Name="AmPmReadout" + Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Time, Mode=OneWay, StringFormat={}{0:tt}}" + VerticalAlignment="Bottom" Margin="2 0 0 16" Foreground="{DynamicResource PrimaryHueMidForegroundBrush}" /> + </StackPanel> + </Border> + <Ellipse x:Name="BackgroundEllipse" Grid.Row="1" Margin="0,24.5,0,94" Width="230" Height="230" Fill="{DynamicResource PrimaryHueLightBrush}" Opacity=".23" /> + <Canvas x:Name="PART_HoursCanvas" Grid.Row="1" Margin="0,24.5,0,159.5" Width="230" Height="230" + RenderTransformOrigin=".5,.5"> + <Path x:Name="HourLine" Data="M2.25,95.515 C2.25,96.036356 1.8582492,96.459 1.375,96.459 C0.89175084,96.459 0.5,96.036356 0.5,95.515 C0.5,94.993643 0.89175084,94.571 1.375,94.571 C1.8582492,94.571 2.25,94.993643 2.25,95.515 z M1.375,95.469003 L1.375,0.50000001" Fill="{DynamicResource PrimaryHueMidBrush}" Canvas.Left="113.625" Stretch="Fill" Stroke="{DynamicResource PrimaryHueMidBrush}" Width="2.75" RenderTransformOrigin="0.5,0.985" + Height="96.959" Canvas.Top="19.047"> + <Path.RenderTransform> + <RotateTransform Angle="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Time, Converter={StaticResource ClockHourLineConverter}}" /> + </Path.RenderTransform> + </Path> + <Canvas.RenderTransform> + <ScaleTransform x:Name="HoursScaleTransform" ScaleX="1" ScaleY="1" /> + </Canvas.RenderTransform> + </Canvas> + <Canvas x:Name="PART_MinutesCanvas" Grid.Row="1" Margin="0,24.5,0,159.5" Width="230" Height="230" Opacity="0" IsHitTestVisible="False" + RenderTransformOrigin=".5,.5"> + <Path x:Name="MinuteLine" Data="M2.25,95.515 C2.25,96.036356 1.8582492,96.459 1.375,96.459 C0.89175084,96.459 0.5,96.036356 0.5,95.515 C0.5,94.993643 0.89175084,94.571 1.375,94.571 C1.8582492,94.571 2.25,94.993643 2.25,95.515 z M1.375,95.469003 L1.375,0.50000001" Fill="{DynamicResource PrimaryHueMidBrush}" Height="96.959" Canvas.Left="113.625" Stretch="Fill" Stroke="{DynamicResource PrimaryHueMidBrush}" Canvas.Top="19.047" Width="2.75" RenderTransformOrigin="0.5,0.985"> + <Path.RenderTransform> + <RotateTransform Angle="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Time, Converter={StaticResource ClockMinuteLineConverter}}" /> + </Path.RenderTransform> + </Path> + <Canvas.RenderTransform> + <ScaleTransform x:Name="MinutesScaleTransform" ScaleX="1" ScaleY="1" /> + </Canvas.RenderTransform> + </Canvas> + <RadioButton Content="AM" GroupName="Meridien" HorizontalAlignment="Left" Height="47.333" Margin="31.666,0,0,37.667" Grid.Row="1" VerticalAlignment="Bottom" Width="47.333" Style="{StaticResource MaterialDesignCalendarMeridiemRadioButton}" + x:Name="AMRadioButton" + IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsPostMeridiem, Converter={StaticResource NotConverter}}" /> + <RadioButton Content="PM" GroupName="Meridien" HorizontalAlignment="Right" Height="47.333" Margin="0,0,31.667,37.667" Grid.Row="1" VerticalAlignment="Bottom" Width="47.333" Style="{StaticResource MaterialDesignCalendarMeridiemRadioButton}" + x:Name="PMRadioButton" + IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsPostMeridiem}" /> + </Grid> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="Is24Hours" Value="True"> + <Setter TargetName="PART_HourReadOut" Property="Text" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Time, Mode=OneWay, StringFormat={}{0:HH}}" /> + <Setter TargetName="TimeReadoutStackPanel" Property="HorizontalAlignment" Value="Center" /> + <Setter TargetName="TimeReadoutStackPanel" Property="Margin" Value="0 6 0 0" /> + <Setter TargetName="AmPmReadout" Property="Visibility" Value="Collapsed" /> + <Setter TargetName="AMRadioButton" Property="Visibility" Value="Collapsed" /> + <Setter TargetName="PMRadioButton" Property="Visibility" Value="Collapsed" /> + <Setter TargetName="BackgroundEllipse" Property="Margin" Value="0,24.5,0,26" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="Is24Hours" Value="True" /> + <Condition Property="IsPostMeridiem" Value="False" /> + <Condition Property="IsMidnightHour" Value="False" /> + </MultiTrigger.Conditions> + <Setter TargetName="HourLine" Property="Height" Value="76" /> + <Setter TargetName="HourLine" Property="Canvas.Top" Value="40" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="Is24Hours" Value="True" /> + <Condition Property="IsMiddayHour" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="HourLine" Property="Height" Value="76" /> + <Setter TargetName="HourLine" Property="Canvas.Top" Value="40" /> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="Is24Hours" Value="True"> + <Setter Property="Height" Value="402" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ComboBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ComboBox.xaml new file mode 100644 index 000000000..c5fbb1971 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ComboBox.xaml @@ -0,0 +1,620 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:materialdesign="clr-namespace:MaterialDesignThemes.Wpf"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:TextFieldHintVisibilityConverter x:Key="TextFieldHintVisibilityConverter" IsNotEmptyValue="Collapsed" /> + <converters:MathConverter x:Key="MathAddConverter" Operation="Add" /> + <converters:BrushRoundConverter x:Key="BrushRoundConverter" /> + <converters:BooleanToVisibilityConverter x:Key="InverseBoolToVisConverter" TrueValue="Collapsed" FalseValue="Visible"/> + + <system:Double x:Key="PopupContentPresenterExtend">4</system:Double> + <system:Double x:Key="PopupTopBottomMargin">8</system:Double> + <system:Double x:Key="PopupLeftRightMargin">16</system:Double> + <system:Boolean x:Key="TrueValue">True</system:Boolean> + <system:Boolean x:Key="FalseValue">False</system:Boolean> + + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2 2 2 2" + SnapsToDevicePixels="true" + Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" + StrokeDashArray="1 2" + StrokeThickness="1" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <ControlTemplate x:Key="PopupContentUpTemplate" TargetType="ContentControl"> + <Grid MinWidth="{Binding ElementName=templateRoot, Path=ActualWidth, Converter={StaticResource MathAddConverter}, ConverterParameter=32}" + Margin="6"> + <Grid.RowDefinitions> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Border Background="Transparent" + BorderBrush="{DynamicResource MaterialDesignShadowBrush}" + BorderThickness="1" + CornerRadius="2"> + <Border.Effect> + <BlurEffect Radius="6"/> + </Border.Effect> + </Border> + <Grid Margin="1"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <Border Grid.Row="0" + CornerRadius="2 2 0 0" + Background="{Binding ElementName=PART_Popup, Path=Background}" + Height="{StaticResource PopupTopBottomMargin}"/> + <ContentPresenter Grid.Row="1"/> + <Border Grid.Row="2" + Background="{Binding ElementName=PART_Popup, Path=Background}" + Height="{StaticResource PopupContentPresenterExtend}"/> + + <Grid Grid.Row="3"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Grid.Column="0" + Width="{StaticResource PopupLeftRightMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}"/> + <Grid Grid.Column="1" + Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type wpf:ComboBoxPopup}}, Path=VisiblePlacementWidth}" + Height="{Binding ElementName=templateRoot, Path=ActualHeight}"/> + <Border Grid.Column="2" + MinWidth="{StaticResource PopupLeftRightMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}"/> + </Grid> + + <Border Grid.Row="4" + CornerRadius="0 0 2 2" + Height="{StaticResource PopupTopBottomMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}" /> + </Grid> + </Grid> + </ControlTemplate> + + <ControlTemplate x:Key="PopupContentDownTemplate" TargetType="ContentControl"> + <Grid MinWidth="{Binding ElementName=templateRoot, Path=ActualWidth, Converter={StaticResource MathAddConverter}, ConverterParameter=32}" + Margin="6"> + <Grid.RowDefinitions> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Border Background="Transparent" + BorderBrush="{DynamicResource MaterialDesignShadowBrush}" + BorderThickness="1" + CornerRadius="2"> + <Border.Effect> + <BlurEffect Radius="6"/> + </Border.Effect> + </Border> + <Grid Margin="1" + SnapsToDevicePixels="True"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <Border Grid.Row="0" + CornerRadius="2 2 0 0" + Background="{Binding ElementName=PART_Popup, Path=Background}" + Height="{StaticResource PopupTopBottomMargin}"/> + + <Grid Grid.Row="1"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Border Grid.Column="0" + Width="{StaticResource PopupLeftRightMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}" + /> + <Grid Grid.Column="1" + Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type wpf:ComboBoxPopup}}, Path=VisiblePlacementWidth}" + Height="{Binding ElementName=templateRoot, Path=ActualHeight}"/> + <Border Grid.Column="2" + MinWidth="{StaticResource PopupLeftRightMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}" + /> + </Grid> + + <Border Grid.Row="2" + Background="{Binding ElementName=PART_Popup, Path=Background}" + Height="{StaticResource PopupContentPresenterExtend}"/> + + <ContentPresenter Grid.Row="3"/> + + <Border Grid.Row="4" + CornerRadius="0 0 2 2" + Height="{StaticResource PopupTopBottomMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}" /> + </Grid> + </Grid> + </ControlTemplate> + + <ControlTemplate x:Key="PopupContentClassicTemplate" TargetType="ContentControl"> + <Grid MinWidth="{Binding ElementName=templateRoot, Path=ActualWidth, Converter={StaticResource MathAddConverter}, ConverterParameter=32}" + Margin="6"> + <Grid.RowDefinitions> + <RowDefinition Height="*" /> + </Grid.RowDefinitions> + <Border Background="Transparent" + BorderBrush="{DynamicResource MaterialDesignShadowBrush}" + BorderThickness="1" + CornerRadius="2"> + <Border.Effect> + <BlurEffect Radius="6"/> + </Border.Effect> + </Border> + <Grid Margin="1"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <Border Grid.Row="0" + CornerRadius="2 2 0 0" + Background="{Binding ElementName=PART_Popup, Path=Background}" + Height="{StaticResource PopupTopBottomMargin}"/> + + <ContentPresenter Grid.Row="1"/> + + <Border Grid.Row="2" + CornerRadius="0 0 2 2" + Height="{StaticResource PopupTopBottomMargin}" + Background="{Binding ElementName=PART_Popup, Path=Background}" /> + </Grid> + </Grid> + </ControlTemplate> + + <Style x:Key="MaterialDesignComboBoxEditableTextBox" TargetType="{x:Type TextBox}"> + <Setter Property="OverridesDefaultStyle" Value="true" /> + <Setter Property="AllowDrop" Value="true" /> + <Setter Property="MinWidth" Value="0" /> + <Setter Property="MinHeight" Value="0" /> + <Setter Property="FocusVisualStyle" Value="{x:Null}" /> + <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" /> + <Setter Property="Stylus.IsFlicksEnabled" Value="False" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TextBox}"> + <Grid> + <ScrollViewer x:Name="PART_ContentHost" + Focusable="false" + HorizontalScrollBarVisibility="Hidden" + VerticalScrollBarVisibility="Hidden" /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <ControlTemplate x:Key="MaterialDesignComboBoxItemTemplate" TargetType="{x:Type ComboBoxItem}"> + <Grid x:Name="GridWrapper"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" To="Normal"> + <VisualTransition.GeneratedEasingFunction> + <CircleEase EasingMode="EaseOut" /> + </VisualTransition.GeneratedEasingFunction> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState Name="Normal" /> + <VisualState Name="MouseOver"> + <Storyboard> + <DoubleAnimation Duration="0" + Storyboard.TargetName="MouseOverBorder" + Storyboard.TargetProperty="Opacity" + To="0.1" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup Name="SelectionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" /> + </VisualStateGroup.Transitions> + <VisualState Name="Selected"> + <Storyboard> + <DoubleAnimation Duration="0" + Storyboard.TargetName="SelectedBorder" + Storyboard.TargetProperty="Opacity" + To="0.18" /> + </Storyboard> + </VisualState> + <VisualState Name="Unselected" /> + </VisualStateGroup> + <VisualStateGroup Name="FocusStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" To="Unfocused" /> + </VisualStateGroup.Transitions> + <VisualState Name="Focused"> + <Storyboard> + <DoubleAnimation Duration="0" + Storyboard.TargetName="MouseOverBorder" + Storyboard.TargetProperty="Opacity" + To="0.1" /> + </Storyboard> + </VisualState> + <VisualState Name="Unfocused" /> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Border x:Name="BackBorder" + Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + SnapsToDevicePixels="true" /> + + <Border x:Name="MouseOverBorder" + Background="{TemplateBinding Foreground, + Converter={StaticResource BrushRoundConverter}}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Opacity="0" + SnapsToDevicePixels="true" /> + <Border x:Name="SelectedBorder" + Background="{TemplateBinding Foreground, + Converter={StaticResource BrushRoundConverter}}" + Opacity="0" + RenderTransformOrigin="0.5,0.5" /> + <wpf:Ripple HorizontalAlignment="Stretch" + VerticalAlignment="Stretch" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + Feedback="{TemplateBinding Foreground, + Converter={StaticResource BrushRoundConverter}}" + Focusable="False" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter TargetName="GridWrapper" Property="Opacity" Value="0.56" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="Tag" Value="1.0" /> + <Condition Property="IsSelected" Value="True" /> + </MultiTrigger.Conditions> + <Setter Property="Height" Value="0"/> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style x:Key="MaterialDesignComboBoxItemStyle" TargetType="{x:Type ComboBoxItem}"> + <Setter Property="SnapsToDevicePixels" Value="True" /> + <Setter Property="Padding" Value="16 8" /> + <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" /> + <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="BorderBrush" Value="Transparent" /> + <Setter Property="BorderThickness" Value="0" /> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" /> + <Setter Property="Template" Value="{StaticResource MaterialDesignComboBoxItemTemplate}" /> + </Style> + + <Style x:Key="MaterialDesignComboBoxItemSelectedCollapsedStyle" + BasedOn="{StaticResource MaterialDesignComboBoxItemStyle}" + TargetType="{x:Type ComboBoxItem}"> + <Setter Property="Tag" Value="1.0" /> + </Style> + + <Style x:Key="MaterialDesignComboBoxToggleButton" TargetType="{x:Type ToggleButton}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}" /> + <Setter Property="OverridesDefaultStyle" Value="true" /> + <Setter Property="IsTabStop" Value="false" /> + <Setter Property="Focusable" Value="false" /> + <Setter Property="ClickMode" Value="Press" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Grid> + <Border x:Name="ToggleTemplateRoot" + Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}"> + <Border x:Name="splitBorder" + Margin="0" + HorizontalAlignment="Right" + VerticalAlignment="Center" + BorderBrush="Transparent" + BorderThickness="0"> + <Path x:Name="arrow" + Width="8" Height="8" + Margin="0" + Stretch="Uniform" + HorizontalAlignment="Right" + VerticalAlignment="Center" + Data="M7,10L12,15L17,10H7Z" + Fill="{TemplateBinding BorderBrush}" /> + </Border> + </Border> + </Grid> + <ControlTemplate.Triggers> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" /> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false" /> + </MultiDataTrigger.Conditions> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" /> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true" /> + </MultiDataTrigger.Conditions> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}" /> + </MultiDataTrigger> + <Trigger Property="IsPressed" Value="true"> + <Setter TargetName="arrow" Property="Fill" Value="{DynamicResource PrimaryHueDarkBrush}" /> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter TargetName="arrow" Property="Fill" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" /> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false" /> + </MultiDataTrigger.Conditions> + <Setter TargetName="ToggleTemplateRoot" Property="BorderBrush" Value="Transparent"/> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" /> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true" /> + </MultiDataTrigger.Conditions> + <Setter TargetName="ToggleTemplateRoot" Property="BorderBrush" Value="Transparent"/> + <Setter TargetName="splitBorder" Property="BorderBrush" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </MultiDataTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <ControlTemplate x:Key="MaterialDesignFloatingHintComboBoxTemplate" TargetType="{x:Type ComboBox}"> + <Grid x:Name="templateRoot" + Background="{TemplateBinding Background}" + SnapsToDevicePixels="True"> + <Grid x:Name="InnerRoot"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="0" MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" /> + </Grid.ColumnDefinitions> + <ToggleButton x:Name="toggleButton" + Grid.ColumnSpan="2" + Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + Style="{StaticResource MaterialDesignComboBoxToggleButton}"/> + <Grid HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Margin="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + UseLayoutRounding="{TemplateBinding UseLayoutRounding}"> + <Grid x:Name="InputRoot" + HorizontalAlignment="Left"> + <ContentPresenter x:Name="contentPresenter" + Content="{TemplateBinding SelectionBoxItem}" + ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}" + ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" + ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" + IsHitTestVisible="False"/> + <TextBox x:Name="PART_EditableTextBox" + IsReadOnly="{Binding IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}" + HorizontalAlignment="Left" + HorizontalContentAlignment="Stretch" + Style="{StaticResource MaterialDesignComboBoxEditableTextBox}" + CaretBrush="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=BorderBrush}" + Visibility="Collapsed" /> + + <wpf:SmartHint x:Name="Hint" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + FontSize="{TemplateBinding FontSize}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + UseLayoutRounding="{TemplateBinding UseLayoutRounding}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + Hint="{TemplateBinding wpf:HintAssist.Hint}" /> + </Grid> + </Grid> + <Line x:Name="DashedLine" Grid.ColumnSpan="2" VerticalAlignment="Bottom" + Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource InverseBoolToVisConverter}}" + StrokeThickness="1.25" StrokeDashArray="1,2.5" StrokeDashCap="Round" + X1="0" X2="{Binding ActualWidth, ElementName=toggleButton}" Y1="0" Y2="0" + Stroke="{TemplateBinding BorderBrush}" Opacity="0.56" /> + <wpf:Underline x:Name="Underline" + Grid.ColumnSpan="2" + IsActive="{Binding ElementName=PART_EditableTextBox, Path=IsKeyboardFocused}" + Visibility="{Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}}"/> + + <wpf:ComboBoxPopup x:Name="PART_Popup" + AllowsTransparency="true" + Focusable="False" + HorizontalOffset="-11.5" + IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + PlacementTarget="{Binding ElementName=templateRoot}" + SnapsToDevicePixels="True" + UseLayoutRounding="True" + Placement="Custom" + PopupAnimation="Fade" + VerticalOffset="0" + DefaultVerticalOffset="5" + DownVerticalOffset="-15.5" + UpVerticalOffset="15" + ClassicMode="{Binding Path=(wpf:ComboBoxAssist.ClassicMode), RelativeSource={RelativeSource TemplatedParent}}" + UpContentTemplate="{StaticResource PopupContentUpTemplate}" + DownContentTemplate="{StaticResource PopupContentDownTemplate}" + ClassicContentTemplate="{StaticResource PopupContentClassicTemplate}"> + <ContentControl> + <ScrollViewer MaxHeight="{TemplateBinding MaxDropDownHeight}" + Background="{Binding Background, ElementName=PART_Popup}"> + <ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Contained" /> + </ScrollViewer> + </ContentControl> + </wpf:ComboBoxPopup> + </Grid> + </Grid> + <ControlTemplate.Triggers> + <Trigger SourceName="PART_Popup" Property="PopupPlacement" Value="{x:Static materialdesign:ComboBoxPopupPlacement.Classic}"> + <Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignComboBoxItemStyle}" /> + </Trigger> + <Trigger SourceName="PART_Popup" Property="IsOpen" Value="True"> + <Setter Property="Background" TargetName="templateRoot" Value="{Binding Background, ElementName=PART_Popup}" /> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter TargetName="templateRoot" Property="Opacity" Value="0.56"/> + <Setter TargetName="toggleButton" Property="BorderBrush" Value="Transparent"/> + </Trigger> + <Trigger Property="IsEditable" Value="True"> + <Setter TargetName="PART_EditableTextBox" Property="Visibility" Value="Visible" /> + <Setter TargetName="Underline" Property="Visibility" Value="{Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}}" /> + <Setter TargetName="contentPresenter" Property="Visibility" Value="Collapsed" /> + </Trigger> + <Trigger Property="wpf:HintAssist.IsFloating" Value="True"> + <Setter TargetName="InnerRoot" Property="Margin" Value="0 11.5 0 0" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsEditable" Value="False"/> + <Condition Property="IsDropDownOpen" Value="True"/> + </MultiTrigger.Conditions> + <Setter TargetName="Underline" Property="Visibility" Value="Hidden"/> + <Setter TargetName="toggleButton" Property="BorderBrush" Value="Transparent"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition SourceName="Hint" Property="IsContentNullOrEmpty" Value="False" /> + <Condition Property="wpf:HintAssist.IsFloating" Value="True" /> + <Condition Property="IsKeyboardFocusWithin" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="wpf:HintAssist.IsFloating" Value="True" /> + <Condition SourceName="Hint" Property="IsHintInFloatingPosition" Value="True" /> + <Condition Property="IsKeyboardFocusWithin" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition SourceName="Hint" Property="IsContentNullOrEmpty" Value="False" /> + <Condition SourceName="PART_EditableTextBox" Property="IsKeyboardFocused" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition SourceName="Hint" Property="IsContentNullOrEmpty" Value="False" /> + <Condition Property="IsDropDownOpen" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsGrouping" Value="true" /> + <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false" /> + </MultiTrigger.Conditions> + <Setter Property="ScrollViewer.CanContentScroll" Value="false" /> + </MultiTrigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <Setter TargetName="Underline" Property="IsActive" Value="True"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource ValidationErrorBrush}"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsMouseOver" Value="true" /> + <Condition Property="Validation.HasError" Value="true" /> + </MultiTrigger.Conditions> + <Setter Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource ValidationErrorBrush}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsMouseOver" Value="true" /> + <Condition Property="Validation.HasError" Value="false" /> + </MultiTrigger.Conditions> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style x:Key="MaterialDesignComboBox" TargetType="{x:Type ComboBox}"> + <Setter Property="FocusVisualStyle" Value="{x:Null}"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="BorderThickness" Value="0 0 0 1"/> + <Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignComboBoxItemSelectedCollapsedStyle}" /> + <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" /> + <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> + <Setter Property="Padding" Value="0 6 0 6" /> + <Setter Property="VerticalContentAlignment" Value="Top" /> + <Setter Property="HorizontalContentAlignment" Value="Stretch"/> + <Setter Property="HorizontalAlignment" Value="Stretch"/> + <Setter Property="VerticalAlignment" Value="Center"/> + <Setter Property="ScrollViewer.CanContentScroll" Value="true" /> + <Setter Property="ScrollViewer.PanningMode" Value="Both" /> + <Setter Property="Stylus.IsFlicksEnabled" Value="False" /> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="1 0 1 0" /> + <Setter Property="Template" Value="{StaticResource MaterialDesignFloatingHintComboBoxTemplate}" /> + <Style.Triggers> + <Trigger Property="IsKeyboardFocused" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}" /> + </Trigger> + <Trigger Property="IsKeyboardFocusWithin" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}" /> + </Trigger> + <Trigger Property="IsEditable" Value="true"> + <Setter Property="IsTabStop" Value="false" /> + <!-- designer prefers hard bool --> + <Setter Property="wpf:ComboBoxAssist.ShowSelectedItem" Value="{StaticResource TrueValue}" /> + </Trigger> + <!-- designer prefers hard bool --> + <Trigger Property="wpf:ComboBoxAssist.ShowSelectedItem" Value="{StaticResource TrueValue}" > + <Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignComboBoxItemStyle}" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignFloatingHintComboBox" + BasedOn="{StaticResource MaterialDesignComboBox}" + TargetType="{x:Type ComboBox}"> + <Setter Property="wpf:HintAssist.IsFloating" Value="True"/> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Dark.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Dark.xaml new file mode 100644 index 000000000..81a01fe95 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Dark.xaml @@ -0,0 +1,36 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <Color x:Key="ValidationErrorColor">#f44336</Color> + <SolidColorBrush x:Key="ValidationErrorBrush" Color="{StaticResource ValidationErrorColor}"/> + + <SolidColorBrush x:Key="MaterialDesignBackground" Color="#FF000000" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignPaper" Color="#FF303030" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignCardBackground" Color="#FF424242" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignToolBarBackground" Color="#FF212121" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignBody" Color="#DDFFFFFF" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignBodyLight" Color="#89FFFFFF" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignColumnHeader" Color="#BCFFFFFF" po:Freeze="True" /><!-- 74% --> + + <SolidColorBrush x:Key="MaterialDesignCheckBoxOff" Color="#89FFFFFF" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignCheckBoxDisabled" Color="#FF647076" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignTextBoxBorder" Color="#89FFFFFF" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignDivider" Color="#1FFFFFFF" po:Freeze="True" /><!-- 12% --> + <SolidColorBrush x:Key="MaterialDesignSelection" Color="#757575" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignFlatButtonClick" Color="#19757575" po:Freeze="True" /> <!-- 25% --> + <SolidColorBrush x:Key="MaterialDesignFlatButtonRipple" Color="#FFB6B6B6" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignToolTipBackground" Color="#eeeeee" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignChipBackground" Color="#FF2E3C43" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignSnackbarBackground" Color="#FFCDCDCD" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignSnackbarMouseOver" Color="#FFB9B9BD" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignSnackbarRipple" Color="#FF494949" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignTextFieldBoxBackground" Color="#1AFFFFFF" po:Freeze="True" /> <!-- 10% white --> + <SolidColorBrush x:Key="MaterialDesignTextFieldBoxDisabledBackground" Color="#0DFFFFFF" po:Freeze="True" /> <!-- 5% white --> + <SolidColorBrush x:Key="MaterialDesignTextAreaBorder" Color="#BCFFFFFF" po:Freeze="True" /> <!-- 74% white --> + <SolidColorBrush x:Key="MaterialDesignTextAreaInactiveBorder" Color="#1AFFFFFF" po:Freeze="True" /> <!-- 10% white --> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.ComboBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.ComboBox.xaml new file mode 100644 index 000000000..2753fab9e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.ComboBox.xaml @@ -0,0 +1,319 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <converters:TextFieldHintVisibilityConverter x:Key="TextFieldHintVisibilityConverter" /> + + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2 2 2 2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDataGridComboBoxItemStyle" TargetType="{x:Type ComboBoxItem}"> + <Setter Property="SnapsToDevicePixels" Value="True"/> + <Setter Property="Padding" Value="8"/> + <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ComboBoxItem}"> + <Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true"> + <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" TargetName="Bd" Value="0.56"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="False"/> + <Condition Property="IsMouseOver" Value="True"/> + <Condition Property="IsKeyboardFocused" Value="False"/> + </MultiTrigger.Conditions> + <Setter Property="Background" TargetName="Bd" Value="{DynamicResource MaterialDesignDivider}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True"/> + <Condition Property="IsMouseOver" Value="False"/> + <Condition Property="IsKeyboardFocused" Value="True"/> + </MultiTrigger.Conditions> + <Setter Property="Background" TargetName="Bd" Value="{DynamicResource MaterialDesignSelection}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True"/> + <Condition Property="IsMouseOver" Value="True"/> + </MultiTrigger.Conditions> + <Setter Property="Background" TargetName="Bd" Value="{DynamicResource MaterialDesignSelection}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True"/> + <Condition Property="IsMouseOver" Value="False"/> + <Condition Property="IsKeyboardFocused" Value="False"/> + </MultiTrigger.Conditions> + <Setter Property="Background" TargetName="Bd" Value="{DynamicResource MaterialDesignSelection}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="False"/> + <Condition Property="IsMouseOver" Value="False"/> + <Condition Property="IsKeyboardFocused" Value="True"/> + </MultiTrigger.Conditions> + <Setter Property="Background" TargetName="Bd" Value="{DynamicResource MaterialDesignDivider}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="False"/> + <Condition Property="IsMouseOver" Value="True"/> + <Condition Property="IsKeyboardFocused" Value="True"/> + </MultiTrigger.Conditions> + <Setter Property="Background" TargetName="Bd" Value="{DynamicResource MaterialDesignDivider}"/> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDataGridComboBoxToggleButton" TargetType="{x:Type ToggleButton}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Focusable" Value="false"/> + <Setter Property="ClickMode" Value="Press"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border x:Name="templateRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" + SnapsToDevicePixels="true"> + <Border x:Name="splitBorder" BorderBrush="Transparent" BorderThickness="0" HorizontalAlignment="Right" Margin="0" VerticalAlignment="Top" SnapsToDevicePixels="true"> + <Viewbox Width="12" Height="12" VerticalAlignment="Center" Margin="2 2 0 0"> + <Path x:Name="arrow" Data="M0,0L5,5L10,0H7Z" Fill="{TemplateBinding BorderBrush}" HorizontalAlignment="Right" Margin="0" VerticalAlignment="Center" Canvas.Left="7" SnapsToDevicePixels="True"/> + </Viewbox> + </Border> + </Border> + <ControlTemplate.Triggers> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true"/> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false"/> + </MultiDataTrigger.Conditions> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true"/> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true"/> + </MultiDataTrigger.Conditions> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </MultiDataTrigger> + <Trigger Property="IsPressed" Value="true"> + <Setter Property="Fill" TargetName="arrow" Value="{DynamicResource PrimaryHueDarkBrush}"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Fill" TargetName="arrow" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + </Trigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false"/> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false"/> + </MultiDataTrigger.Conditions> + <Setter Property="BorderBrush" TargetName="templateRoot" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false"/> + <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true"/> + </MultiDataTrigger.Conditions> + <Setter Property="BorderBrush" TargetName="templateRoot" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + <Setter Property="BorderBrush" TargetName="splitBorder" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + </MultiDataTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <ControlTemplate x:Key="MaterialDesignDataGridComboBoxTemplate" TargetType="{x:Type ComboBox}"> + <Grid x:Name="templateRoot" SnapsToDevicePixels="true"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*"/> + <ColumnDefinition MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" Width="0"/> + </Grid.ColumnDefinitions> + <Popup x:Name="PART_Popup" AllowsTransparency="true" Grid.ColumnSpan="2" IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Margin="1" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" Placement="Bottom"> + <Grid MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{Binding ActualWidth, ElementName=templateRoot}" UseLayoutRounding="True"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border x:Name="shadow" Background="{DynamicResource MaterialDesignPaper}" CornerRadius="2" BorderThickness="1" + Effect="{DynamicResource MaterialDesignShadowDepth2}"> + </Border> + </AdornerDecorator> + <Border x:Name="dropDownBorder" Margin="{Binding ElementName=shadow, Path=Margin, Mode=OneWay}" Background="Transparent" + CornerRadius="2" BorderThickness="1" BorderBrush="{DynamicResource MaterialDesignDivider}"> + <ScrollViewer x:Name="DropDownScrollViewer"> + <Grid x:Name="grid" RenderOptions.ClearTypeHint="Enabled"> + <Canvas x:Name="canvas" HorizontalAlignment="Left" Height="0" VerticalAlignment="Top" Width="0"> + <Rectangle x:Name="opaqueRect" Fill="{Binding Background, ElementName=dropDownBorder}" Height="{Binding ActualHeight, ElementName=dropDownBorder}" Width="{Binding ActualWidth, ElementName=dropDownBorder}"/> + </Canvas> + <ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Contained" UseLayoutRounding="False" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Grid> + </ScrollViewer> + </Border> + </Grid> + </Popup> + <ToggleButton x:Name="toggleButton" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.ColumnSpan="2" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Style="{StaticResource MaterialDesignDataGridComboBoxToggleButton}" + /> + + <wpf:SmartHint x:Name="Hint" + Margin="{TemplateBinding Padding}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + FontSize="{TemplateBinding FontSize}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + UseLayoutRounding="{TemplateBinding UseLayoutRounding}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + Hint="{TemplateBinding wpf:HintAssist.Hint}" /> + <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" Content="{TemplateBinding SelectionBoxItem}" ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="false" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="true"> + <Setter Property="Margin" TargetName="shadow" Value="5,5,5,5"/> + </Trigger> + <Trigger Property="HasItems" Value="false"> + <Setter Property="Height" TargetName="dropDownBorder" Value="95"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsGrouping" Value="true"/> + <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="ScrollViewer.CanContentScroll" Value="false"/> + </MultiTrigger> + <Trigger Property="ScrollViewer.CanContentScroll" SourceName="DropDownScrollViewer" Value="false"> + <Setter Property="Canvas.Top" TargetName="opaqueRect" Value="{Binding VerticalOffset, ElementName=DropDownScrollViewer}"/> + <Setter Property="Canvas.Left" TargetName="opaqueRect" Value="{Binding HorizontalOffset, ElementName=DropDownScrollViewer}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style x:Key="MaterialDesignDataGridComboBoxEditableTextBox" TargetType="{x:Type TextBox}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="AllowDrop" Value="true"/> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="MinHeight" Value="0"/> + <Setter Property="FocusVisualStyle" Value="{x:Null}"/> + <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="0 0 0 0" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TextBox}"> + <Grid> + <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" + /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <ControlTemplate x:Key="MaterialDesignDataGridComboBoxEditableTemplate" TargetType="{x:Type ComboBox}"> + <Grid x:Name="templateRoot" SnapsToDevicePixels="true"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*"/> + <ColumnDefinition MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" Width="0"/> + </Grid.ColumnDefinitions> + <Popup x:Name="PART_Popup" AllowsTransparency="true" Grid.ColumnSpan="2" IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" Placement="Bottom"> + <Grid MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{Binding ActualWidth, ElementName=templateRoot}" UseLayoutRounding="True"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border x:Name="shadow" Background="{DynamicResource MaterialDesignPaper}" CornerRadius="2" BorderThickness="1" + Effect="{DynamicResource MaterialDesignShadowDepth2}"> + </Border> + </AdornerDecorator> + <Border x:Name="dropDownBorder" Margin="{Binding ElementName=shadow, Path=Margin, Mode=OneWay}" Background="Transparent" + CornerRadius="2" BorderThickness="1" BorderBrush="{DynamicResource MaterialDesignDivider}"> + <ScrollViewer x:Name="DropDownScrollViewer"> + <Grid x:Name="grid" RenderOptions.ClearTypeHint="Enabled"> + <Canvas x:Name="canvas" HorizontalAlignment="Left" Height="0" VerticalAlignment="Top" Width="0"> + <Rectangle x:Name="opaqueRect" Fill="{Binding Background, ElementName=dropDownBorder}" Height="{Binding ActualHeight, ElementName=dropDownBorder}" Width="{Binding ActualWidth, ElementName=dropDownBorder}"/> + </Canvas> + <ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Contained" UseLayoutRounding="False" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Grid> + </ScrollViewer> + </Border> + </Grid> + </Popup> + <ToggleButton x:Name="toggleButton" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.ColumnSpan="2" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Style="{StaticResource MaterialDesignDataGridComboBoxToggleButton}"/> + <Border x:Name="border" Background="Transparent" Margin="{TemplateBinding BorderThickness}"> + <Grid> + <wpf:SmartHint x:Name="Hint" + Margin="{TemplateBinding Padding}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + FontSize="{TemplateBinding FontSize}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + UseLayoutRounding="{TemplateBinding UseLayoutRounding}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + Hint="{TemplateBinding wpf:HintAssist.Hint}" /> + <TextBox x:Name="PART_EditableTextBox" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" IsReadOnly="{Binding IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}" Margin="{TemplateBinding Padding}" Style="{StaticResource MaterialDesignDataGridComboBoxEditableTextBox}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + </Border> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="true"> + <Setter Property="Margin" TargetName="shadow" Value="5,5,5,5"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" TargetName="border" Value="0.56"/> + </Trigger> + <Trigger Property="HasItems" Value="false"> + <Setter Property="Height" TargetName="dropDownBorder" Value="95"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsGrouping" Value="true"/> + <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="ScrollViewer.CanContentScroll" Value="false"/> + </MultiTrigger> + <Trigger Property="ScrollViewer.CanContentScroll" SourceName="DropDownScrollViewer" Value="false"> + <Setter Property="Canvas.Top" TargetName="opaqueRect" Value="{Binding VerticalOffset, ElementName=DropDownScrollViewer}"/> + <Setter Property="Canvas.Left" TargetName="opaqueRect" Value="{Binding HorizontalOffset, ElementName=DropDownScrollViewer}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style x:Key="MaterialDesignDataGridComboBox" TargetType="{x:Type ComboBox}"> + <!--Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/--> + <Setter Property="FocusVisualStyle" Value="{x:Null}"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="BorderThickness" Value="0 0 0 0"/> + <Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignDataGridComboBoxItemStyle}" /> + <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/> + <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> + <Setter Property="Padding" Value="0 0 0 0"/> + <Setter Property="ScrollViewer.CanContentScroll" Value="true"/> + <Setter Property="ScrollViewer.PanningMode" Value="Both"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="Template" Value="{StaticResource MaterialDesignDataGridComboBoxTemplate}"/> + <Style.Triggers> + <Trigger Property="IsEditable" Value="true"> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template" Value="{StaticResource MaterialDesignDataGridComboBoxEditableTemplate}"/> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.xaml new file mode 100644 index 000000000..74fc9d46f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DataGrid.xaml @@ -0,0 +1,383 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:controlzEx="clr-namespace:ControlzEx"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.checkbox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.DataGrid.ComboBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Thumb.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + <converters:NotZeroToVisibilityConverter x:Key="NotZeroToVisibilityConverter" /> + + <Style x:Key="MaterialDesignDataGridCheckBoxColumnStyle" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="HorizontalAlignment" Value="Center" /> + <Setter Property="IsHitTestVisible" Value="False" /> + <Setter Property="Focusable" Value="False" /> + </Style> + + <Style x:Key="MaterialDesignDataGridCheckBoxColumnEditingStyle" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="HorizontalAlignment" Value="Center" /> + </Style> + + <Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type ComboBox}, ResourceId=MaterialDataGridComboBoxColumnStyle}" + TargetType="{x:Type ComboBox}" + BasedOn="{StaticResource MaterialDesignDataGridComboBox}"> + <Setter Property="IsHitTestVisible" Value="False" /> + <Setter Property="Focusable" Value="False" /> + </Style> + + <Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type ComboBox}, ResourceId=MaterialDataGridComboBoxColumnEditingStyle}" + TargetType="{x:Type ComboBox}" + BasedOn="{StaticResource MaterialDesignDataGridComboBox}"> + </Style> + + <Style x:Key="MaterialDesignDataGridTextColumnEditingStyle" TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignTextBox}"> + <Setter Property="Margin" Value="0 0 0 -5" /> + <Setter Property="BorderThickness" Value="0 0 0 2"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TextBox}"> + <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True" + Padding="0 -1 0 3"> + <Grid> + <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" /> + <wpf:SmartHint x:Name="Hint" + Margin="1 0" + Hint="{Binding Path=(wpf:HintAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + FontSize="{TemplateBinding FontSize}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + /> + </Grid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDataGridTextColumnPopupEditingStyle" TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignTextBox}"> + <Setter Property="Margin" Value="0 0 0 -5" /> + <Setter Property="BorderThickness" Value="0 0 0 2"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TextBox}"> + <Grid> + <controlzEx:PopupEx IsOpen="True" AllowsTransparency="True" Placement="RelativePoint" HorizontalOffset="-6" VerticalOffset="-6" + PlacementTarget="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type DataGridCell}}}" + PopupAnimation="Fade"> + <Grid> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border Background="{DynamicResource MaterialDesignPaper}" CornerRadius="2" + Margin="5,5,5,5" + Effect="{StaticResource MaterialDesignShadowDepth2}" + BorderThickness="1"> + </Border> + </AdornerDecorator> + <Border Padding="16" Background="Transparent" CornerRadius="2" + Margin="5,5,5,5" + BorderBrush="{DynamicResource MaterialDesignDivider}" + BorderThickness="1"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True" + Padding="0 -1 0 3"> + <Grid> + <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" /> + <wpf:SmartHint x:Name="Hint" + Margin="1 0" + Hint="{Binding Path=(wpf:HintAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + FontSize="{TemplateBinding FontSize}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + /> + </Grid> + </Border> + <TextBlock Grid.Row="1" HorizontalAlignment="Right" Opacity=".56" Visibility="{TemplateBinding MaxLength, Converter={StaticResource NotZeroToVisibilityConverter}}"> + <TextBlock.Text> + <MultiBinding StringFormat="{}{0}/{1}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Text.Length" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="MaxLength" /> + </MultiBinding> + </TextBlock.Text> + </TextBlock> + </Grid> + </Border> + </Grid> + </controlzEx:PopupEx> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="{ComponentResourceKey ResourceId=DataGridSelectAllButtonStyle, TypeInTargetAssembly={x:Type DataGrid}}" TargetType="{x:Type Button}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Button}"> + <Grid> + <Rectangle x:Name="Border" Fill="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" SnapsToDevicePixels="True"/> + <Polygon x:Name="Arrow" Fill="Black" HorizontalAlignment="Right" Margin="8,8,3,3" Opacity="0.15" Points="0,10 10,10 10,0" Stretch="Uniform" VerticalAlignment="Bottom"/> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Stroke" TargetName="Border" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/> + </Trigger> + <Trigger Property="IsPressed" Value="True"> + <Setter Property="Fill" TargetName="Border" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Visibility" TargetName="Arrow" Value="Collapsed"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDataGridCell" TargetType="{x:Type DataGridCell}"> + <!--Setter Property="TextBlock.FontSize" Value="13" /--> + <Setter Property="Padding" Value="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:DataGridAssist.CellPadding)}" /> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DataGridCell}"> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> + <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + Margin="{TemplateBinding Padding}"/> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsKeyboardFocusWithin" Value="True"> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True"/> + <Condition Property="Selector.IsSelectionActive" Value="False"/> + </MultiTrigger.Conditions> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}"/> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True"/> + <Condition Property="Selector.IsSelectionActive" Value="True"/> + </MultiTrigger.Conditions> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + </MultiTrigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignDataGridColumnHeader" TargetType="{x:Type DataGridColumnHeader}"> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="TextBlock.FontSize" Value="12" /> + <Setter Property="TextBlock.FontWeight" Value="Medium" /> + <Setter Property="Padding" Value="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:DataGridAssist.ColumnHeaderPadding)}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignColumnHeader}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DataGridColumnHeader}"> + <ControlTemplate.Resources> + <Storyboard x:Key="GoToVisible"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SortDirectionIndicator" Storyboard.TargetProperty="Width"> + <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="12" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + <Storyboard x:Key="GoToHidden"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SortDirectionIndicator" Storyboard.TargetProperty="Width"> + <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="12" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </ControlTemplate.Resources> + <Grid> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}"> + <StackPanel Orientation="Horizontal" Background="Transparent"> + <wpf:ListSortDirectionIndicator Width="0" Height="12" + x:Name="SortDirectionIndicator" + ListSortDirection="{TemplateBinding SortDirection}" + /> + <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Margin="{TemplateBinding Padding}"/> + </StackPanel> + </Border> + <Thumb x:Name="PART_LeftHeaderGripper" HorizontalAlignment="Left" Style="{StaticResource MaterialDesignGridColumnHeaderGripper}"/> + <Thumb x:Name="PART_RightHeaderGripper" HorizontalAlignment="Right" Style="{StaticResource MaterialDesignGridColumnHeaderGripper}"/> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + </Trigger> + <Trigger Property="SortDirection" Value="Ascending"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + </Trigger> + <Trigger Property="SortDirection" Value="Descending"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + </Trigger> + <Trigger SourceName="SortDirectionIndicator" Property="IsNeutral" Value="False"> + <Trigger.EnterActions> + <BeginStoryboard Storyboard="{StaticResource GoToVisible}" Name="GoToVisible" /> + </Trigger.EnterActions> + <Trigger.ExitActions> + <RemoveStoryboard BeginStoryboardName="GoToVisible" /> + <BeginStoryboard Storyboard="{StaticResource GoToHidden}" /> + </Trigger.ExitActions> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDataGridRowHeader" TargetType="{x:Type DataGridRowHeader}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DataGridRowHeader}"> + <Grid MinWidth="24"> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}"> + <StackPanel Orientation="Horizontal"> + <ContentPresenter RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Center"/> + <Control SnapsToDevicePixels="false" Template="{Binding ValidationErrorTemplate, RelativeSource={RelativeSource AncestorType={x:Type DataGridRow}}}" Visibility="{Binding (Validation.HasError), Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGridRow}}}"/> + </StackPanel> + </Border> + <Thumb x:Name="PART_TopHeaderGripper" Style="{StaticResource MaterialDesignGridRowHeaderGripper}" VerticalAlignment="Top"/> + <Thumb x:Name="PART_BottomHeaderGripper" Style="{StaticResource MaterialDesignGridRowHeaderGripper}" VerticalAlignment="Bottom"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDataGridRow" TargetType="{x:Type DataGridRow}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="SnapsToDevicePixels" Value="true"/> + <Setter Property="Validation.ErrorTemplate" Value="{x:Null}"/> + <Setter Property="ValidationErrorTemplate"> + <Setter.Value> + <ControlTemplate> + <TextBlock Foreground="#d50000" Margin="2,0,0,0" Text="!" VerticalAlignment="Center"/> + </ControlTemplate> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DataGridRow}"> + <Border x:Name="DGR_Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> + <SelectiveScrollingGrid> + <SelectiveScrollingGrid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </SelectiveScrollingGrid.ColumnDefinitions> + <SelectiveScrollingGrid.RowDefinitions> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + </SelectiveScrollingGrid.RowDefinitions> + <DataGridCellsPresenter Grid.Column="1" ItemsPanel="{TemplateBinding ItemsPanel}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + <DataGridDetailsPresenter Grid.Column="1" Grid.Row="1" SelectiveScrollingGrid.SelectiveScrollingOrientation="{Binding AreRowDetailsFrozen, ConverterParameter={x:Static SelectiveScrollingOrientation.Vertical}, Converter={x:Static DataGrid.RowDetailsScrollingConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" Visibility="{TemplateBinding DetailsVisibility}"/> + <DataGridRowHeader Grid.RowSpan="2" SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" Visibility="{Binding HeadersVisibility, ConverterParameter={x:Static DataGridHeadersVisibility.Row}, Converter={x:Static DataGrid.HeadersVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/> + </SelectiveScrollingGrid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsSelected" Value="True"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + </Trigger> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}" /> + </Trigger> + <Trigger Property="IsNewItem" Value="True"> + <Setter Property="Margin" Value="{Binding NewItemMargin, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignDataGrid" TargetType="{x:Type DataGrid}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="FontSize" Value="13"/> + <Setter Property="GridLinesVisibility" Value="Horizontal" /> + <Setter Property="RowDetailsVisibilityMode" Value="VisibleWhenSelected"/> + <Setter Property="HeadersVisibility" Value="Column" /> + <Setter Property="ScrollViewer.CanContentScroll" Value="true"/> + <Setter Property="ScrollViewer.PanningMode" Value="Both"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="HorizontalGridLinesBrush" Value="{DynamicResource MaterialDesignSelection}" /> + <Setter Property="wpf:DataGridAssist.AutoGeneratedCheckBoxStyle" Value="{StaticResource MaterialDesignDataGridCheckBoxColumnStyle}" /> + <Setter Property="wpf:DataGridAssist.AutoGeneratedEditingCheckBoxStyle" Value="{StaticResource MaterialDesignDataGridCheckBoxColumnEditingStyle}" /> + <Setter Property="wpf:DataGridAssist.AutoGeneratedEditingTextStyle" Value="{StaticResource MaterialDesignDataGridTextColumnEditingStyle}" /> + <Setter Property="wpf:DataGridAssist.EnableEditBoxAssist" Value="True" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DataGrid}"> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="True"> + <ScrollViewer x:Name="DG_ScrollViewer" Focusable="false"> + <ScrollViewer.Template> + <ControlTemplate TargetType="{x:Type ScrollViewer}"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <Button Command="{x:Static DataGrid.SelectAllCommand}" Focusable="false" Style="{DynamicResource {ComponentResourceKey ResourceId=DataGridSelectAllButtonStyle, TypeInTargetAssembly={x:Type DataGrid}}}" Visibility="{Binding HeadersVisibility, ConverterParameter={x:Static DataGridHeadersVisibility.All}, Converter={x:Static DataGrid.HeadersVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" Width="{Binding CellsPanelHorizontalOffset, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/> + <Border BorderThickness="0 0 0 1" BorderBrush="{DynamicResource MaterialDesignDivider}" Grid.Column="1" Visibility="{Binding HeadersVisibility, ConverterParameter={x:Static DataGridHeadersVisibility.Column}, Converter={x:Static DataGrid.HeadersVisibilityConverter}, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"> + <DataGridColumnHeadersPresenter x:Name="PART_ColumnHeadersPresenter" /> + </Border> + <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" Grid.ColumnSpan="2" Grid.Row="1"/> + <ScrollBar x:Name="PART_VerticalScrollBar" Grid.Column="2" Maximum="{TemplateBinding ScrollableHeight}" Orientation="Vertical" Grid.Row="1" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}"/> + <Grid Grid.Column="1" Grid.Row="2"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="{Binding NonFrozenColumnsViewportHorizontalOffset, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <ScrollBar x:Name="PART_HorizontalScrollBar" Grid.Column="1" Maximum="{TemplateBinding ScrollableWidth}" Orientation="Horizontal" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}"/> + </Grid> + </Grid> + </ControlTemplate> + </ScrollViewer.Template> + <ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + </ScrollViewer> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsGrouping" Value="true"/> + <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="ScrollViewer.CanContentScroll" Value="false"/> + </MultiTrigger> + </Style.Triggers> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DatePicker.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DatePicker.xaml new file mode 100644 index 000000000..4b13bd4cc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DatePicker.xaml @@ -0,0 +1,212 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="MaterialDesignTheme.Calendar.xaml" /> + <ResourceDictionary Source="MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:TextFieldHintVisibilityConverter x:Key="TextFieldHintVisibilityConverter" /> + + <Style x:Key="MaterialDesignDatePickerTextBox" TargetType="{x:Type DatePickerTextBox}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="0 0 0 0" /> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="CaretBrush" Value="{Binding RelativeSource={RelativeSource Self}, Path=BorderBrush}"/> + <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DatePickerTextBox}"> + <Grid> + <Grid.Resources> + <SolidColorBrush x:Key="WatermarkBrush" Color="{TemplateBinding Foreground}"/> + </Grid.Resources> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver"/> + </VisualStateGroup> + <VisualStateGroup x:Name="WatermarkStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Unwatermarked"/> + <VisualState x:Name="Watermarked"> + <Storyboard> + <DoubleAnimation Duration="0" To=".23" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Watermark"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="FocusStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Unfocused"/> + <VisualState x:Name="Focused"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid x:Name="WatermarkContent" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> + <wpf:SmartHint x:Name="Hint" + FontSize="{TemplateBinding FontSize}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + Hint="{Binding Path=(wpf:HintAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}"/> + <ContentControl x:Name="PART_Watermark" Focusable="False" IsHitTestVisible="False" Opacity="0" Visibility="Collapsed" /> + <ScrollViewer x:Name="PART_ContentHost" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="0" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + </Grid> + <ControlTemplate.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition SourceName="Hint" Property="IsContentNullOrEmpty" Value="False" /> + <Condition Property="IsKeyboardFocused" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDatePickerCalendarPortrait" TargetType="{x:Type Calendar}"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="CalendarDayButtonStyle" Value="{StaticResource MaterialDesignCalendarDayButton}" /> + <Setter Property="CalendarButtonStyle" Value="{StaticResource MaterialDesignCalendarButton}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Calendar}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border Effect="{DynamicResource MaterialDesignShadowDepth4}" Padding="16 8 16 24"> + <CalendarItem x:Name="PART_CalendarItem" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" Style="{DynamicResource MaterialDesignCalendarItemPortrait}"/> + </Border> + </AdornerDecorator> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignDatePicker" TargetType="{x:Type DatePicker}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" /> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="CalendarStyle" Value="{StaticResource MaterialDesignDatePickerCalendarPortrait}"/> + <Setter Property="IsTodayHighlighted" Value="True"/> + <Setter Property="SelectedDateFormat" Value="Short"/> + <Setter Property="BorderThickness" Value="0 0 0 1"/> + <Setter Property="HorizontalContentAlignment" Value="Stretch"/> + <Setter Property="Margin" Value="0 0 0 0" /> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DatePicker}"> + <Grid> + <Border BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + x:Name="border" + Padding="0 4 0 4" + SnapsToDevicePixels="True"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To=".56" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Root"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid x:Name="PART_Root" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Background="Transparent"> + <Grid.Resources> + <ControlTemplate x:Key="DropDownButtonTemplate" TargetType="{x:Type Button}"> + <Grid Background="Transparent"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/> + <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver"/> + <VisualState x:Name="Pressed"/> + <VisualState x:Name="Disabled"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Viewbox> + <Canvas Width="24" Height="24"> + <Path Data="M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z" Fill="{TemplateBinding Foreground}" /> + </Canvas> + </Viewbox> + </Grid> + </ControlTemplate> + </Grid.Resources> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Button x:Name="PART_Button" + Grid.Column="1" + Foreground="{TemplateBinding BorderBrush}" + Focusable="False" + HorizontalAlignment="Right" + Margin="4 0 0 -3" + Grid.Row="0" + Template="{StaticResource DropDownButtonTemplate}" Padding="0" + Height="17" /> + <DatePickerTextBox x:Name="PART_TextBox" + Grid.Column="0" + Focusable="{TemplateBinding Focusable}" + HorizontalContentAlignment="Stretch" + Grid.Row="0" + VerticalContentAlignment="Center" + Style="{DynamicResource MaterialDesignDatePickerTextBox}" + HorizontalAlignment="Stretch" /> + <Popup x:Name="PART_Popup" AllowsTransparency="True" + Placement="Custom" + CustomPopupPlacementCallback="{x:Static wpf:CustomPopupPlacementCallbackHelper.LargePopupCallback}" + PlacementTarget="{Binding ElementName=PART_TextBox}" StaysOpen="False" + PopupAnimation="Fade" /> + </Grid> + </Border> + <wpf:Underline x:Name="Underline" Visibility="{Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}}"/> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" TargetName="border" Value="0.56"/> + </Trigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </Trigger> + <Trigger Property="IsKeyboardFocusWithin" Value="true"> + <Setter TargetName="Underline" Property="IsActive" Value="True"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource ValidationErrorBrush}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignFloatingHintDatePicker" TargetType="{x:Type DatePicker}" BasedOn="{StaticResource MaterialDesignDatePicker}"> + <Setter Property="wpf:HintAssist.IsFloating" Value="True"/> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Defaults.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Defaults.xaml new file mode 100644 index 000000000..647547935 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Defaults.xaml @@ -0,0 +1,91 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <!-- use this resource dictionary to set up the most common themese for standard controls --> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Calendar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.CheckBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.ComboBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.DataGrid.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.DatePicker.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Expander.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Font.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.GridSplitter.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.GroupBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Hyperlink.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Label.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Listbox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Menu.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PasswordBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ProgressBar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.RadioButton.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ScrollBar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ScrollViewer.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Slider.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.TextBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TimePicker.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.ToggleButton.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToolBar.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToolBarTray.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToolTip.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TreeView.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Thumb.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ListView.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + <SolidColorBrush x:Key="MaterialDesignLightBackground" Color="#FFFAFAFA"/> + <SolidColorBrush x:Key="MaterialDesignLightForeground" Color="#DD000000"/> + <SolidColorBrush x:Key="MaterialDesignDarkBackground" Color="#FF303030"/> + <SolidColorBrush x:Key="MaterialDesignDarkForeground" Color="#FFFAFAFA"/> + <SolidColorBrush x:Key="MaterialDesignDarkSeparatorBackground" Color="#1F000000" /> + <SolidColorBrush x:Key="MaterialDesignLightSeparatorBackground" Color="#1FFFFFFF" /> + <Style TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignRaisedButton}" /> + <Style TargetType="{x:Type Calendar}" BasedOn="{StaticResource MaterialDesignCalendarPortrait}" /> + <Style TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}" /> + <Style TargetType="{x:Type ComboBox}" BasedOn="{StaticResource MaterialDesignComboBox}" /> + <Style TargetType="{x:Type ContextMenu}" BasedOn="{StaticResource MaterialDesignContextMenu}" /> + <Style TargetType="{x:Type Thumb}" BasedOn="{StaticResource MaterialDesignThumb}" /> + <Style TargetType="{x:Type DataGrid}" BasedOn="{StaticResource MaterialDesignDataGrid}" /> + <Style TargetType="{x:Type DataGridCell}" BasedOn="{StaticResource MaterialDesignDataGridCell}" /> + <Style TargetType="{x:Type DataGridColumnHeader}" BasedOn="{StaticResource MaterialDesignDataGridColumnHeader}" /> + <Style TargetType="{x:Type DataGridRow}" BasedOn="{StaticResource MaterialDesignDataGridRow}" /> + <Style TargetType="{x:Type DataGridRowHeader}" BasedOn="{StaticResource MaterialDesignDataGridRowHeader}" /> + <Style TargetType="{x:Type DatePicker}" BasedOn="{StaticResource MaterialDesignDatePicker}" /> + <Style TargetType="{x:Type Expander}" BasedOn="{StaticResource MaterialDesignExpander}" /> + <Style TargetType="{x:Type GridSplitter}" BasedOn="{StaticResource MaterialDesignGridSplitter}" /> + <Style TargetType="{x:Type GroupBox}" BasedOn="{StaticResource MaterialDesignGroupBox}" /> + <Style TargetType="{x:Type Label}" BasedOn="{StaticResource MaterialDesignLabel}" /> + <Style TargetType="{x:Type ListBox}" BasedOn="{StaticResource MaterialDesignListBox}" /> + <Style TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource MaterialDesignListBoxItem}" /> + <Style TargetType="{x:Type PasswordBox}" BasedOn="{StaticResource MaterialDesignPasswordBox}" /> + <Style TargetType="{x:Type ProgressBar}" BasedOn="{StaticResource MaterialDesignLinearProgressBar}" /> + <Style TargetType="{x:Type RadioButton}" BasedOn="{StaticResource MaterialDesignRadioButton}" /> + <Style TargetType="{x:Type RepeatButton}" BasedOn="{StaticResource MaterialDesignRaisedButton}" /> + <Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource MaterialDesignScrollBar}" /> + <Style TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource MaterialDesignScrollViewer}" /> + <Style TargetType="{x:Type Slider}" BasedOn="{StaticResource MaterialDesignSlider}" /> + <Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignTextBox}" /> + <Style TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignSwitchToggleButton}" /> + <Style TargetType="{x:Type ToolBar}" BasedOn="{StaticResource MaterialDesignToolBar}" /> + <Style TargetType="{x:Type ToolBarTray}" BasedOn="{StaticResource MaterialDesignToolBarTray}" /> + <Style TargetType="{x:Type ToolTip}" BasedOn="{StaticResource MaterialDesignToolTip}" /> + <Style TargetType="{x:Type TreeView}" BasedOn="{StaticResource MaterialDesignTreeView}" /> + <Style TargetType="{x:Type TreeViewItem}" BasedOn="{StaticResource MaterialDesignTreeViewItem}" /> + <Style TargetType="{x:Type ListView}" BasedOn="{StaticResource MaterialDesignListView}" /> + <Style TargetType="{x:Type ListViewItem}" BasedOn="{StaticResource MaterialDesignListBoxItem}" /> + <Style TargetType="{x:Type Menu}" BasedOn="{StaticResource MaterialDesignMenu}" /> + <Style TargetType="{x:Type MenuItem}" BasedOn="{StaticResource MaterialDesignMenuItem}" /> + <Style x:Key="{x:Static MenuItem.SeparatorStyleKey}" TargetType="{x:Type Separator}" BasedOn="{StaticResource MaterialDesignSeparator}" /> + <Style x:Key="MaterialDesignDarkSeparator" TargetType="{x:Type Separator}" BasedOn="{StaticResource MaterialDesignSeparator}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDarkSeparatorBackground}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignDarkSeparatorBackground}"/> + </Style> + <Style x:Key="MaterialDesignLightSeparator" TargetType="{x:Type Separator}" BasedOn="{StaticResource MaterialDesignSeparator}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignLightSeparatorBackground}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignLightSeparatorBackground}"/> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Expander.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Expander.xaml new file mode 100644 index 000000000..a0e06671a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Expander.xaml @@ -0,0 +1,354 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:system="clr-namespace:System;assembly=mscorlib"> + + <converters:MathMultipleConverter x:Key="MathMlpMultipleConverter" Operation="Multiply" /> + + + + <Style x:Key="MaterialDesignExpanderToggleButton" TargetType="{x:Type ToggleButton}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="Transparent"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CheckStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Unchecked" To="Checked"> + <VisualTransition.GeneratedEasingFunction> + <QuarticEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-180"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition GeneratedDuration="0" To="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="-180"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition GeneratedDuration="0" To="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" GeneratedDuration="0" To="Unchecked"> + <VisualTransition.GeneratedEasingFunction> + <QuarticEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="-180"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-180"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:PackIcon Kind="ChevronDown" Opacity=".38" x:Name="ExpandPath" RenderTransformOrigin="0.5,0.5" + Height="24" Width="24" Foreground="{TemplateBinding Foreground}"> + <wpf:PackIcon.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform /> + <TranslateTransform/> + </TransformGroup> + </wpf:PackIcon.RenderTransform> + </wpf:PackIcon> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignExpanderRightHeaderStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="{TemplateBinding Background}" Padding="12,24,12,24"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition /> + </Grid.RowDefinitions> + <ToggleButton Grid.Row="0" + HorizontalAlignment="Center" + Foreground="{TemplateBinding Foreground}" + IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + Style="{StaticResource MaterialDesignExpanderToggleButton}" + RenderTransformOrigin="0.5,0.5"> + <ToggleButton.RenderTransform> + <RotateTransform Angle="-90"/> + </ToggleButton.RenderTransform> + </ToggleButton> + <ContentPresenter Grid.Row="1" + HorizontalAlignment="Center" + Margin="0,16,0,0" + Content="{TemplateBinding Content}" VerticalAlignment="Top" /> + </Grid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignExpanderLeftHeaderStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="HorizontalAlignment" Value="Right" /> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="{TemplateBinding Background}" Padding="12,24,12,24"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition /> + </Grid.RowDefinitions> + <ToggleButton Grid.Row="0" + HorizontalAlignment="Center" + Foreground="{TemplateBinding Foreground}" + IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + Style="{StaticResource MaterialDesignExpanderToggleButton}" + RenderTransformOrigin="0.5,0.5"> + <ToggleButton.RenderTransform> + <RotateTransform Angle="90"/> + </ToggleButton.RenderTransform> + </ToggleButton> + <ContentPresenter Grid.Row="1" + HorizontalAlignment="Center" + Margin="0,16,0,0" + Content="{TemplateBinding Content}" VerticalAlignment="Top" /> + </Grid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignExpanderDownHeaderStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="VerticalAlignment" Value="Center" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="{TemplateBinding Background}" Padding="24,12,24,12"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition /> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <ContentPresenter Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + VerticalAlignment="Center" + Margin="0,0,16,0" /> + <ToggleButton Grid.Column="1" + VerticalAlignment="Center" + Foreground="{TemplateBinding Foreground}" + IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + Style="{StaticResource MaterialDesignExpanderToggleButton}"/> + </Grid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignExpanderUpHeaderStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="HorizontalAlignment" Value="Stretch" /> + <Setter Property="VerticalAlignment" Value="Center" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="{TemplateBinding Background}" Padding="24,12,24,12"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition /> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <ContentPresenter VerticalAlignment="Center" + Content="{TemplateBinding Content}" + Margin="0,0,16,0" /> + <ToggleButton IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + VerticalAlignment="Center" + Foreground="{TemplateBinding Foreground}" + Style="{StaticResource MaterialDesignExpanderToggleButton}" + RenderTransformOrigin="0.5,0.5" + Grid.Column="1"> + <ToggleButton.RenderTransform> + <RotateTransform Angle="-180"/> + </ToggleButton.RenderTransform> + </ToggleButton> + </Grid> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignExpander" TargetType="{x:Type Expander}"> + <Setter Property="BorderThickness" Value="0" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="HorizontalContentAlignment" Value="Stretch"/> + <Setter Property="VerticalContentAlignment" Value="Top"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Expander}"> + <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="ExpansionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0" To="Expanded"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="1" Duration="0:0:0.3"/> + </Storyboard> + </VisualTransition> + <VisualTransition GeneratedDuration="0" To="Collapsed"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0:0:0.3" Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="0" Duration="0:0:0.3"/> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Expanded"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="1" Duration="0"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Collapsed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_Content" To="0" Duration="0"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <DockPanel Background="{TemplateBinding Background}"> + <ToggleButton Name="HeaderSite" + Focusable="False" + IsTabStop="False" + DockPanel.Dock="Top" + BorderThickness="0" Cursor="Hand" + IsChecked="{Binding Path=IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + Style="{StaticResource MaterialDesignExpanderDownHeaderStyle}" + TextElement.FontSize="15" + Opacity=".87" + Foreground="{TemplateBinding Foreground}" + Content="{TemplateBinding Header}" + ContentTemplate="{TemplateBinding HeaderTemplate}" + ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" + ContentStringFormat="{TemplateBinding HeaderStringFormat}"/> + <Border Name="ContentSite" + DockPanel.Dock="Bottom" > + <StackPanel Name="ContentPanel" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + Margin="{TemplateBinding Padding}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> + <StackPanel.Height> + <MultiBinding Converter="{StaticResource MathMlpMultipleConverter}"> + <Binding ElementName="PART_Content" Path="ActualHeight"/> + <Binding ElementName="PART_Content" Path="Opacity"/> + </MultiBinding> + </StackPanel.Height> + <StackPanel.Width> + <MultiBinding Converter="{StaticResource MathMlpMultipleConverter}"> + <Binding ElementName="PART_Content" Path="ActualWidth"/> + <Binding ElementName="PART_Content" Path="Opacity"/> + </MultiBinding> + </StackPanel.Width> + <ContentPresenter Name="PART_Content" Focusable="False" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/> + </StackPanel> + </Border> + </DockPanel> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="ExpandDirection" Value="Right"> + <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left"/> + <Setter Property="DockPanel.Dock" TargetName="ContentSite" Value="Right"/> + <Setter Property="Orientation" TargetName="ContentPanel" Value="Horizontal"/> + <Setter Property="Height" TargetName="ContentPanel" Value="Auto"/> + <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource MaterialDesignExpanderRightHeaderStyle}"/> + </Trigger> + + <Trigger Property="ExpandDirection" Value="Left"> + <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right"/> + <Setter Property="DockPanel.Dock" TargetName="ContentSite" Value="Left"/> + <Setter Property="Orientation" TargetName="ContentPanel" Value="Horizontal"/> + <Setter Property="Height" TargetName="ContentPanel" Value="Auto"/> + <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource MaterialDesignExpanderLeftHeaderStyle}"/> + </Trigger> + + <Trigger Property="ExpandDirection" Value="Up"> + <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom"/> + <Setter Property="DockPanel.Dock" TargetName="ContentSite" Value="Top"/> + <Setter Property="Orientation" TargetName="ContentPanel" Value="Vertical"/> + <Setter Property="Width" TargetName="ContentPanel" Value="Auto"/> + <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource MaterialDesignExpanderUpHeaderStyle}"/> + </Trigger> + + <Trigger Property="ExpandDirection" Value="Down"> + <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Top"/> + <Setter Property="DockPanel.Dock" TargetName="ContentSite" Value="Bottom"/> + <Setter Property="Orientation" TargetName="ContentPanel" Value="Vertical"/> + <Setter Property="Width" TargetName="ContentPanel" Value="Auto"/> + <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource MaterialDesignExpanderDownHeaderStyle}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Flipper.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Flipper.xaml new file mode 100644 index 000000000..b6f6db17f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Flipper.xaml @@ -0,0 +1,194 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:MaterialDesignThemes.Wpf.Themes" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf"> + + <SineEase x:Key="FlipEase" EasingMode="EaseInOut" /> + + <Style TargetType="{x:Type wpf:Flipper}"> + <Setter Property="KeyboardNavigation.IsTabStop" Value="False"/> + <Setter Property="VerticalAlignment" Value="Top"/> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:Flipper}"> + <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" + x:Name="Border"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="FlipStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Unflipped" To="Flipped"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.4" Storyboard.TargetProperty="RotationY" Storyboard.TargetName="Plane3D"> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.0" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="-90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4" EasingFunction="{StaticResource FlipEase}" /> + </DoubleAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Flipped" To="Unflipped"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.4" Storyboard.TargetProperty="RotationY" Storyboard.TargetName="Plane3D"> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.0" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="-90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4" EasingFunction="{StaticResource FlipEase}" /> + </DoubleAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Unflipped"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Flipped"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:Plane3D x:Name="Plane3D" RotationY="0" ZFactor="2.055"> + <Grid> + <ContentPresenter + x:Name="FrontContentPresenter" + Margin="{TemplateBinding Padding}" + Content="{TemplateBinding FrontContent}" + ContentTemplate="{TemplateBinding FrontContentTemplate}" + ContentTemplateSelector="{TemplateBinding FrontContentTemplateSelector}" + ContentStringFormat="{TemplateBinding FrontContentStringFormat}" + RenderTransformOrigin=".5,.5" /> + <ContentPresenter + x:Name="BackContentPresenter" + Visibility="Hidden" + Margin="{TemplateBinding Padding}" + Content="{TemplateBinding BackContent}" + ContentTemplate="{TemplateBinding BackContentTemplate}" + ContentTemplateSelector="{TemplateBinding BackContentTemplateSelector}" + ContentStringFormat="{TemplateBinding BackContentStringFormat}" + RenderTransformOrigin=".5,.5" /> + </Grid> + </wpf:Plane3D> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignCardFlipper" TargetType="{x:Type wpf:Flipper}" BasedOn="{StaticResource {x:Type wpf:Flipper}}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:Flipper}"> + <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" + x:Name="Border"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="FlipStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Unflipped" To="Flipped"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.4" Storyboard.TargetProperty="RotationY" Storyboard.TargetName="PART_Plane3D"> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.0" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="-90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4" EasingFunction="{StaticResource FlipEase}" /> + </DoubleAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Flipped" To="Unflipped"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.4" Storyboard.TargetProperty="RotationY" Storyboard.TargetName="PART_Plane3D"> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.0" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="-90" KeyTime="0:0:0.2" EasingFunction="{StaticResource FlipEase}" /> + <EasingDoubleKeyFrame Value="0" KeyTime="0:0:0.4" EasingFunction="{StaticResource FlipEase}" /> + </DoubleAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" KeyTime="0:0:0.2" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + + <VisualState x:Name="Unflipped"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Flipped"> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="BackContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FrontContentPresenter"> + <DiscreteObjectKeyFrame Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:Plane3D x:Name="PART_Plane3D" RotationY="0" ZFactor="2.055"> + <wpf:Card> + <Grid> + <ContentPresenter x:Name="FrontContentPresenter" + Margin="{TemplateBinding Padding}" + Content="{TemplateBinding FrontContent}" + ContentTemplate="{TemplateBinding FrontContentTemplate}" + ContentTemplateSelector="{TemplateBinding FrontContentTemplateSelector}" + ContentStringFormat="{TemplateBinding FrontContentStringFormat}" + RenderTransformOrigin=".5,.5" /> + <ContentPresenter x:Name="BackContentPresenter" + Visibility="Collapsed" + Margin="{TemplateBinding Padding}" + Content="{TemplateBinding BackContent}" + ContentTemplate="{TemplateBinding BackContentTemplate}" + ContentTemplateSelector="{TemplateBinding BackContentTemplateSelector}" + ContentStringFormat="{TemplateBinding BackContentStringFormat}" + RenderTransformOrigin=".5,.5" /> + </Grid> + </wpf:Card> + </wpf:Plane3D> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Font.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Font.xaml new file mode 100644 index 000000000..84727f0ab --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Font.xaml @@ -0,0 +1,7 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + > + + <FontFamily x:Key="MaterialDesignFont">pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto</FontFamily> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.GridSplitter.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.GridSplitter.xaml new file mode 100644 index 000000000..b6bb9f093 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.GridSplitter.xaml @@ -0,0 +1,48 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <Style x:Key="MaterialDesignGridSplitterPreview"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Fill="{DynamicResource MaterialDesignSelection}"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignGridSplitter" TargetType="{x:Type GridSplitter}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}"/> + <Setter Property="PreviewStyle" Value="{StaticResource MaterialDesignGridSplitterPreview}"/> + <Setter Property="Opacity" Value=".56"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type GridSplitter}"> + <ControlTemplate.Resources> + <Storyboard x:Key="MouseEnter"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.56"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + <Storyboard x:Key="MouseExit"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.56"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.56"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </ControlTemplate.Resources> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"/> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Trigger.ExitActions> + <BeginStoryboard x:Name="MouseExit_BeginStoryboard" Storyboard="{StaticResource MouseExit}"/> + </Trigger.ExitActions> + <Trigger.EnterActions> + <BeginStoryboard x:Name="MouseEnter_BeginStoryboard" Storyboard="{StaticResource MouseEnter}"/> + </Trigger.EnterActions> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.GroupBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.GroupBox.xaml new file mode 100644 index 000000000..f2061d3fa --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.GroupBox.xaml @@ -0,0 +1,87 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + > + + <Style x:Key="MaterialDesignHeaderedContentControl" TargetType="{x:Type HeaderedContentControl}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type HeaderedContentControl}"> + <StackPanel> + <wpf:ColorZone> + <ContentPresenter ContentSource="Header"/> + </wpf:ColorZone> + <ContentPresenter/> + </StackPanel> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + + <Style x:Key="MaterialDesignGroupBox" TargetType="{x:Type GroupBox}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="Padding" Value="9"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="SnapsToDevicePixels" Value="true"/> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth0" /> + <Setter Property="wpf:ColorZoneAssist.Mode" Value="PrimaryMid" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type GroupBox}"> + <Grid> + <Border Background="{TemplateBinding Background}" BorderBrush="{Binding Path=Background, ElementName=PART_ColorZone}" BorderThickness="{TemplateBinding BorderThickness}" /> + <DockPanel Background="{TemplateBinding Background}"> + <wpf:ColorZone UseLayoutRounding="True" x:Name="PART_ColorZone" DockPanel.Dock="Top" Padding="{TemplateBinding Padding}" + Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + wpf:ShadowAssist.ShadowEdges="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowEdges)}" + Mode="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ColorZoneAssist.Mode)}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> + <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + ContentStringFormat="{TemplateBinding HeaderStringFormat}" + ContentTemplate="{TemplateBinding HeaderTemplate}" + ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"/> + </wpf:ColorZone> + <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/> + </DockPanel> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignCardGroupBox" TargetType="{x:Type GroupBox}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="Padding" Value="9"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="SnapsToDevicePixels" Value="true"/> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth0" /> + <Setter Property="wpf:ColorZoneAssist.Mode" Value="PrimaryMid" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type GroupBox}"> + <wpf:Card VerticalAlignment="Stretch"> + <DockPanel Background="{TemplateBinding Background}"> + <wpf:ColorZone x:Name="PART_ColorZone" DockPanel.Dock="Top" Padding="{TemplateBinding Padding}" Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" Mode="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ColorZoneAssist.Mode)}"> + <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + ContentStringFormat="{TemplateBinding HeaderStringFormat}" + ContentTemplate="{TemplateBinding HeaderTemplate}" + ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"/> + </wpf:ColorZone> + <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/> + </DockPanel> + </wpf:Card> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Hyperlink.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Hyperlink.xaml new file mode 100644 index 000000000..fc2d27855 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Hyperlink.xaml @@ -0,0 +1,62 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignBody1Hyperlink"> + <Setter Property="FontSize" Value="13"/> + <Setter Property="FontWeight" Value="Regular"/> + <Setter Property="TextDecorations" Value="None" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + <Style.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + <Trigger Property="IsEnabled" Value="True"> + <Setter Property="Cursor" Value="Hand" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsEnabled" Value="True" /> + <Condition Property="IsMouseOver" Value="True" /> + </MultiTrigger.Conditions> + <Setter Property="TextDecorations" Value="Underline" /> + </MultiTrigger> + </Style.Triggers> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignCaptionHyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="12"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignBody2Hyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontWeight" Value="Medium"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignSubheadingHyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="15"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignTitleHyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="20"/> + <Setter Property="FontWeight" Value="Medium"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignHeadlineHyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="24"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignDisplay1Hyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="34"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignDisplay2Hyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="45"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignDisplay3Hyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="56"/> + </Style> + <Style TargetType="{x:Type Hyperlink}" x:Key="MaterialDesignDisplay4Hyperlink" + BasedOn="{StaticResource MaterialDesignBody1Hyperlink}"> + <Setter Property="FontSize" Value="112"/> + <Setter Property="FontWeight" Value="Light"/> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Label.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Label.xaml new file mode 100644 index 000000000..76c9dd46a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Label.xaml @@ -0,0 +1,24 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <Style x:Key="MaterialDesignLabel" TargetType="{x:Type Label}"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Padding" Value="5"/> + <Setter Property="HorizontalContentAlignment" Value="Left"/> + <Setter Property="VerticalContentAlignment" Value="Top"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Label}"> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true"> + <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Light.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Light.xaml new file mode 100644 index 000000000..55070bca4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Light.xaml @@ -0,0 +1,36 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <Color x:Key="ValidationErrorColor">#f44336</Color> + <SolidColorBrush x:Key="ValidationErrorBrush" Color="{StaticResource ValidationErrorColor}" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignBackground" Color="#FFFFFFFF" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignPaper" Color="#FFfafafa" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignCardBackground" Color="#FFFFFFFF" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignToolBarBackground" Color="#FFF5F5F5" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignBody" Color="#DD000000" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignBodyLight" Color="#89000000" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignColumnHeader" Color="#BC000000" po:Freeze="True" /> <!-- 74% --> + + <SolidColorBrush x:Key="MaterialDesignCheckBoxOff" Color="#89000000" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignCheckBoxDisabled" Color="#FFBDBDBD" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignTextBoxBorder" Color="#89000000" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignDivider" Color="#1F000000" po:Freeze="True" /> <!-- 12% --> + <SolidColorBrush x:Key="MaterialDesignSelection" Color="#FFDeDeDe" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignFlatButtonClick" Color="#FFDeDeDe" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignFlatButtonRipple" Color="#FFB6B6B6" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignToolTipBackground" Color="#757575" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignChipBackground" Color="#12000000" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignSnackbarBackground" Color="#FF323232" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignSnackbarMouseOver" Color="#FF464642" po:Freeze="True" /> + <SolidColorBrush x:Key="MaterialDesignSnackbarRipple" Color="#FFB6B6B6" po:Freeze="True" /> + + <SolidColorBrush x:Key="MaterialDesignTextFieldBoxBackground" Color="#0F000000" po:Freeze="True" /> <!-- 6% black --> + <SolidColorBrush x:Key="MaterialDesignTextFieldBoxDisabledBackground" Color="#08000000" po:Freeze="True" /> <!-- 3% black --> + <SolidColorBrush x:Key="MaterialDesignTextAreaBorder" Color="#BC000000" po:Freeze="True" /> <!-- 74% black --> + <SolidColorBrush x:Key="MaterialDesignTextAreaInactiveBorder" Color="#0F000000" po:Freeze="True" /> <!-- 6% black --> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListBox.xaml new file mode 100644 index 000000000..e36f04c43 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListBox.xaml @@ -0,0 +1,349 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary> + <converters:BrushRoundConverter x:Key="BrushRoundConverter"/> + </ResourceDictionary> + </ResourceDictionary.MergedDictionaries> + + <converters:EqualityToVisibilityConverter x:Key="EqualityToVisibilityConverter" /> + + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignToolToggleListBoxItem" TargetType="{x:Type ListBoxItem}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignDivider}"/> + <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="Padding" Value="14 6 14 6" /> + <Setter Property="SnapsToDevicePixels" Value="True"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ListBoxItem}"> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Margin="{TemplateBinding Margin}" + ClipToBounds="{TemplateBinding ClipToBounds}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" To="Normal"> + <VisualTransition.GeneratedEasingFunction> + <CircleEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState Name="Normal"/> + <VisualState Name="MouseOver"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="MouseOverBorder" Storyboard.TargetProperty="Opacity" + To="0.1" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState Name="Disabled"/> + </VisualStateGroup> + <VisualStateGroup Name="SelectionStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Selected"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedBackgroundBorder"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="*" To="SelectedUnfocused"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedBackgroundBorder"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Selected" To="Unselected"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SelectedBackgroundBorder" + Storyboard.TargetProperty="Opacity" + To="0" Duration="0"/> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState Name="Selected"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SelectedBackgroundBorder" + Storyboard.TargetProperty="Opacity" + To="1" Duration="0"/> + <DoubleAnimation Storyboard.TargetName="SelectedBorder" + Storyboard.TargetProperty="Opacity" + To="1" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState Name="Unselected"/> + <VisualState Name="SelectedUnfocused"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SelectedBackgroundBorder" + Storyboard.TargetProperty="Opacity" + To="1" Duration="0"/> + <DoubleAnimation Storyboard.TargetName="SelectedBorder" + Storyboard.TargetProperty="Opacity" + To="1" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid> + <Border x:Name="MouseOverBorder" + Opacity="0" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"/> + <Border x:Name="SelectedBackgroundBorder" + Opacity="0" + Background="{DynamicResource MaterialDesignDivider}" /> + <wpf:Ripple x:Name="Ripple" Feedback="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}" + Opacity=".56" + Focusable="False" + Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}"> + </wpf:Ripple> + <Border x:Name="SelectedBorder" + Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=ListBox}, Path=SelectionMode, Converter={StaticResource EqualityToVisibilityConverter}, ConverterParameter={x:Static SelectionMode.Extended}, Mode=OneWay}" + Opacity="0" + BorderThickness="0" + BorderBrush="{DynamicResource MaterialDesignDivider}" /> + </Grid> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsSelected" Value="True"> + <Setter TargetName="Ripple" Property="Opacity" Value=".92" /> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" Value=".56" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignToolToggleListBox" TargetType="{x:Type ListBox}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/> + <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> + <Setter Property="ScrollViewer.CanContentScroll" Value="true"/> + <Setter Property="ScrollViewer.PanningMode" Value="Both"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="wpf:ListBoxAssist.IsToggle" Value="True" /> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth1" /> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignToolToggleListBoxItem}"/> + <Setter Property="ItemsPanel"> + <Setter.Value> + <ItemsPanelTemplate> + <StackPanel Orientation="Horizontal" /> + </ItemsPanelTemplate> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ListBox}"> + <ControlTemplate.Resources> + <Style TargetType="{x:Type wpf:PackIcon}" > + <Setter Property="Width" Value="22" /> + <Setter Property="Height" Value="22" /> + </Style> + </ControlTemplate.Resources> + <Border x:Name="Bd" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + SnapsToDevicePixels="true" + Padding="{TemplateBinding Padding}"> + <wpf:Card wpf:ShadowAssist.ShadowDepth="{TemplateBinding wpf:ShadowAssist.ShadowDepth}" HorizontalAlignment="Left" Background="{DynamicResource MaterialDesignToolBarBackground}"> + <ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + </wpf:Card> + </Border> + <ControlTemplate.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsGrouping" Value="true"/> + <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="ScrollViewer.CanContentScroll" Value="false"/> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignToolToggleFlatListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource MaterialDesignToolToggleListBox}"> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth0" /> + </Style> + + <Style x:Key="MaterialDesignListBoxItem" TargetType="{x:Type ListBoxItem}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="Padding" Value="8"/> + <Setter Property="SnapsToDevicePixels" Value="True"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ListBoxItem}"> + <Border Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Margin="{TemplateBinding Margin}" + ClipToBounds="{TemplateBinding ClipToBounds}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" To="Normal"> + <VisualTransition.GeneratedEasingFunction> + <CircleEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState Name="Normal"/> + <!--<VisualState Name="MouseOver"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="MouseOverBorder" Storyboard.TargetProperty="Opacity" + To="0.1" Duration="0"/> + </Storyboard> + </VisualState>--> + <VisualState Name="Disabled"/> + </VisualStateGroup> + <VisualStateGroup Name="SelectionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.6"/> + </VisualStateGroup.Transitions> + <VisualState Name="Selected"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SelectedBorder" + Storyboard.TargetProperty="Opacity" + To="0.18" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState Name="Unselected"/> + <VisualState Name="SelectedUnfocused"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SelectedBorder" + Storyboard.TargetProperty="Opacity" + To="0.03" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid> + <Border x:Name="MouseOverBorder" + Opacity="0" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"/> + + <Border x:Name="SelectedBorder" + Opacity="0" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}" + RenderTransformOrigin="0.5,0.5"> + <Border.RenderTransform> + <ScaleTransform ScaleX="1"/> + </Border.RenderTransform> + </Border> + <wpf:Ripple Feedback="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}" + Focusable="False" + Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}"/> + </Grid> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" Value=".56" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignCardsListBoxItem" TargetType="{x:Type ListBoxItem}"> + <Setter Property="SnapsToDevicePixels" Value="True"/> + <Setter Property="Padding" Value="0"/> + <Setter Property="Margin" Value="0 0 8 8"></Setter> + <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="Background" Value="White"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ListBoxItem}"> + <wpf:Card Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignListBox" TargetType="{x:Type ListBox}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/> + <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> + <Setter Property="ScrollViewer.CanContentScroll" Value="true"/> + <Setter Property="ScrollViewer.PanningMode" Value="Both"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ListBox}"> + <Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true"> + <ScrollViewer Focusable="false" Padding="{TemplateBinding Padding}"> + <ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + </ScrollViewer> + </Border> + <ControlTemplate.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsGrouping" Value="true"/> + <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="ScrollViewer.CanContentScroll" Value="false"/> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignCardsListBox" TargetType="{x:Type ListBox}" BasedOn="{StaticResource MaterialDesignListBox}"> + <Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignCardsListBoxItem}"/> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListView.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListView.xaml new file mode 100644 index 000000000..2f07f3d8b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListView.xaml @@ -0,0 +1,242 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ListBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Thumb.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style x:Key="{x:Static GridView.GridViewScrollViewerStyleKey}" TargetType="{x:Type ScrollViewer}"> + <Setter Property="CanContentScroll" Value="True" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ScrollViewer}"> + <Grid Background="{TemplateBinding Background}"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="*" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + + <DockPanel Margin="{TemplateBinding Padding}"> + <ScrollViewer DockPanel.Dock="Top" + Focusable="false" + HorizontalScrollBarVisibility="Hidden" + VerticalScrollBarVisibility="Hidden" + wpf:ScrollViewerAssist.SyncHorizontalOffset="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"> + <Border BorderBrush="{DynamicResource MaterialDesignDivider}" BorderThickness="0,0,0,1"> + <StackPanel Orientation="Horizontal"> + <GridViewHeaderRowPresenter x:Name="PART_GridViewHeaderRowPresenter" + AllowsColumnReorder="{Binding Path=TemplatedParent.View.AllowsColumnReorder, RelativeSource={RelativeSource TemplatedParent}}" + ColumnHeaderContainerStyle="{Binding Path=TemplatedParent.View.ColumnHeaderContainerStyle, RelativeSource={RelativeSource TemplatedParent}}" + ColumnHeaderContextMenu="{Binding Path=TemplatedParent.View.ColumnHeaderContextMenu, RelativeSource={RelativeSource TemplatedParent}}" + ColumnHeaderTemplate="{Binding Path=TemplatedParent.View.ColumnHeaderTemplate, RelativeSource={RelativeSource TemplatedParent}}" + ColumnHeaderTemplateSelector="{Binding Path=TemplatedParent.View.ColumnHeaderTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" + ColumnHeaderToolTip="{Binding Path=TemplatedParent.View.ColumnHeaderToolTip, RelativeSource={RelativeSource TemplatedParent}}" + Columns="{Binding Path=TemplatedParent.View.Columns, RelativeSource={RelativeSource TemplatedParent}}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + <!-- NB: Rectangle added to keep the width of the header ScrollViewer the same size as the list items --> + <Rectangle Margin="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ListViewAssist.ListViewItemPadding)}" /> + </StackPanel> + </Border> + + </ScrollViewer> + + <ScrollContentPresenter Name="PART_ScrollContentPresenter" + CanContentScroll="{TemplateBinding CanContentScroll}" + CanHorizontallyScroll="False" + CanVerticallyScroll="False" + KeyboardNavigation.DirectionalNavigation="Local" /> + </DockPanel> + + <ScrollBar Name="PART_HorizontalScrollBar" + Grid.Row="1" + Maximum="{TemplateBinding ScrollableWidth}" + Orientation="Horizontal" + ViewportSize="{TemplateBinding ViewportWidth}" + Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" + Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" /> + + <ScrollBar Name="PART_VerticalScrollBar" + Grid.Column="1" + Maximum="{TemplateBinding ScrollableHeight}" + Orientation="Vertical" + ViewportSize="{TemplateBinding ViewportHeight}" + Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" + Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" /> + + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="{x:Type GridViewColumnHeader}" TargetType="GridViewColumnHeader"> + <Setter Property="HorizontalContentAlignment" Value="Left" /> + <Setter Property="VerticalContentAlignment" Value="Center" /> + <Setter Property="TextBlock.FontWeight" Value="Medium" /> + <Setter Property="OverridesDefaultStyle" Value="True" /> + <Setter Property="Padding" Value="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:DataGridAssist.ColumnHeaderPadding)}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignColumnHeader}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="GridViewColumnHeader"> + <DockPanel> + <Thumb x:Name="PART_HeaderGripper" + DockPanel.Dock="Right" + Style="{StaticResource MaterialDesignGridColumnHeaderGripper}" /> + <Border x:Name="HeaderBorder" + Padding="{TemplateBinding Padding}" + BorderThickness="{TemplateBinding BorderThickness}"> + <ContentPresenter x:Name="HeaderContent" + Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + RecognizesAccessKey="True" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + + </Border> + </DockPanel> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="Role" Value="Floating"> + <Setter Property="Opacity" Value="0.7" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="GridViewColumnHeader"> + <DockPanel Name="PART_FloatingHeaderCanvas"> + <Border BorderBrush="{DynamicResource PrimaryHueMidBrush}" BorderThickness="1" /> + </DockPanel> + </ControlTemplate> + </Setter.Value> + </Setter> + </Trigger> + <Trigger Property="Role" Value="Padding"> + <Setter Property="Opacity" Value="0.7" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="GridViewColumnHeader"> + <Canvas Name="PART_FloatingHeaderCanvas" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignGridViewItem" TargetType="ListViewItem"> + <Setter Property="SnapsToDevicePixels" Value="True" /> + <Setter Property="OverridesDefaultStyle" Value="True" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="BorderBrush" Value="Transparent" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ListBoxItem"> + <Border x:Name="Border" + Padding="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ListViewAssist.ListViewItemPadding)}" + Background="{TemplateBinding Background}" + BorderBrush="{DynamicResource MaterialDesignDivider}" + BorderThickness="0,0,0,1" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> + <GridViewRowPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsKeyboardFocusWithin" Value="True"> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" /> + </Trigger> + <Trigger Property="IsSelected" Value="True"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + </Trigger> + <Trigger Property="IsMouseOver" Value="True"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True" /> + <Condition Property="Selector.IsSelectionActive" Value="False" /> + </MultiTrigger.Conditions> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsSelected" Value="True" /> + <Condition Property="Selector.IsSelectionActive" Value="True" /> + </MultiTrigger.Conditions> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + </MultiTrigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56" /> + </Trigger> + <Trigger Property="ItemsControl.AlternationIndex" Value="1"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}" /> + </Trigger> + </Style.Triggers> + </Style> + + <converters:ListViewGridViewConverter + x:Key="MaterialDesignListViewItemContainerStyleConverter" + DefaultValue="{StaticResource MaterialDesignListBoxItem}" + ViewValue="{StaticResource MaterialDesignGridViewItem}" /> + + <converters:ListViewGridViewConverter x:Key="MaterialDesignListViewTemplateConverter"> + <converters:ListViewGridViewConverter.DefaultValue> + <ControlTemplate TargetType="{x:Type ListView}"> + <ScrollViewer> + <ItemsPresenter /> + </ScrollViewer> + <ControlTemplate.Triggers> + <Trigger Property="IsGrouping" Value="True"> + <Setter Property="ScrollViewer.CanContentScroll" Value="false" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </converters:ListViewGridViewConverter.DefaultValue> + <converters:ListViewGridViewConverter.ViewValue> + <ControlTemplate TargetType="{x:Type ListView}"> + <ScrollViewer Style="{DynamicResource {x:Static GridView.GridViewScrollViewerStyleKey}}"> + <ItemsPresenter /> + </ScrollViewer> + <ControlTemplate.Triggers> + <Trigger Property="IsGrouping" Value="True"> + <Setter Property="ScrollViewer.CanContentScroll" Value="false" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </converters:ListViewGridViewConverter.ViewValue> + </converters:ListViewGridViewConverter> + + <Style x:Key="MaterialDesignListView" TargetType="{x:Type ListView}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" /> + <Setter Property="BorderThickness" Value="0" /> + <Setter Property="FontSize" Value="13" /> + <Setter Property="ItemContainerStyle" Value="{Binding RelativeSource={RelativeSource Self}, Path=View, Converter={StaticResource MaterialDesignListViewItemContainerStyleConverter}}" /> + <Setter Property="ScrollViewer.PanningMode" Value="Both" /> + <Setter Property="Stylus.IsFlicksEnabled" Value="False" /> + <Setter Property="SnapsToDevicePixels" Value="True" /> + <Setter Property="OverridesDefaultStyle" Value="False" /> + <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" /> + <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> + <Setter Property="ScrollViewer.CanContentScroll" Value="True" /> + <Setter Property="VerticalContentAlignment" Value="Center" /> + <Setter Property="Template" Value="{Binding RelativeSource={RelativeSource Self}, Path=View, Converter={StaticResource MaterialDesignListViewTemplateConverter}}" /> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Menu.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Menu.xaml new file mode 100644 index 000000000..e69c3bfa2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Menu.xaml @@ -0,0 +1,294 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Font.xaml"/> + </ResourceDictionary.MergedDictionaries> + + <converters:TextFieldHintVisibilityConverter x:Key="StringIsEmptyVisibilityConverter" IsEmptyValue="Collapsed" IsNotEmptyValue="Visible"/> + <converters:BrushRoundConverter x:Key="BrushRoundConverter"/> + + <Style x:Key="MaterialDesignSeparator" TargetType="{x:Type Separator}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignSelection}"/> + <Setter Property="MinHeight" Value="1"/> + <Setter Property="SnapsToDevicePixels" Value="true"/> + <Setter Property="Height" Value="16"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Separator}"> + <Rectangle Height="1" Fill="{TemplateBinding Background}" + HorizontalAlignment="Stretch" VerticalAlignment="Center"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignMenu" TargetType="{x:Type MenuBase}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}"/> + <Setter Property="FontFamily" Value="{StaticResource MaterialDesignFont}"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="TextBlock.FontSize" Value="15"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type MenuBase}"> + <Border BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="true"> + <ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignContextMenu" TargetType="{x:Type ContextMenu}" BasedOn="{StaticResource MaterialDesignMenu}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type MenuBase}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border Background="{TemplateBinding Background}" + Effect="{DynamicResource MaterialDesignShadowDepth1}" + Margin="3" + CornerRadius="2"> + <Border Background="Transparent"> + <ScrollViewer x:Name="SubMenuScrollViewer" Style="{DynamicResource {ComponentResourceKey ResourceId=MenuScrollViewer, TypeInTargetAssembly={x:Type FrameworkElement}}}"> + <Grid RenderOptions.ClearTypeHint="Enabled" Margin="0 16"> + <ItemsPresenter x:Name="ItemsPresenter" + KeyboardNavigation.DirectionalNavigation="Cycle" + Grid.IsSharedSizeScope="True" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + KeyboardNavigation.TabNavigation="Cycle"/> + </Grid> + </ScrollViewer> + </Border> + </Border> + </AdornerDecorator> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="{x:Type MenuItem}" x:Key="MaterialDesignMenuItem" BasedOn="{x:Null}"> + <Setter Property="Padding" Value="24 0 24 0"></Setter> + <Setter Property="OverridesDefaultStyle" Value="True"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type MenuItem}"> + <ControlTemplate.Resources> + <Style TargetType="{x:Type wpf:PackIcon}" > + <Setter Property="Width" Value="16" /> + <Setter Property="Height" Value="16" /> + </Style> + </ControlTemplate.Resources> + <Grid ClipToBounds="True"> + <Border x:Name="templateRoot" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + SnapsToDevicePixels="True"/> + <Border x:Name="BackgroundRoot" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}" + SnapsToDevicePixels="True" + Opacity="0"/> + <wpf:Ripple Background="Transparent" + HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" + Focusable="False" + Feedback="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"> + <Grid Height="{TemplateBinding Height}" Background="Transparent"> + <Grid VerticalAlignment="Center" + Background="Transparent" + Margin="{TemplateBinding Padding}"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" SharedSizeGroup="IconGroup"/> + <ColumnDefinition Width="*" SharedSizeGroup="HeaderGroup"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Grid x:Name="IconWrapper" Visibility="Visible" Width="40"> + <ContentPresenter x:Name="Icon" + Content="{TemplateBinding Icon}" + ContentSource="Icon" + HorizontalAlignment="Left" VerticalAlignment="Center" + Height="16" Width="16" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + </Grid> + <Grid x:Name="GlyphWrapper" Visibility="Collapsed" Width="40"> + <Viewbox x:Name="GlyphPanel" + Width="16" Height="16" + HorizontalAlignment="Left" + Margin="0" Visibility="Collapsed" VerticalAlignment="Center" + FlowDirection="LeftToRight"> + <Canvas Width="24" Height="24"> + <Path Data="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" + x:Name="Glyph" + Fill="{TemplateBinding Foreground}" FlowDirection="LeftToRight" /> + </Canvas> + </Viewbox> + </Grid> + <Grid Grid.Column="1"> + <ContentPresenter x:Name="BoldHeaderPresenter" + Visibility="Hidden" + TextBlock.FontWeight="Bold" + ContentTemplate="{TemplateBinding HeaderTemplate}" + Content="{TemplateBinding Header}" + ContentStringFormat="{TemplateBinding HeaderStringFormat}" + ContentSource="Header" + RecognizesAccessKey="True" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + VerticalAlignment="Center"/> + <ContentPresenter x:Name="HeaderPresenter" + ContentTemplate="{TemplateBinding HeaderTemplate}" + Content="{TemplateBinding Header}" + ContentStringFormat="{TemplateBinding HeaderStringFormat}" + ContentSource="Header" + RecognizesAccessKey="True" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + VerticalAlignment="Center"/> + </Grid> + <Grid x:Name="InputGestureTextWrapper" + Grid.Column="2" + Visibility="Collapsed"> + <TextBlock Visibility="{TemplateBinding InputGestureText, Converter={StaticResource StringIsEmptyVisibilityConverter}}" + Margin="16 0 0 0" + VerticalAlignment="Center" HorizontalAlignment="Right" + Text="{TemplateBinding InputGestureText}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + Foreground="{TemplateBinding Foreground}"/> + </Grid> + <Grid x:Name="SubBlock" + Grid.Column="2" + Visibility="Collapsed" + Margin="16 0 0 0"> + <Path Width="5" Height="10" + Stretch="Uniform" + HorizontalAlignment="Right" + VerticalAlignment="Center" + Data="M0,16 L8,8 L0,0 Z" + Fill="{TemplateBinding Foreground}" + SnapsToDevicePixels="False"/> + </Grid> + </Grid> + </Grid> + </wpf:Ripple> + <Popup x:Name="PART_Popup" + AllowsTransparency="True" + Focusable="False" + IsOpen="{Binding IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" + PopupAnimation="Slide" + Placement="Bottom" + CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border x:Name="SubMenuBorder" + Background="{Binding Path=Background, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=MenuBase}}" + Effect="{DynamicResource MaterialDesignShadowDepth1}" + CornerRadius="2"> + + <Border Background="Transparent"> + <ScrollViewer x:Name="SubMenuScrollViewer" Style="{DynamicResource {ComponentResourceKey ResourceId=MenuScrollViewer, TypeInTargetAssembly={x:Type FrameworkElement}}}"> + <Grid RenderOptions.ClearTypeHint="Enabled" Margin="0 16"> + <Canvas HorizontalAlignment="Left" Height="0" VerticalAlignment="Top" Width="0"> + <Rectangle x:Name="OpaqueRect" + Fill="{Binding Background, ElementName=SubMenuBorder}" + Height="{Binding ActualHeight, ElementName=SubMenuBorder}" + Width="{Binding ActualWidth, ElementName=SubMenuBorder}"/> + </Canvas> + <ItemsPresenter x:Name="ItemsPresenter" + KeyboardNavigation.DirectionalNavigation="Cycle" + Grid.IsSharedSizeScope="True" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + KeyboardNavigation.TabNavigation="Cycle"/> + </Grid> + </ScrollViewer> + </Border> + </Border> + </Popup> + </Grid> + <ControlTemplate.Triggers> + <!--#region Roles Triggers --> + <Trigger Property="Role" Value="SubmenuHeader"> + <Setter TargetName="SubBlock" Property="Visibility" Value="Visible" /> + <Setter TargetName="PART_Popup" Property="Placement" Value="Right" /> + <Setter Property="Height" Value="32"/> + <Setter TargetName="BoldHeaderPresenter" Property="Visibility" Value="Collapsed"/> + </Trigger> + <Trigger Property="Role" Value="SubmenuItem"> + <Setter Property="Height" Value="32"/> + <Setter TargetName="InputGestureTextWrapper" Property="Visibility" Value="Visible"/> + <Setter TargetName="BoldHeaderPresenter" Property="Visibility" Value="Collapsed"/> + </Trigger> + <Trigger Property="Role" Value="TopLevelHeader"> + <Setter Property="Grid.IsSharedSizeScope" Value="True"/> + <Setter Property="Padding" Value="16 0"/> + <Setter Property="Height" Value="48"/> + <Setter TargetName="templateRoot" Property="CornerRadius" Value="2"/> + <Setter TargetName="BackgroundRoot" Property="CornerRadius" Value="2"/> + </Trigger> + <Trigger Property="Role" Value="TopLevelItem"> + <Setter Property="Padding" Value="16 0"/> + <Setter Property="Height" Value="48"/> + <Setter TargetName="templateRoot" Property="CornerRadius" Value="2"/> + <Setter TargetName="BackgroundRoot" Property="CornerRadius" Value="2"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="Role" Value="TopLevelHeader"/> + <Condition Property="IsSubmenuOpen" Value="True"/> + </MultiTrigger.Conditions> + <MultiTrigger.Setters> + <Setter TargetName="HeaderPresenter" Property="TextBlock.FontWeight" Value="Bold"/> + </MultiTrigger.Setters> + </MultiTrigger> + <!--#endregion--> + + <Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="True"> + <Setter TargetName="SubMenuBorder" Property="Margin" Value="5"/> + </Trigger> + + <Trigger Property="IsSuspendingPopupAnimation" Value="True"> + <Setter Property="PopupAnimation" TargetName="PART_Popup" Value="None"/> + </Trigger> + <Trigger Property="Icon" Value="{x:Null}"> + <Setter Property="Visibility" TargetName="IconWrapper" Value="Collapsed"/> + </Trigger> + <Trigger Property="IsChecked" Value="True"> + <Setter Property="Visibility" TargetName="GlyphPanel" Value="Visible"/> + </Trigger> + <Trigger Property="IsCheckable" Value="True"> + <Setter Property="Visibility" TargetName="GlyphWrapper" Value="Visible"/> + <Setter Property="Visibility" TargetName="IconWrapper" Value="Collapsed"/> + </Trigger> + <Trigger Property="IsHighlighted" Value="True"> + <Setter TargetName="BackgroundRoot" Property="Opacity" Value="0.13"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + <Trigger Property="CanContentScroll" SourceName="SubMenuScrollViewer" Value="False"> + <Setter Property="Canvas.Top" TargetName="OpaqueRect" Value="{Binding VerticalOffset, ElementName=SubMenuScrollViewer}"/> + <Setter Property="Canvas.Left" TargetName="OpaqueRect" Value="{Binding HorizontalOffset, ElementName=SubMenuScrollViewer}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="{x:Static wpf:Spelling.SuggestionMenuItemStyleKey}" TargetType="{x:Type MenuItem}" BasedOn="{StaticResource MaterialDesignMenuItem}"> + <Setter Property="FontWeight" Value="Bold" /> + <Setter Property="Header" Value="{Binding RelativeSource={RelativeSource Self}, Path=CommandParameter}" /> + </Style> + + <Style x:Key="{x:Static wpf:Spelling.IgnoreAllMenuItemStyleKey}" TargetType="{x:Type MenuItem}" BasedOn="{StaticResource MaterialDesignMenuItem}"> + <Setter Property="Header" Value="Ignore All" /> + </Style> + + <Style x:Key="{x:Static wpf:Spelling.NoSuggestionsMenuItemStyleKey}" TargetType="{x:Type MenuItem}" BasedOn="{StaticResource MaterialDesignMenuItem}"> + <Setter Property="Header" Value="(no spelling suggestions)" /> + <Setter Property="IsEnabled" Value="False" /> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PasswordBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PasswordBox.xaml new file mode 100644 index 000000000..36b2b8796 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PasswordBox.xaml @@ -0,0 +1,110 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:BooleanToVisibilityConverter x:Key="InverseBoolToVisConverter" TrueValue="Collapsed" FalseValue="Visible"/> + + <Style x:Key="MaterialDesignPasswordBox" TargetType="{x:Type PasswordBox}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.FontFamily)}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" /> + <Setter Property="PasswordChar" Value="●"/> + <Setter Property="BorderThickness" Value="0 0 0 1"/> + <Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="1 0 0 0" /> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="CaretBrush" Value="{Binding RelativeSource={RelativeSource Self}, Path=BorderBrush}"/> + <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/> + <Setter Property="HorizontalContentAlignment" Value="Stretch"/> + <Setter Property="VerticalContentAlignment" Value="Bottom"/> + <Setter Property="FocusVisualStyle" Value="{x:Null}"/> + <Setter Property="AllowDrop" Value="true"/> + <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type PasswordBox}"> + <Grid> + <Border x:Name="border" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + SnapsToDevicePixels="True" + Padding="0 4 0 4"> + <Grid Margin="{TemplateBinding Padding}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"> + <ScrollViewer x:Name="PART_ContentHost" Focusable="false" + HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + UseLayoutRounding="{TemplateBinding UseLayoutRounding}" + /> + <wpf:SmartHint x:Name="Hint" + Hint="{Binding Path=(wpf:HintAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + FloatingScale="{Binding Path=(wpf:HintAssist.FloatingScale), RelativeSource={RelativeSource TemplatedParent}}" + FloatingOffset="{Binding Path=(wpf:HintAssist.FloatingOffset), RelativeSource={RelativeSource TemplatedParent}}" + FontSize="{TemplateBinding FontSize}" + Padding="{TemplateBinding Padding}" + /> + </Grid> + </Border> + <Line x:Name="DashedLine" VerticalAlignment="Bottom" Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource InverseBoolToVisConverter}}" + StrokeThickness="1.25" StrokeDashArray="1,2.5" StrokeDashCap="Round" + X1="0" X2="{Binding ActualWidth, ElementName=border}" Y1="0" Y2="0" + Stroke="{TemplateBinding BorderBrush}" Opacity="0.56" /> + <wpf:Underline x:Name="Underline" Visibility="{Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}}"/> + </Grid> + <ControlTemplate.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="wpf:HintAssist.IsFloating" Value="True" /> + <Condition Property="IsKeyboardFocused" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + <Trigger Property="wpf:HintAssist.IsFloating" Value="True"> + <Setter TargetName="border" Property="Padding" Value="0 15.5 0 4" /> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" TargetName="border" Value="0.42"/> + <Setter TargetName="border" Property="BorderBrush" Value="Transparent" /> + </Trigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </Trigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <Setter TargetName="Underline" Property="IsActive" Value="True"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource ValidationErrorBrush}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true"/> + <Condition Property="IsSelectionActive" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}"/> + </MultiTrigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignFloatingHintPasswordBox" TargetType="{x:Type PasswordBox}" BasedOn="{StaticResource MaterialDesignPasswordBox}"> + <Setter Property="wpf:HintAssist.IsFloating" Value="True"/> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PopupBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PopupBox.xaml new file mode 100644 index 000000000..4ff880907 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.PopupBox.xaml @@ -0,0 +1,421 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:controlzEx="clr-namespace:ControlzEx"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Menu.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ToolTip.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + <converters:NullableToVisibilityConverter x:Key="NullVisibilityConverter" /> + <converters:NullableToVisibilityConverter x:Key="InvertedNullVisibilityConverter" NullValue="Visible" NotNullValue="Collapsed" /> + <converters:BrushRoundConverter x:Key="BrushRoundConverter"/> + + <wpf:PackIcon Kind="DotsVertical" x:Key="MaterialDesignPopupBoxToggleContent" x:Shared="False" Margin="4 0 4 0" Width="24" Height="24" + Foreground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=Foreground}" /> + + <Style TargetType="{x:Type wpf:PopupBox}" x:Key="MaterialDesignPopupBox"> + <Setter Property="ToggleContent" Value="{StaticResource MaterialDesignPopupBoxToggleContent}" /> + <Setter Property="wpf:RippleAssist.Feedback" Value="{DynamicResource MaterialDesignFlatButtonRipple}" /> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth3" /> + <Setter Property="TextElement.FontWeight" Value="Normal" /> + <Setter Property="Padding" Value="0 8 0 8" /> + <Setter Property="Focusable" Value="False" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:PopupBox}"> + <ControlTemplate.Resources> + <Style TargetType="Separator" BasedOn="{StaticResource MaterialDesignSeparator}"/> + <Style TargetType="ToggleButton" x:Key="ToggleButtonStyle"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ToggleButton"> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + ClipToBounds="False" + wpf:RippleAssist.IsCentered="True" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </ControlTemplate.Resources> + <Grid> + <ToggleButton x:Name="PART_Toggle" Style="{StaticResource ToggleButtonStyle}" IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsPopupOpen, Mode=TwoWay}" + Content="{TemplateBinding ToggleContent}" ContentTemplate="{TemplateBinding ToggleContentTemplate}" + Cursor="Hand" + VerticalAlignment="Center" + /> + <controlzEx:PopupEx x:Name="PART_Popup" IsOpen="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsPopupOpen, Mode=TwoWay}" + CustomPopupPlacementCallback="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=PopupPlacementMethod}" + HorizontalOffset="5" + VerticalOffset="5" + PlacementTarget="{Binding ElementName=PART_Toggle}" + Placement="Custom" + PopupAnimation="Fade" + AllowsTransparency="True"> + <wpf:Card Content="{TemplateBinding PopupContent}" ContentTemplate="{TemplateBinding PopupContentTemplate}" + Foreground="{DynamicResource MaterialDesignBody}" + FontSize="15" + FontWeight="Regular" + Padding="{TemplateBinding Padding}" + RenderOptions.ClearTypeHint="Enabled" + Margin="5"> + <wpf:Card.Resources> + <Style TargetType="{x:Type Button}"> + <Setter Property="VerticalContentAlignment" Value="Bottom" /> + <Setter Property="HorizontalContentAlignment" Value="Left" /> + <Setter Property="Padding" Value="16 0 16 16" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Button}"> + <Grid> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" To="Normal"> + <VisualTransition.GeneratedEasingFunction> + <CircleEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState Name="Normal"/> + <VisualState Name="MouseOver"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="MouseOverBorder" Storyboard.TargetProperty="Opacity" + To="0.1" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState Name="Disabled"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" + To="0.48" Duration="0"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Border x:Name="MouseOverBorder" + Opacity="0" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"/> + <wpf:Ripple Feedback="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}" + Focusable="False" + MinHeight="48" + Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + </wpf:Card.Resources> + </wpf:Card> + </controlzEx:PopupEx> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignToolPopupBox" BasedOn="{StaticResource MaterialDesignPopupBox}" TargetType="wpf:PopupBox"> + <Setter Property="Foreground" Value="#616161" /> + <Setter Property="Padding" Value="4"/> + </Style> + + <Style x:Key="MaterialDesignToolForegroundPopupBox" BasedOn="{StaticResource MaterialDesignToolPopupBox}" TargetType="wpf:PopupBox"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + </Style> + + <wpf:PackIcon x:Shared="False" x:Key="MaterialDesignMultiFloatingActionPopupBoxIcon" + Kind="Plus" Width="24" Height="24" Foreground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=Foreground}" /> + + <Style TargetType="{x:Type wpf:PopupBox}" x:Key="MaterialDesignMultiFloatingActionPopupBox"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/> + <Setter Property="wpf:RippleAssist.Feedback" Value="White" /> + <Setter Property="PlacementMode" Value="TopAndAlignCentres" /> + <Setter Property="PopupMode" Value="MouseOverEager" /> + <Setter Property="ToolTipService.Placement" Value="Left" /> + <Setter Property="ToolTipService.IsEnabled" Value="False" /> + <Setter Property="HorizontalAlignment" Value="Left" /> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Cursor" Value="Hand"/> + <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth2" /> + <Setter Property="Width" Value="56" /> + <Setter Property="Height" Value="56" /> + <Setter Property="Focusable" Value="False" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:PopupBox}"> + <ControlTemplate.Resources> + <Style TargetType="{x:Type ToolTip}" BasedOn="{StaticResource MaterialDesignToolTip}"> + <Style.Setters> + <Setter Property="Margin" Value="8 10 8 10" /> + </Style.Setters> + </Style> + <Style TargetType="ToggleButton" x:Key="ToggleButtonStyle"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="ToggleButton"> + <Grid x:Name="RootGrid" Background="{x:Null}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup Name="CheckedStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Checked"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ContentRotateTransform" + Storyboard.TargetProperty="Angle" + To="45" + Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <QuadraticEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" To="Unchecked"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ContentRotateTransform" + Storyboard.TargetProperty="Angle" + To="0" + Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <QuadraticEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ContentRotateTransform" + Storyboard.TargetProperty="Angle" + To="45" + Duration="0" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="ContentRotateTransform" + Storyboard.TargetProperty="Angle" + To="0" + Duration="0" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Ellipse Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" + Effect="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" + x:Name="border"> + </Ellipse> + </AdornerDecorator> + <wpf:Ripple Focusable="False" + Clip="{Binding ElementName=GeometryEllipse, Path=RenderedGeometry}" ClipToBounds="True" + wpf:RippleAssist.IsCentered="True" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> + <!-- additional layer so we don't rotate the ripple directly which can cause jumpyness under certain layouts --> + <ContentControl Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" + RenderTransformOrigin=".5,.5" Focusable="False"> + <ContentControl.RenderTransform> + <RotateTransform x:Name="ContentRotateTransform" Angle="0" /> + </ContentControl.RenderTransform> + </ContentControl> + </wpf:Ripple> + <Ellipse x:Name="GeometryEllipse" Fill="Transparent" IsHitTestVisible="False" Focusable="False" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + <Trigger Property="IsMouseOver" Value="True"> + <Setter TargetName="border" Property="wpf:ShadowAssist.Darken" Value="True" /> + </Trigger> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=PopupMode}" + Value="{x:Static wpf:PopupBoxPopupMode.MouseOver}"> + <Setter TargetName="RootGrid" Property="Background" Value="Transparent" /> + </DataTrigger> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=PopupMode}" + Value="{x:Static wpf:PopupBoxPopupMode.MouseOverEager}"> + <Setter TargetName="RootGrid" Property="Background" Value="Transparent" /> + </DataTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Storyboard x:Key="Open"> + <DoubleAnimation Storyboard.TargetName="PART_PopupContentControl" Storyboard.TargetProperty="Opacity" + To="1" Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + <DoubleAnimation Storyboard.TargetName="ExplicitToggleContent" Storyboard.TargetProperty="Opacity" + To="0" Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + <DoubleAnimation Storyboard.TargetName="ExplicitToggleCheckedContent" Storyboard.TargetProperty="Opacity" + To="1" Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + <Storyboard x:Key="Close"> + <DoubleAnimation Storyboard.TargetName="PART_PopupContentControl" Storyboard.TargetProperty="Opacity" + Duration="0:0:0.8"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + <DoubleAnimation Storyboard.TargetName="ExplicitToggleContent" Storyboard.TargetProperty="Opacity" + To="1" Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + <DoubleAnimation Storyboard.TargetName="ExplicitToggleCheckedContent" Storyboard.TargetProperty="Opacity" + To="0" Duration="0:0:0.1"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </ControlTemplate.Resources> + <Grid> + <ToggleButton x:Name="PART_Toggle" Style="{StaticResource ToggleButtonStyle}" IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsPopupOpen, Mode=TwoWay}" + Cursor="Hand" + Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + Foreground="{TemplateBinding Foreground}" + VerticalAlignment="Stretch" + HorizontalAlignment="Stretch" + ToolTip="{TemplateBinding ToolTip}" + ToolTipService.Placement="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=(ToolTipService.Placement)}"> + <Grid> + <ContentControl x:Name="StandardToggleContent" Content="{TemplateBinding ToggleContent}" ContentTemplate="{TemplateBinding ToggleContentTemplate}" + Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource InvertedNullVisibilityConverter}}" Focusable="False"/> + <ContentControl x:Name="ExplicitToggleContent" Content="{TemplateBinding ToggleContent}" ContentTemplate="{TemplateBinding ToggleContentTemplate}" + Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource NullVisibilityConverter}}" Focusable="False"/> + <ContentControl x:Name="ExplicitToggleCheckedContent" Content="{TemplateBinding ToggleCheckedContent}" ContentTemplate="{TemplateBinding ToggleCheckedContentTemplate}" + Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource NullVisibilityConverter}}" + Opacity="0" + RenderTransformOrigin=".5,.5" + Focusable="False"> + <ContentControl.RenderTransform> + <RotateTransform Angle="-45" /> + </ContentControl.RenderTransform> + </ContentControl> + </Grid> + </ToggleButton> + <controlzEx:PopupEx x:Name="PART_Popup" + IsOpen="False" + CustomPopupPlacementCallback="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=PopupPlacementMethod}" + PlacementTarget="{Binding ElementName=PART_Toggle}" + Placement="Custom" + PopupAnimation="None" + AllowsTransparency="True"> + <Grid> + <!-- with PopupBox.PopupMode == MouseOverEager the popup is always open, with + content hidden. but Transparent doesnt seem to register hit test in the popup. + this opacity is the lowest I could get to register hit test. might try and speak + to MS about this one, I *think* it is a bug --> + <Border Background="White" Opacity="0.002" /> + <ContentControl Content="{TemplateBinding PopupContent}" ContentTemplate="{TemplateBinding PopupContentTemplate}" + Visibility="{TemplateBinding IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}" + Margin="5" Padding="8" + Opacity="0" x:Name="PART_PopupContentControl"> + <ContentControl.Resources> + <ResourceDictionary> + <Style TargetType="{x:Type ToolTip}" BasedOn="{StaticResource MaterialDesignToolTip}"> + <Style.Setters> + <Setter Property="Margin" Value="16 4 16 4" /> + </Style.Setters> + </Style> + <Style TargetType="{x:Type Button}" BasedOn="{StaticResource MaterialDesignFloatingActionMiniLightButton}"> + <Style.Setters> + <Setter Property="ToolTipService.Placement" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=(ToolTipService.Placement)}"/> + <Setter Property="ToolTipService.InitialShowDelay" Value="0" /> + <Setter Property="Margin" Value="4" /> + </Style.Setters> + </Style> + </ResourceDictionary> + </ContentControl.Resources> + </ContentControl> + </Grid> + </controlzEx:PopupEx> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsPopupOpen" Value="True"> + <Setter TargetName="PART_Popup" Property="IsOpen" Value="True" /> + <Trigger.EnterActions> + <BeginStoryboard Storyboard="{StaticResource Open}" /> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard Storyboard="{StaticResource Close}" /> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="PopupMode" Value="MouseOverEager"> + <Setter TargetName="PART_Popup" Property="IsOpen" Value="True" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Setter Property="ToggleContent" Value="{StaticResource MaterialDesignMultiFloatingActionPopupBoxIcon}" /> + <Style.Triggers> + <Trigger Property="UnfurlOrientation" Value="Horizontal"> + <Setter Property="ToolTipService.Placement" Value="Custom" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style TargetType="{x:Type wpf:PopupBox}" + x:Key="MaterialDesignMultiFloatingActionLightPopupBox" + BasedOn="{StaticResource MaterialDesignMultiFloatingActionPopupBox}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style TargetType="{x:Type wpf:PopupBox}" + x:Key="MaterialDesignMultiFloatingActionDarkPopupBox" + BasedOn="{StaticResource MaterialDesignMultiFloatingActionPopupBox}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style TargetType="{x:Type wpf:PopupBox}" + x:Key="MaterialDesignMultiFloatingActionAccentPopupBox" + BasedOn="{StaticResource MaterialDesignMultiFloatingActionPopupBox}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ProgressBar.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ProgressBar.xaml new file mode 100644 index 000000000..1ac3de332 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ProgressBar.xaml @@ -0,0 +1,246 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:circularProgressBar="clr-namespace:MaterialDesignThemes.Wpf.Converters.CircularProgressBar" + xmlns:transitions="clr-namespace:MaterialDesignThemes.Wpf.Transitions" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <Style x:Key="MaterialDesignLinearProgressBar" TargetType="{x:Type ProgressBar}"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Height" Value="4"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ProgressBar}"> + <ControlTemplate.Resources> + <Storyboard x:Key="OnLoaded"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="TemplateRoot"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="TemplateRoot"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="TemplateRoot"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + <Storyboard x:Key="OnLoadedNoAnimation"> + <DoubleAnimation Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="TemplateRoot" To="1" Duration="0" /> + <DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="TemplateRoot" To="1" Duration="0"/> + <DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="TemplateRoot" To="1" Duration="0"/> + </Storyboard> + </ControlTemplate.Resources> + <Grid x:Name="TemplateRoot" RenderTransformOrigin="0,0.5" Opacity="0"> + <Grid.RenderTransform> + <TransformGroup> + <ScaleTransform ScaleX="0" ScaleY="0" /> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Grid.RenderTransform> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Determinate"/> + <VisualState x:Name="Indeterminate"> + <Storyboard RepeatBehavior="Forever"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Animation"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/> + <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.25"/> + <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.25"/> + </DoubleAnimationUsingKeyFrames> + <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)" Storyboard.TargetName="Animation"> + <EasingPointKeyFrame KeyTime="0" Value="-0.5,0.5"/> + <EasingPointKeyFrame KeyTime="0:0:1" Value="0.5,0.5"/> + <EasingPointKeyFrame KeyTime="0:0:2" Value="1.5,0.5"/> + </PointAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"/> + <Rectangle x:Name="PART_Track"/> + <Grid x:Name="PART_Indicator" ClipToBounds="true" HorizontalAlignment="Left"> + <Rectangle x:Name="Indicator" Fill="{TemplateBinding Foreground}"/> + <Rectangle x:Name="Animation" Fill="{TemplateBinding Foreground}" RenderTransformOrigin="0.5,0.5"> + <Rectangle.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Rectangle.RenderTransform> + </Rectangle> + </Grid> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="transitions:TransitionAssist.DisableTransitions" Value="True"> + <Trigger.EnterActions> + <BeginStoryboard Storyboard="{StaticResource OnLoadedNoAnimation}" Name="BeginStoryboardOnLoadedNoAnimation" /> + </Trigger.EnterActions> + <Trigger.ExitActions> + <RemoveStoryboard BeginStoryboardName="BeginStoryboardOnLoadedNoAnimation" /> + </Trigger.ExitActions> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsVisible" Value="True" /> + <Condition Property="transitions:TransitionAssist.DisableTransitions" Value="False" /> + </MultiTrigger.Conditions> + <MultiTrigger.EnterActions> + <BeginStoryboard Storyboard="{StaticResource OnLoaded}" Name="BeginStoryboardOnLoaded" /> + </MultiTrigger.EnterActions> + <MultiTrigger.ExitActions> + <RemoveStoryboard BeginStoryboardName="BeginStoryboardOnLoaded" /> + </MultiTrigger.ExitActions> + </MultiTrigger> + <Trigger Property="Orientation" Value="Vertical"> + <Setter Property="LayoutTransform"> + <Setter.Value> + <RotateTransform Angle="-90"/> + </Setter.Value> + </Setter> + </Trigger> + <Trigger Property="IsIndeterminate" Value="true"> + <Setter Property="Visibility" TargetName="Indicator" Value="Collapsed"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <circularProgressBar:StartPointConverter x:Key="StartPointConverter" /> + <circularProgressBar:ArcSizeConverter x:Key="ArcSizeConverter" /> + <circularProgressBar:ArcEndPointConverter x:Key="ArcEndPointConverter" /> + <circularProgressBar:LargeArcConverter x:Key="LargeArcConverter" /> + <circularProgressBar:RotateTransformConverter x:Key="RotateTransformConverter" /> + <circularProgressBar:RotateTransformCentreConverter x:Key="RotateTransformCentreConverter" /> + <converters:NotZeroConverter x:Key="NotZeroConverter" /> + + <Style x:Key="MaterialDesignCircularProgressBar" TargetType="{x:Type ProgressBar}"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="Width" Value="20" /> + <Setter Property="Height" Value="20" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ProgressBar}"> + <ControlTemplate.Resources> + <Storyboard x:Key="IsIndeterminateStoryboard" TargetName="RotateTransform" TargetProperty="Angle" RepeatBehavior="Forever"> + <DoubleAnimation From="0" To="359" Duration="0:0:2" /> + </Storyboard> + <Storyboard x:Key="IsFullyIndeterminateScaleStoryboard"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FullyIndeterminateGridScaleTransform" + Storyboard.TargetProperty="ScaleX" + RepeatBehavior="Forever"> + <SplineDoubleKeyFrame KeyTime="0" Value="0.0" /> + <SplineDoubleKeyFrame KeyTime="0:0:1" Value="1.0" /> + <SplineDoubleKeyFrame KeyTime="0:0:4" Value="0.0" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="RotateTransform" + Storyboard.TargetProperty="Angle" + RepeatBehavior="Forever" + From="00" To="359" Duration="0:0:1.25" /> + </Storyboard> + </ControlTemplate.Resources> + <Grid x:Name="TemplateRoot" ClipToBounds="False"> + <Grid x:Name="FullyIndeterminateGrid"> + <Grid.RenderTransform> + <ScaleTransform x:Name="FullyIndeterminateGridScaleTransform" ScaleX="0" /> + </Grid.RenderTransform> + </Grid> + <Grid x:Name="PathGrid" Margin="2" /> + <Canvas> + <Ellipse Fill="{TemplateBinding Background}" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" /> + <Path x:Name="Path" Stroke="{TemplateBinding Foreground}" StrokeThickness="3" + Canvas.Top="2" Canvas.Left="2" + RenderTransformOrigin="0, 0"> + <Path.Data> + <PathGeometry> + <PathFigure StartPoint="{Binding ElementName=PathGrid, Path=ActualWidth, Converter={StaticResource StartPointConverter}, Mode=OneWay}"> + <ArcSegment Size="{Binding ElementName=PathGrid, Path=ActualWidth, Converter={StaticResource ArcSizeConverter}, Mode=OneWay}" + SweepDirection="Clockwise"> + <ArcSegment.IsLargeArc> + <MultiBinding Converter="{StaticResource LargeArcConverter}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Value" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Minimum" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Maximum" /> + <Binding ElementName="FullyIndeterminateGridScaleTransform" Path="ScaleX" /> + </MultiBinding> + </ArcSegment.IsLargeArc> + <ArcSegment.Point> + <MultiBinding Converter="{StaticResource ArcEndPointConverter}"> + <Binding ElementName="PathGrid" Path="ActualWidth" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Value" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Minimum" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Maximum" /> + <Binding ElementName="FullyIndeterminateGridScaleTransform" Path="ScaleX" /> + </MultiBinding> + </ArcSegment.Point> + </ArcSegment> + </PathFigure> + </PathGeometry> + </Path.Data> + <Path.RenderTransform> + <TransformGroup> + <RotateTransform x:Name="RotateTransform" + CenterX="{Binding ElementName=PathGrid, Path=ActualWidth, Converter={StaticResource RotateTransformCentreConverter}, Mode=OneWay}" + CenterY="{Binding ElementName=PathGrid, Path=ActualWidth, Converter={StaticResource RotateTransformCentreConverter}, Mode=OneWay}"> + <RotateTransform.Angle> + <MultiBinding Converter="{StaticResource RotateTransformConverter}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Value" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Minimum" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Maximum" /> + </MultiBinding> + </RotateTransform.Angle> + </RotateTransform> + </TransformGroup> + </Path.RenderTransform> + </Path> + </Canvas> + </Grid> + <ControlTemplate.Triggers> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsIndeterminate, RelativeSource={RelativeSource Self}}" Value="True" /> + <Condition Binding="{Binding IsVisible, RelativeSource={RelativeSource Self}}" Value="True" /> + <Condition Binding="{Binding Value, RelativeSource={RelativeSource Self}, Converter={StaticResource NotZeroConverter}}" Value="True" /> + </MultiDataTrigger.Conditions> + <MultiDataTrigger.EnterActions> + <RemoveStoryboard BeginStoryboardName="IsFullyIndeterminateStoryboard" /> + <BeginStoryboard Storyboard="{StaticResource IsIndeterminateStoryboard}" + Name="IsIndeterminateStoryboard"/> + </MultiDataTrigger.EnterActions> + <MultiDataTrigger.ExitActions> + <RemoveStoryboard BeginStoryboardName="IsIndeterminateStoryboard" /> + </MultiDataTrigger.ExitActions> + </MultiDataTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsIndeterminate" Value="True" /> + <Condition Property="Value" Value="0" /> + <Condition Property="IsVisible" Value="True" /> + </MultiTrigger.Conditions> + <MultiTrigger.EnterActions> + <RemoveStoryboard BeginStoryboardName="IsIndeterminateStoryboard" /> + <BeginStoryboard Storyboard="{StaticResource IsFullyIndeterminateScaleStoryboard}" + Name="IsFullyIndeterminateStoryboard"/> + </MultiTrigger.EnterActions> + <MultiTrigger.ExitActions> + <RemoveStoryboard BeginStoryboardName="IsFullyIndeterminateStoryboard" /> + </MultiTrigger.ExitActions> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RadioButton.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RadioButton.xaml new file mode 100644 index 000000000..804544819 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RadioButton.xaml @@ -0,0 +1,132 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <Style x:Key="OptionMarkFocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="0,0,0,0" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignRadioButton" TargetType="{x:Type RadioButton}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RadioButton}"> + <ControlTemplate.Resources> + <Storyboard x:Key="Click"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="48"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="48"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="InteractionEllipse"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.3"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </ControlTemplate.Resources> + <Grid x:Name="templateRoot" Background="Transparent" SnapsToDevicePixels="True"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Viewbox Width="18" Height="18" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"> + <Canvas Width="24" Height="24"> + <Path x:Name="Graphic" + Data="M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" + Fill="{DynamicResource MaterialDesignCheckBoxOff}" /> + <Ellipse x:Name="InteractionEllipse" Fill="{TemplateBinding Foreground}" Width="0" Height="0" Canvas.Top="12" Canvas.Left="12" Opacity="0" RenderTransformOrigin="0.5,0.5" > + <Ellipse.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Ellipse.RenderTransform> + </Ellipse> + </Canvas> + </Viewbox> + <ContentPresenter x:Name="contentPresenter" Grid.Column="1" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Grid> + <ControlTemplate.Triggers> + <EventTrigger RoutedEvent="ButtonBase.Click"> + <BeginStoryboard Storyboard="{StaticResource Click}"/> + </EventTrigger> + <Trigger Property="HasContent" Value="true"> + <Setter Property="FocusVisualStyle" Value="{StaticResource OptionMarkFocusVisual}"/> + <Setter Property="Padding" Value="4,2,0,0"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Fill" TargetName="Graphic" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + <Setter Property="Opacity" Value="0.26"/> + </Trigger> + <Trigger Property="IsPressed" Value="true"/> + <Trigger Property="IsChecked" Value="true"> + <Setter Property="Data" TargetName="Graphic" Value="M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z" /> + <Setter Property="Fill" TargetName="Graphic" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Background}" /> + </Trigger> + <Trigger Property="IsChecked" Value="{x:Null}"> + <Setter Property="Data" TargetName="Graphic" Value="M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z" /> + <Setter Property="Opacity" TargetName="Graphic" Value="0.56"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="Fill" TargetName="Graphic" Value="{DynamicResource ValidationErrorBrush}" /> + <Setter Property="Control.Foreground" TargetName="contentPresenter" Value="{DynamicResource ValidationErrorBrush}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignLightRadioButton" TargetType="{x:Type RadioButton}" BasedOn="{StaticResource MaterialDesignRadioButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignDarkRadioButton" TargetType="{x:Type RadioButton}" BasedOn="{StaticResource MaterialDesignRadioButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignAccentRadioButton" TargetType="{x:Type RadioButton}" BasedOn="{StaticResource MaterialDesignRadioButton}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RatingBar.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RatingBar.xaml new file mode 100644 index 000000000..9e0e7da43 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RatingBar.xaml @@ -0,0 +1,97 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:system="clr-namespace:System;assembly=mscorlib"> + + <Style TargetType="{x:Type wpf:RatingBar}"> + <Setter Property="ClipToBounds" Value="False" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter Property="wpf:RippleAssist.Feedback" Value="{DynamicResource MaterialDesignFlatButtonRipple}" /> + <Setter Property="ValueItemTemplate"> + <Setter.Value> + <DataTemplate DataType="system:Int32"> + <Viewbox Width="24" Height="24"> + <Canvas Width="24" Height="24"> + <Path Data="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z" + Fill="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Control}, Path=Foreground}" /> + </Canvas> + </Viewbox> + </DataTemplate> + </Setter.Value> + </Setter> + <Setter Property="ValueItemContainerButtonStyle"> + <Setter.Value> + <Style TargetType="wpf:RatingBarButton"> + <Style.Setters> + <Setter Property="Command" Value="{x:Static wpf:RatingBar.SelectRatingCommand}"/> + <Setter Property="CommandParameter" Value="{Binding RelativeSource={RelativeSource Self}, Path=Value}"/> + <Setter Property="wpf:RippleAssist.ClipToBounds" Value="False"/> + <Setter Property="wpf:RippleAssist.IsCentered" Value="True"/> + <Setter Property="wpf:RippleAssist.RippleSizeMultiplier" Value="0.5"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="wpf:RatingBarButton"> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + RenderTransformOrigin=".5, .5"> + <wpf:Ripple.RenderTransform> + <RotateTransform x:Name="RotateTransform"></RotateTransform> + </wpf:Ripple.RenderTransform> + </wpf:Ripple> + <ControlTemplate.Triggers> + <EventTrigger RoutedEvent="Click"> + <EventTrigger.Actions> + <BeginStoryboard> + <Storyboard TargetName="RotateTransform" TargetProperty="Angle"> + <DoubleAnimationUsingKeyFrames> + <SplineDoubleKeyFrame KeyTime="0" Value="0" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="360"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </BeginStoryboard> + </EventTrigger.Actions> + </EventTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style.Setters> + <Style.Triggers> + <Trigger Property="IsWithinSelectedValue" Value="False"> + <Setter Property="Opacity" Value=".26" /> + </Trigger> + </Style.Triggers> + </Style> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:RatingBar}"> + <ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RatingButtons}" + VerticalAlignment="Top" + HorizontalAlignment="Left" + Margin="{TemplateBinding Padding}"> + <ItemsControl.ItemsPanel> + <ItemsPanelTemplate> + <StackPanel Orientation="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:RatingBar}, Path=Orientation}" /> + </ItemsPanelTemplate> + </ItemsControl.ItemsPanel> + </ItemsControl> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" Value=".26" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ScrollBar.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ScrollBar.xaml new file mode 100644 index 000000000..511be7a8b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ScrollBar.xaml @@ -0,0 +1,221 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <Style x:Key="MaterialDesignScrollBarButton" TargetType="{x:Type RepeatButton}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignSelection}" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSelection}" /> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="1"/> + <Setter Property="Focusable" Value="false"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RepeatButton}"> + <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" Background="{TemplateBinding Background}" SnapsToDevicePixels="true"> + <ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignDivider}"/> + </Trigger> + <Trigger Property="IsPressed" Value="true"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignDivider}"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" TargetName="contentPresenter" Value="0.56"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignRepeatButtonTransparent" TargetType="{x:Type RepeatButton}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Focusable" Value="false"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RepeatButton}"> + <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignScrollBarThumbVertical" TargetType="{x:Type Thumb}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Thumb}"> + <Rectangle x:Name="rectangle" Fill="{DynamicResource MaterialDesignSelection}" Height="{TemplateBinding Height}" SnapsToDevicePixels="True" Width="{TemplateBinding Width}"/> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="Fill" TargetName="rectangle" Value="{DynamicResource MaterialDesignDivider}"/> + </Trigger> + <Trigger Property="IsDragging" Value="true"> + <Setter Property="Fill" TargetName="rectangle" Value="{DynamicResource MaterialDesignDivider}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignScrollBarThumbHorizontal" TargetType="{x:Type Thumb}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Thumb}"> + <Rectangle x:Name="rectangle" Fill="{DynamicResource MaterialDesignSelection}" Height="{TemplateBinding Height}" SnapsToDevicePixels="True" Width="{TemplateBinding Width}"/> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="Fill" TargetName="rectangle" Value="{DynamicResource MaterialDesignDivider}"/> + </Trigger> + <Trigger Property="IsDragging" Value="true"> + <Setter Property="Fill" TargetName="rectangle" Value="{DynamicResource MaterialDesignDivider}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="MaterialDesignScrollBar" TargetType="{x:Type ScrollBar}"> + <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="false"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignSelection}"/> + <Setter Property="BorderThickness" Value="1,0"/> + <Setter Property="Width" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/> + <Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ScrollBar}"> + <Grid x:Name="Bg" SnapsToDevicePixels="true"> + <Grid.RowDefinitions> + <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/> + <RowDefinition Height="0.00001*"/> + <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/> + </Grid.RowDefinitions> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="1"/> + <RepeatButton x:Name="PART_LineUpButton" Command="{x:Static ScrollBar.LineUpCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Style="{StaticResource MaterialDesignScrollBarButton}"> + <Viewbox Width="12" Height="12" Margin="3"> + <Canvas Width="24" Height="24"> + <Path x:Name="ArrowTop" Data="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z" Fill="{DynamicResource MaterialDesignBody}" Stretch="Uniform"/> + </Canvas> + </Viewbox> + </RepeatButton> + <Track x:Name="PART_Track" IsDirectionReversed="true" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="1"> + <Track.DecreaseRepeatButton> + <RepeatButton Command="{x:Static ScrollBar.PageUpCommand}" Style="{StaticResource MaterialDesignRepeatButtonTransparent}"/> + </Track.DecreaseRepeatButton> + <Track.IncreaseRepeatButton> + <RepeatButton Command="{x:Static ScrollBar.PageDownCommand}" Style="{StaticResource MaterialDesignRepeatButtonTransparent}"/> + </Track.IncreaseRepeatButton> + <Track.Thumb> + <Thumb Style="{StaticResource MaterialDesignScrollBarThumbVertical}"/> + </Track.Thumb> + </Track> + <RepeatButton x:Name="PART_LineDownButton" Command="{x:Static ScrollBar.LineDownCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="2" Style="{StaticResource MaterialDesignScrollBarButton}"> + <Viewbox Width="12" Height="12" Margin="3"> + <Canvas Width="24" Height="24"> + <Path x:Name="ArrowBottom" Data="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z" Fill="{DynamicResource MaterialDesignBody}" Stretch="Uniform"/> + </Canvas> + </Viewbox> + </RepeatButton> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + <Trigger Property="Orientation" Value="Horizontal"> + <Setter Property="Width" Value="Auto"/> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="Height" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/> + <Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/> + <Setter Property="BorderThickness" Value="0,1"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ScrollBar}"> + <Grid x:Name="Bg" SnapsToDevicePixels="true"> + <Grid.ColumnDefinitions> + <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/> + <ColumnDefinition Width="0.00001*"/> + <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/> + </Grid.ColumnDefinitions> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Column="1"/> + <RepeatButton x:Name="PART_LineLeftButton" Command="{x:Static ScrollBar.LineLeftCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Style="{StaticResource MaterialDesignScrollBarButton}"> + <Viewbox Width="12" Height="12" Margin="3"> + <Canvas Width="24" Height="24"> + <Path x:Name="ArrowLeft" Data="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" Fill="{DynamicResource MaterialDesignBody}" Stretch="Uniform"/> + </Canvas> + </Viewbox> + </RepeatButton> + <Track x:Name="PART_Track" Grid.Column="1" IsEnabled="{TemplateBinding IsMouseOver}"> + <Track.DecreaseRepeatButton> + <RepeatButton Command="{x:Static ScrollBar.PageLeftCommand}" Style="{StaticResource MaterialDesignRepeatButtonTransparent}"/> + </Track.DecreaseRepeatButton> + <Track.IncreaseRepeatButton> + <RepeatButton Command="{x:Static ScrollBar.PageRightCommand}" Style="{StaticResource MaterialDesignRepeatButtonTransparent}"/> + </Track.IncreaseRepeatButton> + <Track.Thumb> + <Thumb Style="{StaticResource MaterialDesignScrollBarThumbHorizontal}"/> + </Track.Thumb> + </Track> + <RepeatButton x:Name="PART_LineRightButton" Grid.Column="2" Command="{x:Static ScrollBar.LineRightCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Style="{StaticResource MaterialDesignScrollBarButton}"> + <Viewbox Width="12" Height="12" Margin="3"> + <Canvas Width="24" Height="24"> + <Path x:Name="ArrowRight" Data="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z" Fill="{DynamicResource MaterialDesignBody}" Stretch="Uniform"/> + </Canvas> + </Viewbox> + </RepeatButton> + </Grid> + <ControlTemplate.Triggers> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, ElementName=PART_LineRightButton}" Value="true"/> + <Condition Binding="{Binding IsPressed, ElementName=PART_LineRightButton}" Value="true"/> + </MultiDataTrigger.Conditions> + <Setter Property="Fill" TargetName="ArrowRight" Value="{DynamicResource MaterialDesignBody}"/> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, ElementName=PART_LineLeftButton}" Value="true"/> + <Condition Binding="{Binding IsPressed, ElementName=PART_LineLeftButton}" Value="true"/> + </MultiDataTrigger.Conditions> + <Setter Property="Fill" TargetName="ArrowLeft" Value="{DynamicResource MaterialDesignBody}"/> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, ElementName=PART_LineRightButton}" Value="true"/> + <Condition Binding="{Binding IsPressed, ElementName=PART_LineRightButton}" Value="false"/> + </MultiDataTrigger.Conditions> + <Setter Property="Fill" TargetName="ArrowRight" Value="{DynamicResource MaterialDesignBody}"/> + </MultiDataTrigger> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding IsMouseOver, ElementName=PART_LineLeftButton}" Value="true"/> + <Condition Binding="{Binding IsPressed, ElementName=PART_LineLeftButton}" Value="false"/> + </MultiDataTrigger.Conditions> + <Setter Property="Fill" TargetName="ArrowLeft" Value="{DynamicResource MaterialDesignBody}"/> + </MultiDataTrigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Fill" TargetName="ArrowLeft" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="Fill" TargetName="ArrowRight" Value="{DynamicResource MaterialDesignBody}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Trigger> + </Style.Triggers> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ScrollViewer.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ScrollViewer.xaml new file mode 100644 index 000000000..7b034f389 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ScrollViewer.xaml @@ -0,0 +1,58 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <ControlTemplate x:Key="MaterialDesignScrollViewerTemplate" TargetType="{x:Type ScrollViewer}"> + <ControlTemplate.Resources> + <Storyboard x:Key="MouseEnter"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_HorizontalScrollBar"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.56"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_VerticalScrollBar"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.56"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + <Storyboard x:Key="MouseExit"> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_VerticalScrollBar"> + <EasingDoubleKeyFrame KeyTime="0" Value="0.56"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.56"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_HorizontalScrollBar"> + <EasingDoubleKeyFrame KeyTime="0" Value="1"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.56"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </ControlTemplate.Resources> + <Grid x:Name="Grid" Background="{TemplateBinding Background}"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="*"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <Rectangle x:Name="Corner" Grid.Column="1" Fill="{DynamicResource MaterialDesignSelection}" Grid.Row="1"/> + <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" Grid.Row="0"/> + <ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" + Opacity=".56" /> + <ScrollBar x:Name="PART_HorizontalScrollBar" AutomationProperties.AutomationId="HorizontalScrollBar" Cursor="Arrow" Grid.Column="0" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" + Opacity=".56" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="True"> + <Trigger.ExitActions> + <BeginStoryboard x:Name="MouseExit_BeginStoryboard" Storyboard="{StaticResource MouseExit}"/> + </Trigger.ExitActions> + <Trigger.EnterActions> + <BeginStoryboard x:Name="MouseEnter_BeginStoryboard" Storyboard="{StaticResource MouseEnter}"/> + </Trigger.EnterActions> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style TargetType="ScrollViewer" x:Key="MaterialDesignScrollViewer"> + <Setter Property="Template" Value="{StaticResource MaterialDesignScrollViewerTemplate}" /> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Shadows.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Shadows.xaml new file mode 100644 index 000000000..02801389c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Shadows.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <!-- thanks: http://marcangers.com/material-design-shadows-in-wpf/ --> + + <Color x:Key="MaterialDesignShadow">#AA000000</Color> + <SolidColorBrush x:Key="MaterialDesignShadowBrush" Color="{StaticResource MaterialDesignShadow}"/> + + <DropShadowEffect x:Key="MaterialDesignShadowDepth1" BlurRadius="5" ShadowDepth="1" Direction="270" Color="{StaticResource MaterialDesignShadow}" Opacity=".42" RenderingBias="Performance" po:Freeze="True" /> + <DropShadowEffect x:Key="MaterialDesignShadowDepth2" BlurRadius="8" ShadowDepth="1.5" Direction="270" Color="{StaticResource MaterialDesignShadow}" Opacity=".42" RenderingBias="Performance" po:Freeze="True" /> + <DropShadowEffect x:Key="MaterialDesignShadowDepth3" BlurRadius="14" ShadowDepth="4.5" Direction="270" Color="{StaticResource MaterialDesignShadow}" Opacity=".42" RenderingBias="Performance" po:Freeze="True" /> + <DropShadowEffect x:Key="MaterialDesignShadowDepth4" BlurRadius="25" ShadowDepth="8" Direction="270" Color="{StaticResource MaterialDesignShadow}" Opacity=".42" RenderingBias="Performance" po:Freeze="True" /> + <DropShadowEffect x:Key="MaterialDesignShadowDepth5" BlurRadius="35" ShadowDepth="13" Direction="270" Color="{StaticResource MaterialDesignShadow}" Opacity=".42" RenderingBias="Performance" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Slider.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Slider.xaml new file mode 100644 index 000000000..e50419f2f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Slider.xaml @@ -0,0 +1,493 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + + <Style x:Key="MaterialDesignHorizontalTrackRepeatButton" TargetType="{x:Type RepeatButton}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Focusable" Value="false"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RepeatButton}"> + <Canvas Background="Transparent" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"> + <Rectangle x:Name="PART_SelectionRange" Fill="{TemplateBinding Background}" Height="2.0" + Canvas.Top="8" + Width="{TemplateBinding ActualWidth}"/> + </Canvas> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignHorizontalTrackDiscreteRepeatButton" TargetType="{x:Type RepeatButton}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Focusable" Value="false"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Height" Value="8"/> + <Setter Property="Margin" Value="0 0 0 2"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RepeatButton}"> + <Canvas Background="Transparent" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"> + <Rectangle x:Name="PART_SelectionRange" Fill="{TemplateBinding Background}" Height="2.0" + Canvas.Top="3" + Width="{TemplateBinding ActualWidth}"/> + </Canvas> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignVerticalTrackRepeatButton" TargetType="{x:Type RepeatButton}"> + <Setter Property="OverridesDefaultStyle" Value="true"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="Focusable" Value="false"/> + <Setter Property="IsTabStop" Value="false"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type RepeatButton}"> + <Canvas Background="Transparent" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"> + <Rectangle x:Name="PART_SelectionRange" Fill="{TemplateBinding Background}" Width="2.0" + Canvas.Left="8" + Height="{TemplateBinding ActualHeight}"/> + </Canvas> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <ControlTemplate x:Key="MaterialDesignSliderThumb" TargetType="{x:Type Thumb}"> + <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> + <Ellipse x:Name="shadow" + Width="24" Height="24" Margin="-12" + Fill="{TemplateBinding Foreground}" + Opacity=".0" + UseLayoutRounding="True" /> + <Ellipse x:Name="grip" Width="12" Height="12" Fill="{TemplateBinding Foreground}" + UseLayoutRounding="True" RenderTransformOrigin=".5,.5"> + <Ellipse.RenderTransform> + <ScaleTransform ScaleX="1" ScaleY="1"></ScaleTransform> + </Ellipse.RenderTransform> + </Ellipse> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Trigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="shadow" Storyboard.TargetProperty="Opacity" + To=".26" Duration="0:0:0.2" /> + </Storyboard> + </BeginStoryboard> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="shadow" Storyboard.TargetProperty="Opacity" + To=".0" Duration="0:0:0.2" /> + </Storyboard> + </BeginStoryboard> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="IsDragging" Value="true"> + <Trigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleX"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleY"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </Storyboard> + </BeginStoryboard> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard> + <Storyboard> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleX"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.5" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleY"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.5" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </Storyboard> + </BeginStoryboard> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Fill" TargetName="grip" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + <Setter Property="Stroke" TargetName="grip" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <ControlTemplate x:Key="MaterialDesignDiscreteSliderThumb" TargetType="{x:Type Thumb}"> + <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center" Width="12"> + <Grid.RowDefinitions> + <RowDefinition Height="Auto" /> + <RowDefinition Height="Auto" /> + </Grid.RowDefinitions> + <Viewbox x:Name="Pin" RenderTransformOrigin=".5,1"> + <Grid> + <Path Data="M13.437011,33.065002 C9.7268463,29.334181 7.812011,26.379009 4.874511,23.379009 1.687011,19.566509 0.12600673,17.206803 5.6843419E-14,14.127608 0.062010996,2.0027046 11.158781,-0.062991121 13.43702,0.0014351187 M13.438011,33.065016 C17.148173,29.334199 19.063008,26.379023 22.00051,23.379017 25.188007,19.566519 26.749013,17.206806 26.875018,14.127613 26.813007,2.002704 15.716239,-0.062987381 13.438,0.0014388781" + Fill="{TemplateBinding Foreground}" + Grid.Row="0" Margin="-7,2,-8,4" /> + <TextBlock Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=Slider}, Path=Value}" Foreground="{DynamicResource PrimaryHueMidForegroundBrush}" + HorizontalAlignment="Center" VerticalAlignment="Center" + FontWeight="Normal" FontSize="11" + Margin="-7 -6 -7 0"/> + </Grid> + <Viewbox.RenderTransform> + <TransformGroup> + <ScaleTransform ScaleX="0" ScaleY="0" /> + <TranslateTransform Y="4" /> + </TransformGroup> + </Viewbox.RenderTransform> + </Viewbox> + <Grid Grid.Row="1" Margin="0 0 0 0"> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <Rectangle Height="2" Width="6" Fill="{TemplateBinding Foreground}" /> + <Rectangle Height="2" Width="6" Fill="{DynamicResource MaterialDesignCheckBoxOff}" Grid.Column="1" /> + </Grid> + <Ellipse x:Name="shadow" + Grid.Row="1" + Width="24" Height="24" Margin="-12" + Fill="{TemplateBinding Foreground}" + Opacity=".0" + UseLayoutRounding="True" /> + <Ellipse x:Name="grip" Width="12" Height="12" Fill="{TemplateBinding Foreground}" + Grid.Row="1" + UseLayoutRounding="True" RenderTransformOrigin=".5,.5"> + <Ellipse.RenderTransform> + <ScaleTransform ScaleX="1" ScaleY="1"></ScaleTransform> + </Ellipse.RenderTransform> + </Ellipse> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Trigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="shadow" Storyboard.TargetProperty="Opacity" + To=".26" Duration="0:0:0.2" /> + </Storyboard> + </BeginStoryboard> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="shadow" Storyboard.TargetProperty="Opacity" + To=".0" Duration="0:0:0.2" /> + </Storyboard> + </BeginStoryboard> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="IsDragging" Value="true"> + <Trigger.EnterActions> + <BeginStoryboard> + <Storyboard> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleX"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleY"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.5"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="shadow" Storyboard.TargetProperty="Opacity" + To=".0" Duration="0:0:0.1" /> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Pin" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="0" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Pin" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="0" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Pin" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="4" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </Storyboard> + </BeginStoryboard> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard> + <Storyboard> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleX"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.5" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="grip" Storyboard.TargetProperty="RenderTransform.ScaleY"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.5" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetName="shadow" Storyboard.TargetProperty="Opacity" + Duration="0:0:0.1" /> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Pin" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Pin" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Pin" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)"> + <EasingDoubleKeyFrame KeyTime="0:0:0" Value="0" /> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="4"> + <EasingDoubleKeyFrame.EasingFunction> + <SineEase EasingMode="EaseInOut" /> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </Storyboard> + </BeginStoryboard> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Fill" TargetName="grip" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + <Setter Property="Stroke" TargetName="grip" Value="{DynamicResource MaterialDesignCheckBoxDisabled}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <ControlTemplate x:Key="MaterialDesignSliderHorizontal" TargetType="{x:Type Slider}"> + <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> + <Grid> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/> + <RowDefinition Height="Auto"/> + </Grid.RowDefinitions> + <TickBar x:Name="TopTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,0,0,2" Placement="Top" Grid.Row="0" Visibility="Collapsed"/> + <TickBar x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,2,0,0" Placement="Bottom" Grid.Row="2" Visibility="Collapsed"/> + <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden" Grid.Row="1" /> + <Track x:Name="PART_Track" Grid.Row="1" OpacityMask="{x:Null}"> + <Track.DecreaseRepeatButton> + <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource MaterialDesignHorizontalTrackRepeatButton}" Background="{TemplateBinding Foreground}" /> + </Track.DecreaseRepeatButton> + <Track.IncreaseRepeatButton> + <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource MaterialDesignHorizontalTrackRepeatButton}" Background="{DynamicResource MaterialDesignCheckBoxOff}" + x:Name="IncreaseRepeatButton" /> + </Track.IncreaseRepeatButton> + <Track.Thumb> + <Thumb x:Name="Thumb" Focusable="False" Height="18" OverridesDefaultStyle="True" Template="{StaticResource MaterialDesignSliderThumb}" + VerticalAlignment="Center" Width="12"/> + </Track.Thumb> + </Track> + </Grid> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="TickPlacement" Value="TopLeft"> + <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> + </Trigger> + <Trigger Property="TickPlacement" Value="BottomRight"> + <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> + </Trigger> + <Trigger Property="TickPlacement" Value="Both"> + <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> + <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> + </Trigger> + <Trigger Property="IsSelectionRangeEnabled" Value="true"> + <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Background" TargetName="IncreaseRepeatButton" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <ControlTemplate x:Key="MaterialDesignSliderVertical" TargetType="{x:Type Slider}"> + <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition MinWidth="{TemplateBinding MinWidth}" Width="Auto"/> + <ColumnDefinition Width="Auto"/> + </Grid.ColumnDefinitions> + <TickBar x:Name="TopTick" Grid.Column="0" Fill="{TemplateBinding Foreground}" Margin="0,0,2,0" Placement="Left" Visibility="Collapsed" Width="4"/> + <TickBar x:Name="BottomTick" Grid.Column="2" Fill="{TemplateBinding Foreground}" Margin="2,0,0,0" Placement="Right" Visibility="Collapsed" Width="4"/> + <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden" Grid.Column="1" /> + <Track x:Name="PART_Track" Grid.Column="1"> + <Track.DecreaseRepeatButton> + <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource MaterialDesignVerticalTrackRepeatButton}" Background="{TemplateBinding Foreground}"/> + </Track.DecreaseRepeatButton> + <Track.IncreaseRepeatButton> + <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource MaterialDesignVerticalTrackRepeatButton}" Background="{DynamicResource MaterialDesignCheckBoxOff}" + x:Name="IncreaseRepeatButton" /> + </Track.IncreaseRepeatButton> + <Track.Thumb> + <Thumb x:Name="Thumb" Focusable="False" Height="12" OverridesDefaultStyle="True" Template="{StaticResource MaterialDesignSliderThumb}" VerticalAlignment="Top" Width="18"/> + </Track.Thumb> + </Track> + </Grid> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="TickPlacement" Value="TopLeft"> + <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> + </Trigger> + <Trigger Property="TickPlacement" Value="BottomRight"> + <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> + </Trigger> + <Trigger Property="TickPlacement" Value="Both"> + <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> + <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> + </Trigger> + <Trigger Property="IsSelectionRangeEnabled" Value="true"> + <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Background" TargetName="IncreaseRepeatButton" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <ControlTemplate x:Key="MaterialDesignDiscreteSliderHorizontal" TargetType="{x:Type Slider}"> + <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> + <Grid> + <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden" Grid.Row="1" /> + <Track x:Name="PART_Track" OpacityMask="{x:Null}" Margin="7 0 8 0"> + <Track.DecreaseRepeatButton> + <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource MaterialDesignHorizontalTrackDiscreteRepeatButton}" Background="{TemplateBinding Foreground}" /> + </Track.DecreaseRepeatButton> + <Track.IncreaseRepeatButton> + <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource MaterialDesignHorizontalTrackDiscreteRepeatButton}" Background="{DynamicResource MaterialDesignCheckBoxOff}" + x:Name="IncreaseRepeatButton" /> + </Track.IncreaseRepeatButton> + <Track.Thumb> + <Thumb x:Name="Thumb" Focusable="False" OverridesDefaultStyle="True" Template="{StaticResource MaterialDesignDiscreteSliderThumb}" + VerticalAlignment="Center" /> + </Track.Thumb> + </Track> + </Grid> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="TickPlacement" Value="TopLeft"> + + </Trigger> + <Trigger Property="TickPlacement" Value="BottomRight"> + + </Trigger> + <Trigger Property="TickPlacement" Value="Both"> + + </Trigger> + <Trigger Property="IsSelectionRangeEnabled" Value="true"> + <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Background" TargetName="IncreaseRepeatButton" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + + <Style x:Key="MaterialDesignSlider" TargetType="{x:Type Slider}"> + <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/> + <Setter Property="Background" Value="{x:Null}"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Template" Value="{StaticResource MaterialDesignSliderHorizontal}"/> + <Style.Triggers> + <Trigger Property="Orientation" Value="Vertical"> + <Setter Property="Template" Value="{StaticResource MaterialDesignSliderVertical}"/> + </Trigger> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignDiscreteSlider" TargetType="{x:Type Slider}"> + <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/> + <Setter Property="Background" Value="{x:Null}"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="IsSnapToTickEnabled" Value="True"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Template" Value="{StaticResource MaterialDesignDiscreteSliderHorizontal}"/> + <Style.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignCheckBoxDisabled}" /> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.SmartHint.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.SmartHint.xaml new file mode 100644 index 000000000..9d2d698a3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.SmartHint.xaml @@ -0,0 +1,181 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <converters:BooleanToVisibilityConverter x:Key="BoolToVisConverter"/> + <converters:BooleanToVisibilityConverter x:Key="InverseBoolToVisConverter" TrueValue="Collapsed" FalseValue="Visible"/> + <converters:RangePositionConverter x:Key="RangePositionConverter"/> + <converters:MathMultipleConverter x:Key="TranslateConverter" Operation="Multiply"/> + <system:Double x:Key="NoContentFloatingScale">1.0</system:Double> + <SineEase x:Key="AnimationEasingFunction" EasingMode="EaseOut"/> + + <Style TargetType="{x:Type wpf:SmartHint}"> + <Setter Property="HorizontalAlignment" Value="Left"/> + <Setter Property="VerticalAlignment" Value="Bottom"/> + <Setter Property="HorizontalContentAlignment" Value="Left"/> + <Setter Property="VerticalContentAlignment" Value="Bottom"/> + <Setter Property="IsTabStop" Value="False"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:SmartHint}"> + <Grid Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalAlignment}" + VerticalAlignment="{TemplateBinding VerticalAlignment}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="ContentStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="HintFloatingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SimpleHintTextBlock" Storyboard.TargetProperty="Opacity" + Duration="0:0:0" To="0" /> + </Storyboard> + </VisualTransition> + <VisualTransition From="*" To="HintRestingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SimpleHintTextBlock" Storyboard.TargetProperty="Opacity" + Duration="0:0:0.3" + EasingFunction="{StaticResource AnimationEasingFunction}"/> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="HintFloatingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SimpleHintTextBlock" + Duration="0" To="0" /> + </Storyboard> + </VisualState> + <VisualState x:Name="HintRestingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SimpleHintTextBlock" + Duration="0" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <ContentControl x:Name="SimpleHintTextBlock" + IsTabStop="False" + Visibility="{TemplateBinding UseFloating, Converter={StaticResource InverseBoolToVisConverter}}" + Content="{TemplateBinding Hint}" + FontSize="{TemplateBinding FontSize}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Opacity="{TemplateBinding HintOpacity}" + IsHitTestVisible="False"/> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="UseFloating" Value="True"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:SmartHint}"> + <Grid Margin="{TemplateBinding Padding}" + HorizontalAlignment="{TemplateBinding HorizontalAlignment}" + VerticalAlignment="{TemplateBinding VerticalAlignment}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="ContentStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="HintFloatingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="FloatingHintTextBlock" Storyboard.TargetProperty="Opacity" + Duration="0:0:0.3" To="{TemplateBinding HintOpacity}" + EasingFunction="{StaticResource AnimationEasingFunction}"/> + <DoubleAnimation Storyboard.TargetName="ScaleHost" Storyboard.TargetProperty="Scale" + Duration="0:0:0.3" To="1" + EasingFunction="{StaticResource AnimationEasingFunction}"/> + </Storyboard> + </VisualTransition> + <VisualTransition From="*" To="HintRestingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="FloatingHintTextBlock" Storyboard.TargetProperty="Opacity" + Duration="0:0:0.3" + EasingFunction="{StaticResource AnimationEasingFunction}"/> + <DoubleAnimation Storyboard.TargetName="ScaleHost" Storyboard.TargetProperty="Scale" + Duration="0:0:0.3" + EasingFunction="{StaticResource AnimationEasingFunction}"/> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="HintFloatingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FloatingHintTextBlock" + Duration="0" To="{TemplateBinding HintOpacity}" /> + <DoubleAnimation Storyboard.TargetName="ScaleHost" Storyboard.TargetProperty="Scale" + Duration="0" To="1"/> + </Storyboard> + </VisualState> + <VisualState x:Name="HintRestingPosition"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FloatingHintTextBlock" + Duration="0" /> + <DoubleAnimation Storyboard.TargetName="ScaleHost" Storyboard.TargetProperty="Scale" + Duration="0" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:ScaleHost x:Name="ScaleHost" /> + <ContentControl x:Name="FloatingHintTextBlock" + Visibility="{TemplateBinding UseFloating, Converter={StaticResource BoolToVisConverter}}" + Content="{TemplateBinding Hint}" + FontSize="{TemplateBinding FontSize}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Opacity="{TemplateBinding HintOpacity}" + IsHitTestVisible="False" + IsTabStop="False" + RenderTransformOrigin="0,1"> + <ContentControl.Tag> + <system:Double>0.0</system:Double> + </ContentControl.Tag> + <ContentControl.LayoutTransform> + <TransformGroup> + <ScaleTransform> + <ScaleTransform.ScaleX> + <MultiBinding Converter="{StaticResource RangePositionConverter}"> + <Binding Path="Scale" ElementName="ScaleHost"/> + <Binding Path="FloatingScale" RelativeSource="{RelativeSource TemplatedParent}"/> + <Binding Source="{StaticResource NoContentFloatingScale}"/> + </MultiBinding> + </ScaleTransform.ScaleX> + <ScaleTransform.ScaleY> + <MultiBinding Converter="{StaticResource RangePositionConverter}"> + <Binding Path="Scale" ElementName="ScaleHost"/> + <Binding Path="FloatingScale" RelativeSource="{RelativeSource TemplatedParent}"/> + <Binding Source="{StaticResource NoContentFloatingScale}"/> + </MultiBinding> + </ScaleTransform.ScaleY> + </ScaleTransform> + </TransformGroup> + </ContentControl.LayoutTransform> + <ContentControl.RenderTransform> + <TransformGroup> + <TranslateTransform> + <TranslateTransform.X> + <MultiBinding Converter="{StaticResource TranslateConverter}"> + <Binding Path="Scale" ElementName="ScaleHost"/> + <Binding Path="FloatingOffset.X" RelativeSource="{RelativeSource TemplatedParent}"/> + </MultiBinding> + </TranslateTransform.X> + <TranslateTransform.Y> + <MultiBinding Converter="{StaticResource TranslateConverter}"> + <Binding Path="Scale" ElementName="ScaleHost"/> + <Binding Path="FloatingOffset.Y" RelativeSource="{RelativeSource TemplatedParent}"/> + </MultiBinding> + </TranslateTransform.Y> + </TranslateTransform> + </TransformGroup> + </ContentControl.RenderTransform> + </ContentControl> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Snackbar.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Snackbar.xaml new file mode 100644 index 000000000..6c60e112f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Snackbar.xaml @@ -0,0 +1,196 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:system="clr-namespace:System;assembly=mscorlib"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:NullableToVisibilityConverter x:Key="NullableToVisibilityConverter" /> + <converters:MathMultipleConverter x:Key="MathMultipleConverter" Operation="Multiply" /> + + <Style x:Key="MaterialDesignSnackbarActionButton" TargetType="Button"> + <Setter Property="VerticalAlignment" Value="Stretch" /> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentBrush}" /> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="Transparent"/> + <Setter Property="Cursor" Value="Hand"/> + <Setter Property="wpf:RippleAssist.Feedback" Value="{DynamicResource MaterialDesignSnackbarRipple}" /> + <Setter Property="TextBlock.FontWeight" Value="Medium"/> + <Setter Property="TextBlock.FontSize" Value="14"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="24 0 24 0"/> + <Setter Property="Margin" Value="24 -14 -24 -14" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Button}"> + <Grid x:Name="Root" Background="{TemplateBinding Background}"> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSnackbarMouseOver}" /> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value="0.23"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignSnackbarActionLightButton" TargetType="Button" BasedOn="{StaticResource MaterialDesignSnackbarActionButton}"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightBrush}" /> + </Style> + + <Style x:Key="MaterialDesignSnackbarActionMidButton" TargetType="Button" BasedOn="{StaticResource MaterialDesignSnackbarActionButton}"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + </Style> + + <Style x:Key="MaterialDesignSnackbarActionDarkButton" TargetType="Button" BasedOn="{StaticResource MaterialDesignSnackbarActionButton}"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkBrush}" /> + </Style> + + <Style TargetType="wpf:SnackbarMessage"> + <Setter Property="HorizontalContentAlignment" Value="Left" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="wpf:SnackbarMessage"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <ContentPresenter Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + ContentStringFormat="{TemplateBinding ContentStringFormat}" + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + DockPanel.Dock="Left" + MaxHeight="36"> + <ContentPresenter.Resources> + <DataTemplate DataType="{x:Type system:String}"> + <TextBlock Text="{Binding}"> + <TextBlock.Style> + <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource MaterialDesignBody1TextBlock}"> + <Setter Property="FontSize" Value="14" /> + <Setter Property="TextWrapping" Value="WrapWithOverflow" /> + <Setter Property="TextTrimming" Value="CharacterEllipsis" /> + </Style> + </TextBlock.Style> + </TextBlock> + </DataTemplate> + </ContentPresenter.Resources> + </ContentPresenter> + <!-- will become a Panel to wrap a "pretend" button --> + <Button x:Name="PART_ActionButton" + Grid.Column="1" + Command="{TemplateBinding ActionCommand}" + CommandParameter="{TemplateBinding ActionCommandParameter}" + Content="{TemplateBinding ActionContent}" + ContentTemplate="{TemplateBinding ActionContentTemplate}" + ContentStringFormat="{TemplateBinding ActionContentStringFormat}" + ContentTemplateSelector="{TemplateBinding ActionContentTemplateSelector}" + HorizontalAlignment="Right" + Visibility="{TemplateBinding ActionContent, Converter={StaticResource NullableToVisibilityConverter}}" + Style="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type wpf:Snackbar}}, Path=ActionButtonStyle}" + DockPanel.Dock="Right" /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style TargetType="wpf:Snackbar"> + <Setter Property="VerticalAlignment" Value="Bottom" /> + <Setter Property="VerticalContentAlignment" Value="Center" /> + <Setter Property="HorizontalAlignment" Value="Center" /> + <Setter Property="FontSize" Value="14" /> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignSnackbarBackground}" /> + <Setter Property="ActionButtonStyle" Value="{StaticResource MaterialDesignSnackbarActionButton}" /> + <Setter Property="MinWidth" Value="288" /> + <Setter Property="MaxWidth" Value="568" /> + <Setter Property="Padding" Value="24 14 24 14" /> + <Setter Property="ClipToBounds" Value="True" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="wpf:Snackbar"> + <ControlTemplate.Resources> + <Storyboard x:Key="ActivateStoryboard" Duration="0:0:0.3"> + <DoubleAnimation Storyboard.TargetName="Root" Storyboard.TargetProperty="Tag" From="0" To="1" Duration="0:0:0.3"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + <DoubleAnimation Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity" To="0" BeginTime="0" Duration="0" /> + <DoubleAnimation Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Opacity" From="0" To="1" BeginTime="0:0:0.075" Duration="0:0:0.225"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + <Storyboard x:Key="DeactivateStoryboard" Duration="0:0:0.3"> + <DoubleAnimation Storyboard.TargetName="Root" Storyboard.TargetProperty="Tag" From="1" To="0" Duration="0:0:0.3"> + <DoubleAnimation.EasingFunction> + <SineEase EasingMode="EaseOut" /> + </DoubleAnimation.EasingFunction> + </DoubleAnimation> + </Storyboard> + </ControlTemplate.Resources> + <StackPanel x:Name="Root"> + <StackPanel.Tag> + <system:Double>0.0</system:Double> + </StackPanel.Tag> + <StackPanel.Height> + <MultiBinding Converter="{StaticResource MathMultipleConverter}"> + <Binding ElementName="ContentBorder" Path="ActualHeight"/> + <Binding RelativeSource="{RelativeSource Self}" Path="Tag"/> + </MultiBinding> + </StackPanel.Height> + <Border x:Name="ContentBorder" + Background="{TemplateBinding Background}" CornerRadius="2" SnapsToDevicePixels="True" + VerticalAlignment="Stretch" + MinHeight="24"> + <ContentPresenter Content="{TemplateBinding Message}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Margin="{TemplateBinding Padding}" + x:Name="ContentPresenter" /> + </Border> + </StackPanel> + <ControlTemplate.Triggers> + <Trigger Property="IsActive" Value="True"> + <Trigger.EnterActions> + <BeginStoryboard Storyboard="{StaticResource ActivateStoryboard}" /> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard Storyboard="{StaticResource DeactivateStoryboard}" /> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="HorizontalAlignment" Value="Stretch"> + <Setter TargetName="ContentBorder" Property="CornerRadius" Value="0" /> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="HorizontalAlignment" Value="Stretch"> + <Setter Property="MaxWidth" Value="{x:Static system:Double.MaxValue}"> + </Setter> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBlock.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBlock.xaml new file mode 100644 index 000000000..b1708a54e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBlock.xaml @@ -0,0 +1,80 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Hyperlink.xaml" /> + </ResourceDictionary.MergedDictionaries> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignCaptionTextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignCaptionHyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="12"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignBody1TextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignBody1Hyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="13"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignBody2TextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignBody2Hyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="13"/> + <Setter Property="FontWeight" Value="Medium"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignSubheadingTextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignSubheadingHyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="15"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignTitleTextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignTitleHyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="20"/> + <Setter Property="FontWeight" Value="Medium"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignHeadlineTextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignHeadlineHyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="24"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignDisplay1TextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignDisplay1Hyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="34"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignDisplay2TextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignDisplay2Hyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="45"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignDisplay3TextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignDisplay3Hyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="56"/> + <Setter Property="FontWeight" Value="Regular"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignDisplay4TextBlock"> + <Style.Resources> + <Style TargetType="Hyperlink" BasedOn="{StaticResource MaterialDesignDisplay4Hyperlink}" /> + </Style.Resources> + <Setter Property="FontSize" Value="112"/> + <Setter Property="FontWeight" Value="Light"/> + </Style> + <Style TargetType="{x:Type TextBlock}" x:Key="MaterialDesignButtonTextBlock"> + <Setter Property="FontSize" Value="14"/> + <Setter Property="FontWeight" Value="Medium"/> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBox.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBox.xaml new file mode 100644 index 000000000..74ed94825 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBox.xaml @@ -0,0 +1,214 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:TextFieldHintVisibilityConverter x:Key="TextFieldHintVisibilityConverter" /> + + <Style x:Key="MaterialDesignTextBox" TargetType="{x:Type TextBox}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" /> + <Setter Property="BorderThickness" Value="0 0 0 1"/> + <Setter Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="0 0 0 0" /> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="CaretBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/> + <Setter Property="HorizontalContentAlignment" Value="Stretch"/> + <Setter Property="VerticalContentAlignment" Value="Bottom"/> + <Setter Property="FocusVisualStyle" Value="{x:Null}"/> + <Setter Property="AllowDrop" Value="true"/> + <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="wpf:TextFieldAssist.IncludeSpellingSuggestions" Value="{Binding RelativeSource={RelativeSource Self}, Path=(SpellCheck.IsEnabled)}" /> + <!-- cludge the default context menu --> + <Setter Property="ContextMenu"> + <Setter.Value> + <ContextMenu> + <MenuItem Header="_Cut" Command="Cut"> + <MenuItem.Icon> + <wpf:PackIcon Kind="ContentCut"/> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="_Copy" Command="Copy"> + <MenuItem.Icon> + <wpf:PackIcon Kind="ContentCopy" /> + </MenuItem.Icon> + </MenuItem> + <MenuItem Header="_Paste" Command="Paste"> + <MenuItem.Icon> + <wpf:PackIcon Kind="ContentPaste"/> + </MenuItem.Icon> + </MenuItem> + </ContextMenu> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TextBox}"> + <Border x:Name="textFieldBoxBorder" + SnapsToDevicePixels="True"> + <Grid> + <Border x:Name="border" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + SnapsToDevicePixels="True" + Padding="0 4 0 4"> + <Grid x:Name="textFieldGrid" + Margin="{TemplateBinding Padding}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"> + <ScrollViewer x:Name="PART_ContentHost" Focusable="false" + HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + UseLayoutRounding="{TemplateBinding UseLayoutRounding}" + /> + <wpf:SmartHint x:Name="Hint" + Hint="{Binding Path=(wpf:HintAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + FontSize="{TemplateBinding FontSize}" + Padding="{TemplateBinding Padding}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + FloatingScale="{Binding Path=(wpf:HintAssist.FloatingScale), RelativeSource={RelativeSource TemplatedParent}}" + FloatingOffset="{Binding Path=(wpf:HintAssist.FloatingOffset), RelativeSource={RelativeSource TemplatedParent}}" + /> + </Grid> + </Border> + <Line x:Name="DashedLine" VerticalAlignment="Bottom" Visibility="Hidden" + StrokeThickness="1.25" StrokeDashArray="1,2.5" StrokeDashCap="Round" + X1="0" X2="{Binding ActualWidth, ElementName=border}" Y1="0" Y2="0" + Stroke="{TemplateBinding BorderBrush}" Opacity="0.56" /> + <wpf:Underline x:Name="Underline" Visibility="{Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}}"/> + </Grid> + </Border> + <ControlTemplate.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="wpf:HintAssist.IsFloating" Value="True" /> + <Condition Property="IsKeyboardFocused" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + <Trigger Property="wpf:HintAssist.IsFloating" Value="True"> + <Setter TargetName="border" Property="Margin" Value="0 12 0 0" /> + </Trigger> + <Trigger Property="wpf:TextFieldAssist.HasTextFieldBox" Value="True"> + <Setter Property="VerticalContentAlignment" Value="Top" /> + <Setter TargetName="textFieldBoxBorder" Property="Background" Value="{DynamicResource MaterialDesignTextFieldBoxBackground}" /> + <Setter TargetName="textFieldBoxBorder" Property="CornerRadius" Value="4" /> + <Setter TargetName="textFieldBoxBorder" Property="Padding" Value="0,8,0,0" /> + <Setter TargetName="textFieldGrid" Property="Margin" Value="16,0,16,0" /> + <Setter TargetName="border" Property="BorderThickness" Value="0" /> + <Setter TargetName="Underline" Property="CornerRadius" Value="0,0,4,4" /> + <Setter TargetName="Hint" Property="Margin" Value="0,0,0,16" /> + <Setter TargetName="PART_ContentHost" Property="Margin" Value="0,8,0,8" /> + </Trigger> + <Trigger Property="wpf:TextFieldAssist.HasTextAreaBox" Value="True"> + <Setter Property="VerticalContentAlignment" Value="Top" /> + <Setter TargetName="textFieldBoxBorder" Property="Background" Value="Transparent" /> + <Setter TargetName="textFieldBoxBorder" Property="CornerRadius" Value="4" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderThickness" Value="1" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderBrush" Value="{DynamicResource MaterialDesignTextAreaBorder}" /> + <Setter TargetName="textFieldBoxBorder" Property="Padding" Value="0,8,0,0" /> + <Setter TargetName="textFieldBoxBorder" Property="Margin" Value="-1" /> + <Setter TargetName="textFieldGrid" Property="Margin" Value="16,0,16,0" /> + <Setter TargetName="border" Property="BorderThickness" Value="0" /> + <Setter TargetName="Underline" Property="Visibility" Value="Collapsed" /> + <Setter TargetName="Hint" Property="Margin" Value="0,0,0,16" /> + <Setter TargetName="PART_ContentHost" Property="Margin" Value="0,8,0,8" /> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsEnabled" Value="false" /> + <Condition Property="wpf:TextFieldAssist.HasTextAreaBox" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="textFieldBoxBorder" Property="Background" Value="{DynamicResource MaterialDesignTextFieldBoxDisabledBackground}" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderBrush" Value="{DynamicResource MaterialDesignTextAreaInactiveBorder}" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsEnabled" Value="false" /> + <Condition Property="wpf:TextFieldAssist.HasTextAreaBox" Value="False" /> + </MultiTrigger.Conditions> + <Setter Property="Opacity" TargetName="border" Value="0.42"/> + <Setter TargetName="border" Property="BorderBrush" Value="Transparent" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsEnabled" Value="false" /> + <Condition Property="wpf:TextFieldAssist.HasTextAreaBox" Value="False" /> + <Condition Property="wpf:TextFieldAssist.HasTextFieldBox" Value="False" /> + </MultiTrigger.Conditions> + <Setter TargetName="DashedLine" Property="Visibility" Value="Visible" /> + </MultiTrigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </Trigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <Setter TargetName="Underline" Property="IsActive" Value="True"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource ValidationErrorBrush}"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsMouseOver" Value="True" /> + <Condition Property="wpf:TextFieldAssist.HasTextAreaBox" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="textFieldBoxBorder" Property="Margin" Value="-2" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderThickness" Value="2" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsKeyboardFocused" Value="True" /> + <Condition Property="wpf:TextFieldAssist.HasTextAreaBox" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="textFieldBoxBorder" Property="Margin" Value="-2" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderThickness" Value="2" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}" /> + </MultiTrigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="Validation.HasError" Value="True" /> + <Condition Property="wpf:TextFieldAssist.HasTextAreaBox" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="textFieldBoxBorder" Property="Margin" Value="-2" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderThickness" Value="2" /> + <Setter TargetName="textFieldBoxBorder" Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}" /> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true"/> + <Condition Property="IsSelectionActive" Value="false"/> + </MultiTrigger.Conditions> + <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}"/> + </MultiTrigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignFloatingHintTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignTextBox}"> + <Setter Property="wpf:HintAssist.IsFloating" Value="True"/> + </Style> + + <Style x:Key="MaterialDesignTextFieldBoxTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignFloatingHintTextBox}"> + <Setter Property="wpf:TextFieldAssist.HasTextFieldBox" Value="True" /> + </Style> + + <Style x:Key="MaterialDesignTextAreaTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignFloatingHintTextBox}"> + <Setter Property="wpf:TextFieldAssist.HasTextAreaBox" Value="True" /> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Thumb.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Thumb.xaml new file mode 100644 index 000000000..7b45133d4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Thumb.xaml @@ -0,0 +1,32 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:MaterialDesignTheme"> + + <Style x:Key="MaterialDesignThumb" TargetType="{x:Type Thumb}"> + <Setter Property="SnapsToDevicePixels" Value="True" /> + <Setter Property="Padding" Value="8" /> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="OverridesDefaultStyle" Value="True" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Thumb}"> + <Border x:Name="PART_Border" + Padding="{TemplateBinding Padding}" + Background="{TemplateBinding Background}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignGridRowHeaderGripper" TargetType="{x:Type Thumb}" BasedOn="{StaticResource MaterialDesignThumb}"> + <Setter Property="Height" Value="8"/> + <Setter Property="Cursor" Value="SizeNS"/> + </Style> + + <Style x:Key="MaterialDesignGridColumnHeaderGripper" TargetType="{x:Type Thumb}" BasedOn="{StaticResource MaterialDesignThumb}"> + <Setter Property="Width" Value="8"/> + <Setter Property="Cursor" Value="SizeWE"/> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TimePicker.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TimePicker.xaml new file mode 100644 index 000000000..ddd391d3e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TimePicker.xaml @@ -0,0 +1,147 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="MaterialDesignTheme.ValidationErrorTemplate.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <converters:TextFieldHintVisibilityConverter x:Key="TextFieldHintVisibilityConverter" /> + + <Style x:Key="MaterialDesignTimePicker" TargetType="{x:Type wpf:TimePicker}"> + <Setter Property="VerticalAlignment" Value="Top"/> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextBoxBorder}" /> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0 0 0 1"/> + <Setter Property="HorizontalContentAlignment" Value="Stretch"/> + <Setter Property="IsTabStop" Value="False"/> + <Setter Property="Margin" Value="0 12 0 0" /> + <Setter Property="wpf:HintAssist.Hint" Value="Select time" /> + <Setter Property="ClockStyle" Value="{DynamicResource MaterialDesignClock}" /> + <Setter Property="Validation.ErrorTemplate" Value="{StaticResource MaterialDesignValidationErrorTemplate}"/> + <Setter Property="ClockHostContentControlStyle"> + <Setter.Value> + <Style TargetType="{x:Type ContentControl}"> + <Style.Setters> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ContentControl}"> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Border Effect="{DynamicResource MaterialDesignShadowDepth4}" Padding="16 8 16 24"> + <ContentPresenter Content="{TemplateBinding ContentControl.Content}" ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}" ContentStringFormat="{TemplateBinding ContentControl.ContentStringFormat}" /> + </Border> + </AdornerDecorator> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style.Setters> + </Style> + </Setter.Value> + </Setter> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type wpf:TimePicker}"> + <ControlTemplate.Resources> + <ControlTemplate x:Key="TextBoxTemplate" TargetType="{x:Type TextBox}"> + <Grid> + <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" + /> + <wpf:SmartHint x:Name="Hint" + FontSize="{TemplateBinding FontSize}" + UseFloating="{Binding Path=(wpf:HintAssist.IsFloating), RelativeSource={RelativeSource TemplatedParent}}" + Hint="{Binding Path=(wpf:HintAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}" + HintProxy="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static converters:HintProxyFabricConverter.Instance}}" + HintOpacity="{Binding Path=(wpf:HintAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}"/> + </Grid> + <ControlTemplate.Triggers> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition SourceName="Hint" Property="IsContentNullOrEmpty" Value="False" /> + <Condition Property="IsKeyboardFocused" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="Hint" Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}" /> + <Setter TargetName="Hint" Property="HintOpacity" Value="1" /> + </MultiTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> + <ControlTemplate x:Key="DropDownButtonTemplate" TargetType="{x:Type Button}"> + <Grid Background="Transparent"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0"/> + <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/> + <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/> + </VisualStateGroup.Transitions> + <VisualState x:Name="Normal"/> + <VisualState x:Name="MouseOver"/> + <VisualState x:Name="Pressed"/> + <VisualState x:Name="Disabled"/> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Viewbox> + <Canvas Width="24" Height="24"> + <Path Data="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z" Fill="{TemplateBinding Foreground}" /> + </Canvas> + </Viewbox> + </Grid> + </ControlTemplate> + </ControlTemplate.Resources> + <Grid x:Name="TemplateRoot"> + <Border BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Background="{TemplateBinding Background}" + x:Name="border" + Padding="0 4 0 4" + SnapsToDevicePixels="True"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="*" /> + <ColumnDefinition Width="Auto" /> + </Grid.ColumnDefinitions> + <TextBox BorderThickness="0" x:Name="PART_TextBox" + wpf:TextFieldAssist.TextBoxViewMargin=".5 0 0 0" + Margin="0" + Template="{StaticResource TextBoxTemplate}" + /> + <Button Grid.Column="1" Foreground="{TemplateBinding BorderBrush}" Focusable="False" HorizontalAlignment="Right" Margin="4 0 0 -3" Grid.Row="0" Padding="0" + x:Name="PART_Button" + Height="17" + Template="{StaticResource DropDownButtonTemplate}" /> + <Popup x:Name="PART_Popup" AllowsTransparency="True" + Placement="Custom" + CustomPopupPlacementCallback="{x:Static wpf:CustomPopupPlacementCallbackHelper.LargePopupCallback}" + PlacementTarget="{Binding ElementName=PART_TextBox}" StaysOpen="False" + PopupAnimation="Fade"/> + </Grid> + </Border> + <wpf:Underline x:Name="Underline" Visibility="{Binding Path=(wpf:TextFieldAssist.DecorationVisibility), RelativeSource={RelativeSource TemplatedParent}}"/> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="False"> + <Setter Property="Opacity" TargetName="TemplateRoot" Value="0.56"/> + </Trigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </Trigger> + <Trigger Property="IsKeyboardFocusWithin" Value="true"> + <Setter Property="IsActive" TargetName="Underline" Value="True"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueMidBrush}"/> + </Trigger> + <Trigger Property="Validation.HasError" Value="true"> + <Setter Property="BorderBrush" Value="{DynamicResource ValidationErrorBrush}"/> + <Setter TargetName="Underline" Property="Background" Value="{DynamicResource ValidationErrorBrush}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + + <Style x:Key="MaterialDesignFloatingHintTimePicker" TargetType="{x:Type wpf:TimePicker}" BasedOn="{StaticResource MaterialDesignTimePicker}"> + <Setter Property="wpf:HintAssist.IsFloating" Value="True"/> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToggleButton.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToggleButton.xaml new file mode 100644 index 000000000..2887dff9b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToggleButton.xaml @@ -0,0 +1,611 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters"> + + <!-- TODO freeze, share --> + <SolidColorBrush x:Key="AttentionToActionBrush" Color="Black" Opacity=".23" /> + + <converters:MathConverter Operation="Divide" x:Key="DivisionMathConverter" /> + <converters:PointValueConverter x:Key="PointValueConverter" /> + + <Style x:Key="FocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <wpf:PackIcon x:Key="CheckMarkIcon" x:Shared="False" Kind="Check" Width="24" Height="24" FlowDirection="LeftToRight" /> + + <Style x:Key="MaterialDesignActionToggleButton" TargetType="{x:Type ToggleButton}"> + <Style.Resources> + <ResourceDictionary> + <Style TargetType="wpf:PackIcon" BasedOn="{StaticResource {x:Type wpf:PackIcon}}"> + <Setter Property="Width" Value="20" /> + <Setter Property="Height" Value="20" /> + </Style> + </ResourceDictionary> + </Style.Resources> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="Width" Value="32"/> + <Setter Property="Height" Value="32"/> + <Setter Property="FontSize" Value="18"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="wpf:ToggleButtonAssist.OnContent" Value="{StaticResource CheckMarkIcon}" /> + <Setter Property="Cursor" Value="Hand" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Grid ClipToBounds="True"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.23" Storyboard.TargetProperty="(UIElement.Opacity)" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="CheckStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Checked"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OffScaleTransform"> + <LinearDoubleKeyFrame Value="1" KeyTime="0:0:0.0" /> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.1" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OnScaleTransform"> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.1" /> + <LinearDoubleKeyFrame Value="1" KeyTime="0:0:0.2" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" To="Unchecked"> + <Storyboard FillBehavior="HoldEnd"> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OnScaleTransform"> + <LinearDoubleKeyFrame Value="1" KeyTime="0:0:0.0" /> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.1" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OffScaleTransform"> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.1" /> + <LinearDoubleKeyFrame Value="1" KeyTime="0:0:0.2" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OffScaleTransform" + To="0" /> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OnScaleTransform" + To="1" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OffScaleTransform" + To="1" /> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="OnScaleTransform" + To="0" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Indeterminate"> + <Storyboard> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IndeterminateCheck"/> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid x:Name="OffGrid" RenderTransformOrigin=".5,.5" Background="{TemplateBinding Background}"> + <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + FlowDirection="LeftToRight"/> + <Grid.Clip> + <EllipseGeometry RadiusX="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Width, Converter={StaticResource DivisionMathConverter}, ConverterParameter=2.0}" + RadiusY="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Height, Converter={StaticResource DivisionMathConverter}, ConverterParameter=2.0}"> + <EllipseGeometry.Center> + <MultiBinding Converter="{StaticResource PointValueConverter}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Width" Converter="{StaticResource DivisionMathConverter}" ConverterParameter="2.0" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Height" Converter="{StaticResource DivisionMathConverter}" ConverterParameter="2.0" /> + </MultiBinding> + </EllipseGeometry.Center> + </EllipseGeometry> + </Grid.Clip> + <Grid.RenderTransform> + <ScaleTransform x:Name="OffScaleTransform" ScaleX="1" ScaleY="1" /> + </Grid.RenderTransform> + </Grid> + <Grid x:Name="OnGrid" RenderTransformOrigin=".5,.5" Background="{TemplateBinding Background}"> + <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + FlowDirection="LeftToRight" + Content="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ToggleButtonAssist.OnContent)}" + ContentTemplate="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ToggleButtonAssist.OnContentTemplate)}" /> + <Grid.Clip> + <EllipseGeometry RadiusX="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Width, Converter={StaticResource DivisionMathConverter}, ConverterParameter=2.0}" + RadiusY="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Height, Converter={StaticResource DivisionMathConverter}, ConverterParameter=2.0}"> + <EllipseGeometry.Center> + <MultiBinding Converter="{StaticResource PointValueConverter}"> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Width" Converter="{StaticResource DivisionMathConverter}" ConverterParameter="2.0" /> + <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Height" Converter="{StaticResource DivisionMathConverter}" ConverterParameter="2.0" /> + </MultiBinding> + </EllipseGeometry.Center> + </EllipseGeometry> + </Grid.Clip> + <Grid.RenderTransform> + <ScaleTransform x:Name="OnScaleTransform" ScaleX="0" ScaleY="1" /> + </Grid.RenderTransform> + </Grid> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignActionLightToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignActionToggleButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueLightForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignActionDarkToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignActionToggleButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueDarkBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignActionAccentToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignActionToggleButton}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="BorderBrush" Value="{DynamicResource SecondaryAccentBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource SecondaryAccentForegroundBrush}"/> + </Style> + + <Style x:Key="MaterialDesignFlatToggleButton" TargetType="{x:Type ToggleButton}"> + <Setter Property="Foreground" Value="#616161"/> + <Setter Property="Background" Value="#e0e0e0"/> + <Setter Property="Width" Value="40"/> + <Setter Property="Height" Value="40"/> + <Setter Property="FontSize" Value="18"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="0"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Grid ClipToBounds="True" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState x:Name="Normal"/> + <VisualState x:Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.23" Storyboard.TargetProperty="(UIElement.Opacity)" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="CheckStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="CheckedEllipseScale"> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.0" /> + <LinearDoubleKeyFrame Value="1.0" KeyTime="0:0:0.1" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="CheckedEllipseScale"> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.0" /> + <LinearDoubleKeyFrame Value="1.0" KeyTime="0:0:0.1" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" To="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="CheckedEllipseScale"> + <LinearDoubleKeyFrame Value="1.0" KeyTime="0:0:0.0" /> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.1" /> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Duration="0:0:0.2" Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="CheckedEllipseScale"> + <LinearDoubleKeyFrame Value="1.0" KeyTime="0:0:0.0" /> + <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.1" /> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="CheckedEllipseScale" To="1.0" /> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="CheckedEllipseScale" To="1.0" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleX" Storyboard.TargetName="CheckedEllipseScale" To="0" /> + <DoubleAnimation Duration="0" Storyboard.TargetProperty="ScaleY" Storyboard.TargetName="CheckedEllipseScale" To="0" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Ellipse Fill="Transparent" x:Name="HoverEllipse" Stroke="Transparent" StrokeThickness="1" /> + <Ellipse Fill="{TemplateBinding Background}" x:Name="CheckedEllipse" RenderTransformOrigin="0.5, 0.5"> + <Ellipse.RenderTransform> + <ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.0" ScaleY="1.0" x:Name="CheckedEllipseScale"/> + </Ellipse.RenderTransform> + </Ellipse> + <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> + </Grid> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="Stroke" TargetName="HoverEllipse" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Background}" /> + </Trigger> + <!-- TODO + <Trigger Property="IsFocused" Value="True"> + <Setter Property="BorderBrush" TargetName="normal" Value="{Binding (Custom:ControlsHelper.FocusBorderBrush), RelativeSource={RelativeSource TemplatedParent}}"/> + </Trigger> + --> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignFlatPrimaryToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignFlatToggleButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueDarkBrush}"/> + </Style> + + <Style x:Key="MaterialDesignSwitchToggleButton" TargetType="{x:Type ToggleButton}"> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/> + <Setter Property="Background" Value="{DynamicResource PrimaryHueMidBrush}"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Padding" Value="0 1 0 0"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <ControlTemplate.Resources> + <SineEase x:Key="RippleEasingFunction" EasingMode="EaseInOut"/> + <Storyboard x:Key="ShowRipple"> + <DoubleAnimation Storyboard.TargetName="RippleThumb" Storyboard.TargetProperty="Opacity" + EasingFunction="{StaticResource RippleEasingFunction}" + To="0.26" Duration="0"/> + <DoubleAnimation Storyboard.TargetName="RippleThumb" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" + EasingFunction="{StaticResource RippleEasingFunction}" + From="1" To="2.5" Duration="0:0:0.2"/> + <DoubleAnimation Storyboard.TargetName="RippleThumb" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" + EasingFunction="{StaticResource RippleEasingFunction}" + From="1" To="2.5" Duration="0:0:0.2"/> + </Storyboard> + <Storyboard x:Key="HideRipple"> + <DoubleAnimation Storyboard.TargetName="RippleThumb" Storyboard.TargetProperty="Opacity" + EasingFunction="{StaticResource RippleEasingFunction}" + To="0" Duration="0:0:0.3"/> + </Storyboard> + </ControlTemplate.Resources> + <Viewbox Width="34"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CheckStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="ThumbHolder"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="23.5"> + <EasingDoubleKeyFrame.EasingFunction> + <QuadraticEase EasingMode="EaseOut"/> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" To="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="ThumbHolder"> + <EasingDoubleKeyFrame KeyTime="0" Value="23.5"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"> + <EasingDoubleKeyFrame.EasingFunction> + <QuadraticEase EasingMode="EaseOut"/> + </EasingDoubleKeyFrame.EasingFunction> + </EasingDoubleKeyFrame> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="ThumbHolder" + Duration="0" To="23.5" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="ThumbHolder" + Duration="0" To="0" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Grid> + <Rectangle x:Name="Track" + Fill="Black" HorizontalAlignment="Left" Height="15" Margin="4.211,5,4.211,0" Stroke="{x:Null}" VerticalAlignment="Top" Width="40" RadiusY="7.5" RadiusX="7.5" Opacity="0.26"/> + + <Grid x:Name="ThumbHolder" + HorizontalAlignment="Left" VerticalAlignment="Top"> + <Ellipse x:Name="RippleThumb" + Fill="{DynamicResource PrimaryHueLightBrush}" + Height="25" Width="25" + IsHitTestVisible="False" + Opacity="0.26" + Margin="0" + HorizontalAlignment="Center" VerticalAlignment="Center" + RenderTransformOrigin="0.5,0.5"> + <Ellipse.RenderTransform> + <ScaleTransform ScaleX="1" ScaleY="1"/> + </Ellipse.RenderTransform> + </Ellipse> + <AdornerDecorator CacheMode="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}"> + <Ellipse x:Name="Thumb" + Fill="#FFFAFAFA" Stroke="{x:Null}" + HorizontalAlignment="Center" VerticalAlignment="Center" + Width="25" Height="25" + Margin="0,0,0,0" + RenderTransformOrigin="0.5,0.5" + Effect="{DynamicResource MaterialDesignShadowDepth1}"> + </Ellipse> + </AdornerDecorator> + <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" + Margin="{TemplateBinding Padding}" + x:Name="ContentPresenter" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + FlowDirection="LeftToRight"/> + <Grid.RenderTransform> + <TranslateTransform X="0" Y="0"/> + </Grid.RenderTransform> + </Grid> + </Grid> + </Viewbox> + <ControlTemplate.Triggers> + <Trigger Property="IsChecked" Value="True"> + <Setter TargetName="Thumb" Property="Fill" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Background}" /> + <Setter TargetName="Track" Property="Fill" Value="{DynamicResource PrimaryHueLightBrush}" /> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidForegroundBrush}"/> + </Trigger> + <MultiTrigger> + <MultiTrigger.Conditions> + <Condition Property="IsChecked" Value="True" /> + <Condition Property="wpf:ToggleButtonAssist.HasOnContent" Value="True" /> + </MultiTrigger.Conditions> + <Setter TargetName="ContentPresenter" Property="Content" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ToggleButtonAssist.OnContent)}" /> + <Setter TargetName="ContentPresenter" Property="ContentTemplate" Value="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ToggleButtonAssist.OnContentTemplate)}" /> + </MultiTrigger> + <Trigger Property="IsChecked" Value="False"> + <Setter Property="Foreground" Value="{DynamicResource PrimaryHueMidBrush}"/> <!-- Need to set Foreground to Background here instead of hardcoded PrimaryHueMidBrush --> + </Trigger> + <Trigger Property="Button.IsDefaulted" Value="true"/> + <Trigger Property="IsMouseOver" Value="true"/> + <Trigger Property="IsPressed" Value="true"> + <Trigger.EnterActions> + <BeginStoryboard Storyboard="{StaticResource ShowRipple}"/> + </Trigger.EnterActions> + <Trigger.ExitActions> + <BeginStoryboard Storyboard="{StaticResource HideRipple}"/> + </Trigger.ExitActions> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter TargetName="Thumb" Property="Fill" Value="#BDBDBD" /> + <Setter TargetName="Track" Property="Fill"> + <Setter.Value> + <SolidColorBrush Color="Black" Opacity=".12" /> + </Setter.Value> + </Setter> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignSwitchLightToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignSwitchToggleButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" /> + </Style> + + <Style x:Key="MaterialDesignSwitchDarkToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignSwitchToggleButton}"> + <Setter Property="Background" Value="{DynamicResource PrimaryHueDarkBrush}" /> + </Style> + + <Style x:Key="MaterialDesignSwitchAccentToggleButton" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignSwitchToggleButton}"> + <Setter Property="Background" Value="{DynamicResource SecondaryAccentBrush}" /> + </Style> + + <Style x:Key="MaterialDesignHamburgerToggleButton" TargetType="{x:Type ToggleButton}"> + <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/> + <Setter Property="Background" Value="Transparent" /> + <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Width" Value="37" /> + <Setter Property="Height" Value="37" /> + <Setter Property="Padding" Value="1"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="{TemplateBinding Property=Background}"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CommonStates"> + <VisualState Name="Normal"/> + <VisualState Name="Disabled"> + <Storyboard> + <DoubleAnimation Duration="0" To="0.23" Storyboard.TargetProperty="(UIElement.Opacity)" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + <VisualStateGroup x:Name="CheckStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="*" To="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="45"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.581"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="4.875"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.875"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-45"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.581"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="4.832"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-2.082"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle1"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.889"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle1"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="canvas"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-180"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" To="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle2"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle1"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle1"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="canvas"> + <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimation Duration="0" To="45" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="0.581" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="4.875" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="1.875" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="-45" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="0.581" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="4.832" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="-2.082" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="0.889" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle1" /> + <DoubleAnimation Duration="0" To="-1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle1" /> + <DoubleAnimation Duration="0" To="-180" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="canvas" /> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="rectangle2" /> + <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="rectangle1" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="rectangle1" /> + <DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="canvas" /> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Viewbox> + <Canvas x:Name="canvas" Width="24" Height="24" RenderTransformOrigin="0.5,0.5"> + <Canvas.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Canvas.RenderTransform> + <Rectangle x:Name="rectangle" Fill="{TemplateBinding Foreground}" Height="2" Canvas.Left="3" RadiusY="0" RadiusX="0" Canvas.Top="6" Width="18" RenderTransformOrigin="0.5,0.5" + > + <Rectangle.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Rectangle.RenderTransform> + </Rectangle> + <Rectangle x:Name="rectangle1" Fill="{TemplateBinding Foreground}" Height="2" Canvas.Left="3" RadiusY="0" RadiusX="0" Canvas.Top="11" Width="18" RenderTransformOrigin="0.5,0.5" + > + <Rectangle.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Rectangle.RenderTransform> + </Rectangle> + <Rectangle x:Name="rectangle2" Fill="{TemplateBinding Foreground}" Height="2" Canvas.Left="3" RadiusY="0" RadiusX="0" Canvas.Top="16" Width="18" RenderTransformOrigin="0.5,0.5" + > + <Rectangle.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform/> + <TranslateTransform/> + </TransformGroup> + </Rectangle.RenderTransform> + </Rectangle> + </Canvas> + </Viewbox> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="Button.IsDefaulted" Value="true"/> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBar.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBar.xaml new file mode 100644 index 000000000..4c5360193 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBar.xaml @@ -0,0 +1,285 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.CheckBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.ComboBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Menu.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.RadioButton.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Shadows.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBox.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Button.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.ToggleButton.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.Font.xaml" /> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/materialdesigntheme.ListBox.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + + <Style x:Key="MaterialDesignToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignToolBarBackground}"/> + <Setter Property="MinHeight" Value="0"/> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border x:Name="Bd" Background="{TemplateBinding Background}" CornerRadius="0,0,3,3" SnapsToDevicePixels="true"> + <Viewbox Width="16" Height="16"> + <Canvas Width="24" Height="24"> + <Path Data="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" Fill="{TemplateBinding Foreground}" /> + </Canvas> + </Viewbox> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <!--Setter Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/--> + </Trigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <!--Setter Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/--> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true"> + <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> + </DataTrigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignToolBarBackground}"/> + <Setter Property="MinHeight" Value="0"/> + <Setter Property="MinWidth" Value="0"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border x:Name="Bd" Background="{TemplateBinding Background}" CornerRadius="0,3,3,0" SnapsToDevicePixels="true"> + <Viewbox Width="16" Height="16" Margin="8 0 8 0"> + <Canvas Width="24" Height="24"> + <Path Data="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" Fill="{TemplateBinding Foreground}" /> + </Canvas> + </Viewbox> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <!--Setter Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/--> + </Trigger> + <Trigger Property="IsKeyboardFocused" Value="true"> + <!--Setter Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/--> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true"> + <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> + </DataTrigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignToolBarThumbStyle" TargetType="{x:Type Thumb}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Thumb}"> + <Border Background="Transparent" SnapsToDevicePixels="True" Padding="{TemplateBinding Padding}"> + <Rectangle> + <Rectangle.Fill> + <DrawingBrush TileMode="Tile" Viewbox="0,0,4,4" Viewport="0,0,4,4" ViewportUnits="Absolute" ViewboxUnits="Absolute"> + <DrawingBrush.Drawing> + <DrawingGroup> + <GeometryDrawing Brush="{DynamicResource MaterialDesignDivider}" Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z"/> + </DrawingGroup> + </DrawingBrush.Drawing> + </DrawingBrush> + </Rectangle.Fill> + </Rectangle> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="Cursor" Value="SizeAll"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignToolBarMainPanelBorderStyle" TargetType="{x:Type Border}"> + <Setter Property="Margin" Value="0,0,11,0"/> + <Setter Property="CornerRadius" Value="3,3,3,3"/> + </Style> + + <Style x:Key="MaterialDesignToolBar" TargetType="{x:Type ToolBar}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignToolBarBackground}"/> + <Setter Property="FontFamily" Value="{StaticResource MaterialDesignFont}"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="ClipToBounds" Value="True"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToolBar}"> + <ControlTemplate.Resources> + <Style TargetType="{x:Type wpf:PackIcon}" > + <Setter Property="Width" Value="22" /> + <Setter Property="Height" Value="22" /> + </Style> + <Style TargetType="ListBox" BasedOn="{StaticResource MaterialDesignToolToggleFlatListBox}"> + <Setter Property="ItemContainerStyle"> + <Setter.Value> + <Style TargetType="ListBoxItem" BasedOn="{StaticResource MaterialDesignToolToggleListBoxItem}"> + <Setter Property="TextBlock.FontWeight" Value="DemiBold"/> + <Setter Property="TextBlock.FontSize" Value="18"/> + <Setter Property="MinWidth" Value="54"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="Padding" Value="16" /> + </Style> + </Setter.Value> + </Setter> + </Style> + </ControlTemplate.Resources> + <DockPanel x:Name="Grid" Margin="3,1,1,1" SnapsToDevicePixels="true" Background="{TemplateBinding Background}"> + <Grid DockPanel.Dock="Right" x:Name="OverflowGrid" HorizontalAlignment="Right"> + <ToggleButton x:Name="OverflowButton" ClickMode="Press" FocusVisualStyle="{x:Null}" + IsChecked="{Binding IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" + Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=HasOverflowItems, Converter={StaticResource BooleanToVisibilityConverter}}" + Style="{StaticResource MaterialDesignToolBarHorizontalOverflowButtonStyle}" + Foreground="{TemplateBinding Foreground}" + /> + <Popup x:Name="OverflowPopup" AllowsTransparency="true" Focusable="false" IsOpen="{Binding IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" Placement="Bottom" StaysOpen="false" Margin="1"> + <!-- warning, this will cache the inner item as well, consider separating the shadow from the item if possible --> + <Popup.CacheMode> + <BitmapCache EnableClearType="True" SnapsToDevicePixels="True"/> + </Popup.CacheMode> + <Border x:Name="ToolBarSubMenuBorder" BorderBrush="{DynamicResource MaterialDesignDivider}" BorderThickness="1" Background="{DynamicResource MaterialDesignToolBarBackground}" + TextBlock.FontWeight="ExtraBold" + CornerRadius="2" Margin="1" + Effect="{StaticResource MaterialDesignShadowDepth2}" RenderOptions.ClearTypeHint="Enabled"> + <Border Background="Transparent"> + <ToolBarOverflowPanel x:Name="PART_ToolBarOverflowPanel" KeyboardNavigation.DirectionalNavigation="Cycle" FocusVisualStyle="{x:Null}" Focusable="true" Margin="2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" KeyboardNavigation.TabNavigation="Cycle" WrapWidth="200"/> + </Border> + </Border> + </Popup> + </Grid> + <Border x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" Style="{StaticResource MaterialDesignToolBarMainPanelBorderStyle}"> + <DockPanel KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local"> + <Thumb x:Name="ToolBarThumb" Margin="-3,-1,4,0" Padding="6,5,1,3" Style="{StaticResource MaterialDesignToolBarThumbStyle}" Width="10"/> + <ContentPresenter x:Name="ToolBarHeader" ContentSource="Header" HorizontalAlignment="Center" Margin="4,0,4,0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Center"/> + <ToolBarPanel x:Name="PART_ToolBarPanel" IsItemsHost="true" Margin="0,0,2,0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> + </DockPanel> + </Border> + </DockPanel> + <ControlTemplate.Triggers> + <Trigger Property="IsOverflowOpen" Value="true"> + <Setter Property="IsEnabled" TargetName="ToolBarThumb" Value="false"/> + </Trigger> + <Trigger Property="Header" Value="{x:Null}"> + <Setter Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed"/> + </Trigger> + <Trigger Property="ToolBarTray.IsLocked" Value="true"> + <Setter Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed"/> + </Trigger> + <Trigger Property="HasDropShadow" SourceName="OverflowPopup" Value="true"> + <Setter Property="Margin" TargetName="ToolBarSubMenuBorder" Value="5,5,5,5"/> + </Trigger> + <Trigger Property="Orientation" Value="Vertical"> + <Setter Property="Margin" TargetName="Grid" Value="1,3,1,1"/> + <Setter Property="Style" TargetName="OverflowButton" Value="{StaticResource MaterialDesignToolBarVerticalOverflowButtonStyle}"/> + <Setter Property="Height" TargetName="ToolBarThumb" Value="10"/> + <Setter Property="Width" TargetName="ToolBarThumb" Value="Auto"/> + <Setter Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0"/> + <Setter Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1"/> + <Setter Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4"/> + <Setter Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2"/> + <Setter Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top"/> + <Setter Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top"/> + <Setter Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch"/> + <Setter Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom"/> + <Setter Property="Placement" TargetName="OverflowPopup" Value="Right"/> + <Setter Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11"/> + <Setter Property="Background" Value="{DynamicResource MaterialDesignToolBarBackground}"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="{x:Static ToolBar.CheckBoxStyleKey}" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource MaterialDesignCheckBox}"> + <Setter Property="Margin" Value="8 0 8 0" /> + </Style> + <Style x:Key="{x:Static ToolBar.ComboBoxStyleKey}" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource MaterialDesignComboBox}"> + <Setter Property="Margin" Value="8 0 8 0" /> + </Style> + <Style x:Key="{x:Static ToolBar.MenuStyleKey}" TargetType="{x:Type Menu}" BasedOn="{StaticResource MaterialDesignMenu}"> + <Setter Property="Margin" Value="8 0 8 0" /> + </Style> + <Style x:Key="{x:Static ToolBar.RadioButtonStyleKey}" TargetType="{x:Type RadioButton}" BasedOn="{StaticResource MaterialDesignRadioButton}"> + <Setter Property="Margin" Value="8 0 8 0" /> + </Style> + <Style x:Key="{x:Static ToolBar.SeparatorStyleKey}" TargetType="Separator"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignDivider}"/> + <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignDivider}"/> + <Setter Property="MinHeight" Value="1"/> + <Setter Property="Margin" Value="6 11 6 11"/> + <Setter Property="SnapsToDevicePixels" Value="true"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Separator}"> + <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" /> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + <Style x:Key="{x:Static ToolBar.TextBoxStyleKey}" TargetType="{x:Type TextBox}" BasedOn="{StaticResource MaterialDesignTextBox}"> + <Setter Property="Margin" Value="8 0 8 0" /> + </Style> + <Style x:Key="{x:Static ToolBar.ToggleButtonStyleKey}" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource MaterialDesignSwitchToggleButton}"> + <Setter Property="Margin" Value="8 0 8 0" /> + </Style> + + <Style x:Key="{x:Static ToolBar.ButtonStyleKey}" TargetType="Button"> + <Setter Property="BorderThickness" Value="1"/> + <Setter Property="Padding" Value="16"/> + <Setter Property="HorizontalContentAlignment" Value="Center"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="TextBlock.FontWeight" Value="DemiBold"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="wpf:RippleAssist.Feedback" Value="{DynamicResource MaterialDesignFlatButtonRipple}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type Button}" > + <Border Background="Transparent" x:Name="border" CornerRadius="2"> + <wpf:Ripple Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Focusable="False" + Feedback="{TemplateBinding Foreground}" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + <Trigger Property="IsMouseOver" Value="true"> + <Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource MaterialDesignFlatButtonClick}"/> + <Setter Property="Background" TargetName="border" Value="{DynamicResource MaterialDesignFlatButtonClick}"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + +</ResourceDictionary> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBarTray.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBarTray.xaml new file mode 100644 index 000000000..82aeca603 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolBarTray.xaml @@ -0,0 +1,6 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> + <Style x:Key="MaterialDesignToolBarTray" TargetType="{x:Type ToolBarTray}"> + <Setter Property="Background" Value="{DynamicResource MaterialDesignToolBarBackground}"/> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolTip.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolTip.xaml new file mode 100644 index 000000000..a762e1bd2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ToolTip.xaml @@ -0,0 +1,23 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf"> + <Style TargetType="{x:Type ToolTip}" x:Key="MaterialDesignToolTip"> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignPaper}" /> + <Setter Property="Background" Value="{DynamicResource MaterialDesignToolTipBackground}" /> + <Setter Property="Padding" Value="8" /> + <Setter Property="Placement" Value="Custom" /> + <Setter Property="CustomPopupPlacementCallback" Value="{x:Static wpf:ToolTipAssist.CustomPopupPlacementCallback}" /> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToolTip}"> + <Border Background="{TemplateBinding Background}" CornerRadius="2" Margin="{TemplateBinding Margin}"> + <ContentPresenter x:Name="ContentPresenter" + Margin="{TemplateBinding Padding}" + Content="{TemplateBinding ContentControl.Content}" ContentTemplate="{TemplateBinding ContentControl.ContentTemplate}" ContentStringFormat="{TemplateBinding ContentControl.ContentStringFormat}"> + </ContentPresenter> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TreeView.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TreeView.xaml new file mode 100644 index 000000000..86567fbfe --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TreeView.xaml @@ -0,0 +1,346 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters" + xmlns:system="clr-namespace:System;assembly=mscorlib"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary> + <converters:BrushRoundConverter x:Key="BrushRoundConverter"/> + <converters:MathMultipleConverter x:Key="MathMlpMultipleConverter" Operation="Multiply" /> + </ResourceDictionary> + </ResourceDictionary.MergedDictionaries> + + <converters:NullableToVisibilityConverter x:Key="NullableToVisibilityConverter" /> + + <Style x:Key="MaterialDesignTreeView" TargetType="{x:Type TreeView}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderBrush" Value="{x:Null}"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}"/> + <Setter Property="Padding" Value="1"/> + <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/> + <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> + <Setter Property="ScrollViewer.PanningMode" Value="Both"/> + <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> + <Setter Property="VerticalContentAlignment" Value="Center"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TreeView}"> + <Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="true"> + <ScrollViewer x:Name="_tv_scrollviewer_" Background="{TemplateBinding Background}" CanContentScroll="false" Focusable="false" HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"> + <ItemsPresenter/> + </ScrollViewer> + </Border> + <ControlTemplate.Triggers> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + <Trigger Property="VirtualizingPanel.IsVirtualizing" Value="true"> + <Setter Property="CanContentScroll" TargetName="_tv_scrollviewer_" Value="true"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="VirtualizingPanel.IsVirtualizing" Value="true"> + <Setter Property="ItemsPanel"> + <Setter.Value> + <ItemsPanelTemplate> + <VirtualizingStackPanel/> + </ItemsPanelTemplate> + </Setter.Value> + </Setter> + </Trigger> + </Style.Triggers> + </Style> + + <Style x:Key="MaterialDesignTreeViewItemFocusVisual"> + <Setter Property="Control.Template"> + <Setter.Value> + <ControlTemplate> + <Rectangle/> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignExpandCollapseToggleStyle" TargetType="{x:Type ToggleButton}"> + <Setter Property="Focusable" Value="False"/> + <Setter Property="Width" Value="16"/> + <Setter Property="Height" Value="16"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type ToggleButton}"> + <Border Background="Transparent" Height="16" Width="16"> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup x:Name="CheckStates"> + <VisualStateGroup.Transitions> + <VisualTransition From="Unchecked" To="Checked"> + <VisualTransition.GeneratedEasingFunction> + <QuarticEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="45"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition GeneratedDuration="0" To="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="45"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition GeneratedDuration="0" To="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + <VisualTransition From="Checked" GeneratedDuration="0" To="Unchecked"> + <VisualTransition.GeneratedEasingFunction> + <QuarticEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0" Value="45"/> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Checked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="45"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Unchecked"> + <Storyboard> + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ExpandPath"> + <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> + </DoubleAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <Viewbox> + <Canvas Width="24" Height="24"> + <Path Data="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" + x:Name="ExpandPath" + SnapsToDevicePixels="True" + Fill="{TemplateBinding Foreground}" + Stroke="{TemplateBinding Foreground}" RenderTransformOrigin=".5,.5"> + <Path.RenderTransform> + <TransformGroup> + <ScaleTransform/> + <SkewTransform/> + <RotateTransform Angle="0" CenterX="4" CenterY="4"/> + <TranslateTransform/> + </TransformGroup> + </Path.RenderTransform> + </Path> + </Canvas> + </Viewbox> + </Border> + </ControlTemplate> + </Setter.Value> + </Setter> + </Style> + + <Style x:Key="MaterialDesignTreeViewItem" TargetType="{x:Type TreeViewItem}"> + <Setter Property="Background" Value="Transparent"/> + <Setter Property="BorderThickness" Value="0"/> + <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/> + <Setter Property="Padding" Value="8" /> + <Setter Property="FocusVisualStyle" Value="{StaticResource MaterialDesignTreeViewItemFocusVisual}"/> + <Setter Property="Foreground" Value="{Binding Foreground, RelativeSource={RelativeSource AncestorType={x:Type TreeView}}}"/> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type TreeViewItem}"> + <Grid> + <Grid.ColumnDefinitions> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="Auto"/> + <ColumnDefinition Width="*"/> + </Grid.ColumnDefinitions> + <Grid.RowDefinitions> + <RowDefinition Height="Auto"/> + <RowDefinition Height="Auto"/> + <RowDefinition/> + </Grid.RowDefinitions> + <VisualStateManager.VisualStateGroups> + <VisualStateGroup Name="CommonStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.3" To="Normal"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState Name="Normal"/> + <VisualState Name="MouseOver"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="MouseOverBorder" Storyboard.TargetProperty="Opacity" + To="0.1" Duration="0"/> + <DoubleAnimation Storyboard.TargetName="MouseOverBorder" Storyboard.TargetProperty="Opacity" + To="0.1" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState Name="Disabled"/> + </VisualStateGroup> + <VisualStateGroup x:Name="SelectionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0:0:0.6"/> + </VisualStateGroup.Transitions> + <VisualState Name="Selected"> + <Storyboard> + <DoubleAnimation Storyboard.TargetName="SelectedBorder" + Storyboard.TargetProperty="Opacity" + To="0.18" Duration="0"/> + </Storyboard> + </VisualState> + <VisualState Name="Unselected"/> + </VisualStateGroup> + <VisualStateGroup x:Name="ExpansionStates"> + <VisualStateGroup.Transitions> + <VisualTransition GeneratedDuration="0" To="Expanded"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsHost" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ItemsHost" To="1" Duration="0:0:0.3"/> + <DoubleAnimation Storyboard.TargetProperty="Scale" Storyboard.TargetName="ScaleHost" To="1" Duration="0:0:0.3"/> + </Storyboard> + </VisualTransition> + <VisualTransition GeneratedDuration="0" To="Collapsed"> + <VisualTransition.GeneratedEasingFunction> + <CubicEase EasingMode="EaseOut"/> + </VisualTransition.GeneratedEasingFunction> + <Storyboard> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsHost" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0:0:0.3" Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ItemsHost" To="0" Duration="0:0:0.3"/> + <DoubleAnimation Storyboard.TargetProperty="Scale" Storyboard.TargetName="ScaleHost" To="0" Duration="0:0:0.3"/> + </Storyboard> + </VisualTransition> + </VisualStateGroup.Transitions> + <VisualState x:Name="Expanded"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ItemsHost" To="1" Duration="0"/> + <DoubleAnimation Storyboard.TargetProperty="Scale" Storyboard.TargetName="ScaleHost" To="1" Duration="0:0:0.3"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsHost" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + <VisualState x:Name="Collapsed"> + <Storyboard> + <DoubleAnimation Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ItemsHost" To="0" Duration="0"/> + <DoubleAnimation Storyboard.TargetProperty="Scale" Storyboard.TargetName="ScaleHost" To="0" Duration="0:0:0.3"/> + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ItemsHost" Storyboard.TargetProperty="Visibility"> + <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}" /> + </ObjectAnimationUsingKeyFrames> + </Storyboard> + </VisualState> + </VisualStateGroup> + </VisualStateManager.VisualStateGroups> + <wpf:ScaleHost x:Name="ScaleHost" /> + <ToggleButton x:Name="Expander" ClickMode="Press" IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource TemplatedParent}}" + Style="{StaticResource MaterialDesignExpandCollapseToggleStyle}" + Foreground="{TemplateBinding Foreground}" + Margin="8 0 8 0" + VerticalAlignment="Center" + /> + + <Border x:Name="MouseOverBorder" + Grid.Column="1" Grid.ColumnSpan="2" + IsHitTestVisible="False" + Opacity="0" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"/> + + <Border x:Name="SelectedBorder" + Grid.Column="1" Grid.ColumnSpan="2" + IsHitTestVisible="False" + Opacity="0" + Background="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}"/> + + <Grid Grid.Column="1" Grid.ColumnSpan="2" x:Name="ContentGrid" Background="Transparent"> + <wpf:Ripple Feedback="{TemplateBinding Foreground, Converter={StaticResource BrushRoundConverter}}" + Focusable="False" + SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" + HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" + Padding="{TemplateBinding Padding}"> + <ContentPresenter x:Name="PART_Header" ContentSource="Header"/> + </wpf:Ripple> + </Grid> + + <ContentControl Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" + x:Name="AdditionalContentControl" + Content="{TemplateBinding Header}" + ContentTemplate="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:TreeViewAssist.AdditionalTemplate)}" + ContentTemplateSelector="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:TreeViewAssist.AdditionalTemplateSelector)}" + Visibility="Collapsed"> + </ContentControl> + + <StackPanel Grid.Column="1" Grid.Row="2" + x:Name="ItemsPanel" + Margin="-16 0 0 0" + Grid.ColumnSpan="2"> + <StackPanel.Height> + <MultiBinding Converter="{StaticResource MathMlpMultipleConverter}"> + <Binding ElementName="ItemsHost" Path="ActualHeight"/> + <Binding ElementName="ScaleHost" Path="Scale"/> + </MultiBinding> + </StackPanel.Height> + <ItemsPresenter x:Name="ItemsHost" + VerticalAlignment="Top" + Opacity="0" + Visibility="Collapsed"/> + </StackPanel> + </Grid> + <ControlTemplate.Triggers> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:TreeViewAssist.AdditionalTemplate), Converter={StaticResource NullableToVisibilityConverter}, Mode=OneWay}" + Value="Visible"> + <Setter TargetName="AdditionalContentControl" Property="Visibility" Value="Visible" /> + </DataTrigger> + <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=(wpf:TreeViewAssist.AdditionalTemplateSelector), Converter={StaticResource NullableToVisibilityConverter}, Mode=OneWay}" + Value="Visible"> + <Setter TargetName="AdditionalContentControl" Property="Visibility" Value="Visible" /> + </DataTrigger> + <Trigger Property="HasItems" Value="false"> + <Setter Property="Visibility" TargetName="Expander" Value="Hidden"/> + </Trigger> + <Trigger Property="IsEnabled" Value="false"> + <Setter Property="Opacity" Value=".56"/> + </Trigger> + </ControlTemplate.Triggers> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="VirtualizingPanel.IsVirtualizing" Value="true"> + <Setter Property="ItemsPanel"> + <Setter.Value> + <ItemsPanelTemplate> + <VirtualizingStackPanel/> + </ItemsPanelTemplate> + </Setter.Value> + </Setter> + </Trigger> + </Style.Triggers> + </Style> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml new file mode 100644 index 000000000..7add53422 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ValidationErrorTemplate.xaml @@ -0,0 +1,96 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf" + xmlns:controlzEx="clr-namespace:ControlzEx"> + <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> + + <ControlTemplate x:Key="MaterialDesignValidationErrorTemplate"> + <ControlTemplate.Resources> + <DataTemplate DataType="{x:Type ValidationError}"> + <TextBlock Foreground="{DynamicResource ValidationErrorBrush}" + FontSize="10" + MaxWidth="{Binding ElementName=Placeholder, Path=ActualWidth}" + HorizontalAlignment="Left" + Margin="2" + TextWrapping="Wrap" + Text="{Binding ErrorContent}" + UseLayoutRounding="false" /> + </DataTemplate> + </ControlTemplate.Resources> + <StackPanel> + <AdornedElementPlaceholder Name="Placeholder" /> + <Border Name="DefaultErrorViewer" + Visibility="Collapsed" + Background="{DynamicResource MaterialDesignPaper}"> + <TextBlock Foreground="{DynamicResource ValidationErrorBrush}" + FontSize="10" + MaxWidth="{Binding ElementName=Placeholder, Path=ActualWidth}" + HorizontalAlignment="Left" + Margin="0 2" + TextWrapping="Wrap" + Text="{Binding CurrentItem.ErrorContent}" + UseLayoutRounding="false" /> + </Border> + <controlzEx:PopupEx x:Name="ValidationPopup" + IsOpen="False" + Placement="Bottom" + PlacementTarget="{Binding ElementName=Placeholder, Mode=OneWay}" + AllowsTransparency="True"> + <Border Background="{DynamicResource MaterialDesignPaper}"> + <TextBlock Foreground="{DynamicResource ValidationErrorBrush}" + FontSize="10" + HorizontalAlignment="Left" + Margin="0 2" + TextWrapping="Wrap" + Text="{Binding CurrentItem.ErrorContent}" + UseLayoutRounding="false" /> + </Border> + </controlzEx:PopupEx> + </StackPanel> + <ControlTemplate.Triggers> + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.OnlyShowOnFocus)}" Value="False"/> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.UsePopup)}" Value="True"/> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.Suppress)}" Value="False"/> + </MultiDataTrigger.Conditions> + <MultiDataTrigger.Setters> + <Setter TargetName="ValidationPopup" Property="IsOpen" Value="True"/> + </MultiDataTrigger.Setters> + </MultiDataTrigger> + + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.OnlyShowOnFocus)}" Value="False"/> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.UsePopup)}" Value="False"/> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.Suppress)}" Value="False"/> + </MultiDataTrigger.Conditions> + <MultiDataTrigger.Setters> + <Setter TargetName="DefaultErrorViewer" Property="Visibility" Value="Visible"/> + </MultiDataTrigger.Setters> + </MultiDataTrigger> + + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.OnlyShowOnFocus)}" Value="True"/> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.UsePopup)}" Value="True"/> + </MultiDataTrigger.Conditions> + <MultiDataTrigger.Setters> + <Setter TargetName="ValidationPopup" Property="IsOpen" + Value="{Binding ElementName=Placeholder, Path=AdornedElement.IsKeyboardFocusWithin, Mode=OneWay}"/> + </MultiDataTrigger.Setters> + </MultiDataTrigger> + + <MultiDataTrigger> + <MultiDataTrigger.Conditions> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.OnlyShowOnFocus)}" Value="True"/> + <Condition Binding="{Binding ElementName=Placeholder, Path=AdornedElement.(wpf:ValidationAssist.UsePopup)}" Value="False"/> + </MultiDataTrigger.Conditions> + <MultiDataTrigger.Setters> + <Setter TargetName="DefaultErrorViewer" Property="Visibility" + Value="{Binding ElementName=Placeholder, Path=AdornedElement.IsKeyboardFocusWithin, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}"/> + </MultiDataTrigger.Setters> + </MultiDataTrigger> + </ControlTemplate.Triggers> + </ControlTemplate> +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TimePicker.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TimePicker.cs new file mode 100644 index 000000000..4fffadd9f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TimePicker.cs @@ -0,0 +1,464 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Input; +using System.Windows.Threading; +using MaterialDesignThemes.Wpf.Converters; + +namespace MaterialDesignThemes.Wpf +{ + [TemplatePart(Name = ElementButton, Type = typeof(Button))] + [TemplatePart(Name = ElementPopup, Type = typeof(Popup))] + [TemplatePart(Name = ElementTextBox, Type = typeof(DatePickerTextBox))] + public class TimePicker : Control + { + private const string ElementButton = "PART_Button"; + private const string ElementPopup = "PART_Popup"; + private const string ElementTextBox = "PART_TextBox"; + + private readonly ContentControl _clockHostContentControl; + private readonly Clock _clock; + private TextBox _textBox; + private Popup _popup; + private Button _dropDownButton; + private bool _disablePopupReopen; + private DateTime? _lastValidTime; + private bool _isManuallyMutatingText; + + static TimePicker() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(TimePicker), new FrameworkPropertyMetadata(typeof(TimePicker))); + } + + public TimePicker() + { + _clock = new Clock + { + DisplayAutomation = ClockDisplayAutomation.ToMinutesOnly + }; + _clockHostContentControl = new ContentControl + { + Content = _clock + }; + InitializeClock(); + } + + public static readonly DependencyProperty TextProperty = DependencyProperty.Register( + nameof(Text), typeof (string), typeof (TimePicker), new FrameworkPropertyMetadata(default(string), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, TextPropertyChangedCallback)); + + private static void TextPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var timePicker = (TimePicker) dependencyObject; + if (!timePicker._isManuallyMutatingText) + timePicker.SetSelectedTime(); + if (timePicker._textBox != null) + timePicker._textBox.Text = dependencyPropertyChangedEventArgs.NewValue as string; + } + + public string Text + { + get { return (string) GetValue(TextProperty); } + set { SetValue(TextProperty, value); } + } + + public static readonly DependencyProperty SelectedTimeProperty = DependencyProperty.Register( + nameof(SelectedTime), typeof (DateTime?), typeof (TimePicker), new FrameworkPropertyMetadata(default(DateTime?), FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, SelectedTimePropertyChangedCallback)); + + private static void SelectedTimePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + var timePicker = (TimePicker) dependencyObject; + timePicker._isManuallyMutatingText = true; + timePicker.SetCurrentValue(TextProperty, timePicker.DateTimeToString(timePicker.SelectedTime)); + timePicker._isManuallyMutatingText = false; + timePicker._lastValidTime = timePicker.SelectedTime; + } + + public DateTime? SelectedTime + { + get { return (DateTime?) GetValue(SelectedTimeProperty); } + set { SetValue(SelectedTimeProperty, value); } + } + + public static readonly DependencyProperty SelectedTimeFormatProperty = DependencyProperty.Register( + nameof(SelectedTimeFormat), typeof (DatePickerFormat), typeof (TimePicker), new PropertyMetadata(DatePickerFormat.Short)); + + public DatePickerFormat SelectedTimeFormat + { + get { return (DatePickerFormat) GetValue(SelectedTimeFormatProperty); } + set { SetValue(SelectedTimeFormatProperty, value); } + } + + public static readonly DependencyProperty IsDropDownOpenProperty = DependencyProperty.Register( + nameof(IsDropDownOpen), typeof (bool), typeof (TimePicker), + new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnIsDropDownOpenChanged, OnCoerceIsDropDownOpen)); + + public bool IsDropDownOpen + { + get { return (bool) GetValue(IsDropDownOpenProperty); } + set { SetValue(IsDropDownOpenProperty, value); } + } + + public static readonly DependencyProperty Is24HoursProperty = DependencyProperty.Register( + nameof(Is24Hours), typeof (bool), typeof (TimePicker), new PropertyMetadata(default(bool))); + + public bool Is24Hours + { + get { return (bool) GetValue(Is24HoursProperty); } + set { SetValue(Is24HoursProperty, value); } + } + + private static object OnCoerceIsDropDownOpen(DependencyObject d, object baseValue) + { + var timePicker = (TimePicker)d; + + if (!timePicker.IsEnabled) + { + return false; + } + + return baseValue; + } + + /// <summary> + /// IsDropDownOpenProperty property changed handler. + /// </summary> + /// <param name="d">DatePicker that changed its IsDropDownOpen.</param> + /// <param name="e">DependencyPropertyChangedEventArgs.</param> + private static void OnIsDropDownOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + var timePicker = (TimePicker)d; + + var newValue = (bool) e.NewValue; + if (timePicker._popup == null || timePicker._popup.IsOpen == newValue) return; + + timePicker._popup.IsOpen = newValue; + if (newValue) + { + //TODO set time + //dp._originalSelectedDate = dp.SelectedDate; + + timePicker.Dispatcher.BeginInvoke(DispatcherPriority.Input, (Action) delegate() + { + timePicker._clock.Focus(); + }); + } + } + + public static readonly DependencyProperty ClockStyleProperty = DependencyProperty.Register( + nameof(ClockStyle), typeof (Style), typeof (TimePicker), new PropertyMetadata(default(Style))); + + public Style ClockStyle + { + get { return (Style) GetValue(ClockStyleProperty); } + set { SetValue(ClockStyleProperty, value); } + } + + public static readonly DependencyProperty ClockHostContentControlStyleProperty = DependencyProperty.Register( + nameof(ClockHostContentControlStyle), typeof (Style), typeof (TimePicker), new PropertyMetadata(default(Style))); + + public Style ClockHostContentControlStyle + { + get { return (Style) GetValue(ClockHostContentControlStyleProperty); } + set { SetValue(ClockHostContentControlStyleProperty, value); } + } + + public static readonly DependencyProperty IsInvalidTextAllowedProperty = DependencyProperty.Register( + "IsInvalidTextAllowed", typeof (bool), typeof (TimePicker), new PropertyMetadata(default(bool))); + + /// <summary> + /// Set to true to stop invalid text reverting back to previous valid value. Useful in cases where you + /// want to display validation messages and allow the user to correct the data without it reverting. + /// </summary> + public bool IsInvalidTextAllowed + { + get { return (bool) GetValue(IsInvalidTextAllowedProperty); } + set { SetValue(IsInvalidTextAllowedProperty, value); } + } + + public override void OnApplyTemplate() + { + if (_popup != null) + { + _popup.RemoveHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopupOnPreviewMouseLeftButtonDown)); + _popup.Opened -= PopupOnOpened; + _popup.Closed -= PopupOnClosed; + _popup.Child = null; + } + if (_dropDownButton != null) + { + _dropDownButton.Click -= DropDownButtonOnClick; + } + if (_textBox != null) + { + _textBox.RemoveHandler(KeyDownEvent, new KeyEventHandler(TextBoxOnKeyDown)); + _textBox.RemoveHandler(TextBoxBase.TextChangedEvent, new TextChangedEventHandler(TextBoxOnTextChanged)); + _textBox.AddHandler(LostFocusEvent, new RoutedEventHandler(TextBoxOnLostFocus)); + } + + _textBox = GetTemplateChild(ElementTextBox) as TextBox; + if (_textBox != null) + { + _textBox.AddHandler(KeyDownEvent, new KeyEventHandler(TextBoxOnKeyDown)); + _textBox.AddHandler(TextBoxBase.TextChangedEvent, new TextChangedEventHandler(TextBoxOnTextChanged)); + _textBox.AddHandler(LostFocusEvent, new RoutedEventHandler(TextBoxOnLostFocus)); + _textBox.Text = Text; + } + + _popup = GetTemplateChild(ElementPopup) as Popup; + if (_popup != null) + { + _popup.AddHandler(PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(PopupOnPreviewMouseLeftButtonDown)); + _popup.Opened += PopupOnOpened; + _popup.Closed += PopupOnClosed; + _popup.Child = _clockHostContentControl; + if (IsDropDownOpen) + { + _popup.IsOpen = true; + } + } + + _dropDownButton = GetTemplateChild(ElementButton) as Button; + if (_dropDownButton != null) + { + _dropDownButton.Click += DropDownButtonOnClick; + } + + base.OnApplyTemplate(); + } + + private void TextBoxOnLostFocus(object sender, RoutedEventArgs routedEventArgs) + { + if (string.IsNullOrEmpty(_textBox?.Text)) + { + SetCurrentValue(SelectedTimeProperty, null); + return; + } + + DateTime time; + if (IsTimeValid(_textBox.Text, out time)) + SetCurrentValue(SelectedTimeProperty, time); + + else // Invalid time, jump back to previous good time + SetInvalidTime(); + } + + private void SetInvalidTime() + { + if (IsInvalidTextAllowed) return; + + if (_lastValidTime != null) + { + SetCurrentValue(SelectedTimeProperty, _lastValidTime.Value); + _textBox.Text = _lastValidTime.Value.ToString(_lastValidTime.Value.Hour % 12 > 9 ? "hh:mm tt" : "h:mm tt"); + } + + else + { + SetCurrentValue(SelectedTimeProperty, null); + _textBox.Text = ""; + } + + } + + private void TextBoxOnKeyDown(object sender, KeyEventArgs keyEventArgs) + { + keyEventArgs.Handled = ProcessKey(keyEventArgs) || keyEventArgs.Handled; + } + + private bool ProcessKey(KeyEventArgs keyEventArgs) + { + switch (keyEventArgs.Key) + { + case Key.System: + { + switch (keyEventArgs.SystemKey) + { + case Key.Down: + { + if ((Keyboard.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) + { + TogglePopup(); + return true; + } + + break; + } + } + + break; + } + + case Key.Enter: + { + SetSelectedTime(); + return true; + } + } + + return false; + } + + private void TextBoxOnTextChanged(object sender, TextChangedEventArgs textChangedEventArgs) + { + if (_popup?.IsOpen == true || IsInvalidTextAllowed) + SetCurrentValue(TextProperty, _textBox.Text); + + if (_popup?.IsOpen == false) + SetSelectedTime(true); + } + + private void SetSelectedTime(bool beCautious = false) + { + if (!string.IsNullOrEmpty(_textBox?.Text)) + { + ParseTime(_textBox.Text, t => + { + if (!beCautious || DateTimeToString(t) == _textBox.Text) + SetCurrentValue(SelectedTimeProperty, t); + }); + } + else + { + SetCurrentValue(SelectedTimeProperty, null); + } + } + + private static void ParseTime(string s, Action<DateTime> successContinuation) + { + DateTime time; + if (IsTimeValid(s, out time)) + successContinuation(time); + } + + private static bool IsTimeValid(string s, out DateTime time) + { + return DateTime.TryParse(s, + CultureInfo.CurrentCulture, + DateTimeStyles.AssumeLocal | DateTimeStyles.AllowWhiteSpaces, + out time); + } + + private string DateTimeToString(DateTime? d) + { + return d.HasValue ? DateTimeToString(d.Value) : null; + } + + private string DateTimeToString(DateTime d) + { + var dtfi = CultureInfo.CurrentCulture.GetDateFormat(); + + switch (SelectedTimeFormat) + { + case DatePickerFormat.Short: + return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.ShortTimePattern, dtfi)); + case DatePickerFormat.Long: + return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.LongTimePattern, dtfi)); + } + + return null; + } + + private void PopupOnPreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs mouseButtonEventArgs) + { + var popup = sender as Popup; + if (popup == null || popup.StaysOpen) return; + + if (_dropDownButton?.InputHitTest(mouseButtonEventArgs.GetPosition(_dropDownButton)) != null) + { + // This popup is being closed by a mouse press on the drop down button + // The following mouse release will cause the closed popup to immediately reopen. + // Raise a flag to block reopeneing the popup + _disablePopupReopen = true; + } + } + + private void PopupOnClosed(object sender, EventArgs eventArgs) + { + if (IsDropDownOpen) + { + SetCurrentValue(IsDropDownOpenProperty, false); + } + + if (_clock.IsKeyboardFocusWithin) + { + MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); + } + + //TODO Clock closed event + //OnCalendarClosed(new RoutedEventArgs()); + } + + private void PopupOnOpened(object sender, EventArgs eventArgs) + { + if (!IsDropDownOpen) + { + SetCurrentValue(IsDropDownOpenProperty, true); + } + + if (_clock != null) + { + _clock.DisplayMode = ClockDisplayMode.Hours; + _clock.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); + } + + //TODO ClockOpenedEvent + //this.OnCalendarOpened(new RoutedEventArgs()); + } + + private void InitializeClock() + { + _clock.AddHandler(Clock.ClockChoiceMadeEvent, new ClockChoiceMadeEventHandler(ClockChoiceMadeHandler)); + _clock.SetBinding(ForegroundProperty, GetBinding(ForegroundProperty)); + _clock.SetBinding(StyleProperty, GetBinding(ClockStyleProperty)); + _clock.SetBinding(Clock.TimeProperty, GetBinding(SelectedTimeProperty, new NullableDateTimeToCurrentDateConverter())); + _clock.SetBinding(Clock.Is24HoursProperty, GetBinding(Is24HoursProperty)); + _clockHostContentControl.SetBinding(StyleProperty, GetBinding(ClockHostContentControlStyleProperty)); + } + + private void ClockChoiceMadeHandler(object sender, ClockChoiceMadeEventArgs clockChoiceMadeEventArgs) + { + if (clockChoiceMadeEventArgs.Mode == ClockDisplayMode.Minutes) + { + TogglePopup(); + if (SelectedTime == null) + { + SelectedTime = _clock.Time; + } + } + } + + private void DropDownButtonOnClick(object sender, RoutedEventArgs routedEventArgs) + { + TogglePopup(); + } + + private void TogglePopup() + { + if (IsDropDownOpen) + SetCurrentValue(IsDropDownOpenProperty, false); + else + { + if (_disablePopupReopen) + _disablePopupReopen = false; + else + { + SetSelectedTime(); + SetCurrentValue(IsDropDownOpenProperty, true); + } + } + } + + private BindingBase GetBinding(DependencyProperty property, IValueConverter converter = null) + { + var binding = new Binding(property.Name) + { + Source = this, + Converter = converter + }; + return binding; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ToggleButtonAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ToggleButtonAssist.cs new file mode 100644 index 000000000..4665fedb1 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ToggleButtonAssist.cs @@ -0,0 +1,82 @@ +using System; +using System.Windows; +using System.Windows.Controls.Primitives; + +namespace MaterialDesignThemes.Wpf +{ + public static class ToggleButtonAssist + { + private static readonly DependencyPropertyKey HasOnContentPropertyKey = + DependencyProperty.RegisterAttachedReadOnly( + "HasOnContent", typeof(bool), typeof(ToggleButtonAssist), + new PropertyMetadata(false)); + + public static readonly DependencyProperty HasOnContentProperty = HasOnContentPropertyKey.DependencyProperty; + + private static void SetHasOnContent(DependencyObject element, object value) + { + element.SetValue(HasOnContentPropertyKey, value); + } + + /// <summary> + /// Framework use only. + /// </summary> + /// <param name="element"></param> + /// <returns></returns> + public static bool GetHasOnContent(DependencyObject element) + { + return (bool)element.GetValue(HasOnContentProperty); + } + + /// <summary> + /// Allows on (IsChecked) content to be provided on supporting <see cref="ToggleButton"/> styles. + /// </summary> + public static readonly DependencyProperty OnContentProperty = DependencyProperty.RegisterAttached( + "OnContent", typeof (object), typeof (ToggleButtonAssist), new PropertyMetadata(default(object), OnContentPropertyChangedCallback)); + + private static void OnContentPropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + SetHasOnContent(dependencyObject, dependencyPropertyChangedEventArgs.NewValue != null); + } + + /// <summary> + /// Allows on (IsChecked) content to be provided on supporting <see cref="ToggleButton"/> styles. + /// </summary> + /// <param name="element"></param> + /// <param name="value"></param> + public static void SetOnContent(DependencyObject element, object value) + { + element.SetValue(OnContentProperty, value); + } + + /// <summary> + /// Allows on (IsChecked) content to be provided on supporting <see cref="ToggleButton"/> styles. + /// </summary> + public static object GetOnContent(DependencyObject element) + { + return (object) element.GetValue(OnContentProperty); + } + + /// <summary> + /// Allows an on (IsChecked) template to be provided on supporting <see cref="ToggleButton"/> styles. + /// </summary> + public static readonly DependencyProperty OnContentTemplateProperty = DependencyProperty.RegisterAttached( + "OnContentTemplate", typeof (DataTemplate), typeof (ToggleButtonAssist), new PropertyMetadata(default(DataTemplate))); + + /// <summary> + /// Allows an on (IsChecked) template to be provided on supporting <see cref="ToggleButton"/> styles. + /// </summary> + public static void SetOnContentTemplate(DependencyObject element, DataTemplate value) + { + element.SetValue(OnContentTemplateProperty, value); + } + + /// <summary> + /// Allows an on (IsChecked) template to be provided on supporting <see cref="ToggleButton"/> styles. + /// </summary> + public static DataTemplate GetOnContentTemplate(DependencyObject element) + { + return (DataTemplate) element.GetValue(OnContentTemplateProperty); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ToolTipAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ToolTipAssist.cs new file mode 100644 index 000000000..8f90af070 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ToolTipAssist.cs @@ -0,0 +1,18 @@ +using System.Windows; +using System.Windows.Controls.Primitives; + +namespace MaterialDesignThemes.Wpf +{ + public static class ToolTipAssist + { + public static CustomPopupPlacementCallback CustomPopupPlacementCallback => CustomPopupPlacementCallbackImpl; + + public static CustomPopupPlacement[] CustomPopupPlacementCallbackImpl(Size popupSize, Size targetSize, Point offset) + { + return new [] + { + new CustomPopupPlacement(new Point(targetSize.Width/2 - popupSize.Width/2, targetSize.Height + 14), PopupPrimaryAxis.Horizontal) + }; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/CircleWipe.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/CircleWipe.cs new file mode 100644 index 000000000..9e7314943 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/CircleWipe.cs @@ -0,0 +1,63 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class CircleWipe : ITransitionWipe + { + public void Wipe(TransitionerSlide fromSlide, TransitionerSlide toSlide, Point origin, IZIndexController zIndexController) + { + if (fromSlide == null) throw new ArgumentNullException(nameof(fromSlide)); + if (toSlide == null) throw new ArgumentNullException(nameof(toSlide)); + if (zIndexController == null) throw new ArgumentNullException(nameof(zIndexController)); + + var horizontalProportion = Math.Max(1.0 - origin.X, 1.0 * origin.X); + var verticalProportion = Math.Max(1.0 - origin.Y, 1.0 * origin.Y); + var radius = Math.Sqrt(Math.Pow(toSlide.ActualWidth * horizontalProportion, 2) + Math.Pow(toSlide.ActualHeight * verticalProportion, 2)); + + var scaleTransform = new ScaleTransform(0, 0); + var translateTransform = new TranslateTransform(toSlide.ActualWidth * origin.X, toSlide.ActualHeight * origin.Y); + var transformGroup = new TransformGroup(); + transformGroup.Children.Add(scaleTransform); + transformGroup.Children.Add(translateTransform); + var ellipseGeomotry = new EllipseGeometry() + { + RadiusX = radius, + RadiusY = radius, + Transform = transformGroup + }; + + toSlide.SetCurrentValue(UIElement.ClipProperty, ellipseGeomotry); + zIndexController.Stack(toSlide, fromSlide); + + var zeroKeyTime = KeyTime.FromTimeSpan(TimeSpan.Zero); + var midKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(200)); + var endKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(400)); + + var opacityAnimation = new DoubleAnimationUsingKeyFrames(); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, zeroKeyTime)); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, midKeyTime)); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, endKeyTime)); + opacityAnimation.Completed += (sender, args) => + { + fromSlide.BeginAnimation(UIElement.OpacityProperty, null); + fromSlide.Opacity = 0; + }; + fromSlide.BeginAnimation(UIElement.OpacityProperty, opacityAnimation); + + var scaleAnimation = new DoubleAnimationUsingKeyFrames(); + scaleAnimation.Completed += (sender, args) => + { + toSlide.SetCurrentValue(UIElement.ClipProperty, null); + fromSlide.BeginAnimation(UIElement.OpacityProperty, null); + fromSlide.Opacity = 0; + }; + scaleAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, zeroKeyTime)); + scaleAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, endKeyTime)); + scaleTransform.BeginAnimation(ScaleTransform.ScaleXProperty, scaleAnimation); + scaleTransform.BeginAnimation(ScaleTransform.ScaleYProperty, scaleAnimation); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/FadeWipe.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/FadeWipe.cs new file mode 100644 index 000000000..7bd3a88fb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/FadeWipe.cs @@ -0,0 +1,59 @@ +using System; +using System.Windows; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class FadeWipe : ITransitionWipe + { + private readonly SineEase _sineEase = new SineEase(); + + /// <summary> + /// Duration of the animation + /// </summary> + public TimeSpan Duration { get; set; } = TimeSpan.FromSeconds(0.5); + + public void Wipe(TransitionerSlide fromSlide, TransitionerSlide toSlide, Point origin, IZIndexController zIndexController) + { + if (fromSlide == null) throw new ArgumentNullException(nameof(fromSlide)); + if (toSlide == null) throw new ArgumentNullException(nameof(toSlide)); + if (zIndexController == null) throw new ArgumentNullException(nameof(zIndexController)); + + // Set up time points + var zeroKeyTime = KeyTime.FromTimeSpan(TimeSpan.Zero); + var endKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromSeconds(Duration.TotalSeconds/2)); + + // From + var fromAnimation = new DoubleAnimationUsingKeyFrames(); + fromAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(1, zeroKeyTime)); + fromAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, endKeyTime, _sineEase)); + + // To + var toAnimation = new DoubleAnimationUsingKeyFrames(); + toAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(0, zeroKeyTime)); + toAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, endKeyTime, _sineEase)); + + // Preset + fromSlide.Opacity = 1; + toSlide.Opacity = 0; + + // Set up events + toAnimation.Completed += (sender, args) => + { + toSlide.BeginAnimation(UIElement.OpacityProperty, null); + fromSlide.Opacity = 0; + toSlide.Opacity = 1; + }; + fromAnimation.Completed += (sender, args) => + { + fromSlide.BeginAnimation(UIElement.OpacityProperty, null); + fromSlide.Opacity = 0; + toSlide.BeginAnimation(UIElement.OpacityProperty, toAnimation); + }; + + // Animate + fromSlide.BeginAnimation(UIElement.OpacityProperty, fromAnimation); + zIndexController.Stack(toSlide, fromSlide); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionEffect.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionEffect.cs new file mode 100644 index 000000000..238d4bf10 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionEffect.cs @@ -0,0 +1,10 @@ +using System.Windows; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public interface ITransitionEffect + { + Timeline Build<TSubject>(TSubject effectSubject) where TSubject : FrameworkElement, ITransitionEffectSubject; + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionEffectSubject.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionEffectSubject.cs new file mode 100644 index 000000000..335132612 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionEffectSubject.cs @@ -0,0 +1,14 @@ +using System; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public interface ITransitionEffectSubject + { + string MatrixTransformName { get; } + string RotateTransformName { get; } + string ScaleTransformName { get; } + string SkewTransformName { get; } + string TranslateTransformName { get; } + TimeSpan Offset { get; } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionWipe.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionWipe.cs new file mode 100644 index 000000000..a290e6be9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/ITransitionWipe.cs @@ -0,0 +1,9 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public interface ITransitionWipe + { + void Wipe(TransitionerSlide fromSlide, TransitionerSlide toSlide, Point origin, IZIndexController zIndexController); + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/IZIndexController.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/IZIndexController.cs new file mode 100644 index 000000000..015835fcb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/IZIndexController.cs @@ -0,0 +1,7 @@ +namespace MaterialDesignThemes.Wpf.Transitions +{ + public interface IZIndexController + { + void Stack(params TransitionerSlide[] highestToLowest); + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/IndexedItemOffsetMultiplierExtension.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/IndexedItemOffsetMultiplierExtension.cs new file mode 100644 index 000000000..b120bd3e3 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/IndexedItemOffsetMultiplierExtension.cs @@ -0,0 +1,83 @@ +using System; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Markup; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + /// <summary> + /// Multiplies a time span unit by the index of an item in a list. + /// </summary> + /// <remarks> + /// Example usage is for a <see cref="TransitioningContent"/> to have a <see cref="TransitionEffect.OffsetTime" /> + /// time delayed according to position in a list, so cascading animations can occur. + /// </remarks> + [MarkupExtensionReturnType(typeof(TimeSpan))] + public class IndexedItemOffsetMultiplierExtension : MarkupExtension + { + public IndexedItemOffsetMultiplierExtension(TimeSpan unit) + { + Unit = unit; + } + + [ConstructorArgument("unit")] + public TimeSpan Unit { get; set; } + + public override object ProvideValue(IServiceProvider serviceProvider) + { + var provideValueTarget = serviceProvider.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget; + if (provideValueTarget == null) return TimeSpan.Zero; + + if (provideValueTarget.TargetObject != null && + provideValueTarget.TargetObject.GetType().FullName == "System.Windows.SharedDp") + //we are inside a template, return this, so we can re-evaluate later... + return this; + + var element = provideValueTarget?.TargetObject as DependencyObject; + if (element == null) return TimeSpan.Zero; + + var itemsControl = ItemsControl.ItemsControlFromItemContainer(element); + if (itemsControl == null) + { + var ancestor = element; + while (ancestor != null && itemsControl == null) + { + ancestor = VisualTreeHelper.GetParent(ancestor); + itemsControl = ItemsControl.ItemsControlFromItemContainer(ancestor); + } + } + if (itemsControl == null) return TimeSpan.Zero; + + var isOwnContainer = itemsControl.IsItemItsOwnContainer(element); + var container = isOwnContainer + ? element + : itemsControl.ItemContainerGenerator.ContainerFromItem(element); + if (container == null) + { + var dataContext = (element as FrameworkElement)?.DataContext; + if (dataContext != null) + container = itemsControl.ItemContainerGenerator.ContainerFromItem(dataContext); + } + + if (container == null) return TimeSpan.Zero; + + var multiplier = itemsControl.ItemContainerGenerator.IndexFromContainer(container); + if (multiplier == -1) //container generation may not have completed + { + multiplier = itemsControl.Items.IndexOf(element); + } + + if (multiplier == -1) //still not found, repeat now using datacontext + { + var frameworkElement = element as FrameworkElement; + if (frameworkElement != null) + { + multiplier = itemsControl.Items.IndexOf(frameworkElement.DataContext); + } + } + + return multiplier > -1 ? new TimeSpan(Unit.Ticks * multiplier) : TimeSpan.Zero; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideDirection.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideDirection.cs new file mode 100644 index 000000000..9fe01f48c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideDirection.cs @@ -0,0 +1,4 @@ +namespace MaterialDesignThemes.Wpf.Transitions +{ + public enum SlideDirection { Left, Right, Up, Down } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideOutWipe.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideOutWipe.cs new file mode 100644 index 000000000..15bcd736a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideOutWipe.cs @@ -0,0 +1,58 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class SlideOutWipe : ITransitionWipe + { + private readonly SineEase _sineEase = new SineEase(); + + public void Wipe(TransitionerSlide fromSlide, TransitionerSlide toSlide, Point origin, IZIndexController zIndexController) + { + if (fromSlide == null) throw new ArgumentNullException(nameof(fromSlide)); + if (toSlide == null) throw new ArgumentNullException(nameof(toSlide)); + if (zIndexController == null) throw new ArgumentNullException(nameof(zIndexController)); + + var zeroKeyTime = KeyTime.FromTimeSpan(TimeSpan.Zero); + var midishKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(200)); + var endKeyTime = KeyTime.FromTimeSpan(TimeSpan.FromMilliseconds(400)); + + //back out old slide setup + var scaleTransform = new ScaleTransform(1, 1); + fromSlide.RenderTransform = scaleTransform; + var scaleAnimation = new DoubleAnimationUsingKeyFrames(); + scaleAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, zeroKeyTime)); + scaleAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(.8, endKeyTime)); + scaleAnimation.Completed += (sender, args) => + { + fromSlide.RenderTransform = null; + }; + var opacityAnimation = new DoubleAnimationUsingKeyFrames(); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(1, zeroKeyTime)); + opacityAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, endKeyTime)); + opacityAnimation.Completed += (sender, args) => + { + fromSlide.BeginAnimation(UIElement.OpacityProperty, null); + fromSlide.Opacity = 0; + }; + + //slide in new slide setup + var translateTransform = new TranslateTransform(0, toSlide.ActualHeight); + toSlide.RenderTransform = translateTransform; + var slideAnimation = new DoubleAnimationUsingKeyFrames(); + slideAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(toSlide.ActualHeight, zeroKeyTime)); + slideAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(toSlide.ActualHeight, midishKeyTime) { EasingFunction = _sineEase}); + slideAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(0, endKeyTime) { EasingFunction = _sineEase }); + + //kick off! + translateTransform.BeginAnimation(TranslateTransform.YProperty, slideAnimation); + scaleTransform.BeginAnimation(ScaleTransform.ScaleXProperty, scaleAnimation); + scaleTransform.BeginAnimation(ScaleTransform.ScaleYProperty, scaleAnimation); + fromSlide.BeginAnimation(UIElement.OpacityProperty, opacityAnimation); + + zIndexController.Stack(toSlide, fromSlide); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideWipe.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideWipe.cs new file mode 100644 index 000000000..ae3b0d789 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/SlideWipe.cs @@ -0,0 +1,111 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class SlideWipe : ITransitionWipe + { + private readonly SineEase _sineEase = new SineEase(); + + /// <summary> + /// Direction of the slide wipe + /// </summary> + public SlideDirection Direction { get; set; } + + /// <summary> + /// Duration of the animation + /// </summary> + public TimeSpan Duration { get; set; } = TimeSpan.FromSeconds(0.5); + + public void Wipe(TransitionerSlide fromSlide, TransitionerSlide toSlide, Point origin, IZIndexController zIndexController) + { + if (fromSlide == null) throw new ArgumentNullException(nameof(fromSlide)); + if (toSlide == null) throw new ArgumentNullException(nameof(toSlide)); + if (zIndexController == null) throw new ArgumentNullException(nameof(zIndexController)); + + // Set up time points + var zeroKeyTime = KeyTime.FromTimeSpan(TimeSpan.Zero); + var endKeyTime = KeyTime.FromTimeSpan(Duration); + + // Set up coordinates + double fromStartX = 0, fromEndX = 0, toStartX = 0, toEndX = 0; + double fromStartY = 0, fromEndY = 0, toStartY = 0, toEndY = 0; + + if (Direction == SlideDirection.Left) + { + fromEndX = -fromSlide.ActualWidth; + toStartX = toSlide.ActualWidth; + } + else if (Direction == SlideDirection.Right) + { + fromEndX = fromSlide.ActualWidth; + toStartX = -toSlide.ActualWidth; + } + else if (Direction == SlideDirection.Up) + { + fromEndY = -fromSlide.ActualHeight; + toStartY = toSlide.ActualHeight; + } + else if (Direction == SlideDirection.Down) + { + fromEndY = fromSlide.ActualHeight; + toStartY = -toSlide.ActualHeight; + } + + // From + var fromTransform = new TranslateTransform(fromStartX, fromStartY); + fromSlide.RenderTransform = fromTransform; + var fromXAnimation = new DoubleAnimationUsingKeyFrames(); + fromXAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(fromStartX, zeroKeyTime)); + fromXAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(fromEndX, endKeyTime, _sineEase)); + var fromYAnimation = new DoubleAnimationUsingKeyFrames(); + fromYAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(fromStartY, zeroKeyTime)); + fromYAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(fromEndY, endKeyTime, _sineEase)); + + // To + var toTransform = new TranslateTransform(toStartX, toStartY); + toSlide.RenderTransform = toTransform; + var toXAnimation = new DoubleAnimationUsingKeyFrames(); + toXAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(toStartX, zeroKeyTime)); + toXAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(toEndX, endKeyTime, _sineEase)); + var toYAnimation = new DoubleAnimationUsingKeyFrames(); + toYAnimation.KeyFrames.Add(new LinearDoubleKeyFrame(toStartY, zeroKeyTime)); + toYAnimation.KeyFrames.Add(new EasingDoubleKeyFrame(toEndY, endKeyTime, _sineEase)); + + // Set up events + fromXAnimation.Completed += (sender, args) => + { + fromTransform.BeginAnimation(TranslateTransform.XProperty, null); + fromTransform.X = fromEndX; + fromSlide.RenderTransform = null; + }; + fromYAnimation.Completed += (sender, args) => + { + fromTransform.BeginAnimation(TranslateTransform.YProperty, null); + fromTransform.Y = fromEndY; + fromSlide.RenderTransform = null; + }; + toXAnimation.Completed += (sender, args) => + { + toTransform.BeginAnimation(TranslateTransform.XProperty, null); + toTransform.X = toEndX; + toSlide.RenderTransform = null; + }; + toYAnimation.Completed += (sender, args) => + { + toTransform.BeginAnimation(TranslateTransform.YProperty, null); + toTransform.Y = toEndY; + toSlide.RenderTransform = null; + }; + + // Animate + fromTransform.BeginAnimation(TranslateTransform.XProperty, fromXAnimation); + fromTransform.BeginAnimation(TranslateTransform.YProperty, fromYAnimation); + toTransform.BeginAnimation(TranslateTransform.XProperty, toXAnimation); + toTransform.BeginAnimation(TranslateTransform.YProperty, toYAnimation); + zIndexController.Stack(toSlide, fromSlide); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionAssist.cs new file mode 100644 index 000000000..58517356b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionAssist.cs @@ -0,0 +1,32 @@ +using System.Windows; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + /// <summary> + /// Allows transitions to be disabled where supported. + /// </summary> + public static class TransitionAssist + { + /// <summary> + /// Allows transitions to be disabled where supported. Note this is an inheritable property. + /// </summary> + public static readonly DependencyProperty DisableTransitionsProperty = DependencyProperty.RegisterAttached( + "DisableTransitions", typeof (bool), typeof (TransitionAssist), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Allows transitions to be disabled where supported. Note this is an inheritable property. + /// </summary> + public static void SetDisableTransitions(DependencyObject element, bool value) + { + element.SetValue(DisableTransitionsProperty, value); + } + + /// <summary> + /// Allows transitions to be disabled where supported. Note this is an inheritable property. + /// </summary> + public static bool GetDisableTransitions(DependencyObject element) + { + return (bool) element.GetValue(DisableTransitionsProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffect.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffect.cs new file mode 100644 index 000000000..4ec59a987 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffect.cs @@ -0,0 +1,129 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class TransitionEffect : TransitionEffectBase + { + public TransitionEffect() + { + } + + public TransitionEffect(TransitionEffectKind kind) + { + Kind = kind; + } + + public TransitionEffect(TransitionEffectKind kind, TimeSpan duration) + { + Kind = kind; + Duration = duration; + } + + public TransitionEffectKind Kind { get; set; } + + public TimeSpan OffsetTime { get; set; } = TimeSpan.Zero; + + public TimeSpan Duration { get; set; } = TimeSpan.FromMilliseconds(400); + + public override Timeline Build<TSubject>(TSubject effectSubject) + { + if (effectSubject == null) throw new ArgumentNullException(nameof(effectSubject)); + + Timeline timeline = null; + DependencyProperty property = null; + DependencyObject target = null; + string targetName = null; + switch (Kind) + { + //we need these long winded property paths as combined storyboards wont play directly on transforms + case TransitionEffectKind.None: + break; + case TransitionEffectKind.ExpandIn: + return CreateExpandIn(effectSubject); + case TransitionEffectKind.SlideInFromLeft: + timeline = CreateSlide(-300, 0, effectSubject.Offset); + property = TranslateTransform.XProperty; + targetName = effectSubject.TranslateTransformName; + break; + case TransitionEffectKind.SlideInFromTop: + timeline = CreateSlide(-300, 0, effectSubject.Offset); + property = TranslateTransform.YProperty; + targetName = effectSubject.TranslateTransformName; + break; + case TransitionEffectKind.SlideInFromRight: + timeline = CreateSlide(300, 0, effectSubject.Offset); + property = TranslateTransform.XProperty; + targetName = effectSubject.TranslateTransformName; + break; + case TransitionEffectKind.SlideInFromBottom: + timeline = CreateSlide(300, 0, effectSubject.Offset); + property = TranslateTransform.YProperty; + targetName = effectSubject.TranslateTransformName; + break; + case TransitionEffectKind.FadeIn: + timeline = CreateFadeIn(effectSubject.Offset); + property = OpacityProperty; + target = effectSubject; + break; + default: + throw new ArgumentOutOfRangeException(); + } + + if (timeline == null || (target == null && targetName == null)) return null; + timeline.Duration = Duration + effectSubject.Offset; + if (target != null) + Storyboard.SetTarget(timeline, target); + if (targetName != null) + Storyboard.SetTargetName(timeline, targetName); + + Storyboard.SetTargetProperty(timeline, new PropertyPath(property)); + + return timeline; + } + private Timeline CreateFadeIn(TimeSpan initialOffset) + { + return CreateSlide(0, 1, initialOffset); + } + + private Timeline CreateSlide(double from, double to, TimeSpan initialOffset) + { + var zeroFrame = new DiscreteDoubleKeyFrame(from); + var startFrame = new DiscreteDoubleKeyFrame(from, initialOffset + OffsetTime); + var endFrame = new EasingDoubleKeyFrame(to, initialOffset + OffsetTime + Duration) { EasingFunction = new SineEase() }; + var slideAnimation = new DoubleAnimationUsingKeyFrames(); + slideAnimation.KeyFrames.Add(zeroFrame); + slideAnimation.KeyFrames.Add(startFrame); + slideAnimation.KeyFrames.Add(endFrame); + + return slideAnimation; + } + + private Timeline CreateExpandIn(ITransitionEffectSubject effectSubject) + { + var scaleXAnimation = new DoubleAnimationUsingKeyFrames(); + var zeroFrame = new DiscreteDoubleKeyFrame(0.0); + var startFrame = new DiscreteDoubleKeyFrame(.5, effectSubject.Offset + OffsetTime); + var endFrame = new EasingDoubleKeyFrame(1, effectSubject.Offset + OffsetTime + Duration) { EasingFunction = new SineEase() }; + scaleXAnimation.KeyFrames.Add(zeroFrame); + scaleXAnimation.KeyFrames.Add(startFrame); + scaleXAnimation.KeyFrames.Add(endFrame); + + Storyboard.SetTargetName(scaleXAnimation, effectSubject.ScaleTransformName); + Storyboard.SetTargetProperty(scaleXAnimation, new PropertyPath(ScaleTransform.ScaleXProperty)); + + var scaleYAnimation = scaleXAnimation.Clone(); + + Storyboard.SetTargetName(scaleYAnimation, effectSubject.ScaleTransformName); + Storyboard.SetTargetProperty(scaleYAnimation, new PropertyPath(ScaleTransform.ScaleYProperty)); + + var parallelTimeline = new ParallelTimeline(); + parallelTimeline.Children.Add(scaleXAnimation); + parallelTimeline.Children.Add(scaleYAnimation); + + return parallelTimeline; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectBase.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectBase.cs new file mode 100644 index 000000000..499181af4 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectBase.cs @@ -0,0 +1,11 @@ +using System.Windows; +using System.Windows.Media.Animation; +using MaterialDesignThemes.Wpf.Transitions; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public abstract class TransitionEffectBase : FrameworkElement, ITransitionEffect + { + public abstract Timeline Build<TSubject>(TSubject effectSubject) where TSubject : FrameworkElement, ITransitionEffectSubject; + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectExtension.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectExtension.cs new file mode 100644 index 000000000..1fbb831ea --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectExtension.cs @@ -0,0 +1,36 @@ +using System; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + [MarkupExtensionReturnType(typeof(TransitionEffectBase))] + public class TransitionEffectExtension : MarkupExtension + { + public TransitionEffectExtension() + { + Kind = TransitionEffectKind.None; + } + + public TransitionEffectExtension(TransitionEffectKind kind) + { + Kind = kind; + } + + public TransitionEffectExtension(TransitionEffectKind kind, TimeSpan duration) + { + Kind = kind; + Duration = duration; + } + + [ConstructorArgument("kind")] + public TransitionEffectKind Kind { get; set; } + + [ConstructorArgument("duration")] + public TimeSpan? Duration { get; set; } + + public override object ProvideValue(IServiceProvider serviceProvider) + { + return Duration.HasValue ? new TransitionEffect(Kind, Duration.Value) : new TransitionEffect(Kind); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectKind.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectKind.cs new file mode 100644 index 000000000..60b5721ba --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectKind.cs @@ -0,0 +1,13 @@ +namespace MaterialDesignThemes.Wpf.Transitions +{ + public enum TransitionEffectKind + { + None, + ExpandIn, + FadeIn, + SlideInFromLeft, + SlideInFromTop, + SlideInFromRight, + SlideInFromBottom + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectTypeConverter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectTypeConverter.cs new file mode 100644 index 000000000..e78096823 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionEffectTypeConverter.cs @@ -0,0 +1,35 @@ +using System; +using System.ComponentModel; +using System.Globalization; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class TransitionEffectTypeConverter : TypeConverter + { + public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) + { + return sourceType == typeof(string) || typeof(TransitionEffectKind).IsAssignableFrom(sourceType); + } + + public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) + { + TransitionEffectBase transitionEffect = null; + + var stringValue = value as string; + if (stringValue != null) + { + TransitionEffectKind effectKind; + if (Enum.TryParse(stringValue, out effectKind)) + transitionEffect = new TransitionEffect(effectKind); + } + else + transitionEffect = value as TransitionEffectBase; + + if (transitionEffect == null) + throw new XamlParseException($"Could not parse to type {typeof (TransitionEffectKind).FullName} or {typeof (TransitionEffectBase).FullName}."); + + return transitionEffect; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/Transitioner.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/Transitioner.cs new file mode 100644 index 000000000..1f40218a5 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/Transitioner.cs @@ -0,0 +1,261 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Input; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + /// <summary> + /// The transitioner provides an easy way to move between content with a default in-place circular transition. + /// </summary> + public class Transitioner : Selector, IZIndexController + { + private Point? _nextTransitionOrigin; + + static Transitioner() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Transitioner), new FrameworkPropertyMetadata(typeof(Transitioner))); + } + + /// <summary> + /// Causes the the next slide to be displayed (affectively increments <see cref="SelectedIndex"/>). + /// </summary> + public static RoutedCommand MoveNextCommand = new RoutedCommand(); + + /// <summary> + /// Causes the the previous slide to be displayed (affectively decrements <see cref="SelectedIndex"/>). + /// </summary> + public static RoutedCommand MovePreviousCommand = new RoutedCommand(); + + /// <summary> + /// Moves to the first slide. + /// </summary> + public static RoutedCommand MoveFirstCommand = new RoutedCommand(); + + /// <summary> + /// Moves to the last slide. + /// </summary> + public static RoutedCommand MoveLastCommand = new RoutedCommand(); + + public static readonly DependencyProperty AutoApplyTransitionOriginsProperty = DependencyProperty.Register( + "AutoApplyTransitionOrigins", typeof (bool), typeof (Transitioner), new PropertyMetadata(default(bool))); + + /// <summary> + /// If enabled, transition origins will be applied to wipes, according to where a transition was triggered from. For example, the mouse point where a user clicks a button. + /// </summary> + public bool AutoApplyTransitionOrigins + { + get { return (bool) GetValue(AutoApplyTransitionOriginsProperty); } + set { SetValue(AutoApplyTransitionOriginsProperty, value); } + } + + public static readonly DependencyProperty DefaultTransitionOriginProperty = DependencyProperty.Register( + "DefaultTransitionOrigin", typeof(Point), typeof(Transitioner), new PropertyMetadata(new Point(0.5, 0.5))); + + public Point DefaultTransitionOrigin + { + get { return (Point)GetValue(DefaultTransitionOriginProperty); } + set { SetValue(DefaultTransitionOriginProperty, value); } + } + + public Transitioner() + { + CommandBindings.Add(new CommandBinding(MoveNextCommand, MoveNextHandler)); + CommandBindings.Add(new CommandBinding(MovePreviousCommand, MovePreviousHandler)); + CommandBindings.Add(new CommandBinding(MoveFirstCommand, MoveFirstHandler)); + CommandBindings.Add(new CommandBinding(MoveLastCommand, MoveLastHandler)); + AddHandler(TransitionerSlide.InTransitionFinished, new RoutedEventHandler(IsTransitionFinishedHandler)); + Loaded += (sender, args) => + { + if (SelectedIndex != -1) + ActivateFrame(SelectedIndex, -1); + }; + } + + protected override bool IsItemItsOwnContainerOverride(object item) + { + return item is TransitionerSlide; + } + + protected override DependencyObject GetContainerForItemOverride() + { + return new TransitionerSlide(); + } + + protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e) + { + if (AutoApplyTransitionOrigins) + _nextTransitionOrigin = GetNavigationSourcePoint(e); + base.OnPreviewMouseLeftButtonDown(e); + } + + protected override void OnSelectionChanged(SelectionChangedEventArgs e) + { + var unselectedIndex = -1; + if (e.RemovedItems.Count == 1) + { + unselectedIndex = Items.IndexOf(e.RemovedItems[0]); + } + var selectedIndex = 1; + if (e.AddedItems.Count == 1) + { + selectedIndex = Items.IndexOf(e.AddedItems[0]); + } + + ActivateFrame(selectedIndex, unselectedIndex); + + base.OnSelectionChanged(e); + } + + private void IsTransitionFinishedHandler(object sender, RoutedEventArgs routedEventArgs) + { + foreach (var slide in Items.OfType<object>().Select(GetSlide).Where(s => s.State == TransitionerSlideState.Previous)) + { + slide.SetCurrentValue(TransitionerSlide.StateProperty, TransitionerSlideState.None); + } + } + + private void MoveNextHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (AutoApplyTransitionOrigins) + _nextTransitionOrigin = GetNavigationSourcePoint(executedRoutedEventArgs); + SetCurrentValue(SelectedIndexProperty, Math.Min(Items.Count - 1, SelectedIndex + 1)); + } + + private void MovePreviousHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (AutoApplyTransitionOrigins) + _nextTransitionOrigin = GetNavigationSourcePoint(executedRoutedEventArgs); + SetCurrentValue(SelectedIndexProperty, Math.Max(0, SelectedIndex - 1)); + } + + private void MoveFirstHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (AutoApplyTransitionOrigins) + _nextTransitionOrigin = GetNavigationSourcePoint(executedRoutedEventArgs); + SetCurrentValue(SelectedIndexProperty, 0); + } + + private void MoveLastHandler(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) + { + if (AutoApplyTransitionOrigins) + _nextTransitionOrigin = GetNavigationSourcePoint(executedRoutedEventArgs); + SetCurrentValue(SelectedIndexProperty, Items.Count - 1); + } + + private Point? GetNavigationSourcePoint(RoutedEventArgs executedRoutedEventArgs) + { + var sourceElement = executedRoutedEventArgs.OriginalSource as FrameworkElement; + if (sourceElement == null || !IsAncestorOf(sourceElement) || !IsSafePositive(ActualWidth) || + !IsSafePositive(ActualHeight) || !IsSafePositive(sourceElement.ActualWidth) || + !IsSafePositive(sourceElement.ActualHeight)) return null; + + var transitionOrigin = sourceElement.TranslatePoint(new Point(sourceElement.ActualWidth / 2, sourceElement.ActualHeight), this); + transitionOrigin = new Point(transitionOrigin.X / ActualWidth, transitionOrigin.Y / ActualHeight); + return transitionOrigin; + } + + private static bool IsSafePositive(double dubz) + { + return !double.IsNaN(dubz) && !double.IsInfinity(dubz) && dubz > 0.0; + } + + private TransitionerSlide GetSlide(object item) + { + if (IsItemItsOwnContainer(item)) + return (TransitionerSlide)item; + + return (TransitionerSlide)ItemContainerGenerator.ContainerFromItem(item); + } + + private void ActivateFrame(int selectedIndex, int unselectedIndex) + { + if (!IsLoaded) return; + + TransitionerSlide oldSlide = null, newSlide = null; + for (var index = 0; index < Items.Count; index++) + { + var slide = GetSlide(Items[index]); + if (index == selectedIndex) + { + newSlide = slide; + slide.SetCurrentValue(TransitionerSlide.StateProperty, TransitionerSlideState.Current); + } + else if (index == unselectedIndex) + { + oldSlide = slide; + slide.SetCurrentValue(TransitionerSlide.StateProperty, TransitionerSlideState.Previous); + } + else + { + slide.SetCurrentValue(TransitionerSlide.StateProperty, TransitionerSlideState.None); + } + Panel.SetZIndex(slide, 0); + } + + if (newSlide != null) + { + newSlide.Opacity = 1; + } + + if (oldSlide != null && newSlide != null) + { + var wipe = selectedIndex > unselectedIndex ? oldSlide.ForwardWipe : oldSlide.BackwardWipe; + if (wipe != null) + { + wipe.Wipe(oldSlide, newSlide, GetTransitionOrigin(newSlide), this); + } + else + { + DoStack(newSlide, oldSlide); + } + + oldSlide.Opacity = 0; + } + else if (oldSlide != null || newSlide != null) + { + DoStack(oldSlide ?? newSlide); + if (oldSlide != null) + { + oldSlide.Opacity = 0; + } + } + + _nextTransitionOrigin = null; + } + + private Point GetTransitionOrigin(TransitionerSlide slide) + { + if(_nextTransitionOrigin != null) + { + return _nextTransitionOrigin.Value; + } + + if(slide.ReadLocalValue(TransitionerSlide.TransitionOriginProperty) != DependencyProperty.UnsetValue) + { + return slide.TransitionOrigin; + } + + return DefaultTransitionOrigin; + } + + void IZIndexController.Stack(params TransitionerSlide[] highestToLowest) + { + DoStack(highestToLowest); + } + + private static void DoStack(params TransitionerSlide[] highestToLowest) + { + if (highestToLowest == null) return; + + var pos = highestToLowest.Length; + foreach (var slide in highestToLowest.Where(s => s != null)) + { + Panel.SetZIndex(slide, pos--); + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionerSlide.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionerSlide.cs new file mode 100644 index 000000000..7509c6fe0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionerSlide.cs @@ -0,0 +1,77 @@ +using System; +using System.Collections.Generic; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Threading; +using MaterialDesignThemes.Wpf.Transitions; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + /// <summary> + /// Content control to host the content of an individual page within a <see cref="Transitioner"/>. + /// </summary> + public class TransitionerSlide : TransitioningContentBase + { + static TransitionerSlide() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(TransitionerSlide), new FrameworkPropertyMetadata(typeof(TransitionerSlide))); + } + + public static readonly DependencyProperty TransitionOriginProperty = DependencyProperty.Register( + "TransitionOrigin", typeof(Point), typeof(Transitioner), new PropertyMetadata(new Point(0.5,0.5))); + + public Point TransitionOrigin + { + get { return (Point)GetValue(TransitionOriginProperty); } + set { SetValue(TransitionOriginProperty, value); } + } + + public static RoutedEvent InTransitionFinished = + EventManager.RegisterRoutedEvent("InTransitionFinished", RoutingStrategy.Bubble, typeof (RoutedEventHandler), + typeof (TransitionerSlide)); + + protected void OnInTransitionFinished(RoutedEventArgs e) + { + RaiseEvent(e); + } + + public static readonly DependencyProperty StateProperty = DependencyProperty.Register("State", typeof (TransitionerSlideState), typeof (TransitionerSlide), new PropertyMetadata(default(TransitionerSlideState), new PropertyChangedCallback(StatePropertyChangedCallback))); + + private static void StatePropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + ((TransitionerSlide) d).AnimateToState(); + } + + public TransitionerSlideState State + { + get { return (TransitionerSlideState) GetValue(StateProperty); } + set { SetValue(StateProperty, value); } + } + + public static readonly DependencyProperty ForwardWipeProperty = DependencyProperty.Register( + "ForwardWipe", typeof (ITransitionWipe), typeof (TransitionerSlide), new PropertyMetadata(new CircleWipe())); + + public ITransitionWipe ForwardWipe + { + get { return (ITransitionWipe) GetValue(ForwardWipeProperty); } + set { SetValue(ForwardWipeProperty, value); } + } + + public static readonly DependencyProperty BackwardWipeProperty = DependencyProperty.Register( + "BackwardWipe", typeof (ITransitionWipe), typeof (TransitionerSlide), new PropertyMetadata(new SlideOutWipe())); + + public ITransitionWipe BackwardWipe + { + get { return (ITransitionWipe) GetValue(BackwardWipeProperty); } + set { SetValue(BackwardWipeProperty, value); } + } + + private void AnimateToState() + { + if (State != TransitionerSlideState.Current) return; + + RunOpeningEffects(); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionerSlideState.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionerSlideState.cs new file mode 100644 index 000000000..db6fd9928 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitionerSlideState.cs @@ -0,0 +1,9 @@ +namespace MaterialDesignThemes.Wpf.Transitions +{ + public enum TransitionerSlideState + { + None, + Current, + Previous, + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitioningContent.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitioningContent.cs new file mode 100644 index 000000000..a508c603f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitioningContent.cs @@ -0,0 +1,47 @@ +using System; +using System.Windows; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + [Flags] + public enum TransitioningContentRunHint + { + Loaded = 1, + IsVisibleChanged = 2, + All = Loaded | IsVisibleChanged + } + + + /// <summary> + /// Content control to enable easier transitions. + /// </summary> + public class TransitioningContent : TransitioningContentBase + { + static TransitioningContent() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(TransitioningContent), new FrameworkPropertyMetadata(typeof(TransitioningContent))); + } + + public TransitioningContent() + { + Loaded += (sender, args) => Run(TransitioningContentRunHint.Loaded); + IsVisibleChanged += (sender, args) => Run(TransitioningContentRunHint.IsVisibleChanged); + + } + + public static readonly DependencyProperty RunHintProperty = DependencyProperty.Register( + "RunHint", typeof(TransitioningContentRunHint), typeof(TransitioningContent), new PropertyMetadata(TransitioningContentRunHint.All)); + + public TransitioningContentRunHint RunHint + { + get { return (TransitioningContentRunHint)GetValue(RunHintProperty); } + set { SetValue(RunHintProperty, value); } + } + + private void Run(TransitioningContentRunHint requiredHint) + { + if ((RunHint & requiredHint) == requiredHint) + RunOpeningEffects(); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitioningContentBase.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitioningContentBase.cs new file mode 100644 index 000000000..3a0adcc1e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Transitions/TransitioningContentBase.cs @@ -0,0 +1,133 @@ +using System; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media; +using System.Windows.Media.Animation; + +namespace MaterialDesignThemes.Wpf.Transitions +{ + public class TransitioningContentBase : ContentControl, ITransitionEffectSubject + { + public const string MatrixTransformPartName = "PART_MatrixTransform"; + public const string RotateTransformPartName = "PART_RotateTransform"; + public const string ScaleTransformPartName = "PART_ScaleTransform"; + public const string SkewTransformPartName = "PART_SkewTransform"; + public const string TranslateTransformPartName = "PART_TranslateTransform"; + + private MatrixTransform _matrixTransform; + private RotateTransform _rotateTransform; + private ScaleTransform _scaleTransform; + private SkewTransform _skewTransform; + private TranslateTransform _translateTransform; + + private bool _isOpeningEffectPending = false; + + static TransitioningContentBase() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof (TransitioningContentBase), new FrameworkPropertyMetadata(typeof (TransitioningContentBase))); + } + + public TransitioningContentBase() + { + NameScope.SetNameScope(this, new NameScope()); + } + + public override void OnApplyTemplate() + { + _matrixTransform = GetTemplateChild(MatrixTransformPartName) as MatrixTransform; + _rotateTransform = GetTemplateChild(RotateTransformPartName) as RotateTransform; + _scaleTransform = GetTemplateChild(ScaleTransformPartName) as ScaleTransform; + _skewTransform = GetTemplateChild(SkewTransformPartName) as SkewTransform; + _translateTransform = GetTemplateChild(TranslateTransformPartName) as TranslateTransform; + + UnregisterNames(MatrixTransformPartName, RotateTransformPartName, ScaleTransformPartName, SkewTransformPartName, TranslateTransformPartName); + if (_matrixTransform != null) + RegisterName(MatrixTransformPartName, _matrixTransform); + if (_rotateTransform != null) + RegisterName(RotateTransformPartName, _rotateTransform); + if (_scaleTransform != null) + RegisterName(ScaleTransformPartName, _scaleTransform); + if (_skewTransform != null) + RegisterName(SkewTransformPartName, _skewTransform); + if (_translateTransform != null) + RegisterName(TranslateTransformPartName, _translateTransform); + + base.OnApplyTemplate(); + + RunOpeningEffects(); + } + + private void UnregisterNames(params string[] names) + { + foreach (var name in names.Where(n => FindName(n) != null)) + { + UnregisterName(name); + } + } + + public static readonly DependencyProperty OpeningEffectProperty = DependencyProperty.Register("OpeningEffect", typeof (TransitionEffectBase), typeof (TransitioningContentBase), new PropertyMetadata(default(TransitionEffectBase))); + + /// <summary> + /// Gets or sets the transition to run when the content is loaded and made visible. + /// </summary> + [TypeConverter(typeof(TransitionEffectTypeConverter))] + public TransitionEffectBase OpeningEffect + { + get { return (TransitionEffectBase) GetValue(OpeningEffectProperty); } + set { SetValue(OpeningEffectProperty, value); } + } + + public static readonly DependencyProperty OpeningEffectsOffsetProperty = DependencyProperty.Register( + "OpeningEffectsOffset", typeof (TimeSpan), typeof (TransitioningContentBase), new PropertyMetadata(default(TimeSpan))); + + /// <summary> + /// Delay offset to be applied to all opening effect transitions. + /// </summary> + public TimeSpan OpeningEffectsOffset + { + get { return (TimeSpan) GetValue(OpeningEffectsOffsetProperty); } + set { SetValue(OpeningEffectsOffsetProperty, value); } + } + + /// <summary> + /// Allows multiple transition effects to be combined and run upon the content loading or being made visible. + /// </summary> + public ObservableCollection<TransitionEffectBase> OpeningEffects { get; } = new ObservableCollection<TransitionEffectBase>(); + + string ITransitionEffectSubject.MatrixTransformName => MatrixTransformPartName; + + string ITransitionEffectSubject.RotateTransformName => RotateTransformPartName; + + string ITransitionEffectSubject.ScaleTransformName => ScaleTransformPartName; + + string ITransitionEffectSubject.SkewTransformName => SkewTransformPartName; + + string ITransitionEffectSubject.TranslateTransformName => TranslateTransformPartName; + + TimeSpan ITransitionEffectSubject.Offset => OpeningEffectsOffset; + + protected virtual void RunOpeningEffects() + { + if (!IsLoaded || _matrixTransform == null) + { + _isOpeningEffectPending = true; + return; + } + _isOpeningEffectPending = false; + + var storyboard = new Storyboard(); + var openingEffect = OpeningEffect?.Build(this); + if (openingEffect != null) + storyboard.Children.Add(openingEffect); + foreach (var effect in OpeningEffects.Select(e => e.Build(this)).Where(tl => tl != null)) + { + storyboard.Children.Add(effect); + } + + storyboard.Begin(this); + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TreeHelper.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TreeHelper.cs new file mode 100644 index 000000000..512a7ceb6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TreeHelper.cs @@ -0,0 +1,104 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Media; + +namespace MaterialDesignThemes.Wpf +{ + internal static class TreeHelper + { + public static double GetVisibleWidth(FrameworkElement element, UIElement parent) + { + if (element == null) throw new ArgumentNullException(nameof(element)); + if (parent == null) throw new ArgumentNullException(nameof(parent)); + + var location = element.TransformToAncestor(parent).Transform(new Point(0, 0)); + + int width = (int) Math.Floor(element.ActualWidth); + var hitTest = parent.InputHitTest(new Point(location.X + width, location.Y)); + + if (IsAncestorTill(hitTest as FrameworkElement, element, parent)) + { + return width; + } + + //BinarySearch here + int end = (int) Math.Floor(element.ActualWidth); + int start = 0; + + while (start < end) + { + width = (end + start)/2; + hitTest = parent.InputHitTest(new Point(location.X + width, location.Y)); + + if (IsAncestorTill(hitTest as FrameworkElement, element, parent)) + { + //Speed tweak + hitTest = parent.InputHitTest(new Point(location.X + width + 1, location.Y)); + + if (IsAncestorTill(hitTest as FrameworkElement, element, parent)) + { + start = width; + } + else + { + return width; + } + } + else + { + end = width; + } + } + + + //for (int width = (int) Math.Floor(element.ActualWidth); width >= 0; width--) + //{ + // var hitTest = parent.InputHitTest(new Point(location.X + width, location.Y)); + // + // if (hitTest == null) continue; + // + // if (IsAncestorTill(hitTest as FrameworkElement, element, parent)) + // { + // return width; + // } + //} + + return element.ActualWidth; + } + + private static bool IsAncestorTill(FrameworkElement element, object ancestor, object container) + { + if (element == null) return false; + + FrameworkElement parent = element; + + do + { + if (ReferenceEquals(parent, ancestor)) return true; + if (ReferenceEquals(parent, container)) return false; + } while ((parent = (parent.Parent ?? VisualTreeHelper.GetParent(parent)) as FrameworkElement) != null); + + return false; + } + + public static Visual FindMainTreeVisual(Visual visual) + { + DependencyObject root = null; + DependencyObject dependencyObject = visual; + + while (dependencyObject != null) + { + root = dependencyObject; + dependencyObject = VisualTreeHelper.GetParent(dependencyObject); + } + + return root as Visual; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TreeViewAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TreeViewAssist.cs new file mode 100644 index 000000000..04d470345 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/TreeViewAssist.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Markup; + +namespace MaterialDesignThemes.Wpf +{ + public static class TreeViewAssist + { + /// <summary> + /// Allows additional rendering for each tree node, outside of the rippled part of the node which responsds to user selection. + /// </summary> + /// <remarks> + /// The content to be rendered is the same of the <see cref="TreeViewItem"/>; i.e the Header property, or + /// some other content such as a view model, typically when using a <see cref="HierarchicalDataTemplate"/>. + /// </remarks> + public static readonly DependencyProperty AdditionalTemplateProperty = DependencyProperty.RegisterAttached( + "AdditionalTemplate", + typeof(DataTemplate), + typeof(TreeViewAssist), + new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Sets the additional template. + /// </summary> + /// <param name="element">The element.</param> + /// <param name="value">The value.</param> + public static void SetAdditionalTemplate(DependencyObject element, DataTemplate value) + { + element.SetValue(AdditionalTemplateProperty, value); + } + + /// <summary> + /// Gets the additional template. + /// </summary> + /// <param name="element">The element.</param> + /// <returns> + /// The <see cref="DataTemplate" />. + /// </returns> + public static DataTemplate GetAdditionalTemplate(DependencyObject element) + { + return (DataTemplate)element.GetValue(AdditionalTemplateProperty); + } + + /// <summary> + /// Allows additional rendering for each tree node, outside of the rippled part of the node which responsds to user selection. + /// </summary> + /// <remarks> + /// The content to be rendered is the same of the <see cref="TreeViewItem"/>; i.e the Header property, or + /// some other content such as a view model, typically when using a <see cref="HierarchicalDataTemplate"/>. + /// </remarks> + public static readonly DependencyProperty AdditionalTemplateSelectorProperty = DependencyProperty.RegisterAttached( + "AdditionalTemplateSelector", + typeof(DataTemplateSelector), + typeof(TreeViewAssist), + new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Sets the additional template selector. + /// </summary> + /// <param name="element">The element.</param> + /// <param name="value">The value.</param> + public static void SetAdditionalTemplateSelector(DependencyObject element, DataTemplateSelector value) + { + element.SetValue(AdditionalTemplateSelectorProperty, value); + } + + /// <summary> + /// Gets the additional template selector. + /// </summary> + /// <param name="element">The element.</param> + /// <returns> + /// The <see cref="DataTemplateSelector" />. + /// </returns> + public static DataTemplateSelector GetAdditionalTemplateSelector(DependencyObject element) + { + return (DataTemplateSelector)element.GetValue(AdditionalTemplateSelectorProperty); + } + + private static readonly Lazy<DataTemplate> NoAdditionalTemplateProvider = new Lazy<DataTemplate>(CreateEmptyGridDataTemplate); + + /// <summary> + /// To be used at <see cref="TreeViewItem"/> level, or to be returned by <see cref="AdditionalTemplateSelector"/> + /// implementors when the additional template associated with a tree should not be used. + /// </summary> + public static readonly DataTemplate SuppressAdditionalTemplate = NoAdditionalTemplateProvider.Value; + + public static DataTemplate CreateEmptyGridDataTemplate() + { + var xaml = "<DataTemplate><Grid /></DataTemplate>"; + var parserContext = new ParserContext(); + parserContext.XmlnsDictionary.Add("", "http://schemas.microsoft.com/winfx/2006/xaml/presentation"); + parserContext.XmlnsDictionary.Add("x", "http://schemas.microsoft.com/winfx/2006/xaml"); + + using (var memoryStream = new MemoryStream(Encoding.ASCII.GetBytes(xaml))) + { + return (DataTemplate)XamlReader.Load(memoryStream, parserContext); + } + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Underline.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Underline.cs new file mode 100644 index 000000000..4e8839394 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/Underline.cs @@ -0,0 +1,70 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using MaterialDesignThemes.Wpf.Transitions; + +namespace MaterialDesignThemes.Wpf +{ + /// <summary> + /// + /// </summary> + [TemplateVisualState(GroupName="ActivationStates", Name = ActiveStateName)] + [TemplateVisualState(GroupName = "ActivationStates", Name = InactiveStateName)] + public class Underline : Control + { + public const string ActiveStateName = "Active"; + public const string InactiveStateName = "Inactive"; + + static Underline() + { + DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); + } + + public static readonly DependencyProperty IsActiveProperty = DependencyProperty.Register( + nameof(IsActive), typeof(bool), typeof(Underline), + new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender, IsActivePropertyChangedCallback)); + + private static void IsActivePropertyChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((Underline)dependencyObject).GotoVisualState(!TransitionAssist.GetDisableTransitions(dependencyObject)); + } + + public bool IsActive + { + get { return (bool)GetValue(IsActiveProperty); } + set { SetValue(IsActiveProperty, value); } + } + + public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register( + nameof(CornerRadius), typeof(CornerRadius), typeof(Underline), + new FrameworkPropertyMetadata(new CornerRadius(0), FrameworkPropertyMetadataOptions.AffectsRender, null)); + + public CornerRadius CornerRadius + { + get { return (CornerRadius)GetValue(CornerRadiusProperty); } + set { SetValue(CornerRadiusProperty, value); } + } + + public override void OnApplyTemplate() + { + base.OnApplyTemplate(); + + GotoVisualState(false); + } + + private void GotoVisualState(bool useTransitions) + { + VisualStateManager.GoToState(this, SelectStateName(), useTransitions); + } + + private string SelectStateName() + { + return IsActive ? ActiveStateName : InactiveStateName; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ValidationAssist.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ValidationAssist.cs new file mode 100644 index 000000000..15bf85bb2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/ValidationAssist.cs @@ -0,0 +1,82 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; + +namespace MaterialDesignThemes.Wpf +{ + public static class ValidationAssist + { + #region ShowOnFocusProperty + + /// <summary> + /// The hint property + /// </summary> + public static readonly DependencyProperty OnlyShowOnFocusProperty = DependencyProperty.RegisterAttached( + "OnlyShowOnFocus", + typeof(bool), + typeof(ValidationAssist), + new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); + + public static bool GetOnlyShowOnFocus(DependencyObject element) + { + return (bool)element.GetValue(OnlyShowOnFocusProperty); + } + + public static void SetOnlyShowOnFocus(DependencyObject element, bool value) + { + element.SetValue(OnlyShowOnFocusProperty, value); + } + + #endregion + + #region UsePopupProperty + + /// <summary> + /// The hint property + /// </summary> + public static readonly DependencyProperty UsePopupProperty = DependencyProperty.RegisterAttached( + "UsePopup", + typeof(bool), + typeof(ValidationAssist), + new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); + + public static bool GetUsePopup(DependencyObject element) + { + return (bool)element.GetValue(UsePopupProperty); + } + + public static void SetUsePopup(DependencyObject element, bool value) + { + element.SetValue(UsePopupProperty, value); + } + + #endregion + + /// <summary> + /// Framework use only. + /// </summary> + public static readonly DependencyProperty SuppressProperty = DependencyProperty.RegisterAttached( + "Suppress", typeof (bool), typeof (ValidationAssist), new FrameworkPropertyMetadata(default(bool), FrameworkPropertyMetadataOptions.Inherits)); + + /// <summary> + /// Framework use only. + /// </summary> + /// <param name="element"></param> + /// <param name="value"></param> + public static void SetSuppress(DependencyObject element, bool value) + { + element.SetValue(SuppressProperty, value); + } + + /// <summary> + /// Framework use only. + /// </summary> + public static bool GetSuppress(DependencyObject element) + { + return (bool) element.GetValue(SuppressProperty); + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/paket.references b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/paket.references new file mode 100644 index 000000000..02de34841 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.Wpf/paket.references @@ -0,0 +1,3 @@ +File: PackIconBase.cs ControlzEx +File: PopupEx.cs ControlzEx +File: BadgedEx.cs ControlzEx
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.nuspec b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.nuspec new file mode 100644 index 000000000..024734546 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignThemes.nuspec @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<package> + <metadata> + <id>MaterialDesignThemes</id> + <version>0.1.0-beta</version> + <title>Material Design Themes XAML Resources</title> + <authors>James Willock</authors> + <owners>James Willock</owners> + <licenseUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/blob/master/LICENSE</licenseUrl> + <projectUrl>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit</projectUrl> + <iconUrl>http://materialdesigninxaml.net/images/MD4XAML32.png</iconUrl> + <requireLicenseAcceptance>false</requireLicenseAcceptance> + <description>ResourceDictionary instances containing Material Design templates and styles for WPF controls.</description> + <releaseNotes>https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases</releaseNotes> + <copyright>Copyright 2015 James Willock/Mulholland Software Ltd</copyright> + <tags>WPF XAML WinRT Material Design Theme Colour Color UI UX</tags> + <dependencies> + <dependency id="MaterialDesignColors" version="1.1.2" /> + </dependencies> + </metadata> + <files> + <file src="MaterialDesignThemes.Wpf\bin\AppVeyor\MaterialDesignThemes.Wpf.dll" target="lib\net45" /> + <file src="MaterialDesignThemes.Wpf\bin\AppVeyor\MaterialDesignThemes.Wpf.pdb" target="lib\net45" /> + <file src="MaterialDesignThemes.Wpf\bin\AppVeyor\MaterialDesignThemes.Wpf.xml" target="lib\net45" /> + <file src="MaterialDesignThemes.Wpf\**\*.cs" target="src\net45" /> + </files> +</package>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.ResourceGeneration.sln b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.ResourceGeneration.sln new file mode 100644 index 000000000..83fc18716 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.ResourceGeneration.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mdresgen", "mdresgen\mdresgen.csproj", "{8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + AppVeyor|Any CPU = AppVeyor|Any CPU + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}.AppVeyor|Any CPU.ActiveCfg = AppVeyor|Any CPU + {8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}.AppVeyor|Any CPU.Build.0 = AppVeyor|Any CPU + {8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Uwp.sln b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Uwp.sln new file mode 100644 index 000000000..73dd8e441 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Uwp.sln @@ -0,0 +1,64 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignThemes.Uwp", "MaterialDesignThemes.Uwp\MaterialDesignThemes.Uwp.csproj", "{E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MainDemo.Uwp", "MainDemo.Uwp\MainDemo.Uwp.csproj", "{666A0F51-6B18-4C48-9772-5ED3FDB03A2E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|ARM = Debug|ARM + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM = Release|ARM + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|ARM.ActiveCfg = Debug|ARM + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|ARM.Build.0 = Debug|ARM + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|x64.ActiveCfg = Debug|x64 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|x64.Build.0 = Debug|x64 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|x86.ActiveCfg = Debug|x86 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Debug|x86.Build.0 = Debug|x86 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|Any CPU.Build.0 = Release|Any CPU + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|ARM.ActiveCfg = Release|ARM + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|ARM.Build.0 = Release|ARM + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|x64.ActiveCfg = Release|x64 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|x64.Build.0 = Release|x64 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|x86.ActiveCfg = Release|x86 + {E4686A3F-CC25-4EEF-9A24-7CD4A22DA233}.Release|x86.Build.0 = Release|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|Any CPU.ActiveCfg = Debug|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|Any CPU.Build.0 = Debug|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|Any CPU.Deploy.0 = Debug|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|ARM.ActiveCfg = Debug|ARM + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|ARM.Build.0 = Debug|ARM + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|ARM.Deploy.0 = Debug|ARM + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|x64.ActiveCfg = Debug|x64 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|x64.Build.0 = Debug|x64 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|x64.Deploy.0 = Debug|x64 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|x86.ActiveCfg = Debug|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|x86.Build.0 = Debug|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Debug|x86.Deploy.0 = Debug|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|Any CPU.ActiveCfg = Release|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|ARM.ActiveCfg = Release|ARM + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|ARM.Build.0 = Release|ARM + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|ARM.Deploy.0 = Release|ARM + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|x64.ActiveCfg = Release|x64 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|x64.Build.0 = Release|x64 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|x64.Deploy.0 = Release|x64 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|x86.ActiveCfg = Release|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|x86.Build.0 = Release|x86 + {666A0F51-6B18-4C48-9772-5ED3FDB03A2E}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Wpf.sln b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Wpf.sln new file mode 100644 index 000000000..54f34e66d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Wpf.sln @@ -0,0 +1,224 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2010 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignThemes.Wpf", "MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj", "{F079FB0A-A8ED-4216-B6A5-345756751A04}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignDemo", "MainDemo.Wpf\MaterialDesignDemo.csproj", "{CF0A27A8-EF82-44E5-B673-ECCC150C48ED}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignColors.Wpf", "MaterialDesignColors.Wpf\MaterialDesignColors.Wpf.csproj", "{90B53209-C60C-4655-B28D-A1B3E1044BA3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MahAppsDragablzDemo", "MahMaterialDragablzMashUp\MahAppsDragablzDemo.csproj", "{803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "web", "web", "{7D0AC158-FD01-4EA3-8F8A-D19C085C77DF}" + ProjectSection(SolutionItems) = preProject + web\MashUp.gif = web\MashUp.gif + web\MaterialDesignPalette.js = web\MaterialDesignPalette.js + web\PaletteBuilder.html = web\PaletteBuilder.html + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Demos", "Demos", "{D34BE232-DE51-43C1-ABDC-B69003BB50FF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignColors.Wpf.Tests", "MaterialDesignColors.Wpf.Tests\MaterialDesignColors.Wpf.Tests.csproj", "{FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignThemes.MahApps", "MaterialDesignThemes.MahApps\MaterialDesignThemes.MahApps.csproj", "{81556A2D-D467-43E7-945B-FD987C676CF6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignThemes.Wpf.Tests", "MaterialDesignThemes.Wpf.Tests\MaterialDesignThemes.Wpf.Tests.csproj", "{A361C80E-F6CD-4C57-A96C-002DB159C1F4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + AppVeyor|Any CPU = AppVeyor|Any CPU + AppVeyor|ARM = AppVeyor|ARM + AppVeyor|x64 = AppVeyor|x64 + AppVeyor|x86 = AppVeyor|x86 + Debug|Any CPU = Debug|Any CPU + Debug|ARM = Debug|ARM + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM = Release|ARM + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|Any CPU.ActiveCfg = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|Any CPU.Build.0 = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|ARM.ActiveCfg = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|ARM.Build.0 = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|x64.ActiveCfg = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|x64.Build.0 = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|x86.ActiveCfg = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.AppVeyor|x86.Build.0 = AppVeyor|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|ARM.ActiveCfg = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|ARM.Build.0 = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|x64.ActiveCfg = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|x64.Build.0 = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|x86.ActiveCfg = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Debug|x86.Build.0 = Debug|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|Any CPU.Build.0 = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|ARM.ActiveCfg = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|ARM.Build.0 = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|x64.ActiveCfg = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|x64.Build.0 = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|x86.ActiveCfg = Release|Any CPU + {F079FB0A-A8ED-4216-B6A5-345756751A04}.Release|x86.Build.0 = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|Any CPU.ActiveCfg = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|Any CPU.Build.0 = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|ARM.ActiveCfg = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|ARM.Build.0 = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|x64.ActiveCfg = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|x64.Build.0 = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|x86.ActiveCfg = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.AppVeyor|x86.Build.0 = AppVeyor|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|ARM.ActiveCfg = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|ARM.Build.0 = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|x64.ActiveCfg = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|x64.Build.0 = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|x86.ActiveCfg = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Debug|x86.Build.0 = Debug|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|Any CPU.Build.0 = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|ARM.ActiveCfg = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|ARM.Build.0 = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|x64.ActiveCfg = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|x64.Build.0 = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|x86.ActiveCfg = Release|Any CPU + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED}.Release|x86.Build.0 = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|Any CPU.ActiveCfg = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|Any CPU.Build.0 = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|ARM.ActiveCfg = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|ARM.Build.0 = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|x64.ActiveCfg = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|x64.Build.0 = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|x86.ActiveCfg = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.AppVeyor|x86.Build.0 = AppVeyor|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|ARM.ActiveCfg = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|ARM.Build.0 = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|x64.ActiveCfg = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|x64.Build.0 = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|x86.ActiveCfg = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Debug|x86.Build.0 = Debug|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|Any CPU.Build.0 = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|ARM.ActiveCfg = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|ARM.Build.0 = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|x64.ActiveCfg = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|x64.Build.0 = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|x86.ActiveCfg = Release|Any CPU + {90B53209-C60C-4655-B28D-A1B3E1044BA3}.Release|x86.Build.0 = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|Any CPU.ActiveCfg = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|Any CPU.Build.0 = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|ARM.ActiveCfg = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|ARM.Build.0 = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|x64.ActiveCfg = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|x64.Build.0 = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|x86.ActiveCfg = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.AppVeyor|x86.Build.0 = AppVeyor|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|ARM.ActiveCfg = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|ARM.Build.0 = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|x64.ActiveCfg = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|x64.Build.0 = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|x86.ActiveCfg = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Debug|x86.Build.0 = Debug|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|Any CPU.Build.0 = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|ARM.ActiveCfg = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|ARM.Build.0 = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|x64.ActiveCfg = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|x64.Build.0 = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|x86.ActiveCfg = Release|Any CPU + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}.Release|x86.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|ARM.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|x64.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.AppVeyor|x86.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|ARM.ActiveCfg = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|ARM.Build.0 = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|x64.ActiveCfg = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|x64.Build.0 = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|x86.ActiveCfg = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Debug|x86.Build.0 = Debug|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|Any CPU.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|ARM.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|ARM.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|x64.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|x64.Build.0 = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|x86.ActiveCfg = Release|Any CPU + {FD1D557A-251C-4D00-9FDE-6FF9FFA747B8}.Release|x86.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|ARM.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|x64.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.AppVeyor|x86.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|ARM.ActiveCfg = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|ARM.Build.0 = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|x64.ActiveCfg = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|x64.Build.0 = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|x86.ActiveCfg = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Debug|x86.Build.0 = Debug|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|Any CPU.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|ARM.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|ARM.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|x64.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|x64.Build.0 = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|x86.ActiveCfg = Release|Any CPU + {81556A2D-D467-43E7-945B-FD987C676CF6}.Release|x86.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|ARM.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|x64.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.AppVeyor|x86.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|ARM.ActiveCfg = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|ARM.Build.0 = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|x64.ActiveCfg = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|x64.Build.0 = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|x86.ActiveCfg = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Debug|x86.Build.0 = Debug|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|Any CPU.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|ARM.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|ARM.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|x64.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|x64.Build.0 = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|x86.ActiveCfg = Release|Any CPU + {A361C80E-F6CD-4C57-A96C-002DB159C1F4}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {CF0A27A8-EF82-44E5-B673-ECCC150C48ED} = {D34BE232-DE51-43C1-ABDC-B69003BB50FF} + {803954E5-3A35-4D8B-95A7-F6E9B63EC0DF} = {D34BE232-DE51-43C1-ABDC-B69003BB50FF} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {730B2F9E-74AE-46CE-9E61-89AA5C6D5DD3} + EndGlobalSection +EndGlobal diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Wpf.sln.vsext.disable b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Wpf.sln.vsext.disable new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/MaterialDesignToolkit.Wpf.sln.vsext.disable diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/README.md b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/README.md new file mode 100644 index 000000000..d929da6c7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/README.md @@ -0,0 +1,96 @@ +#  Material Design In XAML Toolkit + +Comprehensive and easy to use Material Design theme and control library for the Windows desktop. + + + +###### [More screenshots below](#Screenshots) + +#  Summary + + * Material Design styles for all major WPF Framework controls + * Additional controls to support the theme, including Multi Action Button, Cards, Dialogs, Clock + * Easy configuration of palette (at design _and_ runtime), according to [Google's guidelines](http://www.google.co.uk/design/spec/style/color.html#color-ui-color-application) + * Full [Material Design Icons](https://materialdesignicons.com/) icon pack + * Easy transition effects + * Compatible with [Dragablz](https://github.com/ButchersBoy/Dragablz), [MahApps](https://github.com/MahApps/MahApps.Metro) + * Demo applications included in the source project + +[](https://gitter.im/ButchersBoy/MaterialDesignInXamlToolkit) +[](https://ci.appveyor.com/project/ButchersBoy/materialdesigninxamltoolkit) +[](https://www.nuget.org/packages/MaterialDesignThemes/) +[&style=flat-square)](https://www.nuget.org/packages/MaterialDesignThemes/) +[](https://www.nuget.org/packages/MaterialDesignColors/) +[](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/issues) +[](https://twitter.com/James_Willock) + +#  Getting Started + +* Checkout the [Super Quick Start](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/wiki/Super-Quick-Start) +* Or, the more comprehensive [Starting Guide](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/wiki/Getting-Started) guide. +* Or, watch the [Material Design In XAML Toolkit An Introduction](https://www.youtube.com/watch?v=-n5yeEOsbCk) video. +* Take 5 minutes to download the source from right here and run up the two demo projects in the solution. + +#  See It Action + +* Download the source and run the demo (compiling source requires VS2017+). +* Download a pre-compiled demo from the [releases](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/releases) page. +* Checkout [doobry](http://materialdesigninxaml.net/doobry). +* Checkout [F1ix](http://materialdesigninxaml.net/f1ix). +* Checkout [Motion List](https://github.com/MaterialDesignInXAML/MotionList). + +#  Source Code +To load the source project you will need Visual Studio 2017. Don't worry if you have an earlier version, you can still use the compiled assemblies from NuGet (``` Install-Package MaterialDesignThemes ```). There are two demo projects in the solution, restore the NuGet packages and fire them both up. One is a "pure" Material Design project, the other illustrates how to combine with Dragablz & MahApps. + +#  Contribution Guidelines + +* Before contributing code read the [Contribution Guidelines](.github/CONTRIBUTING.md) + * GitHub issues are for bugs. + * For queries, help, and general chat stop by the [Gitter chat room](https://gitter.im/ButchersBoy/MaterialDesignInXamlToolkit). + * Stack Overflow tag: [material-design-in-xaml](http://stackoverflow.com/questions/tagged/material-design-in-xaml) +* Want to say thanks? + * Hit the :star: Star :star: button + * <a href='https://pledgie.com/campaigns/31029'><img alt='Click here to lend your support to: Material Design In XAML Toolkit/Dragablz and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/31029.png?skin_name=chrome' border='0' ></a> + +#  Mentions + +* Logo courtesy of GitHub user [Snalty](https://github.com/snalty), and you can see more of him; + * on his [blog](http://holothere.tumblr.com/) + * and on [Twitter](https://twitter.com/snalty) +* Marc Angers - I pulled some of his shadows straight in from this [blog post](http://marcangers.com/material-design-shadows-in-wpf/) +* Icon pack sourced from [Material Design Icons](https://materialdesignicons.com/) +* Utilises [ControlzEx](https://github.com/ControlzEx/ControlzEx) +* Ignace Maes, whose [Material Skin](https://github.com/IgnaceMaes/MaterialSkin) project inspired the original material design theme for [Dragablz](https://github.com/ButchersBoy/Dragablz), which in turn led to me starting this project +* **[Contributors!](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/graphs/contributors)** Thanks for the PRs which have helped add some extra polish. + +# <a name="Screenshots"></a> Screenshots + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/appveyor.yml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/appveyor.yml new file mode 100644 index 000000000..0b6ad5b9d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/appveyor.yml @@ -0,0 +1,61 @@ +# configuration for master/CI branch +- + branches: + only: + - master + + os: Visual Studio 2017 + configuration: AppVeyor + assembly_info: + patch: true + file: '**\AssemblyInfo.*' + assembly_version: '2.3.2.{build}' + assembly_file_version: '2.3.2.{build}' + assembly_informational_version: '2.3.2.{build}' + environment: + RestorePackages: false + before_build: + - ps: .paket\paket.exe restore + build: + project: MaterialDesignToolkit.Wpf.sln + verbosity: minimal + after_build: + - ps: nuget pack MaterialDesignThemes.nuspec -Version $env:APPVEYOR_BUILD_VERSION + artifacts: + - path: '**\MaterialDesignThemes.*.nupkg' + - path: bin\**\*.* + + version: 2.3.2-ci{build} + deploy: + - provider: NuGet + api_key: + secure: B+WIdbRYr/rJo1QMeDwNen2xcj4RTu1d8AZiA03kb8wsWZVQxt5OgsWRacmEjWRd + +# configuration for release branch +- + branches: + only: + - release + + os: Visual Studio 2017 + configuration: AppVeyor + assembly_info: + patch: true + file: '**\AssemblyInfo.*' + assembly_version: '{version}' + assembly_file_version: '{version}' + assembly_informational_version: '{version}' + environment: + RestorePackages: false + before_build: + - ps: .paket\paket.exe restore + build: + project: MaterialDesignToolkit.Wpf.sln + verbosity: minimal + after_build: + - ps: nuget pack MaterialDesignThemes.nuspec -Version $env:APPVEYOR_BUILD_VERSION + artifacts: + - path: '**\MaterialDesignThemes.*.nupkg' + - path: bin\**\*.* + + version: 2.3.2.{build} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/App.config b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/App.config new file mode 100644 index 000000000..8e1564635 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/App.config @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> + </startup> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/IconDataFactorySyntaxRewriter.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/IconDataFactorySyntaxRewriter.cs new file mode 100644 index 000000000..77f6c2683 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/IconDataFactorySyntaxRewriter.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; + +namespace mdresgen +{ + internal class IconDataFactorySyntaxRewriter : CSharpSyntaxRewriter + { + private readonly IEnumerable<Tuple<string, string>> _nameDataPairs; + + public IconDataFactorySyntaxRewriter(IEnumerable<Tuple<string, string>> nameDataPairs, bool visitIntoStructuredTrivia = false) : base(visitIntoStructuredTrivia) + { + if (nameDataPairs == null) throw new ArgumentNullException(nameof(nameDataPairs)); + + _nameDataPairs = nameDataPairs; + } + + public override SyntaxNode VisitInitializerExpression(InitializerExpressionSyntax node) + { + if (node.Kind() != SyntaxKind.CollectionInitializerExpression) + return node; + + var initialiserExpressions = GetInitializerItems(_nameDataPairs); + var complexElementInitializerExpression = SyntaxFactory.InitializerExpression(SyntaxKind.ComplexElementInitializerExpression, initialiserExpressions); + + return complexElementInitializerExpression; + } + + private SeparatedSyntaxList<ExpressionSyntax> GetInitializerItems( + IEnumerable<Tuple<string, string>> nameDataPairs) + { + var initializerExpressionSyntaxList = nameDataPairs.Select(pair => + { + //create a member access expression + var memberAccessExpressionSyntax = + SyntaxFactory.MemberAccessExpression(SyntaxKind.SimpleMemberAccessExpression, + SyntaxFactory.IdentifierName("PackIconKind"), + SyntaxFactory.IdentifierName((string) pair.Item1)); + + //create a string literal expression + var literalExpressionSyntax = SyntaxFactory.LiteralExpression(SyntaxKind.StringLiteralExpression, + SyntaxFactory.Literal((string) pair.Item2)); + + var separatedSyntaxList = SyntaxFactory.SeparatedList<ExpressionSyntax>(new ExpressionSyntax[] { memberAccessExpressionSyntax, literalExpressionSyntax }); + var initializerExpressionSyntax = SyntaxFactory.InitializerExpression(SyntaxKind.ComplexElementInitializerExpression, separatedSyntaxList); + return (ExpressionSyntax)initializerExpressionSyntax; + }); + + var result = SyntaxFactory.SeparatedList(initializerExpressionSyntaxList); + + return result; + } + } +}
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/IconThing.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/IconThing.cs new file mode 100644 index 000000000..5f082925d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/IconThing.cs @@ -0,0 +1,132 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using Humanizer; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using Microsoft.CodeAnalysis.Text; +using Newtonsoft.Json.Linq; + +namespace mdresgen +{ + class IconThing + { + public void Run() + { + Console.WriteLine("Downloading icon data..."); + + var nameDataPairs = GetNameDataPairs(GetSourceData()).ToList(); + Console.WriteLine("Items: " + nameDataPairs.Count); + + //var nameDataPairs = GetNameDataPairs("TEST").ToList(); + + Console.WriteLine("Updating enum..."); + var newEnumSource = UpdateEnum("PackIconKind.template.cs", nameDataPairs); + Write(newEnumSource, "PackIconKind.cs"); + + Console.WriteLine("Updating data factory..."); + var newDataFactorySource = UpdateDataFactory("PackIconDataFactory.template.cs", nameDataPairs); + Write(newDataFactorySource, "PackIconDataFactory.cs"); + + Console.WriteLine("done"); + } + + private void Write(string content, string filename) + { + File.WriteAllText(Path.Combine(@"..\..\..\MaterialDesignThemes.Wpf\", filename), content); + } + + private static string GetSourceData() + { + var webRequest = WebRequest.CreateDefault( + new Uri("https://materialdesignicons.com/api/package/38EF63D0-4744-11E4-B3CF-842B2B6CFE1B")); + + webRequest.Credentials = CredentialCache.DefaultCredentials; + if (webRequest.Proxy != null) + webRequest.Proxy.Credentials = CredentialCache.DefaultCredentials; + + using (var sr = new StreamReader(webRequest.GetResponse().GetResponseStream())) + { + var iconData = sr.ReadToEnd(); + + Console.WriteLine("Got."); + + return iconData; + } + } + + private static IEnumerable<Tuple<string, string>> GetNameDataPairs(string sourceData) + { + var jObject = JObject.Parse(sourceData); + return jObject["icons"].Select(t => new Tuple<string, string>( + t["name"].ToString().Underscore().Pascalize(), + t["data"].ToString())); + } + + private string UpdateDataFactory(string sourceFile, IEnumerable<Tuple<string, string>> nameDataPairs) + { + var sourceText = SourceText.From(new FileStream(sourceFile, FileMode.Open)); + var syntaxTree = CSharpSyntaxTree.ParseText(sourceText); + + var mySyntaxRewriter = new IconDataFactorySyntaxRewriter(nameDataPairs); + var node = mySyntaxRewriter.Visit(syntaxTree.GetRoot()); + + return node.ToString(); + } + + private string UpdateEnum(string sourceFile, IEnumerable<Tuple<string, string>> nameDataPairs) + { + var sourceText = SourceText.From(new FileStream(sourceFile, FileMode.Open)); + var syntaxTree = CSharpSyntaxTree.ParseText(sourceText); + + var rootNode = syntaxTree.GetRoot(); + var namespaceDeclarationNode = rootNode.ChildNodes().Single(); + var enumDeclarationSyntaxNode = namespaceDeclarationNode.ChildNodes().OfType<EnumDeclarationSyntax>().Single(); + + var emptyEnumDeclarationSyntaxNode = enumDeclarationSyntaxNode.RemoveNodes(enumDeclarationSyntaxNode.ChildNodes().OfType<EnumMemberDeclarationSyntax>(), SyntaxRemoveOptions.KeepDirectives); + + var leadingTriviaList = SyntaxTriviaList.Create(SyntaxFactory.Whitespace(" ")); + var enumMemberDeclarationSyntaxs = nameDataPairs.Select( + tuple => + SyntaxFactory.EnumMemberDeclaration(SyntaxFactory.Identifier(leadingTriviaList, tuple.Item1, + SyntaxTriviaList.Empty))).ToArray(); + var generatedEnumDeclarationSyntax = emptyEnumDeclarationSyntaxNode.AddMembers(enumMemberDeclarationSyntaxs); + + generatedEnumDeclarationSyntax = AddLineFeedsToCommas(generatedEnumDeclarationSyntax); + + var generatedNamespaceDeclarationSyntaxNode = namespaceDeclarationNode.ReplaceNode(enumDeclarationSyntaxNode, generatedEnumDeclarationSyntax); + var generatedRootNode = rootNode.ReplaceNode(namespaceDeclarationNode, generatedNamespaceDeclarationSyntaxNode); + + return generatedRootNode.ToFullString(); + } + + private static EnumDeclarationSyntax AddLineFeedsToCommas(EnumDeclarationSyntax enumDeclarationSyntax) + { + var none = new SyntaxToken(); + var trailingTriviaList = SyntaxTriviaList.Create(SyntaxFactory.ElasticCarriageReturnLineFeed); + + Func<EnumDeclarationSyntax, SyntaxToken> next = enumSyntax => enumSyntax.ChildNodesAndTokens() + .Where(nodeOrToken => nodeOrToken.IsToken) + .Select(nodeOrToken => nodeOrToken.AsToken()) + .FirstOrDefault( + token => + token.Value.Equals(",") && + (!token.HasTrailingTrivia || !token.TrailingTrivia.Any(SyntaxKind.EndOfLineTrivia))); + + SyntaxToken current; + while ((current = next(enumDeclarationSyntax)) != none) + { + enumDeclarationSyntax = enumDeclarationSyntax.ReplaceToken(current, + SyntaxFactory.Identifier(SyntaxTriviaList.Empty, ",", trailingTriviaList) + ); + } + + return enumDeclarationSyntax; + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/MaterialColourSwatchesSnippet.xml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/MaterialColourSwatchesSnippet.xml new file mode 100644 index 000000000..8f927d0cc --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/MaterialColourSwatchesSnippet.xml @@ -0,0 +1,1227 @@ +<div class="color-palette"> + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #f44336;"> + <span class="name light-strong">Red</span> + <span class="shade light-strong">500</span> + <span class="hex light-strong">#f44336</span> + </li> + <li class="color dark" style="background-color: #ffebee;"> + <span class="shade expanded">50</span> + <span class="hex">#ffebee</span> + </li> + <li class="color dark" style="background-color: #ffcdd2;"> + <span class="shade">100</span> + <span class="hex">#ffcdd2</span> + </li> + <li class="color dark" style="background-color: #ef9a9a"> + <span class="shade expanded">200</span> + <span class="hex">#ef9a9a</span> + </li> + <li class="color dark" style="background-color: #e57373;"> + <span class="shade">300</span> + <span class="hex">#e57373</span> + </li> + <li class="color" style="background-color: #ef5350;"> + <span class="shade expanded">400</span> + <span class="hex">#ef5350</span> + </li> + <li class="color" style="background-color: #f44336;"> + <span class="shade">500</span> + <span class="hex">#f44336</span> + </li> + <li class="color" style="background-color: #e53935;"> + <span class="shade expanded">600</span> + <span class="hex">#e53935</span> + </li> + <li class="color" style="background-color: #d32f2f;"> + <span class="shade">700</span> + <span class="hex">#d32f2f</span> + </li> + <li class="color" style="background-color: #c62828;"> + <span class="shade expanded">800</span> + <span class="hex">#c62828</span> + </li> + <li class="color" style="background-color: #b71c1c;"> + <span class="shade expanded">900</span> + <span class="hex">#b71c1c</span> + </li> + <li class="color dark divide" style="background-color: #ff8a80;"> + <span class="shade accent">A100</span> + <span class="hex">#ff8a80</span> + </li> + <li class="color light-strong" style="background-color: #ff5252;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#ff5252</span> + </li> + <li class="color" style="background-color: #ff1744;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#ff1744</span> + </li> + <li class="color" style="background-color: #d50000;"> + <span class="shade accent">A700</span> + <span class="hex">#d50000</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #E91E63;"> + <span class="name light-strong">Pink</span> + <span class="shade light-strong">500</span> + <span class="hex light-strong">#e91e63</span> + </li> + <li class="color dark" style="background-color: #fce4ec;"> + <span class="shade expanded">50</span> + <span class="hex">#fce4ec</span> + </li> + <li class="color dark" style="background-color: #f8bbd0;"> + <span class="shade">100</span> + <span class="hex">#f8bbd0</span> + </li> + <li class="color dark" style="background-color: #f48fb1;"> + <span class="shade expanded">200</span> + <span class="hex">#f48fb1</span> + </li> + <li class="color light-strong" style="background-color: #f06292;"> + <span class="shade">300</span> + <span class="hex">#f06292</span> + </li> + <li class="color " style="background-color: #ec407a;"> + <span class="shade expanded">400</span> + <span class="hex">#ec407a</span> + </li> + <li class="color" style="background-color: #e91e63;"> + <span class="shade">500</span> + <span class="hex">#e91e63</span> + </li> + <li class="color" style="background-color: #d81b60;"> + <span class="shade expanded">600</span> + <span class="hex">#d81b60</span> + </li> + <li class="color" style="background-color: #c2185b;"> + <span class="shade">700</span> + <span class="hex">#c2185b</span> + </li> + <li class="color" style="background-color: #ad1457;"> + <span class="shade">800</span> + <span class="hex">#ad1457</span> + </li> + <li class="color" style="background-color: #880e4f;"> + <span class="shade">900</span> + <span class="hex">#880e4f</span> + </li> + <li class="color dark divide" style="background-color: #ff80ab;"> + <span class="shade accent">A100</span> + <span class="hex">#ff80ab</span> + </li> + <li class="color light-strong" style="background-color: #ff4081;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#ff4081</span> + </li> + <li class="color" style="background-color: #f50057;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#f50057</span> + </li> + <li class="color" style="background-color: #c51162;"> + <span class="shade accent">A700</span> + <span class="hex">#c51162</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #9c27b0;"> + <span class="name">Purple</span> + <span class="shade">500</span> + <span class="hex">#9c27b0</span> + </li> + <li class="color dark" style="background-color: #f3e5f5;"> + <span class="shade expanded">50</span> + <span class="hex">#f3e5f5</span> + </li> + <li class="color dark" style="background-color: #e1bee7;"> + <span class="shade">100</span> + <span class="hex">#e1bee7</span> + </li> + <li class="color dark" style="background-color: #ce93d8;"> + <span class="shade expanded">200</span> + <span class="hex">#ce93d8</span> + </li> + <li class="color light-strong" style="background-color: #ba68c8;"> + <span class="shade">300</span> + <span class="hex">#ba68c8</span> + </li> + <li class="color light-strong" style="background-color: #ab47bc;"> + <span class="shade expanded">400</span> + <span class="hex">#ab47bc</span> + </li> + <li class="color" style="background-color: #9c27b0;"> + <span class="shade">500</span> + <span class="hex">#9c27b0</span> + </li> + <li class="color" style="background-color: #8e24aa;"> + <span class="shade expanded">600</span> + <span class="hex">#8e24aa</span> + </li> + <li class="color" style="background-color: #7b1fa2;"> + <span class="shade">700</span> + <span class="hex">#7b1fa2</span> + </li> + <li class="color" style="background-color: #6a1b9a;"> + <span class="shade expanded">800</span> + <span class="hex">#6a1b9a</span> + </li> + <li class="color" style="background-color: #4a148c;"> + <span class="shade expanded">900</span> + <span class="hex">#4a148c</span> + </li> + <li class="color dark divide" style="background-color: #ea80fc;"> + <span class="shade accent">A100</span> + <span class="hex">#ea80fc</span> + </li> + <li class="color light-strong" style="background-color: #e040fb;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#e040fb</span> + </li> + <li class="color" style="background-color: #d500f9;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#d500f9</span> + </li> + <li class="color" style="background-color: #aa00ff;"> + <span class="shade accent">A700</span> + <span class="hex">#aa00ff</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #673ab7;"> + <span class="name">Deep Purple</span> + <span class="shade">500</span> + <span class="hex">#673ab7</span> + </li> + <li class="color dark" style="background-color: #ede7f6;"> + <span class="shade expanded">50</span> + <span class="hex">#ede7f6</span> + </li> + <li class="color dark" style="background-color: #d1c4e9;"> + <span class="shade">100</span> + <span class="hex">#d1c4e9</span> + </li> + <li class="color dark" style="background-color: #b39ddb;"> + <span class="shade expanded">200</span> + <span class="hex">#b39ddb</span> + </li> + <li class="color" style="background-color: #9575cd;"> + <span class="shade">300</span> + <span class="hex">#9575cd</span> + </li> + <li class="color" style="background-color: #7e57c2;"> + <span class="shade expanded">400</span> + <span class="hex">#7e57c2</span> + </li> + <li class="color" style="background-color: #673ab7;"> + <span class="shade">500</span> + <span class="hex">#673ab7</span> + </li> + <li class="color" style="background-color: #5e35b1;"> + <span class="shade expanded">600</span> + <span class="hex">#5e35b1</span> + </li> + <li class="color" style="background-color: #512da8;"> + <span class="shade">700</span> + <span class="hex">#512da8</span> + </li> + <li class="color" style="background-color: #4527a0;"> + <span class="shade expanded">800</span> + <span class="hex">#4527a0</span> + </li> + <li class="color" style="background-color: #311b92;"> + <span class="shade expanded">900</span> + <span class="hex">#311b92</span> + </li> + <li class="color dark divide" style="background-color: #b388ff;"> + <span class="shade accent">A100</span> + <span class="hex">#b388ff</span> + </li> + <li class="color light-strong" style="background-color: #7c4dff;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#7c4dff</span> + </li> + <li class="color" style="background-color: #651fff;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#651fff</span> + </li> + <li class="color" style="background-color: #6200ea;"> + <span class="shade accent">A700</span> + <span class="hex">#6200ea</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #3f51b5;"> + <span class="name">Indigo</span> + <span class="shade">500</span> + <span class="hex">#3f51b5</span> + </li> + <li class="color dark" style="background-color: #e8eaf6;"> + <span class="shade expanded">50</span> + <span class="hex">#e8eaf6</span> + </li> + <li class="color dark" style="background-color: #c5cae9;"> + <span class="shade">100</span> + <span class="hex">#c5cae9</span> + </li> + <li class="color dark" style="background-color: #9fa8da;"> + <span class="shade expanded">200</span> + <span class="hex">#9fa8da</span> + </li> + <li class="color" style="background-color: #7986cb;"> + <span class="shade">300</span> + <span class="hex">#7986cb</span> + </li> + <li class="color" style="background-color: #5c6bc0;"> + <span class="shade expanded">400</span> + <span class="hex">#5c6bc0</span> + </li> + <li class="color" style="background-color: #3f51b5;"> + <span class="shade">500</span> + <span class="hex">#3f51b5</span> + </li> + <li class="color" style="background-color: #3949ab;"> + <span class="shade expanded">600</span> + <span class="hex">#3949ab</span> + </li> + <li class="color" style="background-color: #303f9f;"> + <span class="shade">700</span> + <span class="hex">#303f9f</span> + </li> + <li class="color" style="background-color: #283593;"> + <span class="shade expanded">800</span> + <span class="hex">#283593</span> + </li> + <li class="color" style="background-color: #1a237e;"> + <span class="shade expanded">900</span> + <span class="hex">#1a237e</span> + </li> + <li class="color dark divide" style="background-color: #8c9eff;"> + <span class="shade accent">A100</span> + <span class="hex">#8c9eff</span> + </li> + <li class="color" style="background-color: #536dfe;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#536dfe</span> + </li> + <li class="color" style="background-color: #3d5afe;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#3d5afe</span> + </li> + <li class="color" style="background-color: #304ffe;"> + <span class="shade accent">A700</span> + <span class="hex">#304ffe</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #2196F3;"> + <span class="name light-strong">Blue</span> + <span class="shade light-strong">500</span> + <span class="hex light-strong">#2196f3</span> + </li> + <li class="color dark" style="background-color: #e3f2fd;"> + <span class="shade expanded">50</span> + <span class="hex">#e3f2fd</span> + </li> + <li class="color dark" style="background-color: #bbdefb;"> + <span class="shade">100</span> + <span class="hex">#bbdefb</span> + </li> + <li class="color dark" style="background-color: #90caf9;"> + <span class="shade expanded">200</span> + <span class="hex">#90caf9</span> + </li> + <li class="color dark" style="background-color: #64b5f6;"> + <span class="shade">300</span> + <span class="hex">#64b5f6</span> + </li> + <li class="color dark" style="background-color: #42a5f5;"> + <span class="shade expanded">400</span> + <span class="hex">#42a5f5</span> + </li> + <li class="color light-strong" style="background-color: #2196f3;"> + <span class="shade">500</span> + <span class="hex">#2196f3</span> + </li> + <li class="color" style="background-color: #1e88e5;"> + <span class="shade expanded">600</span> + <span class="hex">#1e88e5</span> + </li> + <li class="color" style="background-color: #1976d2;"> + <span class="shade">700</span> + <span class="hex">#1976d2</span> + </li> + <li class="color" style="background-color: #1565c0;"> + <span class="shade expanded">800</span> + <span class="hex">#1565c0</span> + </li> + <li class="color" style="background-color: #0d47a1;"> + <span class="shade expanded">900</span> + <span class="hex">#0d47a1</span> + </li> + <li class="color dark divide" style="background-color: #82b1ff;"> + <span class="shade accent">A100</span> + <span class="hex">#82b1ff</span> + </li> + <li class="color light-strong" style="background-color: #448aff;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#448aff</span> + </li> + <li class="color" style="background-color: #2979ff;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#2979ff</span> + </li> + <li class="color" style="background-color: #2962ff;"> + <span class="shade accent">A700</span> + <span class="hex">#2962ff</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #03a9f4;"> + <span class="name dark">Light Blue</span> + <span class="shade dark">500</span> + <span class="hex dark">#03a9f4</span> + </li> + <li class="color dark" style="background-color: #e1f5fe;"> + <span class="shade expanded">50</span> + <span class="hex">#e1f5fe</span> + </li> + <li class="color dark" style="background-color: #b3e5fc;"> + <span class="shade">100</span> + <span class="hex">#b3e5fc</span> + </li> + <li class="color dark" style="background-color: #81d4fa;"> + <span class="shade expanded">200</span> + <span class="hex">#81d4fa</span> + </li> + <li class="color dark" style="background-color: #4fc3f7;"> + <span class="shade">300</span> + <span class="hex">#4fc3f7</span> + </li> + <li class="color dark" style="background-color: #29b6f6;"> + <span class="shade expanded">400</span> + <span class="hex">#29b6f6</span> + </li> + <li class="color dark" style="background-color: #03a9f4;"> + <span class="shade">500</span> + <span class="hex">#03a9f4</span> + </li> + <li class="color light-strong" style="background-color: #039be5;"> + <span class="shade expanded">600</span> + <span class="hex">#039be5</span> + </li> + <li class="color" style="background-color: #0288d1;"> + <span class="shade">700</span> + <span class="hex">#0288d1</span> + </li> + <li class="color" style="background-color: #0277bd;"> + <span class="shade expanded">800</span> + <span class="hex">#0277bd</span> + </li> + <li class="color" style="background-color: #01579b;"> + <span class="shade expanded">900</span> + <span class="hex">#01579b</span> + </li> + <li class="color dark divide" style="background-color: #80d8ff;"> + <span class="shade accent">A100</span> + <span class="hex">#80d8ff</span> + </li> + <li class="color dark" style="background-color: #40c4ff;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#40c4ff</span> + </li> + <li class="color dark" style="background-color: #00b0ff;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#00b0ff</span> + </li> + <li class="color light-strong" style="background-color: #0091ea;"> + <span class="shade accent">A700</span> + <span class="hex">#0091ea</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #00bcd4;"> + <span class="name dark">Cyan</span> + <span class="shade dark">500</span> + <span class="hex dark">#00bcd4</span> + </li> + <li class="color dark" style="background-color: #e0f7fa;"> + <span class="shade expanded">50</span> + <span class="hex">#e0f7fa</span> + </li> + <li class="color dark" style="background-color: #b2ebf2;"> + <span class="shade">100</span> + <span class="hex">#b2ebf2</span> + </li> + <li class="color dark" style="background-color: #80deea;"> + <span class="shade expanded">200</span> + <span class="hex">#80deea</span> + </li> + <li class="color dark" style="background-color: #4dd0e1;"> + <span class="shade">300</span> + <span class="hex">#4dd0e1</span> + </li> + <li class="color dark" style="background-color: #26c6da;"> + <span class="shade expanded">400</span> + <span class="hex">#26c6da</span> + </li> + <li class="color dark" style="background-color: #00bcd4;"> + <span class="shade">500</span> + <span class="hex">#00bcd4</span> + </li> + <li class="color dark" style="background-color: #00acc1;"> + <span class="shade expanded">600</span> + <span class="hex">#00acc1</span> + </li> + <li class="color" style="background-color: #0097a7;"> + <span class="shade">700</span> + <span class="hex">#0097a7</span> + </li> + <li class="color" style="background-color: #00838f;"> + <span class="shade expanded">800</span> + <span class="hex">#00838f</span> + </li> + <li class="color" style="background-color: #006064;"> + <span class="shade expanded">900</span> + <span class="hex">#006064</span> + </li> + <li class="color dark divide" style="background-color: #84ffff;"> + <span class="shade accent">A100</span> + <span class="hex">#84ffff</span> + </li> + <li class="color dark" style="background-color: #18ffff;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#18ffff</span> + </li> + <li class="color dark" style="background-color: #00e5ff;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#00e5ff</span> + </li> + <li class="color dark" style="background-color: #00b8d4;"> + <span class="shade accent">A700</span> + <span class="hex">#00b8d4</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #009688;"> + <span class="name light-strong">Teal</span> + <span class="shade light-strong">500</span> + <span class="hex light-strong">#009688</span> + </li> + <li class="color dark" style="background-color: #e0f2f1;"> + <span class="shade expanded">50</span> + <span class="hex">#e0f2f1</span> + </li> + <li class="color dark" style="background-color: #b2dfdb;"> + <span class="shade">100</span> + <span class="hex">#b2dfdb</span> + </li> + <li class="color dark" style="background-color: #80cbc4;"> + <span class="shade expanded">200</span> + <span class="hex">#80cbc4</span> + </li> + <li class="color dark" style="background-color: #4db6ac;"> + <span class="shade">300</span> + <span class="hex">#4db6ac</span> + </li> + <li class="color dark" style="background-color: #26a69a;"> + <span class="shade expanded">400</span> + <span class="hex">#26a69a</span> + </li> + <li class="color light-strong" style="background-color: #009688;"> + <span class="shade">500</span> + <span class="hex">#009688</span> + </li> + <li class="color light-strong" style="background-color: #00897b;"> + <span class="shade expanded">600</span> + <span class="hex">#00897b</span> + </li> + <li class="color light-strong" style="background-color: #00796b;"> + <span class="shade">700</span> + <span class="hex">#00796b</span> + </li> + <li class="color" style="background-color: #00695c;"> + <span class="shade expanded">800</span> + <span class="hex">#00695c</span> + </li> + <li class="color" style="background-color: #004d40;"> + <span class="shade expanded">900</span> + <span class="hex">#004d40</span> + </li> + <li class="color dark divide" style="background-color: #a7ffeb;"> + <span class="shade accent">A100</span> + <span class="hex">#a7ffeb</span> + </li> + <li class="color dark" style="background-color: #64ffda;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#64ffda</span> + </li> + <li class="color dark" style="background-color: #1de9b6;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#1de9b6</span> + </li> + <li class="color dark" style="background-color: #00bfa5;"> + <span class="shade accent">A700</span> + <span class="hex">#00bfa5</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #4caf50;"> + <span class="name dark">Green</span> + <span class="shade dark">500</span> + <span class="hex dark">#4caf50</span> + </li> + <li class="color dark" style="background-color: #e8f5e9;"> + <span class="shade expanded">50</span> + <span class="hex">#e8f5e9</span> + </li> + <li class="color dark" style="background-color: #c8e6c9;"> + <span class="shade">100</span> + <span class="hex">#c8e6c9</span> + </li> + <li class="color dark" style="background-color: #a5d6a7;"> + <span class="shade expanded">200</span> + <span class="hex">#a5d6a7</span> + </li> + <li class="color dark" style="background-color: #81c784;"> + <span class="shade">300</span> + <span class="hex">#81c784</span> + </li> + <li class="color dark" style="background-color: #66bb6a;"> + <span class="shade expanded">400</span> + <span class="hex">#66bb6a</span> + </li> + <li class="color dark" style="background-color: #4caf50;"> + <span class="shade">500</span> + <span class="hex">#4caf50</span> + </li> + <li class="color light-strong" style="background-color: #43a047;"> + <span class="shade expanded">600</span> + <span class="hex">#43a047</span> + </li> + <li class="color" style="background-color: #388e3c;"> + <span class="shade">700</span> + <span class="hex">#388e3c</span> + </li> + <li class="color" style="background-color: #2e7d32;"> + <span class="shade expanded">800</span> + <span class="hex">#2e7d32</span> + </li> + <li class="color" style="background-color: #1b5e20;"> + <span class="shade expanded">900</span> + <span class="hex">#1b5e20</span> + </li> + <li class="color dark divide" style="background-color: #b9f6ca;"> + <span class="shade accent">A100</span> + <span class="hex">#b9f6ca</span> + </li> + <li class="color dark" style="background-color: #69f0ae;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#69f0ae</span> + </li> + <li class="color dark" style="background-color: #00e676;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#00e676</span> + </li> + <li class="color dark" style="background-color: #00c853;"> + <span class="shade accent">A700</span> + <span class="hex">#00c853</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #8bc34a;"> + <span class="name dark">Light Green</span> + <span class="shade dark">500</span> + <span class="hex dark">#8bc34a</span> + </li> + <li class="color dark" style="background-color: #f1f8e9;"> + <span class="shade expanded">50</span> + <span class="hex">#f1f8e9</span> + </li> + <li class="color dark" style="background-color: #dcedc8;"> + <span class="shade">100</span> + <span class="hex">#dcedc8</span> + </li> + <li class="color dark" style="background-color: #c5e1a5;"> + <span class="shade expanded">200</span> + <span class="hex">#c5e1a5</span> + </li> + <li class="color dark" style="background-color: #aed581;"> + <span class="shade">300</span> + <span class="hex">#aed581</span> + </li> + <li class="color dark" style="background-color: #9ccc65;"> + <span class="shade expanded">400</span> + <span class="hex">#9ccc65</span> + </li> + <li class="color dark" style="background-color: #8bc34a;"> + <span class="shade">500</span> + <span class="hex">#8bc34a</span> + </li> + <li class="color dark" style="background-color: #7cb342;"> + <span class="shade expanded">600</span> + <span class="hex">#7cb342</span> + </li> + <li class="color light-strong" style="background-color: #689f38;"> + <span class="shade">700</span> + <span class="hex">#689f38</span> + </li> + <li class="color" style="background-color: #558b2f;"> + <span class="shade expanded">800</span> + <span class="hex">#558b2f</span> + </li> + <li class="color" style="background-color: #33691e;"> + <span class="shade expanded">900</span> + <span class="hex">#33691e</span> + </li> + <li class="color dark divide" style="background-color: #ccff90;"> + <span class="shade accent">A100</span> + <span class="hex">#ccff90</span> + </li> + <li class="color dark" style="background-color: #b2ff59;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#b2ff59</span> + </li> + <li class="color dark" style="background-color: #76ff03;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#76ff03</span> + </li> + <li class="color dark" style="background-color: #64dd17;"> + <span class="shade accent">A700</span> + <span class="hex">#64dd17</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #cddc39;"> + <span class="name dark">Lime</span> + <span class="shade dark">500</span> + <span class="hex dark">#cddc39</span> + </li> + <li class="color dark" style="background-color: #f9fbe7;"> + <span class="shade expanded">50</span> + <span class="hex">#f9fbe7</span> + </li> + <li class="color dark" style="background-color: #f0f4c3;"> + <span class="shade">100</span> + <span class="hex">#f0f4c3</span> + </li> + <li class="color dark" style="background-color: #e6ee9c;"> + <span class="shade expanded">200</span> + <span class="hex">#e6ee9c</span> + </li> + <li class="color dark" style="background-color: #dce775;"> + <span class="shade">300</span> + <span class="hex">#dce775</span> + </li> + <li class="color dark" style="background-color: #d4e157;"> + <span class="shade expanded">400</span> + <span class="hex">#d4e157</span> + </li> + <li class="color dark" style="background-color: #cddc39;"> + <span class="shade">500</span> + <span class="hex">#cddc39</span> + </li> + <li class="color dark" style="background-color: #c0ca33;"> + <span class="shade expanded">600</span> + <span class="hex">#c0ca33</span> + </li> + <li class="color dark" style="background-color: #afb42b;"> + <span class="shade">700</span> + <span class="hex">#afb42b</span> + </li> + <li class="color dark" style="background-color: #9e9d24;"> + <span class="shade expanded">800</span> + <span class="hex">#9e9d24</span> + </li> + <li class="color" style="background-color: #827717;"> + <span class="shade expanded">900</span> + <span class="hex">#827717</span> + </li> + <li class="color dark divide" style="background-color: #f4ff81;"> + <span class="shade accent">A100</span> + <span class="hex">#f4ff81</span> + </li> + <li class="color dark" style="background-color: #eeff41;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#eeff41</span> + </li> + <li class="color dark" style="background-color: #c6ff00;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#c6ff00</span> + </li> + <li class="color dark" style="background-color: #aeea00;"> + <span class="shade accent">A700</span> + <span class="hex">#aeea00</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #ffeb3b;"> + <span class="name dark">Yellow</span> + <span class="shade dark">500</span> + <span class="hex dark">#ffeb3b</span> + </li> + <li class="color dark" style="background-color: #fffde7;"> + <span class="shade expanded">50</span> + <span class="hex">#fffde7</span> + </li> + <li class="color dark" style="background-color: #fff9c4;"> + <span class="shade">100</span> + <span class="hex">#fff9c4</span> + </li> + <li class="color dark" style="background-color: #fff59d;"> + <span class="shade expanded">200</span> + <span class="hex">#fff59d</span> + </li> + <li class="color dark" style="background-color: #fff176;"> + <span class="shade">300</span> + <span class="hex">#fff176</span> + </li> + <li class="color dark" style="background-color: #ffee58;"> + <span class="shade expanded">400</span> + <span class="hex">#ffee58</span> + </li> + <li class="color dark" style="background-color: #ffeb3b;"> + <span class="shade">500</span> + <span class="hex">#ffeb3b</span> + </li> + <li class="color dark" style="background-color: #fdd835;"> + <span class="shade expanded">600</span> + <span class="hex">#fdd835</span> + </li> + <li class="color dark" style="background-color: #fbc02d;"> + <span class="shade">700</span> + <span class="hex">#fbc02d</span> + </li> + <li class="color dark" style="background-color: #f9a825;"> + <span class="shade expanded">800</span> + <span class="hex">#f9a825</span> + </li> + <li class="color dark" style="background-color: #f57f17;"> + <span class="shade expanded">900</span> + <span class="hex">#f57f17</span> + </li> + <li class="color dark divide" style="background-color: #ffff8d;"> + <span class="shade accent">A100</span> + <span class="hex">#ffff8d</span> + </li> + <li class="color dark" style="background-color: #ffff00;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#ffff00</span> + </li> + <li class="color dark" style="background-color: #ffea00;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#ffea00</span> + </li> + <li class="color dark" style="background-color: #ffd600;"> + <span class="shade accent">A700</span> + <span class="hex">#ffd600</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #ffc107;"> + <span class="name dark">Amber</span> + <span class="shade dark">500</span> + <span class="hex dark">#ffc107</span> + </li> + <li class="color dark" style="background-color: #fff8e1;"> + <span class="shade expanded">50</span> + <span class="hex">#fff8e1</span> + </li> + <li class="color dark" style="background-color: #ffecb3;"> + <span class="shade">100</span> + <span class="hex">#ffecb3</span> + </li> + <li class="color dark" style="background-color: #ffe082;"> + <span class="shade expanded">200</span> + <span class="hex">#ffe082</span> + </li> + <li class="color dark" style="background-color: #ffd54f;"> + <span class="shade">300</span> + <span class="hex">#ffd54f</span> + </li> + <li class="color dark" style="background-color: #ffca28;"> + <span class="shade expanded">400</span> + <span class="hex">#ffca28</span> + </li> + <li class="color dark" style="background-color: #ffc107;"> + <span class="shade">500</span> + <span class="hex">#ffc107</span> + </li> + <li class="color dark" style="background-color: #ffb300;"> + <span class="shade expanded">600</span> + <span class="hex">#ffb300</span> + </li> + <li class="color dark" style="background-color: #ffa000;"> + <span class="shade">700</span> + <span class="hex">#ffa000</span> + </li> + <li class="color dark" style="background-color: #ff8f00;"> + <span class="shade expanded">800</span> + <span class="hex">#ff8f00</span> + </li> + <li class="color dark" style="background-color: #ff6f00;"> + <span class="shade expanded">900</span> + <span class="hex">#ff6f00</span> + </li> + <li class="color dark divide" style="background-color: #ffe57f;"> + <span class="shade accent">A100</span> + <span class="hex">#ffe57f</span> + </li> + <li class="color dark" style="background-color: #ffd740;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#ffd740</span> + </li> + <li class="color dark" style="background-color: #ffc400;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#ffc400</span> + </li> + <li class="color dark" style="background-color: #ffab00;"> + <span class="shade accent">A700</span> + <span class="hex">#ffab00</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #ff9800;"> + <span class="name dark-when-small">Orange</span> + <span class="shade dark-when-small">500</span> + <span class="hex dark-when-small">#ff9800</span> + </li> + <li class="color dark" style="background-color: #fff3e0;"> + <span class="shade expanded">50</span> + <span class="hex">#fff3e0</span> + </li> + <li class="color dark" style="background-color: #ffe0b2;"> + <span class="shade">100</span> + <span class="hex">#ffe0b2</span> + </li> + <li class="color dark" style="background-color: #ffcc80;"> + <span class="shade expanded">200</span> + <span class="hex">#ffcc80</span> + </li> + <li class="color dark" style="background-color: #ffb74d;"> + <span class="shade">300</span> + <span class="hex">#ffb74d</span> + </li> + <li class="color dark" style="background-color: #ffa726;"> + <span class="shade expanded">400</span> + <span class="hex">#ffa726</span> + </li> + <li class="color dark" style="background-color: #ff9800;"> + <span class="shade">500</span> + <span class="hex">#ff9800</span> + </li> + <li class="color dark" style="background-color: #fb8c00;"> + <span class="shade expanded">600</span> + <span class="hex">#fb8c00</span> + </li> + <li class="color dark" style="background-color: #f57c00;"> + <span class="shade">700</span> + <span class="hex">#f57c00</span> + </li> + <li class="color light-strong" style="background-color: #ef6c00;"> + <span class="shade expanded">800</span> + <span class="hex">#ef6c00</span> + </li> + <li class="color" style="background-color: #e65100;"> + <span class="shade expanded">900</span> + <span class="hex">#e65100</span> + </li> + <li class="color dark divide" style="background-color: #ffd180;"> + <span class="shade accent">A100</span> + <span class="hex">#ffd180</span> + </li> + <li class="color dark" style="background-color: #ffab40;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#ffab40</span> + </li> + <li class="color dark" style="background-color: #ff9100;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#ff9100</span> + </li> + <li class="color dark" style="background-color: #ff6d00;"> + <span class="shade accent">A700</span> + <span class="hex">#ff6d00</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #ff5722;"> + <span class="name light-strong">Deep Orange</span> + <span class="shade light-strong">500</span> + <span class="hex light-strong">#ff5722</span> + </li> + <li class="color dark" style="background-color: #fbe9e7;"> + <span class="shade expanded">50</span> + <span class="hex">#fbe9e7</span> + </li> + <li class="color dark" style="background-color: #ffccbc;"> + <span class="shade">100</span> + <span class="hex">#ffccbc</span> + </li> + <li class="color dark" style="background-color: #ffab91;"> + <span class="shade expanded">200</span> + <span class="hex">#ffab91</span> + </li> + <li class="color dark" style="background-color: #ff8a65;"> + <span class="shade">300</span> + <span class="hex">#ff8a65</span> + </li> + <li class="color dark" style="background-color: #ff7043;"> + <span class="shade expanded">400</span> + <span class="hex">#ff7043</span> + </li> + <li class="color light-strong" style="background-color: #ff5722;"> + <span class="shade">500</span> + <span class="hex">#ff5722</span> + </li> + <li class="color" style="background-color: #f4511e;"> + <span class="shade expanded">600</span> + <span class="hex">#f4511e</span> + </li> + <li class="color" style="background-color: #e64a19;"> + <span class="shade">700</span> + <span class="hex">#e64a19</span> + </li> + <li class="color" style="background-color: #d84315;"> + <span class="shade expanded">800</span> + <span class="hex">#d84315</span> + </li> + <li class="color" style="background-color: #bf360c;"> + <span class="shade expanded">900</span> + <span class="hex">#bf360c</span> + </li> + <li class="color dark divide" style="background-color: #ff9e80;"> + <span class="shade accent">A100</span> + <span class="hex">#ff9e80</span> + </li> + <li class="color dark" style="background-color: #ff6e40;"> + <span class="shade accent expanded">A200</span> + <span class="hex">#ff6e40</span> + </li> + <li class="color" style="background-color: #ff3d00;"> + <span class="shade accent expanded">A400</span> + <span class="hex">#ff3d00</span> + </li> + <li class="color" style="background-color: #dd2c00;"> + <span class="shade accent">A700</span> + <span class="hex">#dd2c00</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #795548;"> + <span class="name">Brown</span> + <span class="shade">500</span> + <span class="hex">#795548</span> + </li> + <li class="color dark" style="background-color: #efebe9;"> + <span class="shade expanded">50</span> + <span class="hex">#efebe9</span> + </li> + <li class="color dark" style="background-color: #d7ccc8;"> + <span class="shade">100</span> + <span class="hex">#d7ccc8</span> + </li> + <li class="color dark" style="background-color: #bcaaa4;"> + <span class="shade expanded">200</span> + <span class="hex">#bcaaa4</span> + </li> + <li class="color light-strong" style="background-color: #a1887f;"> + <span class="shade">300</span> + <span class="hex">#a1887f</span> + </li> + <li class="color" style="background-color: #8d6e63;"> + <span class="shade expanded">400</span> + <span class="hex">#8d6e63</span> + </li> + <li class="color" style="background-color: #795548;"> + <span class="shade">500</span> + <span class="hex">#795548</span> + </li> + <li class="color" style="background-color: #6d4c41;"> + <span class="shade expanded">600</span> + <span class="hex">#6d4c41</span> + </li> + <li class="color" style="background-color: #5d4037;"> + <span class="shade">700</span> + <span class="hex">#5d4037</span> + </li> + <li class="color" style="background-color: #4e342e;"> + <span class="shade expanded">800</span> + <span class="hex">#4e342e</span> + </li> + <li class="color" style="background-color: #3e2723;"> + <span class="shade expanded">900</span> + <span class="hex">#3e2723</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #9e9e9e;"> + <span class="name dark-when-small">Grey</span> + <span class="shade dark-when-small">500</span> + <span class="hex dark-when-small">#9e9e9e</span> + </li> + <li class="color dark" style="background-color: #fafafa;"> + <span class="shade expanded">50</span> + <span class="hex">#fafafa</span> + </li> + <li class="color dark" style="background-color: #f5f5f5;"> + <span class="shade">100</span> + <span class="hex">#f5f5f5</span> + </li> + <li class="color dark" style="background-color: #eeeeee;"> + <span class="shade expanded">200</span> + <span class="hex">#eeeeee</span> + </li> + <li class="color dark" style="background-color: #e0e0e0;"> + <span class="shade">300</span> + <span class="hex">#e0e0e0</span> + </li> + <li class="color dark" style="background-color: #bdbdbd;"> + <span class="shade expanded">400</span> + <span class="hex">#bdbdbd</span> + </li> + <li class="color dark" style="background-color: #9e9e9e;"> + <span class="shade">500</span> + <span class="hex">#9e9e9e</span> + </li> + <li class="color" style="background-color: #757575;"> + <span class="shade expanded">600</span> + <span class="hex">#757575</span> + </li> + <li class="color" style="background-color: #616161;"> + <span class="shade">700</span> + <span class="hex">#616161</span> + </li> + <li class="color" style="background-color: #424242;"> + <span class="shade expanded">800</span> + <span class="hex">#424242</span> + </li> + <li class="color" style="background-color: #212121;"> + <span class="shade expanded">900</span> + <span class="hex">#212121</span> + </li> + </ul> + </section> + + + <section class="color-group"> + <ul> + <li class="color main-color" style="background-color: #607d8b;"> + <span class="name light-strong">Blue Grey</span> + <span class="shade light-strong">500</span> + <span class="hex light-strong">#607d8b</span> + </li> + <li class="color dark" style="background-color: #eceff1;"> + <span class="shade expanded">50</span> + <span class="hex">#eceff1</span> + </li> + <li class="color dark" style="background-color: #cfd8dc;"> + <span class="shade">100</span> + <span class="hex">#cfd8dc</span> + </li> + <li class="color dark" style="background-color: #b0bec5;"> + <span class="shade expanded">200</span> + <span class="hex">#b0bec5</span> + </li> + <li class="color dark" style="background-color: #90a4ae;"> + <span class="shade">300</span> + <span class="hex">#90a4ae</span> + </li> + <li class="color light-strong" style="background-color: #78909c;"> + <span class="shade expanded">400</span> + <span class="hex">#78909c</span> + </li> + <li class="color" style="background-color: #607d8b;"> + <span class="shade">500</span> + <span class="hex">#607d8b</span> + </li> + <li class="color" style="background-color: #546e7a;"> + <span class="shade expanded">600</span> + <span class="hex">#546e7a</span> + </li> + <li class="color" style="background-color: #455a64;"> + <span class="shade">700</span> + <span class="hex">#455a64</span> + </li> + <li class="color" style="background-color: #37474f;"> + <span class="shade expanded">800</span> + <span class="hex">#37474f</span> + </li> + <li class="color" style="background-color: #263238;"> + <span class="shade expanded">900</span> + <span class="hex">#263238</span> + </li> + </ul> + </section> + + <div class="module-end"></div> +</div> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/PackIconDataFactory.template.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/PackIconDataFactory.template.cs new file mode 100644 index 000000000..daef63c48 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/PackIconDataFactory.template.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; + +namespace MaterialDesignThemes.Wpf +{ + /// ****************************************** + /// This code is auto generated. Do not amend. + /// ****************************************** + + internal static class PackIconDataFactory + { + internal static IDictionary<PackIconKind, string> Create() => new Dictionary<PackIconKind, string> + { + { PackIconKind.AutoGenerated, "data in here" }, + { PackIconKind.DoNotAmend, "data in here" } + }; + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/PackIconKind.template.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/PackIconKind.template.cs new file mode 100644 index 000000000..8d4f947de --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/PackIconKind.template.cs @@ -0,0 +1,20 @@ +namespace MaterialDesignThemes.Wpf +{ + /// ****************************************** + /// This code is auto generated. Do not amend. + /// ****************************************** + + /// <summary> + /// List of available icons for use with <see cref="PackIcon" />. + /// </summary> + /// <remarks> + /// All icons sourced from Material Design Icons Font - <see cref="https://materialdesignicons.com/"/> - in accordance of + /// <see cref="https://github.com/Templarian/MaterialDesign/blob/master/license.txt"/>. + /// </remarks> + public enum PackIconKind + { + AutoGenerated, + DoNotAmend + } +} + diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/Program.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/Program.cs new file mode 100644 index 000000000..ddb109dc7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/Program.cs @@ -0,0 +1,282 @@ +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Xml.Linq; + +namespace mdresgen +{ + class Program + { + private const string BaseSnippetLocation = "MaterialColourSwatchesSnippet.xml"; + + // Legacy + private const string OldXamlFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\MaterialDesignColor.{0}.xaml"; + private const string OldXamlNamedFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\MaterialDesignColor.{0}.Named.xaml"; + + + private const string XamlPrimaryFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\MaterialDesignColor.{0}.Primary.xaml"; + private const string XamlAccentFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\MaterialDesignColor.{0}.Accent.xaml"; + private const string XamlPrimaryNamedFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\MaterialDesignColor.{0}.Named.Primary.xaml"; + private const string XamlAccentNamedFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\MaterialDesignColor.{0}.Named.Accent.xaml"; + + private const string RecommendedPrimaryFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\Recommended\Primary\MaterialDesignColor.{0}.xaml"; + private const string RecommendedAccentFileFormat = @"..\..\..\MaterialDesignColors.Wpf\Themes\Recommended\Accent\MaterialDesignColor.{0}.xaml"; + private const string RecommendedPrimaryTemplateLocation = "RecommendedPrimaryTemplate.xaml"; + private const string RecommendedAccentTemplateLocation = "RecommendedAccentTemplate.xaml"; + + private static readonly IDictionary<string, Color> ClassNameToForegroundIndex = new Dictionary<string, Color>() + { + {"color", Color.FromArgb((int) (255*0.87), 255, 255, 255)}, + {"color ", Color.FromArgb((int) (255*0.87), 255, 255, 255)}, + {"color dark divide", Color.FromArgb((int) (255*0.87), 0, 0, 0)}, + {"color dark", Color.FromArgb((int) (255*0.87), 0, 0, 0)}, + {"color dark-strong", Color.FromArgb((int) (255*0.87), 0, 0, 0)}, + {"color light-strong", Color.FromArgb(255, 255, 255)}, + {"color dark-when-small", Color.Black} + }; + + static void Main(string[] args) + { + var xDocument = XDocument.Load(BaseSnippetLocation); + + if (args.Length == 0) + GenerateXaml(xDocument, false); + else if (args.Contains("all-swatches")) + { + GenerateXaml(xDocument); + GenerateXaml(xDocument, true); + GenerateOldXaml(xDocument); + GenerateOldXaml(xDocument, true); + } + else if (args.Contains("json")) + GenerateJson(xDocument); + else if (args.Contains("named")) + GenerateXaml(xDocument, true); + else if (args.Contains("old-named")) + GenerateOldXaml(xDocument, true); + else if (args.Contains("old")) + GenerateOldXaml(xDocument, false); + else if (args.Contains("icons")) + new IconThing().Run(); + else + GenerateXaml(xDocument, false); + + Console.WriteLine(); + Console.WriteLine(); + Console.WriteLine("FINISHED"); + Console.ReadKey(); + } + + private static void GenerateXaml(XDocument xDocument, bool named = false) + { + Console.WriteLine("Generating {0} XAMLs & recommended colors", named ? "named" : "regular"); + Console.WriteLine(); + + var recommendedPrimary = File.ReadAllText(RecommendedPrimaryTemplateLocation); + var recommendedAccent = File.ReadAllText(RecommendedAccentTemplateLocation); + + foreach (var color in xDocument.Root.Elements("section")) + { + bool primaryEmpty; + bool accentEmpty; + + var primary = ToResourceDictionary(color, out primaryEmpty, named, ColorMode.PrimaryOnly); + var accent = ToResourceDictionary(color, out accentEmpty, named, ColorMode.AccentOnly); + + var longcolor = primary.Item1; + var shortcolor = longcolor.Replace(" ", ""); + + if (string.Compare(shortcolor, "black", StringComparison.InvariantCultureIgnoreCase) == 0) continue; + + Console.WriteLine("{0} \t Primary: {1} \t Accent: {2}", longcolor.PadRight(15, ' '), !primaryEmpty, !accentEmpty); + + if (!primaryEmpty) + { + primary.Item2.Save( + string.Format( + named ? XamlPrimaryNamedFileFormat : XamlPrimaryFileFormat, + shortcolor + )); + + File.WriteAllText( + string.Format(RecommendedPrimaryFileFormat, shortcolor), + recommendedPrimary.Replace("$COLOR", shortcolor).Replace("$LONG_COLOR", longcolor) + ); + } + + if (!accentEmpty) + { + accent.Item2.Save( + string.Format( + named ? XamlAccentNamedFileFormat : XamlAccentFileFormat, + shortcolor + )); + + File.WriteAllText( + string.Format(RecommendedAccentFileFormat, shortcolor), + recommendedAccent.Replace("$COLOR", shortcolor).Replace("$LONG_COLOR", longcolor) + ); + } + } + } + + private static void GenerateOldXaml(XDocument xDocument, bool named = false) + { + Console.WriteLine("Generating old {0} XAMLs", named ? "named" : "regular"); + + bool dummy; + + foreach (var color in xDocument.Root.Elements("section").Select(el => ToResourceDictionary(el, out dummy, named))) + { + color.Item2.Save( + string.Format( + named ? OldXamlNamedFileFormat : OldXamlFileFormat, + color.Item1.Replace(" ", "") + )); + } + } + + private static void GenerateJson(XDocument xDocument) + { + const string file = @"..\..\..\web\scripts\Swatches.js"; + + + var json = new JArray( + xDocument.Root.Elements("section") + .Select(sectionElement => new JObject( + new JProperty("name", GetColourName(sectionElement)), + new JProperty("colors", + new JArray( + sectionElement.Element("ul").Elements("li").Skip(1).Select(CreateJsonColourPair) + ) + ) + )) + ).ToString(); + + //var javaScript = $"var swatches={json};"; + var javaScript = string.Format("var swatches={0};", json); + + File.WriteAllText(file, javaScript); + } + + private static JObject CreateJsonColourPair(XElement liElement) + { + var name = liElement.Elements("span").First().Value; + var hex = liElement.Elements("span").Last().Value; + + var prefix = "Primary"; + if (name.StartsWith("A")) + { + prefix = "Accent"; + name = name.Skip(1).Aggregate("", (current, next) => current + next); + } + + var liClass = liElement.Attribute("class").Value; + Color foregroundColour; + if (!ClassNameToForegroundIndex.TryGetValue(liClass, out foregroundColour)) + throw new Exception("Unable to map foreground color from class " + liClass); + + var foreGroundColorHex = string.Format("#{0}{1}{2}", + ByteToHex(foregroundColour.R), + ByteToHex(foregroundColour.G), + ByteToHex(foregroundColour.B)); + + var foregroundOpacity = Math.Round((double)foregroundColour.A / (255.0), 2); + + return new JObject( + new JProperty("backgroundName", string.Format("{0}{1}", prefix, name)), + new JProperty("backgroundColour", hex), + new JProperty("foregroundName", string.Format("{0}{1}Foreground", prefix, name)), + new JProperty("foregroundColour", foreGroundColorHex), + new JProperty("foregroundOpacity", foregroundOpacity) + ); + } + + private static Tuple<string, XDocument> ToResourceDictionary(XElement sectionElement, out bool empty, bool named = false, ColorMode mode = ColorMode.All) + { + empty = true; + + var colour = GetColourName(sectionElement); + + XNamespace defaultNamespace = @"http://schemas.microsoft.com/winfx/2006/xaml/presentation"; + + var xNamespace = XNamespace.Get("http://schemas.microsoft.com/winfx/2006/xaml"); + var doc = + new XDocument(new XElement(defaultNamespace + "ResourceDictionary", + new XAttribute(XNamespace.Xmlns + "x", xNamespace))); + + foreach (var liElement in sectionElement.Element("ul").Elements("li").Skip(1)) + { + if (AddColour(liElement, defaultNamespace, xNamespace, doc, named ? colour : "", mode)) + empty = false; + } + + return new Tuple<string, XDocument>(colour, doc); + + } + + private static string GetColourName(XElement sectionElement) + { + return sectionElement.Element("ul").Element("li").Elements("span").First().Value; + } + + private static bool AddColour(XElement liElement, XNamespace defaultNamespace, XNamespace xNamespace, XDocument doc, string swatchName = "", ColorMode mode = ColorMode.All) + { + var name = liElement.Elements("span").First().Value; + var hex = liElement.Elements("span").Last().Value; + + var prefix = "Primary"; + if (name.StartsWith("A", StringComparison.Ordinal)) + { + if (mode == ColorMode.PrimaryOnly) + return false; + + prefix = "Accent"; + name = name.Skip(1).Aggregate("", (current, next) => current + next); + } + else + { + if (mode == ColorMode.AccentOnly) + return false; + } + + var backgroundColourElement = new XElement(defaultNamespace + "Color", hex); + // new XAttribute() + backgroundColourElement.Add(new XAttribute(xNamespace + "Key", string.Format("{0}{1}{2}", swatchName, prefix, name))); + doc.Root.Add(backgroundColourElement); + + var liClass = liElement.Attribute("class").Value; + Color foregroundColour; + if (!ClassNameToForegroundIndex.TryGetValue(liClass, out foregroundColour)) + throw new Exception("Unable to map foreground color from class " + liClass); + + var foreGroundColorHex = string.Format("#{0}{1}{2}{3}", + ByteToHex(foregroundColour.A), + ByteToHex(foregroundColour.R), + ByteToHex(foregroundColour.G), + ByteToHex(foregroundColour.B)); + + var foregroundColourElement = new XElement(defaultNamespace + "Color", foreGroundColorHex); + foregroundColourElement.Add(new XAttribute(xNamespace + "Key", string.Format("{0}{1}{2}Foreground", swatchName, prefix, name))); + doc.Root.Add(foregroundColourElement); + + return true; + } + + private static string ByteToHex(byte b) + { + var result = b.ToString("X"); + return result.Length == 1 ? "0" + result : result; + } + + enum ColorMode + { + All, + PrimaryOnly, + AccentOnly + } + } +} diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/Properties/AssemblyInfo.cs b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..e2ebc7fa0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("mdresgen")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("mdresgen")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("ebd0d17e-3c0c-4dc1-bc10-c9a4f3510560")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/RecommendedAccentTemplate.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/RecommendedAccentTemplate.xaml new file mode 100644 index 000000000..3fe8486f8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/RecommendedAccentTemplate.xaml @@ -0,0 +1,12 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.$COLOR.Accent.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent700}" po:Freeze="True" /> + <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/RecommendedPrimaryTemplate.xaml b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/RecommendedPrimaryTemplate.xaml new file mode 100644 index 000000000..d77001beb --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/RecommendedPrimaryTemplate.xaml @@ -0,0 +1,16 @@ +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"> + + <ResourceDictionary.MergedDictionaries> + <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.$COLOR.Primary.xaml" /> + </ResourceDictionary.MergedDictionaries> + + <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary200}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary200Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary500}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary500Foreground}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary700}" po:Freeze="True" /> + <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary700Foreground}" po:Freeze="True" /> + +</ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/mdresgen.csproj b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/mdresgen.csproj new file mode 100644 index 000000000..773dc4c9f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/mdresgen.csproj @@ -0,0 +1,163 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{8E2BD5CB-1C31-4226-8A0C-7D5BD015EF43}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>mdresgen</RootNamespace> + <AssemblyName>mdresgen</AssemblyName> + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> + <RestorePackages>true</RestorePackages> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppVeyor|AnyCPU'"> + <OutputPath>bin\AppVeyor\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>AnyCPU</PlatformTarget> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <ItemGroup> + <Reference Include="Humanizer, Version=1.37.7.0, Culture=neutral, PublicKeyToken=979442b78dfc278e, processorArchitecture=MSIL"> + <HintPath>..\packages\Humanizer.1.37.7\lib\portable-win+net40+sl50+wp8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Humanizer.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.CodeAnalysis, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.CodeAnalysis.Common.1.1.1\lib\net45\Microsoft.CodeAnalysis.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.1.1.1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.1.1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.1.1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.1.1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\System.Collections.Immutable.1.1.37\lib\dotnet\System.Collections.Immutable.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Composition.AttributedModel, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Composition.Convention, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Composition.Hosting, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Composition.Runtime, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Composition.TypedParts, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Core" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Reflection.Metadata, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\System.Reflection.Metadata.1.1.0\lib\dotnet5.2\System.Reflection.Metadata.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <None Include="PackIconDataFactory.template.cs"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <Compile Include="IconDataFactorySyntaxRewriter.cs" /> + <Compile Include="IconThing.cs" /> + <None Include="PackIconKind.template.cs"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + <None Include="packages.config" /> + </ItemGroup> + <ItemGroup> + <Content Include="MaterialColourSwatchesSnippet.xml"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <None Include="RecommendedAccentTemplate.xaml"> + <Generator>MSBuild:Compile</Generator> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <None Include="RecommendedPrimaryTemplate.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + </ItemGroup> + <ItemGroup> + <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" /> + <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> + <PropertyGroup> + <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> + </PropertyGroup> + <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" /> + </Target> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/packages.config b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/packages.config new file mode 100644 index 000000000..d22c38152 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/mdresgen/packages.config @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Humanizer" version="1.37.7" targetFramework="net45" /> + <package id="Microsoft.CodeAnalysis.Analyzers" version="1.1.0" targetFramework="net45" /> + <package id="Microsoft.CodeAnalysis.Common" version="1.1.1" targetFramework="net45" /> + <package id="Microsoft.CodeAnalysis.CSharp" version="1.1.1" targetFramework="net45" /> + <package id="Microsoft.CodeAnalysis.CSharp.Workspaces" version="1.1.1" targetFramework="net45" /> + <package id="Microsoft.CodeAnalysis.Workspaces.Common" version="1.1.1" targetFramework="net45" /> + <package id="Microsoft.Composition" version="1.0.27" targetFramework="net45" /> + <package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" /> + <package id="System.Collections" version="4.0.0" targetFramework="net45" /> + <package id="System.Collections.Immutable" version="1.1.37" targetFramework="net45" /> + <package id="System.Diagnostics.Debug" version="4.0.0" targetFramework="net45" /> + <package id="System.Globalization" version="4.0.0" targetFramework="net45" /> + <package id="System.IO" version="4.0.0" targetFramework="net45" /> + <package id="System.Linq" version="4.0.0" targetFramework="net45" /> + <package id="System.Reflection" version="4.0.0" targetFramework="net45" /> + <package id="System.Reflection.Extensions" version="4.0.0" targetFramework="net45" /> + <package id="System.Reflection.Metadata" version="1.1.0" targetFramework="net45" /> + <package id="System.Reflection.Primitives" version="4.0.0" targetFramework="net45" /> + <package id="System.Resources.ResourceManager" version="4.0.0" targetFramework="net45" /> + <package id="System.Runtime" version="4.0.0" targetFramework="net45" /> + <package id="System.Runtime.Extensions" version="4.0.0" targetFramework="net45" /> + <package id="System.Runtime.InteropServices" version="4.0.0" targetFramework="net45" /> + <package id="System.Text.Encoding" version="4.0.0" targetFramework="net45" /> + <package id="System.Text.Encoding.Extensions" version="4.0.0" targetFramework="net45" /> + <package id="System.Threading" version="4.0.0" targetFramework="net45" /> +</packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/paket.dependencies b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/paket.dependencies new file mode 100644 index 000000000..5e7acafb0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/paket.dependencies @@ -0,0 +1,18 @@ +source https://nuget.org/api/v2 +framework: auto-detect + +nuget MahApps.Metro +nuget Dragablz ~> 0.0.3 +nuget Moq ~> 4.7 +nuget NSubstitute ~> 2.0 +nuget RhinoMocks 3.6.1 +nuget Shouldly ~> 2.8 +nuget xunit ~> 2.2 +nuget ShowMeTheXAML ~> 1.0.9 +nuget ShowMeTheXAML.AvalonEdit ~> 1.0.9 +nuget ShowMeTheXAML.MSBuild ~> 1.0.9 + +github ControlzEx/ControlzEx:e687c6ac4279c4e513b7ef9a75622411350db874 src/ControlzEx/PopupEx.cs +github ControlzEx/ControlzEx:e687c6ac4279c4e513b7ef9a75622411350db874 src/ControlzEx/PackIconBase.cs +github ControlzEx/ControlzEx:e687c6ac4279c4e513b7ef9a75622411350db874 src/ControlzEx/BadgedEx.cs +github samueldjack/VirtualCollection:e63d891c252c2ac1a3ebb26dddb9a3d89effe3f2 VirtualCollection/VirtualCollection/VirtualizingWrapPanel.cs diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/paket.lock b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/paket.lock new file mode 100644 index 000000000..7f74d3841 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/paket.lock @@ -0,0 +1,47 @@ +RESTRICTION: || (== net45) (== net452) +NUGET + remote: https://www.nuget.org/api/v2 + AvalonEdit (5.0.4) + Castle.Core (4.2.1) + Dragablz (0.0.3.197) + MahApps.Metro (1.5) + Microsoft.NETCore.Platforms (2.0.1) - restriction: == net45 + Moq (4.7.145) + Castle.Core (>= 4.2.1) + NETStandard.Library (2.0.1) - restriction: == net45 + Microsoft.NETCore.Platforms (>= 1.1) + System.Runtime.InteropServices.RuntimeInformation (>= 4.3) + NSubstitute (2.0.3) + RhinoMocks (3.6.1) + Shouldly (2.8.3) + ShowMeTheXAML (1.0.9) + ShowMeTheXAML.AvalonEdit (1.0.9) + AvalonEdit (>= 5.0.4 < 5.1) + ShowMeTheXAML (>= 1.0.9 < 1.2) + ShowMeTheXAML.MSBuild (1.0.9) + ShowMeTheXAML (>= 1.0.9 < 1.2) + System.Runtime.InteropServices.RuntimeInformation (4.3) - restriction: == net45 + xunit (2.3.1) + xunit.analyzers (>= 0.7) + xunit.assert (2.3.1) + xunit.core (2.3.1) + xunit.abstractions (2.0.1) + xunit.analyzers (0.8) + xunit.assert (2.3.1) + NETStandard.Library (>= 1.6.1) - restriction: == net45 + xunit.core (2.3.1) + xunit.extensibility.core (2.3.1) + xunit.extensibility.execution (2.3.1) + xunit.extensibility.core (2.3.1) + NETStandard.Library (>= 1.6.1) - restriction: == net45 + xunit.abstractions (>= 2.0.1) + xunit.extensibility.execution (2.3.1) + NETStandard.Library (>= 1.6.1) - restriction: == net45 + xunit.extensibility.core (2.3.1) +GITHUB + remote: ControlzEx/ControlzEx + src/ControlzEx/BadgedEx.cs (e687c6ac4279c4e513b7ef9a75622411350db874) + src/ControlzEx/PackIconBase.cs (e687c6ac4279c4e513b7ef9a75622411350db874) + src/ControlzEx/PopupEx.cs (e687c6ac4279c4e513b7ef9a75622411350db874) + remote: samueldjack/VirtualCollection + VirtualCollection/VirtualCollection/VirtualizingWrapPanel.cs (e63d891c252c2ac1a3ebb26dddb9a3d89effe3f2)
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/PaletteBuilder.html b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/PaletteBuilder.html new file mode 100644 index 000000000..31e55e826 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/PaletteBuilder.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<head> + <title>Material Design in XAML Toolkit Palette Builder</title> + <link rel="stylesheet" href="styles/style.css" /> + <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> + <script src="scripts/Swatches.js"></script> + <script src="scripts/react.js"></script> + <body> + <div id="header"> + <h1>Material Design in XAML Toolkit Palette Builder</h1> + <p>This isn't a web demo/style resource for Material Design, but is a tool for building a Material Design palette and ResourceDictionary for XAML applications using the <a href="https://github.com/ButchersBoy/MaterialDesignInXamlToolkit">Material Design in XAML Toolkit</a>.</p> + </div> + <div id="huesContainer"> + <div> + <h2>Hue Selector</h2> + <div id="hues"></div> + </div> + </div> + <div id="swatchesScroller"> + <h2>Swatches Selector</h2> + <div id="swatches"></div> + </div> + + </body> + <script src="scripts/PaletteBuilder.js"></script> +</head> diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Cards.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Cards.png Binary files differnew file mode 100644 index 000000000..2ae535861 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Cards.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/ClockDemo.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/ClockDemo.gif Binary files differnew file mode 100644 index 000000000..4b7c4df39 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/ClockDemo.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/DatePicker.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/DatePicker.gif Binary files differnew file mode 100644 index 000000000..8718a7d4d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/DatePicker.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Dialogs.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Dialogs.gif Binary files differnew file mode 100644 index 000000000..168fc8bb0 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Dialogs.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Dialogs.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Dialogs.png Binary files differnew file mode 100644 index 000000000..aaa43c466 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/Dialogs.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/FieldsDemo.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/FieldsDemo.gif Binary files differnew file mode 100644 index 000000000..60d3f632a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/FieldsDemo.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.png Binary files differnew file mode 100644 index 000000000..c0f1e6d1e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.psd b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.psd Binary files differnew file mode 100644 index 000000000..58828738c --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.psd diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.xcf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.xcf Binary files differnew file mode 100644 index 000000000..40d3144ab --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML.xcf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML100.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML100.png Binary files differnew file mode 100644 index 000000000..fd8dceb13 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML100.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML128.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML128.png Binary files differnew file mode 100644 index 000000000..b56dd8ded --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML128.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML28.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML28.png Binary files differnew file mode 100644 index 000000000..af7636f07 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML28.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML32.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML32.png Binary files differnew file mode 100644 index 000000000..6050e05cf --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML32.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML64.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML64.png Binary files differnew file mode 100644 index 000000000..8c36074e7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAML64.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAMLclipped.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAMLclipped.png Binary files differnew file mode 100644 index 000000000..a0e432745 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MD4XAMLclipped.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MashUp.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MashUp.gif Binary files differnew file mode 100644 index 000000000..888f95039 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MashUp.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MashUp_2016_01_31.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MashUp_2016_01_31.gif Binary files differnew file mode 100644 index 000000000..f4f83f72f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MashUp_2016_01_31.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MaterialDesign.MahApps.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MaterialDesign.MahApps.png Binary files differnew file mode 100644 index 000000000..ddae49bd9 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MaterialDesign.MahApps.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MaterialDesign.MahApps.xcf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MaterialDesign.MahApps.xcf Binary files differnew file mode 100644 index 000000000..187ce5208 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MaterialDesign.MahApps.xcf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MenusDemo.jpg b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MenusDemo.jpg Binary files differnew file mode 100644 index 000000000..c0cce48d8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MenusDemo.jpg diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MultiFloatingActionButton.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MultiFloatingActionButton.gif Binary files differnew file mode 100644 index 000000000..0c5cf8c0f --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/MultiFloatingActionButton.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/SliderDemo.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/SliderDemo.gif Binary files differnew file mode 100644 index 000000000..308e24f40 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/SliderDemo.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/modern-wpf.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/modern-wpf.png Binary files differnew file mode 100644 index 000000000..69af773f8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/modern-wpf.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/modern-wpf.xcf b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/modern-wpf.xcf Binary files differnew file mode 100644 index 000000000..55c1f794d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/modern-wpf.xcf diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-buttons.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-buttons.png Binary files differnew file mode 100644 index 000000000..2f912ec97 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-buttons.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-cards.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-cards.png Binary files differnew file mode 100644 index 000000000..201f13403 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-cards.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-chips.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-chips.png Binary files differnew file mode 100644 index 000000000..48a0b5835 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-chips.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-colorzones.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-colorzones.png Binary files differnew file mode 100644 index 000000000..73dd537f2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-colorzones.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-datagrid.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-datagrid.png Binary files differnew file mode 100644 index 000000000..27db1b78d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-datagrid.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-dialogs.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-dialogs.png Binary files differnew file mode 100644 index 000000000..ee45349ff --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-dialogs.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-fields.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-fields.png Binary files differnew file mode 100644 index 000000000..cf3261cac --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-fields.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-groupbox.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-groupbox.png Binary files differnew file mode 100644 index 000000000..4d6a4776e --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-groupbox.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-home.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-home.png Binary files differnew file mode 100644 index 000000000..45f8d6ba7 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-home.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-iconpack.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-iconpack.png Binary files differnew file mode 100644 index 000000000..06779a0bd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-iconpack.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-lists.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-lists.png Binary files differnew file mode 100644 index 000000000..7cd899cc8 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-lists.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-menutoolbar.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-menutoolbar.png Binary files differnew file mode 100644 index 000000000..222aaa817 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-menutoolbar.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-palette.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-palette.png Binary files differnew file mode 100644 index 000000000..c21221a7d --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-palette.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-pickers.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-pickers.png Binary files differnew file mode 100644 index 000000000..8d04cfbbd --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-pickers.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-progress.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-progress.png Binary files differnew file mode 100644 index 000000000..7dbe0745b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-progress.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-shadows.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-shadows.png Binary files differnew file mode 100644 index 000000000..38c105f73 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-shadows.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-sliders.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-sliders.png Binary files differnew file mode 100644 index 000000000..f32d5e0d2 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-sliders.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-treeview.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-treeview.png Binary files differnew file mode 100644 index 000000000..fd300539b --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-treeview.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-typography.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-typography.png Binary files differnew file mode 100644 index 000000000..cdc0a7811 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/screen-typography.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/transitions-preview.gif b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/transitions-preview.gif Binary files differnew file mode 100644 index 000000000..0f325a852 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/transitions-preview.gif diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/wikiscreen-quickstart.png b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/wikiscreen-quickstart.png Binary files differnew file mode 100644 index 000000000..910349815 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/images/wikiscreen-quickstart.png diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/jsx/PaletteBuilder.js b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/jsx/PaletteBuilder.js new file mode 100644 index 000000000..8cc80f140 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/jsx/PaletteBuilder.js @@ -0,0 +1,192 @@ +function colourItemFactory (colorItem, isSelected, onSelect) { + return ( + <Color item={colorItem} isSelected={isSelected} onSelectChanged={onSelect} /> + ); +} + +function colourItemMapper (colorItem) { + return colourItemFactory(colorItem); +} + +function isAccentColor (colorItem) { + return colorItem.backgroundName.indexOf("Primary", 0) == -1; +} + +var Color = React.createClass({ + _handleCheckChange: function(e) { + if (!this.props.onSelectChanged) + return; + + this.props.onSelectChanged(this.props.item, e.target.checked); + }, + getInitialState: function() { + return {isSelected: this.props.isSelected}; + }, + render: function() { + var bgStyle = { + background:this.props.item.backgroundColour + }; + var fgStyle = { + color:this.props.item.foregroundColour, + opacity:this.props.item.foregroundOpacity + }; + + var checkVis = (this.props.onSelectChanged) + ? "visible" + : "hidden"; + var checkStyle = { + visibility:checkVis + }; + + return ( + <div className="swatchColor" style={bgStyle}> + <span style={fgStyle}>{this.props.item.backgroundName}</span> + <input ref="checkbox" style={checkStyle} type="checkbox" onChange={this._handleCheckChange} checked={this.props.isSelected} /> + </div> + ); + } +}); + +var SwatchSelector = React.createClass({ + handleUseClick: function(isAccent, e) { + e.preventDefault(); + this.props.onUseClick(isAccent, e); + }, + render: function() { + return ( + <div>Use <a href="#" onClick={this.handleUseClick.bind(this, false)}>Primary</a> <a href="#" onClick={this.handleUseClick.bind(this, true)}>Accent</a></div> + ); + } +}); + +var Swatch = React.createClass({ + handleUseClick: function(index, isAccent, e) { + this.props.onUseClick(index, isAccent, e); + }, + render: function() { + var colorNodes = this.props.colors.map(colourItemMapper); + return ( + <div className="swatch"> + {this.props.name} + <SwatchSelector onUseClick={this.handleUseClick.bind(this, this.props.index)} /> + {colorNodes} + </div> + ); + } +}); + +var SwatchesBox = React.createClass({ + handleUseClick: function(index, isAccent, e) { + this.props.onUseClick(index, isAccent); + }, + render: function() { + var swatchNodes = this.props.swatches.map(function(swatch, index) { + return ( + <Swatch name={swatch.name} colors={swatch.colors} index={index} onUseClick={this.handleUseClick} /> + ); + }, this); + + return ( + <div> + {swatchNodes} + </div> + ); + } +}); + +function generateHuesState(primarySwatchIndex, accentSwatchIndex, primaryColorIndices, accentColorIndex) { + var primaryColours = swatches[primarySwatchIndex].colors.filter(function(colorItem) { + return colorItem.backgroundName.lastIndexOf("Primary") === 0; + }); + var accentColours = swatches[accentSwatchIndex].colors.filter(function(colorItem) { + return colorItem.backgroundName.lastIndexOf("Accent") === 0; + }); + var primaryColorModels = primaryColours.map(function(colorItem, i) { + return { + colorItem: colorItem, + isSelected: primaryColorIndices.indexOf(i) > -1 + } + }); + var accentColorModels = accentColours.map(function(colorItem, i) { + return { + colorItem: colorItem, + isSelected: accentColorIndex == i + } + }); + return { + primaryColorModels: primaryColorModels, + accentColorModels: accentColorModels, + generatedFrom: { + primarySwatchIndex: primarySwatchIndex, + accentSwatchIndex: accentSwatchIndex, + primaryColorIndices: primaryColorIndices, + accentColorIndex: accentColorIndex + } + }; +} + +var HuesBox = React.createClass({ + getInitialState: function() { + return generateHuesState(4, 10, [3,5,7], 2); + }, + handleColorSelect: function (colorIndex, color, isChecked) { + var newState; + if (isAccentColor(color)) + newState = generateHuesState( + this.state.generatedFrom.primarySwatchIndex, + this.state.generatedFrom.accentSwatchIndex, + this.state.generatedFrom.primaryColorIndices, + colorIndex); + else + { + if (this.state.generatedFrom.primaryColorIndices.indexOf(colorIndex) > -1 && isChecked) + return; + + var newIndices = this.state.generatedFrom.primaryColorIndices.slice(); + newIndices.pop(); + newIndices.unshift(colorIndex); + + newState = generateHuesState( + this.state.generatedFrom.primarySwatchIndex, + this.state.generatedFrom.accentSwatchIndex, + newIndices, + this.state.generatedFrom.accentColorIndex); + } + this.setState(newState); + }, + render: function() { + var primaryColourNodes = this.state.primaryColorModels.map(function(model, i) { + return colourItemFactory(model.colorItem, model.isSelected, this.handleColorSelect.bind(this, i)); + }, this); + var accentColourNodes = this.state.accentColorModels.map(function(model, i) { + return colourItemFactory(model.colorItem, model.isSelected, this.handleColorSelect.bind(this, i)); + }, this); + return ( + <div> + {primaryColourNodes} + {accentColourNodes} + </div> + ); + } +}); + +var huesBox = React.render( + <HuesBox />, + document.getElementById('hues') + ); + +function mergeSwatch(index, isAccent) { + var state = huesBox.state; + var newState = generateHuesState( + isAccent ? huesBox.state.generatedFrom.primarySwatchIndex : index, + !isAccent ? huesBox.state.generatedFrom.accentSwatchIndex : index, + huesBox.state.generatedFrom.primaryColorIndices, + huesBox.state.generatedFrom.accentColorIndex); + + huesBox.setState(newState); +} + +React.render( + <SwatchesBox swatches={swatches} onUseClick={mergeSwatch} />, + document.getElementById('swatches') + ); diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/PaletteBuilder.js b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/PaletteBuilder.js new file mode 100644 index 000000000..919f6a69a --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/PaletteBuilder.js @@ -0,0 +1,192 @@ +function colourItemFactory (colorItem, isSelected, onSelect) { + return ( + React.createElement(Color, {item: colorItem, isSelected: isSelected, onSelectChanged: onSelect}) + ); +} + +function colourItemMapper (colorItem) { + return colourItemFactory(colorItem); +} + +function isAccentColor (colorItem) { + return colorItem.backgroundName.indexOf("Primary", 0) == -1; +} + +var Color = React.createClass({displayName: "Color", + _handleCheckChange: function(e) { + if (!this.props.onSelectChanged) + return; + + this.props.onSelectChanged(this.props.item, e.target.checked); + }, + getInitialState: function() { + return {isSelected: this.props.isSelected}; + }, + render: function() { + var bgStyle = { + background:this.props.item.backgroundColour + }; + var fgStyle = { + color:this.props.item.foregroundColour, + opacity:this.props.item.foregroundOpacity + }; + + var checkVis = (this.props.onSelectChanged) + ? "visible" + : "hidden"; + var checkStyle = { + visibility:checkVis + }; + + return ( + React.createElement("div", {className: "swatchColor", style: bgStyle}, + React.createElement("span", {style: fgStyle}, this.props.item.backgroundName), + React.createElement("input", {ref: "checkbox", style: checkStyle, type: "checkbox", onChange: this._handleCheckChange, checked: this.props.isSelected}) + ) + ); + } +}); + +var SwatchSelector = React.createClass({displayName: "SwatchSelector", + handleUseClick: function(isAccent, e) { + e.preventDefault(); + this.props.onUseClick(isAccent, e); + }, + render: function() { + return ( + React.createElement("div", null, "Use ", React.createElement("a", {href: "#", onClick: this.handleUseClick.bind(this, false)}, "Primary"), " ", React.createElement("a", {href: "#", onClick: this.handleUseClick.bind(this, true)}, "Accent")) + ); + } +}); + +var Swatch = React.createClass({displayName: "Swatch", + handleUseClick: function(index, isAccent, e) { + this.props.onUseClick(index, isAccent, e); + }, + render: function() { + var colorNodes = this.props.colors.map(colourItemMapper); + return ( + React.createElement("div", {className: "swatch"}, + this.props.name, + React.createElement(SwatchSelector, {onUseClick: this.handleUseClick.bind(this, this.props.index)}), + colorNodes + ) + ); + } +}); + +var SwatchesBox = React.createClass({displayName: "SwatchesBox", + handleUseClick: function(index, isAccent, e) { + this.props.onUseClick(index, isAccent); + }, + render: function() { + var swatchNodes = this.props.swatches.map(function(swatch, index) { + return ( + React.createElement(Swatch, {name: swatch.name, colors: swatch.colors, index: index, onUseClick: this.handleUseClick}) + ); + }, this); + + return ( + React.createElement("div", null, + swatchNodes + ) + ); + } +}); + +function generateHuesState(primarySwatchIndex, accentSwatchIndex, primaryColorIndices, accentColorIndex) { + var primaryColours = swatches[primarySwatchIndex].colors.filter(function(colorItem) { + return colorItem.backgroundName.lastIndexOf("Primary") === 0; + }); + var accentColours = swatches[accentSwatchIndex].colors.filter(function(colorItem) { + return colorItem.backgroundName.lastIndexOf("Accent") === 0; + }); + var primaryColorModels = primaryColours.map(function(colorItem, i) { + return { + colorItem: colorItem, + isSelected: primaryColorIndices.indexOf(i) > -1 + } + }); + var accentColorModels = accentColours.map(function(colorItem, i) { + return { + colorItem: colorItem, + isSelected: accentColorIndex == i + } + }); + return { + primaryColorModels: primaryColorModels, + accentColorModels: accentColorModels, + generatedFrom: { + primarySwatchIndex: primarySwatchIndex, + accentSwatchIndex: accentSwatchIndex, + primaryColorIndices: primaryColorIndices, + accentColorIndex: accentColorIndex + } + }; +} + +var HuesBox = React.createClass({displayName: "HuesBox", + getInitialState: function() { + return generateHuesState(4, 10, [3,5,7], 2); + }, + handleColorSelect: function (colorIndex, color, isChecked) { + var newState; + if (isAccentColor(color)) + newState = generateHuesState( + this.state.generatedFrom.primarySwatchIndex, + this.state.generatedFrom.accentSwatchIndex, + this.state.generatedFrom.primaryColorIndices, + colorIndex); + else + { + if (this.state.generatedFrom.primaryColorIndices.indexOf(colorIndex) > -1 && isChecked) + return; + + var newIndices = this.state.generatedFrom.primaryColorIndices.slice(); + newIndices.pop(); + newIndices.unshift(colorIndex); + + newState = generateHuesState( + this.state.generatedFrom.primarySwatchIndex, + this.state.generatedFrom.accentSwatchIndex, + newIndices, + this.state.generatedFrom.accentColorIndex); + } + this.setState(newState); + }, + render: function() { + var primaryColourNodes = this.state.primaryColorModels.map(function(model, i) { + return colourItemFactory(model.colorItem, model.isSelected, this.handleColorSelect.bind(this, i)); + }, this); + var accentColourNodes = this.state.accentColorModels.map(function(model, i) { + return colourItemFactory(model.colorItem, model.isSelected, this.handleColorSelect.bind(this, i)); + }, this); + return ( + React.createElement("div", null, + primaryColourNodes, + accentColourNodes + ) + ); + } +}); + +var huesBox = React.render( + React.createElement(HuesBox, null), + document.getElementById('hues') + ); + +function mergeSwatch(index, isAccent) { + var state = huesBox.state; + var newState = generateHuesState( + isAccent ? huesBox.state.generatedFrom.primarySwatchIndex : index, + !isAccent ? huesBox.state.generatedFrom.accentSwatchIndex : index, + huesBox.state.generatedFrom.primaryColorIndices, + huesBox.state.generatedFrom.accentColorIndex); + + huesBox.setState(newState); +} + +React.render( + React.createElement(SwatchesBox, {swatches: swatches, onUseClick: mergeSwatch}), + document.getElementById('swatches') + ); diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/Swatches.js b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/Swatches.js new file mode 100644 index 000000000..06c906f02 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/Swatches.js @@ -0,0 +1,1887 @@ +var swatches=[ + { + "name": "Red", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#ffebee", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#ffcdd2", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#ef9a9a", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#e57373", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ef5350", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#f44336", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#e53935", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#d32f2f", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#c62828", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#b71c1c", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ff8a80", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#ff5252", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#ff1744", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#d50000", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + } + ] + }, + { + "name": "Pink", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#fce4ec", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#f8bbd0", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#f48fb1", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#f06292", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ec407a", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#e91e63", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#d81b60", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#c2185b", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#ad1457", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#880e4f", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ff80ab", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#ff4081", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#f50057", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#c51162", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + } + ] + }, + { + "name": "Purple", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#f3e5f5", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#e1bee7", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#ce93d8", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#ba68c8", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ab47bc", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#9c27b0", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#8e24aa", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#7b1fa2", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#6a1b9a", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#4a148c", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ea80fc", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#e040fb", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#d500f9", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#aa00ff", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + } + ] + }, + { + "name": "Deep Purple", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#ede7f6", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#d1c4e9", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#b39ddb", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#9575cd", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#7e57c2", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#673ab7", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#5e35b1", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#512da8", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#4527a0", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#311b92", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#b388ff", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#7c4dff", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#651fff", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#6200ea", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Indigo", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#e8eaf6", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#c5cae9", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#9fa8da", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#7986cb", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#5c6bc0", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#3f51b5", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#3949ab", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#303f9f", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#283593", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#1a237e", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#8c9eff", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#536dfe", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#3d5afe", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#304ffe", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Blue", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#e3f2fd", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#bbdefb", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#90caf9", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#64b5f6", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#42a5f5", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#2196f3", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#1e88e5", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#1976d2", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#1565c0", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#0d47a1", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#82b1ff", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#448aff", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#2979ff", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#2962ff", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + } + ] + }, + { + "name": "Light Blue", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#e1f5fe", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#b3e5fc", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#81d4fa", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#4fc3f7", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#29b6f6", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#03a9f4", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#039be5", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#0288d1", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#0277bd", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#01579b", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#80d8ff", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#40c4ff", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#00b0ff", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#0091ea", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + } + ] + }, + { + "name": "Cyan", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#e0f7fa", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#b2ebf2", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#80deea", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#4dd0e1", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#26c6da", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#00bcd4", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#00acc1", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#0097a7", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#00838f", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#006064", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#84ffff", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#18ffff", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#00e5ff", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#00b8d4", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Teal", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#e0f2f1", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#b2dfdb", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#80cbc4", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#4db6ac", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#26a69a", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#009688", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#00897b", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#00796b", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#00695c", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#004d40", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#a7ffeb", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#64ffda", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#1de9b6", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#00bfa5", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Green", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#e8f5e9", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#c8e6c9", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#a5d6a7", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#81c784", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#66bb6a", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#4caf50", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#43a047", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#388e3c", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#2e7d32", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#1b5e20", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#b9f6ca", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#69f0ae", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#00e676", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#00c853", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Light Green", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#f1f8e9", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#dcedc8", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#c5e1a5", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#aed581", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#9ccc65", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#8bc34a", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#7cb342", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#689f38", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#558b2f", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#33691e", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ccff90", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#b2ff59", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#76ff03", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#64dd17", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Lime", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#f9fbe7", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#f0f4c3", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#e6ee9c", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#dce775", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#d4e157", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#cddc39", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#c0ca33", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#afb42b", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#9e9d24", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#827717", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#f4ff81", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#eeff41", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#c6ff00", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#aeea00", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Yellow", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#fffde7", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#fff9c4", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#fff59d", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#fff176", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ffee58", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#ffeb3b", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#fdd835", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#fbc02d", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#f9a825", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#f57f17", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ffff8d", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#ffff00", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#ffea00", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#ffd600", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Amber", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#fff8e1", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#ffecb3", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#ffe082", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#ffd54f", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ffca28", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#ffc107", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#ffb300", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#ffa000", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#ff8f00", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#ff6f00", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ffe57f", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#ffd740", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#ffc400", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#ffab00", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Orange", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#fff3e0", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#ffe0b2", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#ffcc80", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#ffb74d", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ffa726", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#ff9800", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#fb8c00", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#f57c00", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#ef6c00", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#e65100", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ffd180", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#ffab40", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#ff9100", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#ff6d00", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Deep Orange", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#fbe9e7", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#ffccbc", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#ffab91", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#ff8a65", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#ff7043", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#ff5722", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#f4511e", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#e64a19", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#d84315", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#bf360c", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent100", + "backgroundColour": "#ff9e80", + "foregroundName": "Accent100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent200", + "backgroundColour": "#ff6e40", + "foregroundName": "Accent200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Accent400", + "backgroundColour": "#ff3d00", + "foregroundName": "Accent400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Accent700", + "backgroundColour": "#dd2c00", + "foregroundName": "Accent700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + } + ] + }, + { + "name": "Brown", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#efebe9", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#d7ccc8", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#bcaaa4", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#a1887f", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#8d6e63", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#795548", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#6d4c41", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#5d4037", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#4e342e", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#3e2723", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Grey", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#fafafa", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#f5f5f5", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#eeeeee", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#e0e0e0", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#bdbdbd", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#9e9e9e", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#757575", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#616161", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#424242", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#212121", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Blue Grey", + "colors": [ + { + "backgroundName": "Primary50", + "backgroundColour": "#eceff1", + "foregroundName": "Primary50Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary100", + "backgroundColour": "#cfd8dc", + "foregroundName": "Primary100Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary200", + "backgroundColour": "#b0bec5", + "foregroundName": "Primary200Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary300", + "backgroundColour": "#90a4ae", + "foregroundName": "Primary300Foreground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary400", + "backgroundColour": "#78909c", + "foregroundName": "Primary400Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary500", + "backgroundColour": "#607d8b", + "foregroundName": "Primary500Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 1.0 + }, + { + "backgroundName": "Primary600", + "backgroundColour": "#546e7a", + "foregroundName": "Primary600Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary700", + "backgroundColour": "#455a64", + "foregroundName": "Primary700Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary800", + "backgroundColour": "#37474f", + "foregroundName": "Primary800Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + }, + { + "backgroundName": "Primary900", + "backgroundColour": "#263238", + "foregroundName": "Primary900Foreground", + "foregroundColour": "#FFFFFF", + "foregroundOpacity": 0.87 + } + ] + }, + { + "name": "Black", + "colors": [ + { + "backgroundName": "PrimaryWhite", + "backgroundColour": "#ffffff", + "foregroundName": "PrimaryWhiteForeground", + "foregroundColour": "#000000", + "foregroundOpacity": 0.87 + } + ] + } +];
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/react.js b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/react.js new file mode 100644 index 000000000..2b767c8d6 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/react.js @@ -0,0 +1,19541 @@ +/** + * React v0.13.1 + */ +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.React = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule React + */ + +/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/ + +'use strict'; + +var EventPluginUtils = _dereq_(19); +var ReactChildren = _dereq_(32); +var ReactComponent = _dereq_(34); +var ReactClass = _dereq_(33); +var ReactContext = _dereq_(38); +var ReactCurrentOwner = _dereq_(39); +var ReactElement = _dereq_(57); +var ReactElementValidator = _dereq_(58); +var ReactDOM = _dereq_(40); +var ReactDOMTextComponent = _dereq_(51); +var ReactDefaultInjection = _dereq_(54); +var ReactInstanceHandles = _dereq_(66); +var ReactMount = _dereq_(70); +var ReactPerf = _dereq_(75); +var ReactPropTypes = _dereq_(78); +var ReactReconciler = _dereq_(81); +var ReactServerRendering = _dereq_(84); + +var assign = _dereq_(27); +var findDOMNode = _dereq_(117); +var onlyChild = _dereq_(144); + +ReactDefaultInjection.inject(); + +var createElement = ReactElement.createElement; +var createFactory = ReactElement.createFactory; +var cloneElement = ReactElement.cloneElement; + +if ("production" !== "development") { + createElement = ReactElementValidator.createElement; + createFactory = ReactElementValidator.createFactory; + cloneElement = ReactElementValidator.cloneElement; +} + +var render = ReactPerf.measure('React', 'render', ReactMount.render); + +var React = { + Children: { + map: ReactChildren.map, + forEach: ReactChildren.forEach, + count: ReactChildren.count, + only: onlyChild + }, + Component: ReactComponent, + DOM: ReactDOM, + PropTypes: ReactPropTypes, + initializeTouchEvents: function(shouldUseTouch) { + EventPluginUtils.useTouchEvents = shouldUseTouch; + }, + createClass: ReactClass.createClass, + createElement: createElement, + cloneElement: cloneElement, + createFactory: createFactory, + createMixin: function(mixin) { + // Currently a noop. Will be used to validate and trace mixins. + return mixin; + }, + constructAndRenderComponent: ReactMount.constructAndRenderComponent, + constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID, + findDOMNode: findDOMNode, + render: render, + renderToString: ReactServerRendering.renderToString, + renderToStaticMarkup: ReactServerRendering.renderToStaticMarkup, + unmountComponentAtNode: ReactMount.unmountComponentAtNode, + isValidElement: ReactElement.isValidElement, + withContext: ReactContext.withContext, + + // Hook for JSX spread, don't use this for anything else. + __spread: assign +}; + +// Inject the runtime into a devtools global hook regardless of browser. +// Allows for debugging when the hook is injected on the page. +if ( + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') { + __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ + CurrentOwner: ReactCurrentOwner, + InstanceHandles: ReactInstanceHandles, + Mount: ReactMount, + Reconciler: ReactReconciler, + TextComponent: ReactDOMTextComponent + }); +} + +if ("production" !== "development") { + var ExecutionEnvironment = _dereq_(21); + if (ExecutionEnvironment.canUseDOM && window.top === window.self) { + + // If we're in Chrome, look for the devtools marker and provide a download + // link if not installed. + if (navigator.userAgent.indexOf('Chrome') > -1) { + if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') { + console.debug( + 'Download the React DevTools for a better development experience: ' + + 'http://fb.me/react-devtools' + ); + } + } + + var expectedFeatures = [ + // shims + Array.isArray, + Array.prototype.every, + Array.prototype.forEach, + Array.prototype.indexOf, + Array.prototype.map, + Date.now, + Function.prototype.bind, + Object.keys, + String.prototype.split, + String.prototype.trim, + + // shams + Object.create, + Object.freeze + ]; + + for (var i = 0; i < expectedFeatures.length; i++) { + if (!expectedFeatures[i]) { + console.error( + 'One or more ES5 shim/shams expected by React are not available: ' + + 'http://fb.me/react-warning-polyfills' + ); + break; + } + } + } +} + +React.version = '0.13.1'; + +module.exports = React; + +},{"117":117,"144":144,"19":19,"21":21,"27":27,"32":32,"33":33,"34":34,"38":38,"39":39,"40":40,"51":51,"54":54,"57":57,"58":58,"66":66,"70":70,"75":75,"78":78,"81":81,"84":84}],2:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule AutoFocusMixin + * @typechecks static-only + */ + +'use strict'; + +var focusNode = _dereq_(119); + +var AutoFocusMixin = { + componentDidMount: function() { + if (this.props.autoFocus) { + focusNode(this.getDOMNode()); + } + } +}; + +module.exports = AutoFocusMixin; + +},{"119":119}],3:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015 Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule BeforeInputEventPlugin + * @typechecks static-only + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPropagators = _dereq_(20); +var ExecutionEnvironment = _dereq_(21); +var FallbackCompositionState = _dereq_(22); +var SyntheticCompositionEvent = _dereq_(93); +var SyntheticInputEvent = _dereq_(97); + +var keyOf = _dereq_(141); + +var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space +var START_KEYCODE = 229; + +var canUseCompositionEvent = ( + ExecutionEnvironment.canUseDOM && + 'CompositionEvent' in window +); + +var documentMode = null; +if (ExecutionEnvironment.canUseDOM && 'documentMode' in document) { + documentMode = document.documentMode; +} + +// Webkit offers a very useful `textInput` event that can be used to +// directly represent `beforeInput`. The IE `textinput` event is not as +// useful, so we don't use it. +var canUseTextInputEvent = ( + ExecutionEnvironment.canUseDOM && + 'TextEvent' in window && + !documentMode && + !isPresto() +); + +// In IE9+, we have access to composition events, but the data supplied +// by the native compositionend event may be incorrect. Japanese ideographic +// spaces, for instance (\u3000) are not recorded correctly. +var useFallbackCompositionData = ( + ExecutionEnvironment.canUseDOM && + ( + (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11) + ) +); + +/** + * Opera <= 12 includes TextEvent in window, but does not fire + * text input events. Rely on keypress instead. + */ +function isPresto() { + var opera = window.opera; + return ( + typeof opera === 'object' && + typeof opera.version === 'function' && + parseInt(opera.version(), 10) <= 12 + ); +} + +var SPACEBAR_CODE = 32; +var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE); + +var topLevelTypes = EventConstants.topLevelTypes; + +// Events and their corresponding property names. +var eventTypes = { + beforeInput: { + phasedRegistrationNames: { + bubbled: keyOf({onBeforeInput: null}), + captured: keyOf({onBeforeInputCapture: null}) + }, + dependencies: [ + topLevelTypes.topCompositionEnd, + topLevelTypes.topKeyPress, + topLevelTypes.topTextInput, + topLevelTypes.topPaste + ] + }, + compositionEnd: { + phasedRegistrationNames: { + bubbled: keyOf({onCompositionEnd: null}), + captured: keyOf({onCompositionEndCapture: null}) + }, + dependencies: [ + topLevelTypes.topBlur, + topLevelTypes.topCompositionEnd, + topLevelTypes.topKeyDown, + topLevelTypes.topKeyPress, + topLevelTypes.topKeyUp, + topLevelTypes.topMouseDown + ] + }, + compositionStart: { + phasedRegistrationNames: { + bubbled: keyOf({onCompositionStart: null}), + captured: keyOf({onCompositionStartCapture: null}) + }, + dependencies: [ + topLevelTypes.topBlur, + topLevelTypes.topCompositionStart, + topLevelTypes.topKeyDown, + topLevelTypes.topKeyPress, + topLevelTypes.topKeyUp, + topLevelTypes.topMouseDown + ] + }, + compositionUpdate: { + phasedRegistrationNames: { + bubbled: keyOf({onCompositionUpdate: null}), + captured: keyOf({onCompositionUpdateCapture: null}) + }, + dependencies: [ + topLevelTypes.topBlur, + topLevelTypes.topCompositionUpdate, + topLevelTypes.topKeyDown, + topLevelTypes.topKeyPress, + topLevelTypes.topKeyUp, + topLevelTypes.topMouseDown + ] + } +}; + +// Track whether we've ever handled a keypress on the space key. +var hasSpaceKeypress = false; + +/** + * Return whether a native keypress event is assumed to be a command. + * This is required because Firefox fires `keypress` events for key commands + * (cut, copy, select-all, etc.) even though no character is inserted. + */ +function isKeypressCommand(nativeEvent) { + return ( + (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && + // ctrlKey && altKey is equivalent to AltGr, and is not a command. + !(nativeEvent.ctrlKey && nativeEvent.altKey) + ); +} + + +/** + * Translate native top level events into event types. + * + * @param {string} topLevelType + * @return {object} + */ +function getCompositionEventType(topLevelType) { + switch (topLevelType) { + case topLevelTypes.topCompositionStart: + return eventTypes.compositionStart; + case topLevelTypes.topCompositionEnd: + return eventTypes.compositionEnd; + case topLevelTypes.topCompositionUpdate: + return eventTypes.compositionUpdate; + } +} + +/** + * Does our fallback best-guess model think this event signifies that + * composition has begun? + * + * @param {string} topLevelType + * @param {object} nativeEvent + * @return {boolean} + */ +function isFallbackCompositionStart(topLevelType, nativeEvent) { + return ( + topLevelType === topLevelTypes.topKeyDown && + nativeEvent.keyCode === START_KEYCODE + ); +} + +/** + * Does our fallback mode think that this event is the end of composition? + * + * @param {string} topLevelType + * @param {object} nativeEvent + * @return {boolean} + */ +function isFallbackCompositionEnd(topLevelType, nativeEvent) { + switch (topLevelType) { + case topLevelTypes.topKeyUp: + // Command keys insert or clear IME input. + return (END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1); + case topLevelTypes.topKeyDown: + // Expect IME keyCode on each keydown. If we get any other + // code we must have exited earlier. + return (nativeEvent.keyCode !== START_KEYCODE); + case topLevelTypes.topKeyPress: + case topLevelTypes.topMouseDown: + case topLevelTypes.topBlur: + // Events are not possible without cancelling IME. + return true; + default: + return false; + } +} + +/** + * Google Input Tools provides composition data via a CustomEvent, + * with the `data` property populated in the `detail` object. If this + * is available on the event object, use it. If not, this is a plain + * composition event and we have nothing special to extract. + * + * @param {object} nativeEvent + * @return {?string} + */ +function getDataFromCustomEvent(nativeEvent) { + var detail = nativeEvent.detail; + if (typeof detail === 'object' && 'data' in detail) { + return detail.data; + } + return null; +} + +// Track the current IME composition fallback object, if any. +var currentComposition = null; + +/** + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {?object} A SyntheticCompositionEvent. + */ +function extractCompositionEvent( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent +) { + var eventType; + var fallbackData; + + if (canUseCompositionEvent) { + eventType = getCompositionEventType(topLevelType); + } else if (!currentComposition) { + if (isFallbackCompositionStart(topLevelType, nativeEvent)) { + eventType = eventTypes.compositionStart; + } + } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) { + eventType = eventTypes.compositionEnd; + } + + if (!eventType) { + return null; + } + + if (useFallbackCompositionData) { + // The current composition is stored statically and must not be + // overwritten while composition continues. + if (!currentComposition && eventType === eventTypes.compositionStart) { + currentComposition = FallbackCompositionState.getPooled(topLevelTarget); + } else if (eventType === eventTypes.compositionEnd) { + if (currentComposition) { + fallbackData = currentComposition.getData(); + } + } + } + + var event = SyntheticCompositionEvent.getPooled( + eventType, + topLevelTargetID, + nativeEvent + ); + + if (fallbackData) { + // Inject data generated from fallback path into the synthetic event. + // This matches the property of native CompositionEventInterface. + event.data = fallbackData; + } else { + var customData = getDataFromCustomEvent(nativeEvent); + if (customData !== null) { + event.data = customData; + } + } + + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; +} + +/** + * @param {string} topLevelType Record from `EventConstants`. + * @param {object} nativeEvent Native browser event. + * @return {?string} The string corresponding to this `beforeInput` event. + */ +function getNativeBeforeInputChars(topLevelType, nativeEvent) { + switch (topLevelType) { + case topLevelTypes.topCompositionEnd: + return getDataFromCustomEvent(nativeEvent); + case topLevelTypes.topKeyPress: + /** + * If native `textInput` events are available, our goal is to make + * use of them. However, there is a special case: the spacebar key. + * In Webkit, preventing default on a spacebar `textInput` event + * cancels character insertion, but it *also* causes the browser + * to fall back to its default spacebar behavior of scrolling the + * page. + * + * Tracking at: + * https://code.google.com/p/chromium/issues/detail?id=355103 + * + * To avoid this issue, use the keypress event as if no `textInput` + * event is available. + */ + var which = nativeEvent.which; + if (which !== SPACEBAR_CODE) { + return null; + } + + hasSpaceKeypress = true; + return SPACEBAR_CHAR; + + case topLevelTypes.topTextInput: + // Record the characters to be added to the DOM. + var chars = nativeEvent.data; + + // If it's a spacebar character, assume that we have already handled + // it at the keypress level and bail immediately. Android Chrome + // doesn't give us keycodes, so we need to blacklist it. + if (chars === SPACEBAR_CHAR && hasSpaceKeypress) { + return null; + } + + return chars; + + default: + // For other native event types, do nothing. + return null; + } +} + +/** + * For browsers that do not provide the `textInput` event, extract the + * appropriate string to use for SyntheticInputEvent. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {object} nativeEvent Native browser event. + * @return {?string} The fallback string for this `beforeInput` event. + */ +function getFallbackBeforeInputChars(topLevelType, nativeEvent) { + // If we are currently composing (IME) and using a fallback to do so, + // try to extract the composed characters from the fallback object. + if (currentComposition) { + if ( + topLevelType === topLevelTypes.topCompositionEnd || + isFallbackCompositionEnd(topLevelType, nativeEvent) + ) { + var chars = currentComposition.getData(); + FallbackCompositionState.release(currentComposition); + currentComposition = null; + return chars; + } + return null; + } + + switch (topLevelType) { + case topLevelTypes.topPaste: + // If a paste event occurs after a keypress, throw out the input + // chars. Paste events should not lead to BeforeInput events. + return null; + case topLevelTypes.topKeyPress: + /** + * As of v27, Firefox may fire keypress events even when no character + * will be inserted. A few possibilities: + * + * - `which` is `0`. Arrow keys, Esc key, etc. + * + * - `which` is the pressed key code, but no char is available. + * Ex: 'AltGr + d` in Polish. There is no modified character for + * this key combination and no character is inserted into the + * document, but FF fires the keypress for char code `100` anyway. + * No `input` event will occur. + * + * - `which` is the pressed key code, but a command combination is + * being used. Ex: `Cmd+C`. No character is inserted, and no + * `input` event will occur. + */ + if (nativeEvent.which && !isKeypressCommand(nativeEvent)) { + return String.fromCharCode(nativeEvent.which); + } + return null; + case topLevelTypes.topCompositionEnd: + return useFallbackCompositionData ? null : nativeEvent.data; + default: + return null; + } +} + +/** + * Extract a SyntheticInputEvent for `beforeInput`, based on either native + * `textInput` or fallback behavior. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {?object} A SyntheticInputEvent. + */ +function extractBeforeInputEvent( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent +) { + var chars; + + if (canUseTextInputEvent) { + chars = getNativeBeforeInputChars(topLevelType, nativeEvent); + } else { + chars = getFallbackBeforeInputChars(topLevelType, nativeEvent); + } + + // If no characters are being inserted, no BeforeInput event should + // be fired. + if (!chars) { + return null; + } + + var event = SyntheticInputEvent.getPooled( + eventTypes.beforeInput, + topLevelTargetID, + nativeEvent + ); + + event.data = chars; + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; +} + +/** + * Create an `onBeforeInput` event to match + * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents. + * + * This event plugin is based on the native `textInput` event + * available in Chrome, Safari, Opera, and IE. This event fires after + * `onKeyPress` and `onCompositionEnd`, but before `onInput`. + * + * `beforeInput` is spec'd but not implemented in any browsers, and + * the `input` event does not provide any useful information about what has + * actually been added, contrary to the spec. Thus, `textInput` is the best + * available event to identify the characters that have actually been inserted + * into the target node. + * + * This plugin is also responsible for emitting `composition` events, thus + * allowing us to share composition fallback code for both `beforeInput` and + * `composition` event types. + */ +var BeforeInputEventPlugin = { + + eventTypes: eventTypes, + + /** + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @see {EventPluginHub.extractEvents} + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent + ) { + return [ + extractCompositionEvent( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent + ), + extractBeforeInputEvent( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent + ) + ]; + } +}; + +module.exports = BeforeInputEventPlugin; + +},{"141":141,"15":15,"20":20,"21":21,"22":22,"93":93,"97":97}],4:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule CSSProperty + */ + +'use strict'; + +/** + * CSS properties which accept numbers but are not in units of "px". + */ +var isUnitlessNumber = { + boxFlex: true, + boxFlexGroup: true, + columnCount: true, + flex: true, + flexGrow: true, + flexShrink: true, + fontWeight: true, + lineClamp: true, + lineHeight: true, + opacity: true, + order: true, + orphans: true, + widows: true, + zIndex: true, + zoom: true, + + // SVG-related properties + fillOpacity: true, + strokeOpacity: true +}; + +/** + * @param {string} prefix vendor-specific prefix, eg: Webkit + * @param {string} key style name, eg: transitionDuration + * @return {string} style name prefixed with `prefix`, properly camelCased, eg: + * WebkitTransitionDuration + */ +function prefixKey(prefix, key) { + return prefix + key.charAt(0).toUpperCase() + key.substring(1); +} + +/** + * Support style names that may come passed in prefixed by adding permutations + * of vendor prefixes. + */ +var prefixes = ['Webkit', 'ms', 'Moz', 'O']; + +// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an +// infinite loop, because it iterates over the newly added props too. +Object.keys(isUnitlessNumber).forEach(function(prop) { + prefixes.forEach(function(prefix) { + isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop]; + }); +}); + +/** + * Most style properties can be unset by doing .style[prop] = '' but IE8 + * doesn't like doing that with shorthand properties so for the properties that + * IE8 breaks on, which are listed here, we instead unset each of the + * individual properties. See http://bugs.jquery.com/ticket/12385. + * The 4-value 'clock' properties like margin, padding, border-width seem to + * behave without any problems. Curiously, list-style works too without any + * special prodding. + */ +var shorthandPropertyExpansions = { + background: { + backgroundImage: true, + backgroundPosition: true, + backgroundRepeat: true, + backgroundColor: true + }, + border: { + borderWidth: true, + borderStyle: true, + borderColor: true + }, + borderBottom: { + borderBottomWidth: true, + borderBottomStyle: true, + borderBottomColor: true + }, + borderLeft: { + borderLeftWidth: true, + borderLeftStyle: true, + borderLeftColor: true + }, + borderRight: { + borderRightWidth: true, + borderRightStyle: true, + borderRightColor: true + }, + borderTop: { + borderTopWidth: true, + borderTopStyle: true, + borderTopColor: true + }, + font: { + fontStyle: true, + fontVariant: true, + fontWeight: true, + fontSize: true, + lineHeight: true, + fontFamily: true + } +}; + +var CSSProperty = { + isUnitlessNumber: isUnitlessNumber, + shorthandPropertyExpansions: shorthandPropertyExpansions +}; + +module.exports = CSSProperty; + +},{}],5:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule CSSPropertyOperations + * @typechecks static-only + */ + +'use strict'; + +var CSSProperty = _dereq_(4); +var ExecutionEnvironment = _dereq_(21); + +var camelizeStyleName = _dereq_(108); +var dangerousStyleValue = _dereq_(113); +var hyphenateStyleName = _dereq_(133); +var memoizeStringOnly = _dereq_(143); +var warning = _dereq_(154); + +var processStyleName = memoizeStringOnly(function(styleName) { + return hyphenateStyleName(styleName); +}); + +var styleFloatAccessor = 'cssFloat'; +if (ExecutionEnvironment.canUseDOM) { + // IE8 only supports accessing cssFloat (standard) as styleFloat + if (document.documentElement.style.cssFloat === undefined) { + styleFloatAccessor = 'styleFloat'; + } +} + +if ("production" !== "development") { + // 'msTransform' is correct, but the other prefixes should be capitalized + var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/; + + // style values shouldn't contain a semicolon + var badStyleValueWithSemicolonPattern = /;\s*$/; + + var warnedStyleNames = {}; + var warnedStyleValues = {}; + + var warnHyphenatedStyleName = function(name) { + if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { + return; + } + + warnedStyleNames[name] = true; + ("production" !== "development" ? warning( + false, + 'Unsupported style property %s. Did you mean %s?', + name, + camelizeStyleName(name) + ) : null); + }; + + var warnBadVendoredStyleName = function(name) { + if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { + return; + } + + warnedStyleNames[name] = true; + ("production" !== "development" ? warning( + false, + 'Unsupported vendor-prefixed style property %s. Did you mean %s?', + name, + name.charAt(0).toUpperCase() + name.slice(1) + ) : null); + }; + + var warnStyleValueWithSemicolon = function(name, value) { + if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) { + return; + } + + warnedStyleValues[value] = true; + ("production" !== "development" ? warning( + false, + 'Style property values shouldn\'t contain a semicolon. ' + + 'Try "%s: %s" instead.', + name, + value.replace(badStyleValueWithSemicolonPattern, '') + ) : null); + }; + + /** + * @param {string} name + * @param {*} value + */ + var warnValidStyle = function(name, value) { + if (name.indexOf('-') > -1) { + warnHyphenatedStyleName(name); + } else if (badVendoredStyleNamePattern.test(name)) { + warnBadVendoredStyleName(name); + } else if (badStyleValueWithSemicolonPattern.test(value)) { + warnStyleValueWithSemicolon(name, value); + } + }; +} + +/** + * Operations for dealing with CSS properties. + */ +var CSSPropertyOperations = { + + /** + * Serializes a mapping of style properties for use as inline styles: + * + * > createMarkupForStyles({width: '200px', height: 0}) + * "width:200px;height:0;" + * + * Undefined values are ignored so that declarative programming is easier. + * The result should be HTML-escaped before insertion into the DOM. + * + * @param {object} styles + * @return {?string} + */ + createMarkupForStyles: function(styles) { + var serialized = ''; + for (var styleName in styles) { + if (!styles.hasOwnProperty(styleName)) { + continue; + } + var styleValue = styles[styleName]; + if ("production" !== "development") { + warnValidStyle(styleName, styleValue); + } + if (styleValue != null) { + serialized += processStyleName(styleName) + ':'; + serialized += dangerousStyleValue(styleName, styleValue) + ';'; + } + } + return serialized || null; + }, + + /** + * Sets the value for multiple styles on a node. If a value is specified as + * '' (empty string), the corresponding style property will be unset. + * + * @param {DOMElement} node + * @param {object} styles + */ + setValueForStyles: function(node, styles) { + var style = node.style; + for (var styleName in styles) { + if (!styles.hasOwnProperty(styleName)) { + continue; + } + if ("production" !== "development") { + warnValidStyle(styleName, styles[styleName]); + } + var styleValue = dangerousStyleValue(styleName, styles[styleName]); + if (styleName === 'float') { + styleName = styleFloatAccessor; + } + if (styleValue) { + style[styleName] = styleValue; + } else { + var expansion = CSSProperty.shorthandPropertyExpansions[styleName]; + if (expansion) { + // Shorthand property that IE8 won't like unsetting, so unset each + // component to placate it + for (var individualStyleName in expansion) { + style[individualStyleName] = ''; + } + } else { + style[styleName] = ''; + } + } + } + } + +}; + +module.exports = CSSPropertyOperations; + +},{"108":108,"113":113,"133":133,"143":143,"154":154,"21":21,"4":4}],6:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule CallbackQueue + */ + +'use strict'; + +var PooledClass = _dereq_(28); + +var assign = _dereq_(27); +var invariant = _dereq_(135); + +/** + * A specialized pseudo-event module to help keep track of components waiting to + * be notified when their DOM representations are available for use. + * + * This implements `PooledClass`, so you should never need to instantiate this. + * Instead, use `CallbackQueue.getPooled()`. + * + * @class ReactMountReady + * @implements PooledClass + * @internal + */ +function CallbackQueue() { + this._callbacks = null; + this._contexts = null; +} + +assign(CallbackQueue.prototype, { + + /** + * Enqueues a callback to be invoked when `notifyAll` is invoked. + * + * @param {function} callback Invoked when `notifyAll` is invoked. + * @param {?object} context Context to call `callback` with. + * @internal + */ + enqueue: function(callback, context) { + this._callbacks = this._callbacks || []; + this._contexts = this._contexts || []; + this._callbacks.push(callback); + this._contexts.push(context); + }, + + /** + * Invokes all enqueued callbacks and clears the queue. This is invoked after + * the DOM representation of a component has been created or updated. + * + * @internal + */ + notifyAll: function() { + var callbacks = this._callbacks; + var contexts = this._contexts; + if (callbacks) { + ("production" !== "development" ? invariant( + callbacks.length === contexts.length, + 'Mismatched list of contexts in callback queue' + ) : invariant(callbacks.length === contexts.length)); + this._callbacks = null; + this._contexts = null; + for (var i = 0, l = callbacks.length; i < l; i++) { + callbacks[i].call(contexts[i]); + } + callbacks.length = 0; + contexts.length = 0; + } + }, + + /** + * Resets the internal queue. + * + * @internal + */ + reset: function() { + this._callbacks = null; + this._contexts = null; + }, + + /** + * `PooledClass` looks for this. + */ + destructor: function() { + this.reset(); + } + +}); + +PooledClass.addPoolingTo(CallbackQueue); + +module.exports = CallbackQueue; + +},{"135":135,"27":27,"28":28}],7:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ChangeEventPlugin + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPluginHub = _dereq_(17); +var EventPropagators = _dereq_(20); +var ExecutionEnvironment = _dereq_(21); +var ReactUpdates = _dereq_(87); +var SyntheticEvent = _dereq_(95); + +var isEventSupported = _dereq_(136); +var isTextInputElement = _dereq_(138); +var keyOf = _dereq_(141); + +var topLevelTypes = EventConstants.topLevelTypes; + +var eventTypes = { + change: { + phasedRegistrationNames: { + bubbled: keyOf({onChange: null}), + captured: keyOf({onChangeCapture: null}) + }, + dependencies: [ + topLevelTypes.topBlur, + topLevelTypes.topChange, + topLevelTypes.topClick, + topLevelTypes.topFocus, + topLevelTypes.topInput, + topLevelTypes.topKeyDown, + topLevelTypes.topKeyUp, + topLevelTypes.topSelectionChange + ] + } +}; + +/** + * For IE shims + */ +var activeElement = null; +var activeElementID = null; +var activeElementValue = null; +var activeElementValueProp = null; + +/** + * SECTION: handle `change` event + */ +function shouldUseChangeEvent(elem) { + return ( + elem.nodeName === 'SELECT' || + (elem.nodeName === 'INPUT' && elem.type === 'file') + ); +} + +var doesChangeEventBubble = false; +if (ExecutionEnvironment.canUseDOM) { + // See `handleChange` comment below + doesChangeEventBubble = isEventSupported('change') && ( + (!('documentMode' in document) || document.documentMode > 8) + ); +} + +function manualDispatchChangeEvent(nativeEvent) { + var event = SyntheticEvent.getPooled( + eventTypes.change, + activeElementID, + nativeEvent + ); + EventPropagators.accumulateTwoPhaseDispatches(event); + + // If change and propertychange bubbled, we'd just bind to it like all the + // other events and have it go through ReactBrowserEventEmitter. Since it + // doesn't, we manually listen for the events and so we have to enqueue and + // process the abstract event manually. + // + // Batching is necessary here in order to ensure that all event handlers run + // before the next rerender (including event handlers attached to ancestor + // elements instead of directly on the input). Without this, controlled + // components don't work properly in conjunction with event bubbling because + // the component is rerendered and the value reverted before all the event + // handlers can run. See https://github.com/facebook/react/issues/708. + ReactUpdates.batchedUpdates(runEventInBatch, event); +} + +function runEventInBatch(event) { + EventPluginHub.enqueueEvents(event); + EventPluginHub.processEventQueue(); +} + +function startWatchingForChangeEventIE8(target, targetID) { + activeElement = target; + activeElementID = targetID; + activeElement.attachEvent('onchange', manualDispatchChangeEvent); +} + +function stopWatchingForChangeEventIE8() { + if (!activeElement) { + return; + } + activeElement.detachEvent('onchange', manualDispatchChangeEvent); + activeElement = null; + activeElementID = null; +} + +function getTargetIDForChangeEvent( + topLevelType, + topLevelTarget, + topLevelTargetID) { + if (topLevelType === topLevelTypes.topChange) { + return topLevelTargetID; + } +} +function handleEventsForChangeEventIE8( + topLevelType, + topLevelTarget, + topLevelTargetID) { + if (topLevelType === topLevelTypes.topFocus) { + // stopWatching() should be a noop here but we call it just in case we + // missed a blur event somehow. + stopWatchingForChangeEventIE8(); + startWatchingForChangeEventIE8(topLevelTarget, topLevelTargetID); + } else if (topLevelType === topLevelTypes.topBlur) { + stopWatchingForChangeEventIE8(); + } +} + + +/** + * SECTION: handle `input` event + */ +var isInputEventSupported = false; +if (ExecutionEnvironment.canUseDOM) { + // IE9 claims to support the input event but fails to trigger it when + // deleting text, so we ignore its input events + isInputEventSupported = isEventSupported('input') && ( + (!('documentMode' in document) || document.documentMode > 9) + ); +} + +/** + * (For old IE.) Replacement getter/setter for the `value` property that gets + * set on the active element. + */ +var newValueProp = { + get: function() { + return activeElementValueProp.get.call(this); + }, + set: function(val) { + // Cast to a string so we can do equality checks. + activeElementValue = '' + val; + activeElementValueProp.set.call(this, val); + } +}; + +/** + * (For old IE.) Starts tracking propertychange events on the passed-in element + * and override the value property so that we can distinguish user events from + * value changes in JS. + */ +function startWatchingForValueChange(target, targetID) { + activeElement = target; + activeElementID = targetID; + activeElementValue = target.value; + activeElementValueProp = Object.getOwnPropertyDescriptor( + target.constructor.prototype, + 'value' + ); + + Object.defineProperty(activeElement, 'value', newValueProp); + activeElement.attachEvent('onpropertychange', handlePropertyChange); +} + +/** + * (For old IE.) Removes the event listeners from the currently-tracked element, + * if any exists. + */ +function stopWatchingForValueChange() { + if (!activeElement) { + return; + } + + // delete restores the original property definition + delete activeElement.value; + activeElement.detachEvent('onpropertychange', handlePropertyChange); + + activeElement = null; + activeElementID = null; + activeElementValue = null; + activeElementValueProp = null; +} + +/** + * (For old IE.) Handles a propertychange event, sending a `change` event if + * the value of the active element has changed. + */ +function handlePropertyChange(nativeEvent) { + if (nativeEvent.propertyName !== 'value') { + return; + } + var value = nativeEvent.srcElement.value; + if (value === activeElementValue) { + return; + } + activeElementValue = value; + + manualDispatchChangeEvent(nativeEvent); +} + +/** + * If a `change` event should be fired, returns the target's ID. + */ +function getTargetIDForInputEvent( + topLevelType, + topLevelTarget, + topLevelTargetID) { + if (topLevelType === topLevelTypes.topInput) { + // In modern browsers (i.e., not IE8 or IE9), the input event is exactly + // what we want so fall through here and trigger an abstract event + return topLevelTargetID; + } +} + +// For IE8 and IE9. +function handleEventsForInputEventIE( + topLevelType, + topLevelTarget, + topLevelTargetID) { + if (topLevelType === topLevelTypes.topFocus) { + // In IE8, we can capture almost all .value changes by adding a + // propertychange handler and looking for events with propertyName + // equal to 'value' + // In IE9, propertychange fires for most input events but is buggy and + // doesn't fire when text is deleted, but conveniently, selectionchange + // appears to fire in all of the remaining cases so we catch those and + // forward the event if the value has changed + // In either case, we don't want to call the event handler if the value + // is changed from JS so we redefine a setter for `.value` that updates + // our activeElementValue variable, allowing us to ignore those changes + // + // stopWatching() should be a noop here but we call it just in case we + // missed a blur event somehow. + stopWatchingForValueChange(); + startWatchingForValueChange(topLevelTarget, topLevelTargetID); + } else if (topLevelType === topLevelTypes.topBlur) { + stopWatchingForValueChange(); + } +} + +// For IE8 and IE9. +function getTargetIDForInputEventIE( + topLevelType, + topLevelTarget, + topLevelTargetID) { + if (topLevelType === topLevelTypes.topSelectionChange || + topLevelType === topLevelTypes.topKeyUp || + topLevelType === topLevelTypes.topKeyDown) { + // On the selectionchange event, the target is just document which isn't + // helpful for us so just check activeElement instead. + // + // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire + // propertychange on the first input event after setting `value` from a + // script and fires only keydown, keypress, keyup. Catching keyup usually + // gets it and catching keydown lets us fire an event for the first + // keystroke if user does a key repeat (it'll be a little delayed: right + // before the second keystroke). Other input methods (e.g., paste) seem to + // fire selectionchange normally. + if (activeElement && activeElement.value !== activeElementValue) { + activeElementValue = activeElement.value; + return activeElementID; + } + } +} + + +/** + * SECTION: handle `click` event + */ +function shouldUseClickEvent(elem) { + // Use the `click` event to detect changes to checkbox and radio inputs. + // This approach works across all browsers, whereas `change` does not fire + // until `blur` in IE8. + return ( + elem.nodeName === 'INPUT' && + (elem.type === 'checkbox' || elem.type === 'radio') + ); +} + +function getTargetIDForClickEvent( + topLevelType, + topLevelTarget, + topLevelTargetID) { + if (topLevelType === topLevelTypes.topClick) { + return topLevelTargetID; + } +} + +/** + * This plugin creates an `onChange` event that normalizes change events + * across form elements. This event fires at a time when it's possible to + * change the element's value without seeing a flicker. + * + * Supported elements are: + * - input (see `isTextInputElement`) + * - textarea + * - select + */ +var ChangeEventPlugin = { + + eventTypes: eventTypes, + + /** + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @see {EventPluginHub.extractEvents} + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + + var getTargetIDFunc, handleEventFunc; + if (shouldUseChangeEvent(topLevelTarget)) { + if (doesChangeEventBubble) { + getTargetIDFunc = getTargetIDForChangeEvent; + } else { + handleEventFunc = handleEventsForChangeEventIE8; + } + } else if (isTextInputElement(topLevelTarget)) { + if (isInputEventSupported) { + getTargetIDFunc = getTargetIDForInputEvent; + } else { + getTargetIDFunc = getTargetIDForInputEventIE; + handleEventFunc = handleEventsForInputEventIE; + } + } else if (shouldUseClickEvent(topLevelTarget)) { + getTargetIDFunc = getTargetIDForClickEvent; + } + + if (getTargetIDFunc) { + var targetID = getTargetIDFunc( + topLevelType, + topLevelTarget, + topLevelTargetID + ); + if (targetID) { + var event = SyntheticEvent.getPooled( + eventTypes.change, + targetID, + nativeEvent + ); + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + } + } + + if (handleEventFunc) { + handleEventFunc( + topLevelType, + topLevelTarget, + topLevelTargetID + ); + } + } + +}; + +module.exports = ChangeEventPlugin; + +},{"136":136,"138":138,"141":141,"15":15,"17":17,"20":20,"21":21,"87":87,"95":95}],8:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ClientReactRootIndex + * @typechecks + */ + +'use strict'; + +var nextReactRootIndex = 0; + +var ClientReactRootIndex = { + createReactRootIndex: function() { + return nextReactRootIndex++; + } +}; + +module.exports = ClientReactRootIndex; + +},{}],9:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule DOMChildrenOperations + * @typechecks static-only + */ + +'use strict'; + +var Danger = _dereq_(12); +var ReactMultiChildUpdateTypes = _dereq_(72); + +var setTextContent = _dereq_(149); +var invariant = _dereq_(135); + +/** + * Inserts `childNode` as a child of `parentNode` at the `index`. + * + * @param {DOMElement} parentNode Parent node in which to insert. + * @param {DOMElement} childNode Child node to insert. + * @param {number} index Index at which to insert the child. + * @internal + */ +function insertChildAt(parentNode, childNode, index) { + // By exploiting arrays returning `undefined` for an undefined index, we can + // rely exclusively on `insertBefore(node, null)` instead of also using + // `appendChild(node)`. However, using `undefined` is not allowed by all + // browsers so we must replace it with `null`. + parentNode.insertBefore( + childNode, + parentNode.childNodes[index] || null + ); +} + +/** + * Operations for updating with DOM children. + */ +var DOMChildrenOperations = { + + dangerouslyReplaceNodeWithMarkup: Danger.dangerouslyReplaceNodeWithMarkup, + + updateTextContent: setTextContent, + + /** + * Updates a component's children by processing a series of updates. The + * update configurations are each expected to have a `parentNode` property. + * + * @param {array<object>} updates List of update configurations. + * @param {array<string>} markupList List of markup strings. + * @internal + */ + processUpdates: function(updates, markupList) { + var update; + // Mapping from parent IDs to initial child orderings. + var initialChildren = null; + // List of children that will be moved or removed. + var updatedChildren = null; + + for (var i = 0; i < updates.length; i++) { + update = updates[i]; + if (update.type === ReactMultiChildUpdateTypes.MOVE_EXISTING || + update.type === ReactMultiChildUpdateTypes.REMOVE_NODE) { + var updatedIndex = update.fromIndex; + var updatedChild = update.parentNode.childNodes[updatedIndex]; + var parentID = update.parentID; + + ("production" !== "development" ? invariant( + updatedChild, + 'processUpdates(): Unable to find child %s of element. This ' + + 'probably means the DOM was unexpectedly mutated (e.g., by the ' + + 'browser), usually due to forgetting a <tbody> when using tables, ' + + 'nesting tags like <form>, <p>, or <a>, or using non-SVG elements ' + + 'in an <svg> parent. Try inspecting the child nodes of the element ' + + 'with React ID `%s`.', + updatedIndex, + parentID + ) : invariant(updatedChild)); + + initialChildren = initialChildren || {}; + initialChildren[parentID] = initialChildren[parentID] || []; + initialChildren[parentID][updatedIndex] = updatedChild; + + updatedChildren = updatedChildren || []; + updatedChildren.push(updatedChild); + } + } + + var renderedMarkup = Danger.dangerouslyRenderMarkup(markupList); + + // Remove updated children first so that `toIndex` is consistent. + if (updatedChildren) { + for (var j = 0; j < updatedChildren.length; j++) { + updatedChildren[j].parentNode.removeChild(updatedChildren[j]); + } + } + + for (var k = 0; k < updates.length; k++) { + update = updates[k]; + switch (update.type) { + case ReactMultiChildUpdateTypes.INSERT_MARKUP: + insertChildAt( + update.parentNode, + renderedMarkup[update.markupIndex], + update.toIndex + ); + break; + case ReactMultiChildUpdateTypes.MOVE_EXISTING: + insertChildAt( + update.parentNode, + initialChildren[update.parentID][update.fromIndex], + update.toIndex + ); + break; + case ReactMultiChildUpdateTypes.TEXT_CONTENT: + setTextContent( + update.parentNode, + update.textContent + ); + break; + case ReactMultiChildUpdateTypes.REMOVE_NODE: + // Already removed by the for-loop above. + break; + } + } + } + +}; + +module.exports = DOMChildrenOperations; + +},{"12":12,"135":135,"149":149,"72":72}],10:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule DOMProperty + * @typechecks static-only + */ + +/*jslint bitwise: true */ + +'use strict'; + +var invariant = _dereq_(135); + +function checkMask(value, bitmask) { + return (value & bitmask) === bitmask; +} + +var DOMPropertyInjection = { + /** + * Mapping from normalized, camelcased property names to a configuration that + * specifies how the associated DOM property should be accessed or rendered. + */ + MUST_USE_ATTRIBUTE: 0x1, + MUST_USE_PROPERTY: 0x2, + HAS_SIDE_EFFECTS: 0x4, + HAS_BOOLEAN_VALUE: 0x8, + HAS_NUMERIC_VALUE: 0x10, + HAS_POSITIVE_NUMERIC_VALUE: 0x20 | 0x10, + HAS_OVERLOADED_BOOLEAN_VALUE: 0x40, + + /** + * Inject some specialized knowledge about the DOM. This takes a config object + * with the following properties: + * + * isCustomAttribute: function that given an attribute name will return true + * if it can be inserted into the DOM verbatim. Useful for data-* or aria-* + * attributes where it's impossible to enumerate all of the possible + * attribute names, + * + * Properties: object mapping DOM property name to one of the + * DOMPropertyInjection constants or null. If your attribute isn't in here, + * it won't get written to the DOM. + * + * DOMAttributeNames: object mapping React attribute name to the DOM + * attribute name. Attribute names not specified use the **lowercase** + * normalized name. + * + * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties. + * Property names not specified use the normalized name. + * + * DOMMutationMethods: Properties that require special mutation methods. If + * `value` is undefined, the mutation method should unset the property. + * + * @param {object} domPropertyConfig the config as described above. + */ + injectDOMPropertyConfig: function(domPropertyConfig) { + var Properties = domPropertyConfig.Properties || {}; + var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {}; + var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {}; + var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {}; + + if (domPropertyConfig.isCustomAttribute) { + DOMProperty._isCustomAttributeFunctions.push( + domPropertyConfig.isCustomAttribute + ); + } + + for (var propName in Properties) { + ("production" !== "development" ? invariant( + !DOMProperty.isStandardName.hasOwnProperty(propName), + 'injectDOMPropertyConfig(...): You\'re trying to inject DOM property ' + + '\'%s\' which has already been injected. You may be accidentally ' + + 'injecting the same DOM property config twice, or you may be ' + + 'injecting two configs that have conflicting property names.', + propName + ) : invariant(!DOMProperty.isStandardName.hasOwnProperty(propName))); + + DOMProperty.isStandardName[propName] = true; + + var lowerCased = propName.toLowerCase(); + DOMProperty.getPossibleStandardName[lowerCased] = propName; + + if (DOMAttributeNames.hasOwnProperty(propName)) { + var attributeName = DOMAttributeNames[propName]; + DOMProperty.getPossibleStandardName[attributeName] = propName; + DOMProperty.getAttributeName[propName] = attributeName; + } else { + DOMProperty.getAttributeName[propName] = lowerCased; + } + + DOMProperty.getPropertyName[propName] = + DOMPropertyNames.hasOwnProperty(propName) ? + DOMPropertyNames[propName] : + propName; + + if (DOMMutationMethods.hasOwnProperty(propName)) { + DOMProperty.getMutationMethod[propName] = DOMMutationMethods[propName]; + } else { + DOMProperty.getMutationMethod[propName] = null; + } + + var propConfig = Properties[propName]; + DOMProperty.mustUseAttribute[propName] = + checkMask(propConfig, DOMPropertyInjection.MUST_USE_ATTRIBUTE); + DOMProperty.mustUseProperty[propName] = + checkMask(propConfig, DOMPropertyInjection.MUST_USE_PROPERTY); + DOMProperty.hasSideEffects[propName] = + checkMask(propConfig, DOMPropertyInjection.HAS_SIDE_EFFECTS); + DOMProperty.hasBooleanValue[propName] = + checkMask(propConfig, DOMPropertyInjection.HAS_BOOLEAN_VALUE); + DOMProperty.hasNumericValue[propName] = + checkMask(propConfig, DOMPropertyInjection.HAS_NUMERIC_VALUE); + DOMProperty.hasPositiveNumericValue[propName] = + checkMask(propConfig, DOMPropertyInjection.HAS_POSITIVE_NUMERIC_VALUE); + DOMProperty.hasOverloadedBooleanValue[propName] = + checkMask(propConfig, DOMPropertyInjection.HAS_OVERLOADED_BOOLEAN_VALUE); + + ("production" !== "development" ? invariant( + !DOMProperty.mustUseAttribute[propName] || + !DOMProperty.mustUseProperty[propName], + 'DOMProperty: Cannot require using both attribute and property: %s', + propName + ) : invariant(!DOMProperty.mustUseAttribute[propName] || + !DOMProperty.mustUseProperty[propName])); + ("production" !== "development" ? invariant( + DOMProperty.mustUseProperty[propName] || + !DOMProperty.hasSideEffects[propName], + 'DOMProperty: Properties that have side effects must use property: %s', + propName + ) : invariant(DOMProperty.mustUseProperty[propName] || + !DOMProperty.hasSideEffects[propName])); + ("production" !== "development" ? invariant( + !!DOMProperty.hasBooleanValue[propName] + + !!DOMProperty.hasNumericValue[propName] + + !!DOMProperty.hasOverloadedBooleanValue[propName] <= 1, + 'DOMProperty: Value can be one of boolean, overloaded boolean, or ' + + 'numeric value, but not a combination: %s', + propName + ) : invariant(!!DOMProperty.hasBooleanValue[propName] + + !!DOMProperty.hasNumericValue[propName] + + !!DOMProperty.hasOverloadedBooleanValue[propName] <= 1)); + } + } +}; +var defaultValueCache = {}; + +/** + * DOMProperty exports lookup objects that can be used like functions: + * + * > DOMProperty.isValid['id'] + * true + * > DOMProperty.isValid['foobar'] + * undefined + * + * Although this may be confusing, it performs better in general. + * + * @see http://jsperf.com/key-exists + * @see http://jsperf.com/key-missing + */ +var DOMProperty = { + + ID_ATTRIBUTE_NAME: 'data-reactid', + + /** + * Checks whether a property name is a standard property. + * @type {Object} + */ + isStandardName: {}, + + /** + * Mapping from lowercase property names to the properly cased version, used + * to warn in the case of missing properties. + * @type {Object} + */ + getPossibleStandardName: {}, + + /** + * Mapping from normalized names to attribute names that differ. Attribute + * names are used when rendering markup or with `*Attribute()`. + * @type {Object} + */ + getAttributeName: {}, + + /** + * Mapping from normalized names to properties on DOM node instances. + * (This includes properties that mutate due to external factors.) + * @type {Object} + */ + getPropertyName: {}, + + /** + * Mapping from normalized names to mutation methods. This will only exist if + * mutation cannot be set simply by the property or `setAttribute()`. + * @type {Object} + */ + getMutationMethod: {}, + + /** + * Whether the property must be accessed and mutated as an object property. + * @type {Object} + */ + mustUseAttribute: {}, + + /** + * Whether the property must be accessed and mutated using `*Attribute()`. + * (This includes anything that fails `<propName> in <element>`.) + * @type {Object} + */ + mustUseProperty: {}, + + /** + * Whether or not setting a value causes side effects such as triggering + * resources to be loaded or text selection changes. We must ensure that + * the value is only set if it has changed. + * @type {Object} + */ + hasSideEffects: {}, + + /** + * Whether the property should be removed when set to a falsey value. + * @type {Object} + */ + hasBooleanValue: {}, + + /** + * Whether the property must be numeric or parse as a + * numeric and should be removed when set to a falsey value. + * @type {Object} + */ + hasNumericValue: {}, + + /** + * Whether the property must be positive numeric or parse as a positive + * numeric and should be removed when set to a falsey value. + * @type {Object} + */ + hasPositiveNumericValue: {}, + + /** + * Whether the property can be used as a flag as well as with a value. Removed + * when strictly equal to false; present without a value when strictly equal + * to true; present with a value otherwise. + * @type {Object} + */ + hasOverloadedBooleanValue: {}, + + /** + * All of the isCustomAttribute() functions that have been injected. + */ + _isCustomAttributeFunctions: [], + + /** + * Checks whether a property name is a custom attribute. + * @method + */ + isCustomAttribute: function(attributeName) { + for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) { + var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i]; + if (isCustomAttributeFn(attributeName)) { + return true; + } + } + return false; + }, + + /** + * Returns the default property value for a DOM property (i.e., not an + * attribute). Most default values are '' or false, but not all. Worse yet, + * some (in particular, `type`) vary depending on the type of element. + * + * TODO: Is it better to grab all the possible properties when creating an + * element to avoid having to create the same element twice? + */ + getDefaultValueForProperty: function(nodeName, prop) { + var nodeDefaults = defaultValueCache[nodeName]; + var testElement; + if (!nodeDefaults) { + defaultValueCache[nodeName] = nodeDefaults = {}; + } + if (!(prop in nodeDefaults)) { + testElement = document.createElement(nodeName); + nodeDefaults[prop] = testElement[prop]; + } + return nodeDefaults[prop]; + }, + + injection: DOMPropertyInjection +}; + +module.exports = DOMProperty; + +},{"135":135}],11:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule DOMPropertyOperations + * @typechecks static-only + */ + +'use strict'; + +var DOMProperty = _dereq_(10); + +var quoteAttributeValueForBrowser = _dereq_(147); +var warning = _dereq_(154); + +function shouldIgnoreValue(name, value) { + return value == null || + (DOMProperty.hasBooleanValue[name] && !value) || + (DOMProperty.hasNumericValue[name] && isNaN(value)) || + (DOMProperty.hasPositiveNumericValue[name] && (value < 1)) || + (DOMProperty.hasOverloadedBooleanValue[name] && value === false); +} + +if ("production" !== "development") { + var reactProps = { + children: true, + dangerouslySetInnerHTML: true, + key: true, + ref: true + }; + var warnedProperties = {}; + + var warnUnknownProperty = function(name) { + if (reactProps.hasOwnProperty(name) && reactProps[name] || + warnedProperties.hasOwnProperty(name) && warnedProperties[name]) { + return; + } + + warnedProperties[name] = true; + var lowerCasedName = name.toLowerCase(); + + // data-* attributes should be lowercase; suggest the lowercase version + var standardName = ( + DOMProperty.isCustomAttribute(lowerCasedName) ? + lowerCasedName : + DOMProperty.getPossibleStandardName.hasOwnProperty(lowerCasedName) ? + DOMProperty.getPossibleStandardName[lowerCasedName] : + null + ); + + // For now, only warn when we have a suggested correction. This prevents + // logging too much when using transferPropsTo. + ("production" !== "development" ? warning( + standardName == null, + 'Unknown DOM property %s. Did you mean %s?', + name, + standardName + ) : null); + + }; +} + +/** + * Operations for dealing with DOM properties. + */ +var DOMPropertyOperations = { + + /** + * Creates markup for the ID property. + * + * @param {string} id Unescaped ID. + * @return {string} Markup string. + */ + createMarkupForID: function(id) { + return DOMProperty.ID_ATTRIBUTE_NAME + '=' + + quoteAttributeValueForBrowser(id); + }, + + /** + * Creates markup for a property. + * + * @param {string} name + * @param {*} value + * @return {?string} Markup string, or null if the property was invalid. + */ + createMarkupForProperty: function(name, value) { + if (DOMProperty.isStandardName.hasOwnProperty(name) && + DOMProperty.isStandardName[name]) { + if (shouldIgnoreValue(name, value)) { + return ''; + } + var attributeName = DOMProperty.getAttributeName[name]; + if (DOMProperty.hasBooleanValue[name] || + (DOMProperty.hasOverloadedBooleanValue[name] && value === true)) { + return attributeName; + } + return attributeName + '=' + quoteAttributeValueForBrowser(value); + } else if (DOMProperty.isCustomAttribute(name)) { + if (value == null) { + return ''; + } + return name + '=' + quoteAttributeValueForBrowser(value); + } else if ("production" !== "development") { + warnUnknownProperty(name); + } + return null; + }, + + /** + * Sets the value for a property on a node. + * + * @param {DOMElement} node + * @param {string} name + * @param {*} value + */ + setValueForProperty: function(node, name, value) { + if (DOMProperty.isStandardName.hasOwnProperty(name) && + DOMProperty.isStandardName[name]) { + var mutationMethod = DOMProperty.getMutationMethod[name]; + if (mutationMethod) { + mutationMethod(node, value); + } else if (shouldIgnoreValue(name, value)) { + this.deleteValueForProperty(node, name); + } else if (DOMProperty.mustUseAttribute[name]) { + // `setAttribute` with objects becomes only `[object]` in IE8/9, + // ('' + value) makes it output the correct toString()-value. + node.setAttribute(DOMProperty.getAttributeName[name], '' + value); + } else { + var propName = DOMProperty.getPropertyName[name]; + // Must explicitly cast values for HAS_SIDE_EFFECTS-properties to the + // property type before comparing; only `value` does and is string. + if (!DOMProperty.hasSideEffects[name] || + ('' + node[propName]) !== ('' + value)) { + // Contrary to `setAttribute`, object properties are properly + // `toString`ed by IE8/9. + node[propName] = value; + } + } + } else if (DOMProperty.isCustomAttribute(name)) { + if (value == null) { + node.removeAttribute(name); + } else { + node.setAttribute(name, '' + value); + } + } else if ("production" !== "development") { + warnUnknownProperty(name); + } + }, + + /** + * Deletes the value for a property on a node. + * + * @param {DOMElement} node + * @param {string} name + */ + deleteValueForProperty: function(node, name) { + if (DOMProperty.isStandardName.hasOwnProperty(name) && + DOMProperty.isStandardName[name]) { + var mutationMethod = DOMProperty.getMutationMethod[name]; + if (mutationMethod) { + mutationMethod(node, undefined); + } else if (DOMProperty.mustUseAttribute[name]) { + node.removeAttribute(DOMProperty.getAttributeName[name]); + } else { + var propName = DOMProperty.getPropertyName[name]; + var defaultValue = DOMProperty.getDefaultValueForProperty( + node.nodeName, + propName + ); + if (!DOMProperty.hasSideEffects[name] || + ('' + node[propName]) !== defaultValue) { + node[propName] = defaultValue; + } + } + } else if (DOMProperty.isCustomAttribute(name)) { + node.removeAttribute(name); + } else if ("production" !== "development") { + warnUnknownProperty(name); + } + } + +}; + +module.exports = DOMPropertyOperations; + +},{"10":10,"147":147,"154":154}],12:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule Danger + * @typechecks static-only + */ + +/*jslint evil: true, sub: true */ + +'use strict'; + +var ExecutionEnvironment = _dereq_(21); + +var createNodesFromMarkup = _dereq_(112); +var emptyFunction = _dereq_(114); +var getMarkupWrap = _dereq_(127); +var invariant = _dereq_(135); + +var OPEN_TAG_NAME_EXP = /^(<[^ \/>]+)/; +var RESULT_INDEX_ATTR = 'data-danger-index'; + +/** + * Extracts the `nodeName` from a string of markup. + * + * NOTE: Extracting the `nodeName` does not require a regular expression match + * because we make assumptions about React-generated markup (i.e. there are no + * spaces surrounding the opening tag and there is at least one attribute). + * + * @param {string} markup String of markup. + * @return {string} Node name of the supplied markup. + * @see http://jsperf.com/extract-nodename + */ +function getNodeName(markup) { + return markup.substring(1, markup.indexOf(' ')); +} + +var Danger = { + + /** + * Renders markup into an array of nodes. The markup is expected to render + * into a list of root nodes. Also, the length of `resultList` and + * `markupList` should be the same. + * + * @param {array<string>} markupList List of markup strings to render. + * @return {array<DOMElement>} List of rendered nodes. + * @internal + */ + dangerouslyRenderMarkup: function(markupList) { + ("production" !== "development" ? invariant( + ExecutionEnvironment.canUseDOM, + 'dangerouslyRenderMarkup(...): Cannot render markup in a worker ' + + 'thread. Make sure `window` and `document` are available globally ' + + 'before requiring React when unit testing or use ' + + 'React.renderToString for server rendering.' + ) : invariant(ExecutionEnvironment.canUseDOM)); + var nodeName; + var markupByNodeName = {}; + // Group markup by `nodeName` if a wrap is necessary, else by '*'. + for (var i = 0; i < markupList.length; i++) { + ("production" !== "development" ? invariant( + markupList[i], + 'dangerouslyRenderMarkup(...): Missing markup.' + ) : invariant(markupList[i])); + nodeName = getNodeName(markupList[i]); + nodeName = getMarkupWrap(nodeName) ? nodeName : '*'; + markupByNodeName[nodeName] = markupByNodeName[nodeName] || []; + markupByNodeName[nodeName][i] = markupList[i]; + } + var resultList = []; + var resultListAssignmentCount = 0; + for (nodeName in markupByNodeName) { + if (!markupByNodeName.hasOwnProperty(nodeName)) { + continue; + } + var markupListByNodeName = markupByNodeName[nodeName]; + + // This for-in loop skips the holes of the sparse array. The order of + // iteration should follow the order of assignment, which happens to match + // numerical index order, but we don't rely on that. + var resultIndex; + for (resultIndex in markupListByNodeName) { + if (markupListByNodeName.hasOwnProperty(resultIndex)) { + var markup = markupListByNodeName[resultIndex]; + + // Push the requested markup with an additional RESULT_INDEX_ATTR + // attribute. If the markup does not start with a < character, it + // will be discarded below (with an appropriate console.error). + markupListByNodeName[resultIndex] = markup.replace( + OPEN_TAG_NAME_EXP, + // This index will be parsed back out below. + '$1 ' + RESULT_INDEX_ATTR + '="' + resultIndex + '" ' + ); + } + } + + // Render each group of markup with similar wrapping `nodeName`. + var renderNodes = createNodesFromMarkup( + markupListByNodeName.join(''), + emptyFunction // Do nothing special with <script> tags. + ); + + for (var j = 0; j < renderNodes.length; ++j) { + var renderNode = renderNodes[j]; + if (renderNode.hasAttribute && + renderNode.hasAttribute(RESULT_INDEX_ATTR)) { + + resultIndex = +renderNode.getAttribute(RESULT_INDEX_ATTR); + renderNode.removeAttribute(RESULT_INDEX_ATTR); + + ("production" !== "development" ? invariant( + !resultList.hasOwnProperty(resultIndex), + 'Danger: Assigning to an already-occupied result index.' + ) : invariant(!resultList.hasOwnProperty(resultIndex))); + + resultList[resultIndex] = renderNode; + + // This should match resultList.length and markupList.length when + // we're done. + resultListAssignmentCount += 1; + + } else if ("production" !== "development") { + console.error( + 'Danger: Discarding unexpected node:', + renderNode + ); + } + } + } + + // Although resultList was populated out of order, it should now be a dense + // array. + ("production" !== "development" ? invariant( + resultListAssignmentCount === resultList.length, + 'Danger: Did not assign to every index of resultList.' + ) : invariant(resultListAssignmentCount === resultList.length)); + + ("production" !== "development" ? invariant( + resultList.length === markupList.length, + 'Danger: Expected markup to render %s nodes, but rendered %s.', + markupList.length, + resultList.length + ) : invariant(resultList.length === markupList.length)); + + return resultList; + }, + + /** + * Replaces a node with a string of markup at its current position within its + * parent. The markup must render into a single root node. + * + * @param {DOMElement} oldChild Child node to replace. + * @param {string} markup Markup to render in place of the child node. + * @internal + */ + dangerouslyReplaceNodeWithMarkup: function(oldChild, markup) { + ("production" !== "development" ? invariant( + ExecutionEnvironment.canUseDOM, + 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a ' + + 'worker thread. Make sure `window` and `document` are available ' + + 'globally before requiring React when unit testing or use ' + + 'React.renderToString for server rendering.' + ) : invariant(ExecutionEnvironment.canUseDOM)); + ("production" !== "development" ? invariant(markup, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : invariant(markup)); + ("production" !== "development" ? invariant( + oldChild.tagName.toLowerCase() !== 'html', + 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the ' + + '<html> node. This is because browser quirks make this unreliable ' + + 'and/or slow. If you want to render to the root you must use ' + + 'server rendering. See React.renderToString().' + ) : invariant(oldChild.tagName.toLowerCase() !== 'html')); + + var newChild = createNodesFromMarkup(markup, emptyFunction)[0]; + oldChild.parentNode.replaceChild(newChild, oldChild); + } + +}; + +module.exports = Danger; + +},{"112":112,"114":114,"127":127,"135":135,"21":21}],13:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule DefaultEventPluginOrder + */ + +'use strict'; + +var keyOf = _dereq_(141); + +/** + * Module that is injectable into `EventPluginHub`, that specifies a + * deterministic ordering of `EventPlugin`s. A convenient way to reason about + * plugins, without having to package every one of them. This is better than + * having plugins be ordered in the same order that they are injected because + * that ordering would be influenced by the packaging order. + * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that + * preventing default on events is convenient in `SimpleEventPlugin` handlers. + */ +var DefaultEventPluginOrder = [ + keyOf({ResponderEventPlugin: null}), + keyOf({SimpleEventPlugin: null}), + keyOf({TapEventPlugin: null}), + keyOf({EnterLeaveEventPlugin: null}), + keyOf({ChangeEventPlugin: null}), + keyOf({SelectEventPlugin: null}), + keyOf({BeforeInputEventPlugin: null}), + keyOf({AnalyticsEventPlugin: null}), + keyOf({MobileSafariClickEventPlugin: null}) +]; + +module.exports = DefaultEventPluginOrder; + +},{"141":141}],14:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule EnterLeaveEventPlugin + * @typechecks static-only + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPropagators = _dereq_(20); +var SyntheticMouseEvent = _dereq_(99); + +var ReactMount = _dereq_(70); +var keyOf = _dereq_(141); + +var topLevelTypes = EventConstants.topLevelTypes; +var getFirstReactDOM = ReactMount.getFirstReactDOM; + +var eventTypes = { + mouseEnter: { + registrationName: keyOf({onMouseEnter: null}), + dependencies: [ + topLevelTypes.topMouseOut, + topLevelTypes.topMouseOver + ] + }, + mouseLeave: { + registrationName: keyOf({onMouseLeave: null}), + dependencies: [ + topLevelTypes.topMouseOut, + topLevelTypes.topMouseOver + ] + } +}; + +var extractedEvents = [null, null]; + +var EnterLeaveEventPlugin = { + + eventTypes: eventTypes, + + /** + * For almost every interaction we care about, there will be both a top-level + * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that + * we do not extract duplicate events. However, moving the mouse into the + * browser from outside will not fire a `mouseout` event. In this case, we use + * the `mouseover` top-level event. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @see {EventPluginHub.extractEvents} + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + if (topLevelType === topLevelTypes.topMouseOver && + (nativeEvent.relatedTarget || nativeEvent.fromElement)) { + return null; + } + if (topLevelType !== topLevelTypes.topMouseOut && + topLevelType !== topLevelTypes.topMouseOver) { + // Must not be a mouse in or mouse out - ignoring. + return null; + } + + var win; + if (topLevelTarget.window === topLevelTarget) { + // `topLevelTarget` is probably a window object. + win = topLevelTarget; + } else { + // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8. + var doc = topLevelTarget.ownerDocument; + if (doc) { + win = doc.defaultView || doc.parentWindow; + } else { + win = window; + } + } + + var from, to; + if (topLevelType === topLevelTypes.topMouseOut) { + from = topLevelTarget; + to = + getFirstReactDOM(nativeEvent.relatedTarget || nativeEvent.toElement) || + win; + } else { + from = win; + to = topLevelTarget; + } + + if (from === to) { + // Nothing pertains to our managed components. + return null; + } + + var fromID = from ? ReactMount.getID(from) : ''; + var toID = to ? ReactMount.getID(to) : ''; + + var leave = SyntheticMouseEvent.getPooled( + eventTypes.mouseLeave, + fromID, + nativeEvent + ); + leave.type = 'mouseleave'; + leave.target = from; + leave.relatedTarget = to; + + var enter = SyntheticMouseEvent.getPooled( + eventTypes.mouseEnter, + toID, + nativeEvent + ); + enter.type = 'mouseenter'; + enter.target = to; + enter.relatedTarget = from; + + EventPropagators.accumulateEnterLeaveDispatches(leave, enter, fromID, toID); + + extractedEvents[0] = leave; + extractedEvents[1] = enter; + + return extractedEvents; + } + +}; + +module.exports = EnterLeaveEventPlugin; + +},{"141":141,"15":15,"20":20,"70":70,"99":99}],15:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule EventConstants + */ + +'use strict'; + +var keyMirror = _dereq_(140); + +var PropagationPhases = keyMirror({bubbled: null, captured: null}); + +/** + * Types of raw signals from the browser caught at the top level. + */ +var topLevelTypes = keyMirror({ + topBlur: null, + topChange: null, + topClick: null, + topCompositionEnd: null, + topCompositionStart: null, + topCompositionUpdate: null, + topContextMenu: null, + topCopy: null, + topCut: null, + topDoubleClick: null, + topDrag: null, + topDragEnd: null, + topDragEnter: null, + topDragExit: null, + topDragLeave: null, + topDragOver: null, + topDragStart: null, + topDrop: null, + topError: null, + topFocus: null, + topInput: null, + topKeyDown: null, + topKeyPress: null, + topKeyUp: null, + topLoad: null, + topMouseDown: null, + topMouseMove: null, + topMouseOut: null, + topMouseOver: null, + topMouseUp: null, + topPaste: null, + topReset: null, + topScroll: null, + topSelectionChange: null, + topSubmit: null, + topTextInput: null, + topTouchCancel: null, + topTouchEnd: null, + topTouchMove: null, + topTouchStart: null, + topWheel: null +}); + +var EventConstants = { + topLevelTypes: topLevelTypes, + PropagationPhases: PropagationPhases +}; + +module.exports = EventConstants; + +},{"140":140}],16:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * @providesModule EventListener + * @typechecks + */ + +var emptyFunction = _dereq_(114); + +/** + * Upstream version of event listener. Does not take into account specific + * nature of platform. + */ +var EventListener = { + /** + * Listen to DOM events during the bubble phase. + * + * @param {DOMEventTarget} target DOM element to register listener on. + * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. + * @param {function} callback Callback function. + * @return {object} Object with a `remove` method. + */ + listen: function(target, eventType, callback) { + if (target.addEventListener) { + target.addEventListener(eventType, callback, false); + return { + remove: function() { + target.removeEventListener(eventType, callback, false); + } + }; + } else if (target.attachEvent) { + target.attachEvent('on' + eventType, callback); + return { + remove: function() { + target.detachEvent('on' + eventType, callback); + } + }; + } + }, + + /** + * Listen to DOM events during the capture phase. + * + * @param {DOMEventTarget} target DOM element to register listener on. + * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. + * @param {function} callback Callback function. + * @return {object} Object with a `remove` method. + */ + capture: function(target, eventType, callback) { + if (!target.addEventListener) { + if ("production" !== "development") { + console.error( + 'Attempted to listen to events during the capture phase on a ' + + 'browser that does not support the capture phase. Your application ' + + 'will not receive some events.' + ); + } + return { + remove: emptyFunction + }; + } else { + target.addEventListener(eventType, callback, true); + return { + remove: function() { + target.removeEventListener(eventType, callback, true); + } + }; + } + }, + + registerDefault: function() {} +}; + +module.exports = EventListener; + +},{"114":114}],17:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule EventPluginHub + */ + +'use strict'; + +var EventPluginRegistry = _dereq_(18); +var EventPluginUtils = _dereq_(19); + +var accumulateInto = _dereq_(105); +var forEachAccumulated = _dereq_(120); +var invariant = _dereq_(135); + +/** + * Internal store for event listeners + */ +var listenerBank = {}; + +/** + * Internal queue of events that have accumulated their dispatches and are + * waiting to have their dispatches executed. + */ +var eventQueue = null; + +/** + * Dispatches an event and releases it back into the pool, unless persistent. + * + * @param {?object} event Synthetic event to be dispatched. + * @private + */ +var executeDispatchesAndRelease = function(event) { + if (event) { + var executeDispatch = EventPluginUtils.executeDispatch; + // Plugins can provide custom behavior when dispatching events. + var PluginModule = EventPluginRegistry.getPluginModuleForEvent(event); + if (PluginModule && PluginModule.executeDispatch) { + executeDispatch = PluginModule.executeDispatch; + } + EventPluginUtils.executeDispatchesInOrder(event, executeDispatch); + + if (!event.isPersistent()) { + event.constructor.release(event); + } + } +}; + +/** + * - `InstanceHandle`: [required] Module that performs logical traversals of DOM + * hierarchy given ids of the logical DOM elements involved. + */ +var InstanceHandle = null; + +function validateInstanceHandle() { + var valid = + InstanceHandle && + InstanceHandle.traverseTwoPhase && + InstanceHandle.traverseEnterLeave; + ("production" !== "development" ? invariant( + valid, + 'InstanceHandle not injected before use!' + ) : invariant(valid)); +} + +/** + * This is a unified interface for event plugins to be installed and configured. + * + * Event plugins can implement the following properties: + * + * `extractEvents` {function(string, DOMEventTarget, string, object): *} + * Required. When a top-level event is fired, this method is expected to + * extract synthetic events that will in turn be queued and dispatched. + * + * `eventTypes` {object} + * Optional, plugins that fire events must publish a mapping of registration + * names that are used to register listeners. Values of this mapping must + * be objects that contain `registrationName` or `phasedRegistrationNames`. + * + * `executeDispatch` {function(object, function, string)} + * Optional, allows plugins to override how an event gets dispatched. By + * default, the listener is simply invoked. + * + * Each plugin that is injected into `EventsPluginHub` is immediately operable. + * + * @public + */ +var EventPluginHub = { + + /** + * Methods for injecting dependencies. + */ + injection: { + + /** + * @param {object} InjectedMount + * @public + */ + injectMount: EventPluginUtils.injection.injectMount, + + /** + * @param {object} InjectedInstanceHandle + * @public + */ + injectInstanceHandle: function(InjectedInstanceHandle) { + InstanceHandle = InjectedInstanceHandle; + if ("production" !== "development") { + validateInstanceHandle(); + } + }, + + getInstanceHandle: function() { + if ("production" !== "development") { + validateInstanceHandle(); + } + return InstanceHandle; + }, + + /** + * @param {array} InjectedEventPluginOrder + * @public + */ + injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder, + + /** + * @param {object} injectedNamesToPlugins Map from names to plugin modules. + */ + injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName + + }, + + eventNameDispatchConfigs: EventPluginRegistry.eventNameDispatchConfigs, + + registrationNameModules: EventPluginRegistry.registrationNameModules, + + /** + * Stores `listener` at `listenerBank[registrationName][id]`. Is idempotent. + * + * @param {string} id ID of the DOM element. + * @param {string} registrationName Name of listener (e.g. `onClick`). + * @param {?function} listener The callback to store. + */ + putListener: function(id, registrationName, listener) { + ("production" !== "development" ? invariant( + !listener || typeof listener === 'function', + 'Expected %s listener to be a function, instead got type %s', + registrationName, typeof listener + ) : invariant(!listener || typeof listener === 'function')); + + var bankForRegistrationName = + listenerBank[registrationName] || (listenerBank[registrationName] = {}); + bankForRegistrationName[id] = listener; + }, + + /** + * @param {string} id ID of the DOM element. + * @param {string} registrationName Name of listener (e.g. `onClick`). + * @return {?function} The stored callback. + */ + getListener: function(id, registrationName) { + var bankForRegistrationName = listenerBank[registrationName]; + return bankForRegistrationName && bankForRegistrationName[id]; + }, + + /** + * Deletes a listener from the registration bank. + * + * @param {string} id ID of the DOM element. + * @param {string} registrationName Name of listener (e.g. `onClick`). + */ + deleteListener: function(id, registrationName) { + var bankForRegistrationName = listenerBank[registrationName]; + if (bankForRegistrationName) { + delete bankForRegistrationName[id]; + } + }, + + /** + * Deletes all listeners for the DOM element with the supplied ID. + * + * @param {string} id ID of the DOM element. + */ + deleteAllListeners: function(id) { + for (var registrationName in listenerBank) { + delete listenerBank[registrationName][id]; + } + }, + + /** + * Allows registered plugins an opportunity to extract events from top-level + * native browser events. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @internal + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + var events; + var plugins = EventPluginRegistry.plugins; + for (var i = 0, l = plugins.length; i < l; i++) { + // Not every plugin in the ordering may be loaded at runtime. + var possiblePlugin = plugins[i]; + if (possiblePlugin) { + var extractedEvents = possiblePlugin.extractEvents( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent + ); + if (extractedEvents) { + events = accumulateInto(events, extractedEvents); + } + } + } + return events; + }, + + /** + * Enqueues a synthetic event that should be dispatched when + * `processEventQueue` is invoked. + * + * @param {*} events An accumulation of synthetic events. + * @internal + */ + enqueueEvents: function(events) { + if (events) { + eventQueue = accumulateInto(eventQueue, events); + } + }, + + /** + * Dispatches all synthetic events on the event queue. + * + * @internal + */ + processEventQueue: function() { + // Set `eventQueue` to null before processing it so that we can tell if more + // events get enqueued while processing. + var processingEventQueue = eventQueue; + eventQueue = null; + forEachAccumulated(processingEventQueue, executeDispatchesAndRelease); + ("production" !== "development" ? invariant( + !eventQueue, + 'processEventQueue(): Additional events were enqueued while processing ' + + 'an event queue. Support for this has not yet been implemented.' + ) : invariant(!eventQueue)); + }, + + /** + * These are needed for tests only. Do not use! + */ + __purge: function() { + listenerBank = {}; + }, + + __getListenerBank: function() { + return listenerBank; + } + +}; + +module.exports = EventPluginHub; + +},{"105":105,"120":120,"135":135,"18":18,"19":19}],18:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule EventPluginRegistry + * @typechecks static-only + */ + +'use strict'; + +var invariant = _dereq_(135); + +/** + * Injectable ordering of event plugins. + */ +var EventPluginOrder = null; + +/** + * Injectable mapping from names to event plugin modules. + */ +var namesToPlugins = {}; + +/** + * Recomputes the plugin list using the injected plugins and plugin ordering. + * + * @private + */ +function recomputePluginOrdering() { + if (!EventPluginOrder) { + // Wait until an `EventPluginOrder` is injected. + return; + } + for (var pluginName in namesToPlugins) { + var PluginModule = namesToPlugins[pluginName]; + var pluginIndex = EventPluginOrder.indexOf(pluginName); + ("production" !== "development" ? invariant( + pluginIndex > -1, + 'EventPluginRegistry: Cannot inject event plugins that do not exist in ' + + 'the plugin ordering, `%s`.', + pluginName + ) : invariant(pluginIndex > -1)); + if (EventPluginRegistry.plugins[pluginIndex]) { + continue; + } + ("production" !== "development" ? invariant( + PluginModule.extractEvents, + 'EventPluginRegistry: Event plugins must implement an `extractEvents` ' + + 'method, but `%s` does not.', + pluginName + ) : invariant(PluginModule.extractEvents)); + EventPluginRegistry.plugins[pluginIndex] = PluginModule; + var publishedEvents = PluginModule.eventTypes; + for (var eventName in publishedEvents) { + ("production" !== "development" ? invariant( + publishEventForPlugin( + publishedEvents[eventName], + PluginModule, + eventName + ), + 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', + eventName, + pluginName + ) : invariant(publishEventForPlugin( + publishedEvents[eventName], + PluginModule, + eventName + ))); + } + } +} + +/** + * Publishes an event so that it can be dispatched by the supplied plugin. + * + * @param {object} dispatchConfig Dispatch configuration for the event. + * @param {object} PluginModule Plugin publishing the event. + * @return {boolean} True if the event was successfully published. + * @private + */ +function publishEventForPlugin(dispatchConfig, PluginModule, eventName) { + ("production" !== "development" ? invariant( + !EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName), + 'EventPluginHub: More than one plugin attempted to publish the same ' + + 'event name, `%s`.', + eventName + ) : invariant(!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName))); + EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig; + + var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames; + if (phasedRegistrationNames) { + for (var phaseName in phasedRegistrationNames) { + if (phasedRegistrationNames.hasOwnProperty(phaseName)) { + var phasedRegistrationName = phasedRegistrationNames[phaseName]; + publishRegistrationName( + phasedRegistrationName, + PluginModule, + eventName + ); + } + } + return true; + } else if (dispatchConfig.registrationName) { + publishRegistrationName( + dispatchConfig.registrationName, + PluginModule, + eventName + ); + return true; + } + return false; +} + +/** + * Publishes a registration name that is used to identify dispatched events and + * can be used with `EventPluginHub.putListener` to register listeners. + * + * @param {string} registrationName Registration name to add. + * @param {object} PluginModule Plugin publishing the event. + * @private + */ +function publishRegistrationName(registrationName, PluginModule, eventName) { + ("production" !== "development" ? invariant( + !EventPluginRegistry.registrationNameModules[registrationName], + 'EventPluginHub: More than one plugin attempted to publish the same ' + + 'registration name, `%s`.', + registrationName + ) : invariant(!EventPluginRegistry.registrationNameModules[registrationName])); + EventPluginRegistry.registrationNameModules[registrationName] = PluginModule; + EventPluginRegistry.registrationNameDependencies[registrationName] = + PluginModule.eventTypes[eventName].dependencies; +} + +/** + * Registers plugins so that they can extract and dispatch events. + * + * @see {EventPluginHub} + */ +var EventPluginRegistry = { + + /** + * Ordered list of injected plugins. + */ + plugins: [], + + /** + * Mapping from event name to dispatch config + */ + eventNameDispatchConfigs: {}, + + /** + * Mapping from registration name to plugin module + */ + registrationNameModules: {}, + + /** + * Mapping from registration name to event name + */ + registrationNameDependencies: {}, + + /** + * Injects an ordering of plugins (by plugin name). This allows the ordering + * to be decoupled from injection of the actual plugins so that ordering is + * always deterministic regardless of packaging, on-the-fly injection, etc. + * + * @param {array} InjectedEventPluginOrder + * @internal + * @see {EventPluginHub.injection.injectEventPluginOrder} + */ + injectEventPluginOrder: function(InjectedEventPluginOrder) { + ("production" !== "development" ? invariant( + !EventPluginOrder, + 'EventPluginRegistry: Cannot inject event plugin ordering more than ' + + 'once. You are likely trying to load more than one copy of React.' + ) : invariant(!EventPluginOrder)); + // Clone the ordering so it cannot be dynamically mutated. + EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder); + recomputePluginOrdering(); + }, + + /** + * Injects plugins to be used by `EventPluginHub`. The plugin names must be + * in the ordering injected by `injectEventPluginOrder`. + * + * Plugins can be injected as part of page initialization or on-the-fly. + * + * @param {object} injectedNamesToPlugins Map from names to plugin modules. + * @internal + * @see {EventPluginHub.injection.injectEventPluginsByName} + */ + injectEventPluginsByName: function(injectedNamesToPlugins) { + var isOrderingDirty = false; + for (var pluginName in injectedNamesToPlugins) { + if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) { + continue; + } + var PluginModule = injectedNamesToPlugins[pluginName]; + if (!namesToPlugins.hasOwnProperty(pluginName) || + namesToPlugins[pluginName] !== PluginModule) { + ("production" !== "development" ? invariant( + !namesToPlugins[pluginName], + 'EventPluginRegistry: Cannot inject two different event plugins ' + + 'using the same name, `%s`.', + pluginName + ) : invariant(!namesToPlugins[pluginName])); + namesToPlugins[pluginName] = PluginModule; + isOrderingDirty = true; + } + } + if (isOrderingDirty) { + recomputePluginOrdering(); + } + }, + + /** + * Looks up the plugin for the supplied event. + * + * @param {object} event A synthetic event. + * @return {?object} The plugin that created the supplied event. + * @internal + */ + getPluginModuleForEvent: function(event) { + var dispatchConfig = event.dispatchConfig; + if (dispatchConfig.registrationName) { + return EventPluginRegistry.registrationNameModules[ + dispatchConfig.registrationName + ] || null; + } + for (var phase in dispatchConfig.phasedRegistrationNames) { + if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) { + continue; + } + var PluginModule = EventPluginRegistry.registrationNameModules[ + dispatchConfig.phasedRegistrationNames[phase] + ]; + if (PluginModule) { + return PluginModule; + } + } + return null; + }, + + /** + * Exposed for unit testing. + * @private + */ + _resetEventPlugins: function() { + EventPluginOrder = null; + for (var pluginName in namesToPlugins) { + if (namesToPlugins.hasOwnProperty(pluginName)) { + delete namesToPlugins[pluginName]; + } + } + EventPluginRegistry.plugins.length = 0; + + var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs; + for (var eventName in eventNameDispatchConfigs) { + if (eventNameDispatchConfigs.hasOwnProperty(eventName)) { + delete eventNameDispatchConfigs[eventName]; + } + } + + var registrationNameModules = EventPluginRegistry.registrationNameModules; + for (var registrationName in registrationNameModules) { + if (registrationNameModules.hasOwnProperty(registrationName)) { + delete registrationNameModules[registrationName]; + } + } + } + +}; + +module.exports = EventPluginRegistry; + +},{"135":135}],19:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule EventPluginUtils + */ + +'use strict'; + +var EventConstants = _dereq_(15); + +var invariant = _dereq_(135); + +/** + * Injected dependencies: + */ + +/** + * - `Mount`: [required] Module that can convert between React dom IDs and + * actual node references. + */ +var injection = { + Mount: null, + injectMount: function(InjectedMount) { + injection.Mount = InjectedMount; + if ("production" !== "development") { + ("production" !== "development" ? invariant( + InjectedMount && InjectedMount.getNode, + 'EventPluginUtils.injection.injectMount(...): Injected Mount module ' + + 'is missing getNode.' + ) : invariant(InjectedMount && InjectedMount.getNode)); + } + } +}; + +var topLevelTypes = EventConstants.topLevelTypes; + +function isEndish(topLevelType) { + return topLevelType === topLevelTypes.topMouseUp || + topLevelType === topLevelTypes.topTouchEnd || + topLevelType === topLevelTypes.topTouchCancel; +} + +function isMoveish(topLevelType) { + return topLevelType === topLevelTypes.topMouseMove || + topLevelType === topLevelTypes.topTouchMove; +} +function isStartish(topLevelType) { + return topLevelType === topLevelTypes.topMouseDown || + topLevelType === topLevelTypes.topTouchStart; +} + + +var validateEventDispatches; +if ("production" !== "development") { + validateEventDispatches = function(event) { + var dispatchListeners = event._dispatchListeners; + var dispatchIDs = event._dispatchIDs; + + var listenersIsArr = Array.isArray(dispatchListeners); + var idsIsArr = Array.isArray(dispatchIDs); + var IDsLen = idsIsArr ? dispatchIDs.length : dispatchIDs ? 1 : 0; + var listenersLen = listenersIsArr ? + dispatchListeners.length : + dispatchListeners ? 1 : 0; + + ("production" !== "development" ? invariant( + idsIsArr === listenersIsArr && IDsLen === listenersLen, + 'EventPluginUtils: Invalid `event`.' + ) : invariant(idsIsArr === listenersIsArr && IDsLen === listenersLen)); + }; +} + +/** + * Invokes `cb(event, listener, id)`. Avoids using call if no scope is + * provided. The `(listener,id)` pair effectively forms the "dispatch" but are + * kept separate to conserve memory. + */ +function forEachEventDispatch(event, cb) { + var dispatchListeners = event._dispatchListeners; + var dispatchIDs = event._dispatchIDs; + if ("production" !== "development") { + validateEventDispatches(event); + } + if (Array.isArray(dispatchListeners)) { + for (var i = 0; i < dispatchListeners.length; i++) { + if (event.isPropagationStopped()) { + break; + } + // Listeners and IDs are two parallel arrays that are always in sync. + cb(event, dispatchListeners[i], dispatchIDs[i]); + } + } else if (dispatchListeners) { + cb(event, dispatchListeners, dispatchIDs); + } +} + +/** + * Default implementation of PluginModule.executeDispatch(). + * @param {SyntheticEvent} SyntheticEvent to handle + * @param {function} Application-level callback + * @param {string} domID DOM id to pass to the callback. + */ +function executeDispatch(event, listener, domID) { + event.currentTarget = injection.Mount.getNode(domID); + var returnValue = listener(event, domID); + event.currentTarget = null; + return returnValue; +} + +/** + * Standard/simple iteration through an event's collected dispatches. + */ +function executeDispatchesInOrder(event, cb) { + forEachEventDispatch(event, cb); + event._dispatchListeners = null; + event._dispatchIDs = null; +} + +/** + * Standard/simple iteration through an event's collected dispatches, but stops + * at the first dispatch execution returning true, and returns that id. + * + * @return id of the first dispatch execution who's listener returns true, or + * null if no listener returned true. + */ +function executeDispatchesInOrderStopAtTrueImpl(event) { + var dispatchListeners = event._dispatchListeners; + var dispatchIDs = event._dispatchIDs; + if ("production" !== "development") { + validateEventDispatches(event); + } + if (Array.isArray(dispatchListeners)) { + for (var i = 0; i < dispatchListeners.length; i++) { + if (event.isPropagationStopped()) { + break; + } + // Listeners and IDs are two parallel arrays that are always in sync. + if (dispatchListeners[i](event, dispatchIDs[i])) { + return dispatchIDs[i]; + } + } + } else if (dispatchListeners) { + if (dispatchListeners(event, dispatchIDs)) { + return dispatchIDs; + } + } + return null; +} + +/** + * @see executeDispatchesInOrderStopAtTrueImpl + */ +function executeDispatchesInOrderStopAtTrue(event) { + var ret = executeDispatchesInOrderStopAtTrueImpl(event); + event._dispatchIDs = null; + event._dispatchListeners = null; + return ret; +} + +/** + * Execution of a "direct" dispatch - there must be at most one dispatch + * accumulated on the event or it is considered an error. It doesn't really make + * sense for an event with multiple dispatches (bubbled) to keep track of the + * return values at each dispatch execution, but it does tend to make sense when + * dealing with "direct" dispatches. + * + * @return The return value of executing the single dispatch. + */ +function executeDirectDispatch(event) { + if ("production" !== "development") { + validateEventDispatches(event); + } + var dispatchListener = event._dispatchListeners; + var dispatchID = event._dispatchIDs; + ("production" !== "development" ? invariant( + !Array.isArray(dispatchListener), + 'executeDirectDispatch(...): Invalid `event`.' + ) : invariant(!Array.isArray(dispatchListener))); + var res = dispatchListener ? + dispatchListener(event, dispatchID) : + null; + event._dispatchListeners = null; + event._dispatchIDs = null; + return res; +} + +/** + * @param {SyntheticEvent} event + * @return {bool} True iff number of dispatches accumulated is greater than 0. + */ +function hasDispatches(event) { + return !!event._dispatchListeners; +} + +/** + * General utilities that are useful in creating custom Event Plugins. + */ +var EventPluginUtils = { + isEndish: isEndish, + isMoveish: isMoveish, + isStartish: isStartish, + + executeDirectDispatch: executeDirectDispatch, + executeDispatch: executeDispatch, + executeDispatchesInOrder: executeDispatchesInOrder, + executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue, + hasDispatches: hasDispatches, + injection: injection, + useTouchEvents: false +}; + +module.exports = EventPluginUtils; + +},{"135":135,"15":15}],20:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule EventPropagators + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPluginHub = _dereq_(17); + +var accumulateInto = _dereq_(105); +var forEachAccumulated = _dereq_(120); + +var PropagationPhases = EventConstants.PropagationPhases; +var getListener = EventPluginHub.getListener; + +/** + * Some event types have a notion of different registration names for different + * "phases" of propagation. This finds listeners by a given phase. + */ +function listenerAtPhase(id, event, propagationPhase) { + var registrationName = + event.dispatchConfig.phasedRegistrationNames[propagationPhase]; + return getListener(id, registrationName); +} + +/** + * Tags a `SyntheticEvent` with dispatched listeners. Creating this function + * here, allows us to not have to bind or create functions for each event. + * Mutating the event's members allows us to not have to create a wrapping + * "dispatch" object that pairs the event with the listener. + */ +function accumulateDirectionalDispatches(domID, upwards, event) { + if ("production" !== "development") { + if (!domID) { + throw new Error('Dispatching id must not be null'); + } + } + var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured; + var listener = listenerAtPhase(domID, event, phase); + if (listener) { + event._dispatchListeners = + accumulateInto(event._dispatchListeners, listener); + event._dispatchIDs = accumulateInto(event._dispatchIDs, domID); + } +} + +/** + * Collect dispatches (must be entirely collected before dispatching - see unit + * tests). Lazily allocate the array to conserve memory. We must loop through + * each event and perform the traversal for each one. We can not perform a + * single traversal for the entire collection of events because each event may + * have a different target. + */ +function accumulateTwoPhaseDispatchesSingle(event) { + if (event && event.dispatchConfig.phasedRegistrationNames) { + EventPluginHub.injection.getInstanceHandle().traverseTwoPhase( + event.dispatchMarker, + accumulateDirectionalDispatches, + event + ); + } +} + + +/** + * Accumulates without regard to direction, does not look for phased + * registration names. Same as `accumulateDirectDispatchesSingle` but without + * requiring that the `dispatchMarker` be the same as the dispatched ID. + */ +function accumulateDispatches(id, ignoredDirection, event) { + if (event && event.dispatchConfig.registrationName) { + var registrationName = event.dispatchConfig.registrationName; + var listener = getListener(id, registrationName); + if (listener) { + event._dispatchListeners = + accumulateInto(event._dispatchListeners, listener); + event._dispatchIDs = accumulateInto(event._dispatchIDs, id); + } + } +} + +/** + * Accumulates dispatches on an `SyntheticEvent`, but only for the + * `dispatchMarker`. + * @param {SyntheticEvent} event + */ +function accumulateDirectDispatchesSingle(event) { + if (event && event.dispatchConfig.registrationName) { + accumulateDispatches(event.dispatchMarker, null, event); + } +} + +function accumulateTwoPhaseDispatches(events) { + forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle); +} + +function accumulateEnterLeaveDispatches(leave, enter, fromID, toID) { + EventPluginHub.injection.getInstanceHandle().traverseEnterLeave( + fromID, + toID, + accumulateDispatches, + leave, + enter + ); +} + + +function accumulateDirectDispatches(events) { + forEachAccumulated(events, accumulateDirectDispatchesSingle); +} + + + +/** + * A small set of propagation patterns, each of which will accept a small amount + * of information, and generate a set of "dispatch ready event objects" - which + * are sets of events that have already been annotated with a set of dispatched + * listener functions/ids. The API is designed this way to discourage these + * propagation strategies from actually executing the dispatches, since we + * always want to collect the entire set of dispatches before executing event a + * single one. + * + * @constructor EventPropagators + */ +var EventPropagators = { + accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches, + accumulateDirectDispatches: accumulateDirectDispatches, + accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches +}; + +module.exports = EventPropagators; + +},{"105":105,"120":120,"15":15,"17":17}],21:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ExecutionEnvironment + */ + +/*jslint evil: true */ + +"use strict"; + +var canUseDOM = !!( + (typeof window !== 'undefined' && + window.document && window.document.createElement) +); + +/** + * Simple, lightweight module assisting with the detection and context of + * Worker. Helps avoid circular dependencies and allows code to reason about + * whether or not they are in a Worker, even if they never include the main + * `ReactWorker` dependency. + */ +var ExecutionEnvironment = { + + canUseDOM: canUseDOM, + + canUseWorkers: typeof Worker !== 'undefined', + + canUseEventListeners: + canUseDOM && !!(window.addEventListener || window.attachEvent), + + canUseViewport: canUseDOM && !!window.screen, + + isInWorker: !canUseDOM // For now, this is true - might change in the future. + +}; + +module.exports = ExecutionEnvironment; + +},{}],22:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule FallbackCompositionState + * @typechecks static-only + */ + +'use strict'; + +var PooledClass = _dereq_(28); + +var assign = _dereq_(27); +var getTextContentAccessor = _dereq_(130); + +/** + * This helper class stores information about text content of a target node, + * allowing comparison of content before and after a given event. + * + * Identify the node where selection currently begins, then observe + * both its text content and its current position in the DOM. Since the + * browser may natively replace the target node during composition, we can + * use its position to find its replacement. + * + * @param {DOMEventTarget} root + */ +function FallbackCompositionState(root) { + this._root = root; + this._startText = this.getText(); + this._fallbackText = null; +} + +assign(FallbackCompositionState.prototype, { + /** + * Get current text of input. + * + * @return {string} + */ + getText: function() { + if ('value' in this._root) { + return this._root.value; + } + return this._root[getTextContentAccessor()]; + }, + + /** + * Determine the differing substring between the initially stored + * text content and the current content. + * + * @return {string} + */ + getData: function() { + if (this._fallbackText) { + return this._fallbackText; + } + + var start; + var startValue = this._startText; + var startLength = startValue.length; + var end; + var endValue = this.getText(); + var endLength = endValue.length; + + for (start = 0; start < startLength; start++) { + if (startValue[start] !== endValue[start]) { + break; + } + } + + var minEnd = startLength - start; + for (end = 1; end <= minEnd; end++) { + if (startValue[startLength - end] !== endValue[endLength - end]) { + break; + } + } + + var sliceTail = end > 1 ? 1 - end : undefined; + this._fallbackText = endValue.slice(start, sliceTail); + return this._fallbackText; + } +}); + +PooledClass.addPoolingTo(FallbackCompositionState); + +module.exports = FallbackCompositionState; + +},{"130":130,"27":27,"28":28}],23:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule HTMLDOMPropertyConfig + */ + +/*jslint bitwise: true*/ + +'use strict'; + +var DOMProperty = _dereq_(10); +var ExecutionEnvironment = _dereq_(21); + +var MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE; +var MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY; +var HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE; +var HAS_SIDE_EFFECTS = DOMProperty.injection.HAS_SIDE_EFFECTS; +var HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE; +var HAS_POSITIVE_NUMERIC_VALUE = + DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE; +var HAS_OVERLOADED_BOOLEAN_VALUE = + DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE; + +var hasSVG; +if (ExecutionEnvironment.canUseDOM) { + var implementation = document.implementation; + hasSVG = ( + implementation && + implementation.hasFeature && + implementation.hasFeature( + 'http://www.w3.org/TR/SVG11/feature#BasicStructure', + '1.1' + ) + ); +} + + +var HTMLDOMPropertyConfig = { + isCustomAttribute: RegExp.prototype.test.bind( + /^(data|aria)-[a-z_][a-z\d_.\-]*$/ + ), + Properties: { + /** + * Standard Properties + */ + accept: null, + acceptCharset: null, + accessKey: null, + action: null, + allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, + allowTransparency: MUST_USE_ATTRIBUTE, + alt: null, + async: HAS_BOOLEAN_VALUE, + autoComplete: null, + // autoFocus is polyfilled/normalized by AutoFocusMixin + // autoFocus: HAS_BOOLEAN_VALUE, + autoPlay: HAS_BOOLEAN_VALUE, + cellPadding: null, + cellSpacing: null, + charSet: MUST_USE_ATTRIBUTE, + checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + classID: MUST_USE_ATTRIBUTE, + // To set className on SVG elements, it's necessary to use .setAttribute; + // this works on HTML elements too in all browsers except IE8. Conveniently, + // IE8 doesn't support SVG and so we can simply use the attribute in + // browsers that support SVG and the property in browsers that don't, + // regardless of whether the element is HTML or SVG. + className: hasSVG ? MUST_USE_ATTRIBUTE : MUST_USE_PROPERTY, + cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE, + colSpan: null, + content: null, + contentEditable: null, + contextMenu: MUST_USE_ATTRIBUTE, + controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + coords: null, + crossOrigin: null, + data: null, // For `<object />` acts as `src`. + dateTime: MUST_USE_ATTRIBUTE, + defer: HAS_BOOLEAN_VALUE, + dir: null, + disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, + download: HAS_OVERLOADED_BOOLEAN_VALUE, + draggable: null, + encType: null, + form: MUST_USE_ATTRIBUTE, + formAction: MUST_USE_ATTRIBUTE, + formEncType: MUST_USE_ATTRIBUTE, + formMethod: MUST_USE_ATTRIBUTE, + formNoValidate: HAS_BOOLEAN_VALUE, + formTarget: MUST_USE_ATTRIBUTE, + frameBorder: MUST_USE_ATTRIBUTE, + headers: null, + height: MUST_USE_ATTRIBUTE, + hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, + href: null, + hrefLang: null, + htmlFor: null, + httpEquiv: null, + icon: null, + id: MUST_USE_PROPERTY, + label: null, + lang: null, + list: MUST_USE_ATTRIBUTE, + loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + manifest: MUST_USE_ATTRIBUTE, + marginHeight: null, + marginWidth: null, + max: null, + maxLength: MUST_USE_ATTRIBUTE, + media: MUST_USE_ATTRIBUTE, + mediaGroup: null, + method: null, + min: null, + multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + name: null, + noValidate: HAS_BOOLEAN_VALUE, + open: HAS_BOOLEAN_VALUE, + pattern: null, + placeholder: null, + poster: null, + preload: null, + radioGroup: null, + readOnly: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + rel: null, + required: HAS_BOOLEAN_VALUE, + role: MUST_USE_ATTRIBUTE, + rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE, + rowSpan: null, + sandbox: null, + scope: null, + scrolling: null, + seamless: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, + selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, + shape: null, + size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE, + sizes: MUST_USE_ATTRIBUTE, + span: HAS_POSITIVE_NUMERIC_VALUE, + spellCheck: null, + src: null, + srcDoc: MUST_USE_PROPERTY, + srcSet: MUST_USE_ATTRIBUTE, + start: HAS_NUMERIC_VALUE, + step: null, + style: null, + tabIndex: null, + target: null, + title: null, + type: null, + useMap: null, + value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS, + width: MUST_USE_ATTRIBUTE, + wmode: MUST_USE_ATTRIBUTE, + + /** + * Non-standard Properties + */ + // autoCapitalize and autoCorrect are supported in Mobile Safari for + // keyboard hints. + autoCapitalize: null, + autoCorrect: null, + // itemProp, itemScope, itemType are for + // Microdata support. See http://schema.org/docs/gs.html + itemProp: MUST_USE_ATTRIBUTE, + itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, + itemType: MUST_USE_ATTRIBUTE, + // itemID and itemRef are for Microdata support as well but + // only specified in the the WHATWG spec document. See + // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api + itemID: MUST_USE_ATTRIBUTE, + itemRef: MUST_USE_ATTRIBUTE, + // property is supported for OpenGraph in meta tags. + property: null + }, + DOMAttributeNames: { + acceptCharset: 'accept-charset', + className: 'class', + htmlFor: 'for', + httpEquiv: 'http-equiv' + }, + DOMPropertyNames: { + autoCapitalize: 'autocapitalize', + autoComplete: 'autocomplete', + autoCorrect: 'autocorrect', + autoFocus: 'autofocus', + autoPlay: 'autoplay', + // `encoding` is equivalent to `enctype`, IE8 lacks an `enctype` setter. + // http://www.w3.org/TR/html5/forms.html#dom-fs-encoding + encType: 'encoding', + hrefLang: 'hreflang', + radioGroup: 'radiogroup', + spellCheck: 'spellcheck', + srcDoc: 'srcdoc', + srcSet: 'srcset' + } +}; + +module.exports = HTMLDOMPropertyConfig; + +},{"10":10,"21":21}],24:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule LinkedValueUtils + * @typechecks static-only + */ + +'use strict'; + +var ReactPropTypes = _dereq_(78); + +var invariant = _dereq_(135); + +var hasReadOnlyValue = { + 'button': true, + 'checkbox': true, + 'image': true, + 'hidden': true, + 'radio': true, + 'reset': true, + 'submit': true +}; + +function _assertSingleLink(input) { + ("production" !== "development" ? invariant( + input.props.checkedLink == null || input.props.valueLink == null, + 'Cannot provide a checkedLink and a valueLink. If you want to use ' + + 'checkedLink, you probably don\'t want to use valueLink and vice versa.' + ) : invariant(input.props.checkedLink == null || input.props.valueLink == null)); +} +function _assertValueLink(input) { + _assertSingleLink(input); + ("production" !== "development" ? invariant( + input.props.value == null && input.props.onChange == null, + 'Cannot provide a valueLink and a value or onChange event. If you want ' + + 'to use value or onChange, you probably don\'t want to use valueLink.' + ) : invariant(input.props.value == null && input.props.onChange == null)); +} + +function _assertCheckedLink(input) { + _assertSingleLink(input); + ("production" !== "development" ? invariant( + input.props.checked == null && input.props.onChange == null, + 'Cannot provide a checkedLink and a checked property or onChange event. ' + + 'If you want to use checked or onChange, you probably don\'t want to ' + + 'use checkedLink' + ) : invariant(input.props.checked == null && input.props.onChange == null)); +} + +/** + * @param {SyntheticEvent} e change event to handle + */ +function _handleLinkedValueChange(e) { + /*jshint validthis:true */ + this.props.valueLink.requestChange(e.target.value); +} + +/** + * @param {SyntheticEvent} e change event to handle + */ +function _handleLinkedCheckChange(e) { + /*jshint validthis:true */ + this.props.checkedLink.requestChange(e.target.checked); +} + +/** + * Provide a linked `value` attribute for controlled forms. You should not use + * this outside of the ReactDOM controlled form components. + */ +var LinkedValueUtils = { + Mixin: { + propTypes: { + value: function(props, propName, componentName) { + if (!props[propName] || + hasReadOnlyValue[props.type] || + props.onChange || + props.readOnly || + props.disabled) { + return null; + } + return new Error( + 'You provided a `value` prop to a form field without an ' + + '`onChange` handler. This will render a read-only field. If ' + + 'the field should be mutable use `defaultValue`. Otherwise, ' + + 'set either `onChange` or `readOnly`.' + ); + }, + checked: function(props, propName, componentName) { + if (!props[propName] || + props.onChange || + props.readOnly || + props.disabled) { + return null; + } + return new Error( + 'You provided a `checked` prop to a form field without an ' + + '`onChange` handler. This will render a read-only field. If ' + + 'the field should be mutable use `defaultChecked`. Otherwise, ' + + 'set either `onChange` or `readOnly`.' + ); + }, + onChange: ReactPropTypes.func + } + }, + + /** + * @param {ReactComponent} input Form component + * @return {*} current value of the input either from value prop or link. + */ + getValue: function(input) { + if (input.props.valueLink) { + _assertValueLink(input); + return input.props.valueLink.value; + } + return input.props.value; + }, + + /** + * @param {ReactComponent} input Form component + * @return {*} current checked status of the input either from checked prop + * or link. + */ + getChecked: function(input) { + if (input.props.checkedLink) { + _assertCheckedLink(input); + return input.props.checkedLink.value; + } + return input.props.checked; + }, + + /** + * @param {ReactComponent} input Form component + * @return {function} change callback either from onChange prop or link. + */ + getOnChange: function(input) { + if (input.props.valueLink) { + _assertValueLink(input); + return _handleLinkedValueChange; + } else if (input.props.checkedLink) { + _assertCheckedLink(input); + return _handleLinkedCheckChange; + } + return input.props.onChange; + } +}; + +module.exports = LinkedValueUtils; + +},{"135":135,"78":78}],25:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule LocalEventTrapMixin + */ + +'use strict'; + +var ReactBrowserEventEmitter = _dereq_(30); + +var accumulateInto = _dereq_(105); +var forEachAccumulated = _dereq_(120); +var invariant = _dereq_(135); + +function remove(event) { + event.remove(); +} + +var LocalEventTrapMixin = { + trapBubbledEvent:function(topLevelType, handlerBaseName) { + ("production" !== "development" ? invariant(this.isMounted(), 'Must be mounted to trap events') : invariant(this.isMounted())); + // If a component renders to null or if another component fatals and causes + // the state of the tree to be corrupted, `node` here can be null. + var node = this.getDOMNode(); + ("production" !== "development" ? invariant( + node, + 'LocalEventTrapMixin.trapBubbledEvent(...): Requires node to be rendered.' + ) : invariant(node)); + var listener = ReactBrowserEventEmitter.trapBubbledEvent( + topLevelType, + handlerBaseName, + node + ); + this._localEventListeners = + accumulateInto(this._localEventListeners, listener); + }, + + // trapCapturedEvent would look nearly identical. We don't implement that + // method because it isn't currently needed. + + componentWillUnmount:function() { + if (this._localEventListeners) { + forEachAccumulated(this._localEventListeners, remove); + } + } +}; + +module.exports = LocalEventTrapMixin; + +},{"105":105,"120":120,"135":135,"30":30}],26:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule MobileSafariClickEventPlugin + * @typechecks static-only + */ + +'use strict'; + +var EventConstants = _dereq_(15); + +var emptyFunction = _dereq_(114); + +var topLevelTypes = EventConstants.topLevelTypes; + +/** + * Mobile Safari does not fire properly bubble click events on non-interactive + * elements, which means delegated click listeners do not fire. The workaround + * for this bug involves attaching an empty click listener on the target node. + * + * This particular plugin works around the bug by attaching an empty click + * listener on `touchstart` (which does fire on every element). + */ +var MobileSafariClickEventPlugin = { + + eventTypes: null, + + /** + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @see {EventPluginHub.extractEvents} + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + if (topLevelType === topLevelTypes.topTouchStart) { + var target = nativeEvent.target; + if (target && !target.onclick) { + target.onclick = emptyFunction; + } + } + } + +}; + +module.exports = MobileSafariClickEventPlugin; + +},{"114":114,"15":15}],27:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule Object.assign + */ + +// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign + +'use strict'; + +function assign(target, sources) { + if (target == null) { + throw new TypeError('Object.assign target cannot be null or undefined'); + } + + var to = Object(target); + var hasOwnProperty = Object.prototype.hasOwnProperty; + + for (var nextIndex = 1; nextIndex < arguments.length; nextIndex++) { + var nextSource = arguments[nextIndex]; + if (nextSource == null) { + continue; + } + + var from = Object(nextSource); + + // We don't currently support accessors nor proxies. Therefore this + // copy cannot throw. If we ever supported this then we must handle + // exceptions and side-effects. We don't support symbols so they won't + // be transferred. + + for (var key in from) { + if (hasOwnProperty.call(from, key)) { + to[key] = from[key]; + } + } + } + + return to; +} + +module.exports = assign; + +},{}],28:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule PooledClass + */ + +'use strict'; + +var invariant = _dereq_(135); + +/** + * Static poolers. Several custom versions for each potential number of + * arguments. A completely generic pooler is easy to implement, but would + * require accessing the `arguments` object. In each of these, `this` refers to + * the Class itself, not an instance. If any others are needed, simply add them + * here, or in their own files. + */ +var oneArgumentPooler = function(copyFieldsFrom) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, copyFieldsFrom); + return instance; + } else { + return new Klass(copyFieldsFrom); + } +}; + +var twoArgumentPooler = function(a1, a2) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2); + return instance; + } else { + return new Klass(a1, a2); + } +}; + +var threeArgumentPooler = function(a1, a2, a3) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3); + return instance; + } else { + return new Klass(a1, a2, a3); + } +}; + +var fiveArgumentPooler = function(a1, a2, a3, a4, a5) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3, a4, a5); + return instance; + } else { + return new Klass(a1, a2, a3, a4, a5); + } +}; + +var standardReleaser = function(instance) { + var Klass = this; + ("production" !== "development" ? invariant( + instance instanceof Klass, + 'Trying to release an instance into a pool of a different type.' + ) : invariant(instance instanceof Klass)); + if (instance.destructor) { + instance.destructor(); + } + if (Klass.instancePool.length < Klass.poolSize) { + Klass.instancePool.push(instance); + } +}; + +var DEFAULT_POOL_SIZE = 10; +var DEFAULT_POOLER = oneArgumentPooler; + +/** + * Augments `CopyConstructor` to be a poolable class, augmenting only the class + * itself (statically) not adding any prototypical fields. Any CopyConstructor + * you give this may have a `poolSize` property, and will look for a + * prototypical `destructor` on instances (optional). + * + * @param {Function} CopyConstructor Constructor that can be used to reset. + * @param {Function} pooler Customizable pooler. + */ +var addPoolingTo = function(CopyConstructor, pooler) { + var NewKlass = CopyConstructor; + NewKlass.instancePool = []; + NewKlass.getPooled = pooler || DEFAULT_POOLER; + if (!NewKlass.poolSize) { + NewKlass.poolSize = DEFAULT_POOL_SIZE; + } + NewKlass.release = standardReleaser; + return NewKlass; +}; + +var PooledClass = { + addPoolingTo: addPoolingTo, + oneArgumentPooler: oneArgumentPooler, + twoArgumentPooler: twoArgumentPooler, + threeArgumentPooler: threeArgumentPooler, + fiveArgumentPooler: fiveArgumentPooler +}; + +module.exports = PooledClass; + +},{"135":135}],29:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactBrowserComponentMixin + */ + +'use strict'; + +var findDOMNode = _dereq_(117); + +var ReactBrowserComponentMixin = { + /** + * Returns the DOM node rendered by this component. + * + * @return {DOMElement} The root node of this component. + * @final + * @protected + */ + getDOMNode: function() { + return findDOMNode(this); + } +}; + +module.exports = ReactBrowserComponentMixin; + +},{"117":117}],30:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactBrowserEventEmitter + * @typechecks static-only + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPluginHub = _dereq_(17); +var EventPluginRegistry = _dereq_(18); +var ReactEventEmitterMixin = _dereq_(61); +var ViewportMetrics = _dereq_(104); + +var assign = _dereq_(27); +var isEventSupported = _dereq_(136); + +/** + * Summary of `ReactBrowserEventEmitter` event handling: + * + * - Top-level delegation is used to trap most native browser events. This + * may only occur in the main thread and is the responsibility of + * ReactEventListener, which is injected and can therefore support pluggable + * event sources. This is the only work that occurs in the main thread. + * + * - We normalize and de-duplicate events to account for browser quirks. This + * may be done in the worker thread. + * + * - Forward these native events (with the associated top-level type used to + * trap it) to `EventPluginHub`, which in turn will ask plugins if they want + * to extract any synthetic events. + * + * - The `EventPluginHub` will then process each event by annotating them with + * "dispatches", a sequence of listeners and IDs that care about that event. + * + * - The `EventPluginHub` then dispatches the events. + * + * Overview of React and the event system: + * + * +------------+ . + * | DOM | . + * +------------+ . + * | . + * v . + * +------------+ . + * | ReactEvent | . + * | Listener | . + * +------------+ . +-----------+ + * | . +--------+|SimpleEvent| + * | . | |Plugin | + * +-----|------+ . v +-----------+ + * | | | . +--------------+ +------------+ + * | +-----------.--->|EventPluginHub| | Event | + * | | . | | +-----------+ | Propagators| + * | ReactEvent | . | | |TapEvent | |------------| + * | Emitter | . | |<---+|Plugin | |other plugin| + * | | . | | +-----------+ | utilities | + * | +-----------.--->| | +------------+ + * | | | . +--------------+ + * +-----|------+ . ^ +-----------+ + * | . | |Enter/Leave| + * + . +-------+|Plugin | + * +-------------+ . +-----------+ + * | application | . + * |-------------| . + * | | . + * | | . + * +-------------+ . + * . + * React Core . General Purpose Event Plugin System + */ + +var alreadyListeningTo = {}; +var isMonitoringScrollValue = false; +var reactTopListenersCounter = 0; + +// For events like 'submit' which don't consistently bubble (which we trap at a +// lower node than `document`), binding at `document` would cause duplicate +// events so we don't include them here +var topEventMapping = { + topBlur: 'blur', + topChange: 'change', + topClick: 'click', + topCompositionEnd: 'compositionend', + topCompositionStart: 'compositionstart', + topCompositionUpdate: 'compositionupdate', + topContextMenu: 'contextmenu', + topCopy: 'copy', + topCut: 'cut', + topDoubleClick: 'dblclick', + topDrag: 'drag', + topDragEnd: 'dragend', + topDragEnter: 'dragenter', + topDragExit: 'dragexit', + topDragLeave: 'dragleave', + topDragOver: 'dragover', + topDragStart: 'dragstart', + topDrop: 'drop', + topFocus: 'focus', + topInput: 'input', + topKeyDown: 'keydown', + topKeyPress: 'keypress', + topKeyUp: 'keyup', + topMouseDown: 'mousedown', + topMouseMove: 'mousemove', + topMouseOut: 'mouseout', + topMouseOver: 'mouseover', + topMouseUp: 'mouseup', + topPaste: 'paste', + topScroll: 'scroll', + topSelectionChange: 'selectionchange', + topTextInput: 'textInput', + topTouchCancel: 'touchcancel', + topTouchEnd: 'touchend', + topTouchMove: 'touchmove', + topTouchStart: 'touchstart', + topWheel: 'wheel' +}; + +/** + * To ensure no conflicts with other potential React instances on the page + */ +var topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2); + +function getListeningForDocument(mountAt) { + // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty` + // directly. + if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) { + mountAt[topListenersIDKey] = reactTopListenersCounter++; + alreadyListeningTo[mountAt[topListenersIDKey]] = {}; + } + return alreadyListeningTo[mountAt[topListenersIDKey]]; +} + +/** + * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For + * example: + * + * ReactBrowserEventEmitter.putListener('myID', 'onClick', myFunction); + * + * This would allocate a "registration" of `('onClick', myFunction)` on 'myID'. + * + * @internal + */ +var ReactBrowserEventEmitter = assign({}, ReactEventEmitterMixin, { + + /** + * Injectable event backend + */ + ReactEventListener: null, + + injection: { + /** + * @param {object} ReactEventListener + */ + injectReactEventListener: function(ReactEventListener) { + ReactEventListener.setHandleTopLevel( + ReactBrowserEventEmitter.handleTopLevel + ); + ReactBrowserEventEmitter.ReactEventListener = ReactEventListener; + } + }, + + /** + * Sets whether or not any created callbacks should be enabled. + * + * @param {boolean} enabled True if callbacks should be enabled. + */ + setEnabled: function(enabled) { + if (ReactBrowserEventEmitter.ReactEventListener) { + ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled); + } + }, + + /** + * @return {boolean} True if callbacks are enabled. + */ + isEnabled: function() { + return !!( + (ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled()) + ); + }, + + /** + * We listen for bubbled touch events on the document object. + * + * Firefox v8.01 (and possibly others) exhibited strange behavior when + * mounting `onmousemove` events at some node that was not the document + * element. The symptoms were that if your mouse is not moving over something + * contained within that mount point (for example on the background) the + * top-level listeners for `onmousemove` won't be called. However, if you + * register the `mousemove` on the document object, then it will of course + * catch all `mousemove`s. This along with iOS quirks, justifies restricting + * top-level listeners to the document object only, at least for these + * movement types of events and possibly all events. + * + * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html + * + * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but + * they bubble to document. + * + * @param {string} registrationName Name of listener (e.g. `onClick`). + * @param {object} contentDocumentHandle Document which owns the container + */ + listenTo: function(registrationName, contentDocumentHandle) { + var mountAt = contentDocumentHandle; + var isListening = getListeningForDocument(mountAt); + var dependencies = EventPluginRegistry. + registrationNameDependencies[registrationName]; + + var topLevelTypes = EventConstants.topLevelTypes; + for (var i = 0, l = dependencies.length; i < l; i++) { + var dependency = dependencies[i]; + if (!( + (isListening.hasOwnProperty(dependency) && isListening[dependency]) + )) { + if (dependency === topLevelTypes.topWheel) { + if (isEventSupported('wheel')) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelTypes.topWheel, + 'wheel', + mountAt + ); + } else if (isEventSupported('mousewheel')) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelTypes.topWheel, + 'mousewheel', + mountAt + ); + } else { + // Firefox needs to capture a different mouse scroll event. + // @see http://www.quirksmode.org/dom/events/tests/scroll.html + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelTypes.topWheel, + 'DOMMouseScroll', + mountAt + ); + } + } else if (dependency === topLevelTypes.topScroll) { + + if (isEventSupported('scroll', true)) { + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent( + topLevelTypes.topScroll, + 'scroll', + mountAt + ); + } else { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelTypes.topScroll, + 'scroll', + ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE + ); + } + } else if (dependency === topLevelTypes.topFocus || + dependency === topLevelTypes.topBlur) { + + if (isEventSupported('focus', true)) { + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent( + topLevelTypes.topFocus, + 'focus', + mountAt + ); + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent( + topLevelTypes.topBlur, + 'blur', + mountAt + ); + } else if (isEventSupported('focusin')) { + // IE has `focusin` and `focusout` events which bubble. + // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelTypes.topFocus, + 'focusin', + mountAt + ); + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelTypes.topBlur, + 'focusout', + mountAt + ); + } + + // to make sure blur and focus event listeners are only attached once + isListening[topLevelTypes.topBlur] = true; + isListening[topLevelTypes.topFocus] = true; + } else if (topEventMapping.hasOwnProperty(dependency)) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + dependency, + topEventMapping[dependency], + mountAt + ); + } + + isListening[dependency] = true; + } + } + }, + + trapBubbledEvent: function(topLevelType, handlerBaseName, handle) { + return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent( + topLevelType, + handlerBaseName, + handle + ); + }, + + trapCapturedEvent: function(topLevelType, handlerBaseName, handle) { + return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent( + topLevelType, + handlerBaseName, + handle + ); + }, + + /** + * Listens to window scroll and resize events. We cache scroll values so that + * application code can access them without triggering reflows. + * + * NOTE: Scroll events do not bubble. + * + * @see http://www.quirksmode.org/dom/events/scroll.html + */ + ensureScrollValueMonitoring: function() { + if (!isMonitoringScrollValue) { + var refresh = ViewportMetrics.refreshScrollValues; + ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh); + isMonitoringScrollValue = true; + } + }, + + eventNameDispatchConfigs: EventPluginHub.eventNameDispatchConfigs, + + registrationNameModules: EventPluginHub.registrationNameModules, + + putListener: EventPluginHub.putListener, + + getListener: EventPluginHub.getListener, + + deleteListener: EventPluginHub.deleteListener, + + deleteAllListeners: EventPluginHub.deleteAllListeners + +}); + +module.exports = ReactBrowserEventEmitter; + +},{"104":104,"136":136,"15":15,"17":17,"18":18,"27":27,"61":61}],31:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactChildReconciler + * @typechecks static-only + */ + +'use strict'; + +var ReactReconciler = _dereq_(81); + +var flattenChildren = _dereq_(118); +var instantiateReactComponent = _dereq_(134); +var shouldUpdateReactComponent = _dereq_(151); + +/** + * ReactChildReconciler provides helpers for initializing or updating a set of + * children. Its output is suitable for passing it onto ReactMultiChild which + * does diffed reordering and insertion. + */ +var ReactChildReconciler = { + + /** + * Generates a "mount image" for each of the supplied children. In the case + * of `ReactDOMComponent`, a mount image is a string of markup. + * + * @param {?object} nestedChildNodes Nested child maps. + * @return {?object} A set of child instances. + * @internal + */ + instantiateChildren: function(nestedChildNodes, transaction, context) { + var children = flattenChildren(nestedChildNodes); + for (var name in children) { + if (children.hasOwnProperty(name)) { + var child = children[name]; + // The rendered children must be turned into instances as they're + // mounted. + var childInstance = instantiateReactComponent(child, null); + children[name] = childInstance; + } + } + return children; + }, + + /** + * Updates the rendered children and returns a new set of children. + * + * @param {?object} prevChildren Previously initialized set of children. + * @param {?object} nextNestedChildNodes Nested child maps. + * @param {ReactReconcileTransaction} transaction + * @param {object} context + * @return {?object} A new set of child instances. + * @internal + */ + updateChildren: function( + prevChildren, + nextNestedChildNodes, + transaction, + context) { + // We currently don't have a way to track moves here but if we use iterators + // instead of for..in we can zip the iterators and check if an item has + // moved. + // TODO: If nothing has changed, return the prevChildren object so that we + // can quickly bailout if nothing has changed. + var nextChildren = flattenChildren(nextNestedChildNodes); + if (!nextChildren && !prevChildren) { + return null; + } + var name; + for (name in nextChildren) { + if (!nextChildren.hasOwnProperty(name)) { + continue; + } + var prevChild = prevChildren && prevChildren[name]; + var prevElement = prevChild && prevChild._currentElement; + var nextElement = nextChildren[name]; + if (shouldUpdateReactComponent(prevElement, nextElement)) { + ReactReconciler.receiveComponent( + prevChild, nextElement, transaction, context + ); + nextChildren[name] = prevChild; + } else { + if (prevChild) { + ReactReconciler.unmountComponent(prevChild, name); + } + // The child must be instantiated before it's mounted. + var nextChildInstance = instantiateReactComponent( + nextElement, + null + ); + nextChildren[name] = nextChildInstance; + } + } + // Unmount children that are no longer present. + for (name in prevChildren) { + if (prevChildren.hasOwnProperty(name) && + !(nextChildren && nextChildren.hasOwnProperty(name))) { + ReactReconciler.unmountComponent(prevChildren[name]); + } + } + return nextChildren; + }, + + /** + * Unmounts all rendered children. This should be used to clean up children + * when this component is unmounted. + * + * @param {?object} renderedChildren Previously initialized set of children. + * @internal + */ + unmountChildren: function(renderedChildren) { + for (var name in renderedChildren) { + var renderedChild = renderedChildren[name]; + ReactReconciler.unmountComponent(renderedChild); + } + } + +}; + +module.exports = ReactChildReconciler; + +},{"118":118,"134":134,"151":151,"81":81}],32:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactChildren + */ + +'use strict'; + +var PooledClass = _dereq_(28); +var ReactFragment = _dereq_(63); + +var traverseAllChildren = _dereq_(153); +var warning = _dereq_(154); + +var twoArgumentPooler = PooledClass.twoArgumentPooler; +var threeArgumentPooler = PooledClass.threeArgumentPooler; + +/** + * PooledClass representing the bookkeeping associated with performing a child + * traversal. Allows avoiding binding callbacks. + * + * @constructor ForEachBookKeeping + * @param {!function} forEachFunction Function to perform traversal with. + * @param {?*} forEachContext Context to perform context with. + */ +function ForEachBookKeeping(forEachFunction, forEachContext) { + this.forEachFunction = forEachFunction; + this.forEachContext = forEachContext; +} +PooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler); + +function forEachSingleChild(traverseContext, child, name, i) { + var forEachBookKeeping = traverseContext; + forEachBookKeeping.forEachFunction.call( + forEachBookKeeping.forEachContext, child, i); +} + +/** + * Iterates through children that are typically specified as `props.children`. + * + * The provided forEachFunc(child, index) will be called for each + * leaf child. + * + * @param {?*} children Children tree container. + * @param {function(*, int)} forEachFunc. + * @param {*} forEachContext Context for forEachContext. + */ +function forEachChildren(children, forEachFunc, forEachContext) { + if (children == null) { + return children; + } + + var traverseContext = + ForEachBookKeeping.getPooled(forEachFunc, forEachContext); + traverseAllChildren(children, forEachSingleChild, traverseContext); + ForEachBookKeeping.release(traverseContext); +} + +/** + * PooledClass representing the bookkeeping associated with performing a child + * mapping. Allows avoiding binding callbacks. + * + * @constructor MapBookKeeping + * @param {!*} mapResult Object containing the ordered map of results. + * @param {!function} mapFunction Function to perform mapping with. + * @param {?*} mapContext Context to perform mapping with. + */ +function MapBookKeeping(mapResult, mapFunction, mapContext) { + this.mapResult = mapResult; + this.mapFunction = mapFunction; + this.mapContext = mapContext; +} +PooledClass.addPoolingTo(MapBookKeeping, threeArgumentPooler); + +function mapSingleChildIntoContext(traverseContext, child, name, i) { + var mapBookKeeping = traverseContext; + var mapResult = mapBookKeeping.mapResult; + + var keyUnique = !mapResult.hasOwnProperty(name); + if ("production" !== "development") { + ("production" !== "development" ? warning( + keyUnique, + 'ReactChildren.map(...): Encountered two children with the same key, ' + + '`%s`. Child keys must be unique; when two children share a key, only ' + + 'the first child will be used.', + name + ) : null); + } + + if (keyUnique) { + var mappedChild = + mapBookKeeping.mapFunction.call(mapBookKeeping.mapContext, child, i); + mapResult[name] = mappedChild; + } +} + +/** + * Maps children that are typically specified as `props.children`. + * + * The provided mapFunction(child, key, index) will be called for each + * leaf child. + * + * TODO: This may likely break any calls to `ReactChildren.map` that were + * previously relying on the fact that we guarded against null children. + * + * @param {?*} children Children tree container. + * @param {function(*, int)} mapFunction. + * @param {*} mapContext Context for mapFunction. + * @return {object} Object containing the ordered map of results. + */ +function mapChildren(children, func, context) { + if (children == null) { + return children; + } + + var mapResult = {}; + var traverseContext = MapBookKeeping.getPooled(mapResult, func, context); + traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); + MapBookKeeping.release(traverseContext); + return ReactFragment.create(mapResult); +} + +function forEachSingleChildDummy(traverseContext, child, name, i) { + return null; +} + +/** + * Count the number of children that are typically specified as + * `props.children`. + * + * @param {?*} children Children tree container. + * @return {number} The number of children. + */ +function countChildren(children, context) { + return traverseAllChildren(children, forEachSingleChildDummy, null); +} + +var ReactChildren = { + forEach: forEachChildren, + map: mapChildren, + count: countChildren +}; + +module.exports = ReactChildren; + +},{"153":153,"154":154,"28":28,"63":63}],33:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactClass + */ + +'use strict'; + +var ReactComponent = _dereq_(34); +var ReactCurrentOwner = _dereq_(39); +var ReactElement = _dereq_(57); +var ReactErrorUtils = _dereq_(60); +var ReactInstanceMap = _dereq_(67); +var ReactLifeCycle = _dereq_(68); +var ReactPropTypeLocations = _dereq_(77); +var ReactPropTypeLocationNames = _dereq_(76); +var ReactUpdateQueue = _dereq_(86); + +var assign = _dereq_(27); +var invariant = _dereq_(135); +var keyMirror = _dereq_(140); +var keyOf = _dereq_(141); +var warning = _dereq_(154); + +var MIXINS_KEY = keyOf({mixins: null}); + +/** + * Policies that describe methods in `ReactClassInterface`. + */ +var SpecPolicy = keyMirror({ + /** + * These methods may be defined only once by the class specification or mixin. + */ + DEFINE_ONCE: null, + /** + * These methods may be defined by both the class specification and mixins. + * Subsequent definitions will be chained. These methods must return void. + */ + DEFINE_MANY: null, + /** + * These methods are overriding the base class. + */ + OVERRIDE_BASE: null, + /** + * These methods are similar to DEFINE_MANY, except we assume they return + * objects. We try to merge the keys of the return values of all the mixed in + * functions. If there is a key conflict we throw. + */ + DEFINE_MANY_MERGED: null +}); + + +var injectedMixins = []; + +/** + * Composite components are higher-level components that compose other composite + * or native components. + * + * To create a new type of `ReactClass`, pass a specification of + * your new class to `React.createClass`. The only requirement of your class + * specification is that you implement a `render` method. + * + * var MyComponent = React.createClass({ + * render: function() { + * return <div>Hello World</div>; + * } + * }); + * + * The class specification supports a specific protocol of methods that have + * special meaning (e.g. `render`). See `ReactClassInterface` for + * more the comprehensive protocol. Any other properties and methods in the + * class specification will available on the prototype. + * + * @interface ReactClassInterface + * @internal + */ +var ReactClassInterface = { + + /** + * An array of Mixin objects to include when defining your component. + * + * @type {array} + * @optional + */ + mixins: SpecPolicy.DEFINE_MANY, + + /** + * An object containing properties and methods that should be defined on + * the component's constructor instead of its prototype (static methods). + * + * @type {object} + * @optional + */ + statics: SpecPolicy.DEFINE_MANY, + + /** + * Definition of prop types for this component. + * + * @type {object} + * @optional + */ + propTypes: SpecPolicy.DEFINE_MANY, + + /** + * Definition of context types for this component. + * + * @type {object} + * @optional + */ + contextTypes: SpecPolicy.DEFINE_MANY, + + /** + * Definition of context types this component sets for its children. + * + * @type {object} + * @optional + */ + childContextTypes: SpecPolicy.DEFINE_MANY, + + // ==== Definition methods ==== + + /** + * Invoked when the component is mounted. Values in the mapping will be set on + * `this.props` if that prop is not specified (i.e. using an `in` check). + * + * This method is invoked before `getInitialState` and therefore cannot rely + * on `this.state` or use `this.setState`. + * + * @return {object} + * @optional + */ + getDefaultProps: SpecPolicy.DEFINE_MANY_MERGED, + + /** + * Invoked once before the component is mounted. The return value will be used + * as the initial value of `this.state`. + * + * getInitialState: function() { + * return { + * isOn: false, + * fooBaz: new BazFoo() + * } + * } + * + * @return {object} + * @optional + */ + getInitialState: SpecPolicy.DEFINE_MANY_MERGED, + + /** + * @return {object} + * @optional + */ + getChildContext: SpecPolicy.DEFINE_MANY_MERGED, + + /** + * Uses props from `this.props` and state from `this.state` to render the + * structure of the component. + * + * No guarantees are made about when or how often this method is invoked, so + * it must not have side effects. + * + * render: function() { + * var name = this.props.name; + * return <div>Hello, {name}!</div>; + * } + * + * @return {ReactComponent} + * @nosideeffects + * @required + */ + render: SpecPolicy.DEFINE_ONCE, + + + + // ==== Delegate methods ==== + + /** + * Invoked when the component is initially created and about to be mounted. + * This may have side effects, but any external subscriptions or data created + * by this method must be cleaned up in `componentWillUnmount`. + * + * @optional + */ + componentWillMount: SpecPolicy.DEFINE_MANY, + + /** + * Invoked when the component has been mounted and has a DOM representation. + * However, there is no guarantee that the DOM node is in the document. + * + * Use this as an opportunity to operate on the DOM when the component has + * been mounted (initialized and rendered) for the first time. + * + * @param {DOMElement} rootNode DOM element representing the component. + * @optional + */ + componentDidMount: SpecPolicy.DEFINE_MANY, + + /** + * Invoked before the component receives new props. + * + * Use this as an opportunity to react to a prop transition by updating the + * state using `this.setState`. Current props are accessed via `this.props`. + * + * componentWillReceiveProps: function(nextProps, nextContext) { + * this.setState({ + * likesIncreasing: nextProps.likeCount > this.props.likeCount + * }); + * } + * + * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop + * transition may cause a state change, but the opposite is not true. If you + * need it, you are probably looking for `componentWillUpdate`. + * + * @param {object} nextProps + * @optional + */ + componentWillReceiveProps: SpecPolicy.DEFINE_MANY, + + /** + * Invoked while deciding if the component should be updated as a result of + * receiving new props, state and/or context. + * + * Use this as an opportunity to `return false` when you're certain that the + * transition to the new props/state/context will not require a component + * update. + * + * shouldComponentUpdate: function(nextProps, nextState, nextContext) { + * return !equal(nextProps, this.props) || + * !equal(nextState, this.state) || + * !equal(nextContext, this.context); + * } + * + * @param {object} nextProps + * @param {?object} nextState + * @param {?object} nextContext + * @return {boolean} True if the component should update. + * @optional + */ + shouldComponentUpdate: SpecPolicy.DEFINE_ONCE, + + /** + * Invoked when the component is about to update due to a transition from + * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState` + * and `nextContext`. + * + * Use this as an opportunity to perform preparation before an update occurs. + * + * NOTE: You **cannot** use `this.setState()` in this method. + * + * @param {object} nextProps + * @param {?object} nextState + * @param {?object} nextContext + * @param {ReactReconcileTransaction} transaction + * @optional + */ + componentWillUpdate: SpecPolicy.DEFINE_MANY, + + /** + * Invoked when the component's DOM representation has been updated. + * + * Use this as an opportunity to operate on the DOM when the component has + * been updated. + * + * @param {object} prevProps + * @param {?object} prevState + * @param {?object} prevContext + * @param {DOMElement} rootNode DOM element representing the component. + * @optional + */ + componentDidUpdate: SpecPolicy.DEFINE_MANY, + + /** + * Invoked when the component is about to be removed from its parent and have + * its DOM representation destroyed. + * + * Use this as an opportunity to deallocate any external resources. + * + * NOTE: There is no `componentDidUnmount` since your component will have been + * destroyed by that point. + * + * @optional + */ + componentWillUnmount: SpecPolicy.DEFINE_MANY, + + + + // ==== Advanced methods ==== + + /** + * Updates the component's currently mounted DOM representation. + * + * By default, this implements React's rendering and reconciliation algorithm. + * Sophisticated clients may wish to override this. + * + * @param {ReactReconcileTransaction} transaction + * @internal + * @overridable + */ + updateComponent: SpecPolicy.OVERRIDE_BASE + +}; + +/** + * Mapping from class specification keys to special processing functions. + * + * Although these are declared like instance properties in the specification + * when defining classes using `React.createClass`, they are actually static + * and are accessible on the constructor instead of the prototype. Despite + * being static, they must be defined outside of the "statics" key under + * which all other static methods are defined. + */ +var RESERVED_SPEC_KEYS = { + displayName: function(Constructor, displayName) { + Constructor.displayName = displayName; + }, + mixins: function(Constructor, mixins) { + if (mixins) { + for (var i = 0; i < mixins.length; i++) { + mixSpecIntoComponent(Constructor, mixins[i]); + } + } + }, + childContextTypes: function(Constructor, childContextTypes) { + if ("production" !== "development") { + validateTypeDef( + Constructor, + childContextTypes, + ReactPropTypeLocations.childContext + ); + } + Constructor.childContextTypes = assign( + {}, + Constructor.childContextTypes, + childContextTypes + ); + }, + contextTypes: function(Constructor, contextTypes) { + if ("production" !== "development") { + validateTypeDef( + Constructor, + contextTypes, + ReactPropTypeLocations.context + ); + } + Constructor.contextTypes = assign( + {}, + Constructor.contextTypes, + contextTypes + ); + }, + /** + * Special case getDefaultProps which should move into statics but requires + * automatic merging. + */ + getDefaultProps: function(Constructor, getDefaultProps) { + if (Constructor.getDefaultProps) { + Constructor.getDefaultProps = createMergedResultFunction( + Constructor.getDefaultProps, + getDefaultProps + ); + } else { + Constructor.getDefaultProps = getDefaultProps; + } + }, + propTypes: function(Constructor, propTypes) { + if ("production" !== "development") { + validateTypeDef( + Constructor, + propTypes, + ReactPropTypeLocations.prop + ); + } + Constructor.propTypes = assign( + {}, + Constructor.propTypes, + propTypes + ); + }, + statics: function(Constructor, statics) { + mixStaticSpecIntoComponent(Constructor, statics); + } +}; + +function validateTypeDef(Constructor, typeDef, location) { + for (var propName in typeDef) { + if (typeDef.hasOwnProperty(propName)) { + // use a warning instead of an invariant so components + // don't show up in prod but not in __DEV__ + ("production" !== "development" ? warning( + typeof typeDef[propName] === 'function', + '%s: %s type `%s` is invalid; it must be a function, usually from ' + + 'React.PropTypes.', + Constructor.displayName || 'ReactClass', + ReactPropTypeLocationNames[location], + propName + ) : null); + } + } +} + +function validateMethodOverride(proto, name) { + var specPolicy = ReactClassInterface.hasOwnProperty(name) ? + ReactClassInterface[name] : + null; + + // Disallow overriding of base class methods unless explicitly allowed. + if (ReactClassMixin.hasOwnProperty(name)) { + ("production" !== "development" ? invariant( + specPolicy === SpecPolicy.OVERRIDE_BASE, + 'ReactClassInterface: You are attempting to override ' + + '`%s` from your class specification. Ensure that your method names ' + + 'do not overlap with React methods.', + name + ) : invariant(specPolicy === SpecPolicy.OVERRIDE_BASE)); + } + + // Disallow defining methods more than once unless explicitly allowed. + if (proto.hasOwnProperty(name)) { + ("production" !== "development" ? invariant( + specPolicy === SpecPolicy.DEFINE_MANY || + specPolicy === SpecPolicy.DEFINE_MANY_MERGED, + 'ReactClassInterface: You are attempting to define ' + + '`%s` on your component more than once. This conflict may be due ' + + 'to a mixin.', + name + ) : invariant(specPolicy === SpecPolicy.DEFINE_MANY || + specPolicy === SpecPolicy.DEFINE_MANY_MERGED)); + } +} + +/** + * Mixin helper which handles policy validation and reserved + * specification keys when building React classses. + */ +function mixSpecIntoComponent(Constructor, spec) { + if (!spec) { + return; + } + + ("production" !== "development" ? invariant( + typeof spec !== 'function', + 'ReactClass: You\'re attempting to ' + + 'use a component class as a mixin. Instead, just use a regular object.' + ) : invariant(typeof spec !== 'function')); + ("production" !== "development" ? invariant( + !ReactElement.isValidElement(spec), + 'ReactClass: You\'re attempting to ' + + 'use a component as a mixin. Instead, just use a regular object.' + ) : invariant(!ReactElement.isValidElement(spec))); + + var proto = Constructor.prototype; + + // By handling mixins before any other properties, we ensure the same + // chaining order is applied to methods with DEFINE_MANY policy, whether + // mixins are listed before or after these methods in the spec. + if (spec.hasOwnProperty(MIXINS_KEY)) { + RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins); + } + + for (var name in spec) { + if (!spec.hasOwnProperty(name)) { + continue; + } + + if (name === MIXINS_KEY) { + // We have already handled mixins in a special case above + continue; + } + + var property = spec[name]; + validateMethodOverride(proto, name); + + if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) { + RESERVED_SPEC_KEYS[name](Constructor, property); + } else { + // Setup methods on prototype: + // The following member methods should not be automatically bound: + // 1. Expected ReactClass methods (in the "interface"). + // 2. Overridden methods (that were mixed in). + var isReactClassMethod = + ReactClassInterface.hasOwnProperty(name); + var isAlreadyDefined = proto.hasOwnProperty(name); + var markedDontBind = property && property.__reactDontBind; + var isFunction = typeof property === 'function'; + var shouldAutoBind = + isFunction && + !isReactClassMethod && + !isAlreadyDefined && + !markedDontBind; + + if (shouldAutoBind) { + if (!proto.__reactAutoBindMap) { + proto.__reactAutoBindMap = {}; + } + proto.__reactAutoBindMap[name] = property; + proto[name] = property; + } else { + if (isAlreadyDefined) { + var specPolicy = ReactClassInterface[name]; + + // These cases should already be caught by validateMethodOverride + ("production" !== "development" ? invariant( + isReactClassMethod && ( + (specPolicy === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === SpecPolicy.DEFINE_MANY) + ), + 'ReactClass: Unexpected spec policy %s for key %s ' + + 'when mixing in component specs.', + specPolicy, + name + ) : invariant(isReactClassMethod && ( + (specPolicy === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === SpecPolicy.DEFINE_MANY) + ))); + + // For methods which are defined more than once, call the existing + // methods before calling the new property, merging if appropriate. + if (specPolicy === SpecPolicy.DEFINE_MANY_MERGED) { + proto[name] = createMergedResultFunction(proto[name], property); + } else if (specPolicy === SpecPolicy.DEFINE_MANY) { + proto[name] = createChainedFunction(proto[name], property); + } + } else { + proto[name] = property; + if ("production" !== "development") { + // Add verbose displayName to the function, which helps when looking + // at profiling tools. + if (typeof property === 'function' && spec.displayName) { + proto[name].displayName = spec.displayName + '_' + name; + } + } + } + } + } + } +} + +function mixStaticSpecIntoComponent(Constructor, statics) { + if (!statics) { + return; + } + for (var name in statics) { + var property = statics[name]; + if (!statics.hasOwnProperty(name)) { + continue; + } + + var isReserved = name in RESERVED_SPEC_KEYS; + ("production" !== "development" ? invariant( + !isReserved, + 'ReactClass: You are attempting to define a reserved ' + + 'property, `%s`, that shouldn\'t be on the "statics" key. Define it ' + + 'as an instance property instead; it will still be accessible on the ' + + 'constructor.', + name + ) : invariant(!isReserved)); + + var isInherited = name in Constructor; + ("production" !== "development" ? invariant( + !isInherited, + 'ReactClass: You are attempting to define ' + + '`%s` on your component more than once. This conflict may be ' + + 'due to a mixin.', + name + ) : invariant(!isInherited)); + Constructor[name] = property; + } +} + +/** + * Merge two objects, but throw if both contain the same key. + * + * @param {object} one The first object, which is mutated. + * @param {object} two The second object + * @return {object} one after it has been mutated to contain everything in two. + */ +function mergeIntoWithNoDuplicateKeys(one, two) { + ("production" !== "development" ? invariant( + one && two && typeof one === 'object' && typeof two === 'object', + 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.' + ) : invariant(one && two && typeof one === 'object' && typeof two === 'object')); + + for (var key in two) { + if (two.hasOwnProperty(key)) { + ("production" !== "development" ? invariant( + one[key] === undefined, + 'mergeIntoWithNoDuplicateKeys(): ' + + 'Tried to merge two objects with the same key: `%s`. This conflict ' + + 'may be due to a mixin; in particular, this may be caused by two ' + + 'getInitialState() or getDefaultProps() methods returning objects ' + + 'with clashing keys.', + key + ) : invariant(one[key] === undefined)); + one[key] = two[key]; + } + } + return one; +} + +/** + * Creates a function that invokes two functions and merges their return values. + * + * @param {function} one Function to invoke first. + * @param {function} two Function to invoke second. + * @return {function} Function that invokes the two argument functions. + * @private + */ +function createMergedResultFunction(one, two) { + return function mergedResult() { + var a = one.apply(this, arguments); + var b = two.apply(this, arguments); + if (a == null) { + return b; + } else if (b == null) { + return a; + } + var c = {}; + mergeIntoWithNoDuplicateKeys(c, a); + mergeIntoWithNoDuplicateKeys(c, b); + return c; + }; +} + +/** + * Creates a function that invokes two functions and ignores their return vales. + * + * @param {function} one Function to invoke first. + * @param {function} two Function to invoke second. + * @return {function} Function that invokes the two argument functions. + * @private + */ +function createChainedFunction(one, two) { + return function chainedFunction() { + one.apply(this, arguments); + two.apply(this, arguments); + }; +} + +/** + * Binds a method to the component. + * + * @param {object} component Component whose method is going to be bound. + * @param {function} method Method to be bound. + * @return {function} The bound method. + */ +function bindAutoBindMethod(component, method) { + var boundMethod = method.bind(component); + if ("production" !== "development") { + boundMethod.__reactBoundContext = component; + boundMethod.__reactBoundMethod = method; + boundMethod.__reactBoundArguments = null; + var componentName = component.constructor.displayName; + var _bind = boundMethod.bind; + /* eslint-disable block-scoped-var, no-undef */ + boundMethod.bind = function(newThis ) {for (var args=[],$__0=1,$__1=arguments.length;$__0<$__1;$__0++) args.push(arguments[$__0]); + // User is trying to bind() an autobound method; we effectively will + // ignore the value of "this" that the user is trying to use, so + // let's warn. + if (newThis !== component && newThis !== null) { + ("production" !== "development" ? warning( + false, + 'bind(): React component methods may only be bound to the ' + + 'component instance. See %s', + componentName + ) : null); + } else if (!args.length) { + ("production" !== "development" ? warning( + false, + 'bind(): You are binding a component method to the component. ' + + 'React does this for you automatically in a high-performance ' + + 'way, so you can safely remove this call. See %s', + componentName + ) : null); + return boundMethod; + } + var reboundMethod = _bind.apply(boundMethod, arguments); + reboundMethod.__reactBoundContext = component; + reboundMethod.__reactBoundMethod = method; + reboundMethod.__reactBoundArguments = args; + return reboundMethod; + /* eslint-enable */ + }; + } + return boundMethod; +} + +/** + * Binds all auto-bound methods in a component. + * + * @param {object} component Component whose method is going to be bound. + */ +function bindAutoBindMethods(component) { + for (var autoBindKey in component.__reactAutoBindMap) { + if (component.__reactAutoBindMap.hasOwnProperty(autoBindKey)) { + var method = component.__reactAutoBindMap[autoBindKey]; + component[autoBindKey] = bindAutoBindMethod( + component, + ReactErrorUtils.guard( + method, + component.constructor.displayName + '.' + autoBindKey + ) + ); + } + } +} + +var typeDeprecationDescriptor = { + enumerable: false, + get: function() { + var displayName = this.displayName || this.name || 'Component'; + ("production" !== "development" ? warning( + false, + '%s.type is deprecated. Use %s directly to access the class.', + displayName, + displayName + ) : null); + Object.defineProperty(this, 'type', { + value: this + }); + return this; + } +}; + +/** + * Add more to the ReactClass base class. These are all legacy features and + * therefore not already part of the modern ReactComponent. + */ +var ReactClassMixin = { + + /** + * TODO: This will be deprecated because state should always keep a consistent + * type signature and the only use case for this, is to avoid that. + */ + replaceState: function(newState, callback) { + ReactUpdateQueue.enqueueReplaceState(this, newState); + if (callback) { + ReactUpdateQueue.enqueueCallback(this, callback); + } + }, + + /** + * Checks whether or not this composite component is mounted. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: function() { + if ("production" !== "development") { + var owner = ReactCurrentOwner.current; + if (owner !== null) { + ("production" !== "development" ? warning( + owner._warnedAboutRefsInRender, + '%s is accessing isMounted inside its render() function. ' + + 'render() should be a pure function of props and state. It should ' + + 'never access something that requires stale data from the previous ' + + 'render, such as refs. Move this logic to componentDidMount and ' + + 'componentDidUpdate instead.', + owner.getName() || 'A component' + ) : null); + owner._warnedAboutRefsInRender = true; + } + } + var internalInstance = ReactInstanceMap.get(this); + return ( + internalInstance && + internalInstance !== ReactLifeCycle.currentlyMountingInstance + ); + }, + + /** + * Sets a subset of the props. + * + * @param {object} partialProps Subset of the next props. + * @param {?function} callback Called after props are updated. + * @final + * @public + * @deprecated + */ + setProps: function(partialProps, callback) { + ReactUpdateQueue.enqueueSetProps(this, partialProps); + if (callback) { + ReactUpdateQueue.enqueueCallback(this, callback); + } + }, + + /** + * Replace all the props. + * + * @param {object} newProps Subset of the next props. + * @param {?function} callback Called after props are updated. + * @final + * @public + * @deprecated + */ + replaceProps: function(newProps, callback) { + ReactUpdateQueue.enqueueReplaceProps(this, newProps); + if (callback) { + ReactUpdateQueue.enqueueCallback(this, callback); + } + } +}; + +var ReactClassComponent = function() {}; +assign( + ReactClassComponent.prototype, + ReactComponent.prototype, + ReactClassMixin +); + +/** + * Module for creating composite components. + * + * @class ReactClass + */ +var ReactClass = { + + /** + * Creates a composite component class given a class specification. + * + * @param {object} spec Class specification (which must define `render`). + * @return {function} Component constructor function. + * @public + */ + createClass: function(spec) { + var Constructor = function(props, context) { + // This constructor is overridden by mocks. The argument is used + // by mocks to assert on what gets mounted. + + if ("production" !== "development") { + ("production" !== "development" ? warning( + this instanceof Constructor, + 'Something is calling a React component directly. Use a factory or ' + + 'JSX instead. See: http://fb.me/react-legacyfactory' + ) : null); + } + + // Wire up auto-binding + if (this.__reactAutoBindMap) { + bindAutoBindMethods(this); + } + + this.props = props; + this.context = context; + this.state = null; + + // ReactClasses doesn't have constructors. Instead, they use the + // getInitialState and componentWillMount methods for initialization. + + var initialState = this.getInitialState ? this.getInitialState() : null; + if ("production" !== "development") { + // We allow auto-mocks to proceed as if they're returning null. + if (typeof initialState === 'undefined' && + this.getInitialState._isMockFunction) { + // This is probably bad practice. Consider warning here and + // deprecating this convenience. + initialState = null; + } + } + ("production" !== "development" ? invariant( + typeof initialState === 'object' && !Array.isArray(initialState), + '%s.getInitialState(): must return an object or null', + Constructor.displayName || 'ReactCompositeComponent' + ) : invariant(typeof initialState === 'object' && !Array.isArray(initialState))); + + this.state = initialState; + }; + Constructor.prototype = new ReactClassComponent(); + Constructor.prototype.constructor = Constructor; + + injectedMixins.forEach( + mixSpecIntoComponent.bind(null, Constructor) + ); + + mixSpecIntoComponent(Constructor, spec); + + // Initialize the defaultProps property after all mixins have been merged + if (Constructor.getDefaultProps) { + Constructor.defaultProps = Constructor.getDefaultProps(); + } + + if ("production" !== "development") { + // This is a tag to indicate that the use of these method names is ok, + // since it's used with createClass. If it's not, then it's likely a + // mistake so we'll warn you to use the static property, property + // initializer or constructor respectively. + if (Constructor.getDefaultProps) { + Constructor.getDefaultProps.isReactClassApproved = {}; + } + if (Constructor.prototype.getInitialState) { + Constructor.prototype.getInitialState.isReactClassApproved = {}; + } + } + + ("production" !== "development" ? invariant( + Constructor.prototype.render, + 'createClass(...): Class specification must implement a `render` method.' + ) : invariant(Constructor.prototype.render)); + + if ("production" !== "development") { + ("production" !== "development" ? warning( + !Constructor.prototype.componentShouldUpdate, + '%s has a method called ' + + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + + 'The name is phrased as a question because the function is ' + + 'expected to return a value.', + spec.displayName || 'A component' + ) : null); + } + + // Reduce time spent doing lookups by setting these on the prototype. + for (var methodName in ReactClassInterface) { + if (!Constructor.prototype[methodName]) { + Constructor.prototype[methodName] = null; + } + } + + // Legacy hook + Constructor.type = Constructor; + if ("production" !== "development") { + try { + Object.defineProperty(Constructor, 'type', typeDeprecationDescriptor); + } catch (x) { + // IE will fail on defineProperty (es5-shim/sham too) + } + } + + return Constructor; + }, + + injection: { + injectMixin: function(mixin) { + injectedMixins.push(mixin); + } + } + +}; + +module.exports = ReactClass; + +},{"135":135,"140":140,"141":141,"154":154,"27":27,"34":34,"39":39,"57":57,"60":60,"67":67,"68":68,"76":76,"77":77,"86":86}],34:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactComponent + */ + +'use strict'; + +var ReactUpdateQueue = _dereq_(86); + +var invariant = _dereq_(135); +var warning = _dereq_(154); + +/** + * Base class helpers for the updating state of a component. + */ +function ReactComponent(props, context) { + this.props = props; + this.context = context; +} + +/** + * Sets a subset of the state. Always use this to mutate + * state. You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * There is no guarantee that calls to `setState` will run synchronously, + * as they may eventually be batched together. You can provide an optional + * callback that will be executed when the call to setState is actually + * completed. + * + * When a function is provided to setState, it will be called at some point in + * the future (not synchronously). It will be called with the up to date + * component arguments (state, props, context). These values can be different + * from this.* because your function may be called after receiveProps but before + * shouldComponentUpdate, and this new state, props, and context will not yet be + * assigned to this. + * + * @param {object|function} partialState Next partial state or function to + * produce next partial state to be merged with current state. + * @param {?function} callback Called after state is updated. + * @final + * @protected + */ +ReactComponent.prototype.setState = function(partialState, callback) { + ("production" !== "development" ? invariant( + typeof partialState === 'object' || + typeof partialState === 'function' || + partialState == null, + 'setState(...): takes an object of state variables to update or a ' + + 'function which returns an object of state variables.' + ) : invariant(typeof partialState === 'object' || + typeof partialState === 'function' || + partialState == null)); + if ("production" !== "development") { + ("production" !== "development" ? warning( + partialState != null, + 'setState(...): You passed an undefined or null state object; ' + + 'instead, use forceUpdate().' + ) : null); + } + ReactUpdateQueue.enqueueSetState(this, partialState); + if (callback) { + ReactUpdateQueue.enqueueCallback(this, callback); + } +}; + +/** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {?function} callback Called after update is complete. + * @final + * @protected + */ +ReactComponent.prototype.forceUpdate = function(callback) { + ReactUpdateQueue.enqueueForceUpdate(this); + if (callback) { + ReactUpdateQueue.enqueueCallback(this, callback); + } +}; + +/** + * Deprecated APIs. These APIs used to exist on classic React classes but since + * we would like to deprecate them, we're not going to move them over to this + * modern base class. Instead, we define a getter that warns if it's accessed. + */ +if ("production" !== "development") { + var deprecatedAPIs = { + getDOMNode: 'getDOMNode', + isMounted: 'isMounted', + replaceProps: 'replaceProps', + replaceState: 'replaceState', + setProps: 'setProps' + }; + var defineDeprecationWarning = function(methodName, displayName) { + try { + Object.defineProperty(ReactComponent.prototype, methodName, { + get: function() { + ("production" !== "development" ? warning( + false, + '%s(...) is deprecated in plain JavaScript React classes.', + displayName + ) : null); + return undefined; + } + }); + } catch (x) { + // IE will fail on defineProperty (es5-shim/sham too) + } + }; + for (var fnName in deprecatedAPIs) { + if (deprecatedAPIs.hasOwnProperty(fnName)) { + defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); + } + } +} + +module.exports = ReactComponent; + +},{"135":135,"154":154,"86":86}],35:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactComponentBrowserEnvironment + */ + +/*jslint evil: true */ + +'use strict'; + +var ReactDOMIDOperations = _dereq_(44); +var ReactMount = _dereq_(70); + +/** + * Abstracts away all functionality of the reconciler that requires knowledge of + * the browser context. TODO: These callers should be refactored to avoid the + * need for this injection. + */ +var ReactComponentBrowserEnvironment = { + + processChildrenUpdates: + ReactDOMIDOperations.dangerouslyProcessChildrenUpdates, + + replaceNodeWithMarkupByID: + ReactDOMIDOperations.dangerouslyReplaceNodeWithMarkupByID, + + /** + * If a particular environment requires that some resources be cleaned up, + * specify this in the injected Mixin. In the DOM, we would likely want to + * purge any cached node ID lookups. + * + * @private + */ + unmountIDFromEnvironment: function(rootNodeID) { + ReactMount.purgeID(rootNodeID); + } + +}; + +module.exports = ReactComponentBrowserEnvironment; + +},{"44":44,"70":70}],36:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactComponentEnvironment + */ + +'use strict'; + +var invariant = _dereq_(135); + +var injected = false; + +var ReactComponentEnvironment = { + + /** + * Optionally injectable environment dependent cleanup hook. (server vs. + * browser etc). Example: A browser system caches DOM nodes based on component + * ID and must remove that cache entry when this instance is unmounted. + */ + unmountIDFromEnvironment: null, + + /** + * Optionally injectable hook for swapping out mount images in the middle of + * the tree. + */ + replaceNodeWithMarkupByID: null, + + /** + * Optionally injectable hook for processing a queue of child updates. Will + * later move into MultiChildComponents. + */ + processChildrenUpdates: null, + + injection: { + injectEnvironment: function(environment) { + ("production" !== "development" ? invariant( + !injected, + 'ReactCompositeComponent: injectEnvironment() can only be called once.' + ) : invariant(!injected)); + ReactComponentEnvironment.unmountIDFromEnvironment = + environment.unmountIDFromEnvironment; + ReactComponentEnvironment.replaceNodeWithMarkupByID = + environment.replaceNodeWithMarkupByID; + ReactComponentEnvironment.processChildrenUpdates = + environment.processChildrenUpdates; + injected = true; + } + } + +}; + +module.exports = ReactComponentEnvironment; + +},{"135":135}],37:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactCompositeComponent + */ + +'use strict'; + +var ReactComponentEnvironment = _dereq_(36); +var ReactContext = _dereq_(38); +var ReactCurrentOwner = _dereq_(39); +var ReactElement = _dereq_(57); +var ReactElementValidator = _dereq_(58); +var ReactInstanceMap = _dereq_(67); +var ReactLifeCycle = _dereq_(68); +var ReactNativeComponent = _dereq_(73); +var ReactPerf = _dereq_(75); +var ReactPropTypeLocations = _dereq_(77); +var ReactPropTypeLocationNames = _dereq_(76); +var ReactReconciler = _dereq_(81); +var ReactUpdates = _dereq_(87); + +var assign = _dereq_(27); +var emptyObject = _dereq_(115); +var invariant = _dereq_(135); +var shouldUpdateReactComponent = _dereq_(151); +var warning = _dereq_(154); + +function getDeclarationErrorAddendum(component) { + var owner = component._currentElement._owner || null; + if (owner) { + var name = owner.getName(); + if (name) { + return ' Check the render method of `' + name + '`.'; + } + } + return ''; +} + +/** + * ------------------ The Life-Cycle of a Composite Component ------------------ + * + * - constructor: Initialization of state. The instance is now retained. + * - componentWillMount + * - render + * - [children's constructors] + * - [children's componentWillMount and render] + * - [children's componentDidMount] + * - componentDidMount + * + * Update Phases: + * - componentWillReceiveProps (only called if parent updated) + * - shouldComponentUpdate + * - componentWillUpdate + * - render + * - [children's constructors or receive props phases] + * - componentDidUpdate + * + * - componentWillUnmount + * - [children's componentWillUnmount] + * - [children destroyed] + * - (destroyed): The instance is now blank, released by React and ready for GC. + * + * ----------------------------------------------------------------------------- + */ + +/** + * An incrementing ID assigned to each component when it is mounted. This is + * used to enforce the order in which `ReactUpdates` updates dirty components. + * + * @private + */ +var nextMountID = 1; + +/** + * @lends {ReactCompositeComponent.prototype} + */ +var ReactCompositeComponentMixin = { + + /** + * Base constructor for all composite component. + * + * @param {ReactElement} element + * @final + * @internal + */ + construct: function(element) { + this._currentElement = element; + this._rootNodeID = null; + this._instance = null; + + // See ReactUpdateQueue + this._pendingElement = null; + this._pendingStateQueue = null; + this._pendingReplaceState = false; + this._pendingForceUpdate = false; + + this._renderedComponent = null; + + this._context = null; + this._mountOrder = 0; + this._isTopLevel = false; + + // See ReactUpdates and ReactUpdateQueue. + this._pendingCallbacks = null; + }, + + /** + * Initializes the component, renders markup, and registers event listeners. + * + * @param {string} rootID DOM ID of the root node. + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @return {?string} Rendered markup to be inserted into the DOM. + * @final + * @internal + */ + mountComponent: function(rootID, transaction, context) { + this._context = context; + this._mountOrder = nextMountID++; + this._rootNodeID = rootID; + + var publicProps = this._processProps(this._currentElement.props); + var publicContext = this._processContext(this._currentElement._context); + + var Component = ReactNativeComponent.getComponentClassForElement( + this._currentElement + ); + + // Initialize the public class + var inst = new Component(publicProps, publicContext); + + if ("production" !== "development") { + // This will throw later in _renderValidatedComponent, but add an early + // warning now to help debugging + ("production" !== "development" ? warning( + inst.render != null, + '%s(...): No `render` method found on the returned component ' + + 'instance: you may have forgotten to define `render` in your ' + + 'component or you may have accidentally tried to render an element ' + + 'whose type is a function that isn\'t a React component.', + Component.displayName || Component.name || 'Component' + ) : null); + } + + // These should be set up in the constructor, but as a convenience for + // simpler class abstractions, we set them up after the fact. + inst.props = publicProps; + inst.context = publicContext; + inst.refs = emptyObject; + + this._instance = inst; + + // Store a reference from the instance back to the internal representation + ReactInstanceMap.set(inst, this); + + if ("production" !== "development") { + this._warnIfContextsDiffer(this._currentElement._context, context); + } + + if ("production" !== "development") { + // Since plain JS classes are defined without any special initialization + // logic, we can not catch common errors early. Therefore, we have to + // catch them here, at initialization time, instead. + ("production" !== "development" ? warning( + !inst.getInitialState || + inst.getInitialState.isReactClassApproved, + 'getInitialState was defined on %s, a plain JavaScript class. ' + + 'This is only supported for classes created using React.createClass. ' + + 'Did you mean to define a state property instead?', + this.getName() || 'a component' + ) : null); + ("production" !== "development" ? warning( + !inst.propTypes, + 'propTypes was defined as an instance property on %s. Use a static ' + + 'property to define propTypes instead.', + this.getName() || 'a component' + ) : null); + ("production" !== "development" ? warning( + !inst.contextTypes, + 'contextTypes was defined as an instance property on %s. Use a ' + + 'static property to define contextTypes instead.', + this.getName() || 'a component' + ) : null); + ("production" !== "development" ? warning( + typeof inst.componentShouldUpdate !== 'function', + '%s has a method called ' + + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + + 'The name is phrased as a question because the function is ' + + 'expected to return a value.', + (this.getName() || 'A component') + ) : null); + } + + var initialState = inst.state; + if (initialState === undefined) { + inst.state = initialState = null; + } + ("production" !== "development" ? invariant( + typeof initialState === 'object' && !Array.isArray(initialState), + '%s.state: must be set to an object or null', + this.getName() || 'ReactCompositeComponent' + ) : invariant(typeof initialState === 'object' && !Array.isArray(initialState))); + + this._pendingStateQueue = null; + this._pendingReplaceState = false; + this._pendingForceUpdate = false; + + var renderedElement; + + var previouslyMounting = ReactLifeCycle.currentlyMountingInstance; + ReactLifeCycle.currentlyMountingInstance = this; + try { + if (inst.componentWillMount) { + inst.componentWillMount(); + // When mounting, calls to `setState` by `componentWillMount` will set + // `this._pendingStateQueue` without triggering a re-render. + if (this._pendingStateQueue) { + inst.state = this._processPendingState(inst.props, inst.context); + } + } + + renderedElement = this._renderValidatedComponent(); + } finally { + ReactLifeCycle.currentlyMountingInstance = previouslyMounting; + } + + this._renderedComponent = this._instantiateReactComponent( + renderedElement, + this._currentElement.type // The wrapping type + ); + + var markup = ReactReconciler.mountComponent( + this._renderedComponent, + rootID, + transaction, + this._processChildContext(context) + ); + if (inst.componentDidMount) { + transaction.getReactMountReady().enqueue(inst.componentDidMount, inst); + } + + return markup; + }, + + /** + * Releases any resources allocated by `mountComponent`. + * + * @final + * @internal + */ + unmountComponent: function() { + var inst = this._instance; + + if (inst.componentWillUnmount) { + var previouslyUnmounting = ReactLifeCycle.currentlyUnmountingInstance; + ReactLifeCycle.currentlyUnmountingInstance = this; + try { + inst.componentWillUnmount(); + } finally { + ReactLifeCycle.currentlyUnmountingInstance = previouslyUnmounting; + } + } + + ReactReconciler.unmountComponent(this._renderedComponent); + this._renderedComponent = null; + + // Reset pending fields + this._pendingStateQueue = null; + this._pendingReplaceState = false; + this._pendingForceUpdate = false; + this._pendingCallbacks = null; + this._pendingElement = null; + + // These fields do not really need to be reset since this object is no + // longer accessible. + this._context = null; + this._rootNodeID = null; + + // Delete the reference from the instance to this internal representation + // which allow the internals to be properly cleaned up even if the user + // leaks a reference to the public instance. + ReactInstanceMap.remove(inst); + + // Some existing components rely on inst.props even after they've been + // destroyed (in event handlers). + // TODO: inst.props = null; + // TODO: inst.state = null; + // TODO: inst.context = null; + }, + + /** + * Schedule a partial update to the props. Only used for internal testing. + * + * @param {object} partialProps Subset of the next props. + * @param {?function} callback Called after props are updated. + * @final + * @internal + */ + _setPropsInternal: function(partialProps, callback) { + // This is a deoptimized path. We optimize for always having an element. + // This creates an extra internal element. + var element = this._pendingElement || this._currentElement; + this._pendingElement = ReactElement.cloneAndReplaceProps( + element, + assign({}, element.props, partialProps) + ); + ReactUpdates.enqueueUpdate(this, callback); + }, + + /** + * Filters the context object to only contain keys specified in + * `contextTypes` + * + * @param {object} context + * @return {?object} + * @private + */ + _maskContext: function(context) { + var maskedContext = null; + // This really should be getting the component class for the element, + // but we know that we're not going to need it for built-ins. + if (typeof this._currentElement.type === 'string') { + return emptyObject; + } + var contextTypes = this._currentElement.type.contextTypes; + if (!contextTypes) { + return emptyObject; + } + maskedContext = {}; + for (var contextName in contextTypes) { + maskedContext[contextName] = context[contextName]; + } + return maskedContext; + }, + + /** + * Filters the context object to only contain keys specified in + * `contextTypes`, and asserts that they are valid. + * + * @param {object} context + * @return {?object} + * @private + */ + _processContext: function(context) { + var maskedContext = this._maskContext(context); + if ("production" !== "development") { + var Component = ReactNativeComponent.getComponentClassForElement( + this._currentElement + ); + if (Component.contextTypes) { + this._checkPropTypes( + Component.contextTypes, + maskedContext, + ReactPropTypeLocations.context + ); + } + } + return maskedContext; + }, + + /** + * @param {object} currentContext + * @return {object} + * @private + */ + _processChildContext: function(currentContext) { + var inst = this._instance; + var childContext = inst.getChildContext && inst.getChildContext(); + if (childContext) { + ("production" !== "development" ? invariant( + typeof inst.constructor.childContextTypes === 'object', + '%s.getChildContext(): childContextTypes must be defined in order to ' + + 'use getChildContext().', + this.getName() || 'ReactCompositeComponent' + ) : invariant(typeof inst.constructor.childContextTypes === 'object')); + if ("production" !== "development") { + this._checkPropTypes( + inst.constructor.childContextTypes, + childContext, + ReactPropTypeLocations.childContext + ); + } + for (var name in childContext) { + ("production" !== "development" ? invariant( + name in inst.constructor.childContextTypes, + '%s.getChildContext(): key "%s" is not defined in childContextTypes.', + this.getName() || 'ReactCompositeComponent', + name + ) : invariant(name in inst.constructor.childContextTypes)); + } + return assign({}, currentContext, childContext); + } + return currentContext; + }, + + /** + * Processes props by setting default values for unspecified props and + * asserting that the props are valid. Does not mutate its argument; returns + * a new props object with defaults merged in. + * + * @param {object} newProps + * @return {object} + * @private + */ + _processProps: function(newProps) { + if ("production" !== "development") { + var Component = ReactNativeComponent.getComponentClassForElement( + this._currentElement + ); + if (Component.propTypes) { + this._checkPropTypes( + Component.propTypes, + newProps, + ReactPropTypeLocations.prop + ); + } + } + return newProps; + }, + + /** + * Assert that the props are valid + * + * @param {object} propTypes Map of prop name to a ReactPropType + * @param {object} props + * @param {string} location e.g. "prop", "context", "child context" + * @private + */ + _checkPropTypes: function(propTypes, props, location) { + // TODO: Stop validating prop types here and only use the element + // validation. + var componentName = this.getName(); + for (var propName in propTypes) { + if (propTypes.hasOwnProperty(propName)) { + var error; + try { + // This is intentionally an invariant that gets caught. It's the same + // behavior as without this statement except with a better message. + ("production" !== "development" ? invariant( + typeof propTypes[propName] === 'function', + '%s: %s type `%s` is invalid; it must be a function, usually ' + + 'from React.PropTypes.', + componentName || 'React class', + ReactPropTypeLocationNames[location], + propName + ) : invariant(typeof propTypes[propName] === 'function')); + error = propTypes[propName](props, propName, componentName, location); + } catch (ex) { + error = ex; + } + if (error instanceof Error) { + // We may want to extend this logic for similar errors in + // React.render calls, so I'm abstracting it away into + // a function to minimize refactoring in the future + var addendum = getDeclarationErrorAddendum(this); + + if (location === ReactPropTypeLocations.prop) { + // Preface gives us something to blacklist in warning module + ("production" !== "development" ? warning( + false, + 'Failed Composite propType: %s%s', + error.message, + addendum + ) : null); + } else { + ("production" !== "development" ? warning( + false, + 'Failed Context Types: %s%s', + error.message, + addendum + ) : null); + } + } + } + } + }, + + receiveComponent: function(nextElement, transaction, nextContext) { + var prevElement = this._currentElement; + var prevContext = this._context; + + this._pendingElement = null; + + this.updateComponent( + transaction, + prevElement, + nextElement, + prevContext, + nextContext + ); + }, + + /** + * If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate` + * is set, update the component. + * + * @param {ReactReconcileTransaction} transaction + * @internal + */ + performUpdateIfNecessary: function(transaction) { + if (this._pendingElement != null) { + ReactReconciler.receiveComponent( + this, + this._pendingElement || this._currentElement, + transaction, + this._context + ); + } + + if (this._pendingStateQueue !== null || this._pendingForceUpdate) { + if ("production" !== "development") { + ReactElementValidator.checkAndWarnForMutatedProps( + this._currentElement + ); + } + + this.updateComponent( + transaction, + this._currentElement, + this._currentElement, + this._context, + this._context + ); + } + }, + + /** + * Compare two contexts, warning if they are different + * TODO: Remove this check when owner-context is removed + */ + _warnIfContextsDiffer: function(ownerBasedContext, parentBasedContext) { + ownerBasedContext = this._maskContext(ownerBasedContext); + parentBasedContext = this._maskContext(parentBasedContext); + var parentKeys = Object.keys(parentBasedContext).sort(); + var displayName = this.getName() || 'ReactCompositeComponent'; + for (var i = 0; i < parentKeys.length; i++) { + var key = parentKeys[i]; + ("production" !== "development" ? warning( + ownerBasedContext[key] === parentBasedContext[key], + 'owner-based and parent-based contexts differ ' + + '(values: `%s` vs `%s`) for key (%s) while mounting %s ' + + '(see: http://fb.me/react-context-by-parent)', + ownerBasedContext[key], + parentBasedContext[key], + key, + displayName + ) : null); + } + }, + + /** + * Perform an update to a mounted component. The componentWillReceiveProps and + * shouldComponentUpdate methods are called, then (assuming the update isn't + * skipped) the remaining update lifecycle methods are called and the DOM + * representation is updated. + * + * By default, this implements React's rendering and reconciliation algorithm. + * Sophisticated clients may wish to override this. + * + * @param {ReactReconcileTransaction} transaction + * @param {ReactElement} prevParentElement + * @param {ReactElement} nextParentElement + * @internal + * @overridable + */ + updateComponent: function( + transaction, + prevParentElement, + nextParentElement, + prevUnmaskedContext, + nextUnmaskedContext + ) { + var inst = this._instance; + + var nextContext = inst.context; + var nextProps = inst.props; + + // Distinguish between a props update versus a simple state update + if (prevParentElement !== nextParentElement) { + nextContext = this._processContext(nextParentElement._context); + nextProps = this._processProps(nextParentElement.props); + + if ("production" !== "development") { + if (nextUnmaskedContext != null) { + this._warnIfContextsDiffer( + nextParentElement._context, + nextUnmaskedContext + ); + } + } + + // An update here will schedule an update but immediately set + // _pendingStateQueue which will ensure that any state updates gets + // immediately reconciled instead of waiting for the next batch. + + if (inst.componentWillReceiveProps) { + inst.componentWillReceiveProps(nextProps, nextContext); + } + } + + var nextState = this._processPendingState(nextProps, nextContext); + + var shouldUpdate = + this._pendingForceUpdate || + !inst.shouldComponentUpdate || + inst.shouldComponentUpdate(nextProps, nextState, nextContext); + + if ("production" !== "development") { + ("production" !== "development" ? warning( + typeof shouldUpdate !== 'undefined', + '%s.shouldComponentUpdate(): Returned undefined instead of a ' + + 'boolean value. Make sure to return true or false.', + this.getName() || 'ReactCompositeComponent' + ) : null); + } + + if (shouldUpdate) { + this._pendingForceUpdate = false; + // Will set `this.props`, `this.state` and `this.context`. + this._performComponentUpdate( + nextParentElement, + nextProps, + nextState, + nextContext, + transaction, + nextUnmaskedContext + ); + } else { + // If it's determined that a component should not update, we still want + // to set props and state but we shortcut the rest of the update. + this._currentElement = nextParentElement; + this._context = nextUnmaskedContext; + inst.props = nextProps; + inst.state = nextState; + inst.context = nextContext; + } + }, + + _processPendingState: function(props, context) { + var inst = this._instance; + var queue = this._pendingStateQueue; + var replace = this._pendingReplaceState; + this._pendingReplaceState = false; + this._pendingStateQueue = null; + + if (!queue) { + return inst.state; + } + + var nextState = assign({}, replace ? queue[0] : inst.state); + for (var i = replace ? 1 : 0; i < queue.length; i++) { + var partial = queue[i]; + assign( + nextState, + typeof partial === 'function' ? + partial.call(inst, nextState, props, context) : + partial + ); + } + + return nextState; + }, + + /** + * Merges new props and state, notifies delegate methods of update and + * performs update. + * + * @param {ReactElement} nextElement Next element + * @param {object} nextProps Next public object to set as properties. + * @param {?object} nextState Next object to set as state. + * @param {?object} nextContext Next public object to set as context. + * @param {ReactReconcileTransaction} transaction + * @param {?object} unmaskedContext + * @private + */ + _performComponentUpdate: function( + nextElement, + nextProps, + nextState, + nextContext, + transaction, + unmaskedContext + ) { + var inst = this._instance; + + var prevProps = inst.props; + var prevState = inst.state; + var prevContext = inst.context; + + if (inst.componentWillUpdate) { + inst.componentWillUpdate(nextProps, nextState, nextContext); + } + + this._currentElement = nextElement; + this._context = unmaskedContext; + inst.props = nextProps; + inst.state = nextState; + inst.context = nextContext; + + this._updateRenderedComponent(transaction, unmaskedContext); + + if (inst.componentDidUpdate) { + transaction.getReactMountReady().enqueue( + inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), + inst + ); + } + }, + + /** + * Call the component's `render` method and update the DOM accordingly. + * + * @param {ReactReconcileTransaction} transaction + * @internal + */ + _updateRenderedComponent: function(transaction, context) { + var prevComponentInstance = this._renderedComponent; + var prevRenderedElement = prevComponentInstance._currentElement; + var nextRenderedElement = this._renderValidatedComponent(); + if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) { + ReactReconciler.receiveComponent( + prevComponentInstance, + nextRenderedElement, + transaction, + this._processChildContext(context) + ); + } else { + // These two IDs are actually the same! But nothing should rely on that. + var thisID = this._rootNodeID; + var prevComponentID = prevComponentInstance._rootNodeID; + ReactReconciler.unmountComponent(prevComponentInstance); + + this._renderedComponent = this._instantiateReactComponent( + nextRenderedElement, + this._currentElement.type + ); + var nextMarkup = ReactReconciler.mountComponent( + this._renderedComponent, + thisID, + transaction, + context + ); + this._replaceNodeWithMarkupByID(prevComponentID, nextMarkup); + } + }, + + /** + * @protected + */ + _replaceNodeWithMarkupByID: function(prevComponentID, nextMarkup) { + ReactComponentEnvironment.replaceNodeWithMarkupByID( + prevComponentID, + nextMarkup + ); + }, + + /** + * @protected + */ + _renderValidatedComponentWithoutOwnerOrContext: function() { + var inst = this._instance; + var renderedComponent = inst.render(); + if ("production" !== "development") { + // We allow auto-mocks to proceed as if they're returning null. + if (typeof renderedComponent === 'undefined' && + inst.render._isMockFunction) { + // This is probably bad practice. Consider warning here and + // deprecating this convenience. + renderedComponent = null; + } + } + + return renderedComponent; + }, + + /** + * @private + */ + _renderValidatedComponent: function() { + var renderedComponent; + var previousContext = ReactContext.current; + ReactContext.current = this._processChildContext( + this._currentElement._context + ); + ReactCurrentOwner.current = this; + try { + renderedComponent = + this._renderValidatedComponentWithoutOwnerOrContext(); + } finally { + ReactContext.current = previousContext; + ReactCurrentOwner.current = null; + } + ("production" !== "development" ? invariant( + // TODO: An `isValidNode` function would probably be more appropriate + renderedComponent === null || renderedComponent === false || + ReactElement.isValidElement(renderedComponent), + '%s.render(): A valid ReactComponent must be returned. You may have ' + + 'returned undefined, an array or some other invalid object.', + this.getName() || 'ReactCompositeComponent' + ) : invariant(// TODO: An `isValidNode` function would probably be more appropriate + renderedComponent === null || renderedComponent === false || + ReactElement.isValidElement(renderedComponent))); + return renderedComponent; + }, + + /** + * Lazily allocates the refs object and stores `component` as `ref`. + * + * @param {string} ref Reference name. + * @param {component} component Component to store as `ref`. + * @final + * @private + */ + attachRef: function(ref, component) { + var inst = this.getPublicInstance(); + var refs = inst.refs === emptyObject ? (inst.refs = {}) : inst.refs; + refs[ref] = component.getPublicInstance(); + }, + + /** + * Detaches a reference name. + * + * @param {string} ref Name to dereference. + * @final + * @private + */ + detachRef: function(ref) { + var refs = this.getPublicInstance().refs; + delete refs[ref]; + }, + + /** + * Get a text description of the component that can be used to identify it + * in error messages. + * @return {string} The name or null. + * @internal + */ + getName: function() { + var type = this._currentElement.type; + var constructor = this._instance && this._instance.constructor; + return ( + type.displayName || (constructor && constructor.displayName) || + type.name || (constructor && constructor.name) || + null + ); + }, + + /** + * Get the publicly accessible representation of this component - i.e. what + * is exposed by refs and returned by React.render. Can be null for stateless + * components. + * + * @return {ReactComponent} the public component instance. + * @internal + */ + getPublicInstance: function() { + return this._instance; + }, + + // Stub + _instantiateReactComponent: null + +}; + +ReactPerf.measureMethods( + ReactCompositeComponentMixin, + 'ReactCompositeComponent', + { + mountComponent: 'mountComponent', + updateComponent: 'updateComponent', + _renderValidatedComponent: '_renderValidatedComponent' + } +); + +var ReactCompositeComponent = { + + Mixin: ReactCompositeComponentMixin + +}; + +module.exports = ReactCompositeComponent; + +},{"115":115,"135":135,"151":151,"154":154,"27":27,"36":36,"38":38,"39":39,"57":57,"58":58,"67":67,"68":68,"73":73,"75":75,"76":76,"77":77,"81":81,"87":87}],38:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactContext + */ + +'use strict'; + +var assign = _dereq_(27); +var emptyObject = _dereq_(115); +var warning = _dereq_(154); + +var didWarn = false; + +/** + * Keeps track of the current context. + * + * The context is automatically passed down the component ownership hierarchy + * and is accessible via `this.context` on ReactCompositeComponents. + */ +var ReactContext = { + + /** + * @internal + * @type {object} + */ + current: emptyObject, + + /** + * Temporarily extends the current context while executing scopedCallback. + * + * A typical use case might look like + * + * render: function() { + * var children = ReactContext.withContext({foo: 'foo'}, () => ( + * + * )); + * return <div>{children}</div>; + * } + * + * @param {object} newContext New context to merge into the existing context + * @param {function} scopedCallback Callback to run with the new context + * @return {ReactComponent|array<ReactComponent>} + */ + withContext: function(newContext, scopedCallback) { + if ("production" !== "development") { + ("production" !== "development" ? warning( + didWarn, + 'withContext is deprecated and will be removed in a future version. ' + + 'Use a wrapper component with getChildContext instead.' + ) : null); + + didWarn = true; + } + + var result; + var previousContext = ReactContext.current; + ReactContext.current = assign({}, previousContext, newContext); + try { + result = scopedCallback(); + } finally { + ReactContext.current = previousContext; + } + return result; + } + +}; + +module.exports = ReactContext; + +},{"115":115,"154":154,"27":27}],39:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactCurrentOwner + */ + +'use strict'; + +/** + * Keeps track of the current owner. + * + * The current owner is the component who should own any components that are + * currently being constructed. + * + * The depth indicate how many composite components are above this render level. + */ +var ReactCurrentOwner = { + + /** + * @internal + * @type {ReactComponent} + */ + current: null + +}; + +module.exports = ReactCurrentOwner; + +},{}],40:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOM + * @typechecks static-only + */ + +'use strict'; + +var ReactElement = _dereq_(57); +var ReactElementValidator = _dereq_(58); + +var mapObject = _dereq_(142); + +/** + * Create a factory that creates HTML tag elements. + * + * @param {string} tag Tag name (e.g. `div`). + * @private + */ +function createDOMFactory(tag) { + if ("production" !== "development") { + return ReactElementValidator.createFactory(tag); + } + return ReactElement.createFactory(tag); +} + +/** + * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes. + * This is also accessible via `React.DOM`. + * + * @public + */ +var ReactDOM = mapObject({ + a: 'a', + abbr: 'abbr', + address: 'address', + area: 'area', + article: 'article', + aside: 'aside', + audio: 'audio', + b: 'b', + base: 'base', + bdi: 'bdi', + bdo: 'bdo', + big: 'big', + blockquote: 'blockquote', + body: 'body', + br: 'br', + button: 'button', + canvas: 'canvas', + caption: 'caption', + cite: 'cite', + code: 'code', + col: 'col', + colgroup: 'colgroup', + data: 'data', + datalist: 'datalist', + dd: 'dd', + del: 'del', + details: 'details', + dfn: 'dfn', + dialog: 'dialog', + div: 'div', + dl: 'dl', + dt: 'dt', + em: 'em', + embed: 'embed', + fieldset: 'fieldset', + figcaption: 'figcaption', + figure: 'figure', + footer: 'footer', + form: 'form', + h1: 'h1', + h2: 'h2', + h3: 'h3', + h4: 'h4', + h5: 'h5', + h6: 'h6', + head: 'head', + header: 'header', + hr: 'hr', + html: 'html', + i: 'i', + iframe: 'iframe', + img: 'img', + input: 'input', + ins: 'ins', + kbd: 'kbd', + keygen: 'keygen', + label: 'label', + legend: 'legend', + li: 'li', + link: 'link', + main: 'main', + map: 'map', + mark: 'mark', + menu: 'menu', + menuitem: 'menuitem', + meta: 'meta', + meter: 'meter', + nav: 'nav', + noscript: 'noscript', + object: 'object', + ol: 'ol', + optgroup: 'optgroup', + option: 'option', + output: 'output', + p: 'p', + param: 'param', + picture: 'picture', + pre: 'pre', + progress: 'progress', + q: 'q', + rp: 'rp', + rt: 'rt', + ruby: 'ruby', + s: 's', + samp: 'samp', + script: 'script', + section: 'section', + select: 'select', + small: 'small', + source: 'source', + span: 'span', + strong: 'strong', + style: 'style', + sub: 'sub', + summary: 'summary', + sup: 'sup', + table: 'table', + tbody: 'tbody', + td: 'td', + textarea: 'textarea', + tfoot: 'tfoot', + th: 'th', + thead: 'thead', + time: 'time', + title: 'title', + tr: 'tr', + track: 'track', + u: 'u', + ul: 'ul', + 'var': 'var', + video: 'video', + wbr: 'wbr', + + // SVG + circle: 'circle', + defs: 'defs', + ellipse: 'ellipse', + g: 'g', + line: 'line', + linearGradient: 'linearGradient', + mask: 'mask', + path: 'path', + pattern: 'pattern', + polygon: 'polygon', + polyline: 'polyline', + radialGradient: 'radialGradient', + rect: 'rect', + stop: 'stop', + svg: 'svg', + text: 'text', + tspan: 'tspan' + +}, createDOMFactory); + +module.exports = ReactDOM; + +},{"142":142,"57":57,"58":58}],41:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMButton + */ + +'use strict'; + +var AutoFocusMixin = _dereq_(2); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); + +var keyMirror = _dereq_(140); + +var button = ReactElement.createFactory('button'); + +var mouseListenerNames = keyMirror({ + onClick: true, + onDoubleClick: true, + onMouseDown: true, + onMouseMove: true, + onMouseUp: true, + onClickCapture: true, + onDoubleClickCapture: true, + onMouseDownCapture: true, + onMouseMoveCapture: true, + onMouseUpCapture: true +}); + +/** + * Implements a <button> native component that does not receive mouse events + * when `disabled` is set. + */ +var ReactDOMButton = ReactClass.createClass({ + displayName: 'ReactDOMButton', + tagName: 'BUTTON', + + mixins: [AutoFocusMixin, ReactBrowserComponentMixin], + + render: function() { + var props = {}; + + // Copy the props; except the mouse listeners if we're disabled + for (var key in this.props) { + if (this.props.hasOwnProperty(key) && + (!this.props.disabled || !mouseListenerNames[key])) { + props[key] = this.props[key]; + } + } + + return button(props, this.props.children); + } + +}); + +module.exports = ReactDOMButton; + +},{"140":140,"2":2,"29":29,"33":33,"57":57}],42:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMComponent + * @typechecks static-only + */ + +/* global hasOwnProperty:true */ + +'use strict'; + +var CSSPropertyOperations = _dereq_(5); +var DOMProperty = _dereq_(10); +var DOMPropertyOperations = _dereq_(11); +var ReactBrowserEventEmitter = _dereq_(30); +var ReactComponentBrowserEnvironment = + _dereq_(35); +var ReactMount = _dereq_(70); +var ReactMultiChild = _dereq_(71); +var ReactPerf = _dereq_(75); + +var assign = _dereq_(27); +var escapeTextContentForBrowser = _dereq_(116); +var invariant = _dereq_(135); +var isEventSupported = _dereq_(136); +var keyOf = _dereq_(141); +var warning = _dereq_(154); + +var deleteListener = ReactBrowserEventEmitter.deleteListener; +var listenTo = ReactBrowserEventEmitter.listenTo; +var registrationNameModules = ReactBrowserEventEmitter.registrationNameModules; + +// For quickly matching children type, to test if can be treated as content. +var CONTENT_TYPES = {'string': true, 'number': true}; + +var STYLE = keyOf({style: null}); + +var ELEMENT_NODE_TYPE = 1; + +/** + * Optionally injectable operations for mutating the DOM + */ +var BackendIDOperations = null; + +/** + * @param {?object} props + */ +function assertValidProps(props) { + if (!props) { + return; + } + // Note the use of `==` which checks for null or undefined. + if (props.dangerouslySetInnerHTML != null) { + ("production" !== "development" ? invariant( + props.children == null, + 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.' + ) : invariant(props.children == null)); + ("production" !== "development" ? invariant( + props.dangerouslySetInnerHTML.__html != null, + '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' + + 'Please visit http://fb.me/react-invariant-dangerously-set-inner-html ' + + 'for more information.' + ) : invariant(props.dangerouslySetInnerHTML.__html != null)); + } + if ("production" !== "development") { + ("production" !== "development" ? warning( + props.innerHTML == null, + 'Directly setting property `innerHTML` is not permitted. ' + + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.' + ) : null); + ("production" !== "development" ? warning( + !props.contentEditable || props.children == null, + 'A component is `contentEditable` and contains `children` managed by ' + + 'React. It is now your responsibility to guarantee that none of ' + + 'those nodes are unexpectedly modified or duplicated. This is ' + + 'probably not intentional.' + ) : null); + } + ("production" !== "development" ? invariant( + props.style == null || typeof props.style === 'object', + 'The `style` prop expects a mapping from style properties to values, ' + + 'not a string. For example, style={{marginRight: spacing + \'em\'}} when ' + + 'using JSX.' + ) : invariant(props.style == null || typeof props.style === 'object')); +} + +function putListener(id, registrationName, listener, transaction) { + if ("production" !== "development") { + // IE8 has no API for event capturing and the `onScroll` event doesn't + // bubble. + ("production" !== "development" ? warning( + registrationName !== 'onScroll' || isEventSupported('scroll', true), + 'This browser doesn\'t support the `onScroll` event' + ) : null); + } + var container = ReactMount.findReactContainerForID(id); + if (container) { + var doc = container.nodeType === ELEMENT_NODE_TYPE ? + container.ownerDocument : + container; + listenTo(registrationName, doc); + } + transaction.getPutListenerQueue().enqueuePutListener( + id, + registrationName, + listener + ); +} + +// For HTML, certain tags should omit their close tag. We keep a whitelist for +// those special cased tags. + +var omittedCloseTags = { + 'area': true, + 'base': true, + 'br': true, + 'col': true, + 'embed': true, + 'hr': true, + 'img': true, + 'input': true, + 'keygen': true, + 'link': true, + 'meta': true, + 'param': true, + 'source': true, + 'track': true, + 'wbr': true + // NOTE: menuitem's close tag should be omitted, but that causes problems. +}; + +// We accept any tag to be rendered but since this gets injected into abitrary +// HTML, we want to make sure that it's a safe tag. +// http://www.w3.org/TR/REC-xml/#NT-Name + +var VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/; // Simplified subset +var validatedTagCache = {}; +var hasOwnProperty = {}.hasOwnProperty; + +function validateDangerousTag(tag) { + if (!hasOwnProperty.call(validatedTagCache, tag)) { + ("production" !== "development" ? invariant(VALID_TAG_REGEX.test(tag), 'Invalid tag: %s', tag) : invariant(VALID_TAG_REGEX.test(tag))); + validatedTagCache[tag] = true; + } +} + +/** + * Creates a new React class that is idempotent and capable of containing other + * React components. It accepts event listeners and DOM properties that are + * valid according to `DOMProperty`. + * + * - Event listeners: `onClick`, `onMouseDown`, etc. + * - DOM properties: `className`, `name`, `title`, etc. + * + * The `style` property functions differently from the DOM API. It accepts an + * object mapping of style properties to values. + * + * @constructor ReactDOMComponent + * @extends ReactMultiChild + */ +function ReactDOMComponent(tag) { + validateDangerousTag(tag); + this._tag = tag; + this._renderedChildren = null; + this._previousStyleCopy = null; + this._rootNodeID = null; +} + +ReactDOMComponent.displayName = 'ReactDOMComponent'; + +ReactDOMComponent.Mixin = { + + construct: function(element) { + this._currentElement = element; + }, + + /** + * Generates root tag markup then recurses. This method has side effects and + * is not idempotent. + * + * @internal + * @param {string} rootID The root DOM ID for this node. + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @return {string} The computed markup. + */ + mountComponent: function(rootID, transaction, context) { + this._rootNodeID = rootID; + assertValidProps(this._currentElement.props); + var closeTag = omittedCloseTags[this._tag] ? '' : '</' + this._tag + '>'; + return ( + this._createOpenTagMarkupAndPutListeners(transaction) + + this._createContentMarkup(transaction, context) + + closeTag + ); + }, + + /** + * Creates markup for the open tag and all attributes. + * + * This method has side effects because events get registered. + * + * Iterating over object properties is faster than iterating over arrays. + * @see http://jsperf.com/obj-vs-arr-iteration + * + * @private + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @return {string} Markup of opening tag. + */ + _createOpenTagMarkupAndPutListeners: function(transaction) { + var props = this._currentElement.props; + var ret = '<' + this._tag; + + for (var propKey in props) { + if (!props.hasOwnProperty(propKey)) { + continue; + } + var propValue = props[propKey]; + if (propValue == null) { + continue; + } + if (registrationNameModules.hasOwnProperty(propKey)) { + putListener(this._rootNodeID, propKey, propValue, transaction); + } else { + if (propKey === STYLE) { + if (propValue) { + propValue = this._previousStyleCopy = assign({}, props.style); + } + propValue = CSSPropertyOperations.createMarkupForStyles(propValue); + } + var markup = + DOMPropertyOperations.createMarkupForProperty(propKey, propValue); + if (markup) { + ret += ' ' + markup; + } + } + } + + // For static pages, no need to put React ID and checksum. Saves lots of + // bytes. + if (transaction.renderToStaticMarkup) { + return ret + '>'; + } + + var markupForID = DOMPropertyOperations.createMarkupForID(this._rootNodeID); + return ret + ' ' + markupForID + '>'; + }, + + /** + * Creates markup for the content between the tags. + * + * @private + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @param {object} context + * @return {string} Content markup. + */ + _createContentMarkup: function(transaction, context) { + var prefix = ''; + if (this._tag === 'listing' || + this._tag === 'pre' || + this._tag === 'textarea') { + // Add an initial newline because browsers ignore the first newline in + // a <listing>, <pre>, or <textarea> as an "authoring convenience" -- see + // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody. + prefix = '\n'; + } + + var props = this._currentElement.props; + + // Intentional use of != to avoid catching zero/false. + var innerHTML = props.dangerouslySetInnerHTML; + if (innerHTML != null) { + if (innerHTML.__html != null) { + return prefix + innerHTML.__html; + } + } else { + var contentToUse = + CONTENT_TYPES[typeof props.children] ? props.children : null; + var childrenToUse = contentToUse != null ? null : props.children; + if (contentToUse != null) { + return prefix + escapeTextContentForBrowser(contentToUse); + } else if (childrenToUse != null) { + var mountImages = this.mountChildren( + childrenToUse, + transaction, + context + ); + return prefix + mountImages.join(''); + } + } + return prefix; + }, + + receiveComponent: function(nextElement, transaction, context) { + var prevElement = this._currentElement; + this._currentElement = nextElement; + this.updateComponent(transaction, prevElement, nextElement, context); + }, + + /** + * Updates a native DOM component after it has already been allocated and + * attached to the DOM. Reconciles the root DOM node, then recurses. + * + * @param {ReactReconcileTransaction} transaction + * @param {ReactElement} prevElement + * @param {ReactElement} nextElement + * @internal + * @overridable + */ + updateComponent: function(transaction, prevElement, nextElement, context) { + assertValidProps(this._currentElement.props); + this._updateDOMProperties(prevElement.props, transaction); + this._updateDOMChildren(prevElement.props, transaction, context); + }, + + /** + * Reconciles the properties by detecting differences in property values and + * updating the DOM as necessary. This function is probably the single most + * critical path for performance optimization. + * + * TODO: Benchmark whether checking for changed values in memory actually + * improves performance (especially statically positioned elements). + * TODO: Benchmark the effects of putting this at the top since 99% of props + * do not change for a given reconciliation. + * TODO: Benchmark areas that can be improved with caching. + * + * @private + * @param {object} lastProps + * @param {ReactReconcileTransaction} transaction + */ + _updateDOMProperties: function(lastProps, transaction) { + var nextProps = this._currentElement.props; + var propKey; + var styleName; + var styleUpdates; + for (propKey in lastProps) { + if (nextProps.hasOwnProperty(propKey) || + !lastProps.hasOwnProperty(propKey)) { + continue; + } + if (propKey === STYLE) { + var lastStyle = this._previousStyleCopy; + for (styleName in lastStyle) { + if (lastStyle.hasOwnProperty(styleName)) { + styleUpdates = styleUpdates || {}; + styleUpdates[styleName] = ''; + } + } + this._previousStyleCopy = null; + } else if (registrationNameModules.hasOwnProperty(propKey)) { + deleteListener(this._rootNodeID, propKey); + } else if ( + DOMProperty.isStandardName[propKey] || + DOMProperty.isCustomAttribute(propKey)) { + BackendIDOperations.deletePropertyByID( + this._rootNodeID, + propKey + ); + } + } + for (propKey in nextProps) { + var nextProp = nextProps[propKey]; + var lastProp = propKey === STYLE ? + this._previousStyleCopy : + lastProps[propKey]; + if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp) { + continue; + } + if (propKey === STYLE) { + if (nextProp) { + nextProp = this._previousStyleCopy = assign({}, nextProp); + } + if (lastProp) { + // Unset styles on `lastProp` but not on `nextProp`. + for (styleName in lastProp) { + if (lastProp.hasOwnProperty(styleName) && + (!nextProp || !nextProp.hasOwnProperty(styleName))) { + styleUpdates = styleUpdates || {}; + styleUpdates[styleName] = ''; + } + } + // Update styles that changed since `lastProp`. + for (styleName in nextProp) { + if (nextProp.hasOwnProperty(styleName) && + lastProp[styleName] !== nextProp[styleName]) { + styleUpdates = styleUpdates || {}; + styleUpdates[styleName] = nextProp[styleName]; + } + } + } else { + // Relies on `updateStylesByID` not mutating `styleUpdates`. + styleUpdates = nextProp; + } + } else if (registrationNameModules.hasOwnProperty(propKey)) { + putListener(this._rootNodeID, propKey, nextProp, transaction); + } else if ( + DOMProperty.isStandardName[propKey] || + DOMProperty.isCustomAttribute(propKey)) { + BackendIDOperations.updatePropertyByID( + this._rootNodeID, + propKey, + nextProp + ); + } + } + if (styleUpdates) { + BackendIDOperations.updateStylesByID( + this._rootNodeID, + styleUpdates + ); + } + }, + + /** + * Reconciles the children with the various properties that affect the + * children content. + * + * @param {object} lastProps + * @param {ReactReconcileTransaction} transaction + */ + _updateDOMChildren: function(lastProps, transaction, context) { + var nextProps = this._currentElement.props; + + var lastContent = + CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null; + var nextContent = + CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null; + + var lastHtml = + lastProps.dangerouslySetInnerHTML && + lastProps.dangerouslySetInnerHTML.__html; + var nextHtml = + nextProps.dangerouslySetInnerHTML && + nextProps.dangerouslySetInnerHTML.__html; + + // Note the use of `!=` which checks for null or undefined. + var lastChildren = lastContent != null ? null : lastProps.children; + var nextChildren = nextContent != null ? null : nextProps.children; + + // If we're switching from children to content/html or vice versa, remove + // the old content + var lastHasContentOrHtml = lastContent != null || lastHtml != null; + var nextHasContentOrHtml = nextContent != null || nextHtml != null; + if (lastChildren != null && nextChildren == null) { + this.updateChildren(null, transaction, context); + } else if (lastHasContentOrHtml && !nextHasContentOrHtml) { + this.updateTextContent(''); + } + + if (nextContent != null) { + if (lastContent !== nextContent) { + this.updateTextContent('' + nextContent); + } + } else if (nextHtml != null) { + if (lastHtml !== nextHtml) { + BackendIDOperations.updateInnerHTMLByID( + this._rootNodeID, + nextHtml + ); + } + } else if (nextChildren != null) { + this.updateChildren(nextChildren, transaction, context); + } + }, + + /** + * Destroys all event registrations for this instance. Does not remove from + * the DOM. That must be done by the parent. + * + * @internal + */ + unmountComponent: function() { + this.unmountChildren(); + ReactBrowserEventEmitter.deleteAllListeners(this._rootNodeID); + ReactComponentBrowserEnvironment.unmountIDFromEnvironment(this._rootNodeID); + this._rootNodeID = null; + } + +}; + +ReactPerf.measureMethods(ReactDOMComponent, 'ReactDOMComponent', { + mountComponent: 'mountComponent', + updateComponent: 'updateComponent' +}); + +assign( + ReactDOMComponent.prototype, + ReactDOMComponent.Mixin, + ReactMultiChild.Mixin +); + +ReactDOMComponent.injection = { + injectIDOperations: function(IDOperations) { + ReactDOMComponent.BackendIDOperations = BackendIDOperations = IDOperations; + } +}; + +module.exports = ReactDOMComponent; + +},{"10":10,"11":11,"116":116,"135":135,"136":136,"141":141,"154":154,"27":27,"30":30,"35":35,"5":5,"70":70,"71":71,"75":75}],43:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMForm + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var LocalEventTrapMixin = _dereq_(25); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); + +var form = ReactElement.createFactory('form'); + +/** + * Since onSubmit doesn't bubble OR capture on the top level in IE8, we need + * to capture it on the <form> element itself. There are lots of hacks we could + * do to accomplish this, but the most reliable is to make <form> a + * composite component and use `componentDidMount` to attach the event handlers. + */ +var ReactDOMForm = ReactClass.createClass({ + displayName: 'ReactDOMForm', + tagName: 'FORM', + + mixins: [ReactBrowserComponentMixin, LocalEventTrapMixin], + + render: function() { + // TODO: Instead of using `ReactDOM` directly, we should use JSX. However, + // `jshint` fails to parse JSX so in order for linting to work in the open + // source repo, we need to just use `ReactDOM.form`. + return form(this.props); + }, + + componentDidMount: function() { + this.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'reset'); + this.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit, 'submit'); + } +}); + +module.exports = ReactDOMForm; + +},{"15":15,"25":25,"29":29,"33":33,"57":57}],44:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMIDOperations + * @typechecks static-only + */ + +/*jslint evil: true */ + +'use strict'; + +var CSSPropertyOperations = _dereq_(5); +var DOMChildrenOperations = _dereq_(9); +var DOMPropertyOperations = _dereq_(11); +var ReactMount = _dereq_(70); +var ReactPerf = _dereq_(75); + +var invariant = _dereq_(135); +var setInnerHTML = _dereq_(148); + +/** + * Errors for properties that should not be updated with `updatePropertyById()`. + * + * @type {object} + * @private + */ +var INVALID_PROPERTY_ERRORS = { + dangerouslySetInnerHTML: + '`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.', + style: '`style` must be set using `updateStylesByID()`.' +}; + +/** + * Operations used to process updates to DOM nodes. This is made injectable via + * `ReactDOMComponent.BackendIDOperations`. + */ +var ReactDOMIDOperations = { + + /** + * Updates a DOM node with new property values. This should only be used to + * update DOM properties in `DOMProperty`. + * + * @param {string} id ID of the node to update. + * @param {string} name A valid property name, see `DOMProperty`. + * @param {*} value New value of the property. + * @internal + */ + updatePropertyByID: function(id, name, value) { + var node = ReactMount.getNode(id); + ("production" !== "development" ? invariant( + !INVALID_PROPERTY_ERRORS.hasOwnProperty(name), + 'updatePropertyByID(...): %s', + INVALID_PROPERTY_ERRORS[name] + ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name))); + + // If we're updating to null or undefined, we should remove the property + // from the DOM node instead of inadvertantly setting to a string. This + // brings us in line with the same behavior we have on initial render. + if (value != null) { + DOMPropertyOperations.setValueForProperty(node, name, value); + } else { + DOMPropertyOperations.deleteValueForProperty(node, name); + } + }, + + /** + * Updates a DOM node to remove a property. This should only be used to remove + * DOM properties in `DOMProperty`. + * + * @param {string} id ID of the node to update. + * @param {string} name A property name to remove, see `DOMProperty`. + * @internal + */ + deletePropertyByID: function(id, name, value) { + var node = ReactMount.getNode(id); + ("production" !== "development" ? invariant( + !INVALID_PROPERTY_ERRORS.hasOwnProperty(name), + 'updatePropertyByID(...): %s', + INVALID_PROPERTY_ERRORS[name] + ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name))); + DOMPropertyOperations.deleteValueForProperty(node, name, value); + }, + + /** + * Updates a DOM node with new style values. If a value is specified as '', + * the corresponding style property will be unset. + * + * @param {string} id ID of the node to update. + * @param {object} styles Mapping from styles to values. + * @internal + */ + updateStylesByID: function(id, styles) { + var node = ReactMount.getNode(id); + CSSPropertyOperations.setValueForStyles(node, styles); + }, + + /** + * Updates a DOM node's innerHTML. + * + * @param {string} id ID of the node to update. + * @param {string} html An HTML string. + * @internal + */ + updateInnerHTMLByID: function(id, html) { + var node = ReactMount.getNode(id); + setInnerHTML(node, html); + }, + + /** + * Updates a DOM node's text content set by `props.content`. + * + * @param {string} id ID of the node to update. + * @param {string} content Text content. + * @internal + */ + updateTextContentByID: function(id, content) { + var node = ReactMount.getNode(id); + DOMChildrenOperations.updateTextContent(node, content); + }, + + /** + * Replaces a DOM node that exists in the document with markup. + * + * @param {string} id ID of child to be replaced. + * @param {string} markup Dangerous markup to inject in place of child. + * @internal + * @see {Danger.dangerouslyReplaceNodeWithMarkup} + */ + dangerouslyReplaceNodeWithMarkupByID: function(id, markup) { + var node = ReactMount.getNode(id); + DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup(node, markup); + }, + + /** + * Updates a component's children by processing a series of updates. + * + * @param {array<object>} updates List of update configurations. + * @param {array<string>} markup List of markup strings. + * @internal + */ + dangerouslyProcessChildrenUpdates: function(updates, markup) { + for (var i = 0; i < updates.length; i++) { + updates[i].parentNode = ReactMount.getNode(updates[i].parentID); + } + DOMChildrenOperations.processUpdates(updates, markup); + } +}; + +ReactPerf.measureMethods(ReactDOMIDOperations, 'ReactDOMIDOperations', { + updatePropertyByID: 'updatePropertyByID', + deletePropertyByID: 'deletePropertyByID', + updateStylesByID: 'updateStylesByID', + updateInnerHTMLByID: 'updateInnerHTMLByID', + updateTextContentByID: 'updateTextContentByID', + dangerouslyReplaceNodeWithMarkupByID: 'dangerouslyReplaceNodeWithMarkupByID', + dangerouslyProcessChildrenUpdates: 'dangerouslyProcessChildrenUpdates' +}); + +module.exports = ReactDOMIDOperations; + +},{"11":11,"135":135,"148":148,"5":5,"70":70,"75":75,"9":9}],45:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMIframe + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var LocalEventTrapMixin = _dereq_(25); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); + +var iframe = ReactElement.createFactory('iframe'); + +/** + * Since onLoad doesn't bubble OR capture on the top level in IE8, we need to + * capture it on the <iframe> element itself. There are lots of hacks we could + * do to accomplish this, but the most reliable is to make <iframe> a composite + * component and use `componentDidMount` to attach the event handlers. + */ +var ReactDOMIframe = ReactClass.createClass({ + displayName: 'ReactDOMIframe', + tagName: 'IFRAME', + + mixins: [ReactBrowserComponentMixin, LocalEventTrapMixin], + + render: function() { + return iframe(this.props); + }, + + componentDidMount: function() { + this.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load'); + } +}); + +module.exports = ReactDOMIframe; + +},{"15":15,"25":25,"29":29,"33":33,"57":57}],46:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMImg + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var LocalEventTrapMixin = _dereq_(25); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); + +var img = ReactElement.createFactory('img'); + +/** + * Since onLoad doesn't bubble OR capture on the top level in IE8, we need to + * capture it on the <img> element itself. There are lots of hacks we could do + * to accomplish this, but the most reliable is to make <img> a composite + * component and use `componentDidMount` to attach the event handlers. + */ +var ReactDOMImg = ReactClass.createClass({ + displayName: 'ReactDOMImg', + tagName: 'IMG', + + mixins: [ReactBrowserComponentMixin, LocalEventTrapMixin], + + render: function() { + return img(this.props); + }, + + componentDidMount: function() { + this.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load'); + this.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error'); + } +}); + +module.exports = ReactDOMImg; + +},{"15":15,"25":25,"29":29,"33":33,"57":57}],47:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMInput + */ + +'use strict'; + +var AutoFocusMixin = _dereq_(2); +var DOMPropertyOperations = _dereq_(11); +var LinkedValueUtils = _dereq_(24); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); +var ReactMount = _dereq_(70); +var ReactUpdates = _dereq_(87); + +var assign = _dereq_(27); +var invariant = _dereq_(135); + +var input = ReactElement.createFactory('input'); + +var instancesByReactID = {}; + +function forceUpdateIfMounted() { + /*jshint validthis:true */ + if (this.isMounted()) { + this.forceUpdate(); + } +} + +/** + * Implements an <input> native component that allows setting these optional + * props: `checked`, `value`, `defaultChecked`, and `defaultValue`. + * + * If `checked` or `value` are not supplied (or null/undefined), user actions + * that affect the checked state or value will trigger updates to the element. + * + * If they are supplied (and not null/undefined), the rendered element will not + * trigger updates to the element. Instead, the props must change in order for + * the rendered element to be updated. + * + * The rendered element will be initialized as unchecked (or `defaultChecked`) + * with an empty value (or `defaultValue`). + * + * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html + */ +var ReactDOMInput = ReactClass.createClass({ + displayName: 'ReactDOMInput', + tagName: 'INPUT', + + mixins: [AutoFocusMixin, LinkedValueUtils.Mixin, ReactBrowserComponentMixin], + + getInitialState: function() { + var defaultValue = this.props.defaultValue; + return { + initialChecked: this.props.defaultChecked || false, + initialValue: defaultValue != null ? defaultValue : null + }; + }, + + render: function() { + // Clone `this.props` so we don't mutate the input. + var props = assign({}, this.props); + + props.defaultChecked = null; + props.defaultValue = null; + + var value = LinkedValueUtils.getValue(this); + props.value = value != null ? value : this.state.initialValue; + + var checked = LinkedValueUtils.getChecked(this); + props.checked = checked != null ? checked : this.state.initialChecked; + + props.onChange = this._handleChange; + + return input(props, this.props.children); + }, + + componentDidMount: function() { + var id = ReactMount.getID(this.getDOMNode()); + instancesByReactID[id] = this; + }, + + componentWillUnmount: function() { + var rootNode = this.getDOMNode(); + var id = ReactMount.getID(rootNode); + delete instancesByReactID[id]; + }, + + componentDidUpdate: function(prevProps, prevState, prevContext) { + var rootNode = this.getDOMNode(); + if (this.props.checked != null) { + DOMPropertyOperations.setValueForProperty( + rootNode, + 'checked', + this.props.checked || false + ); + } + + var value = LinkedValueUtils.getValue(this); + if (value != null) { + // Cast `value` to a string to ensure the value is set correctly. While + // browsers typically do this as necessary, jsdom doesn't. + DOMPropertyOperations.setValueForProperty(rootNode, 'value', '' + value); + } + }, + + _handleChange: function(event) { + var returnValue; + var onChange = LinkedValueUtils.getOnChange(this); + if (onChange) { + returnValue = onChange.call(this, event); + } + // Here we use asap to wait until all updates have propagated, which + // is important when using controlled components within layers: + // https://github.com/facebook/react/issues/1698 + ReactUpdates.asap(forceUpdateIfMounted, this); + + var name = this.props.name; + if (this.props.type === 'radio' && name != null) { + var rootNode = this.getDOMNode(); + var queryRoot = rootNode; + + while (queryRoot.parentNode) { + queryRoot = queryRoot.parentNode; + } + + // If `rootNode.form` was non-null, then we could try `form.elements`, + // but that sometimes behaves strangely in IE8. We could also try using + // `form.getElementsByName`, but that will only return direct children + // and won't include inputs that use the HTML5 `form=` attribute. Since + // the input might not even be in a form, let's just use the global + // `querySelectorAll` to ensure we don't miss anything. + var group = queryRoot.querySelectorAll( + 'input[name=' + JSON.stringify('' + name) + '][type="radio"]'); + + for (var i = 0, groupLen = group.length; i < groupLen; i++) { + var otherNode = group[i]; + if (otherNode === rootNode || + otherNode.form !== rootNode.form) { + continue; + } + var otherID = ReactMount.getID(otherNode); + ("production" !== "development" ? invariant( + otherID, + 'ReactDOMInput: Mixing React and non-React radio inputs with the ' + + 'same `name` is not supported.' + ) : invariant(otherID)); + var otherInstance = instancesByReactID[otherID]; + ("production" !== "development" ? invariant( + otherInstance, + 'ReactDOMInput: Unknown radio button ID %s.', + otherID + ) : invariant(otherInstance)); + // If this is a controlled radio button group, forcing the input that + // was previously checked to update will cause it to be come re-checked + // as appropriate. + ReactUpdates.asap(forceUpdateIfMounted, otherInstance); + } + } + + return returnValue; + } + +}); + +module.exports = ReactDOMInput; + +},{"11":11,"135":135,"2":2,"24":24,"27":27,"29":29,"33":33,"57":57,"70":70,"87":87}],48:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMOption + */ + +'use strict'; + +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); + +var warning = _dereq_(154); + +var option = ReactElement.createFactory('option'); + +/** + * Implements an <option> native component that warns when `selected` is set. + */ +var ReactDOMOption = ReactClass.createClass({ + displayName: 'ReactDOMOption', + tagName: 'OPTION', + + mixins: [ReactBrowserComponentMixin], + + componentWillMount: function() { + // TODO (yungsters): Remove support for `selected` in <option>. + if ("production" !== "development") { + ("production" !== "development" ? warning( + this.props.selected == null, + 'Use the `defaultValue` or `value` props on <select> instead of ' + + 'setting `selected` on <option>.' + ) : null); + } + }, + + render: function() { + return option(this.props, this.props.children); + } + +}); + +module.exports = ReactDOMOption; + +},{"154":154,"29":29,"33":33,"57":57}],49:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMSelect + */ + +'use strict'; + +var AutoFocusMixin = _dereq_(2); +var LinkedValueUtils = _dereq_(24); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); +var ReactUpdates = _dereq_(87); + +var assign = _dereq_(27); + +var select = ReactElement.createFactory('select'); + +function updateOptionsIfPendingUpdateAndMounted() { + /*jshint validthis:true */ + if (this._pendingUpdate) { + this._pendingUpdate = false; + var value = LinkedValueUtils.getValue(this); + if (value != null && this.isMounted()) { + updateOptions(this, value); + } + } +} + +/** + * Validation function for `value` and `defaultValue`. + * @private + */ +function selectValueType(props, propName, componentName) { + if (props[propName] == null) { + return null; + } + if (props.multiple) { + if (!Array.isArray(props[propName])) { + return new Error( + ("The `" + propName + "` prop supplied to <select> must be an array if ") + + ("`multiple` is true.") + ); + } + } else { + if (Array.isArray(props[propName])) { + return new Error( + ("The `" + propName + "` prop supplied to <select> must be a scalar ") + + ("value if `multiple` is false.") + ); + } + } +} + +/** + * @param {ReactComponent} component Instance of ReactDOMSelect + * @param {*} propValue A stringable (with `multiple`, a list of stringables). + * @private + */ +function updateOptions(component, propValue) { + var selectedValue, i, l; + var options = component.getDOMNode().options; + + if (component.props.multiple) { + selectedValue = {}; + for (i = 0, l = propValue.length; i < l; i++) { + selectedValue['' + propValue[i]] = true; + } + for (i = 0, l = options.length; i < l; i++) { + var selected = selectedValue.hasOwnProperty(options[i].value); + if (options[i].selected !== selected) { + options[i].selected = selected; + } + } + } else { + // Do not set `select.value` as exact behavior isn't consistent across all + // browsers for all cases. + selectedValue = '' + propValue; + for (i = 0, l = options.length; i < l; i++) { + if (options[i].value === selectedValue) { + options[i].selected = true; + return; + } + } + if (options.length) { + options[0].selected = true; + } + } +} + +/** + * Implements a <select> native component that allows optionally setting the + * props `value` and `defaultValue`. If `multiple` is false, the prop must be a + * stringable. If `multiple` is true, the prop must be an array of stringables. + * + * If `value` is not supplied (or null/undefined), user actions that change the + * selected option will trigger updates to the rendered options. + * + * If it is supplied (and not null/undefined), the rendered options will not + * update in response to user actions. Instead, the `value` prop must change in + * order for the rendered options to update. + * + * If `defaultValue` is provided, any options with the supplied values will be + * selected. + */ +var ReactDOMSelect = ReactClass.createClass({ + displayName: 'ReactDOMSelect', + tagName: 'SELECT', + + mixins: [AutoFocusMixin, LinkedValueUtils.Mixin, ReactBrowserComponentMixin], + + propTypes: { + defaultValue: selectValueType, + value: selectValueType + }, + + render: function() { + // Clone `this.props` so we don't mutate the input. + var props = assign({}, this.props); + + props.onChange = this._handleChange; + props.value = null; + + return select(props, this.props.children); + }, + + componentWillMount: function() { + this._pendingUpdate = false; + }, + + componentDidMount: function() { + var value = LinkedValueUtils.getValue(this); + if (value != null) { + updateOptions(this, value); + } else if (this.props.defaultValue != null) { + updateOptions(this, this.props.defaultValue); + } + }, + + componentDidUpdate: function(prevProps) { + var value = LinkedValueUtils.getValue(this); + if (value != null) { + this._pendingUpdate = false; + updateOptions(this, value); + } else if (!prevProps.multiple !== !this.props.multiple) { + // For simplicity, reapply `defaultValue` if `multiple` is toggled. + if (this.props.defaultValue != null) { + updateOptions(this, this.props.defaultValue); + } else { + // Revert the select back to its default unselected state. + updateOptions(this, this.props.multiple ? [] : ''); + } + } + }, + + _handleChange: function(event) { + var returnValue; + var onChange = LinkedValueUtils.getOnChange(this); + if (onChange) { + returnValue = onChange.call(this, event); + } + + this._pendingUpdate = true; + ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this); + return returnValue; + } + +}); + +module.exports = ReactDOMSelect; + +},{"2":2,"24":24,"27":27,"29":29,"33":33,"57":57,"87":87}],50:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMSelection + */ + +'use strict'; + +var ExecutionEnvironment = _dereq_(21); + +var getNodeForCharacterOffset = _dereq_(128); +var getTextContentAccessor = _dereq_(130); + +/** + * While `isCollapsed` is available on the Selection object and `collapsed` + * is available on the Range object, IE11 sometimes gets them wrong. + * If the anchor/focus nodes and offsets are the same, the range is collapsed. + */ +function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) { + return anchorNode === focusNode && anchorOffset === focusOffset; +} + +/** + * Get the appropriate anchor and focus node/offset pairs for IE. + * + * The catch here is that IE's selection API doesn't provide information + * about whether the selection is forward or backward, so we have to + * behave as though it's always forward. + * + * IE text differs from modern selection in that it behaves as though + * block elements end with a new line. This means character offsets will + * differ between the two APIs. + * + * @param {DOMElement} node + * @return {object} + */ +function getIEOffsets(node) { + var selection = document.selection; + var selectedRange = selection.createRange(); + var selectedLength = selectedRange.text.length; + + // Duplicate selection so we can move range without breaking user selection. + var fromStart = selectedRange.duplicate(); + fromStart.moveToElementText(node); + fromStart.setEndPoint('EndToStart', selectedRange); + + var startOffset = fromStart.text.length; + var endOffset = startOffset + selectedLength; + + return { + start: startOffset, + end: endOffset + }; +} + +/** + * @param {DOMElement} node + * @return {?object} + */ +function getModernOffsets(node) { + var selection = window.getSelection && window.getSelection(); + + if (!selection || selection.rangeCount === 0) { + return null; + } + + var anchorNode = selection.anchorNode; + var anchorOffset = selection.anchorOffset; + var focusNode = selection.focusNode; + var focusOffset = selection.focusOffset; + + var currentRange = selection.getRangeAt(0); + + // If the node and offset values are the same, the selection is collapsed. + // `Selection.isCollapsed` is available natively, but IE sometimes gets + // this value wrong. + var isSelectionCollapsed = isCollapsed( + selection.anchorNode, + selection.anchorOffset, + selection.focusNode, + selection.focusOffset + ); + + var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length; + + var tempRange = currentRange.cloneRange(); + tempRange.selectNodeContents(node); + tempRange.setEnd(currentRange.startContainer, currentRange.startOffset); + + var isTempRangeCollapsed = isCollapsed( + tempRange.startContainer, + tempRange.startOffset, + tempRange.endContainer, + tempRange.endOffset + ); + + var start = isTempRangeCollapsed ? 0 : tempRange.toString().length; + var end = start + rangeLength; + + // Detect whether the selection is backward. + var detectionRange = document.createRange(); + detectionRange.setStart(anchorNode, anchorOffset); + detectionRange.setEnd(focusNode, focusOffset); + var isBackward = detectionRange.collapsed; + + return { + start: isBackward ? end : start, + end: isBackward ? start : end + }; +} + +/** + * @param {DOMElement|DOMTextNode} node + * @param {object} offsets + */ +function setIEOffsets(node, offsets) { + var range = document.selection.createRange().duplicate(); + var start, end; + + if (typeof offsets.end === 'undefined') { + start = offsets.start; + end = start; + } else if (offsets.start > offsets.end) { + start = offsets.end; + end = offsets.start; + } else { + start = offsets.start; + end = offsets.end; + } + + range.moveToElementText(node); + range.moveStart('character', start); + range.setEndPoint('EndToStart', range); + range.moveEnd('character', end - start); + range.select(); +} + +/** + * In modern non-IE browsers, we can support both forward and backward + * selections. + * + * Note: IE10+ supports the Selection object, but it does not support + * the `extend` method, which means that even in modern IE, it's not possible + * to programatically create a backward selection. Thus, for all IE + * versions, we use the old IE API to create our selections. + * + * @param {DOMElement|DOMTextNode} node + * @param {object} offsets + */ +function setModernOffsets(node, offsets) { + if (!window.getSelection) { + return; + } + + var selection = window.getSelection(); + var length = node[getTextContentAccessor()].length; + var start = Math.min(offsets.start, length); + var end = typeof offsets.end === 'undefined' ? + start : Math.min(offsets.end, length); + + // IE 11 uses modern selection, but doesn't support the extend method. + // Flip backward selections, so we can set with a single range. + if (!selection.extend && start > end) { + var temp = end; + end = start; + start = temp; + } + + var startMarker = getNodeForCharacterOffset(node, start); + var endMarker = getNodeForCharacterOffset(node, end); + + if (startMarker && endMarker) { + var range = document.createRange(); + range.setStart(startMarker.node, startMarker.offset); + selection.removeAllRanges(); + + if (start > end) { + selection.addRange(range); + selection.extend(endMarker.node, endMarker.offset); + } else { + range.setEnd(endMarker.node, endMarker.offset); + selection.addRange(range); + } + } +} + +var useIEOffsets = ( + ExecutionEnvironment.canUseDOM && + 'selection' in document && + !('getSelection' in window) +); + +var ReactDOMSelection = { + /** + * @param {DOMElement} node + */ + getOffsets: useIEOffsets ? getIEOffsets : getModernOffsets, + + /** + * @param {DOMElement|DOMTextNode} node + * @param {object} offsets + */ + setOffsets: useIEOffsets ? setIEOffsets : setModernOffsets +}; + +module.exports = ReactDOMSelection; + +},{"128":128,"130":130,"21":21}],51:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMTextComponent + * @typechecks static-only + */ + +'use strict'; + +var DOMPropertyOperations = _dereq_(11); +var ReactComponentBrowserEnvironment = + _dereq_(35); +var ReactDOMComponent = _dereq_(42); + +var assign = _dereq_(27); +var escapeTextContentForBrowser = _dereq_(116); + +/** + * Text nodes violate a couple assumptions that React makes about components: + * + * - When mounting text into the DOM, adjacent text nodes are merged. + * - Text nodes cannot be assigned a React root ID. + * + * This component is used to wrap strings in elements so that they can undergo + * the same reconciliation that is applied to elements. + * + * TODO: Investigate representing React components in the DOM with text nodes. + * + * @class ReactDOMTextComponent + * @extends ReactComponent + * @internal + */ +var ReactDOMTextComponent = function(props) { + // This constructor and its argument is currently used by mocks. +}; + +assign(ReactDOMTextComponent.prototype, { + + /** + * @param {ReactText} text + * @internal + */ + construct: function(text) { + // TODO: This is really a ReactText (ReactNode), not a ReactElement + this._currentElement = text; + this._stringText = '' + text; + + // Properties + this._rootNodeID = null; + this._mountIndex = 0; + }, + + /** + * Creates the markup for this text node. This node is not intended to have + * any features besides containing text content. + * + * @param {string} rootID DOM ID of the root node. + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @return {string} Markup for this text node. + * @internal + */ + mountComponent: function(rootID, transaction, context) { + this._rootNodeID = rootID; + var escapedText = escapeTextContentForBrowser(this._stringText); + + if (transaction.renderToStaticMarkup) { + // Normally we'd wrap this in a `span` for the reasons stated above, but + // since this is a situation where React won't take over (static pages), + // we can simply return the text as it is. + return escapedText; + } + + return ( + '<span ' + DOMPropertyOperations.createMarkupForID(rootID) + '>' + + escapedText + + '</span>' + ); + }, + + /** + * Updates this component by updating the text content. + * + * @param {ReactText} nextText The next text content + * @param {ReactReconcileTransaction} transaction + * @internal + */ + receiveComponent: function(nextText, transaction) { + if (nextText !== this._currentElement) { + this._currentElement = nextText; + var nextStringText = '' + nextText; + if (nextStringText !== this._stringText) { + // TODO: Save this as pending props and use performUpdateIfNecessary + // and/or updateComponent to do the actual update for consistency with + // other component types? + this._stringText = nextStringText; + ReactDOMComponent.BackendIDOperations.updateTextContentByID( + this._rootNodeID, + nextStringText + ); + } + } + }, + + unmountComponent: function() { + ReactComponentBrowserEnvironment.unmountIDFromEnvironment(this._rootNodeID); + } + +}); + +module.exports = ReactDOMTextComponent; + +},{"11":11,"116":116,"27":27,"35":35,"42":42}],52:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDOMTextarea + */ + +'use strict'; + +var AutoFocusMixin = _dereq_(2); +var DOMPropertyOperations = _dereq_(11); +var LinkedValueUtils = _dereq_(24); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); +var ReactUpdates = _dereq_(87); + +var assign = _dereq_(27); +var invariant = _dereq_(135); + +var warning = _dereq_(154); + +var textarea = ReactElement.createFactory('textarea'); + +function forceUpdateIfMounted() { + /*jshint validthis:true */ + if (this.isMounted()) { + this.forceUpdate(); + } +} + +/** + * Implements a <textarea> native component that allows setting `value`, and + * `defaultValue`. This differs from the traditional DOM API because value is + * usually set as PCDATA children. + * + * If `value` is not supplied (or null/undefined), user actions that affect the + * value will trigger updates to the element. + * + * If `value` is supplied (and not null/undefined), the rendered element will + * not trigger updates to the element. Instead, the `value` prop must change in + * order for the rendered element to be updated. + * + * The rendered element will be initialized with an empty value, the prop + * `defaultValue` if specified, or the children content (deprecated). + */ +var ReactDOMTextarea = ReactClass.createClass({ + displayName: 'ReactDOMTextarea', + tagName: 'TEXTAREA', + + mixins: [AutoFocusMixin, LinkedValueUtils.Mixin, ReactBrowserComponentMixin], + + getInitialState: function() { + var defaultValue = this.props.defaultValue; + // TODO (yungsters): Remove support for children content in <textarea>. + var children = this.props.children; + if (children != null) { + if ("production" !== "development") { + ("production" !== "development" ? warning( + false, + 'Use the `defaultValue` or `value` props instead of setting ' + + 'children on <textarea>.' + ) : null); + } + ("production" !== "development" ? invariant( + defaultValue == null, + 'If you supply `defaultValue` on a <textarea>, do not pass children.' + ) : invariant(defaultValue == null)); + if (Array.isArray(children)) { + ("production" !== "development" ? invariant( + children.length <= 1, + '<textarea> can only have at most one child.' + ) : invariant(children.length <= 1)); + children = children[0]; + } + + defaultValue = '' + children; + } + if (defaultValue == null) { + defaultValue = ''; + } + var value = LinkedValueUtils.getValue(this); + return { + // We save the initial value so that `ReactDOMComponent` doesn't update + // `textContent` (unnecessary since we update value). + // The initial value can be a boolean or object so that's why it's + // forced to be a string. + initialValue: '' + (value != null ? value : defaultValue) + }; + }, + + render: function() { + // Clone `this.props` so we don't mutate the input. + var props = assign({}, this.props); + + ("production" !== "development" ? invariant( + props.dangerouslySetInnerHTML == null, + '`dangerouslySetInnerHTML` does not make sense on <textarea>.' + ) : invariant(props.dangerouslySetInnerHTML == null)); + + props.defaultValue = null; + props.value = null; + props.onChange = this._handleChange; + + // Always set children to the same thing. In IE9, the selection range will + // get reset if `textContent` is mutated. + return textarea(props, this.state.initialValue); + }, + + componentDidUpdate: function(prevProps, prevState, prevContext) { + var value = LinkedValueUtils.getValue(this); + if (value != null) { + var rootNode = this.getDOMNode(); + // Cast `value` to a string to ensure the value is set correctly. While + // browsers typically do this as necessary, jsdom doesn't. + DOMPropertyOperations.setValueForProperty(rootNode, 'value', '' + value); + } + }, + + _handleChange: function(event) { + var returnValue; + var onChange = LinkedValueUtils.getOnChange(this); + if (onChange) { + returnValue = onChange.call(this, event); + } + ReactUpdates.asap(forceUpdateIfMounted, this); + return returnValue; + } + +}); + +module.exports = ReactDOMTextarea; + +},{"11":11,"135":135,"154":154,"2":2,"24":24,"27":27,"29":29,"33":33,"57":57,"87":87}],53:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDefaultBatchingStrategy + */ + +'use strict'; + +var ReactUpdates = _dereq_(87); +var Transaction = _dereq_(103); + +var assign = _dereq_(27); +var emptyFunction = _dereq_(114); + +var RESET_BATCHED_UPDATES = { + initialize: emptyFunction, + close: function() { + ReactDefaultBatchingStrategy.isBatchingUpdates = false; + } +}; + +var FLUSH_BATCHED_UPDATES = { + initialize: emptyFunction, + close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates) +}; + +var TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES]; + +function ReactDefaultBatchingStrategyTransaction() { + this.reinitializeTransaction(); +} + +assign( + ReactDefaultBatchingStrategyTransaction.prototype, + Transaction.Mixin, + { + getTransactionWrappers: function() { + return TRANSACTION_WRAPPERS; + } + } +); + +var transaction = new ReactDefaultBatchingStrategyTransaction(); + +var ReactDefaultBatchingStrategy = { + isBatchingUpdates: false, + + /** + * Call the provided function in a context within which calls to `setState` + * and friends are batched such that components aren't updated unnecessarily. + */ + batchedUpdates: function(callback, a, b, c, d) { + var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates; + + ReactDefaultBatchingStrategy.isBatchingUpdates = true; + + // The code is written this way to avoid extra allocations + if (alreadyBatchingUpdates) { + callback(a, b, c, d); + } else { + transaction.perform(callback, null, a, b, c, d); + } + } +}; + +module.exports = ReactDefaultBatchingStrategy; + +},{"103":103,"114":114,"27":27,"87":87}],54:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDefaultInjection + */ + +'use strict'; + +var BeforeInputEventPlugin = _dereq_(3); +var ChangeEventPlugin = _dereq_(7); +var ClientReactRootIndex = _dereq_(8); +var DefaultEventPluginOrder = _dereq_(13); +var EnterLeaveEventPlugin = _dereq_(14); +var ExecutionEnvironment = _dereq_(21); +var HTMLDOMPropertyConfig = _dereq_(23); +var MobileSafariClickEventPlugin = _dereq_(26); +var ReactBrowserComponentMixin = _dereq_(29); +var ReactClass = _dereq_(33); +var ReactComponentBrowserEnvironment = + _dereq_(35); +var ReactDefaultBatchingStrategy = _dereq_(53); +var ReactDOMComponent = _dereq_(42); +var ReactDOMButton = _dereq_(41); +var ReactDOMForm = _dereq_(43); +var ReactDOMImg = _dereq_(46); +var ReactDOMIDOperations = _dereq_(44); +var ReactDOMIframe = _dereq_(45); +var ReactDOMInput = _dereq_(47); +var ReactDOMOption = _dereq_(48); +var ReactDOMSelect = _dereq_(49); +var ReactDOMTextarea = _dereq_(52); +var ReactDOMTextComponent = _dereq_(51); +var ReactElement = _dereq_(57); +var ReactEventListener = _dereq_(62); +var ReactInjection = _dereq_(64); +var ReactInstanceHandles = _dereq_(66); +var ReactMount = _dereq_(70); +var ReactReconcileTransaction = _dereq_(80); +var SelectEventPlugin = _dereq_(89); +var ServerReactRootIndex = _dereq_(90); +var SimpleEventPlugin = _dereq_(91); +var SVGDOMPropertyConfig = _dereq_(88); + +var createFullPageComponent = _dereq_(111); + +function autoGenerateWrapperClass(type) { + return ReactClass.createClass({ + tagName: type.toUpperCase(), + render: function() { + return new ReactElement( + type, + null, + null, + null, + null, + this.props + ); + } + }); +} + +function inject() { + ReactInjection.EventEmitter.injectReactEventListener( + ReactEventListener + ); + + /** + * Inject modules for resolving DOM hierarchy and plugin ordering. + */ + ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder); + ReactInjection.EventPluginHub.injectInstanceHandle(ReactInstanceHandles); + ReactInjection.EventPluginHub.injectMount(ReactMount); + + /** + * Some important event plugins included by default (without having to require + * them). + */ + ReactInjection.EventPluginHub.injectEventPluginsByName({ + SimpleEventPlugin: SimpleEventPlugin, + EnterLeaveEventPlugin: EnterLeaveEventPlugin, + ChangeEventPlugin: ChangeEventPlugin, + MobileSafariClickEventPlugin: MobileSafariClickEventPlugin, + SelectEventPlugin: SelectEventPlugin, + BeforeInputEventPlugin: BeforeInputEventPlugin + }); + + ReactInjection.NativeComponent.injectGenericComponentClass( + ReactDOMComponent + ); + + ReactInjection.NativeComponent.injectTextComponentClass( + ReactDOMTextComponent + ); + + ReactInjection.NativeComponent.injectAutoWrapper( + autoGenerateWrapperClass + ); + + // This needs to happen before createFullPageComponent() otherwise the mixin + // won't be included. + ReactInjection.Class.injectMixin(ReactBrowserComponentMixin); + + ReactInjection.NativeComponent.injectComponentClasses({ + 'button': ReactDOMButton, + 'form': ReactDOMForm, + 'iframe': ReactDOMIframe, + 'img': ReactDOMImg, + 'input': ReactDOMInput, + 'option': ReactDOMOption, + 'select': ReactDOMSelect, + 'textarea': ReactDOMTextarea, + + 'html': createFullPageComponent('html'), + 'head': createFullPageComponent('head'), + 'body': createFullPageComponent('body') + }); + + ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig); + ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig); + + ReactInjection.EmptyComponent.injectEmptyComponent('noscript'); + + ReactInjection.Updates.injectReconcileTransaction( + ReactReconcileTransaction + ); + ReactInjection.Updates.injectBatchingStrategy( + ReactDefaultBatchingStrategy + ); + + ReactInjection.RootIndex.injectCreateReactRootIndex( + ExecutionEnvironment.canUseDOM ? + ClientReactRootIndex.createReactRootIndex : + ServerReactRootIndex.createReactRootIndex + ); + + ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment); + ReactInjection.DOMComponent.injectIDOperations(ReactDOMIDOperations); + + if ("production" !== "development") { + var url = (ExecutionEnvironment.canUseDOM && window.location.href) || ''; + if ((/[?&]react_perf\b/).test(url)) { + var ReactDefaultPerf = _dereq_(55); + ReactDefaultPerf.start(); + } + } +} + +module.exports = { + inject: inject +}; + +},{"111":111,"13":13,"14":14,"21":21,"23":23,"26":26,"29":29,"3":3,"33":33,"35":35,"41":41,"42":42,"43":43,"44":44,"45":45,"46":46,"47":47,"48":48,"49":49,"51":51,"52":52,"53":53,"55":55,"57":57,"62":62,"64":64,"66":66,"7":7,"70":70,"8":8,"80":80,"88":88,"89":89,"90":90,"91":91}],55:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDefaultPerf + * @typechecks static-only + */ + +'use strict'; + +var DOMProperty = _dereq_(10); +var ReactDefaultPerfAnalysis = _dereq_(56); +var ReactMount = _dereq_(70); +var ReactPerf = _dereq_(75); + +var performanceNow = _dereq_(146); + +function roundFloat(val) { + return Math.floor(val * 100) / 100; +} + +function addValue(obj, key, val) { + obj[key] = (obj[key] || 0) + val; +} + +var ReactDefaultPerf = { + _allMeasurements: [], // last item in the list is the current one + _mountStack: [0], + _injected: false, + + start: function() { + if (!ReactDefaultPerf._injected) { + ReactPerf.injection.injectMeasure(ReactDefaultPerf.measure); + } + + ReactDefaultPerf._allMeasurements.length = 0; + ReactPerf.enableMeasure = true; + }, + + stop: function() { + ReactPerf.enableMeasure = false; + }, + + getLastMeasurements: function() { + return ReactDefaultPerf._allMeasurements; + }, + + printExclusive: function(measurements) { + measurements = measurements || ReactDefaultPerf._allMeasurements; + var summary = ReactDefaultPerfAnalysis.getExclusiveSummary(measurements); + console.table(summary.map(function(item) { + return { + 'Component class name': item.componentName, + 'Total inclusive time (ms)': roundFloat(item.inclusive), + 'Exclusive mount time (ms)': roundFloat(item.exclusive), + 'Exclusive render time (ms)': roundFloat(item.render), + 'Mount time per instance (ms)': roundFloat(item.exclusive / item.count), + 'Render time per instance (ms)': roundFloat(item.render / item.count), + 'Instances': item.count + }; + })); + // TODO: ReactDefaultPerfAnalysis.getTotalTime() does not return the correct + // number. + }, + + printInclusive: function(measurements) { + measurements = measurements || ReactDefaultPerf._allMeasurements; + var summary = ReactDefaultPerfAnalysis.getInclusiveSummary(measurements); + console.table(summary.map(function(item) { + return { + 'Owner > component': item.componentName, + 'Inclusive time (ms)': roundFloat(item.time), + 'Instances': item.count + }; + })); + console.log( + 'Total time:', + ReactDefaultPerfAnalysis.getTotalTime(measurements).toFixed(2) + ' ms' + ); + }, + + getMeasurementsSummaryMap: function(measurements) { + var summary = ReactDefaultPerfAnalysis.getInclusiveSummary( + measurements, + true + ); + return summary.map(function(item) { + return { + 'Owner > component': item.componentName, + 'Wasted time (ms)': item.time, + 'Instances': item.count + }; + }); + }, + + printWasted: function(measurements) { + measurements = measurements || ReactDefaultPerf._allMeasurements; + console.table(ReactDefaultPerf.getMeasurementsSummaryMap(measurements)); + console.log( + 'Total time:', + ReactDefaultPerfAnalysis.getTotalTime(measurements).toFixed(2) + ' ms' + ); + }, + + printDOM: function(measurements) { + measurements = measurements || ReactDefaultPerf._allMeasurements; + var summary = ReactDefaultPerfAnalysis.getDOMSummary(measurements); + console.table(summary.map(function(item) { + var result = {}; + result[DOMProperty.ID_ATTRIBUTE_NAME] = item.id; + result['type'] = item.type; + result['args'] = JSON.stringify(item.args); + return result; + })); + console.log( + 'Total time:', + ReactDefaultPerfAnalysis.getTotalTime(measurements).toFixed(2) + ' ms' + ); + }, + + _recordWrite: function(id, fnName, totalTime, args) { + // TODO: totalTime isn't that useful since it doesn't count paints/reflows + var writes = + ReactDefaultPerf + ._allMeasurements[ReactDefaultPerf._allMeasurements.length - 1] + .writes; + writes[id] = writes[id] || []; + writes[id].push({ + type: fnName, + time: totalTime, + args: args + }); + }, + + measure: function(moduleName, fnName, func) { + return function() {for (var args=[],$__0=0,$__1=arguments.length;$__0<$__1;$__0++) args.push(arguments[$__0]); + var totalTime; + var rv; + var start; + + if (fnName === '_renderNewRootComponent' || + fnName === 'flushBatchedUpdates') { + // A "measurement" is a set of metrics recorded for each flush. We want + // to group the metrics for a given flush together so we can look at the + // components that rendered and the DOM operations that actually + // happened to determine the amount of "wasted work" performed. + ReactDefaultPerf._allMeasurements.push({ + exclusive: {}, + inclusive: {}, + render: {}, + counts: {}, + writes: {}, + displayNames: {}, + totalTime: 0 + }); + start = performanceNow(); + rv = func.apply(this, args); + ReactDefaultPerf._allMeasurements[ + ReactDefaultPerf._allMeasurements.length - 1 + ].totalTime = performanceNow() - start; + return rv; + } else if (fnName === '_mountImageIntoNode' || + moduleName === 'ReactDOMIDOperations') { + start = performanceNow(); + rv = func.apply(this, args); + totalTime = performanceNow() - start; + + if (fnName === '_mountImageIntoNode') { + var mountID = ReactMount.getID(args[1]); + ReactDefaultPerf._recordWrite(mountID, fnName, totalTime, args[0]); + } else if (fnName === 'dangerouslyProcessChildrenUpdates') { + // special format + args[0].forEach(function(update) { + var writeArgs = {}; + if (update.fromIndex !== null) { + writeArgs.fromIndex = update.fromIndex; + } + if (update.toIndex !== null) { + writeArgs.toIndex = update.toIndex; + } + if (update.textContent !== null) { + writeArgs.textContent = update.textContent; + } + if (update.markupIndex !== null) { + writeArgs.markup = args[1][update.markupIndex]; + } + ReactDefaultPerf._recordWrite( + update.parentID, + update.type, + totalTime, + writeArgs + ); + }); + } else { + // basic format + ReactDefaultPerf._recordWrite( + args[0], + fnName, + totalTime, + Array.prototype.slice.call(args, 1) + ); + } + return rv; + } else if (moduleName === 'ReactCompositeComponent' && ( + (// TODO: receiveComponent()? + (fnName === 'mountComponent' || + fnName === 'updateComponent' || fnName === '_renderValidatedComponent')))) { + + if (typeof this._currentElement.type === 'string') { + return func.apply(this, args); + } + + var rootNodeID = fnName === 'mountComponent' ? + args[0] : + this._rootNodeID; + var isRender = fnName === '_renderValidatedComponent'; + var isMount = fnName === 'mountComponent'; + + var mountStack = ReactDefaultPerf._mountStack; + var entry = ReactDefaultPerf._allMeasurements[ + ReactDefaultPerf._allMeasurements.length - 1 + ]; + + if (isRender) { + addValue(entry.counts, rootNodeID, 1); + } else if (isMount) { + mountStack.push(0); + } + + start = performanceNow(); + rv = func.apply(this, args); + totalTime = performanceNow() - start; + + if (isRender) { + addValue(entry.render, rootNodeID, totalTime); + } else if (isMount) { + var subMountTime = mountStack.pop(); + mountStack[mountStack.length - 1] += totalTime; + addValue(entry.exclusive, rootNodeID, totalTime - subMountTime); + addValue(entry.inclusive, rootNodeID, totalTime); + } else { + addValue(entry.inclusive, rootNodeID, totalTime); + } + + entry.displayNames[rootNodeID] = { + current: this.getName(), + owner: this._currentElement._owner ? + this._currentElement._owner.getName() : + '<root>' + }; + + return rv; + } else { + return func.apply(this, args); + } + }; + } +}; + +module.exports = ReactDefaultPerf; + +},{"10":10,"146":146,"56":56,"70":70,"75":75}],56:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactDefaultPerfAnalysis + */ + +var assign = _dereq_(27); + +// Don't try to save users less than 1.2ms (a number I made up) +var DONT_CARE_THRESHOLD = 1.2; +var DOM_OPERATION_TYPES = { + '_mountImageIntoNode': 'set innerHTML', + INSERT_MARKUP: 'set innerHTML', + MOVE_EXISTING: 'move', + REMOVE_NODE: 'remove', + TEXT_CONTENT: 'set textContent', + 'updatePropertyByID': 'update attribute', + 'deletePropertyByID': 'delete attribute', + 'updateStylesByID': 'update styles', + 'updateInnerHTMLByID': 'set innerHTML', + 'dangerouslyReplaceNodeWithMarkupByID': 'replace' +}; + +function getTotalTime(measurements) { + // TODO: return number of DOM ops? could be misleading. + // TODO: measure dropped frames after reconcile? + // TODO: log total time of each reconcile and the top-level component + // class that triggered it. + var totalTime = 0; + for (var i = 0; i < measurements.length; i++) { + var measurement = measurements[i]; + totalTime += measurement.totalTime; + } + return totalTime; +} + +function getDOMSummary(measurements) { + var items = []; + for (var i = 0; i < measurements.length; i++) { + var measurement = measurements[i]; + var id; + + for (id in measurement.writes) { + measurement.writes[id].forEach(function(write) { + items.push({ + id: id, + type: DOM_OPERATION_TYPES[write.type] || write.type, + args: write.args + }); + }); + } + } + return items; +} + +function getExclusiveSummary(measurements) { + var candidates = {}; + var displayName; + + for (var i = 0; i < measurements.length; i++) { + var measurement = measurements[i]; + var allIDs = assign( + {}, + measurement.exclusive, + measurement.inclusive + ); + + for (var id in allIDs) { + displayName = measurement.displayNames[id].current; + + candidates[displayName] = candidates[displayName] || { + componentName: displayName, + inclusive: 0, + exclusive: 0, + render: 0, + count: 0 + }; + if (measurement.render[id]) { + candidates[displayName].render += measurement.render[id]; + } + if (measurement.exclusive[id]) { + candidates[displayName].exclusive += measurement.exclusive[id]; + } + if (measurement.inclusive[id]) { + candidates[displayName].inclusive += measurement.inclusive[id]; + } + if (measurement.counts[id]) { + candidates[displayName].count += measurement.counts[id]; + } + } + } + + // Now make a sorted array with the results. + var arr = []; + for (displayName in candidates) { + if (candidates[displayName].exclusive >= DONT_CARE_THRESHOLD) { + arr.push(candidates[displayName]); + } + } + + arr.sort(function(a, b) { + return b.exclusive - a.exclusive; + }); + + return arr; +} + +function getInclusiveSummary(measurements, onlyClean) { + var candidates = {}; + var inclusiveKey; + + for (var i = 0; i < measurements.length; i++) { + var measurement = measurements[i]; + var allIDs = assign( + {}, + measurement.exclusive, + measurement.inclusive + ); + var cleanComponents; + + if (onlyClean) { + cleanComponents = getUnchangedComponents(measurement); + } + + for (var id in allIDs) { + if (onlyClean && !cleanComponents[id]) { + continue; + } + + var displayName = measurement.displayNames[id]; + + // Inclusive time is not useful for many components without knowing where + // they are instantiated. So we aggregate inclusive time with both the + // owner and current displayName as the key. + inclusiveKey = displayName.owner + ' > ' + displayName.current; + + candidates[inclusiveKey] = candidates[inclusiveKey] || { + componentName: inclusiveKey, + time: 0, + count: 0 + }; + + if (measurement.inclusive[id]) { + candidates[inclusiveKey].time += measurement.inclusive[id]; + } + if (measurement.counts[id]) { + candidates[inclusiveKey].count += measurement.counts[id]; + } + } + } + + // Now make a sorted array with the results. + var arr = []; + for (inclusiveKey in candidates) { + if (candidates[inclusiveKey].time >= DONT_CARE_THRESHOLD) { + arr.push(candidates[inclusiveKey]); + } + } + + arr.sort(function(a, b) { + return b.time - a.time; + }); + + return arr; +} + +function getUnchangedComponents(measurement) { + // For a given reconcile, look at which components did not actually + // render anything to the DOM and return a mapping of their ID to + // the amount of time it took to render the entire subtree. + var cleanComponents = {}; + var dirtyLeafIDs = Object.keys(measurement.writes); + var allIDs = assign({}, measurement.exclusive, measurement.inclusive); + + for (var id in allIDs) { + var isDirty = false; + // For each component that rendered, see if a component that triggered + // a DOM op is in its subtree. + for (var i = 0; i < dirtyLeafIDs.length; i++) { + if (dirtyLeafIDs[i].indexOf(id) === 0) { + isDirty = true; + break; + } + } + if (!isDirty && measurement.counts[id] > 0) { + cleanComponents[id] = true; + } + } + return cleanComponents; +} + +var ReactDefaultPerfAnalysis = { + getExclusiveSummary: getExclusiveSummary, + getInclusiveSummary: getInclusiveSummary, + getDOMSummary: getDOMSummary, + getTotalTime: getTotalTime +}; + +module.exports = ReactDefaultPerfAnalysis; + +},{"27":27}],57:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactElement + */ + +'use strict'; + +var ReactContext = _dereq_(38); +var ReactCurrentOwner = _dereq_(39); + +var assign = _dereq_(27); +var warning = _dereq_(154); + +var RESERVED_PROPS = { + key: true, + ref: true +}; + +/** + * Warn for mutations. + * + * @internal + * @param {object} object + * @param {string} key + */ +function defineWarningProperty(object, key) { + Object.defineProperty(object, key, { + + configurable: false, + enumerable: true, + + get: function() { + if (!this._store) { + return null; + } + return this._store[key]; + }, + + set: function(value) { + ("production" !== "development" ? warning( + false, + 'Don\'t set the %s property of the React element. Instead, ' + + 'specify the correct value when initially creating the element.', + key + ) : null); + this._store[key] = value; + } + + }); +} + +/** + * This is updated to true if the membrane is successfully created. + */ +var useMutationMembrane = false; + +/** + * Warn for mutations. + * + * @internal + * @param {object} element + */ +function defineMutationMembrane(prototype) { + try { + var pseudoFrozenProperties = { + props: true + }; + for (var key in pseudoFrozenProperties) { + defineWarningProperty(prototype, key); + } + useMutationMembrane = true; + } catch (x) { + // IE will fail on defineProperty + } +} + +/** + * Base constructor for all React elements. This is only used to make this + * work with a dynamic instanceof check. Nothing should live on this prototype. + * + * @param {*} type + * @param {string|object} ref + * @param {*} key + * @param {*} props + * @internal + */ +var ReactElement = function(type, key, ref, owner, context, props) { + // Built-in properties that belong on the element + this.type = type; + this.key = key; + this.ref = ref; + + // Record the component responsible for creating this element. + this._owner = owner; + + // TODO: Deprecate withContext, and then the context becomes accessible + // through the owner. + this._context = context; + + if ("production" !== "development") { + // The validation flag and props are currently mutative. We put them on + // an external backing store so that we can freeze the whole object. + // This can be replaced with a WeakMap once they are implemented in + // commonly used development environments. + this._store = {props: props, originalProps: assign({}, props)}; + + // To make comparing ReactElements easier for testing purposes, we make + // the validation flag non-enumerable (where possible, which should + // include every environment we run tests in), so the test framework + // ignores it. + try { + Object.defineProperty(this._store, 'validated', { + configurable: false, + enumerable: false, + writable: true + }); + } catch (x) { + } + this._store.validated = false; + + // We're not allowed to set props directly on the object so we early + // return and rely on the prototype membrane to forward to the backing + // store. + if (useMutationMembrane) { + Object.freeze(this); + return; + } + } + + this.props = props; +}; + +// We intentionally don't expose the function on the constructor property. +// ReactElement should be indistinguishable from a plain object. +ReactElement.prototype = { + _isReactElement: true +}; + +if ("production" !== "development") { + defineMutationMembrane(ReactElement.prototype); +} + +ReactElement.createElement = function(type, config, children) { + var propName; + + // Reserved names are extracted + var props = {}; + + var key = null; + var ref = null; + + if (config != null) { + ref = config.ref === undefined ? null : config.ref; + key = config.key === undefined ? null : '' + config.key; + // Remaining properties are added to a new props object + for (propName in config) { + if (config.hasOwnProperty(propName) && + !RESERVED_PROPS.hasOwnProperty(propName)) { + props[propName] = config[propName]; + } + } + } + + // Children can be more than one argument, and those are transferred onto + // the newly allocated props object. + var childrenLength = arguments.length - 2; + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 2]; + } + props.children = childArray; + } + + // Resolve default props + if (type && type.defaultProps) { + var defaultProps = type.defaultProps; + for (propName in defaultProps) { + if (typeof props[propName] === 'undefined') { + props[propName] = defaultProps[propName]; + } + } + } + + return new ReactElement( + type, + key, + ref, + ReactCurrentOwner.current, + ReactContext.current, + props + ); +}; + +ReactElement.createFactory = function(type) { + var factory = ReactElement.createElement.bind(null, type); + // Expose the type on the factory and the prototype so that it can be + // easily accessed on elements. E.g. <Foo />.type === Foo.type. + // This should not be named `constructor` since this may not be the function + // that created the element, and it may not even be a constructor. + // Legacy hook TODO: Warn if this is accessed + factory.type = type; + return factory; +}; + +ReactElement.cloneAndReplaceProps = function(oldElement, newProps) { + var newElement = new ReactElement( + oldElement.type, + oldElement.key, + oldElement.ref, + oldElement._owner, + oldElement._context, + newProps + ); + + if ("production" !== "development") { + // If the key on the original is valid, then the clone is valid + newElement._store.validated = oldElement._store.validated; + } + return newElement; +}; + +ReactElement.cloneElement = function(element, config, children) { + var propName; + + // Original props are copied + var props = assign({}, element.props); + + // Reserved names are extracted + var key = element.key; + var ref = element.ref; + + // Owner will be preserved, unless ref is overridden + var owner = element._owner; + + if (config != null) { + if (config.ref !== undefined) { + // Silently steal the ref from the parent. + ref = config.ref; + owner = ReactCurrentOwner.current; + } + if (config.key !== undefined) { + key = '' + config.key; + } + // Remaining properties override existing props + for (propName in config) { + if (config.hasOwnProperty(propName) && + !RESERVED_PROPS.hasOwnProperty(propName)) { + props[propName] = config[propName]; + } + } + } + + // Children can be more than one argument, and those are transferred onto + // the newly allocated props object. + var childrenLength = arguments.length - 2; + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 2]; + } + props.children = childArray; + } + + return new ReactElement( + element.type, + key, + ref, + owner, + element._context, + props + ); +}; + +/** + * @param {?object} object + * @return {boolean} True if `object` is a valid component. + * @final + */ +ReactElement.isValidElement = function(object) { + // ReactTestUtils is often used outside of beforeEach where as React is + // within it. This leads to two different instances of React on the same + // page. To identify a element from a different React instance we use + // a flag instead of an instanceof check. + var isElement = !!(object && object._isReactElement); + // if (isElement && !(object instanceof ReactElement)) { + // This is an indicator that you're using multiple versions of React at the + // same time. This will screw with ownership and stuff. Fix it, please. + // TODO: We could possibly warn here. + // } + return isElement; +}; + +module.exports = ReactElement; + +},{"154":154,"27":27,"38":38,"39":39}],58:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactElementValidator + */ + +/** + * ReactElementValidator provides a wrapper around a element factory + * which validates the props passed to the element. This is intended to be + * used only in DEV and could be replaced by a static type checker for languages + * that support it. + */ + +'use strict'; + +var ReactElement = _dereq_(57); +var ReactFragment = _dereq_(63); +var ReactPropTypeLocations = _dereq_(77); +var ReactPropTypeLocationNames = _dereq_(76); +var ReactCurrentOwner = _dereq_(39); +var ReactNativeComponent = _dereq_(73); + +var getIteratorFn = _dereq_(126); +var invariant = _dereq_(135); +var warning = _dereq_(154); + +function getDeclarationErrorAddendum() { + if (ReactCurrentOwner.current) { + var name = ReactCurrentOwner.current.getName(); + if (name) { + return ' Check the render method of `' + name + '`.'; + } + } + return ''; +} + +/** + * Warn if there's no key explicitly set on dynamic arrays of children or + * object keys are not valid. This allows us to keep track of children between + * updates. + */ +var ownerHasKeyUseWarning = {}; + +var loggedTypeFailures = {}; + +var NUMERIC_PROPERTY_REGEX = /^\d+$/; + +/** + * Gets the instance's name for use in warnings. + * + * @internal + * @return {?string} Display name or undefined + */ +function getName(instance) { + var publicInstance = instance && instance.getPublicInstance(); + if (!publicInstance) { + return undefined; + } + var constructor = publicInstance.constructor; + if (!constructor) { + return undefined; + } + return constructor.displayName || constructor.name || undefined; +} + +/** + * Gets the current owner's displayName for use in warnings. + * + * @internal + * @return {?string} Display name or undefined + */ +function getCurrentOwnerDisplayName() { + var current = ReactCurrentOwner.current; + return ( + current && getName(current) || undefined + ); +} + +/** + * Warn if the element doesn't have an explicit key assigned to it. + * This element is in an array. The array could grow and shrink or be + * reordered. All children that haven't already been validated are required to + * have a "key" property assigned to it. + * + * @internal + * @param {ReactElement} element Element that requires a key. + * @param {*} parentType element's parent's type. + */ +function validateExplicitKey(element, parentType) { + if (element._store.validated || element.key != null) { + return; + } + element._store.validated = true; + + warnAndMonitorForKeyUse( + 'Each child in an array or iterator should have a unique "key" prop.', + element, + parentType + ); +} + +/** + * Warn if the key is being defined as an object property but has an incorrect + * value. + * + * @internal + * @param {string} name Property name of the key. + * @param {ReactElement} element Component that requires a key. + * @param {*} parentType element's parent's type. + */ +function validatePropertyKey(name, element, parentType) { + if (!NUMERIC_PROPERTY_REGEX.test(name)) { + return; + } + warnAndMonitorForKeyUse( + 'Child objects should have non-numeric keys so ordering is preserved.', + element, + parentType + ); +} + +/** + * Shared warning and monitoring code for the key warnings. + * + * @internal + * @param {string} message The base warning that gets output. + * @param {ReactElement} element Component that requires a key. + * @param {*} parentType element's parent's type. + */ +function warnAndMonitorForKeyUse(message, element, parentType) { + var ownerName = getCurrentOwnerDisplayName(); + var parentName = typeof parentType === 'string' ? + parentType : parentType.displayName || parentType.name; + + var useName = ownerName || parentName; + var memoizer = ownerHasKeyUseWarning[message] || ( + (ownerHasKeyUseWarning[message] = {}) + ); + if (memoizer.hasOwnProperty(useName)) { + return; + } + memoizer[useName] = true; + + var parentOrOwnerAddendum = + ownerName ? (" Check the render method of " + ownerName + ".") : + parentName ? (" Check the React.render call using <" + parentName + ">.") : + ''; + + // Usually the current owner is the offender, but if it accepts children as a + // property, it may be the creator of the child that's responsible for + // assigning it a key. + var childOwnerAddendum = ''; + if (element && + element._owner && + element._owner !== ReactCurrentOwner.current) { + // Name of the component that originally created this child. + var childOwnerName = getName(element._owner); + + childOwnerAddendum = (" It was passed a child from " + childOwnerName + "."); + } + + ("production" !== "development" ? warning( + false, + message + '%s%s See http://fb.me/react-warning-keys for more information.', + parentOrOwnerAddendum, + childOwnerAddendum + ) : null); +} + +/** + * Ensure that every element either is passed in a static location, in an + * array with an explicit keys property defined, or in an object literal + * with valid key property. + * + * @internal + * @param {ReactNode} node Statically passed child of any type. + * @param {*} parentType node's parent's type. + */ +function validateChildKeys(node, parentType) { + if (Array.isArray(node)) { + for (var i = 0; i < node.length; i++) { + var child = node[i]; + if (ReactElement.isValidElement(child)) { + validateExplicitKey(child, parentType); + } + } + } else if (ReactElement.isValidElement(node)) { + // This element was passed in a valid location. + node._store.validated = true; + } else if (node) { + var iteratorFn = getIteratorFn(node); + // Entry iterators provide implicit keys. + if (iteratorFn) { + if (iteratorFn !== node.entries) { + var iterator = iteratorFn.call(node); + var step; + while (!(step = iterator.next()).done) { + if (ReactElement.isValidElement(step.value)) { + validateExplicitKey(step.value, parentType); + } + } + } + } else if (typeof node === 'object') { + var fragment = ReactFragment.extractIfFragment(node); + for (var key in fragment) { + if (fragment.hasOwnProperty(key)) { + validatePropertyKey(key, fragment[key], parentType); + } + } + } + } +} + +/** + * Assert that the props are valid + * + * @param {string} componentName Name of the component for error messages. + * @param {object} propTypes Map of prop name to a ReactPropType + * @param {object} props + * @param {string} location e.g. "prop", "context", "child context" + * @private + */ +function checkPropTypes(componentName, propTypes, props, location) { + for (var propName in propTypes) { + if (propTypes.hasOwnProperty(propName)) { + var error; + // Prop type validation may throw. In case they do, we don't want to + // fail the render phase where it didn't fail before. So we log it. + // After these have been cleaned up, we'll let them throw. + try { + // This is intentionally an invariant that gets caught. It's the same + // behavior as without this statement except with a better message. + ("production" !== "development" ? invariant( + typeof propTypes[propName] === 'function', + '%s: %s type `%s` is invalid; it must be a function, usually from ' + + 'React.PropTypes.', + componentName || 'React class', + ReactPropTypeLocationNames[location], + propName + ) : invariant(typeof propTypes[propName] === 'function')); + error = propTypes[propName](props, propName, componentName, location); + } catch (ex) { + error = ex; + } + if (error instanceof Error && !(error.message in loggedTypeFailures)) { + // Only monitor this failure once because there tends to be a lot of the + // same error. + loggedTypeFailures[error.message] = true; + + var addendum = getDeclarationErrorAddendum(this); + ("production" !== "development" ? warning(false, 'Failed propType: %s%s', error.message, addendum) : null); + } + } + } +} + +var warnedPropsMutations = {}; + +/** + * Warn about mutating props when setting `propName` on `element`. + * + * @param {string} propName The string key within props that was set + * @param {ReactElement} element + */ +function warnForPropsMutation(propName, element) { + var type = element.type; + var elementName = typeof type === 'string' ? type : type.displayName; + var ownerName = element._owner ? + element._owner.getPublicInstance().constructor.displayName : null; + + var warningKey = propName + '|' + elementName + '|' + ownerName; + if (warnedPropsMutations.hasOwnProperty(warningKey)) { + return; + } + warnedPropsMutations[warningKey] = true; + + var elementInfo = ''; + if (elementName) { + elementInfo = ' <' + elementName + ' />'; + } + var ownerInfo = ''; + if (ownerName) { + ownerInfo = ' The element was created by ' + ownerName + '.'; + } + + ("production" !== "development" ? warning( + false, + 'Don\'t set .props.%s of the React component%s. ' + + 'Instead, specify the correct value when ' + + 'initially creating the element.%s', + propName, + elementInfo, + ownerInfo + ) : null); +} + +// Inline Object.is polyfill +function is(a, b) { + if (a !== a) { + // NaN + return b !== b; + } + if (a === 0 && b === 0) { + // +-0 + return 1 / a === 1 / b; + } + return a === b; +} + +/** + * Given an element, check if its props have been mutated since element + * creation (or the last call to this function). In particular, check if any + * new props have been added, which we can't directly catch by defining warning + * properties on the props object. + * + * @param {ReactElement} element + */ +function checkAndWarnForMutatedProps(element) { + if (!element._store) { + // Element was created using `new ReactElement` directly or with + // `ReactElement.createElement`; skip mutation checking + return; + } + + var originalProps = element._store.originalProps; + var props = element.props; + + for (var propName in props) { + if (props.hasOwnProperty(propName)) { + if (!originalProps.hasOwnProperty(propName) || + !is(originalProps[propName], props[propName])) { + warnForPropsMutation(propName, element); + + // Copy over the new value so that the two props objects match again + originalProps[propName] = props[propName]; + } + } + } +} + +/** + * Given an element, validate that its props follow the propTypes definition, + * provided by the type. + * + * @param {ReactElement} element + */ +function validatePropTypes(element) { + if (element.type == null) { + // This has already warned. Don't throw. + return; + } + // Extract the component class from the element. Converts string types + // to a composite class which may have propTypes. + // TODO: Validating a string's propTypes is not decoupled from the + // rendering target which is problematic. + var componentClass = ReactNativeComponent.getComponentClassForElement( + element + ); + var name = componentClass.displayName || componentClass.name; + if (componentClass.propTypes) { + checkPropTypes( + name, + componentClass.propTypes, + element.props, + ReactPropTypeLocations.prop + ); + } + if (typeof componentClass.getDefaultProps === 'function') { + ("production" !== "development" ? warning( + componentClass.getDefaultProps.isReactClassApproved, + 'getDefaultProps is only used on classic React.createClass ' + + 'definitions. Use a static property named `defaultProps` instead.' + ) : null); + } +} + +var ReactElementValidator = { + + checkAndWarnForMutatedProps: checkAndWarnForMutatedProps, + + createElement: function(type, props, children) { + // We warn in this case but don't throw. We expect the element creation to + // succeed and there will likely be errors in render. + ("production" !== "development" ? warning( + type != null, + 'React.createElement: type should not be null or undefined. It should ' + + 'be a string (for DOM elements) or a ReactClass (for composite ' + + 'components).' + ) : null); + + var element = ReactElement.createElement.apply(this, arguments); + + // The result can be nullish if a mock or a custom function is used. + // TODO: Drop this when these are no longer allowed as the type argument. + if (element == null) { + return element; + } + + for (var i = 2; i < arguments.length; i++) { + validateChildKeys(arguments[i], type); + } + + validatePropTypes(element); + + return element; + }, + + createFactory: function(type) { + var validatedFactory = ReactElementValidator.createElement.bind( + null, + type + ); + // Legacy hook TODO: Warn if this is accessed + validatedFactory.type = type; + + if ("production" !== "development") { + try { + Object.defineProperty( + validatedFactory, + 'type', + { + enumerable: false, + get: function() { + ("production" !== "development" ? warning( + false, + 'Factory.type is deprecated. Access the class directly ' + + 'before passing it to createFactory.' + ) : null); + Object.defineProperty(this, 'type', { + value: type + }); + return type; + } + } + ); + } catch (x) { + // IE will fail on defineProperty (es5-shim/sham too) + } + } + + + return validatedFactory; + }, + + cloneElement: function(element, props, children) { + var newElement = ReactElement.cloneElement.apply(this, arguments); + for (var i = 2; i < arguments.length; i++) { + validateChildKeys(arguments[i], newElement.type); + } + validatePropTypes(newElement); + return newElement; + } + +}; + +module.exports = ReactElementValidator; + +},{"126":126,"135":135,"154":154,"39":39,"57":57,"63":63,"73":73,"76":76,"77":77}],59:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactEmptyComponent + */ + +'use strict'; + +var ReactElement = _dereq_(57); +var ReactInstanceMap = _dereq_(67); + +var invariant = _dereq_(135); + +var component; +// This registry keeps track of the React IDs of the components that rendered to +// `null` (in reality a placeholder such as `noscript`) +var nullComponentIDsRegistry = {}; + +var ReactEmptyComponentInjection = { + injectEmptyComponent: function(emptyComponent) { + component = ReactElement.createFactory(emptyComponent); + } +}; + +var ReactEmptyComponentType = function() {}; +ReactEmptyComponentType.prototype.componentDidMount = function() { + var internalInstance = ReactInstanceMap.get(this); + // TODO: Make sure we run these methods in the correct order, we shouldn't + // need this check. We're going to assume if we're here it means we ran + // componentWillUnmount already so there is no internal instance (it gets + // removed as part of the unmounting process). + if (!internalInstance) { + return; + } + registerNullComponentID(internalInstance._rootNodeID); +}; +ReactEmptyComponentType.prototype.componentWillUnmount = function() { + var internalInstance = ReactInstanceMap.get(this); + // TODO: Get rid of this check. See TODO in componentDidMount. + if (!internalInstance) { + return; + } + deregisterNullComponentID(internalInstance._rootNodeID); +}; +ReactEmptyComponentType.prototype.render = function() { + ("production" !== "development" ? invariant( + component, + 'Trying to return null from a render, but no null placeholder component ' + + 'was injected.' + ) : invariant(component)); + return component(); +}; + +var emptyElement = ReactElement.createElement(ReactEmptyComponentType); + +/** + * Mark the component as having rendered to null. + * @param {string} id Component's `_rootNodeID`. + */ +function registerNullComponentID(id) { + nullComponentIDsRegistry[id] = true; +} + +/** + * Unmark the component as having rendered to null: it renders to something now. + * @param {string} id Component's `_rootNodeID`. + */ +function deregisterNullComponentID(id) { + delete nullComponentIDsRegistry[id]; +} + +/** + * @param {string} id Component's `_rootNodeID`. + * @return {boolean} True if the component is rendered to null. + */ +function isNullComponentID(id) { + return !!nullComponentIDsRegistry[id]; +} + +var ReactEmptyComponent = { + emptyElement: emptyElement, + injection: ReactEmptyComponentInjection, + isNullComponentID: isNullComponentID +}; + +module.exports = ReactEmptyComponent; + +},{"135":135,"57":57,"67":67}],60:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactErrorUtils + * @typechecks + */ + +"use strict"; + +var ReactErrorUtils = { + /** + * Creates a guarded version of a function. This is supposed to make debugging + * of event handlers easier. To aid debugging with the browser's debugger, + * this currently simply returns the original function. + * + * @param {function} func Function to be executed + * @param {string} name The name of the guard + * @return {function} + */ + guard: function(func, name) { + return func; + } +}; + +module.exports = ReactErrorUtils; + +},{}],61:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactEventEmitterMixin + */ + +'use strict'; + +var EventPluginHub = _dereq_(17); + +function runEventQueueInBatch(events) { + EventPluginHub.enqueueEvents(events); + EventPluginHub.processEventQueue(); +} + +var ReactEventEmitterMixin = { + + /** + * Streams a fired top-level event to `EventPluginHub` where plugins have the + * opportunity to create `ReactEvent`s to be dispatched. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {object} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native environment event. + */ + handleTopLevel: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + var events = EventPluginHub.extractEvents( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent + ); + + runEventQueueInBatch(events); + } +}; + +module.exports = ReactEventEmitterMixin; + +},{"17":17}],62:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactEventListener + * @typechecks static-only + */ + +'use strict'; + +var EventListener = _dereq_(16); +var ExecutionEnvironment = _dereq_(21); +var PooledClass = _dereq_(28); +var ReactInstanceHandles = _dereq_(66); +var ReactMount = _dereq_(70); +var ReactUpdates = _dereq_(87); + +var assign = _dereq_(27); +var getEventTarget = _dereq_(125); +var getUnboundedScrollPosition = _dereq_(131); + +/** + * Finds the parent React component of `node`. + * + * @param {*} node + * @return {?DOMEventTarget} Parent container, or `null` if the specified node + * is not nested. + */ +function findParent(node) { + // TODO: It may be a good idea to cache this to prevent unnecessary DOM + // traversal, but caching is difficult to do correctly without using a + // mutation observer to listen for all DOM changes. + var nodeID = ReactMount.getID(node); + var rootID = ReactInstanceHandles.getReactRootIDFromNodeID(nodeID); + var container = ReactMount.findReactContainerForID(rootID); + var parent = ReactMount.getFirstReactDOM(container); + return parent; +} + +// Used to store ancestor hierarchy in top level callback +function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) { + this.topLevelType = topLevelType; + this.nativeEvent = nativeEvent; + this.ancestors = []; +} +assign(TopLevelCallbackBookKeeping.prototype, { + destructor: function() { + this.topLevelType = null; + this.nativeEvent = null; + this.ancestors.length = 0; + } +}); +PooledClass.addPoolingTo( + TopLevelCallbackBookKeeping, + PooledClass.twoArgumentPooler +); + +function handleTopLevelImpl(bookKeeping) { + var topLevelTarget = ReactMount.getFirstReactDOM( + getEventTarget(bookKeeping.nativeEvent) + ) || window; + + // Loop through the hierarchy, in case there's any nested components. + // It's important that we build the array of ancestors before calling any + // event handlers, because event handlers can modify the DOM, leading to + // inconsistencies with ReactMount's node cache. See #1105. + var ancestor = topLevelTarget; + while (ancestor) { + bookKeeping.ancestors.push(ancestor); + ancestor = findParent(ancestor); + } + + for (var i = 0, l = bookKeeping.ancestors.length; i < l; i++) { + topLevelTarget = bookKeeping.ancestors[i]; + var topLevelTargetID = ReactMount.getID(topLevelTarget) || ''; + ReactEventListener._handleTopLevel( + bookKeeping.topLevelType, + topLevelTarget, + topLevelTargetID, + bookKeeping.nativeEvent + ); + } +} + +function scrollValueMonitor(cb) { + var scrollPosition = getUnboundedScrollPosition(window); + cb(scrollPosition); +} + +var ReactEventListener = { + _enabled: true, + _handleTopLevel: null, + + WINDOW_HANDLE: ExecutionEnvironment.canUseDOM ? window : null, + + setHandleTopLevel: function(handleTopLevel) { + ReactEventListener._handleTopLevel = handleTopLevel; + }, + + setEnabled: function(enabled) { + ReactEventListener._enabled = !!enabled; + }, + + isEnabled: function() { + return ReactEventListener._enabled; + }, + + + /** + * Traps top-level events by using event bubbling. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {string} handlerBaseName Event name (e.g. "click"). + * @param {object} handle Element on which to attach listener. + * @return {object} An object with a remove function which will forcefully + * remove the listener. + * @internal + */ + trapBubbledEvent: function(topLevelType, handlerBaseName, handle) { + var element = handle; + if (!element) { + return null; + } + return EventListener.listen( + element, + handlerBaseName, + ReactEventListener.dispatchEvent.bind(null, topLevelType) + ); + }, + + /** + * Traps a top-level event by using event capturing. + * + * @param {string} topLevelType Record from `EventConstants`. + * @param {string} handlerBaseName Event name (e.g. "click"). + * @param {object} handle Element on which to attach listener. + * @return {object} An object with a remove function which will forcefully + * remove the listener. + * @internal + */ + trapCapturedEvent: function(topLevelType, handlerBaseName, handle) { + var element = handle; + if (!element) { + return null; + } + return EventListener.capture( + element, + handlerBaseName, + ReactEventListener.dispatchEvent.bind(null, topLevelType) + ); + }, + + monitorScrollValue: function(refresh) { + var callback = scrollValueMonitor.bind(null, refresh); + EventListener.listen(window, 'scroll', callback); + }, + + dispatchEvent: function(topLevelType, nativeEvent) { + if (!ReactEventListener._enabled) { + return; + } + + var bookKeeping = TopLevelCallbackBookKeeping.getPooled( + topLevelType, + nativeEvent + ); + try { + // Event queue being processed in the same cycle allows + // `preventDefault`. + ReactUpdates.batchedUpdates(handleTopLevelImpl, bookKeeping); + } finally { + TopLevelCallbackBookKeeping.release(bookKeeping); + } + } +}; + +module.exports = ReactEventListener; + +},{"125":125,"131":131,"16":16,"21":21,"27":27,"28":28,"66":66,"70":70,"87":87}],63:[function(_dereq_,module,exports){ +/** + * Copyright 2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * +* @providesModule ReactFragment +*/ + +'use strict'; + +var ReactElement = _dereq_(57); + +var warning = _dereq_(154); + +/** + * We used to allow keyed objects to serve as a collection of ReactElements, + * or nested sets. This allowed us a way to explicitly key a set a fragment of + * components. This is now being replaced with an opaque data structure. + * The upgrade path is to call React.addons.createFragment({ key: value }) to + * create a keyed fragment. The resulting data structure is opaque, for now. + */ + +if ("production" !== "development") { + var fragmentKey = '_reactFragment'; + var didWarnKey = '_reactDidWarn'; + var canWarnForReactFragment = false; + + try { + // Feature test. Don't even try to issue this warning if we can't use + // enumerable: false. + + var dummy = function() { + return 1; + }; + + Object.defineProperty( + {}, + fragmentKey, + {enumerable: false, value: true} + ); + + Object.defineProperty( + {}, + 'key', + {enumerable: true, get: dummy} + ); + + canWarnForReactFragment = true; + } catch (x) { } + + var proxyPropertyAccessWithWarning = function(obj, key) { + Object.defineProperty(obj, key, { + enumerable: true, + get: function() { + ("production" !== "development" ? warning( + this[didWarnKey], + 'A ReactFragment is an opaque type. Accessing any of its ' + + 'properties is deprecated. Pass it to one of the React.Children ' + + 'helpers.' + ) : null); + this[didWarnKey] = true; + return this[fragmentKey][key]; + }, + set: function(value) { + ("production" !== "development" ? warning( + this[didWarnKey], + 'A ReactFragment is an immutable opaque type. Mutating its ' + + 'properties is deprecated.' + ) : null); + this[didWarnKey] = true; + this[fragmentKey][key] = value; + } + }); + }; + + var issuedWarnings = {}; + + var didWarnForFragment = function(fragment) { + // We use the keys and the type of the value as a heuristic to dedupe the + // warning to avoid spamming too much. + var fragmentCacheKey = ''; + for (var key in fragment) { + fragmentCacheKey += key + ':' + (typeof fragment[key]) + ','; + } + var alreadyWarnedOnce = !!issuedWarnings[fragmentCacheKey]; + issuedWarnings[fragmentCacheKey] = true; + return alreadyWarnedOnce; + }; +} + +var ReactFragment = { + // Wrap a keyed object in an opaque proxy that warns you if you access any + // of its properties. + create: function(object) { + if ("production" !== "development") { + if (typeof object !== 'object' || !object || Array.isArray(object)) { + ("production" !== "development" ? warning( + false, + 'React.addons.createFragment only accepts a single object.', + object + ) : null); + return object; + } + if (ReactElement.isValidElement(object)) { + ("production" !== "development" ? warning( + false, + 'React.addons.createFragment does not accept a ReactElement ' + + 'without a wrapper object.' + ) : null); + return object; + } + if (canWarnForReactFragment) { + var proxy = {}; + Object.defineProperty(proxy, fragmentKey, { + enumerable: false, + value: object + }); + Object.defineProperty(proxy, didWarnKey, { + writable: true, + enumerable: false, + value: false + }); + for (var key in object) { + proxyPropertyAccessWithWarning(proxy, key); + } + Object.preventExtensions(proxy); + return proxy; + } + } + return object; + }, + // Extract the original keyed object from the fragment opaque type. Warn if + // a plain object is passed here. + extract: function(fragment) { + if ("production" !== "development") { + if (canWarnForReactFragment) { + if (!fragment[fragmentKey]) { + ("production" !== "development" ? warning( + didWarnForFragment(fragment), + 'Any use of a keyed object should be wrapped in ' + + 'React.addons.createFragment(object) before being passed as a ' + + 'child.' + ) : null); + return fragment; + } + return fragment[fragmentKey]; + } + } + return fragment; + }, + // Check if this is a fragment and if so, extract the keyed object. If it + // is a fragment-like object, warn that it should be wrapped. Ignore if we + // can't determine what kind of object this is. + extractIfFragment: function(fragment) { + if ("production" !== "development") { + if (canWarnForReactFragment) { + // If it is the opaque type, return the keyed object. + if (fragment[fragmentKey]) { + return fragment[fragmentKey]; + } + // Otherwise, check each property if it has an element, if it does + // it is probably meant as a fragment, so we can warn early. Defer, + // the warning to extract. + for (var key in fragment) { + if (fragment.hasOwnProperty(key) && + ReactElement.isValidElement(fragment[key])) { + // This looks like a fragment object, we should provide an + // early warning. + return ReactFragment.extract(fragment); + } + } + } + } + return fragment; + } +}; + +module.exports = ReactFragment; + +},{"154":154,"57":57}],64:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactInjection + */ + +'use strict'; + +var DOMProperty = _dereq_(10); +var EventPluginHub = _dereq_(17); +var ReactComponentEnvironment = _dereq_(36); +var ReactClass = _dereq_(33); +var ReactEmptyComponent = _dereq_(59); +var ReactBrowserEventEmitter = _dereq_(30); +var ReactNativeComponent = _dereq_(73); +var ReactDOMComponent = _dereq_(42); +var ReactPerf = _dereq_(75); +var ReactRootIndex = _dereq_(83); +var ReactUpdates = _dereq_(87); + +var ReactInjection = { + Component: ReactComponentEnvironment.injection, + Class: ReactClass.injection, + DOMComponent: ReactDOMComponent.injection, + DOMProperty: DOMProperty.injection, + EmptyComponent: ReactEmptyComponent.injection, + EventPluginHub: EventPluginHub.injection, + EventEmitter: ReactBrowserEventEmitter.injection, + NativeComponent: ReactNativeComponent.injection, + Perf: ReactPerf.injection, + RootIndex: ReactRootIndex.injection, + Updates: ReactUpdates.injection +}; + +module.exports = ReactInjection; + +},{"10":10,"17":17,"30":30,"33":33,"36":36,"42":42,"59":59,"73":73,"75":75,"83":83,"87":87}],65:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactInputSelection + */ + +'use strict'; + +var ReactDOMSelection = _dereq_(50); + +var containsNode = _dereq_(109); +var focusNode = _dereq_(119); +var getActiveElement = _dereq_(121); + +function isInDocument(node) { + return containsNode(document.documentElement, node); +} + +/** + * @ReactInputSelection: React input selection module. Based on Selection.js, + * but modified to be suitable for react and has a couple of bug fixes (doesn't + * assume buttons have range selections allowed). + * Input selection module for React. + */ +var ReactInputSelection = { + + hasSelectionCapabilities: function(elem) { + return elem && ( + ((elem.nodeName === 'INPUT' && elem.type === 'text') || + elem.nodeName === 'TEXTAREA' || elem.contentEditable === 'true') + ); + }, + + getSelectionInformation: function() { + var focusedElem = getActiveElement(); + return { + focusedElem: focusedElem, + selectionRange: + ReactInputSelection.hasSelectionCapabilities(focusedElem) ? + ReactInputSelection.getSelection(focusedElem) : + null + }; + }, + + /** + * @restoreSelection: If any selection information was potentially lost, + * restore it. This is useful when performing operations that could remove dom + * nodes and place them back in, resulting in focus being lost. + */ + restoreSelection: function(priorSelectionInformation) { + var curFocusedElem = getActiveElement(); + var priorFocusedElem = priorSelectionInformation.focusedElem; + var priorSelectionRange = priorSelectionInformation.selectionRange; + if (curFocusedElem !== priorFocusedElem && + isInDocument(priorFocusedElem)) { + if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) { + ReactInputSelection.setSelection( + priorFocusedElem, + priorSelectionRange + ); + } + focusNode(priorFocusedElem); + } + }, + + /** + * @getSelection: Gets the selection bounds of a focused textarea, input or + * contentEditable node. + * -@input: Look up selection bounds of this input + * -@return {start: selectionStart, end: selectionEnd} + */ + getSelection: function(input) { + var selection; + + if ('selectionStart' in input) { + // Modern browser with input or textarea. + selection = { + start: input.selectionStart, + end: input.selectionEnd + }; + } else if (document.selection && input.nodeName === 'INPUT') { + // IE8 input. + var range = document.selection.createRange(); + // There can only be one selection per document in IE, so it must + // be in our element. + if (range.parentElement() === input) { + selection = { + start: -range.moveStart('character', -input.value.length), + end: -range.moveEnd('character', -input.value.length) + }; + } + } else { + // Content editable or old IE textarea. + selection = ReactDOMSelection.getOffsets(input); + } + + return selection || {start: 0, end: 0}; + }, + + /** + * @setSelection: Sets the selection bounds of a textarea or input and focuses + * the input. + * -@input Set selection bounds of this input or textarea + * -@offsets Object of same form that is returned from get* + */ + setSelection: function(input, offsets) { + var start = offsets.start; + var end = offsets.end; + if (typeof end === 'undefined') { + end = start; + } + + if ('selectionStart' in input) { + input.selectionStart = start; + input.selectionEnd = Math.min(end, input.value.length); + } else if (document.selection && input.nodeName === 'INPUT') { + var range = input.createTextRange(); + range.collapse(true); + range.moveStart('character', start); + range.moveEnd('character', end - start); + range.select(); + } else { + ReactDOMSelection.setOffsets(input, offsets); + } + } +}; + +module.exports = ReactInputSelection; + +},{"109":109,"119":119,"121":121,"50":50}],66:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactInstanceHandles + * @typechecks static-only + */ + +'use strict'; + +var ReactRootIndex = _dereq_(83); + +var invariant = _dereq_(135); + +var SEPARATOR = '.'; +var SEPARATOR_LENGTH = SEPARATOR.length; + +/** + * Maximum depth of traversals before we consider the possibility of a bad ID. + */ +var MAX_TREE_DEPTH = 100; + +/** + * Creates a DOM ID prefix to use when mounting React components. + * + * @param {number} index A unique integer + * @return {string} React root ID. + * @internal + */ +function getReactRootIDString(index) { + return SEPARATOR + index.toString(36); +} + +/** + * Checks if a character in the supplied ID is a separator or the end. + * + * @param {string} id A React DOM ID. + * @param {number} index Index of the character to check. + * @return {boolean} True if the character is a separator or end of the ID. + * @private + */ +function isBoundary(id, index) { + return id.charAt(index) === SEPARATOR || index === id.length; +} + +/** + * Checks if the supplied string is a valid React DOM ID. + * + * @param {string} id A React DOM ID, maybe. + * @return {boolean} True if the string is a valid React DOM ID. + * @private + */ +function isValidID(id) { + return id === '' || ( + id.charAt(0) === SEPARATOR && id.charAt(id.length - 1) !== SEPARATOR + ); +} + +/** + * Checks if the first ID is an ancestor of or equal to the second ID. + * + * @param {string} ancestorID + * @param {string} descendantID + * @return {boolean} True if `ancestorID` is an ancestor of `descendantID`. + * @internal + */ +function isAncestorIDOf(ancestorID, descendantID) { + return ( + descendantID.indexOf(ancestorID) === 0 && + isBoundary(descendantID, ancestorID.length) + ); +} + +/** + * Gets the parent ID of the supplied React DOM ID, `id`. + * + * @param {string} id ID of a component. + * @return {string} ID of the parent, or an empty string. + * @private + */ +function getParentID(id) { + return id ? id.substr(0, id.lastIndexOf(SEPARATOR)) : ''; +} + +/** + * Gets the next DOM ID on the tree path from the supplied `ancestorID` to the + * supplied `destinationID`. If they are equal, the ID is returned. + * + * @param {string} ancestorID ID of an ancestor node of `destinationID`. + * @param {string} destinationID ID of the destination node. + * @return {string} Next ID on the path from `ancestorID` to `destinationID`. + * @private + */ +function getNextDescendantID(ancestorID, destinationID) { + ("production" !== "development" ? invariant( + isValidID(ancestorID) && isValidID(destinationID), + 'getNextDescendantID(%s, %s): Received an invalid React DOM ID.', + ancestorID, + destinationID + ) : invariant(isValidID(ancestorID) && isValidID(destinationID))); + ("production" !== "development" ? invariant( + isAncestorIDOf(ancestorID, destinationID), + 'getNextDescendantID(...): React has made an invalid assumption about ' + + 'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.', + ancestorID, + destinationID + ) : invariant(isAncestorIDOf(ancestorID, destinationID))); + if (ancestorID === destinationID) { + return ancestorID; + } + // Skip over the ancestor and the immediate separator. Traverse until we hit + // another separator or we reach the end of `destinationID`. + var start = ancestorID.length + SEPARATOR_LENGTH; + var i; + for (i = start; i < destinationID.length; i++) { + if (isBoundary(destinationID, i)) { + break; + } + } + return destinationID.substr(0, i); +} + +/** + * Gets the nearest common ancestor ID of two IDs. + * + * Using this ID scheme, the nearest common ancestor ID is the longest common + * prefix of the two IDs that immediately preceded a "marker" in both strings. + * + * @param {string} oneID + * @param {string} twoID + * @return {string} Nearest common ancestor ID, or the empty string if none. + * @private + */ +function getFirstCommonAncestorID(oneID, twoID) { + var minLength = Math.min(oneID.length, twoID.length); + if (minLength === 0) { + return ''; + } + var lastCommonMarkerIndex = 0; + // Use `<=` to traverse until the "EOL" of the shorter string. + for (var i = 0; i <= minLength; i++) { + if (isBoundary(oneID, i) && isBoundary(twoID, i)) { + lastCommonMarkerIndex = i; + } else if (oneID.charAt(i) !== twoID.charAt(i)) { + break; + } + } + var longestCommonID = oneID.substr(0, lastCommonMarkerIndex); + ("production" !== "development" ? invariant( + isValidID(longestCommonID), + 'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s', + oneID, + twoID, + longestCommonID + ) : invariant(isValidID(longestCommonID))); + return longestCommonID; +} + +/** + * Traverses the parent path between two IDs (either up or down). The IDs must + * not be the same, and there must exist a parent path between them. If the + * callback returns `false`, traversal is stopped. + * + * @param {?string} start ID at which to start traversal. + * @param {?string} stop ID at which to end traversal. + * @param {function} cb Callback to invoke each ID with. + * @param {?boolean} skipFirst Whether or not to skip the first node. + * @param {?boolean} skipLast Whether or not to skip the last node. + * @private + */ +function traverseParentPath(start, stop, cb, arg, skipFirst, skipLast) { + start = start || ''; + stop = stop || ''; + ("production" !== "development" ? invariant( + start !== stop, + 'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.', + start + ) : invariant(start !== stop)); + var traverseUp = isAncestorIDOf(stop, start); + ("production" !== "development" ? invariant( + traverseUp || isAncestorIDOf(start, stop), + 'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do ' + + 'not have a parent path.', + start, + stop + ) : invariant(traverseUp || isAncestorIDOf(start, stop))); + // Traverse from `start` to `stop` one depth at a time. + var depth = 0; + var traverse = traverseUp ? getParentID : getNextDescendantID; + for (var id = start; /* until break */; id = traverse(id, stop)) { + var ret; + if ((!skipFirst || id !== start) && (!skipLast || id !== stop)) { + ret = cb(id, traverseUp, arg); + } + if (ret === false || id === stop) { + // Only break //after// visiting `stop`. + break; + } + ("production" !== "development" ? invariant( + depth++ < MAX_TREE_DEPTH, + 'traverseParentPath(%s, %s, ...): Detected an infinite loop while ' + + 'traversing the React DOM ID tree. This may be due to malformed IDs: %s', + start, stop + ) : invariant(depth++ < MAX_TREE_DEPTH)); + } +} + +/** + * Manages the IDs assigned to DOM representations of React components. This + * uses a specific scheme in order to traverse the DOM efficiently (e.g. in + * order to simulate events). + * + * @internal + */ +var ReactInstanceHandles = { + + /** + * Constructs a React root ID + * @return {string} A React root ID. + */ + createReactRootID: function() { + return getReactRootIDString(ReactRootIndex.createReactRootIndex()); + }, + + /** + * Constructs a React ID by joining a root ID with a name. + * + * @param {string} rootID Root ID of a parent component. + * @param {string} name A component's name (as flattened children). + * @return {string} A React ID. + * @internal + */ + createReactID: function(rootID, name) { + return rootID + name; + }, + + /** + * Gets the DOM ID of the React component that is the root of the tree that + * contains the React component with the supplied DOM ID. + * + * @param {string} id DOM ID of a React component. + * @return {?string} DOM ID of the React component that is the root. + * @internal + */ + getReactRootIDFromNodeID: function(id) { + if (id && id.charAt(0) === SEPARATOR && id.length > 1) { + var index = id.indexOf(SEPARATOR, 1); + return index > -1 ? id.substr(0, index) : id; + } + return null; + }, + + /** + * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that + * should would receive a `mouseEnter` or `mouseLeave` event. + * + * NOTE: Does not invoke the callback on the nearest common ancestor because + * nothing "entered" or "left" that element. + * + * @param {string} leaveID ID being left. + * @param {string} enterID ID being entered. + * @param {function} cb Callback to invoke on each entered/left ID. + * @param {*} upArg Argument to invoke the callback with on left IDs. + * @param {*} downArg Argument to invoke the callback with on entered IDs. + * @internal + */ + traverseEnterLeave: function(leaveID, enterID, cb, upArg, downArg) { + var ancestorID = getFirstCommonAncestorID(leaveID, enterID); + if (ancestorID !== leaveID) { + traverseParentPath(leaveID, ancestorID, cb, upArg, false, true); + } + if (ancestorID !== enterID) { + traverseParentPath(ancestorID, enterID, cb, downArg, true, false); + } + }, + + /** + * Simulates the traversal of a two-phase, capture/bubble event dispatch. + * + * NOTE: This traversal happens on IDs without touching the DOM. + * + * @param {string} targetID ID of the target node. + * @param {function} cb Callback to invoke. + * @param {*} arg Argument to invoke the callback with. + * @internal + */ + traverseTwoPhase: function(targetID, cb, arg) { + if (targetID) { + traverseParentPath('', targetID, cb, arg, true, false); + traverseParentPath(targetID, '', cb, arg, false, true); + } + }, + + /** + * Traverse a node ID, calling the supplied `cb` for each ancestor ID. For + * example, passing `.0.$row-0.1` would result in `cb` getting called + * with `.0`, `.0.$row-0`, and `.0.$row-0.1`. + * + * NOTE: This traversal happens on IDs without touching the DOM. + * + * @param {string} targetID ID of the target node. + * @param {function} cb Callback to invoke. + * @param {*} arg Argument to invoke the callback with. + * @internal + */ + traverseAncestors: function(targetID, cb, arg) { + traverseParentPath('', targetID, cb, arg, true, false); + }, + + /** + * Exposed for unit testing. + * @private + */ + _getFirstCommonAncestorID: getFirstCommonAncestorID, + + /** + * Exposed for unit testing. + * @private + */ + _getNextDescendantID: getNextDescendantID, + + isAncestorIDOf: isAncestorIDOf, + + SEPARATOR: SEPARATOR + +}; + +module.exports = ReactInstanceHandles; + +},{"135":135,"83":83}],67:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactInstanceMap + */ + +'use strict'; + +/** + * `ReactInstanceMap` maintains a mapping from a public facing stateful + * instance (key) and the internal representation (value). This allows public + * methods to accept the user facing instance as an argument and map them back + * to internal methods. + */ + +// TODO: Replace this with ES6: var ReactInstanceMap = new Map(); +var ReactInstanceMap = { + + /** + * This API should be called `delete` but we'd have to make sure to always + * transform these to strings for IE support. When this transform is fully + * supported we can rename it. + */ + remove: function(key) { + key._reactInternalInstance = undefined; + }, + + get: function(key) { + return key._reactInternalInstance; + }, + + has: function(key) { + return key._reactInternalInstance !== undefined; + }, + + set: function(key, value) { + key._reactInternalInstance = value; + } + +}; + +module.exports = ReactInstanceMap; + +},{}],68:[function(_dereq_,module,exports){ +/** + * Copyright 2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactLifeCycle + */ + +'use strict'; + +/** + * This module manages the bookkeeping when a component is in the process + * of being mounted or being unmounted. This is used as a way to enforce + * invariants (or warnings) when it is not recommended to call + * setState/forceUpdate. + * + * currentlyMountingInstance: During the construction phase, it is not possible + * to trigger an update since the instance is not fully mounted yet. However, we + * currently allow this as a convenience for mutating the initial state. + * + * currentlyUnmountingInstance: During the unmounting phase, the instance is + * still mounted and can therefore schedule an update. However, this is not + * recommended and probably an error since it's about to be unmounted. + * Therefore we still want to trigger in an error for that case. + */ + +var ReactLifeCycle = { + currentlyMountingInstance: null, + currentlyUnmountingInstance: null +}; + +module.exports = ReactLifeCycle; + +},{}],69:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactMarkupChecksum + */ + +'use strict'; + +var adler32 = _dereq_(106); + +var ReactMarkupChecksum = { + CHECKSUM_ATTR_NAME: 'data-react-checksum', + + /** + * @param {string} markup Markup string + * @return {string} Markup string with checksum attribute attached + */ + addChecksumToMarkup: function(markup) { + var checksum = adler32(markup); + return markup.replace( + '>', + ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '="' + checksum + '">' + ); + }, + + /** + * @param {string} markup to use + * @param {DOMElement} element root React element + * @returns {boolean} whether or not the markup is the same + */ + canReuseMarkup: function(markup, element) { + var existingChecksum = element.getAttribute( + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + ); + existingChecksum = existingChecksum && parseInt(existingChecksum, 10); + var markupChecksum = adler32(markup); + return markupChecksum === existingChecksum; + } +}; + +module.exports = ReactMarkupChecksum; + +},{"106":106}],70:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactMount + */ + +'use strict'; + +var DOMProperty = _dereq_(10); +var ReactBrowserEventEmitter = _dereq_(30); +var ReactCurrentOwner = _dereq_(39); +var ReactElement = _dereq_(57); +var ReactElementValidator = _dereq_(58); +var ReactEmptyComponent = _dereq_(59); +var ReactInstanceHandles = _dereq_(66); +var ReactInstanceMap = _dereq_(67); +var ReactMarkupChecksum = _dereq_(69); +var ReactPerf = _dereq_(75); +var ReactReconciler = _dereq_(81); +var ReactUpdateQueue = _dereq_(86); +var ReactUpdates = _dereq_(87); + +var emptyObject = _dereq_(115); +var containsNode = _dereq_(109); +var getReactRootElementInContainer = _dereq_(129); +var instantiateReactComponent = _dereq_(134); +var invariant = _dereq_(135); +var setInnerHTML = _dereq_(148); +var shouldUpdateReactComponent = _dereq_(151); +var warning = _dereq_(154); + +var SEPARATOR = ReactInstanceHandles.SEPARATOR; + +var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; +var nodeCache = {}; + +var ELEMENT_NODE_TYPE = 1; +var DOC_NODE_TYPE = 9; + +/** Mapping from reactRootID to React component instance. */ +var instancesByReactRootID = {}; + +/** Mapping from reactRootID to `container` nodes. */ +var containersByReactRootID = {}; + +if ("production" !== "development") { + /** __DEV__-only mapping from reactRootID to root elements. */ + var rootElementsByReactRootID = {}; +} + +// Used to store breadth-first search state in findComponentRoot. +var findComponentRootReusableArray = []; + +/** + * Finds the index of the first character + * that's not common between the two given strings. + * + * @return {number} the index of the character where the strings diverge + */ +function firstDifferenceIndex(string1, string2) { + var minLen = Math.min(string1.length, string2.length); + for (var i = 0; i < minLen; i++) { + if (string1.charAt(i) !== string2.charAt(i)) { + return i; + } + } + return string1.length === string2.length ? -1 : minLen; +} + +/** + * @param {DOMElement} container DOM element that may contain a React component. + * @return {?string} A "reactRoot" ID, if a React component is rendered. + */ +function getReactRootID(container) { + var rootElement = getReactRootElementInContainer(container); + return rootElement && ReactMount.getID(rootElement); +} + +/** + * Accessing node[ATTR_NAME] or calling getAttribute(ATTR_NAME) on a form + * element can return its control whose name or ID equals ATTR_NAME. All + * DOM nodes support `getAttributeNode` but this can also get called on + * other objects so just return '' if we're given something other than a + * DOM node (such as window). + * + * @param {?DOMElement|DOMWindow|DOMDocument|DOMTextNode} node DOM node. + * @return {string} ID of the supplied `domNode`. + */ +function getID(node) { + var id = internalGetID(node); + if (id) { + if (nodeCache.hasOwnProperty(id)) { + var cached = nodeCache[id]; + if (cached !== node) { + ("production" !== "development" ? invariant( + !isValid(cached, id), + 'ReactMount: Two valid but unequal nodes with the same `%s`: %s', + ATTR_NAME, id + ) : invariant(!isValid(cached, id))); + + nodeCache[id] = node; + } + } else { + nodeCache[id] = node; + } + } + + return id; +} + +function internalGetID(node) { + // If node is something like a window, document, or text node, none of + // which support attributes or a .getAttribute method, gracefully return + // the empty string, as if the attribute were missing. + return node && node.getAttribute && node.getAttribute(ATTR_NAME) || ''; +} + +/** + * Sets the React-specific ID of the given node. + * + * @param {DOMElement} node The DOM node whose ID will be set. + * @param {string} id The value of the ID attribute. + */ +function setID(node, id) { + var oldID = internalGetID(node); + if (oldID !== id) { + delete nodeCache[oldID]; + } + node.setAttribute(ATTR_NAME, id); + nodeCache[id] = node; +} + +/** + * Finds the node with the supplied React-generated DOM ID. + * + * @param {string} id A React-generated DOM ID. + * @return {DOMElement} DOM node with the suppled `id`. + * @internal + */ +function getNode(id) { + if (!nodeCache.hasOwnProperty(id) || !isValid(nodeCache[id], id)) { + nodeCache[id] = ReactMount.findReactNodeByID(id); + } + return nodeCache[id]; +} + +/** + * Finds the node with the supplied public React instance. + * + * @param {*} instance A public React instance. + * @return {?DOMElement} DOM node with the suppled `id`. + * @internal + */ +function getNodeFromInstance(instance) { + var id = ReactInstanceMap.get(instance)._rootNodeID; + if (ReactEmptyComponent.isNullComponentID(id)) { + return null; + } + if (!nodeCache.hasOwnProperty(id) || !isValid(nodeCache[id], id)) { + nodeCache[id] = ReactMount.findReactNodeByID(id); + } + return nodeCache[id]; +} + +/** + * A node is "valid" if it is contained by a currently mounted container. + * + * This means that the node does not have to be contained by a document in + * order to be considered valid. + * + * @param {?DOMElement} node The candidate DOM node. + * @param {string} id The expected ID of the node. + * @return {boolean} Whether the node is contained by a mounted container. + */ +function isValid(node, id) { + if (node) { + ("production" !== "development" ? invariant( + internalGetID(node) === id, + 'ReactMount: Unexpected modification of `%s`', + ATTR_NAME + ) : invariant(internalGetID(node) === id)); + + var container = ReactMount.findReactContainerForID(id); + if (container && containsNode(container, node)) { + return true; + } + } + + return false; +} + +/** + * Causes the cache to forget about one React-specific ID. + * + * @param {string} id The ID to forget. + */ +function purgeID(id) { + delete nodeCache[id]; +} + +var deepestNodeSoFar = null; +function findDeepestCachedAncestorImpl(ancestorID) { + var ancestor = nodeCache[ancestorID]; + if (ancestor && isValid(ancestor, ancestorID)) { + deepestNodeSoFar = ancestor; + } else { + // This node isn't populated in the cache, so presumably none of its + // descendants are. Break out of the loop. + return false; + } +} + +/** + * Return the deepest cached node whose ID is a prefix of `targetID`. + */ +function findDeepestCachedAncestor(targetID) { + deepestNodeSoFar = null; + ReactInstanceHandles.traverseAncestors( + targetID, + findDeepestCachedAncestorImpl + ); + + var foundNode = deepestNodeSoFar; + deepestNodeSoFar = null; + return foundNode; +} + +/** + * Mounts this component and inserts it into the DOM. + * + * @param {ReactComponent} componentInstance The instance to mount. + * @param {string} rootID DOM ID of the root node. + * @param {DOMElement} container DOM element to mount into. + * @param {ReactReconcileTransaction} transaction + * @param {boolean} shouldReuseMarkup If true, do not insert markup + */ +function mountComponentIntoNode( + componentInstance, + rootID, + container, + transaction, + shouldReuseMarkup) { + var markup = ReactReconciler.mountComponent( + componentInstance, rootID, transaction, emptyObject + ); + componentInstance._isTopLevel = true; + ReactMount._mountImageIntoNode(markup, container, shouldReuseMarkup); +} + +/** + * Batched mount. + * + * @param {ReactComponent} componentInstance The instance to mount. + * @param {string} rootID DOM ID of the root node. + * @param {DOMElement} container DOM element to mount into. + * @param {boolean} shouldReuseMarkup If true, do not insert markup + */ +function batchedMountComponentIntoNode( + componentInstance, + rootID, + container, + shouldReuseMarkup) { + var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(); + transaction.perform( + mountComponentIntoNode, + null, + componentInstance, + rootID, + container, + transaction, + shouldReuseMarkup + ); + ReactUpdates.ReactReconcileTransaction.release(transaction); +} + +/** + * Mounting is the process of initializing a React component by creating its + * representative DOM elements and inserting them into a supplied `container`. + * Any prior content inside `container` is destroyed in the process. + * + * ReactMount.render( + * component, + * document.getElementById('container') + * ); + * + * <div id="container"> <-- Supplied `container`. + * <div data-reactid=".3"> <-- Rendered reactRoot of React + * // ... component. + * </div> + * </div> + * + * Inside of `container`, the first element rendered is the "reactRoot". + */ +var ReactMount = { + /** Exposed for debugging purposes **/ + _instancesByReactRootID: instancesByReactRootID, + + /** + * This is a hook provided to support rendering React components while + * ensuring that the apparent scroll position of its `container` does not + * change. + * + * @param {DOMElement} container The `container` being rendered into. + * @param {function} renderCallback This must be called once to do the render. + */ + scrollMonitor: function(container, renderCallback) { + renderCallback(); + }, + + /** + * Take a component that's already mounted into the DOM and replace its props + * @param {ReactComponent} prevComponent component instance already in the DOM + * @param {ReactElement} nextElement component instance to render + * @param {DOMElement} container container to render into + * @param {?function} callback function triggered on completion + */ + _updateRootComponent: function( + prevComponent, + nextElement, + container, + callback) { + if ("production" !== "development") { + ReactElementValidator.checkAndWarnForMutatedProps(nextElement); + } + + ReactMount.scrollMonitor(container, function() { + ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement); + if (callback) { + ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback); + } + }); + + if ("production" !== "development") { + // Record the root element in case it later gets transplanted. + rootElementsByReactRootID[getReactRootID(container)] = + getReactRootElementInContainer(container); + } + + return prevComponent; + }, + + /** + * Register a component into the instance map and starts scroll value + * monitoring + * @param {ReactComponent} nextComponent component instance to render + * @param {DOMElement} container container to render into + * @return {string} reactRoot ID prefix + */ + _registerComponent: function(nextComponent, container) { + ("production" !== "development" ? invariant( + container && ( + (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE) + ), + '_registerComponent(...): Target container is not a DOM element.' + ) : invariant(container && ( + (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE) + ))); + + ReactBrowserEventEmitter.ensureScrollValueMonitoring(); + + var reactRootID = ReactMount.registerContainer(container); + instancesByReactRootID[reactRootID] = nextComponent; + return reactRootID; + }, + + /** + * Render a new component into the DOM. + * @param {ReactElement} nextElement element to render + * @param {DOMElement} container container to render into + * @param {boolean} shouldReuseMarkup if we should skip the markup insertion + * @return {ReactComponent} nextComponent + */ + _renderNewRootComponent: function( + nextElement, + container, + shouldReuseMarkup + ) { + // Various parts of our code (such as ReactCompositeComponent's + // _renderValidatedComponent) assume that calls to render aren't nested; + // verify that that's the case. + ("production" !== "development" ? warning( + ReactCurrentOwner.current == null, + '_renderNewRootComponent(): Render methods should be a pure function ' + + 'of props and state; triggering nested component updates from ' + + 'render is not allowed. If necessary, trigger nested updates in ' + + 'componentDidUpdate.' + ) : null); + + var componentInstance = instantiateReactComponent(nextElement, null); + var reactRootID = ReactMount._registerComponent( + componentInstance, + container + ); + + // The initial render is synchronous but any updates that happen during + // rendering, in componentWillMount or componentDidMount, will be batched + // according to the current batching strategy. + + ReactUpdates.batchedUpdates( + batchedMountComponentIntoNode, + componentInstance, + reactRootID, + container, + shouldReuseMarkup + ); + + if ("production" !== "development") { + // Record the root element in case it later gets transplanted. + rootElementsByReactRootID[reactRootID] = + getReactRootElementInContainer(container); + } + + return componentInstance; + }, + + /** + * Renders a React component into the DOM in the supplied `container`. + * + * If the React component was previously rendered into `container`, this will + * perform an update on it and only mutate the DOM as necessary to reflect the + * latest React component. + * + * @param {ReactElement} nextElement Component element to render. + * @param {DOMElement} container DOM element to render into. + * @param {?function} callback function triggered on completion + * @return {ReactComponent} Component instance rendered in `container`. + */ + render: function(nextElement, container, callback) { + ("production" !== "development" ? invariant( + ReactElement.isValidElement(nextElement), + 'React.render(): Invalid component element.%s', + ( + typeof nextElement === 'string' ? + ' Instead of passing an element string, make sure to instantiate ' + + 'it by passing it to React.createElement.' : + typeof nextElement === 'function' ? + ' Instead of passing a component class, make sure to instantiate ' + + 'it by passing it to React.createElement.' : + // Check if it quacks like an element + nextElement != null && nextElement.props !== undefined ? + ' This may be caused by unintentionally loading two independent ' + + 'copies of React.' : + '' + ) + ) : invariant(ReactElement.isValidElement(nextElement))); + + var prevComponent = instancesByReactRootID[getReactRootID(container)]; + + if (prevComponent) { + var prevElement = prevComponent._currentElement; + if (shouldUpdateReactComponent(prevElement, nextElement)) { + return ReactMount._updateRootComponent( + prevComponent, + nextElement, + container, + callback + ).getPublicInstance(); + } else { + ReactMount.unmountComponentAtNode(container); + } + } + + var reactRootElement = getReactRootElementInContainer(container); + var containerHasReactMarkup = + reactRootElement && ReactMount.isRenderedByReact(reactRootElement); + + if ("production" !== "development") { + if (!containerHasReactMarkup || reactRootElement.nextSibling) { + var rootElementSibling = reactRootElement; + while (rootElementSibling) { + if (ReactMount.isRenderedByReact(rootElementSibling)) { + ("production" !== "development" ? warning( + false, + 'render(): Target node has markup rendered by React, but there ' + + 'are unrelated nodes as well. This is most commonly caused by ' + + 'white-space inserted around server-rendered markup.' + ) : null); + break; + } + + rootElementSibling = rootElementSibling.nextSibling; + } + } + } + + var shouldReuseMarkup = containerHasReactMarkup && !prevComponent; + + var component = ReactMount._renderNewRootComponent( + nextElement, + container, + shouldReuseMarkup + ).getPublicInstance(); + if (callback) { + callback.call(component); + } + return component; + }, + + /** + * Constructs a component instance of `constructor` with `initialProps` and + * renders it into the supplied `container`. + * + * @param {function} constructor React component constructor. + * @param {?object} props Initial props of the component instance. + * @param {DOMElement} container DOM element to render into. + * @return {ReactComponent} Component instance rendered in `container`. + */ + constructAndRenderComponent: function(constructor, props, container) { + var element = ReactElement.createElement(constructor, props); + return ReactMount.render(element, container); + }, + + /** + * Constructs a component instance of `constructor` with `initialProps` and + * renders it into a container node identified by supplied `id`. + * + * @param {function} componentConstructor React component constructor + * @param {?object} props Initial props of the component instance. + * @param {string} id ID of the DOM element to render into. + * @return {ReactComponent} Component instance rendered in the container node. + */ + constructAndRenderComponentByID: function(constructor, props, id) { + var domNode = document.getElementById(id); + ("production" !== "development" ? invariant( + domNode, + 'Tried to get element with id of "%s" but it is not present on the page.', + id + ) : invariant(domNode)); + return ReactMount.constructAndRenderComponent(constructor, props, domNode); + }, + + /** + * Registers a container node into which React components will be rendered. + * This also creates the "reactRoot" ID that will be assigned to the element + * rendered within. + * + * @param {DOMElement} container DOM element to register as a container. + * @return {string} The "reactRoot" ID of elements rendered within. + */ + registerContainer: function(container) { + var reactRootID = getReactRootID(container); + if (reactRootID) { + // If one exists, make sure it is a valid "reactRoot" ID. + reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID); + } + if (!reactRootID) { + // No valid "reactRoot" ID found, create one. + reactRootID = ReactInstanceHandles.createReactRootID(); + } + containersByReactRootID[reactRootID] = container; + return reactRootID; + }, + + /** + * Unmounts and destroys the React component rendered in the `container`. + * + * @param {DOMElement} container DOM element containing a React component. + * @return {boolean} True if a component was found in and unmounted from + * `container` + */ + unmountComponentAtNode: function(container) { + // Various parts of our code (such as ReactCompositeComponent's + // _renderValidatedComponent) assume that calls to render aren't nested; + // verify that that's the case. (Strictly speaking, unmounting won't cause a + // render but we still don't expect to be in a render call here.) + ("production" !== "development" ? warning( + ReactCurrentOwner.current == null, + 'unmountComponentAtNode(): Render methods should be a pure function of ' + + 'props and state; triggering nested component updates from render is ' + + 'not allowed. If necessary, trigger nested updates in ' + + 'componentDidUpdate.' + ) : null); + + ("production" !== "development" ? invariant( + container && ( + (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE) + ), + 'unmountComponentAtNode(...): Target container is not a DOM element.' + ) : invariant(container && ( + (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE) + ))); + + var reactRootID = getReactRootID(container); + var component = instancesByReactRootID[reactRootID]; + if (!component) { + return false; + } + ReactMount.unmountComponentFromNode(component, container); + delete instancesByReactRootID[reactRootID]; + delete containersByReactRootID[reactRootID]; + if ("production" !== "development") { + delete rootElementsByReactRootID[reactRootID]; + } + return true; + }, + + /** + * Unmounts a component and removes it from the DOM. + * + * @param {ReactComponent} instance React component instance. + * @param {DOMElement} container DOM element to unmount from. + * @final + * @internal + * @see {ReactMount.unmountComponentAtNode} + */ + unmountComponentFromNode: function(instance, container) { + ReactReconciler.unmountComponent(instance); + + if (container.nodeType === DOC_NODE_TYPE) { + container = container.documentElement; + } + + // http://jsperf.com/emptying-a-node + while (container.lastChild) { + container.removeChild(container.lastChild); + } + }, + + /** + * Finds the container DOM element that contains React component to which the + * supplied DOM `id` belongs. + * + * @param {string} id The ID of an element rendered by a React component. + * @return {?DOMElement} DOM element that contains the `id`. + */ + findReactContainerForID: function(id) { + var reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(id); + var container = containersByReactRootID[reactRootID]; + + if ("production" !== "development") { + var rootElement = rootElementsByReactRootID[reactRootID]; + if (rootElement && rootElement.parentNode !== container) { + ("production" !== "development" ? invariant( + // Call internalGetID here because getID calls isValid which calls + // findReactContainerForID (this function). + internalGetID(rootElement) === reactRootID, + 'ReactMount: Root element ID differed from reactRootID.' + ) : invariant(// Call internalGetID here because getID calls isValid which calls + // findReactContainerForID (this function). + internalGetID(rootElement) === reactRootID)); + + var containerChild = container.firstChild; + if (containerChild && + reactRootID === internalGetID(containerChild)) { + // If the container has a new child with the same ID as the old + // root element, then rootElementsByReactRootID[reactRootID] is + // just stale and needs to be updated. The case that deserves a + // warning is when the container is empty. + rootElementsByReactRootID[reactRootID] = containerChild; + } else { + ("production" !== "development" ? warning( + false, + 'ReactMount: Root element has been removed from its original ' + + 'container. New container:', rootElement.parentNode + ) : null); + } + } + } + + return container; + }, + + /** + * Finds an element rendered by React with the supplied ID. + * + * @param {string} id ID of a DOM node in the React component. + * @return {DOMElement} Root DOM node of the React component. + */ + findReactNodeByID: function(id) { + var reactRoot = ReactMount.findReactContainerForID(id); + return ReactMount.findComponentRoot(reactRoot, id); + }, + + /** + * True if the supplied `node` is rendered by React. + * + * @param {*} node DOM Element to check. + * @return {boolean} True if the DOM Element appears to be rendered by React. + * @internal + */ + isRenderedByReact: function(node) { + if (node.nodeType !== 1) { + // Not a DOMElement, therefore not a React component + return false; + } + var id = ReactMount.getID(node); + return id ? id.charAt(0) === SEPARATOR : false; + }, + + /** + * Traverses up the ancestors of the supplied node to find a node that is a + * DOM representation of a React component. + * + * @param {*} node + * @return {?DOMEventTarget} + * @internal + */ + getFirstReactDOM: function(node) { + var current = node; + while (current && current.parentNode !== current) { + if (ReactMount.isRenderedByReact(current)) { + return current; + } + current = current.parentNode; + } + return null; + }, + + /** + * Finds a node with the supplied `targetID` inside of the supplied + * `ancestorNode`. Exploits the ID naming scheme to perform the search + * quickly. + * + * @param {DOMEventTarget} ancestorNode Search from this root. + * @pararm {string} targetID ID of the DOM representation of the component. + * @return {DOMEventTarget} DOM node with the supplied `targetID`. + * @internal + */ + findComponentRoot: function(ancestorNode, targetID) { + var firstChildren = findComponentRootReusableArray; + var childIndex = 0; + + var deepestAncestor = findDeepestCachedAncestor(targetID) || ancestorNode; + + firstChildren[0] = deepestAncestor.firstChild; + firstChildren.length = 1; + + while (childIndex < firstChildren.length) { + var child = firstChildren[childIndex++]; + var targetChild; + + while (child) { + var childID = ReactMount.getID(child); + if (childID) { + // Even if we find the node we're looking for, we finish looping + // through its siblings to ensure they're cached so that we don't have + // to revisit this node again. Otherwise, we make n^2 calls to getID + // when visiting the many children of a single node in order. + + if (targetID === childID) { + targetChild = child; + } else if (ReactInstanceHandles.isAncestorIDOf(childID, targetID)) { + // If we find a child whose ID is an ancestor of the given ID, + // then we can be sure that we only want to search the subtree + // rooted at this child, so we can throw out the rest of the + // search state. + firstChildren.length = childIndex = 0; + firstChildren.push(child.firstChild); + } + + } else { + // If this child had no ID, then there's a chance that it was + // injected automatically by the browser, as when a `<table>` + // element sprouts an extra `<tbody>` child as a side effect of + // `.innerHTML` parsing. Optimistically continue down this + // branch, but not before examining the other siblings. + firstChildren.push(child.firstChild); + } + + child = child.nextSibling; + } + + if (targetChild) { + // Emptying firstChildren/findComponentRootReusableArray is + // not necessary for correctness, but it helps the GC reclaim + // any nodes that were left at the end of the search. + firstChildren.length = 0; + + return targetChild; + } + } + + firstChildren.length = 0; + + ("production" !== "development" ? invariant( + false, + 'findComponentRoot(..., %s): Unable to find element. This probably ' + + 'means the DOM was unexpectedly mutated (e.g., by the browser), ' + + 'usually due to forgetting a <tbody> when using tables, nesting tags ' + + 'like <form>, <p>, or <a>, or using non-SVG elements in an <svg> ' + + 'parent. ' + + 'Try inspecting the child nodes of the element with React ID `%s`.', + targetID, + ReactMount.getID(ancestorNode) + ) : invariant(false)); + }, + + _mountImageIntoNode: function(markup, container, shouldReuseMarkup) { + ("production" !== "development" ? invariant( + container && ( + (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE) + ), + 'mountComponentIntoNode(...): Target container is not valid.' + ) : invariant(container && ( + (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE) + ))); + + if (shouldReuseMarkup) { + var rootElement = getReactRootElementInContainer(container); + if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) { + return; + } else { + var checksum = rootElement.getAttribute( + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + ); + rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME); + + var rootMarkup = rootElement.outerHTML; + rootElement.setAttribute( + ReactMarkupChecksum.CHECKSUM_ATTR_NAME, + checksum + ); + + var diffIndex = firstDifferenceIndex(markup, rootMarkup); + var difference = ' (client) ' + + markup.substring(diffIndex - 20, diffIndex + 20) + + '\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20); + + ("production" !== "development" ? invariant( + container.nodeType !== DOC_NODE_TYPE, + 'You\'re trying to render a component to the document using ' + + 'server rendering but the checksum was invalid. This usually ' + + 'means you rendered a different component type or props on ' + + 'the client from the one on the server, or your render() ' + + 'methods are impure. React cannot handle this case due to ' + + 'cross-browser quirks by rendering at the document root. You ' + + 'should look for environment dependent code in your components ' + + 'and ensure the props are the same client and server side:\n%s', + difference + ) : invariant(container.nodeType !== DOC_NODE_TYPE)); + + if ("production" !== "development") { + ("production" !== "development" ? warning( + false, + 'React attempted to reuse markup in a container but the ' + + 'checksum was invalid. This generally means that you are ' + + 'using server rendering and the markup generated on the ' + + 'server was not what the client was expecting. React injected ' + + 'new markup to compensate which works but you have lost many ' + + 'of the benefits of server rendering. Instead, figure out ' + + 'why the markup being generated is different on the client ' + + 'or server:\n%s', + difference + ) : null); + } + } + } + + ("production" !== "development" ? invariant( + container.nodeType !== DOC_NODE_TYPE, + 'You\'re trying to render a component to the document but ' + + 'you didn\'t use server rendering. We can\'t do this ' + + 'without using server rendering due to cross-browser quirks. ' + + 'See React.renderToString() for server rendering.' + ) : invariant(container.nodeType !== DOC_NODE_TYPE)); + + setInnerHTML(container, markup); + }, + + /** + * React ID utilities. + */ + + getReactRootID: getReactRootID, + + getID: getID, + + setID: setID, + + getNode: getNode, + + getNodeFromInstance: getNodeFromInstance, + + purgeID: purgeID +}; + +ReactPerf.measureMethods(ReactMount, 'ReactMount', { + _renderNewRootComponent: '_renderNewRootComponent', + _mountImageIntoNode: '_mountImageIntoNode' +}); + +module.exports = ReactMount; + +},{"10":10,"109":109,"115":115,"129":129,"134":134,"135":135,"148":148,"151":151,"154":154,"30":30,"39":39,"57":57,"58":58,"59":59,"66":66,"67":67,"69":69,"75":75,"81":81,"86":86,"87":87}],71:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactMultiChild + * @typechecks static-only + */ + +'use strict'; + +var ReactComponentEnvironment = _dereq_(36); +var ReactMultiChildUpdateTypes = _dereq_(72); + +var ReactReconciler = _dereq_(81); +var ReactChildReconciler = _dereq_(31); + +/** + * Updating children of a component may trigger recursive updates. The depth is + * used to batch recursive updates to render markup more efficiently. + * + * @type {number} + * @private + */ +var updateDepth = 0; + +/** + * Queue of update configuration objects. + * + * Each object has a `type` property that is in `ReactMultiChildUpdateTypes`. + * + * @type {array<object>} + * @private + */ +var updateQueue = []; + +/** + * Queue of markup to be rendered. + * + * @type {array<string>} + * @private + */ +var markupQueue = []; + +/** + * Enqueues markup to be rendered and inserted at a supplied index. + * + * @param {string} parentID ID of the parent component. + * @param {string} markup Markup that renders into an element. + * @param {number} toIndex Destination index. + * @private + */ +function enqueueMarkup(parentID, markup, toIndex) { + // NOTE: Null values reduce hidden classes. + updateQueue.push({ + parentID: parentID, + parentNode: null, + type: ReactMultiChildUpdateTypes.INSERT_MARKUP, + markupIndex: markupQueue.push(markup) - 1, + textContent: null, + fromIndex: null, + toIndex: toIndex + }); +} + +/** + * Enqueues moving an existing element to another index. + * + * @param {string} parentID ID of the parent component. + * @param {number} fromIndex Source index of the existing element. + * @param {number} toIndex Destination index of the element. + * @private + */ +function enqueueMove(parentID, fromIndex, toIndex) { + // NOTE: Null values reduce hidden classes. + updateQueue.push({ + parentID: parentID, + parentNode: null, + type: ReactMultiChildUpdateTypes.MOVE_EXISTING, + markupIndex: null, + textContent: null, + fromIndex: fromIndex, + toIndex: toIndex + }); +} + +/** + * Enqueues removing an element at an index. + * + * @param {string} parentID ID of the parent component. + * @param {number} fromIndex Index of the element to remove. + * @private + */ +function enqueueRemove(parentID, fromIndex) { + // NOTE: Null values reduce hidden classes. + updateQueue.push({ + parentID: parentID, + parentNode: null, + type: ReactMultiChildUpdateTypes.REMOVE_NODE, + markupIndex: null, + textContent: null, + fromIndex: fromIndex, + toIndex: null + }); +} + +/** + * Enqueues setting the text content. + * + * @param {string} parentID ID of the parent component. + * @param {string} textContent Text content to set. + * @private + */ +function enqueueTextContent(parentID, textContent) { + // NOTE: Null values reduce hidden classes. + updateQueue.push({ + parentID: parentID, + parentNode: null, + type: ReactMultiChildUpdateTypes.TEXT_CONTENT, + markupIndex: null, + textContent: textContent, + fromIndex: null, + toIndex: null + }); +} + +/** + * Processes any enqueued updates. + * + * @private + */ +function processQueue() { + if (updateQueue.length) { + ReactComponentEnvironment.processChildrenUpdates( + updateQueue, + markupQueue + ); + clearQueue(); + } +} + +/** + * Clears any enqueued updates. + * + * @private + */ +function clearQueue() { + updateQueue.length = 0; + markupQueue.length = 0; +} + +/** + * ReactMultiChild are capable of reconciling multiple children. + * + * @class ReactMultiChild + * @internal + */ +var ReactMultiChild = { + + /** + * Provides common functionality for components that must reconcile multiple + * children. This is used by `ReactDOMComponent` to mount, update, and + * unmount child components. + * + * @lends {ReactMultiChild.prototype} + */ + Mixin: { + + /** + * Generates a "mount image" for each of the supplied children. In the case + * of `ReactDOMComponent`, a mount image is a string of markup. + * + * @param {?object} nestedChildren Nested child maps. + * @return {array} An array of mounted representations. + * @internal + */ + mountChildren: function(nestedChildren, transaction, context) { + var children = ReactChildReconciler.instantiateChildren( + nestedChildren, transaction, context + ); + this._renderedChildren = children; + var mountImages = []; + var index = 0; + for (var name in children) { + if (children.hasOwnProperty(name)) { + var child = children[name]; + // Inlined for performance, see `ReactInstanceHandles.createReactID`. + var rootID = this._rootNodeID + name; + var mountImage = ReactReconciler.mountComponent( + child, + rootID, + transaction, + context + ); + child._mountIndex = index; + mountImages.push(mountImage); + index++; + } + } + return mountImages; + }, + + /** + * Replaces any rendered children with a text content string. + * + * @param {string} nextContent String of content. + * @internal + */ + updateTextContent: function(nextContent) { + updateDepth++; + var errorThrown = true; + try { + var prevChildren = this._renderedChildren; + // Remove any rendered children. + ReactChildReconciler.unmountChildren(prevChildren); + // TODO: The setTextContent operation should be enough + for (var name in prevChildren) { + if (prevChildren.hasOwnProperty(name)) { + this._unmountChildByName(prevChildren[name], name); + } + } + // Set new text content. + this.setTextContent(nextContent); + errorThrown = false; + } finally { + updateDepth--; + if (!updateDepth) { + if (errorThrown) { + clearQueue(); + } else { + processQueue(); + } + } + } + }, + + /** + * Updates the rendered children with new children. + * + * @param {?object} nextNestedChildren Nested child maps. + * @param {ReactReconcileTransaction} transaction + * @internal + */ + updateChildren: function(nextNestedChildren, transaction, context) { + updateDepth++; + var errorThrown = true; + try { + this._updateChildren(nextNestedChildren, transaction, context); + errorThrown = false; + } finally { + updateDepth--; + if (!updateDepth) { + if (errorThrown) { + clearQueue(); + } else { + processQueue(); + } + } + + } + }, + + /** + * Improve performance by isolating this hot code path from the try/catch + * block in `updateChildren`. + * + * @param {?object} nextNestedChildren Nested child maps. + * @param {ReactReconcileTransaction} transaction + * @final + * @protected + */ + _updateChildren: function(nextNestedChildren, transaction, context) { + var prevChildren = this._renderedChildren; + var nextChildren = ReactChildReconciler.updateChildren( + prevChildren, nextNestedChildren, transaction, context + ); + this._renderedChildren = nextChildren; + if (!nextChildren && !prevChildren) { + return; + } + var name; + // `nextIndex` will increment for each child in `nextChildren`, but + // `lastIndex` will be the last index visited in `prevChildren`. + var lastIndex = 0; + var nextIndex = 0; + for (name in nextChildren) { + if (!nextChildren.hasOwnProperty(name)) { + continue; + } + var prevChild = prevChildren && prevChildren[name]; + var nextChild = nextChildren[name]; + if (prevChild === nextChild) { + this.moveChild(prevChild, nextIndex, lastIndex); + lastIndex = Math.max(prevChild._mountIndex, lastIndex); + prevChild._mountIndex = nextIndex; + } else { + if (prevChild) { + // Update `lastIndex` before `_mountIndex` gets unset by unmounting. + lastIndex = Math.max(prevChild._mountIndex, lastIndex); + this._unmountChildByName(prevChild, name); + } + // The child must be instantiated before it's mounted. + this._mountChildByNameAtIndex( + nextChild, name, nextIndex, transaction, context + ); + } + nextIndex++; + } + // Remove children that are no longer present. + for (name in prevChildren) { + if (prevChildren.hasOwnProperty(name) && + !(nextChildren && nextChildren.hasOwnProperty(name))) { + this._unmountChildByName(prevChildren[name], name); + } + } + }, + + /** + * Unmounts all rendered children. This should be used to clean up children + * when this component is unmounted. + * + * @internal + */ + unmountChildren: function() { + var renderedChildren = this._renderedChildren; + ReactChildReconciler.unmountChildren(renderedChildren); + this._renderedChildren = null; + }, + + /** + * Moves a child component to the supplied index. + * + * @param {ReactComponent} child Component to move. + * @param {number} toIndex Destination index of the element. + * @param {number} lastIndex Last index visited of the siblings of `child`. + * @protected + */ + moveChild: function(child, toIndex, lastIndex) { + // If the index of `child` is less than `lastIndex`, then it needs to + // be moved. Otherwise, we do not need to move it because a child will be + // inserted or moved before `child`. + if (child._mountIndex < lastIndex) { + enqueueMove(this._rootNodeID, child._mountIndex, toIndex); + } + }, + + /** + * Creates a child component. + * + * @param {ReactComponent} child Component to create. + * @param {string} mountImage Markup to insert. + * @protected + */ + createChild: function(child, mountImage) { + enqueueMarkup(this._rootNodeID, mountImage, child._mountIndex); + }, + + /** + * Removes a child component. + * + * @param {ReactComponent} child Child to remove. + * @protected + */ + removeChild: function(child) { + enqueueRemove(this._rootNodeID, child._mountIndex); + }, + + /** + * Sets this text content string. + * + * @param {string} textContent Text content to set. + * @protected + */ + setTextContent: function(textContent) { + enqueueTextContent(this._rootNodeID, textContent); + }, + + /** + * Mounts a child with the supplied name. + * + * NOTE: This is part of `updateChildren` and is here for readability. + * + * @param {ReactComponent} child Component to mount. + * @param {string} name Name of the child. + * @param {number} index Index at which to insert the child. + * @param {ReactReconcileTransaction} transaction + * @private + */ + _mountChildByNameAtIndex: function( + child, + name, + index, + transaction, + context) { + // Inlined for performance, see `ReactInstanceHandles.createReactID`. + var rootID = this._rootNodeID + name; + var mountImage = ReactReconciler.mountComponent( + child, + rootID, + transaction, + context + ); + child._mountIndex = index; + this.createChild(child, mountImage); + }, + + /** + * Unmounts a rendered child by name. + * + * NOTE: This is part of `updateChildren` and is here for readability. + * + * @param {ReactComponent} child Component to unmount. + * @param {string} name Name of the child in `this._renderedChildren`. + * @private + */ + _unmountChildByName: function(child, name) { + this.removeChild(child); + child._mountIndex = null; + } + + } + +}; + +module.exports = ReactMultiChild; + +},{"31":31,"36":36,"72":72,"81":81}],72:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactMultiChildUpdateTypes + */ + +'use strict'; + +var keyMirror = _dereq_(140); + +/** + * When a component's children are updated, a series of update configuration + * objects are created in order to batch and serialize the required changes. + * + * Enumerates all the possible types of update configurations. + * + * @internal + */ +var ReactMultiChildUpdateTypes = keyMirror({ + INSERT_MARKUP: null, + MOVE_EXISTING: null, + REMOVE_NODE: null, + TEXT_CONTENT: null +}); + +module.exports = ReactMultiChildUpdateTypes; + +},{"140":140}],73:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactNativeComponent + */ + +'use strict'; + +var assign = _dereq_(27); +var invariant = _dereq_(135); + +var autoGenerateWrapperClass = null; +var genericComponentClass = null; +// This registry keeps track of wrapper classes around native tags +var tagToComponentClass = {}; +var textComponentClass = null; + +var ReactNativeComponentInjection = { + // This accepts a class that receives the tag string. This is a catch all + // that can render any kind of tag. + injectGenericComponentClass: function(componentClass) { + genericComponentClass = componentClass; + }, + // This accepts a text component class that takes the text string to be + // rendered as props. + injectTextComponentClass: function(componentClass) { + textComponentClass = componentClass; + }, + // This accepts a keyed object with classes as values. Each key represents a + // tag. That particular tag will use this class instead of the generic one. + injectComponentClasses: function(componentClasses) { + assign(tagToComponentClass, componentClasses); + }, + // Temporary hack since we expect DOM refs to behave like composites, + // for this release. + injectAutoWrapper: function(wrapperFactory) { + autoGenerateWrapperClass = wrapperFactory; + } +}; + +/** + * Get a composite component wrapper class for a specific tag. + * + * @param {ReactElement} element The tag for which to get the class. + * @return {function} The React class constructor function. + */ +function getComponentClassForElement(element) { + if (typeof element.type === 'function') { + return element.type; + } + var tag = element.type; + var componentClass = tagToComponentClass[tag]; + if (componentClass == null) { + tagToComponentClass[tag] = componentClass = autoGenerateWrapperClass(tag); + } + return componentClass; +} + +/** + * Get a native internal component class for a specific tag. + * + * @param {ReactElement} element The element to create. + * @return {function} The internal class constructor function. + */ +function createInternalComponent(element) { + ("production" !== "development" ? invariant( + genericComponentClass, + 'There is no registered component for the tag %s', + element.type + ) : invariant(genericComponentClass)); + return new genericComponentClass(element.type, element.props); +} + +/** + * @param {ReactText} text + * @return {ReactComponent} + */ +function createInstanceForText(text) { + return new textComponentClass(text); +} + +/** + * @param {ReactComponent} component + * @return {boolean} + */ +function isTextComponent(component) { + return component instanceof textComponentClass; +} + +var ReactNativeComponent = { + getComponentClassForElement: getComponentClassForElement, + createInternalComponent: createInternalComponent, + createInstanceForText: createInstanceForText, + isTextComponent: isTextComponent, + injection: ReactNativeComponentInjection +}; + +module.exports = ReactNativeComponent; + +},{"135":135,"27":27}],74:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactOwner + */ + +'use strict'; + +var invariant = _dereq_(135); + +/** + * ReactOwners are capable of storing references to owned components. + * + * All components are capable of //being// referenced by owner components, but + * only ReactOwner components are capable of //referencing// owned components. + * The named reference is known as a "ref". + * + * Refs are available when mounted and updated during reconciliation. + * + * var MyComponent = React.createClass({ + * render: function() { + * return ( + * <div onClick={this.handleClick}> + * <CustomComponent ref="custom" /> + * </div> + * ); + * }, + * handleClick: function() { + * this.refs.custom.handleClick(); + * }, + * componentDidMount: function() { + * this.refs.custom.initialize(); + * } + * }); + * + * Refs should rarely be used. When refs are used, they should only be done to + * control data that is not handled by React's data flow. + * + * @class ReactOwner + */ +var ReactOwner = { + + /** + * @param {?object} object + * @return {boolean} True if `object` is a valid owner. + * @final + */ + isValidOwner: function(object) { + return !!( + (object && + typeof object.attachRef === 'function' && typeof object.detachRef === 'function') + ); + }, + + /** + * Adds a component by ref to an owner component. + * + * @param {ReactComponent} component Component to reference. + * @param {string} ref Name by which to refer to the component. + * @param {ReactOwner} owner Component on which to record the ref. + * @final + * @internal + */ + addComponentAsRefTo: function(component, ref, owner) { + ("production" !== "development" ? invariant( + ReactOwner.isValidOwner(owner), + 'addComponentAsRefTo(...): Only a ReactOwner can have refs. This ' + + 'usually means that you\'re trying to add a ref to a component that ' + + 'doesn\'t have an owner (that is, was not created inside of another ' + + 'component\'s `render` method). Try rendering this component inside of ' + + 'a new top-level component which will hold the ref.' + ) : invariant(ReactOwner.isValidOwner(owner))); + owner.attachRef(ref, component); + }, + + /** + * Removes a component by ref from an owner component. + * + * @param {ReactComponent} component Component to dereference. + * @param {string} ref Name of the ref to remove. + * @param {ReactOwner} owner Component on which the ref is recorded. + * @final + * @internal + */ + removeComponentAsRefFrom: function(component, ref, owner) { + ("production" !== "development" ? invariant( + ReactOwner.isValidOwner(owner), + 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This ' + + 'usually means that you\'re trying to remove a ref to a component that ' + + 'doesn\'t have an owner (that is, was not created inside of another ' + + 'component\'s `render` method). Try rendering this component inside of ' + + 'a new top-level component which will hold the ref.' + ) : invariant(ReactOwner.isValidOwner(owner))); + // Check that `component` is still the current ref because we do not want to + // detach the ref if another component stole it. + if (owner.getPublicInstance().refs[ref] === component.getPublicInstance()) { + owner.detachRef(ref); + } + } + +}; + +module.exports = ReactOwner; + +},{"135":135}],75:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactPerf + * @typechecks static-only + */ + +'use strict'; + +/** + * ReactPerf is a general AOP system designed to measure performance. This + * module only has the hooks: see ReactDefaultPerf for the analysis tool. + */ +var ReactPerf = { + /** + * Boolean to enable/disable measurement. Set to false by default to prevent + * accidental logging and perf loss. + */ + enableMeasure: false, + + /** + * Holds onto the measure function in use. By default, don't measure + * anything, but we'll override this if we inject a measure function. + */ + storedMeasure: _noMeasure, + + /** + * @param {object} object + * @param {string} objectName + * @param {object<string>} methodNames + */ + measureMethods: function(object, objectName, methodNames) { + if ("production" !== "development") { + for (var key in methodNames) { + if (!methodNames.hasOwnProperty(key)) { + continue; + } + object[key] = ReactPerf.measure( + objectName, + methodNames[key], + object[key] + ); + } + } + }, + + /** + * Use this to wrap methods you want to measure. Zero overhead in production. + * + * @param {string} objName + * @param {string} fnName + * @param {function} func + * @return {function} + */ + measure: function(objName, fnName, func) { + if ("production" !== "development") { + var measuredFunc = null; + var wrapper = function() { + if (ReactPerf.enableMeasure) { + if (!measuredFunc) { + measuredFunc = ReactPerf.storedMeasure(objName, fnName, func); + } + return measuredFunc.apply(this, arguments); + } + return func.apply(this, arguments); + }; + wrapper.displayName = objName + '_' + fnName; + return wrapper; + } + return func; + }, + + injection: { + /** + * @param {function} measure + */ + injectMeasure: function(measure) { + ReactPerf.storedMeasure = measure; + } + } +}; + +/** + * Simply passes through the measured function, without measuring it. + * + * @param {string} objName + * @param {string} fnName + * @param {function} func + * @return {function} + */ +function _noMeasure(objName, fnName, func) { + return func; +} + +module.exports = ReactPerf; + +},{}],76:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactPropTypeLocationNames + */ + +'use strict'; + +var ReactPropTypeLocationNames = {}; + +if ("production" !== "development") { + ReactPropTypeLocationNames = { + prop: 'prop', + context: 'context', + childContext: 'child context' + }; +} + +module.exports = ReactPropTypeLocationNames; + +},{}],77:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactPropTypeLocations + */ + +'use strict'; + +var keyMirror = _dereq_(140); + +var ReactPropTypeLocations = keyMirror({ + prop: null, + context: null, + childContext: null +}); + +module.exports = ReactPropTypeLocations; + +},{"140":140}],78:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactPropTypes + */ + +'use strict'; + +var ReactElement = _dereq_(57); +var ReactFragment = _dereq_(63); +var ReactPropTypeLocationNames = _dereq_(76); + +var emptyFunction = _dereq_(114); + +/** + * Collection of methods that allow declaration and validation of props that are + * supplied to React components. Example usage: + * + * var Props = require('ReactPropTypes'); + * var MyArticle = React.createClass({ + * propTypes: { + * // An optional string prop named "description". + * description: Props.string, + * + * // A required enum prop named "category". + * category: Props.oneOf(['News','Photos']).isRequired, + * + * // A prop named "dialog" that requires an instance of Dialog. + * dialog: Props.instanceOf(Dialog).isRequired + * }, + * render: function() { ... } + * }); + * + * A more formal specification of how these methods are used: + * + * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) + * decl := ReactPropTypes.{type}(.isRequired)? + * + * Each and every declaration produces a function with the same signature. This + * allows the creation of custom validation functions. For example: + * + * var MyLink = React.createClass({ + * propTypes: { + * // An optional string or URI prop named "href". + * href: function(props, propName, componentName) { + * var propValue = props[propName]; + * if (propValue != null && typeof propValue !== 'string' && + * !(propValue instanceof URI)) { + * return new Error( + * 'Expected a string or an URI for ' + propName + ' in ' + + * componentName + * ); + * } + * } + * }, + * render: function() {...} + * }); + * + * @internal + */ + +var ANONYMOUS = '<<anonymous>>'; + +var elementTypeChecker = createElementTypeChecker(); +var nodeTypeChecker = createNodeChecker(); + +var ReactPropTypes = { + array: createPrimitiveTypeChecker('array'), + bool: createPrimitiveTypeChecker('boolean'), + func: createPrimitiveTypeChecker('function'), + number: createPrimitiveTypeChecker('number'), + object: createPrimitiveTypeChecker('object'), + string: createPrimitiveTypeChecker('string'), + + any: createAnyTypeChecker(), + arrayOf: createArrayOfTypeChecker, + element: elementTypeChecker, + instanceOf: createInstanceTypeChecker, + node: nodeTypeChecker, + objectOf: createObjectOfTypeChecker, + oneOf: createEnumTypeChecker, + oneOfType: createUnionTypeChecker, + shape: createShapeTypeChecker +}; + +function createChainableTypeChecker(validate) { + function checkType(isRequired, props, propName, componentName, location) { + componentName = componentName || ANONYMOUS; + if (props[propName] == null) { + var locationName = ReactPropTypeLocationNames[location]; + if (isRequired) { + return new Error( + ("Required " + locationName + " `" + propName + "` was not specified in ") + + ("`" + componentName + "`.") + ); + } + return null; + } else { + return validate(props, propName, componentName, location); + } + } + + var chainedCheckType = checkType.bind(null, false); + chainedCheckType.isRequired = checkType.bind(null, true); + + return chainedCheckType; +} + +function createPrimitiveTypeChecker(expectedType) { + function validate(props, propName, componentName, location) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== expectedType) { + var locationName = ReactPropTypeLocationNames[location]; + // `propValue` being instance of, say, date/regexp, pass the 'object' + // check, but we can offer a more precise error message here rather than + // 'of type `object`'. + var preciseType = getPreciseType(propValue); + + return new Error( + ("Invalid " + locationName + " `" + propName + "` of type `" + preciseType + "` ") + + ("supplied to `" + componentName + "`, expected `" + expectedType + "`.") + ); + } + return null; + } + return createChainableTypeChecker(validate); +} + +function createAnyTypeChecker() { + return createChainableTypeChecker(emptyFunction.thatReturns(null)); +} + +function createArrayOfTypeChecker(typeChecker) { + function validate(props, propName, componentName, location) { + var propValue = props[propName]; + if (!Array.isArray(propValue)) { + var locationName = ReactPropTypeLocationNames[location]; + var propType = getPropType(propValue); + return new Error( + ("Invalid " + locationName + " `" + propName + "` of type ") + + ("`" + propType + "` supplied to `" + componentName + "`, expected an array.") + ); + } + for (var i = 0; i < propValue.length; i++) { + var error = typeChecker(propValue, i, componentName, location); + if (error instanceof Error) { + return error; + } + } + return null; + } + return createChainableTypeChecker(validate); +} + +function createElementTypeChecker() { + function validate(props, propName, componentName, location) { + if (!ReactElement.isValidElement(props[propName])) { + var locationName = ReactPropTypeLocationNames[location]; + return new Error( + ("Invalid " + locationName + " `" + propName + "` supplied to ") + + ("`" + componentName + "`, expected a ReactElement.") + ); + } + return null; + } + return createChainableTypeChecker(validate); +} + +function createInstanceTypeChecker(expectedClass) { + function validate(props, propName, componentName, location) { + if (!(props[propName] instanceof expectedClass)) { + var locationName = ReactPropTypeLocationNames[location]; + var expectedClassName = expectedClass.name || ANONYMOUS; + return new Error( + ("Invalid " + locationName + " `" + propName + "` supplied to ") + + ("`" + componentName + "`, expected instance of `" + expectedClassName + "`.") + ); + } + return null; + } + return createChainableTypeChecker(validate); +} + +function createEnumTypeChecker(expectedValues) { + function validate(props, propName, componentName, location) { + var propValue = props[propName]; + for (var i = 0; i < expectedValues.length; i++) { + if (propValue === expectedValues[i]) { + return null; + } + } + + var locationName = ReactPropTypeLocationNames[location]; + var valuesString = JSON.stringify(expectedValues); + return new Error( + ("Invalid " + locationName + " `" + propName + "` of value `" + propValue + "` ") + + ("supplied to `" + componentName + "`, expected one of " + valuesString + ".") + ); + } + return createChainableTypeChecker(validate); +} + +function createObjectOfTypeChecker(typeChecker) { + function validate(props, propName, componentName, location) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + var locationName = ReactPropTypeLocationNames[location]; + return new Error( + ("Invalid " + locationName + " `" + propName + "` of type ") + + ("`" + propType + "` supplied to `" + componentName + "`, expected an object.") + ); + } + for (var key in propValue) { + if (propValue.hasOwnProperty(key)) { + var error = typeChecker(propValue, key, componentName, location); + if (error instanceof Error) { + return error; + } + } + } + return null; + } + return createChainableTypeChecker(validate); +} + +function createUnionTypeChecker(arrayOfTypeCheckers) { + function validate(props, propName, componentName, location) { + for (var i = 0; i < arrayOfTypeCheckers.length; i++) { + var checker = arrayOfTypeCheckers[i]; + if (checker(props, propName, componentName, location) == null) { + return null; + } + } + + var locationName = ReactPropTypeLocationNames[location]; + return new Error( + ("Invalid " + locationName + " `" + propName + "` supplied to ") + + ("`" + componentName + "`.") + ); + } + return createChainableTypeChecker(validate); +} + +function createNodeChecker() { + function validate(props, propName, componentName, location) { + if (!isNode(props[propName])) { + var locationName = ReactPropTypeLocationNames[location]; + return new Error( + ("Invalid " + locationName + " `" + propName + "` supplied to ") + + ("`" + componentName + "`, expected a ReactNode.") + ); + } + return null; + } + return createChainableTypeChecker(validate); +} + +function createShapeTypeChecker(shapeTypes) { + function validate(props, propName, componentName, location) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + var locationName = ReactPropTypeLocationNames[location]; + return new Error( + ("Invalid " + locationName + " `" + propName + "` of type `" + propType + "` ") + + ("supplied to `" + componentName + "`, expected `object`.") + ); + } + for (var key in shapeTypes) { + var checker = shapeTypes[key]; + if (!checker) { + continue; + } + var error = checker(propValue, key, componentName, location); + if (error) { + return error; + } + } + return null; + } + return createChainableTypeChecker(validate); +} + +function isNode(propValue) { + switch (typeof propValue) { + case 'number': + case 'string': + case 'undefined': + return true; + case 'boolean': + return !propValue; + case 'object': + if (Array.isArray(propValue)) { + return propValue.every(isNode); + } + if (propValue === null || ReactElement.isValidElement(propValue)) { + return true; + } + propValue = ReactFragment.extractIfFragment(propValue); + for (var k in propValue) { + if (!isNode(propValue[k])) { + return false; + } + } + return true; + default: + return false; + } +} + +// Equivalent of `typeof` but with special handling for array and regexp. +function getPropType(propValue) { + var propType = typeof propValue; + if (Array.isArray(propValue)) { + return 'array'; + } + if (propValue instanceof RegExp) { + // Old webkits (at least until Android 4.0) return 'function' rather than + // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ + // passes PropTypes.object. + return 'object'; + } + return propType; +} + +// This handles more types than `getPropType`. Only used for error messages. +// See `createPrimitiveTypeChecker`. +function getPreciseType(propValue) { + var propType = getPropType(propValue); + if (propType === 'object') { + if (propValue instanceof Date) { + return 'date'; + } else if (propValue instanceof RegExp) { + return 'regexp'; + } + } + return propType; +} + +module.exports = ReactPropTypes; + +},{"114":114,"57":57,"63":63,"76":76}],79:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactPutListenerQueue + */ + +'use strict'; + +var PooledClass = _dereq_(28); +var ReactBrowserEventEmitter = _dereq_(30); + +var assign = _dereq_(27); + +function ReactPutListenerQueue() { + this.listenersToPut = []; +} + +assign(ReactPutListenerQueue.prototype, { + enqueuePutListener: function(rootNodeID, propKey, propValue) { + this.listenersToPut.push({ + rootNodeID: rootNodeID, + propKey: propKey, + propValue: propValue + }); + }, + + putListeners: function() { + for (var i = 0; i < this.listenersToPut.length; i++) { + var listenerToPut = this.listenersToPut[i]; + ReactBrowserEventEmitter.putListener( + listenerToPut.rootNodeID, + listenerToPut.propKey, + listenerToPut.propValue + ); + } + }, + + reset: function() { + this.listenersToPut.length = 0; + }, + + destructor: function() { + this.reset(); + } +}); + +PooledClass.addPoolingTo(ReactPutListenerQueue); + +module.exports = ReactPutListenerQueue; + +},{"27":27,"28":28,"30":30}],80:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactReconcileTransaction + * @typechecks static-only + */ + +'use strict'; + +var CallbackQueue = _dereq_(6); +var PooledClass = _dereq_(28); +var ReactBrowserEventEmitter = _dereq_(30); +var ReactInputSelection = _dereq_(65); +var ReactPutListenerQueue = _dereq_(79); +var Transaction = _dereq_(103); + +var assign = _dereq_(27); + +/** + * Ensures that, when possible, the selection range (currently selected text + * input) is not disturbed by performing the transaction. + */ +var SELECTION_RESTORATION = { + /** + * @return {Selection} Selection information. + */ + initialize: ReactInputSelection.getSelectionInformation, + /** + * @param {Selection} sel Selection information returned from `initialize`. + */ + close: ReactInputSelection.restoreSelection +}; + +/** + * Suppresses events (blur/focus) that could be inadvertently dispatched due to + * high level DOM manipulations (like temporarily removing a text input from the + * DOM). + */ +var EVENT_SUPPRESSION = { + /** + * @return {boolean} The enabled status of `ReactBrowserEventEmitter` before + * the reconciliation. + */ + initialize: function() { + var currentlyEnabled = ReactBrowserEventEmitter.isEnabled(); + ReactBrowserEventEmitter.setEnabled(false); + return currentlyEnabled; + }, + + /** + * @param {boolean} previouslyEnabled Enabled status of + * `ReactBrowserEventEmitter` before the reconciliation occured. `close` + * restores the previous value. + */ + close: function(previouslyEnabled) { + ReactBrowserEventEmitter.setEnabled(previouslyEnabled); + } +}; + +/** + * Provides a queue for collecting `componentDidMount` and + * `componentDidUpdate` callbacks during the the transaction. + */ +var ON_DOM_READY_QUEUEING = { + /** + * Initializes the internal `onDOMReady` queue. + */ + initialize: function() { + this.reactMountReady.reset(); + }, + + /** + * After DOM is flushed, invoke all registered `onDOMReady` callbacks. + */ + close: function() { + this.reactMountReady.notifyAll(); + } +}; + +var PUT_LISTENER_QUEUEING = { + initialize: function() { + this.putListenerQueue.reset(); + }, + + close: function() { + this.putListenerQueue.putListeners(); + } +}; + +/** + * Executed within the scope of the `Transaction` instance. Consider these as + * being member methods, but with an implied ordering while being isolated from + * each other. + */ +var TRANSACTION_WRAPPERS = [ + PUT_LISTENER_QUEUEING, + SELECTION_RESTORATION, + EVENT_SUPPRESSION, + ON_DOM_READY_QUEUEING +]; + +/** + * Currently: + * - The order that these are listed in the transaction is critical: + * - Suppresses events. + * - Restores selection range. + * + * Future: + * - Restore document/overflow scroll positions that were unintentionally + * modified via DOM insertions above the top viewport boundary. + * - Implement/integrate with customized constraint based layout system and keep + * track of which dimensions must be remeasured. + * + * @class ReactReconcileTransaction + */ +function ReactReconcileTransaction() { + this.reinitializeTransaction(); + // Only server-side rendering really needs this option (see + // `ReactServerRendering`), but server-side uses + // `ReactServerRenderingTransaction` instead. This option is here so that it's + // accessible and defaults to false when `ReactDOMComponent` and + // `ReactTextComponent` checks it in `mountComponent`.` + this.renderToStaticMarkup = false; + this.reactMountReady = CallbackQueue.getPooled(null); + this.putListenerQueue = ReactPutListenerQueue.getPooled(); +} + +var Mixin = { + /** + * @see Transaction + * @abstract + * @final + * @return {array<object>} List of operation wrap proceedures. + * TODO: convert to array<TransactionWrapper> + */ + getTransactionWrappers: function() { + return TRANSACTION_WRAPPERS; + }, + + /** + * @return {object} The queue to collect `onDOMReady` callbacks with. + */ + getReactMountReady: function() { + return this.reactMountReady; + }, + + getPutListenerQueue: function() { + return this.putListenerQueue; + }, + + /** + * `PooledClass` looks for this, and will invoke this before allowing this + * instance to be resused. + */ + destructor: function() { + CallbackQueue.release(this.reactMountReady); + this.reactMountReady = null; + + ReactPutListenerQueue.release(this.putListenerQueue); + this.putListenerQueue = null; + } +}; + + +assign(ReactReconcileTransaction.prototype, Transaction.Mixin, Mixin); + +PooledClass.addPoolingTo(ReactReconcileTransaction); + +module.exports = ReactReconcileTransaction; + +},{"103":103,"27":27,"28":28,"30":30,"6":6,"65":65,"79":79}],81:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactReconciler + */ + +'use strict'; + +var ReactRef = _dereq_(82); +var ReactElementValidator = _dereq_(58); + +/** + * Helper to call ReactRef.attachRefs with this composite component, split out + * to avoid allocations in the transaction mount-ready queue. + */ +function attachRefs() { + ReactRef.attachRefs(this, this._currentElement); +} + +var ReactReconciler = { + + /** + * Initializes the component, renders markup, and registers event listeners. + * + * @param {ReactComponent} internalInstance + * @param {string} rootID DOM ID of the root node. + * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction + * @return {?string} Rendered markup to be inserted into the DOM. + * @final + * @internal + */ + mountComponent: function(internalInstance, rootID, transaction, context) { + var markup = internalInstance.mountComponent(rootID, transaction, context); + if ("production" !== "development") { + ReactElementValidator.checkAndWarnForMutatedProps( + internalInstance._currentElement + ); + } + transaction.getReactMountReady().enqueue(attachRefs, internalInstance); + return markup; + }, + + /** + * Releases any resources allocated by `mountComponent`. + * + * @final + * @internal + */ + unmountComponent: function(internalInstance) { + ReactRef.detachRefs(internalInstance, internalInstance._currentElement); + internalInstance.unmountComponent(); + }, + + /** + * Update a component using a new element. + * + * @param {ReactComponent} internalInstance + * @param {ReactElement} nextElement + * @param {ReactReconcileTransaction} transaction + * @param {object} context + * @internal + */ + receiveComponent: function( + internalInstance, nextElement, transaction, context + ) { + var prevElement = internalInstance._currentElement; + + if (nextElement === prevElement && nextElement._owner != null) { + // Since elements are immutable after the owner is rendered, + // we can do a cheap identity compare here to determine if this is a + // superfluous reconcile. It's possible for state to be mutable but such + // change should trigger an update of the owner which would recreate + // the element. We explicitly check for the existence of an owner since + // it's possible for an element created outside a composite to be + // deeply mutated and reused. + return; + } + + if ("production" !== "development") { + ReactElementValidator.checkAndWarnForMutatedProps(nextElement); + } + + var refsChanged = ReactRef.shouldUpdateRefs( + prevElement, + nextElement + ); + + if (refsChanged) { + ReactRef.detachRefs(internalInstance, prevElement); + } + + internalInstance.receiveComponent(nextElement, transaction, context); + + if (refsChanged) { + transaction.getReactMountReady().enqueue(attachRefs, internalInstance); + } + }, + + /** + * Flush any dirty changes in a component. + * + * @param {ReactComponent} internalInstance + * @param {ReactReconcileTransaction} transaction + * @internal + */ + performUpdateIfNecessary: function( + internalInstance, + transaction + ) { + internalInstance.performUpdateIfNecessary(transaction); + } + +}; + +module.exports = ReactReconciler; + +},{"58":58,"82":82}],82:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactRef + */ + +'use strict'; + +var ReactOwner = _dereq_(74); + +var ReactRef = {}; + +function attachRef(ref, component, owner) { + if (typeof ref === 'function') { + ref(component.getPublicInstance()); + } else { + // Legacy ref + ReactOwner.addComponentAsRefTo(component, ref, owner); + } +} + +function detachRef(ref, component, owner) { + if (typeof ref === 'function') { + ref(null); + } else { + // Legacy ref + ReactOwner.removeComponentAsRefFrom(component, ref, owner); + } +} + +ReactRef.attachRefs = function(instance, element) { + var ref = element.ref; + if (ref != null) { + attachRef(ref, instance, element._owner); + } +}; + +ReactRef.shouldUpdateRefs = function(prevElement, nextElement) { + // If either the owner or a `ref` has changed, make sure the newest owner + // has stored a reference to `this`, and the previous owner (if different) + // has forgotten the reference to `this`. We use the element instead + // of the public this.props because the post processing cannot determine + // a ref. The ref conceptually lives on the element. + + // TODO: Should this even be possible? The owner cannot change because + // it's forbidden by shouldUpdateReactComponent. The ref can change + // if you swap the keys of but not the refs. Reconsider where this check + // is made. It probably belongs where the key checking and + // instantiateReactComponent is done. + + return ( + nextElement._owner !== prevElement._owner || + nextElement.ref !== prevElement.ref + ); +}; + +ReactRef.detachRefs = function(instance, element) { + var ref = element.ref; + if (ref != null) { + detachRef(ref, instance, element._owner); + } +}; + +module.exports = ReactRef; + +},{"74":74}],83:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactRootIndex + * @typechecks + */ + +'use strict'; + +var ReactRootIndexInjection = { + /** + * @param {function} _createReactRootIndex + */ + injectCreateReactRootIndex: function(_createReactRootIndex) { + ReactRootIndex.createReactRootIndex = _createReactRootIndex; + } +}; + +var ReactRootIndex = { + createReactRootIndex: null, + injection: ReactRootIndexInjection +}; + +module.exports = ReactRootIndex; + +},{}],84:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @typechecks static-only + * @providesModule ReactServerRendering + */ +'use strict'; + +var ReactElement = _dereq_(57); +var ReactInstanceHandles = _dereq_(66); +var ReactMarkupChecksum = _dereq_(69); +var ReactServerRenderingTransaction = + _dereq_(85); + +var emptyObject = _dereq_(115); +var instantiateReactComponent = _dereq_(134); +var invariant = _dereq_(135); + +/** + * @param {ReactElement} element + * @return {string} the HTML markup + */ +function renderToString(element) { + ("production" !== "development" ? invariant( + ReactElement.isValidElement(element), + 'renderToString(): You must pass a valid ReactElement.' + ) : invariant(ReactElement.isValidElement(element))); + + var transaction; + try { + var id = ReactInstanceHandles.createReactRootID(); + transaction = ReactServerRenderingTransaction.getPooled(false); + + return transaction.perform(function() { + var componentInstance = instantiateReactComponent(element, null); + var markup = + componentInstance.mountComponent(id, transaction, emptyObject); + return ReactMarkupChecksum.addChecksumToMarkup(markup); + }, null); + } finally { + ReactServerRenderingTransaction.release(transaction); + } +} + +/** + * @param {ReactElement} element + * @return {string} the HTML markup, without the extra React ID and checksum + * (for generating static pages) + */ +function renderToStaticMarkup(element) { + ("production" !== "development" ? invariant( + ReactElement.isValidElement(element), + 'renderToStaticMarkup(): You must pass a valid ReactElement.' + ) : invariant(ReactElement.isValidElement(element))); + + var transaction; + try { + var id = ReactInstanceHandles.createReactRootID(); + transaction = ReactServerRenderingTransaction.getPooled(true); + + return transaction.perform(function() { + var componentInstance = instantiateReactComponent(element, null); + return componentInstance.mountComponent(id, transaction, emptyObject); + }, null); + } finally { + ReactServerRenderingTransaction.release(transaction); + } +} + +module.exports = { + renderToString: renderToString, + renderToStaticMarkup: renderToStaticMarkup +}; + +},{"115":115,"134":134,"135":135,"57":57,"66":66,"69":69,"85":85}],85:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactServerRenderingTransaction + * @typechecks + */ + +'use strict'; + +var PooledClass = _dereq_(28); +var CallbackQueue = _dereq_(6); +var ReactPutListenerQueue = _dereq_(79); +var Transaction = _dereq_(103); + +var assign = _dereq_(27); +var emptyFunction = _dereq_(114); + +/** + * Provides a `CallbackQueue` queue for collecting `onDOMReady` callbacks + * during the performing of the transaction. + */ +var ON_DOM_READY_QUEUEING = { + /** + * Initializes the internal `onDOMReady` queue. + */ + initialize: function() { + this.reactMountReady.reset(); + }, + + close: emptyFunction +}; + +var PUT_LISTENER_QUEUEING = { + initialize: function() { + this.putListenerQueue.reset(); + }, + + close: emptyFunction +}; + +/** + * Executed within the scope of the `Transaction` instance. Consider these as + * being member methods, but with an implied ordering while being isolated from + * each other. + */ +var TRANSACTION_WRAPPERS = [ + PUT_LISTENER_QUEUEING, + ON_DOM_READY_QUEUEING +]; + +/** + * @class ReactServerRenderingTransaction + * @param {boolean} renderToStaticMarkup + */ +function ReactServerRenderingTransaction(renderToStaticMarkup) { + this.reinitializeTransaction(); + this.renderToStaticMarkup = renderToStaticMarkup; + this.reactMountReady = CallbackQueue.getPooled(null); + this.putListenerQueue = ReactPutListenerQueue.getPooled(); +} + +var Mixin = { + /** + * @see Transaction + * @abstract + * @final + * @return {array} Empty list of operation wrap proceedures. + */ + getTransactionWrappers: function() { + return TRANSACTION_WRAPPERS; + }, + + /** + * @return {object} The queue to collect `onDOMReady` callbacks with. + */ + getReactMountReady: function() { + return this.reactMountReady; + }, + + getPutListenerQueue: function() { + return this.putListenerQueue; + }, + + /** + * `PooledClass` looks for this, and will invoke this before allowing this + * instance to be resused. + */ + destructor: function() { + CallbackQueue.release(this.reactMountReady); + this.reactMountReady = null; + + ReactPutListenerQueue.release(this.putListenerQueue); + this.putListenerQueue = null; + } +}; + + +assign( + ReactServerRenderingTransaction.prototype, + Transaction.Mixin, + Mixin +); + +PooledClass.addPoolingTo(ReactServerRenderingTransaction); + +module.exports = ReactServerRenderingTransaction; + +},{"103":103,"114":114,"27":27,"28":28,"6":6,"79":79}],86:[function(_dereq_,module,exports){ +/** + * Copyright 2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactUpdateQueue + */ + +'use strict'; + +var ReactLifeCycle = _dereq_(68); +var ReactCurrentOwner = _dereq_(39); +var ReactElement = _dereq_(57); +var ReactInstanceMap = _dereq_(67); +var ReactUpdates = _dereq_(87); + +var assign = _dereq_(27); +var invariant = _dereq_(135); +var warning = _dereq_(154); + +function enqueueUpdate(internalInstance) { + if (internalInstance !== ReactLifeCycle.currentlyMountingInstance) { + // If we're in a componentWillMount handler, don't enqueue a rerender + // because ReactUpdates assumes we're in a browser context (which is + // wrong for server rendering) and we're about to do a render anyway. + // See bug in #1740. + ReactUpdates.enqueueUpdate(internalInstance); + } +} + +function getInternalInstanceReadyForUpdate(publicInstance, callerName) { + ("production" !== "development" ? invariant( + ReactCurrentOwner.current == null, + '%s(...): Cannot update during an existing state transition ' + + '(such as within `render`). Render methods should be a pure function ' + + 'of props and state.', + callerName + ) : invariant(ReactCurrentOwner.current == null)); + + var internalInstance = ReactInstanceMap.get(publicInstance); + if (!internalInstance) { + if ("production" !== "development") { + // Only warn when we have a callerName. Otherwise we should be silent. + // We're probably calling from enqueueCallback. We don't want to warn + // there because we already warned for the corresponding lifecycle method. + ("production" !== "development" ? warning( + !callerName, + '%s(...): Can only update a mounted or mounting component. ' + + 'This usually means you called %s() on an unmounted ' + + 'component. This is a no-op.', + callerName, + callerName + ) : null); + } + return null; + } + + if (internalInstance === ReactLifeCycle.currentlyUnmountingInstance) { + return null; + } + + return internalInstance; +} + +/** + * ReactUpdateQueue allows for state updates to be scheduled into a later + * reconciliation step. + */ +var ReactUpdateQueue = { + + /** + * Enqueue a callback that will be executed after all the pending updates + * have processed. + * + * @param {ReactClass} publicInstance The instance to use as `this` context. + * @param {?function} callback Called after state is updated. + * @internal + */ + enqueueCallback: function(publicInstance, callback) { + ("production" !== "development" ? invariant( + typeof callback === 'function', + 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + + 'isn\'t callable.' + ) : invariant(typeof callback === 'function')); + var internalInstance = getInternalInstanceReadyForUpdate(publicInstance); + + // Previously we would throw an error if we didn't have an internal + // instance. Since we want to make it a no-op instead, we mirror the same + // behavior we have in other enqueue* methods. + // We also need to ignore callbacks in componentWillMount. See + // enqueueUpdates. + if (!internalInstance || + internalInstance === ReactLifeCycle.currentlyMountingInstance) { + return null; + } + + if (internalInstance._pendingCallbacks) { + internalInstance._pendingCallbacks.push(callback); + } else { + internalInstance._pendingCallbacks = [callback]; + } + // TODO: The callback here is ignored when setState is called from + // componentWillMount. Either fix it or disallow doing so completely in + // favor of getInitialState. Alternatively, we can disallow + // componentWillMount during server-side rendering. + enqueueUpdate(internalInstance); + }, + + enqueueCallbackInternal: function(internalInstance, callback) { + ("production" !== "development" ? invariant( + typeof callback === 'function', + 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + + 'isn\'t callable.' + ) : invariant(typeof callback === 'function')); + if (internalInstance._pendingCallbacks) { + internalInstance._pendingCallbacks.push(callback); + } else { + internalInstance._pendingCallbacks = [callback]; + } + enqueueUpdate(internalInstance); + }, + + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldUpdateComponent`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @internal + */ + enqueueForceUpdate: function(publicInstance) { + var internalInstance = getInternalInstanceReadyForUpdate( + publicInstance, + 'forceUpdate' + ); + + if (!internalInstance) { + return; + } + + internalInstance._pendingForceUpdate = true; + + enqueueUpdate(internalInstance); + }, + + /** + * Replaces all of the state. Always use this or `setState` to mutate state. + * You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} completeState Next state. + * @internal + */ + enqueueReplaceState: function(publicInstance, completeState) { + var internalInstance = getInternalInstanceReadyForUpdate( + publicInstance, + 'replaceState' + ); + + if (!internalInstance) { + return; + } + + internalInstance._pendingStateQueue = [completeState]; + internalInstance._pendingReplaceState = true; + + enqueueUpdate(internalInstance); + }, + + /** + * Sets a subset of the state. This only exists because _pendingState is + * internal. This provides a merging strategy that is not available to deep + * properties which is confusing. TODO: Expose pendingState or don't use it + * during the merge. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} partialState Next partial state to be merged with state. + * @internal + */ + enqueueSetState: function(publicInstance, partialState) { + var internalInstance = getInternalInstanceReadyForUpdate( + publicInstance, + 'setState' + ); + + if (!internalInstance) { + return; + } + + var queue = + internalInstance._pendingStateQueue || + (internalInstance._pendingStateQueue = []); + queue.push(partialState); + + enqueueUpdate(internalInstance); + }, + + /** + * Sets a subset of the props. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} partialProps Subset of the next props. + * @internal + */ + enqueueSetProps: function(publicInstance, partialProps) { + var internalInstance = getInternalInstanceReadyForUpdate( + publicInstance, + 'setProps' + ); + + if (!internalInstance) { + return; + } + + ("production" !== "development" ? invariant( + internalInstance._isTopLevel, + 'setProps(...): You called `setProps` on a ' + + 'component with a parent. This is an anti-pattern since props will ' + + 'get reactively updated when rendered. Instead, change the owner\'s ' + + '`render` method to pass the correct value as props to the component ' + + 'where it is created.' + ) : invariant(internalInstance._isTopLevel)); + + // Merge with the pending element if it exists, otherwise with existing + // element props. + var element = internalInstance._pendingElement || + internalInstance._currentElement; + var props = assign({}, element.props, partialProps); + internalInstance._pendingElement = ReactElement.cloneAndReplaceProps( + element, + props + ); + + enqueueUpdate(internalInstance); + }, + + /** + * Replaces all of the props. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} props New props. + * @internal + */ + enqueueReplaceProps: function(publicInstance, props) { + var internalInstance = getInternalInstanceReadyForUpdate( + publicInstance, + 'replaceProps' + ); + + if (!internalInstance) { + return; + } + + ("production" !== "development" ? invariant( + internalInstance._isTopLevel, + 'replaceProps(...): You called `replaceProps` on a ' + + 'component with a parent. This is an anti-pattern since props will ' + + 'get reactively updated when rendered. Instead, change the owner\'s ' + + '`render` method to pass the correct value as props to the component ' + + 'where it is created.' + ) : invariant(internalInstance._isTopLevel)); + + // Merge with the pending element if it exists, otherwise with existing + // element props. + var element = internalInstance._pendingElement || + internalInstance._currentElement; + internalInstance._pendingElement = ReactElement.cloneAndReplaceProps( + element, + props + ); + + enqueueUpdate(internalInstance); + }, + + enqueueElementInternal: function(internalInstance, newElement) { + internalInstance._pendingElement = newElement; + enqueueUpdate(internalInstance); + } + +}; + +module.exports = ReactUpdateQueue; + +},{"135":135,"154":154,"27":27,"39":39,"57":57,"67":67,"68":68,"87":87}],87:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ReactUpdates + */ + +'use strict'; + +var CallbackQueue = _dereq_(6); +var PooledClass = _dereq_(28); +var ReactCurrentOwner = _dereq_(39); +var ReactPerf = _dereq_(75); +var ReactReconciler = _dereq_(81); +var Transaction = _dereq_(103); + +var assign = _dereq_(27); +var invariant = _dereq_(135); +var warning = _dereq_(154); + +var dirtyComponents = []; +var asapCallbackQueue = CallbackQueue.getPooled(); +var asapEnqueued = false; + +var batchingStrategy = null; + +function ensureInjected() { + ("production" !== "development" ? invariant( + ReactUpdates.ReactReconcileTransaction && batchingStrategy, + 'ReactUpdates: must inject a reconcile transaction class and batching ' + + 'strategy' + ) : invariant(ReactUpdates.ReactReconcileTransaction && batchingStrategy)); +} + +var NESTED_UPDATES = { + initialize: function() { + this.dirtyComponentsLength = dirtyComponents.length; + }, + close: function() { + if (this.dirtyComponentsLength !== dirtyComponents.length) { + // Additional updates were enqueued by componentDidUpdate handlers or + // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run + // these new updates so that if A's componentDidUpdate calls setState on + // B, B will update before the callback A's updater provided when calling + // setState. + dirtyComponents.splice(0, this.dirtyComponentsLength); + flushBatchedUpdates(); + } else { + dirtyComponents.length = 0; + } + } +}; + +var UPDATE_QUEUEING = { + initialize: function() { + this.callbackQueue.reset(); + }, + close: function() { + this.callbackQueue.notifyAll(); + } +}; + +var TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING]; + +function ReactUpdatesFlushTransaction() { + this.reinitializeTransaction(); + this.dirtyComponentsLength = null; + this.callbackQueue = CallbackQueue.getPooled(); + this.reconcileTransaction = + ReactUpdates.ReactReconcileTransaction.getPooled(); +} + +assign( + ReactUpdatesFlushTransaction.prototype, + Transaction.Mixin, { + getTransactionWrappers: function() { + return TRANSACTION_WRAPPERS; + }, + + destructor: function() { + this.dirtyComponentsLength = null; + CallbackQueue.release(this.callbackQueue); + this.callbackQueue = null; + ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction); + this.reconcileTransaction = null; + }, + + perform: function(method, scope, a) { + // Essentially calls `this.reconcileTransaction.perform(method, scope, a)` + // with this transaction's wrappers around it. + return Transaction.Mixin.perform.call( + this, + this.reconcileTransaction.perform, + this.reconcileTransaction, + method, + scope, + a + ); + } +}); + +PooledClass.addPoolingTo(ReactUpdatesFlushTransaction); + +function batchedUpdates(callback, a, b, c, d) { + ensureInjected(); + batchingStrategy.batchedUpdates(callback, a, b, c, d); +} + +/** + * Array comparator for ReactComponents by mount ordering. + * + * @param {ReactComponent} c1 first component you're comparing + * @param {ReactComponent} c2 second component you're comparing + * @return {number} Return value usable by Array.prototype.sort(). + */ +function mountOrderComparator(c1, c2) { + return c1._mountOrder - c2._mountOrder; +} + +function runBatchedUpdates(transaction) { + var len = transaction.dirtyComponentsLength; + ("production" !== "development" ? invariant( + len === dirtyComponents.length, + 'Expected flush transaction\'s stored dirty-components length (%s) to ' + + 'match dirty-components array length (%s).', + len, + dirtyComponents.length + ) : invariant(len === dirtyComponents.length)); + + // Since reconciling a component higher in the owner hierarchy usually (not + // always -- see shouldComponentUpdate()) will reconcile children, reconcile + // them before their children by sorting the array. + dirtyComponents.sort(mountOrderComparator); + + for (var i = 0; i < len; i++) { + // If a component is unmounted before pending changes apply, it will still + // be here, but we assume that it has cleared its _pendingCallbacks and + // that performUpdateIfNecessary is a noop. + var component = dirtyComponents[i]; + + // If performUpdateIfNecessary happens to enqueue any new updates, we + // shouldn't execute the callbacks until the next render happens, so + // stash the callbacks first + var callbacks = component._pendingCallbacks; + component._pendingCallbacks = null; + + ReactReconciler.performUpdateIfNecessary( + component, + transaction.reconcileTransaction + ); + + if (callbacks) { + for (var j = 0; j < callbacks.length; j++) { + transaction.callbackQueue.enqueue( + callbacks[j], + component.getPublicInstance() + ); + } + } + } +} + +var flushBatchedUpdates = function() { + // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents + // array and perform any updates enqueued by mount-ready handlers (i.e., + // componentDidUpdate) but we need to check here too in order to catch + // updates enqueued by setState callbacks and asap calls. + while (dirtyComponents.length || asapEnqueued) { + if (dirtyComponents.length) { + var transaction = ReactUpdatesFlushTransaction.getPooled(); + transaction.perform(runBatchedUpdates, null, transaction); + ReactUpdatesFlushTransaction.release(transaction); + } + + if (asapEnqueued) { + asapEnqueued = false; + var queue = asapCallbackQueue; + asapCallbackQueue = CallbackQueue.getPooled(); + queue.notifyAll(); + CallbackQueue.release(queue); + } + } +}; +flushBatchedUpdates = ReactPerf.measure( + 'ReactUpdates', + 'flushBatchedUpdates', + flushBatchedUpdates +); + +/** + * Mark a component as needing a rerender, adding an optional callback to a + * list of functions which will be executed once the rerender occurs. + */ +function enqueueUpdate(component) { + ensureInjected(); + + // Various parts of our code (such as ReactCompositeComponent's + // _renderValidatedComponent) assume that calls to render aren't nested; + // verify that that's the case. (This is called by each top-level update + // function, like setProps, setState, forceUpdate, etc.; creation and + // destruction of top-level components is guarded in ReactMount.) + ("production" !== "development" ? warning( + ReactCurrentOwner.current == null, + 'enqueueUpdate(): Render methods should be a pure function of props ' + + 'and state; triggering nested component updates from render is not ' + + 'allowed. If necessary, trigger nested updates in ' + + 'componentDidUpdate.' + ) : null); + + if (!batchingStrategy.isBatchingUpdates) { + batchingStrategy.batchedUpdates(enqueueUpdate, component); + return; + } + + dirtyComponents.push(component); +} + +/** + * Enqueue a callback to be run at the end of the current batching cycle. Throws + * if no updates are currently being performed. + */ +function asap(callback, context) { + ("production" !== "development" ? invariant( + batchingStrategy.isBatchingUpdates, + 'ReactUpdates.asap: Can\'t enqueue an asap callback in a context where' + + 'updates are not being batched.' + ) : invariant(batchingStrategy.isBatchingUpdates)); + asapCallbackQueue.enqueue(callback, context); + asapEnqueued = true; +} + +var ReactUpdatesInjection = { + injectReconcileTransaction: function(ReconcileTransaction) { + ("production" !== "development" ? invariant( + ReconcileTransaction, + 'ReactUpdates: must provide a reconcile transaction class' + ) : invariant(ReconcileTransaction)); + ReactUpdates.ReactReconcileTransaction = ReconcileTransaction; + }, + + injectBatchingStrategy: function(_batchingStrategy) { + ("production" !== "development" ? invariant( + _batchingStrategy, + 'ReactUpdates: must provide a batching strategy' + ) : invariant(_batchingStrategy)); + ("production" !== "development" ? invariant( + typeof _batchingStrategy.batchedUpdates === 'function', + 'ReactUpdates: must provide a batchedUpdates() function' + ) : invariant(typeof _batchingStrategy.batchedUpdates === 'function')); + ("production" !== "development" ? invariant( + typeof _batchingStrategy.isBatchingUpdates === 'boolean', + 'ReactUpdates: must provide an isBatchingUpdates boolean attribute' + ) : invariant(typeof _batchingStrategy.isBatchingUpdates === 'boolean')); + batchingStrategy = _batchingStrategy; + } +}; + +var ReactUpdates = { + /** + * React references `ReactReconcileTransaction` using this property in order + * to allow dependency injection. + * + * @internal + */ + ReactReconcileTransaction: null, + + batchedUpdates: batchedUpdates, + enqueueUpdate: enqueueUpdate, + flushBatchedUpdates: flushBatchedUpdates, + injection: ReactUpdatesInjection, + asap: asap +}; + +module.exports = ReactUpdates; + +},{"103":103,"135":135,"154":154,"27":27,"28":28,"39":39,"6":6,"75":75,"81":81}],88:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SVGDOMPropertyConfig + */ + +/*jslint bitwise: true*/ + +'use strict'; + +var DOMProperty = _dereq_(10); + +var MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE; + +var SVGDOMPropertyConfig = { + Properties: { + cx: MUST_USE_ATTRIBUTE, + cy: MUST_USE_ATTRIBUTE, + d: MUST_USE_ATTRIBUTE, + dx: MUST_USE_ATTRIBUTE, + dy: MUST_USE_ATTRIBUTE, + fill: MUST_USE_ATTRIBUTE, + fillOpacity: MUST_USE_ATTRIBUTE, + fontFamily: MUST_USE_ATTRIBUTE, + fontSize: MUST_USE_ATTRIBUTE, + fx: MUST_USE_ATTRIBUTE, + fy: MUST_USE_ATTRIBUTE, + gradientTransform: MUST_USE_ATTRIBUTE, + gradientUnits: MUST_USE_ATTRIBUTE, + markerEnd: MUST_USE_ATTRIBUTE, + markerMid: MUST_USE_ATTRIBUTE, + markerStart: MUST_USE_ATTRIBUTE, + offset: MUST_USE_ATTRIBUTE, + opacity: MUST_USE_ATTRIBUTE, + patternContentUnits: MUST_USE_ATTRIBUTE, + patternUnits: MUST_USE_ATTRIBUTE, + points: MUST_USE_ATTRIBUTE, + preserveAspectRatio: MUST_USE_ATTRIBUTE, + r: MUST_USE_ATTRIBUTE, + rx: MUST_USE_ATTRIBUTE, + ry: MUST_USE_ATTRIBUTE, + spreadMethod: MUST_USE_ATTRIBUTE, + stopColor: MUST_USE_ATTRIBUTE, + stopOpacity: MUST_USE_ATTRIBUTE, + stroke: MUST_USE_ATTRIBUTE, + strokeDasharray: MUST_USE_ATTRIBUTE, + strokeLinecap: MUST_USE_ATTRIBUTE, + strokeOpacity: MUST_USE_ATTRIBUTE, + strokeWidth: MUST_USE_ATTRIBUTE, + textAnchor: MUST_USE_ATTRIBUTE, + transform: MUST_USE_ATTRIBUTE, + version: MUST_USE_ATTRIBUTE, + viewBox: MUST_USE_ATTRIBUTE, + x1: MUST_USE_ATTRIBUTE, + x2: MUST_USE_ATTRIBUTE, + x: MUST_USE_ATTRIBUTE, + y1: MUST_USE_ATTRIBUTE, + y2: MUST_USE_ATTRIBUTE, + y: MUST_USE_ATTRIBUTE + }, + DOMAttributeNames: { + fillOpacity: 'fill-opacity', + fontFamily: 'font-family', + fontSize: 'font-size', + gradientTransform: 'gradientTransform', + gradientUnits: 'gradientUnits', + markerEnd: 'marker-end', + markerMid: 'marker-mid', + markerStart: 'marker-start', + patternContentUnits: 'patternContentUnits', + patternUnits: 'patternUnits', + preserveAspectRatio: 'preserveAspectRatio', + spreadMethod: 'spreadMethod', + stopColor: 'stop-color', + stopOpacity: 'stop-opacity', + strokeDasharray: 'stroke-dasharray', + strokeLinecap: 'stroke-linecap', + strokeOpacity: 'stroke-opacity', + strokeWidth: 'stroke-width', + textAnchor: 'text-anchor', + viewBox: 'viewBox' + } +}; + +module.exports = SVGDOMPropertyConfig; + +},{"10":10}],89:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SelectEventPlugin + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPropagators = _dereq_(20); +var ReactInputSelection = _dereq_(65); +var SyntheticEvent = _dereq_(95); + +var getActiveElement = _dereq_(121); +var isTextInputElement = _dereq_(138); +var keyOf = _dereq_(141); +var shallowEqual = _dereq_(150); + +var topLevelTypes = EventConstants.topLevelTypes; + +var eventTypes = { + select: { + phasedRegistrationNames: { + bubbled: keyOf({onSelect: null}), + captured: keyOf({onSelectCapture: null}) + }, + dependencies: [ + topLevelTypes.topBlur, + topLevelTypes.topContextMenu, + topLevelTypes.topFocus, + topLevelTypes.topKeyDown, + topLevelTypes.topMouseDown, + topLevelTypes.topMouseUp, + topLevelTypes.topSelectionChange + ] + } +}; + +var activeElement = null; +var activeElementID = null; +var lastSelection = null; +var mouseDown = false; + +/** + * Get an object which is a unique representation of the current selection. + * + * The return value will not be consistent across nodes or browsers, but + * two identical selections on the same node will return identical objects. + * + * @param {DOMElement} node + * @param {object} + */ +function getSelection(node) { + if ('selectionStart' in node && + ReactInputSelection.hasSelectionCapabilities(node)) { + return { + start: node.selectionStart, + end: node.selectionEnd + }; + } else if (window.getSelection) { + var selection = window.getSelection(); + return { + anchorNode: selection.anchorNode, + anchorOffset: selection.anchorOffset, + focusNode: selection.focusNode, + focusOffset: selection.focusOffset + }; + } else if (document.selection) { + var range = document.selection.createRange(); + return { + parentElement: range.parentElement(), + text: range.text, + top: range.boundingTop, + left: range.boundingLeft + }; + } +} + +/** + * Poll selection to see whether it's changed. + * + * @param {object} nativeEvent + * @return {?SyntheticEvent} + */ +function constructSelectEvent(nativeEvent) { + // Ensure we have the right element, and that the user is not dragging a + // selection (this matches native `select` event behavior). In HTML5, select + // fires only on input and textarea thus if there's no focused element we + // won't dispatch. + if (mouseDown || + activeElement == null || + activeElement !== getActiveElement()) { + return null; + } + + // Only fire when selection has actually changed. + var currentSelection = getSelection(activeElement); + if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) { + lastSelection = currentSelection; + + var syntheticEvent = SyntheticEvent.getPooled( + eventTypes.select, + activeElementID, + nativeEvent + ); + + syntheticEvent.type = 'select'; + syntheticEvent.target = activeElement; + + EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent); + + return syntheticEvent; + } +} + +/** + * This plugin creates an `onSelect` event that normalizes select events + * across form elements. + * + * Supported elements are: + * - input (see `isTextInputElement`) + * - textarea + * - contentEditable + * + * This differs from native browser implementations in the following ways: + * - Fires on contentEditable fields as well as inputs. + * - Fires for collapsed selection. + * - Fires after user input. + */ +var SelectEventPlugin = { + + eventTypes: eventTypes, + + /** + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @see {EventPluginHub.extractEvents} + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + + switch (topLevelType) { + // Track the input node that has focus. + case topLevelTypes.topFocus: + if (isTextInputElement(topLevelTarget) || + topLevelTarget.contentEditable === 'true') { + activeElement = topLevelTarget; + activeElementID = topLevelTargetID; + lastSelection = null; + } + break; + case topLevelTypes.topBlur: + activeElement = null; + activeElementID = null; + lastSelection = null; + break; + + // Don't fire the event while the user is dragging. This matches the + // semantics of the native select event. + case topLevelTypes.topMouseDown: + mouseDown = true; + break; + case topLevelTypes.topContextMenu: + case topLevelTypes.topMouseUp: + mouseDown = false; + return constructSelectEvent(nativeEvent); + + // Chrome and IE fire non-standard event when selection is changed (and + // sometimes when it hasn't). + // Firefox doesn't support selectionchange, so check selection status + // after each key entry. The selection changes after keydown and before + // keyup, but we check on keydown as well in the case of holding down a + // key, when multiple keydown events are fired but only one keyup is. + case topLevelTypes.topSelectionChange: + case topLevelTypes.topKeyDown: + case topLevelTypes.topKeyUp: + return constructSelectEvent(nativeEvent); + } + } +}; + +module.exports = SelectEventPlugin; + +},{"121":121,"138":138,"141":141,"15":15,"150":150,"20":20,"65":65,"95":95}],90:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ServerReactRootIndex + * @typechecks + */ + +'use strict'; + +/** + * Size of the reactRoot ID space. We generate random numbers for React root + * IDs and if there's a collision the events and DOM update system will + * get confused. In the future we need a way to generate GUIDs but for + * now this will work on a smaller scale. + */ +var GLOBAL_MOUNT_POINT_MAX = Math.pow(2, 53); + +var ServerReactRootIndex = { + createReactRootIndex: function() { + return Math.ceil(Math.random() * GLOBAL_MOUNT_POINT_MAX); + } +}; + +module.exports = ServerReactRootIndex; + +},{}],91:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SimpleEventPlugin + */ + +'use strict'; + +var EventConstants = _dereq_(15); +var EventPluginUtils = _dereq_(19); +var EventPropagators = _dereq_(20); +var SyntheticClipboardEvent = _dereq_(92); +var SyntheticEvent = _dereq_(95); +var SyntheticFocusEvent = _dereq_(96); +var SyntheticKeyboardEvent = _dereq_(98); +var SyntheticMouseEvent = _dereq_(99); +var SyntheticDragEvent = _dereq_(94); +var SyntheticTouchEvent = _dereq_(100); +var SyntheticUIEvent = _dereq_(101); +var SyntheticWheelEvent = _dereq_(102); + +var getEventCharCode = _dereq_(122); + +var invariant = _dereq_(135); +var keyOf = _dereq_(141); +var warning = _dereq_(154); + +var topLevelTypes = EventConstants.topLevelTypes; + +var eventTypes = { + blur: { + phasedRegistrationNames: { + bubbled: keyOf({onBlur: true}), + captured: keyOf({onBlurCapture: true}) + } + }, + click: { + phasedRegistrationNames: { + bubbled: keyOf({onClick: true}), + captured: keyOf({onClickCapture: true}) + } + }, + contextMenu: { + phasedRegistrationNames: { + bubbled: keyOf({onContextMenu: true}), + captured: keyOf({onContextMenuCapture: true}) + } + }, + copy: { + phasedRegistrationNames: { + bubbled: keyOf({onCopy: true}), + captured: keyOf({onCopyCapture: true}) + } + }, + cut: { + phasedRegistrationNames: { + bubbled: keyOf({onCut: true}), + captured: keyOf({onCutCapture: true}) + } + }, + doubleClick: { + phasedRegistrationNames: { + bubbled: keyOf({onDoubleClick: true}), + captured: keyOf({onDoubleClickCapture: true}) + } + }, + drag: { + phasedRegistrationNames: { + bubbled: keyOf({onDrag: true}), + captured: keyOf({onDragCapture: true}) + } + }, + dragEnd: { + phasedRegistrationNames: { + bubbled: keyOf({onDragEnd: true}), + captured: keyOf({onDragEndCapture: true}) + } + }, + dragEnter: { + phasedRegistrationNames: { + bubbled: keyOf({onDragEnter: true}), + captured: keyOf({onDragEnterCapture: true}) + } + }, + dragExit: { + phasedRegistrationNames: { + bubbled: keyOf({onDragExit: true}), + captured: keyOf({onDragExitCapture: true}) + } + }, + dragLeave: { + phasedRegistrationNames: { + bubbled: keyOf({onDragLeave: true}), + captured: keyOf({onDragLeaveCapture: true}) + } + }, + dragOver: { + phasedRegistrationNames: { + bubbled: keyOf({onDragOver: true}), + captured: keyOf({onDragOverCapture: true}) + } + }, + dragStart: { + phasedRegistrationNames: { + bubbled: keyOf({onDragStart: true}), + captured: keyOf({onDragStartCapture: true}) + } + }, + drop: { + phasedRegistrationNames: { + bubbled: keyOf({onDrop: true}), + captured: keyOf({onDropCapture: true}) + } + }, + focus: { + phasedRegistrationNames: { + bubbled: keyOf({onFocus: true}), + captured: keyOf({onFocusCapture: true}) + } + }, + input: { + phasedRegistrationNames: { + bubbled: keyOf({onInput: true}), + captured: keyOf({onInputCapture: true}) + } + }, + keyDown: { + phasedRegistrationNames: { + bubbled: keyOf({onKeyDown: true}), + captured: keyOf({onKeyDownCapture: true}) + } + }, + keyPress: { + phasedRegistrationNames: { + bubbled: keyOf({onKeyPress: true}), + captured: keyOf({onKeyPressCapture: true}) + } + }, + keyUp: { + phasedRegistrationNames: { + bubbled: keyOf({onKeyUp: true}), + captured: keyOf({onKeyUpCapture: true}) + } + }, + load: { + phasedRegistrationNames: { + bubbled: keyOf({onLoad: true}), + captured: keyOf({onLoadCapture: true}) + } + }, + error: { + phasedRegistrationNames: { + bubbled: keyOf({onError: true}), + captured: keyOf({onErrorCapture: true}) + } + }, + // Note: We do not allow listening to mouseOver events. Instead, use the + // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`. + mouseDown: { + phasedRegistrationNames: { + bubbled: keyOf({onMouseDown: true}), + captured: keyOf({onMouseDownCapture: true}) + } + }, + mouseMove: { + phasedRegistrationNames: { + bubbled: keyOf({onMouseMove: true}), + captured: keyOf({onMouseMoveCapture: true}) + } + }, + mouseOut: { + phasedRegistrationNames: { + bubbled: keyOf({onMouseOut: true}), + captured: keyOf({onMouseOutCapture: true}) + } + }, + mouseOver: { + phasedRegistrationNames: { + bubbled: keyOf({onMouseOver: true}), + captured: keyOf({onMouseOverCapture: true}) + } + }, + mouseUp: { + phasedRegistrationNames: { + bubbled: keyOf({onMouseUp: true}), + captured: keyOf({onMouseUpCapture: true}) + } + }, + paste: { + phasedRegistrationNames: { + bubbled: keyOf({onPaste: true}), + captured: keyOf({onPasteCapture: true}) + } + }, + reset: { + phasedRegistrationNames: { + bubbled: keyOf({onReset: true}), + captured: keyOf({onResetCapture: true}) + } + }, + scroll: { + phasedRegistrationNames: { + bubbled: keyOf({onScroll: true}), + captured: keyOf({onScrollCapture: true}) + } + }, + submit: { + phasedRegistrationNames: { + bubbled: keyOf({onSubmit: true}), + captured: keyOf({onSubmitCapture: true}) + } + }, + touchCancel: { + phasedRegistrationNames: { + bubbled: keyOf({onTouchCancel: true}), + captured: keyOf({onTouchCancelCapture: true}) + } + }, + touchEnd: { + phasedRegistrationNames: { + bubbled: keyOf({onTouchEnd: true}), + captured: keyOf({onTouchEndCapture: true}) + } + }, + touchMove: { + phasedRegistrationNames: { + bubbled: keyOf({onTouchMove: true}), + captured: keyOf({onTouchMoveCapture: true}) + } + }, + touchStart: { + phasedRegistrationNames: { + bubbled: keyOf({onTouchStart: true}), + captured: keyOf({onTouchStartCapture: true}) + } + }, + wheel: { + phasedRegistrationNames: { + bubbled: keyOf({onWheel: true}), + captured: keyOf({onWheelCapture: true}) + } + } +}; + +var topLevelEventsToDispatchConfig = { + topBlur: eventTypes.blur, + topClick: eventTypes.click, + topContextMenu: eventTypes.contextMenu, + topCopy: eventTypes.copy, + topCut: eventTypes.cut, + topDoubleClick: eventTypes.doubleClick, + topDrag: eventTypes.drag, + topDragEnd: eventTypes.dragEnd, + topDragEnter: eventTypes.dragEnter, + topDragExit: eventTypes.dragExit, + topDragLeave: eventTypes.dragLeave, + topDragOver: eventTypes.dragOver, + topDragStart: eventTypes.dragStart, + topDrop: eventTypes.drop, + topError: eventTypes.error, + topFocus: eventTypes.focus, + topInput: eventTypes.input, + topKeyDown: eventTypes.keyDown, + topKeyPress: eventTypes.keyPress, + topKeyUp: eventTypes.keyUp, + topLoad: eventTypes.load, + topMouseDown: eventTypes.mouseDown, + topMouseMove: eventTypes.mouseMove, + topMouseOut: eventTypes.mouseOut, + topMouseOver: eventTypes.mouseOver, + topMouseUp: eventTypes.mouseUp, + topPaste: eventTypes.paste, + topReset: eventTypes.reset, + topScroll: eventTypes.scroll, + topSubmit: eventTypes.submit, + topTouchCancel: eventTypes.touchCancel, + topTouchEnd: eventTypes.touchEnd, + topTouchMove: eventTypes.touchMove, + topTouchStart: eventTypes.touchStart, + topWheel: eventTypes.wheel +}; + +for (var type in topLevelEventsToDispatchConfig) { + topLevelEventsToDispatchConfig[type].dependencies = [type]; +} + +var SimpleEventPlugin = { + + eventTypes: eventTypes, + + /** + * Same as the default implementation, except cancels the event when return + * value is false. This behavior will be disabled in a future release. + * + * @param {object} Event to be dispatched. + * @param {function} Application-level callback. + * @param {string} domID DOM ID to pass to the callback. + */ + executeDispatch: function(event, listener, domID) { + var returnValue = EventPluginUtils.executeDispatch(event, listener, domID); + + ("production" !== "development" ? warning( + typeof returnValue !== 'boolean', + 'Returning `false` from an event handler is deprecated and will be ' + + 'ignored in a future release. Instead, manually call ' + + 'e.stopPropagation() or e.preventDefault(), as appropriate.' + ) : null); + + if (returnValue === false) { + event.stopPropagation(); + event.preventDefault(); + } + }, + + /** + * @param {string} topLevelType Record from `EventConstants`. + * @param {DOMEventTarget} topLevelTarget The listening component root node. + * @param {string} topLevelTargetID ID of `topLevelTarget`. + * @param {object} nativeEvent Native browser event. + * @return {*} An accumulation of synthetic events. + * @see {EventPluginHub.extractEvents} + */ + extractEvents: function( + topLevelType, + topLevelTarget, + topLevelTargetID, + nativeEvent) { + var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType]; + if (!dispatchConfig) { + return null; + } + var EventConstructor; + switch (topLevelType) { + case topLevelTypes.topInput: + case topLevelTypes.topLoad: + case topLevelTypes.topError: + case topLevelTypes.topReset: + case topLevelTypes.topSubmit: + // HTML Events + // @see http://www.w3.org/TR/html5/index.html#events-0 + EventConstructor = SyntheticEvent; + break; + case topLevelTypes.topKeyPress: + // FireFox creates a keypress event for function keys too. This removes + // the unwanted keypress events. Enter is however both printable and + // non-printable. One would expect Tab to be as well (but it isn't). + if (getEventCharCode(nativeEvent) === 0) { + return null; + } + /* falls through */ + case topLevelTypes.topKeyDown: + case topLevelTypes.topKeyUp: + EventConstructor = SyntheticKeyboardEvent; + break; + case topLevelTypes.topBlur: + case topLevelTypes.topFocus: + EventConstructor = SyntheticFocusEvent; + break; + case topLevelTypes.topClick: + // Firefox creates a click event on right mouse clicks. This removes the + // unwanted click events. + if (nativeEvent.button === 2) { + return null; + } + /* falls through */ + case topLevelTypes.topContextMenu: + case topLevelTypes.topDoubleClick: + case topLevelTypes.topMouseDown: + case topLevelTypes.topMouseMove: + case topLevelTypes.topMouseOut: + case topLevelTypes.topMouseOver: + case topLevelTypes.topMouseUp: + EventConstructor = SyntheticMouseEvent; + break; + case topLevelTypes.topDrag: + case topLevelTypes.topDragEnd: + case topLevelTypes.topDragEnter: + case topLevelTypes.topDragExit: + case topLevelTypes.topDragLeave: + case topLevelTypes.topDragOver: + case topLevelTypes.topDragStart: + case topLevelTypes.topDrop: + EventConstructor = SyntheticDragEvent; + break; + case topLevelTypes.topTouchCancel: + case topLevelTypes.topTouchEnd: + case topLevelTypes.topTouchMove: + case topLevelTypes.topTouchStart: + EventConstructor = SyntheticTouchEvent; + break; + case topLevelTypes.topScroll: + EventConstructor = SyntheticUIEvent; + break; + case topLevelTypes.topWheel: + EventConstructor = SyntheticWheelEvent; + break; + case topLevelTypes.topCopy: + case topLevelTypes.topCut: + case topLevelTypes.topPaste: + EventConstructor = SyntheticClipboardEvent; + break; + } + ("production" !== "development" ? invariant( + EventConstructor, + 'SimpleEventPlugin: Unhandled event type, `%s`.', + topLevelType + ) : invariant(EventConstructor)); + var event = EventConstructor.getPooled( + dispatchConfig, + topLevelTargetID, + nativeEvent + ); + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + } + +}; + +module.exports = SimpleEventPlugin; + +},{"100":100,"101":101,"102":102,"122":122,"135":135,"141":141,"15":15,"154":154,"19":19,"20":20,"92":92,"94":94,"95":95,"96":96,"98":98,"99":99}],92:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticClipboardEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticEvent = _dereq_(95); + +/** + * @interface Event + * @see http://www.w3.org/TR/clipboard-apis/ + */ +var ClipboardEventInterface = { + clipboardData: function(event) { + return ( + 'clipboardData' in event ? + event.clipboardData : + window.clipboardData + ); + } +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface); + +module.exports = SyntheticClipboardEvent; + +},{"95":95}],93:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticCompositionEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticEvent = _dereq_(95); + +/** + * @interface Event + * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents + */ +var CompositionEventInterface = { + data: null +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticCompositionEvent( + dispatchConfig, + dispatchMarker, + nativeEvent) { + SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticEvent.augmentClass( + SyntheticCompositionEvent, + CompositionEventInterface +); + +module.exports = SyntheticCompositionEvent; + +},{"95":95}],94:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticDragEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticMouseEvent = _dereq_(99); + +/** + * @interface DragEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var DragEventInterface = { + dataTransfer: null +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface); + +module.exports = SyntheticDragEvent; + +},{"99":99}],95:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticEvent + * @typechecks static-only + */ + +'use strict'; + +var PooledClass = _dereq_(28); + +var assign = _dereq_(27); +var emptyFunction = _dereq_(114); +var getEventTarget = _dereq_(125); + +/** + * @interface Event + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var EventInterface = { + type: null, + target: getEventTarget, + // currentTarget is set when dispatching; no use in copying it here + currentTarget: emptyFunction.thatReturnsNull, + eventPhase: null, + bubbles: null, + cancelable: null, + timeStamp: function(event) { + return event.timeStamp || Date.now(); + }, + defaultPrevented: null, + isTrusted: null +}; + +/** + * Synthetic events are dispatched by event plugins, typically in response to a + * top-level event delegation handler. + * + * These systems should generally use pooling to reduce the frequency of garbage + * collection. The system should check `isPersistent` to determine whether the + * event should be released into the pool after being dispatched. Users that + * need a persisted event should invoke `persist`. + * + * Synthetic events (and subclasses) implement the DOM Level 3 Events API by + * normalizing browser quirks. Subclasses do not necessarily have to implement a + * DOM interface; custom application-specific events can also subclass this. + * + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + */ +function SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent) { + this.dispatchConfig = dispatchConfig; + this.dispatchMarker = dispatchMarker; + this.nativeEvent = nativeEvent; + + var Interface = this.constructor.Interface; + for (var propName in Interface) { + if (!Interface.hasOwnProperty(propName)) { + continue; + } + var normalize = Interface[propName]; + if (normalize) { + this[propName] = normalize(nativeEvent); + } else { + this[propName] = nativeEvent[propName]; + } + } + + var defaultPrevented = nativeEvent.defaultPrevented != null ? + nativeEvent.defaultPrevented : + nativeEvent.returnValue === false; + if (defaultPrevented) { + this.isDefaultPrevented = emptyFunction.thatReturnsTrue; + } else { + this.isDefaultPrevented = emptyFunction.thatReturnsFalse; + } + this.isPropagationStopped = emptyFunction.thatReturnsFalse; +} + +assign(SyntheticEvent.prototype, { + + preventDefault: function() { + this.defaultPrevented = true; + var event = this.nativeEvent; + if (event.preventDefault) { + event.preventDefault(); + } else { + event.returnValue = false; + } + this.isDefaultPrevented = emptyFunction.thatReturnsTrue; + }, + + stopPropagation: function() { + var event = this.nativeEvent; + if (event.stopPropagation) { + event.stopPropagation(); + } else { + event.cancelBubble = true; + } + this.isPropagationStopped = emptyFunction.thatReturnsTrue; + }, + + /** + * We release all dispatched `SyntheticEvent`s after each event loop, adding + * them back into the pool. This allows a way to hold onto a reference that + * won't be added back into the pool. + */ + persist: function() { + this.isPersistent = emptyFunction.thatReturnsTrue; + }, + + /** + * Checks if this event should be released back into the pool. + * + * @return {boolean} True if this should not be released, false otherwise. + */ + isPersistent: emptyFunction.thatReturnsFalse, + + /** + * `PooledClass` looks for `destructor` on each instance it releases. + */ + destructor: function() { + var Interface = this.constructor.Interface; + for (var propName in Interface) { + this[propName] = null; + } + this.dispatchConfig = null; + this.dispatchMarker = null; + this.nativeEvent = null; + } + +}); + +SyntheticEvent.Interface = EventInterface; + +/** + * Helper to reduce boilerplate when creating subclasses. + * + * @param {function} Class + * @param {?object} Interface + */ +SyntheticEvent.augmentClass = function(Class, Interface) { + var Super = this; + + var prototype = Object.create(Super.prototype); + assign(prototype, Class.prototype); + Class.prototype = prototype; + Class.prototype.constructor = Class; + + Class.Interface = assign({}, Super.Interface, Interface); + Class.augmentClass = Super.augmentClass; + + PooledClass.addPoolingTo(Class, PooledClass.threeArgumentPooler); +}; + +PooledClass.addPoolingTo(SyntheticEvent, PooledClass.threeArgumentPooler); + +module.exports = SyntheticEvent; + +},{"114":114,"125":125,"27":27,"28":28}],96:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticFocusEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticUIEvent = _dereq_(101); + +/** + * @interface FocusEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var FocusEventInterface = { + relatedTarget: null +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface); + +module.exports = SyntheticFocusEvent; + +},{"101":101}],97:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticInputEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticEvent = _dereq_(95); + +/** + * @interface Event + * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105 + * /#events-inputevents + */ +var InputEventInterface = { + data: null +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticInputEvent( + dispatchConfig, + dispatchMarker, + nativeEvent) { + SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticEvent.augmentClass( + SyntheticInputEvent, + InputEventInterface +); + +module.exports = SyntheticInputEvent; + +},{"95":95}],98:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticKeyboardEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticUIEvent = _dereq_(101); + +var getEventCharCode = _dereq_(122); +var getEventKey = _dereq_(123); +var getEventModifierState = _dereq_(124); + +/** + * @interface KeyboardEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var KeyboardEventInterface = { + key: getEventKey, + location: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + repeat: null, + locale: null, + getModifierState: getEventModifierState, + // Legacy Interface + charCode: function(event) { + // `charCode` is the result of a KeyPress event and represents the value of + // the actual printable character. + + // KeyPress is deprecated, but its replacement is not yet final and not + // implemented in any major browser. Only KeyPress has charCode. + if (event.type === 'keypress') { + return getEventCharCode(event); + } + return 0; + }, + keyCode: function(event) { + // `keyCode` is the result of a KeyDown/Up event and represents the value of + // physical keyboard key. + + // The actual meaning of the value depends on the users' keyboard layout + // which cannot be detected. Assuming that it is a US keyboard layout + // provides a surprisingly accurate mapping for US and European users. + // Due to this, it is left to the user to implement at this time. + if (event.type === 'keydown' || event.type === 'keyup') { + return event.keyCode; + } + return 0; + }, + which: function(event) { + // `which` is an alias for either `keyCode` or `charCode` depending on the + // type of the event. + if (event.type === 'keypress') { + return getEventCharCode(event); + } + if (event.type === 'keydown' || event.type === 'keyup') { + return event.keyCode; + } + return 0; + } +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface); + +module.exports = SyntheticKeyboardEvent; + +},{"101":101,"122":122,"123":123,"124":124}],99:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticMouseEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticUIEvent = _dereq_(101); +var ViewportMetrics = _dereq_(104); + +var getEventModifierState = _dereq_(124); + +/** + * @interface MouseEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var MouseEventInterface = { + screenX: null, + screenY: null, + clientX: null, + clientY: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + getModifierState: getEventModifierState, + button: function(event) { + // Webkit, Firefox, IE9+ + // which: 1 2 3 + // button: 0 1 2 (standard) + var button = event.button; + if ('which' in event) { + return button; + } + // IE<9 + // which: undefined + // button: 0 0 0 + // button: 1 4 2 (onmouseup) + return button === 2 ? 2 : button === 4 ? 1 : 0; + }, + buttons: null, + relatedTarget: function(event) { + return event.relatedTarget || ( + ((event.fromElement === event.srcElement ? event.toElement : event.fromElement)) + ); + }, + // "Proprietary" Interface. + pageX: function(event) { + return 'pageX' in event ? + event.pageX : + event.clientX + ViewportMetrics.currentScrollLeft; + }, + pageY: function(event) { + return 'pageY' in event ? + event.pageY : + event.clientY + ViewportMetrics.currentScrollTop; + } +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface); + +module.exports = SyntheticMouseEvent; + +},{"101":101,"104":104,"124":124}],100:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticTouchEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticUIEvent = _dereq_(101); + +var getEventModifierState = _dereq_(124); + +/** + * @interface TouchEvent + * @see http://www.w3.org/TR/touch-events/ + */ +var TouchEventInterface = { + touches: null, + targetTouches: null, + changedTouches: null, + altKey: null, + metaKey: null, + ctrlKey: null, + shiftKey: null, + getModifierState: getEventModifierState +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticUIEvent} + */ +function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface); + +module.exports = SyntheticTouchEvent; + +},{"101":101,"124":124}],101:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticUIEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticEvent = _dereq_(95); + +var getEventTarget = _dereq_(125); + +/** + * @interface UIEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var UIEventInterface = { + view: function(event) { + if (event.view) { + return event.view; + } + + var target = getEventTarget(event); + if (target != null && target.window === target) { + // target is a window object + return target; + } + + var doc = target.ownerDocument; + // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8. + if (doc) { + return doc.defaultView || doc.parentWindow; + } else { + return window; + } + }, + detail: function(event) { + return event.detail || 0; + } +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticEvent} + */ +function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface); + +module.exports = SyntheticUIEvent; + +},{"125":125,"95":95}],102:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule SyntheticWheelEvent + * @typechecks static-only + */ + +'use strict'; + +var SyntheticMouseEvent = _dereq_(99); + +/** + * @interface WheelEvent + * @see http://www.w3.org/TR/DOM-Level-3-Events/ + */ +var WheelEventInterface = { + deltaX: function(event) { + return ( + 'deltaX' in event ? event.deltaX : + // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive). + 'wheelDeltaX' in event ? -event.wheelDeltaX : 0 + ); + }, + deltaY: function(event) { + return ( + 'deltaY' in event ? event.deltaY : + // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive). + 'wheelDeltaY' in event ? -event.wheelDeltaY : + // Fallback to `wheelDelta` for IE<9 and normalize (down is positive). + 'wheelDelta' in event ? -event.wheelDelta : 0 + ); + }, + deltaZ: null, + + // Browsers without "deltaMode" is reporting in raw wheel delta where one + // notch on the scroll is always +/- 120, roughly equivalent to pixels. + // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or + // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size. + deltaMode: null +}; + +/** + * @param {object} dispatchConfig Configuration used to dispatch this event. + * @param {string} dispatchMarker Marker identifying the event target. + * @param {object} nativeEvent Native browser event. + * @extends {SyntheticMouseEvent} + */ +function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent) { + SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent); +} + +SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface); + +module.exports = SyntheticWheelEvent; + +},{"99":99}],103:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule Transaction + */ + +'use strict'; + +var invariant = _dereq_(135); + +/** + * `Transaction` creates a black box that is able to wrap any method such that + * certain invariants are maintained before and after the method is invoked + * (Even if an exception is thrown while invoking the wrapped method). Whoever + * instantiates a transaction can provide enforcers of the invariants at + * creation time. The `Transaction` class itself will supply one additional + * automatic invariant for you - the invariant that any transaction instance + * should not be run while it is already being run. You would typically create a + * single instance of a `Transaction` for reuse multiple times, that potentially + * is used to wrap several different methods. Wrappers are extremely simple - + * they only require implementing two methods. + * + * <pre> + * wrappers (injected at creation time) + * + + + * | | + * +-----------------|--------|--------------+ + * | v | | + * | +---------------+ | | + * | +--| wrapper1 |---|----+ | + * | | +---------------+ v | | + * | | +-------------+ | | + * | | +----| wrapper2 |--------+ | + * | | | +-------------+ | | | + * | | | | | | + * | v v v v | wrapper + * | +---+ +---+ +---------+ +---+ +---+ | invariants + * perform(anyMethod) | | | | | | | | | | | | maintained + * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|--------> + * | | | | | | | | | | | | + * | | | | | | | | | | | | + * | | | | | | | | | | | | + * | +---+ +---+ +---------+ +---+ +---+ | + * | initialize close | + * +-----------------------------------------+ + * </pre> + * + * Use cases: + * - Preserving the input selection ranges before/after reconciliation. + * Restoring selection even in the event of an unexpected error. + * - Deactivating events while rearranging the DOM, preventing blurs/focuses, + * while guaranteeing that afterwards, the event system is reactivated. + * - Flushing a queue of collected DOM mutations to the main UI thread after a + * reconciliation takes place in a worker thread. + * - Invoking any collected `componentDidUpdate` callbacks after rendering new + * content. + * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue + * to preserve the `scrollTop` (an automatic scroll aware DOM). + * - (Future use case): Layout calculations before and after DOM updates. + * + * Transactional plugin API: + * - A module that has an `initialize` method that returns any precomputation. + * - and a `close` method that accepts the precomputation. `close` is invoked + * when the wrapped process is completed, or has failed. + * + * @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules + * that implement `initialize` and `close`. + * @return {Transaction} Single transaction for reuse in thread. + * + * @class Transaction + */ +var Mixin = { + /** + * Sets up this instance so that it is prepared for collecting metrics. Does + * so such that this setup method may be used on an instance that is already + * initialized, in a way that does not consume additional memory upon reuse. + * That can be useful if you decide to make your subclass of this mixin a + * "PooledClass". + */ + reinitializeTransaction: function() { + this.transactionWrappers = this.getTransactionWrappers(); + if (!this.wrapperInitData) { + this.wrapperInitData = []; + } else { + this.wrapperInitData.length = 0; + } + this._isInTransaction = false; + }, + + _isInTransaction: false, + + /** + * @abstract + * @return {Array<TransactionWrapper>} Array of transaction wrappers. + */ + getTransactionWrappers: null, + + isInTransaction: function() { + return !!this._isInTransaction; + }, + + /** + * Executes the function within a safety window. Use this for the top level + * methods that result in large amounts of computation/mutations that would + * need to be safety checked. + * + * @param {function} method Member of scope to call. + * @param {Object} scope Scope to invoke from. + * @param {Object?=} args... Arguments to pass to the method (optional). + * Helps prevent need to bind in many cases. + * @return Return value from `method`. + */ + perform: function(method, scope, a, b, c, d, e, f) { + ("production" !== "development" ? invariant( + !this.isInTransaction(), + 'Transaction.perform(...): Cannot initialize a transaction when there ' + + 'is already an outstanding transaction.' + ) : invariant(!this.isInTransaction())); + var errorThrown; + var ret; + try { + this._isInTransaction = true; + // Catching errors makes debugging more difficult, so we start with + // errorThrown set to true before setting it to false after calling + // close -- if it's still set to true in the finally block, it means + // one of these calls threw. + errorThrown = true; + this.initializeAll(0); + ret = method.call(scope, a, b, c, d, e, f); + errorThrown = false; + } finally { + try { + if (errorThrown) { + // If `method` throws, prefer to show that stack trace over any thrown + // by invoking `closeAll`. + try { + this.closeAll(0); + } catch (err) { + } + } else { + // Since `method` didn't throw, we don't want to silence the exception + // here. + this.closeAll(0); + } + } finally { + this._isInTransaction = false; + } + } + return ret; + }, + + initializeAll: function(startIndex) { + var transactionWrappers = this.transactionWrappers; + for (var i = startIndex; i < transactionWrappers.length; i++) { + var wrapper = transactionWrappers[i]; + try { + // Catching errors makes debugging more difficult, so we start with the + // OBSERVED_ERROR state before overwriting it with the real return value + // of initialize -- if it's still set to OBSERVED_ERROR in the finally + // block, it means wrapper.initialize threw. + this.wrapperInitData[i] = Transaction.OBSERVED_ERROR; + this.wrapperInitData[i] = wrapper.initialize ? + wrapper.initialize.call(this) : + null; + } finally { + if (this.wrapperInitData[i] === Transaction.OBSERVED_ERROR) { + // The initializer for wrapper i threw an error; initialize the + // remaining wrappers but silence any exceptions from them to ensure + // that the first error is the one to bubble up. + try { + this.initializeAll(i + 1); + } catch (err) { + } + } + } + } + }, + + /** + * Invokes each of `this.transactionWrappers.close[i]` functions, passing into + * them the respective return values of `this.transactionWrappers.init[i]` + * (`close`rs that correspond to initializers that failed will not be + * invoked). + */ + closeAll: function(startIndex) { + ("production" !== "development" ? invariant( + this.isInTransaction(), + 'Transaction.closeAll(): Cannot close transaction when none are open.' + ) : invariant(this.isInTransaction())); + var transactionWrappers = this.transactionWrappers; + for (var i = startIndex; i < transactionWrappers.length; i++) { + var wrapper = transactionWrappers[i]; + var initData = this.wrapperInitData[i]; + var errorThrown; + try { + // Catching errors makes debugging more difficult, so we start with + // errorThrown set to true before setting it to false after calling + // close -- if it's still set to true in the finally block, it means + // wrapper.close threw. + errorThrown = true; + if (initData !== Transaction.OBSERVED_ERROR && wrapper.close) { + wrapper.close.call(this, initData); + } + errorThrown = false; + } finally { + if (errorThrown) { + // The closer for wrapper i threw an error; close the remaining + // wrappers but silence any exceptions from them to ensure that the + // first error is the one to bubble up. + try { + this.closeAll(i + 1); + } catch (e) { + } + } + } + } + this.wrapperInitData.length = 0; + } +}; + +var Transaction = { + + Mixin: Mixin, + + /** + * Token to look for to determine if an error occured. + */ + OBSERVED_ERROR: {} + +}; + +module.exports = Transaction; + +},{"135":135}],104:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule ViewportMetrics + */ + +'use strict'; + +var ViewportMetrics = { + + currentScrollLeft: 0, + + currentScrollTop: 0, + + refreshScrollValues: function(scrollPosition) { + ViewportMetrics.currentScrollLeft = scrollPosition.x; + ViewportMetrics.currentScrollTop = scrollPosition.y; + } + +}; + +module.exports = ViewportMetrics; + +},{}],105:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule accumulateInto + */ + +'use strict'; + +var invariant = _dereq_(135); + +/** + * + * Accumulates items that must not be null or undefined into the first one. This + * is used to conserve memory by avoiding array allocations, and thus sacrifices + * API cleanness. Since `current` can be null before being passed in and not + * null after this function, make sure to assign it back to `current`: + * + * `a = accumulateInto(a, b);` + * + * This API should be sparingly used. Try `accumulate` for something cleaner. + * + * @return {*|array<*>} An accumulation of items. + */ + +function accumulateInto(current, next) { + ("production" !== "development" ? invariant( + next != null, + 'accumulateInto(...): Accumulated items must not be null or undefined.' + ) : invariant(next != null)); + if (current == null) { + return next; + } + + // Both are not empty. Warning: Never call x.concat(y) when you are not + // certain that x is an Array (x could be a string with concat method). + var currentIsArray = Array.isArray(current); + var nextIsArray = Array.isArray(next); + + if (currentIsArray && nextIsArray) { + current.push.apply(current, next); + return current; + } + + if (currentIsArray) { + current.push(next); + return current; + } + + if (nextIsArray) { + // A bit too dangerous to mutate `next`. + return [current].concat(next); + } + + return [current, next]; +} + +module.exports = accumulateInto; + +},{"135":135}],106:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule adler32 + */ + +/* jslint bitwise:true */ + +'use strict'; + +var MOD = 65521; + +// This is a clean-room implementation of adler32 designed for detecting +// if markup is not what we expect it to be. It does not need to be +// cryptographically strong, only reasonably good at detecting if markup +// generated on the server is different than that on the client. +function adler32(data) { + var a = 1; + var b = 0; + for (var i = 0; i < data.length; i++) { + a = (a + data.charCodeAt(i)) % MOD; + b = (b + a) % MOD; + } + return a | (b << 16); +} + +module.exports = adler32; + +},{}],107:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule camelize + * @typechecks + */ + +var _hyphenPattern = /-(.)/g; + +/** + * Camelcases a hyphenated string, for example: + * + * > camelize('background-color') + * < "backgroundColor" + * + * @param {string} string + * @return {string} + */ +function camelize(string) { + return string.replace(_hyphenPattern, function(_, character) { + return character.toUpperCase(); + }); +} + +module.exports = camelize; + +},{}],108:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule camelizeStyleName + * @typechecks + */ + +"use strict"; + +var camelize = _dereq_(107); + +var msPattern = /^-ms-/; + +/** + * Camelcases a hyphenated CSS property name, for example: + * + * > camelizeStyleName('background-color') + * < "backgroundColor" + * > camelizeStyleName('-moz-transition') + * < "MozTransition" + * > camelizeStyleName('-ms-transition') + * < "msTransition" + * + * As Andi Smith suggests + * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix + * is converted to lowercase `ms`. + * + * @param {string} string + * @return {string} + */ +function camelizeStyleName(string) { + return camelize(string.replace(msPattern, 'ms-')); +} + +module.exports = camelizeStyleName; + +},{"107":107}],109:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule containsNode + * @typechecks + */ + +var isTextNode = _dereq_(139); + +/*jslint bitwise:true */ + +/** + * Checks if a given DOM node contains or is another DOM node. + * + * @param {?DOMNode} outerNode Outer DOM node. + * @param {?DOMNode} innerNode Inner DOM node. + * @return {boolean} True if `outerNode` contains or is `innerNode`. + */ +function containsNode(outerNode, innerNode) { + if (!outerNode || !innerNode) { + return false; + } else if (outerNode === innerNode) { + return true; + } else if (isTextNode(outerNode)) { + return false; + } else if (isTextNode(innerNode)) { + return containsNode(outerNode, innerNode.parentNode); + } else if (outerNode.contains) { + return outerNode.contains(innerNode); + } else if (outerNode.compareDocumentPosition) { + return !!(outerNode.compareDocumentPosition(innerNode) & 16); + } else { + return false; + } +} + +module.exports = containsNode; + +},{"139":139}],110:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule createArrayFromMixed + * @typechecks + */ + +var toArray = _dereq_(152); + +/** + * Perform a heuristic test to determine if an object is "array-like". + * + * A monk asked Joshu, a Zen master, "Has a dog Buddha nature?" + * Joshu replied: "Mu." + * + * This function determines if its argument has "array nature": it returns + * true if the argument is an actual array, an `arguments' object, or an + * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()). + * + * It will return false for other array-like objects like Filelist. + * + * @param {*} obj + * @return {boolean} + */ +function hasArrayNature(obj) { + return ( + // not null/false + !!obj && + // arrays are objects, NodeLists are functions in Safari + (typeof obj == 'object' || typeof obj == 'function') && + // quacks like an array + ('length' in obj) && + // not window + !('setInterval' in obj) && + // no DOM node should be considered an array-like + // a 'select' element has 'length' and 'item' properties on IE8 + (typeof obj.nodeType != 'number') && + ( + // a real array + (// HTMLCollection/NodeList + (Array.isArray(obj) || + // arguments + ('callee' in obj) || 'item' in obj)) + ) + ); +} + +/** + * Ensure that the argument is an array by wrapping it in an array if it is not. + * Creates a copy of the argument if it is already an array. + * + * This is mostly useful idiomatically: + * + * var createArrayFromMixed = require('createArrayFromMixed'); + * + * function takesOneOrMoreThings(things) { + * things = createArrayFromMixed(things); + * ... + * } + * + * This allows you to treat `things' as an array, but accept scalars in the API. + * + * If you need to convert an array-like object, like `arguments`, into an array + * use toArray instead. + * + * @param {*} obj + * @return {array} + */ +function createArrayFromMixed(obj) { + if (!hasArrayNature(obj)) { + return [obj]; + } else if (Array.isArray(obj)) { + return obj.slice(); + } else { + return toArray(obj); + } +} + +module.exports = createArrayFromMixed; + +},{"152":152}],111:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule createFullPageComponent + * @typechecks + */ + +'use strict'; + +// Defeat circular references by requiring this directly. +var ReactClass = _dereq_(33); +var ReactElement = _dereq_(57); + +var invariant = _dereq_(135); + +/** + * Create a component that will throw an exception when unmounted. + * + * Components like <html> <head> and <body> can't be removed or added + * easily in a cross-browser way, however it's valuable to be able to + * take advantage of React's reconciliation for styling and <title> + * management. So we just document it and throw in dangerous cases. + * + * @param {string} tag The tag to wrap + * @return {function} convenience constructor of new component + */ +function createFullPageComponent(tag) { + var elementFactory = ReactElement.createFactory(tag); + + var FullPageComponent = ReactClass.createClass({ + tagName: tag.toUpperCase(), + displayName: 'ReactFullPageComponent' + tag, + + componentWillUnmount: function() { + ("production" !== "development" ? invariant( + false, + '%s tried to unmount. Because of cross-browser quirks it is ' + + 'impossible to unmount some top-level components (eg <html>, <head>, ' + + 'and <body>) reliably and efficiently. To fix this, have a single ' + + 'top-level component that never unmounts render these elements.', + this.constructor.displayName + ) : invariant(false)); + }, + + render: function() { + return elementFactory(this.props); + } + }); + + return FullPageComponent; +} + +module.exports = createFullPageComponent; + +},{"135":135,"33":33,"57":57}],112:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule createNodesFromMarkup + * @typechecks + */ + +/*jslint evil: true, sub: true */ + +var ExecutionEnvironment = _dereq_(21); + +var createArrayFromMixed = _dereq_(110); +var getMarkupWrap = _dereq_(127); +var invariant = _dereq_(135); + +/** + * Dummy container used to render all markup. + */ +var dummyNode = + ExecutionEnvironment.canUseDOM ? document.createElement('div') : null; + +/** + * Pattern used by `getNodeName`. + */ +var nodeNamePattern = /^\s*<(\w+)/; + +/** + * Extracts the `nodeName` of the first element in a string of markup. + * + * @param {string} markup String of markup. + * @return {?string} Node name of the supplied markup. + */ +function getNodeName(markup) { + var nodeNameMatch = markup.match(nodeNamePattern); + return nodeNameMatch && nodeNameMatch[1].toLowerCase(); +} + +/** + * Creates an array containing the nodes rendered from the supplied markup. The + * optionally supplied `handleScript` function will be invoked once for each + * <script> element that is rendered. If no `handleScript` function is supplied, + * an exception is thrown if any <script> elements are rendered. + * + * @param {string} markup A string of valid HTML markup. + * @param {?function} handleScript Invoked once for each rendered <script>. + * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes. + */ +function createNodesFromMarkup(markup, handleScript) { + var node = dummyNode; + ("production" !== "development" ? invariant(!!dummyNode, 'createNodesFromMarkup dummy not initialized') : invariant(!!dummyNode)); + var nodeName = getNodeName(markup); + + var wrap = nodeName && getMarkupWrap(nodeName); + if (wrap) { + node.innerHTML = wrap[1] + markup + wrap[2]; + + var wrapDepth = wrap[0]; + while (wrapDepth--) { + node = node.lastChild; + } + } else { + node.innerHTML = markup; + } + + var scripts = node.getElementsByTagName('script'); + if (scripts.length) { + ("production" !== "development" ? invariant( + handleScript, + 'createNodesFromMarkup(...): Unexpected <script> element rendered.' + ) : invariant(handleScript)); + createArrayFromMixed(scripts).forEach(handleScript); + } + + var nodes = createArrayFromMixed(node.childNodes); + while (node.lastChild) { + node.removeChild(node.lastChild); + } + return nodes; +} + +module.exports = createNodesFromMarkup; + +},{"110":110,"127":127,"135":135,"21":21}],113:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule dangerousStyleValue + * @typechecks static-only + */ + +'use strict'; + +var CSSProperty = _dereq_(4); + +var isUnitlessNumber = CSSProperty.isUnitlessNumber; + +/** + * Convert a value into the proper css writable value. The style name `name` + * should be logical (no hyphens), as specified + * in `CSSProperty.isUnitlessNumber`. + * + * @param {string} name CSS property name such as `topMargin`. + * @param {*} value CSS property value such as `10px`. + * @return {string} Normalized style value with dimensions applied. + */ +function dangerousStyleValue(name, value) { + // Note that we've removed escapeTextForBrowser() calls here since the + // whole string will be escaped when the attribute is injected into + // the markup. If you provide unsafe user data here they can inject + // arbitrary CSS which may be problematic (I couldn't repro this): + // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet + // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/ + // This is not an XSS hole but instead a potential CSS injection issue + // which has lead to a greater discussion about how we're going to + // trust URLs moving forward. See #2115901 + + var isEmpty = value == null || typeof value === 'boolean' || value === ''; + if (isEmpty) { + return ''; + } + + var isNonNumeric = isNaN(value); + if (isNonNumeric || value === 0 || + isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) { + return '' + value; // cast to string + } + + if (typeof value === 'string') { + value = value.trim(); + } + return value + 'px'; +} + +module.exports = dangerousStyleValue; + +},{"4":4}],114:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule emptyFunction + */ + +function makeEmptyFunction(arg) { + return function() { + return arg; + }; +} + +/** + * This function accepts and discards inputs; it has no side effects. This is + * primarily useful idiomatically for overridable function endpoints which + * always need to be callable, since JS lacks a null-call idiom ala Cocoa. + */ +function emptyFunction() {} + +emptyFunction.thatReturns = makeEmptyFunction; +emptyFunction.thatReturnsFalse = makeEmptyFunction(false); +emptyFunction.thatReturnsTrue = makeEmptyFunction(true); +emptyFunction.thatReturnsNull = makeEmptyFunction(null); +emptyFunction.thatReturnsThis = function() { return this; }; +emptyFunction.thatReturnsArgument = function(arg) { return arg; }; + +module.exports = emptyFunction; + +},{}],115:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule emptyObject + */ + +"use strict"; + +var emptyObject = {}; + +if ("production" !== "development") { + Object.freeze(emptyObject); +} + +module.exports = emptyObject; + +},{}],116:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule escapeTextContentForBrowser + */ + +'use strict'; + +var ESCAPE_LOOKUP = { + '&': '&', + '>': '>', + '<': '<', + '"': '"', + '\'': ''' +}; + +var ESCAPE_REGEX = /[&><"']/g; + +function escaper(match) { + return ESCAPE_LOOKUP[match]; +} + +/** + * Escapes text to prevent scripting attacks. + * + * @param {*} text Text value to escape. + * @return {string} An escaped string. + */ +function escapeTextContentForBrowser(text) { + return ('' + text).replace(ESCAPE_REGEX, escaper); +} + +module.exports = escapeTextContentForBrowser; + +},{}],117:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule findDOMNode + * @typechecks static-only + */ + +'use strict'; + +var ReactCurrentOwner = _dereq_(39); +var ReactInstanceMap = _dereq_(67); +var ReactMount = _dereq_(70); + +var invariant = _dereq_(135); +var isNode = _dereq_(137); +var warning = _dereq_(154); + +/** + * Returns the DOM node rendered by this element. + * + * @param {ReactComponent|DOMElement} componentOrElement + * @return {DOMElement} The root node of this element. + */ +function findDOMNode(componentOrElement) { + if ("production" !== "development") { + var owner = ReactCurrentOwner.current; + if (owner !== null) { + ("production" !== "development" ? warning( + owner._warnedAboutRefsInRender, + '%s is accessing getDOMNode or findDOMNode inside its render(). ' + + 'render() should be a pure function of props and state. It should ' + + 'never access something that requires stale data from the previous ' + + 'render, such as refs. Move this logic to componentDidMount and ' + + 'componentDidUpdate instead.', + owner.getName() || 'A component' + ) : null); + owner._warnedAboutRefsInRender = true; + } + } + if (componentOrElement == null) { + return null; + } + if (isNode(componentOrElement)) { + return componentOrElement; + } + if (ReactInstanceMap.has(componentOrElement)) { + return ReactMount.getNodeFromInstance(componentOrElement); + } + ("production" !== "development" ? invariant( + componentOrElement.render == null || + typeof componentOrElement.render !== 'function', + 'Component (with keys: %s) contains `render` method ' + + 'but is not mounted in the DOM', + Object.keys(componentOrElement) + ) : invariant(componentOrElement.render == null || + typeof componentOrElement.render !== 'function')); + ("production" !== "development" ? invariant( + false, + 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', + Object.keys(componentOrElement) + ) : invariant(false)); +} + +module.exports = findDOMNode; + +},{"135":135,"137":137,"154":154,"39":39,"67":67,"70":70}],118:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule flattenChildren + */ + +'use strict'; + +var traverseAllChildren = _dereq_(153); +var warning = _dereq_(154); + +/** + * @param {function} traverseContext Context passed through traversal. + * @param {?ReactComponent} child React child component. + * @param {!string} name String name of key path to child. + */ +function flattenSingleChildIntoContext(traverseContext, child, name) { + // We found a component instance. + var result = traverseContext; + var keyUnique = !result.hasOwnProperty(name); + if ("production" !== "development") { + ("production" !== "development" ? warning( + keyUnique, + 'flattenChildren(...): Encountered two children with the same key, ' + + '`%s`. Child keys must be unique; when two children share a key, only ' + + 'the first child will be used.', + name + ) : null); + } + if (keyUnique && child != null) { + result[name] = child; + } +} + +/** + * Flattens children that are typically specified as `props.children`. Any null + * children will not be included in the resulting object. + * @return {!object} flattened children keyed by name. + */ +function flattenChildren(children) { + if (children == null) { + return children; + } + var result = {}; + traverseAllChildren(children, flattenSingleChildIntoContext, result); + return result; +} + +module.exports = flattenChildren; + +},{"153":153,"154":154}],119:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule focusNode + */ + +"use strict"; + +/** + * @param {DOMElement} node input/textarea to focus + */ +function focusNode(node) { + // IE8 can throw "Can't move focus to the control because it is invisible, + // not enabled, or of a type that does not accept the focus." for all kinds of + // reasons that are too expensive and fragile to test. + try { + node.focus(); + } catch(e) { + } +} + +module.exports = focusNode; + +},{}],120:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule forEachAccumulated + */ + +'use strict'; + +/** + * @param {array} an "accumulation" of items which is either an Array or + * a single item. Useful when paired with the `accumulate` module. This is a + * simple utility that allows us to reason about a collection of items, but + * handling the case when there is exactly one item (and we do not need to + * allocate an array). + */ +var forEachAccumulated = function(arr, cb, scope) { + if (Array.isArray(arr)) { + arr.forEach(cb, scope); + } else if (arr) { + cb.call(scope, arr); + } +}; + +module.exports = forEachAccumulated; + +},{}],121:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getActiveElement + * @typechecks + */ + +/** + * Same as document.activeElement but wraps in a try-catch block. In IE it is + * not safe to call document.activeElement if there is nothing focused. + * + * The activeElement will be null only if the document body is not yet defined. + */ +function getActiveElement() /*?DOMElement*/ { + try { + return document.activeElement || document.body; + } catch (e) { + return document.body; + } +} + +module.exports = getActiveElement; + +},{}],122:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getEventCharCode + * @typechecks static-only + */ + +'use strict'; + +/** + * `charCode` represents the actual "character code" and is safe to use with + * `String.fromCharCode`. As such, only keys that correspond to printable + * characters produce a valid `charCode`, the only exception to this is Enter. + * The Tab-key is considered non-printable and does not have a `charCode`, + * presumably because it does not produce a tab-character in browsers. + * + * @param {object} nativeEvent Native browser event. + * @return {string} Normalized `charCode` property. + */ +function getEventCharCode(nativeEvent) { + var charCode; + var keyCode = nativeEvent.keyCode; + + if ('charCode' in nativeEvent) { + charCode = nativeEvent.charCode; + + // FF does not set `charCode` for the Enter-key, check against `keyCode`. + if (charCode === 0 && keyCode === 13) { + charCode = 13; + } + } else { + // IE8 does not implement `charCode`, but `keyCode` has the correct value. + charCode = keyCode; + } + + // Some non-printable keys are reported in `charCode`/`keyCode`, discard them. + // Must not discard the (non-)printable Enter-key. + if (charCode >= 32 || charCode === 13) { + return charCode; + } + + return 0; +} + +module.exports = getEventCharCode; + +},{}],123:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getEventKey + * @typechecks static-only + */ + +'use strict'; + +var getEventCharCode = _dereq_(122); + +/** + * Normalization of deprecated HTML5 `key` values + * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names + */ +var normalizeKey = { + 'Esc': 'Escape', + 'Spacebar': ' ', + 'Left': 'ArrowLeft', + 'Up': 'ArrowUp', + 'Right': 'ArrowRight', + 'Down': 'ArrowDown', + 'Del': 'Delete', + 'Win': 'OS', + 'Menu': 'ContextMenu', + 'Apps': 'ContextMenu', + 'Scroll': 'ScrollLock', + 'MozPrintableKey': 'Unidentified' +}; + +/** + * Translation from legacy `keyCode` to HTML5 `key` + * Only special keys supported, all others depend on keyboard layout or browser + * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names + */ +var translateToKey = { + 8: 'Backspace', + 9: 'Tab', + 12: 'Clear', + 13: 'Enter', + 16: 'Shift', + 17: 'Control', + 18: 'Alt', + 19: 'Pause', + 20: 'CapsLock', + 27: 'Escape', + 32: ' ', + 33: 'PageUp', + 34: 'PageDown', + 35: 'End', + 36: 'Home', + 37: 'ArrowLeft', + 38: 'ArrowUp', + 39: 'ArrowRight', + 40: 'ArrowDown', + 45: 'Insert', + 46: 'Delete', + 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6', + 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12', + 144: 'NumLock', + 145: 'ScrollLock', + 224: 'Meta' +}; + +/** + * @param {object} nativeEvent Native browser event. + * @return {string} Normalized `key` property. + */ +function getEventKey(nativeEvent) { + if (nativeEvent.key) { + // Normalize inconsistent values reported by browsers due to + // implementations of a working draft specification. + + // FireFox implements `key` but returns `MozPrintableKey` for all + // printable characters (normalized to `Unidentified`), ignore it. + var key = normalizeKey[nativeEvent.key] || nativeEvent.key; + if (key !== 'Unidentified') { + return key; + } + } + + // Browser does not implement `key`, polyfill as much of it as we can. + if (nativeEvent.type === 'keypress') { + var charCode = getEventCharCode(nativeEvent); + + // The enter-key is technically both printable and non-printable and can + // thus be captured by `keypress`, no other non-printable key should. + return charCode === 13 ? 'Enter' : String.fromCharCode(charCode); + } + if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') { + // While user keyboard layout determines the actual meaning of each + // `keyCode` value, almost all function keys have a universal value. + return translateToKey[nativeEvent.keyCode] || 'Unidentified'; + } + return ''; +} + +module.exports = getEventKey; + +},{"122":122}],124:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getEventModifierState + * @typechecks static-only + */ + +'use strict'; + +/** + * Translation from modifier key to the associated property in the event. + * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers + */ + +var modifierKeyToProp = { + 'Alt': 'altKey', + 'Control': 'ctrlKey', + 'Meta': 'metaKey', + 'Shift': 'shiftKey' +}; + +// IE8 does not implement getModifierState so we simply map it to the only +// modifier keys exposed by the event itself, does not support Lock-keys. +// Currently, all major browsers except Chrome seems to support Lock-keys. +function modifierStateGetter(keyArg) { + /*jshint validthis:true */ + var syntheticEvent = this; + var nativeEvent = syntheticEvent.nativeEvent; + if (nativeEvent.getModifierState) { + return nativeEvent.getModifierState(keyArg); + } + var keyProp = modifierKeyToProp[keyArg]; + return keyProp ? !!nativeEvent[keyProp] : false; +} + +function getEventModifierState(nativeEvent) { + return modifierStateGetter; +} + +module.exports = getEventModifierState; + +},{}],125:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getEventTarget + * @typechecks static-only + */ + +'use strict'; + +/** + * Gets the target node from a native browser event by accounting for + * inconsistencies in browser DOM APIs. + * + * @param {object} nativeEvent Native browser event. + * @return {DOMEventTarget} Target node. + */ +function getEventTarget(nativeEvent) { + var target = nativeEvent.target || nativeEvent.srcElement || window; + // Safari may fire events on text nodes (Node.TEXT_NODE is 3). + // @see http://www.quirksmode.org/js/events_properties.html + return target.nodeType === 3 ? target.parentNode : target; +} + +module.exports = getEventTarget; + +},{}],126:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getIteratorFn + * @typechecks static-only + */ + +'use strict'; + +/* global Symbol */ +var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; +var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. + +/** + * Returns the iterator method function contained on the iterable object. + * + * Be sure to invoke the function with the iterable as context: + * + * var iteratorFn = getIteratorFn(myIterable); + * if (iteratorFn) { + * var iterator = iteratorFn.call(myIterable); + * ... + * } + * + * @param {?object} maybeIterable + * @return {?function} + */ +function getIteratorFn(maybeIterable) { + var iteratorFn = maybeIterable && ( + (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]) + ); + if (typeof iteratorFn === 'function') { + return iteratorFn; + } +} + +module.exports = getIteratorFn; + +},{}],127:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getMarkupWrap + */ + +var ExecutionEnvironment = _dereq_(21); + +var invariant = _dereq_(135); + +/** + * Dummy container used to detect which wraps are necessary. + */ +var dummyNode = + ExecutionEnvironment.canUseDOM ? document.createElement('div') : null; + +/** + * Some browsers cannot use `innerHTML` to render certain elements standalone, + * so we wrap them, render the wrapped nodes, then extract the desired node. + * + * In IE8, certain elements cannot render alone, so wrap all elements ('*'). + */ +var shouldWrap = { + // Force wrapping for SVG elements because if they get created inside a <div>, + // they will be initialized in the wrong namespace (and will not display). + 'circle': true, + 'defs': true, + 'ellipse': true, + 'g': true, + 'line': true, + 'linearGradient': true, + 'path': true, + 'polygon': true, + 'polyline': true, + 'radialGradient': true, + 'rect': true, + 'stop': true, + 'text': true +}; + +var selectWrap = [1, '<select multiple="true">', '</select>']; +var tableWrap = [1, '<table>', '</table>']; +var trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>']; + +var svgWrap = [1, '<svg>', '</svg>']; + +var markupWrap = { + '*': [1, '?<div>', '</div>'], + + 'area': [1, '<map>', '</map>'], + 'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'], + 'legend': [1, '<fieldset>', '</fieldset>'], + 'param': [1, '<object>', '</object>'], + 'tr': [2, '<table><tbody>', '</tbody></table>'], + + 'optgroup': selectWrap, + 'option': selectWrap, + + 'caption': tableWrap, + 'colgroup': tableWrap, + 'tbody': tableWrap, + 'tfoot': tableWrap, + 'thead': tableWrap, + + 'td': trWrap, + 'th': trWrap, + + 'circle': svgWrap, + 'defs': svgWrap, + 'ellipse': svgWrap, + 'g': svgWrap, + 'line': svgWrap, + 'linearGradient': svgWrap, + 'path': svgWrap, + 'polygon': svgWrap, + 'polyline': svgWrap, + 'radialGradient': svgWrap, + 'rect': svgWrap, + 'stop': svgWrap, + 'text': svgWrap +}; + +/** + * Gets the markup wrap configuration for the supplied `nodeName`. + * + * NOTE: This lazily detects which wraps are necessary for the current browser. + * + * @param {string} nodeName Lowercase `nodeName`. + * @return {?array} Markup wrap configuration, if applicable. + */ +function getMarkupWrap(nodeName) { + ("production" !== "development" ? invariant(!!dummyNode, 'Markup wrapping node not initialized') : invariant(!!dummyNode)); + if (!markupWrap.hasOwnProperty(nodeName)) { + nodeName = '*'; + } + if (!shouldWrap.hasOwnProperty(nodeName)) { + if (nodeName === '*') { + dummyNode.innerHTML = '<link />'; + } else { + dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>'; + } + shouldWrap[nodeName] = !dummyNode.firstChild; + } + return shouldWrap[nodeName] ? markupWrap[nodeName] : null; +} + + +module.exports = getMarkupWrap; + +},{"135":135,"21":21}],128:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getNodeForCharacterOffset + */ + +'use strict'; + +/** + * Given any node return the first leaf node without children. + * + * @param {DOMElement|DOMTextNode} node + * @return {DOMElement|DOMTextNode} + */ +function getLeafNode(node) { + while (node && node.firstChild) { + node = node.firstChild; + } + return node; +} + +/** + * Get the next sibling within a container. This will walk up the + * DOM if a node's siblings have been exhausted. + * + * @param {DOMElement|DOMTextNode} node + * @return {?DOMElement|DOMTextNode} + */ +function getSiblingNode(node) { + while (node) { + if (node.nextSibling) { + return node.nextSibling; + } + node = node.parentNode; + } +} + +/** + * Get object describing the nodes which contain characters at offset. + * + * @param {DOMElement|DOMTextNode} root + * @param {number} offset + * @return {?object} + */ +function getNodeForCharacterOffset(root, offset) { + var node = getLeafNode(root); + var nodeStart = 0; + var nodeEnd = 0; + + while (node) { + if (node.nodeType === 3) { + nodeEnd = nodeStart + node.textContent.length; + + if (nodeStart <= offset && nodeEnd >= offset) { + return { + node: node, + offset: offset - nodeStart + }; + } + + nodeStart = nodeEnd; + } + + node = getLeafNode(getSiblingNode(node)); + } +} + +module.exports = getNodeForCharacterOffset; + +},{}],129:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getReactRootElementInContainer + */ + +'use strict'; + +var DOC_NODE_TYPE = 9; + +/** + * @param {DOMElement|DOMDocument} container DOM element that may contain + * a React component + * @return {?*} DOM element that may have the reactRoot ID, or null. + */ +function getReactRootElementInContainer(container) { + if (!container) { + return null; + } + + if (container.nodeType === DOC_NODE_TYPE) { + return container.documentElement; + } else { + return container.firstChild; + } +} + +module.exports = getReactRootElementInContainer; + +},{}],130:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getTextContentAccessor + */ + +'use strict'; + +var ExecutionEnvironment = _dereq_(21); + +var contentKey = null; + +/** + * Gets the key used to access text content on a DOM node. + * + * @return {?string} Key used to access text content. + * @internal + */ +function getTextContentAccessor() { + if (!contentKey && ExecutionEnvironment.canUseDOM) { + // Prefer textContent to innerText because many browsers support both but + // SVG <text> elements don't support innerText even when <div> does. + contentKey = 'textContent' in document.documentElement ? + 'textContent' : + 'innerText'; + } + return contentKey; +} + +module.exports = getTextContentAccessor; + +},{"21":21}],131:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule getUnboundedScrollPosition + * @typechecks + */ + +"use strict"; + +/** + * Gets the scroll position of the supplied element or window. + * + * The return values are unbounded, unlike `getScrollPosition`. This means they + * may be negative or exceed the element boundaries (which is possible using + * inertial scrolling). + * + * @param {DOMWindow|DOMElement} scrollable + * @return {object} Map with `x` and `y` keys. + */ +function getUnboundedScrollPosition(scrollable) { + if (scrollable === window) { + return { + x: window.pageXOffset || document.documentElement.scrollLeft, + y: window.pageYOffset || document.documentElement.scrollTop + }; + } + return { + x: scrollable.scrollLeft, + y: scrollable.scrollTop + }; +} + +module.exports = getUnboundedScrollPosition; + +},{}],132:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule hyphenate + * @typechecks + */ + +var _uppercasePattern = /([A-Z])/g; + +/** + * Hyphenates a camelcased string, for example: + * + * > hyphenate('backgroundColor') + * < "background-color" + * + * For CSS style names, use `hyphenateStyleName` instead which works properly + * with all vendor prefixes, including `ms`. + * + * @param {string} string + * @return {string} + */ +function hyphenate(string) { + return string.replace(_uppercasePattern, '-$1').toLowerCase(); +} + +module.exports = hyphenate; + +},{}],133:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule hyphenateStyleName + * @typechecks + */ + +"use strict"; + +var hyphenate = _dereq_(132); + +var msPattern = /^ms-/; + +/** + * Hyphenates a camelcased CSS property name, for example: + * + * > hyphenateStyleName('backgroundColor') + * < "background-color" + * > hyphenateStyleName('MozTransition') + * < "-moz-transition" + * > hyphenateStyleName('msTransition') + * < "-ms-transition" + * + * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix + * is converted to `-ms-`. + * + * @param {string} string + * @return {string} + */ +function hyphenateStyleName(string) { + return hyphenate(string).replace(msPattern, '-ms-'); +} + +module.exports = hyphenateStyleName; + +},{"132":132}],134:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule instantiateReactComponent + * @typechecks static-only + */ + +'use strict'; + +var ReactCompositeComponent = _dereq_(37); +var ReactEmptyComponent = _dereq_(59); +var ReactNativeComponent = _dereq_(73); + +var assign = _dereq_(27); +var invariant = _dereq_(135); +var warning = _dereq_(154); + +// To avoid a cyclic dependency, we create the final class in this module +var ReactCompositeComponentWrapper = function() { }; +assign( + ReactCompositeComponentWrapper.prototype, + ReactCompositeComponent.Mixin, + { + _instantiateReactComponent: instantiateReactComponent + } +); + +/** + * Check if the type reference is a known internal type. I.e. not a user + * provided composite type. + * + * @param {function} type + * @return {boolean} Returns true if this is a valid internal type. + */ +function isInternalComponentType(type) { + return ( + typeof type === 'function' && + typeof type.prototype.mountComponent === 'function' && + typeof type.prototype.receiveComponent === 'function' + ); +} + +/** + * Given a ReactNode, create an instance that will actually be mounted. + * + * @param {ReactNode} node + * @param {*} parentCompositeType The composite type that resolved this. + * @return {object} A new instance of the element's constructor. + * @protected + */ +function instantiateReactComponent(node, parentCompositeType) { + var instance; + + if (node === null || node === false) { + node = ReactEmptyComponent.emptyElement; + } + + if (typeof node === 'object') { + var element = node; + if ("production" !== "development") { + ("production" !== "development" ? warning( + element && (typeof element.type === 'function' || + typeof element.type === 'string'), + 'Only functions or strings can be mounted as React components.' + ) : null); + } + + // Special case string values + if (parentCompositeType === element.type && + typeof element.type === 'string') { + // Avoid recursion if the wrapper renders itself. + instance = ReactNativeComponent.createInternalComponent(element); + // All native components are currently wrapped in a composite so we're + // safe to assume that this is what we should instantiate. + } else if (isInternalComponentType(element.type)) { + // This is temporarily available for custom components that are not string + // represenations. I.e. ART. Once those are updated to use the string + // representation, we can drop this code path. + instance = new element.type(element); + } else { + instance = new ReactCompositeComponentWrapper(); + } + } else if (typeof node === 'string' || typeof node === 'number') { + instance = ReactNativeComponent.createInstanceForText(node); + } else { + ("production" !== "development" ? invariant( + false, + 'Encountered invalid React node of type %s', + typeof node + ) : invariant(false)); + } + + if ("production" !== "development") { + ("production" !== "development" ? warning( + typeof instance.construct === 'function' && + typeof instance.mountComponent === 'function' && + typeof instance.receiveComponent === 'function' && + typeof instance.unmountComponent === 'function', + 'Only React Components can be mounted.' + ) : null); + } + + // Sets up the instance. This can probably just move into the constructor now. + instance.construct(node); + + // These two fields are used by the DOM and ART diffing algorithms + // respectively. Instead of using expandos on components, we should be + // storing the state needed by the diffing algorithms elsewhere. + instance._mountIndex = 0; + instance._mountImage = null; + + if ("production" !== "development") { + instance._isOwnerNecessary = false; + instance._warnedAboutRefsInRender = false; + } + + // Internal instances should fully constructed at this point, so they should + // not get any new fields added to them at this point. + if ("production" !== "development") { + if (Object.preventExtensions) { + Object.preventExtensions(instance); + } + } + + return instance; +} + +module.exports = instantiateReactComponent; + +},{"135":135,"154":154,"27":27,"37":37,"59":59,"73":73}],135:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule invariant + */ + +"use strict"; + +/** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + +var invariant = function(condition, format, a, b, c, d, e, f) { + if ("production" !== "development") { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); + } + } + + if (!condition) { + var error; + if (format === undefined) { + error = new Error( + 'Minified exception occurred; use the non-minified dev environment ' + + 'for the full error message and additional helpful warnings.' + ); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error( + 'Invariant Violation: ' + + format.replace(/%s/g, function() { return args[argIndex++]; }) + ); + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } +}; + +module.exports = invariant; + +},{}],136:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule isEventSupported + */ + +'use strict'; + +var ExecutionEnvironment = _dereq_(21); + +var useHasFeature; +if (ExecutionEnvironment.canUseDOM) { + useHasFeature = + document.implementation && + document.implementation.hasFeature && + // always returns true in newer browsers as per the standard. + // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature + document.implementation.hasFeature('', '') !== true; +} + +/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */ +function isEventSupported(eventNameSuffix, capture) { + if (!ExecutionEnvironment.canUseDOM || + capture && !('addEventListener' in document)) { + return false; + } + + var eventName = 'on' + eventNameSuffix; + var isSupported = eventName in document; + + if (!isSupported) { + var element = document.createElement('div'); + element.setAttribute(eventName, 'return;'); + isSupported = typeof element[eventName] === 'function'; + } + + if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') { + // This is the only way to test support for the `wheel` event in IE9+. + isSupported = document.implementation.hasFeature('Events.wheel', '3.0'); + } + + return isSupported; +} + +module.exports = isEventSupported; + +},{"21":21}],137:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule isNode + * @typechecks + */ + +/** + * @param {*} object The object to check. + * @return {boolean} Whether or not the object is a DOM node. + */ +function isNode(object) { + return !!(object && ( + ((typeof Node === 'function' ? object instanceof Node : typeof object === 'object' && + typeof object.nodeType === 'number' && + typeof object.nodeName === 'string')) + )); +} + +module.exports = isNode; + +},{}],138:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule isTextInputElement + */ + +'use strict'; + +/** + * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary + */ +var supportedInputTypes = { + 'color': true, + 'date': true, + 'datetime': true, + 'datetime-local': true, + 'email': true, + 'month': true, + 'number': true, + 'password': true, + 'range': true, + 'search': true, + 'tel': true, + 'text': true, + 'time': true, + 'url': true, + 'week': true +}; + +function isTextInputElement(elem) { + return elem && ( + (elem.nodeName === 'INPUT' && supportedInputTypes[elem.type] || elem.nodeName === 'TEXTAREA') + ); +} + +module.exports = isTextInputElement; + +},{}],139:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule isTextNode + * @typechecks + */ + +var isNode = _dereq_(137); + +/** + * @param {*} object The object to check. + * @return {boolean} Whether or not the object is a DOM text node. + */ +function isTextNode(object) { + return isNode(object) && object.nodeType == 3; +} + +module.exports = isTextNode; + +},{"137":137}],140:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule keyMirror + * @typechecks static-only + */ + +'use strict'; + +var invariant = _dereq_(135); + +/** + * Constructs an enumeration with keys equal to their value. + * + * For example: + * + * var COLORS = keyMirror({blue: null, red: null}); + * var myColor = COLORS.blue; + * var isColorValid = !!COLORS[myColor]; + * + * The last line could not be performed if the values of the generated enum were + * not equal to their keys. + * + * Input: {key1: val1, key2: val2} + * Output: {key1: key1, key2: key2} + * + * @param {object} obj + * @return {object} + */ +var keyMirror = function(obj) { + var ret = {}; + var key; + ("production" !== "development" ? invariant( + obj instanceof Object && !Array.isArray(obj), + 'keyMirror(...): Argument must be an object.' + ) : invariant(obj instanceof Object && !Array.isArray(obj))); + for (key in obj) { + if (!obj.hasOwnProperty(key)) { + continue; + } + ret[key] = key; + } + return ret; +}; + +module.exports = keyMirror; + +},{"135":135}],141:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule keyOf + */ + +/** + * Allows extraction of a minified key. Let's the build system minify keys + * without loosing the ability to dynamically use key strings as values + * themselves. Pass in an object with a single key/val pair and it will return + * you the string key of that single record. Suppose you want to grab the + * value for a key 'className' inside of an object. Key/val minification may + * have aliased that key to be 'xa12'. keyOf({className: null}) will return + * 'xa12' in that case. Resolve keys you want to use once at startup time, then + * reuse those resolutions. + */ +var keyOf = function(oneKeyObj) { + var key; + for (key in oneKeyObj) { + if (!oneKeyObj.hasOwnProperty(key)) { + continue; + } + return key; + } + return null; +}; + + +module.exports = keyOf; + +},{}],142:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule mapObject + */ + +'use strict'; + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +/** + * Executes the provided `callback` once for each enumerable own property in the + * object and constructs a new object from the results. The `callback` is + * invoked with three arguments: + * + * - the property value + * - the property name + * - the object being traversed + * + * Properties that are added after the call to `mapObject` will not be visited + * by `callback`. If the values of existing properties are changed, the value + * passed to `callback` will be the value at the time `mapObject` visits them. + * Properties that are deleted before being visited are not visited. + * + * @grep function objectMap() + * @grep function objMap() + * + * @param {?object} object + * @param {function} callback + * @param {*} context + * @return {?object} + */ +function mapObject(object, callback, context) { + if (!object) { + return null; + } + var result = {}; + for (var name in object) { + if (hasOwnProperty.call(object, name)) { + result[name] = callback.call(context, object[name], name, object); + } + } + return result; +} + +module.exports = mapObject; + +},{}],143:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule memoizeStringOnly + * @typechecks static-only + */ + +'use strict'; + +/** + * Memoizes the return value of a function that accepts one string argument. + * + * @param {function} callback + * @return {function} + */ +function memoizeStringOnly(callback) { + var cache = {}; + return function(string) { + if (!cache.hasOwnProperty(string)) { + cache[string] = callback.call(this, string); + } + return cache[string]; + }; +} + +module.exports = memoizeStringOnly; + +},{}],144:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule onlyChild + */ +'use strict'; + +var ReactElement = _dereq_(57); + +var invariant = _dereq_(135); + +/** + * Returns the first child in a collection of children and verifies that there + * is only one child in the collection. The current implementation of this + * function assumes that a single child gets passed without a wrapper, but the + * purpose of this helper function is to abstract away the particular structure + * of children. + * + * @param {?object} children Child collection structure. + * @return {ReactComponent} The first and only `ReactComponent` contained in the + * structure. + */ +function onlyChild(children) { + ("production" !== "development" ? invariant( + ReactElement.isValidElement(children), + 'onlyChild must be passed a children with exactly one child.' + ) : invariant(ReactElement.isValidElement(children))); + return children; +} + +module.exports = onlyChild; + +},{"135":135,"57":57}],145:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule performance + * @typechecks + */ + +"use strict"; + +var ExecutionEnvironment = _dereq_(21); + +var performance; + +if (ExecutionEnvironment.canUseDOM) { + performance = + window.performance || + window.msPerformance || + window.webkitPerformance; +} + +module.exports = performance || {}; + +},{"21":21}],146:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule performanceNow + * @typechecks + */ + +var performance = _dereq_(145); + +/** + * Detect if we can use `window.performance.now()` and gracefully fallback to + * `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now + * because of Facebook's testing infrastructure. + */ +if (!performance || !performance.now) { + performance = Date; +} + +var performanceNow = performance.now.bind(performance); + +module.exports = performanceNow; + +},{"145":145}],147:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule quoteAttributeValueForBrowser + */ + +'use strict'; + +var escapeTextContentForBrowser = _dereq_(116); + +/** + * Escapes attribute value to prevent scripting attacks. + * + * @param {*} value Value to escape. + * @return {string} An escaped string. + */ +function quoteAttributeValueForBrowser(value) { + return '"' + escapeTextContentForBrowser(value) + '"'; +} + +module.exports = quoteAttributeValueForBrowser; + +},{"116":116}],148:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule setInnerHTML + */ + +/* globals MSApp */ + +'use strict'; + +var ExecutionEnvironment = _dereq_(21); + +var WHITESPACE_TEST = /^[ \r\n\t\f]/; +var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/; + +/** + * Set the innerHTML property of a node, ensuring that whitespace is preserved + * even in IE8. + * + * @param {DOMElement} node + * @param {string} html + * @internal + */ +var setInnerHTML = function(node, html) { + node.innerHTML = html; +}; + +// Win8 apps: Allow all html to be inserted +if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) { + setInnerHTML = function(node, html) { + MSApp.execUnsafeLocalFunction(function() { + node.innerHTML = html; + }); + }; +} + +if (ExecutionEnvironment.canUseDOM) { + // IE8: When updating a just created node with innerHTML only leading + // whitespace is removed. When updating an existing node with innerHTML + // whitespace in root TextNodes is also collapsed. + // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html + + // Feature detection; only IE8 is known to behave improperly like this. + var testElement = document.createElement('div'); + testElement.innerHTML = ' '; + if (testElement.innerHTML === '') { + setInnerHTML = function(node, html) { + // Magic theory: IE8 supposedly differentiates between added and updated + // nodes when processing innerHTML, innerHTML on updated nodes suffers + // from worse whitespace behavior. Re-adding a node like this triggers + // the initial and more favorable whitespace behavior. + // TODO: What to do on a detached node? + if (node.parentNode) { + node.parentNode.replaceChild(node, node); + } + + // We also implement a workaround for non-visible tags disappearing into + // thin air on IE8, this only happens if there is no visible text + // in-front of the non-visible tags. Piggyback on the whitespace fix + // and simply check if any non-visible tags appear in the source. + if (WHITESPACE_TEST.test(html) || + html[0] === '<' && NONVISIBLE_TEST.test(html)) { + // Recover leading whitespace by temporarily prepending any character. + // \uFEFF has the potential advantage of being zero-width/invisible. + node.innerHTML = '\uFEFF' + html; + + // deleteData leaves an empty `TextNode` which offsets the index of all + // children. Definitely want to avoid this. + var textNode = node.firstChild; + if (textNode.data.length === 1) { + node.removeChild(textNode); + } else { + textNode.deleteData(0, 1); + } + } else { + node.innerHTML = html; + } + }; + } +} + +module.exports = setInnerHTML; + +},{"21":21}],149:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule setTextContent + */ + +'use strict'; + +var ExecutionEnvironment = _dereq_(21); +var escapeTextContentForBrowser = _dereq_(116); +var setInnerHTML = _dereq_(148); + +/** + * Set the textContent property of a node, ensuring that whitespace is preserved + * even in IE8. innerText is a poor substitute for textContent and, among many + * issues, inserts <br> instead of the literal newline chars. innerHTML behaves + * as it should. + * + * @param {DOMElement} node + * @param {string} text + * @internal + */ +var setTextContent = function(node, text) { + node.textContent = text; +}; + +if (ExecutionEnvironment.canUseDOM) { + if (!('textContent' in document.documentElement)) { + setTextContent = function(node, text) { + setInnerHTML(node, escapeTextContentForBrowser(text)); + }; + } +} + +module.exports = setTextContent; + +},{"116":116,"148":148,"21":21}],150:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule shallowEqual + */ + +'use strict'; + +/** + * Performs equality by iterating through keys on an object and returning + * false when any key has values which are not strictly equal between + * objA and objB. Returns true when the values of all keys are strictly equal. + * + * @return {boolean} + */ +function shallowEqual(objA, objB) { + if (objA === objB) { + return true; + } + var key; + // Test for A's keys different from B. + for (key in objA) { + if (objA.hasOwnProperty(key) && + (!objB.hasOwnProperty(key) || objA[key] !== objB[key])) { + return false; + } + } + // Test for B's keys missing from A. + for (key in objB) { + if (objB.hasOwnProperty(key) && !objA.hasOwnProperty(key)) { + return false; + } + } + return true; +} + +module.exports = shallowEqual; + +},{}],151:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule shouldUpdateReactComponent + * @typechecks static-only + */ + +'use strict'; + +var warning = _dereq_(154); + +/** + * Given a `prevElement` and `nextElement`, determines if the existing + * instance should be updated as opposed to being destroyed or replaced by a new + * instance. Both arguments are elements. This ensures that this logic can + * operate on stateless trees without any backing instance. + * + * @param {?object} prevElement + * @param {?object} nextElement + * @return {boolean} True if the existing instance should be updated. + * @protected + */ +function shouldUpdateReactComponent(prevElement, nextElement) { + if (prevElement != null && nextElement != null) { + var prevType = typeof prevElement; + var nextType = typeof nextElement; + if (prevType === 'string' || prevType === 'number') { + return (nextType === 'string' || nextType === 'number'); + } else { + if (nextType === 'object' && + prevElement.type === nextElement.type && + prevElement.key === nextElement.key) { + var ownersMatch = prevElement._owner === nextElement._owner; + var prevName = null; + var nextName = null; + var nextDisplayName = null; + if ("production" !== "development") { + if (!ownersMatch) { + if (prevElement._owner != null && + prevElement._owner.getPublicInstance() != null && + prevElement._owner.getPublicInstance().constructor != null) { + prevName = + prevElement._owner.getPublicInstance().constructor.displayName; + } + if (nextElement._owner != null && + nextElement._owner.getPublicInstance() != null && + nextElement._owner.getPublicInstance().constructor != null) { + nextName = + nextElement._owner.getPublicInstance().constructor.displayName; + } + if (nextElement.type != null && + nextElement.type.displayName != null) { + nextDisplayName = nextElement.type.displayName; + } + if (nextElement.type != null && typeof nextElement.type === 'string') { + nextDisplayName = nextElement.type; + } + if (typeof nextElement.type !== 'string' || + nextElement.type === 'input' || + nextElement.type === 'textarea') { + if ((prevElement._owner != null && + prevElement._owner._isOwnerNecessary === false) || + (nextElement._owner != null && + nextElement._owner._isOwnerNecessary === false)) { + if (prevElement._owner != null) { + prevElement._owner._isOwnerNecessary = true; + } + if (nextElement._owner != null) { + nextElement._owner._isOwnerNecessary = true; + } + ("production" !== "development" ? warning( + false, + '<%s /> is being rendered by both %s and %s using the same ' + + 'key (%s) in the same place. Currently, this means that ' + + 'they don\'t preserve state. This behavior should be very ' + + 'rare so we\'re considering deprecating it. Please contact ' + + 'the React team and explain your use case so that we can ' + + 'take that into consideration.', + nextDisplayName || 'Unknown Component', + prevName || '[Unknown]', + nextName || '[Unknown]', + prevElement.key + ) : null); + } + } + } + } + return ownersMatch; + } + } + } + return false; +} + +module.exports = shouldUpdateReactComponent; + +},{"154":154}],152:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule toArray + * @typechecks + */ + +var invariant = _dereq_(135); + +/** + * Convert array-like objects to arrays. + * + * This API assumes the caller knows the contents of the data type. For less + * well defined inputs use createArrayFromMixed. + * + * @param {object|function|filelist} obj + * @return {array} + */ +function toArray(obj) { + var length = obj.length; + + // Some browse builtin objects can report typeof 'function' (e.g. NodeList in + // old versions of Safari). + ("production" !== "development" ? invariant( + !Array.isArray(obj) && + (typeof obj === 'object' || typeof obj === 'function'), + 'toArray: Array-like object expected' + ) : invariant(!Array.isArray(obj) && + (typeof obj === 'object' || typeof obj === 'function'))); + + ("production" !== "development" ? invariant( + typeof length === 'number', + 'toArray: Object needs a length property' + ) : invariant(typeof length === 'number')); + + ("production" !== "development" ? invariant( + length === 0 || + (length - 1) in obj, + 'toArray: Object should have keys for indices' + ) : invariant(length === 0 || + (length - 1) in obj)); + + // Old IE doesn't give collections access to hasOwnProperty. Assume inputs + // without method will throw during the slice call and skip straight to the + // fallback. + if (obj.hasOwnProperty) { + try { + return Array.prototype.slice.call(obj); + } catch (e) { + // IE < 9 does not support Array#slice on collections objects + } + } + + // Fall back to copying key by key. This assumes all keys have a value, + // so will not preserve sparsely populated inputs. + var ret = Array(length); + for (var ii = 0; ii < length; ii++) { + ret[ii] = obj[ii]; + } + return ret; +} + +module.exports = toArray; + +},{"135":135}],153:[function(_dereq_,module,exports){ +/** + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule traverseAllChildren + */ + +'use strict'; + +var ReactElement = _dereq_(57); +var ReactFragment = _dereq_(63); +var ReactInstanceHandles = _dereq_(66); + +var getIteratorFn = _dereq_(126); +var invariant = _dereq_(135); +var warning = _dereq_(154); + +var SEPARATOR = ReactInstanceHandles.SEPARATOR; +var SUBSEPARATOR = ':'; + +/** + * TODO: Test that a single child and an array with one item have the same key + * pattern. + */ + +var userProvidedKeyEscaperLookup = { + '=': '=0', + '.': '=1', + ':': '=2' +}; + +var userProvidedKeyEscapeRegex = /[=.:]/g; + +var didWarnAboutMaps = false; + +function userProvidedKeyEscaper(match) { + return userProvidedKeyEscaperLookup[match]; +} + +/** + * Generate a key string that identifies a component within a set. + * + * @param {*} component A component that could contain a manual key. + * @param {number} index Index that is used if a manual key is not provided. + * @return {string} + */ +function getComponentKey(component, index) { + if (component && component.key != null) { + // Explicit key + return wrapUserProvidedKey(component.key); + } + // Implicit key determined by the index in the set + return index.toString(36); +} + +/** + * Escape a component key so that it is safe to use in a reactid. + * + * @param {*} key Component key to be escaped. + * @return {string} An escaped string. + */ +function escapeUserProvidedKey(text) { + return ('' + text).replace( + userProvidedKeyEscapeRegex, + userProvidedKeyEscaper + ); +} + +/** + * Wrap a `key` value explicitly provided by the user to distinguish it from + * implicitly-generated keys generated by a component's index in its parent. + * + * @param {string} key Value of a user-provided `key` attribute + * @return {string} + */ +function wrapUserProvidedKey(key) { + return '$' + escapeUserProvidedKey(key); +} + +/** + * @param {?*} children Children tree container. + * @param {!string} nameSoFar Name of the key path so far. + * @param {!number} indexSoFar Number of children encountered until this point. + * @param {!function} callback Callback to invoke with each child found. + * @param {?*} traverseContext Used to pass information throughout the traversal + * process. + * @return {!number} The number of children in this subtree. + */ +function traverseAllChildrenImpl( + children, + nameSoFar, + indexSoFar, + callback, + traverseContext +) { + var type = typeof children; + + if (type === 'undefined' || type === 'boolean') { + // All of the above are perceived as null. + children = null; + } + + if (children === null || + type === 'string' || + type === 'number' || + ReactElement.isValidElement(children)) { + callback( + traverseContext, + children, + // If it's the only child, treat the name as if it was wrapped in an array + // so that it's consistent if the number of children grows. + nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar, + indexSoFar + ); + return 1; + } + + var child, nextName, nextIndex; + var subtreeCount = 0; // Count of children found in the current subtree. + + if (Array.isArray(children)) { + for (var i = 0; i < children.length; i++) { + child = children[i]; + nextName = ( + (nameSoFar !== '' ? nameSoFar + SUBSEPARATOR : SEPARATOR) + + getComponentKey(child, i) + ); + nextIndex = indexSoFar + subtreeCount; + subtreeCount += traverseAllChildrenImpl( + child, + nextName, + nextIndex, + callback, + traverseContext + ); + } + } else { + var iteratorFn = getIteratorFn(children); + if (iteratorFn) { + var iterator = iteratorFn.call(children); + var step; + if (iteratorFn !== children.entries) { + var ii = 0; + while (!(step = iterator.next()).done) { + child = step.value; + nextName = ( + (nameSoFar !== '' ? nameSoFar + SUBSEPARATOR : SEPARATOR) + + getComponentKey(child, ii++) + ); + nextIndex = indexSoFar + subtreeCount; + subtreeCount += traverseAllChildrenImpl( + child, + nextName, + nextIndex, + callback, + traverseContext + ); + } + } else { + if ("production" !== "development") { + ("production" !== "development" ? warning( + didWarnAboutMaps, + 'Using Maps as children is not yet fully supported. It is an ' + + 'experimental feature that might be removed. Convert it to a ' + + 'sequence / iterable of keyed ReactElements instead.' + ) : null); + didWarnAboutMaps = true; + } + // Iterator will provide entry [k,v] tuples rather than values. + while (!(step = iterator.next()).done) { + var entry = step.value; + if (entry) { + child = entry[1]; + nextName = ( + (nameSoFar !== '' ? nameSoFar + SUBSEPARATOR : SEPARATOR) + + wrapUserProvidedKey(entry[0]) + SUBSEPARATOR + + getComponentKey(child, 0) + ); + nextIndex = indexSoFar + subtreeCount; + subtreeCount += traverseAllChildrenImpl( + child, + nextName, + nextIndex, + callback, + traverseContext + ); + } + } + } + } else if (type === 'object') { + ("production" !== "development" ? invariant( + children.nodeType !== 1, + 'traverseAllChildren(...): Encountered an invalid child; DOM ' + + 'elements are not valid children of React components.' + ) : invariant(children.nodeType !== 1)); + var fragment = ReactFragment.extract(children); + for (var key in fragment) { + if (fragment.hasOwnProperty(key)) { + child = fragment[key]; + nextName = ( + (nameSoFar !== '' ? nameSoFar + SUBSEPARATOR : SEPARATOR) + + wrapUserProvidedKey(key) + SUBSEPARATOR + + getComponentKey(child, 0) + ); + nextIndex = indexSoFar + subtreeCount; + subtreeCount += traverseAllChildrenImpl( + child, + nextName, + nextIndex, + callback, + traverseContext + ); + } + } + } + } + + return subtreeCount; +} + +/** + * Traverses children that are typically specified as `props.children`, but + * might also be specified through attributes: + * + * - `traverseAllChildren(this.props.children, ...)` + * - `traverseAllChildren(this.props.leftPanelChildren, ...)` + * + * The `traverseContext` is an optional argument that is passed through the + * entire traversal. It can be used to store accumulations or anything else that + * the callback might find relevant. + * + * @param {?*} children Children tree object. + * @param {!function} callback To invoke upon traversing each child. + * @param {?*} traverseContext Context for traversal. + * @return {!number} The number of children in this subtree. + */ +function traverseAllChildren(children, callback, traverseContext) { + if (children == null) { + return 0; + } + + return traverseAllChildrenImpl(children, '', 0, callback, traverseContext); +} + +module.exports = traverseAllChildren; + +},{"126":126,"135":135,"154":154,"57":57,"63":63,"66":66}],154:[function(_dereq_,module,exports){ +/** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule warning + */ + +"use strict"; + +var emptyFunction = _dereq_(114); + +/** + * Similar to invariant but only logs a warning if the condition is not met. + * This can be used to log issues in development environments in critical + * paths. Removing the logging code for production environments will keep the + * same logic and follow the same code paths. + */ + +var warning = emptyFunction; + +if ("production" !== "development") { + warning = function(condition, format ) {for (var args=[],$__0=2,$__1=arguments.length;$__0<$__1;$__0++) args.push(arguments[$__0]); + if (format === undefined) { + throw new Error( + '`warning(condition, format, ...args)` requires a warning ' + + 'message argument' + ); + } + + if (format.length < 10 || /^[s\W]*$/.test(format)) { + throw new Error( + 'The warning format should be able to uniquely identify this ' + + 'warning. Please, use a more descriptive format than: ' + format + ); + } + + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. + } + + if (!condition) { + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function() {return args[argIndex++];}); + console.warn(message); + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch(x) {} + } + }; +} + +module.exports = warning; + +},{"114":114}]},{},[1])(1) +});
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/react.min.js b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/react.min.js new file mode 100644 index 000000000..c49780358 --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/scripts/react.min.js @@ -0,0 +1,15 @@ +/** + * React v0.13.1 + * + * Copyright 2013-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ +!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.React=e()}}(function(){return function e(t,n,r){function o(a,u){if(!n[a]){if(!t[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t){"use strict";var n=e(19),r=e(32),o=e(34),i=e(33),a=e(38),u=e(39),s=e(55),l=(e(56),e(40)),c=e(51),p=e(54),d=e(64),f=e(68),h=e(73),m=e(76),v=e(79),g=e(82),y=e(27),C=e(115),E=e(142);p.inject();var b=s.createElement,_=s.createFactory,x=s.cloneElement,D=h.measure("React","render",f.render),M={Children:{map:r.map,forEach:r.forEach,count:r.count,only:E},Component:o,DOM:l,PropTypes:m,initializeTouchEvents:function(e){n.useTouchEvents=e},createClass:i.createClass,createElement:b,cloneElement:x,createFactory:_,createMixin:function(e){return e},constructAndRenderComponent:f.constructAndRenderComponent,constructAndRenderComponentByID:f.constructAndRenderComponentByID,findDOMNode:C,render:D,renderToString:g.renderToString,renderToStaticMarkup:g.renderToStaticMarkup,unmountComponentAtNode:f.unmountComponentAtNode,isValidElement:s.isValidElement,withContext:a.withContext,__spread:y};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:u,InstanceHandles:d,Mount:f,Reconciler:v,TextComponent:c});M.version="0.13.1",t.exports=M},{115:115,142:142,19:19,27:27,32:32,33:33,34:34,38:38,39:39,40:40,51:51,54:54,55:55,56:56,64:64,68:68,73:73,76:76,79:79,82:82}],2:[function(e,t){"use strict";var n=e(117),r={componentDidMount:function(){this.props.autoFocus&&n(this.getDOMNode())}};t.exports=r},{117:117}],3:[function(e,t){"use strict";function n(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function r(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function o(e){switch(e){case I.topCompositionStart:return T.compositionStart;case I.topCompositionEnd:return T.compositionEnd;case I.topCompositionUpdate:return T.compositionUpdate}}function i(e,t){return e===I.topKeyDown&&t.keyCode===E}function a(e,t){switch(e){case I.topKeyUp:return-1!==C.indexOf(t.keyCode);case I.topKeyDown:return t.keyCode!==E;case I.topKeyPress:case I.topMouseDown:case I.topBlur:return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function s(e,t,n,r){var s,l;if(b?s=o(e):P?a(e,r)&&(s=T.compositionEnd):i(e,r)&&(s=T.compositionStart),!s)return null;D&&(P||s!==T.compositionStart?s===T.compositionEnd&&P&&(l=P.getData()):P=m.getPooled(t));var c=v.getPooled(s,n,r);if(l)c.data=l;else{var p=u(r);null!==p&&(c.data=p)}return f.accumulateTwoPhaseDispatches(c),c}function l(e,t){switch(e){case I.topCompositionEnd:return u(t);case I.topKeyPress:var n=t.which;return n!==M?null:(R=!0,N);case I.topTextInput:var r=t.data;return r===N&&R?null:r;default:return null}}function c(e,t){if(P){if(e===I.topCompositionEnd||a(e,t)){var n=P.getData();return m.release(P),P=null,n}return null}switch(e){case I.topPaste:return null;case I.topKeyPress:return t.which&&!r(t)?String.fromCharCode(t.which):null;case I.topCompositionEnd:return D?null:t.data;default:return null}}function p(e,t,n,r){var o;if(o=x?l(e,r):c(e,r),!o)return null;var i=g.getPooled(T.beforeInput,n,r);return i.data=o,f.accumulateTwoPhaseDispatches(i),i}var d=e(15),f=e(20),h=e(21),m=e(22),v=e(91),g=e(95),y=e(139),C=[9,13,27,32],E=229,b=h.canUseDOM&&"CompositionEvent"in window,_=null;h.canUseDOM&&"documentMode"in document&&(_=document.documentMode);var x=h.canUseDOM&&"TextEvent"in window&&!_&&!n(),D=h.canUseDOM&&(!b||_&&_>8&&11>=_),M=32,N=String.fromCharCode(M),I=d.topLevelTypes,T={beforeInput:{phasedRegistrationNames:{bubbled:y({onBeforeInput:null}),captured:y({onBeforeInputCapture:null})},dependencies:[I.topCompositionEnd,I.topKeyPress,I.topTextInput,I.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:y({onCompositionEnd:null}),captured:y({onCompositionEndCapture:null})},dependencies:[I.topBlur,I.topCompositionEnd,I.topKeyDown,I.topKeyPress,I.topKeyUp,I.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:y({onCompositionStart:null}),captured:y({onCompositionStartCapture:null})},dependencies:[I.topBlur,I.topCompositionStart,I.topKeyDown,I.topKeyPress,I.topKeyUp,I.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:y({onCompositionUpdate:null}),captured:y({onCompositionUpdateCapture:null})},dependencies:[I.topBlur,I.topCompositionUpdate,I.topKeyDown,I.topKeyPress,I.topKeyUp,I.topMouseDown]}},R=!1,P=null,w={eventTypes:T,extractEvents:function(e,t,n,r){return[s(e,t,n,r),p(e,t,n,r)]}};t.exports=w},{139:139,15:15,20:20,21:21,22:22,91:91,95:95}],4:[function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeOpacity:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};t.exports=a},{}],5:[function(e,t){"use strict";var n=e(4),r=e(21),o=(e(106),e(111)),i=e(131),a=e(141),u=(e(150),a(function(e){return i(e)})),s="cssFloat";r.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(s="styleFloat");var l={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=u(n)+":",t+=o(n,r)+";")}return t||null},setValueForStyles:function(e,t){var r=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=o(i,t[i]);if("float"===i&&(i=s),a)r[i]=a;else{var u=n.shorthandPropertyExpansions[i];if(u)for(var l in u)r[l]="";else r[i]=""}}}};t.exports=l},{106:106,111:111,131:131,141:141,150:150,21:21,4:4}],6:[function(e,t){"use strict";function n(){this._callbacks=null,this._contexts=null}var r=e(28),o=e(27),i=e(133);o(n.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){i(e.length===t.length),this._callbacks=null,this._contexts=null;for(var n=0,r=e.length;r>n;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),r.addPoolingTo(n),t.exports=n},{133:133,27:27,28:28}],7:[function(e,t){"use strict";function n(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function r(e){var t=_.getPooled(I.change,R,e);C.accumulateTwoPhaseDispatches(t),b.batchedUpdates(o,t)}function o(e){y.enqueueEvents(e),y.processEventQueue()}function i(e,t){T=e,R=t,T.attachEvent("onchange",r)}function a(){T&&(T.detachEvent("onchange",r),T=null,R=null)}function u(e,t,n){return e===N.topChange?n:void 0}function s(e,t,n){e===N.topFocus?(a(),i(t,n)):e===N.topBlur&&a()}function l(e,t){T=e,R=t,P=e.value,w=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(T,"value",A),T.attachEvent("onpropertychange",p)}function c(){T&&(delete T.value,T.detachEvent("onpropertychange",p),T=null,R=null,P=null,w=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==P&&(P=t,r(e))}}function d(e,t,n){return e===N.topInput?n:void 0}function f(e,t,n){e===N.topFocus?(c(),l(t,n)):e===N.topBlur&&c()}function h(e){return e!==N.topSelectionChange&&e!==N.topKeyUp&&e!==N.topKeyDown||!T||T.value===P?void 0:(P=T.value,R)}function m(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function v(e,t,n){return e===N.topClick?n:void 0}var g=e(15),y=e(17),C=e(20),E=e(21),b=e(85),_=e(93),x=e(134),D=e(136),M=e(139),N=g.topLevelTypes,I={change:{phasedRegistrationNames:{bubbled:M({onChange:null}),captured:M({onChangeCapture:null})},dependencies:[N.topBlur,N.topChange,N.topClick,N.topFocus,N.topInput,N.topKeyDown,N.topKeyUp,N.topSelectionChange]}},T=null,R=null,P=null,w=null,O=!1;E.canUseDOM&&(O=x("change")&&(!("documentMode"in document)||document.documentMode>8));var S=!1;E.canUseDOM&&(S=x("input")&&(!("documentMode"in document)||document.documentMode>9));var A={get:function(){return w.get.call(this)},set:function(e){P=""+e,w.set.call(this,e)}},k={eventTypes:I,extractEvents:function(e,t,r,o){var i,a;if(n(t)?O?i=u:a=s:D(t)?S?i=d:(i=h,a=f):m(t)&&(i=v),i){var l=i(e,t,r);if(l){var c=_.getPooled(I.change,l,o);return C.accumulateTwoPhaseDispatches(c),c}}a&&a(e,t,r)}};t.exports=k},{134:134,136:136,139:139,15:15,17:17,20:20,21:21,85:85,93:93}],8:[function(e,t){"use strict";var n=0,r={createReactRootIndex:function(){return n++}};t.exports=r},{}],9:[function(e,t){"use strict";function n(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var r=e(12),o=e(70),i=e(145),a=e(133),u={dangerouslyReplaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup,updateTextContent:i,processUpdates:function(e,t){for(var u,s=null,l=null,c=0;c<e.length;c++)if(u=e[c],u.type===o.MOVE_EXISTING||u.type===o.REMOVE_NODE){var p=u.fromIndex,d=u.parentNode.childNodes[p],f=u.parentID;a(d),s=s||{},s[f]=s[f]||[],s[f][p]=d,l=l||[],l.push(d)}var h=r.dangerouslyRenderMarkup(t);if(l)for(var m=0;m<l.length;m++)l[m].parentNode.removeChild(l[m]);for(var v=0;v<e.length;v++)switch(u=e[v],u.type){case o.INSERT_MARKUP:n(u.parentNode,h[u.markupIndex],u.toIndex);break;case o.MOVE_EXISTING:n(u.parentNode,s[u.parentID][u.fromIndex],u.toIndex);break;case o.TEXT_CONTENT:i(u.parentNode,u.textContent);break;case o.REMOVE_NODE:}}};t.exports=u},{12:12,133:133,145:145,70:70}],10:[function(e,t){"use strict";function n(e,t){return(e&t)===t}var r=e(133),o={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=e.Properties||{},i=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},s=e.DOMMutationMethods||{};e.isCustomAttribute&&a._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var l in t){r(!a.isStandardName.hasOwnProperty(l)),a.isStandardName[l]=!0;var c=l.toLowerCase();if(a.getPossibleStandardName[c]=l,i.hasOwnProperty(l)){var p=i[l];a.getPossibleStandardName[p]=l,a.getAttributeName[l]=p}else a.getAttributeName[l]=c;a.getPropertyName[l]=u.hasOwnProperty(l)?u[l]:l,a.getMutationMethod[l]=s.hasOwnProperty(l)?s[l]:null;var d=t[l];a.mustUseAttribute[l]=n(d,o.MUST_USE_ATTRIBUTE),a.mustUseProperty[l]=n(d,o.MUST_USE_PROPERTY),a.hasSideEffects[l]=n(d,o.HAS_SIDE_EFFECTS),a.hasBooleanValue[l]=n(d,o.HAS_BOOLEAN_VALUE),a.hasNumericValue[l]=n(d,o.HAS_NUMERIC_VALUE),a.hasPositiveNumericValue[l]=n(d,o.HAS_POSITIVE_NUMERIC_VALUE),a.hasOverloadedBooleanValue[l]=n(d,o.HAS_OVERLOADED_BOOLEAN_VALUE),r(!a.mustUseAttribute[l]||!a.mustUseProperty[l]),r(a.mustUseProperty[l]||!a.hasSideEffects[l]),r(!!a.hasBooleanValue[l]+!!a.hasNumericValue[l]+!!a.hasOverloadedBooleanValue[l]<=1)}}},i={},a={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<a._isCustomAttributeFunctions.length;t++){var n=a._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=i[e];return r||(i[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:o};t.exports=a},{133:133}],11:[function(e,t){"use strict";function n(e,t){return null==t||r.hasBooleanValue[e]&&!t||r.hasNumericValue[e]&&isNaN(t)||r.hasPositiveNumericValue[e]&&1>t||r.hasOverloadedBooleanValue[e]&&t===!1}var r=e(10),o=e(143),i=(e(150),{createMarkupForID:function(e){return r.ID_ATTRIBUTE_NAME+"="+o(e)},createMarkupForProperty:function(e,t){if(r.isStandardName.hasOwnProperty(e)&&r.isStandardName[e]){if(n(e,t))return"";var i=r.getAttributeName[e];return r.hasBooleanValue[e]||r.hasOverloadedBooleanValue[e]&&t===!0?i:i+"="+o(t)}return r.isCustomAttribute(e)?null==t?"":e+"="+o(t):null},setValueForProperty:function(e,t,o){if(r.isStandardName.hasOwnProperty(t)&&r.isStandardName[t]){var i=r.getMutationMethod[t];if(i)i(e,o);else if(n(t,o))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute[t])e.setAttribute(r.getAttributeName[t],""+o);else{var a=r.getPropertyName[t];r.hasSideEffects[t]&&""+e[a]==""+o||(e[a]=o)}}else r.isCustomAttribute(t)&&(null==o?e.removeAttribute(t):e.setAttribute(t,""+o))},deleteValueForProperty:function(e,t){if(r.isStandardName.hasOwnProperty(t)&&r.isStandardName[t]){var n=r.getMutationMethod[t];if(n)n(e,void 0);else if(r.mustUseAttribute[t])e.removeAttribute(r.getAttributeName[t]);else{var o=r.getPropertyName[t],i=r.getDefaultValueForProperty(e.nodeName,o);r.hasSideEffects[t]&&""+e[o]===i||(e[o]=i)}}else r.isCustomAttribute(t)&&e.removeAttribute(t)}});t.exports=i},{10:10,143:143,150:150}],12:[function(e,t){"use strict";function n(e){return e.substring(1,e.indexOf(" "))}var r=e(21),o=e(110),i=e(112),a=e(125),u=e(133),s=/^(<[^ \/>]+)/,l="data-danger-index",c={dangerouslyRenderMarkup:function(e){u(r.canUseDOM);for(var t,c={},p=0;p<e.length;p++)u(e[p]),t=n(e[p]),t=a(t)?t:"*",c[t]=c[t]||[],c[t][p]=e[p];var d=[],f=0;for(t in c)if(c.hasOwnProperty(t)){var h,m=c[t];for(h in m)if(m.hasOwnProperty(h)){var v=m[h];m[h]=v.replace(s,"$1 "+l+'="'+h+'" ')}for(var g=o(m.join(""),i),y=0;y<g.length;++y){var C=g[y];C.hasAttribute&&C.hasAttribute(l)&&(h=+C.getAttribute(l),C.removeAttribute(l),u(!d.hasOwnProperty(h)),d[h]=C,f+=1)}}return u(f===d.length),u(d.length===e.length),d},dangerouslyReplaceNodeWithMarkup:function(e,t){u(r.canUseDOM),u(t),u("html"!==e.tagName.toLowerCase());var n=o(t,i)[0];e.parentNode.replaceChild(n,e)}};t.exports=c},{110:110,112:112,125:125,133:133,21:21}],13:[function(e,t){"use strict";var n=e(139),r=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({ChangeEventPlugin:null}),n({SelectEventPlugin:null}),n({BeforeInputEventPlugin:null}),n({AnalyticsEventPlugin:null}),n({MobileSafariClickEventPlugin:null})];t.exports=r},{139:139}],14:[function(e,t){"use strict";var n=e(15),r=e(20),o=e(97),i=e(68),a=e(139),u=n.topLevelTypes,s=i.getFirstReactDOM,l={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},c=[null,null],p={eventTypes:l,extractEvents:function(e,t,n,a){if(e===u.topMouseOver&&(a.relatedTarget||a.fromElement))return null;if(e!==u.topMouseOut&&e!==u.topMouseOver)return null;var p;if(t.window===t)p=t;else{var d=t.ownerDocument;p=d?d.defaultView||d.parentWindow:window}var f,h;if(e===u.topMouseOut?(f=t,h=s(a.relatedTarget||a.toElement)||p):(f=p,h=t),f===h)return null;var m=f?i.getID(f):"",v=h?i.getID(h):"",g=o.getPooled(l.mouseLeave,m,a);g.type="mouseleave",g.target=f,g.relatedTarget=h;var y=o.getPooled(l.mouseEnter,v,a);return y.type="mouseenter",y.target=h,y.relatedTarget=f,r.accumulateEnterLeaveDispatches(g,y,m,v),c[0]=g,c[1]=y,c}};t.exports=p},{139:139,15:15,20:20,68:68,97:97}],15:[function(e,t){"use strict";var n=e(138),r=n({bubbled:null,captured:null}),o=n({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),i={topLevelTypes:o,PropagationPhases:r};t.exports=i},{138:138}],16:[function(e,t){var n=e(112),r={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,r){return e.addEventListener?(e.addEventListener(t,r,!0),{remove:function(){e.removeEventListener(t,r,!0)}}):{remove:n}},registerDefault:function(){}};t.exports=r},{112:112}],17:[function(e,t){"use strict";var n=e(18),r=e(19),o=e(103),i=e(118),a=e(133),u={},s=null,l=function(e){if(e){var t=r.executeDispatch,o=n.getPluginModuleForEvent(e);o&&o.executeDispatch&&(t=o.executeDispatch),r.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},c=null,p={injection:{injectMount:r.injection.injectMount,injectInstanceHandle:function(e){c=e},getInstanceHandle:function(){return c},injectEventPluginOrder:n.injectEventPluginOrder,injectEventPluginsByName:n.injectEventPluginsByName},eventNameDispatchConfigs:n.eventNameDispatchConfigs,registrationNameModules:n.registrationNameModules,putListener:function(e,t,n){a(!n||"function"==typeof n);var r=u[t]||(u[t]={});r[e]=n},getListener:function(e,t){var n=u[t];return n&&n[e]},deleteListener:function(e,t){var n=u[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in u)delete u[t][e]},extractEvents:function(e,t,r,i){for(var a,u=n.plugins,s=0,l=u.length;l>s;s++){var c=u[s];if(c){var p=c.extractEvents(e,t,r,i);p&&(a=o(a,p))}}return a},enqueueEvents:function(e){e&&(s=o(s,e))},processEventQueue:function(){var e=s;s=null,i(e,l),a(!s)},__purge:function(){u={}},__getListenerBank:function(){return u}};t.exports=p},{103:103,118:118,133:133,18:18,19:19}],18:[function(e,t){"use strict";function n(){if(a)for(var e in u){var t=u[e],n=a.indexOf(e);if(i(n>-1),!s.plugins[n]){i(t.extractEvents),s.plugins[n]=t;var o=t.eventTypes;for(var l in o)i(r(o[l],t,l))}}}function r(e,t,n){i(!s.eventNameDispatchConfigs.hasOwnProperty(n)),s.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a in r)if(r.hasOwnProperty(a)){var u=r[a];o(u,t,n)}return!0}return e.registrationName?(o(e.registrationName,t,n),!0):!1}function o(e,t,n){i(!s.registrationNameModules[e]),s.registrationNameModules[e]=t,s.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=e(133),a=null,u={},s={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){i(!a),a=Array.prototype.slice.call(e),n()},injectEventPluginsByName:function(e){var t=!1;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];u.hasOwnProperty(r)&&u[r]===o||(i(!u[r]),u[r]=o,t=!0)}t&&n()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return s.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=s.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){a=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];s.plugins.length=0;var t=s.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=s.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=s},{133:133}],19:[function(e,t){"use strict";function n(e){return e===m.topMouseUp||e===m.topTouchEnd||e===m.topTouchCancel}function r(e){return e===m.topMouseMove||e===m.topTouchMove}function o(e){return e===m.topMouseDown||e===m.topTouchStart}function i(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)t(e,n[o],r[o]);else n&&t(e,n,r)}function a(e,t,n){e.currentTarget=h.Mount.getNode(n);var r=t(e,n);return e.currentTarget=null,r}function u(e,t){i(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function s(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function l(e){var t=s(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchIDs;f(!Array.isArray(t));var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function p(e){return!!e._dispatchListeners}var d=e(15),f=e(133),h={Mount:null,injectMount:function(e){h.Mount=e}},m=d.topLevelTypes,v={isEndish:n,isMoveish:r,isStartish:o,executeDirectDispatch:c,executeDispatch:a,executeDispatchesInOrder:u,executeDispatchesInOrderStopAtTrue:l,hasDispatches:p,injection:h,useTouchEvents:!1};t.exports=v},{133:133,15:15}],20:[function(e,t){"use strict";function n(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return m(e,r)}function r(e,t,r){var o=t?h.bubbled:h.captured,i=n(e,r,o);i&&(r._dispatchListeners=d(r._dispatchListeners,i),r._dispatchIDs=d(r._dispatchIDs,e))}function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&p.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,r,e)}function i(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=m(e,r);o&&(n._dispatchListeners=d(n._dispatchListeners,o),n._dispatchIDs=d(n._dispatchIDs,e))}}function a(e){e&&e.dispatchConfig.registrationName&&i(e.dispatchMarker,null,e)}function u(e){f(e,o)}function s(e,t,n,r){p.injection.getInstanceHandle().traverseEnterLeave(n,r,i,e,t)}function l(e){f(e,a)}var c=e(15),p=e(17),d=e(103),f=e(118),h=c.PropagationPhases,m=p.getListener,v={accumulateTwoPhaseDispatches:u,accumulateDirectDispatches:l,accumulateEnterLeaveDispatches:s};t.exports=v},{103:103,118:118,15:15,17:17}],21:[function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};t.exports=r},{}],22:[function(e,t){"use strict";function n(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var r=e(28),o=e(27),i=e(128);o(n.prototype,{getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;r>e&&n[e]===o[e];e++);var a=r-e;for(t=1;a>=t&&n[r-t]===o[i-t];t++);var u=t>1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),r.addPoolingTo(n),t.exports=n},{128:128,27:27,28:28}],23:[function(e,t){"use strict";var n,r=e(10),o=e(21),i=r.injection.MUST_USE_ATTRIBUTE,a=r.injection.MUST_USE_PROPERTY,u=r.injection.HAS_BOOLEAN_VALUE,s=r.injection.HAS_SIDE_EFFECTS,l=r.injection.HAS_NUMERIC_VALUE,c=r.injection.HAS_POSITIVE_NUMERIC_VALUE,p=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(o.canUseDOM){var d=document.implementation;n=d&&d.hasFeature&&d.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var f={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|u,allowTransparency:i,alt:null,async:u,autoComplete:null,autoPlay:u,cellPadding:null,cellSpacing:null,charSet:i,checked:a|u,classID:i,className:n?i:a,cols:i|c,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:a|u,coords:null,crossOrigin:null,data:null,dateTime:i,defer:u,dir:null,disabled:i|u,download:p,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:u,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|u,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,label:null,lang:null,list:i,loop:a|u,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,multiple:a|u,muted:a|u,name:null,noValidate:u,open:u,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|u,rel:null,required:u,role:i,rows:i|c,rowSpan:null,sandbox:null,scope:null,scrolling:null,seamless:i|u,selected:a|u,shape:null,size:i|c,sizes:i,span:c,spellCheck:null,src:null,srcDoc:a,srcSet:i,start:l,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a|s,width:i,wmode:i,autoCapitalize:null,autoCorrect:null,itemProp:i,itemScope:i|u,itemType:i,itemID:i,itemRef:i,property:null},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=f},{10:10,21:21}],24:[function(e,t){"use strict";function n(e){s(null==e.props.checkedLink||null==e.props.valueLink)}function r(e){n(e),s(null==e.props.value&&null==e.props.onChange)}function o(e){n(e),s(null==e.props.checked&&null==e.props.onChange)}function i(e){this.props.valueLink.requestChange(e.target.value)}function a(e){this.props.checkedLink.requestChange(e.target.checked)}var u=e(76),s=e(133),l={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},c={Mixin:{propTypes:{value:function(e,t){return!e[t]||l[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.func}},getValue:function(e){return e.props.valueLink?(r(e),e.props.valueLink.value):e.props.value},getChecked:function(e){return e.props.checkedLink?(o(e),e.props.checkedLink.value):e.props.checked},getOnChange:function(e){return e.props.valueLink?(r(e),i):e.props.checkedLink?(o(e),a):e.props.onChange}};t.exports=c},{133:133,76:76}],25:[function(e,t){"use strict";function n(e){e.remove()}var r=e(30),o=e(103),i=e(118),a=e(133),u={trapBubbledEvent:function(e,t){a(this.isMounted());var n=this.getDOMNode();a(n);var i=r.trapBubbledEvent(e,t,n);this._localEventListeners=o(this._localEventListeners,i)},componentWillUnmount:function(){this._localEventListeners&&i(this._localEventListeners,n)}};t.exports=u},{103:103,118:118,133:133,30:30}],26:[function(e,t){"use strict";var n=e(15),r=e(112),o=n.topLevelTypes,i={eventTypes:null,extractEvents:function(e,t,n,i){if(e===o.topTouchStart){var a=i.target;a&&!a.onclick&&(a.onclick=r)}}};t.exports=i},{112:112,15:15}],27:[function(e,t){"use strict";function n(e){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var t=Object(e),n=Object.prototype.hasOwnProperty,r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o){var i=Object(o);for(var a in i)n.call(i,a)&&(t[a]=i[a])}}return t}t.exports=n},{}],28:[function(e,t){"use strict";var n=e(133),r=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},a=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r,o),a}return new i(e,t,n,r,o)},u=function(e){var t=this;n(e instanceof t),e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},s=10,l=r,c=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||l,n.poolSize||(n.poolSize=s),n.release=u,n},p={addPoolingTo:c,oneArgumentPooler:r,twoArgumentPooler:o,threeArgumentPooler:i,fiveArgumentPooler:a};t.exports=p},{133:133}],29:[function(e,t){"use strict";var n=e(115),r={getDOMNode:function(){return n(this)}};t.exports=r},{115:115}],30:[function(e,t){"use strict";function n(e){return Object.prototype.hasOwnProperty.call(e,h)||(e[h]=d++,c[e[h]]={}),c[e[h]]}var r=e(15),o=e(17),i=e(18),a=e(59),u=e(102),s=e(27),l=e(134),c={},p=!1,d=0,f={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},h="_reactListenersID"+String(Math.random()).slice(2),m=s({},a,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e}},setEnabled:function(e){m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!m.ReactEventListener||!m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var o=t,a=n(o),u=i.registrationNameDependencies[e],s=r.topLevelTypes,c=0,p=u.length;p>c;c++){var d=u[c];a.hasOwnProperty(d)&&a[d]||(d===s.topWheel?l("wheel")?m.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",o):l("mousewheel")?m.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",o):m.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",o):d===s.topScroll?l("scroll",!0)?m.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",o):m.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",m.ReactEventListener.WINDOW_HANDLE):d===s.topFocus||d===s.topBlur?(l("focus",!0)?(m.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",o),m.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",o)):l("focusin")&&(m.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",o),m.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",o)),a[s.topBlur]=!0,a[s.topFocus]=!0):f.hasOwnProperty(d)&&m.ReactEventListener.trapBubbledEvent(d,f[d],o),a[d]=!0)}},trapBubbledEvent:function(e,t,n){return m.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return m.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!p){var e=u.refreshScrollValues; +m.ReactEventListener.monitorScrollValue(e),p=!0}},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:o.putListener,getListener:o.getListener,deleteListener:o.deleteListener,deleteAllListeners:o.deleteAllListeners});t.exports=m},{102:102,134:134,15:15,17:17,18:18,27:27,59:59}],31:[function(e,t){"use strict";var n=e(79),r=e(116),o=e(132),i=e(147),a={instantiateChildren:function(e){var t=r(e);for(var n in t)if(t.hasOwnProperty(n)){var i=t[n],a=o(i,null);t[n]=a}return t},updateChildren:function(e,t,a,u){var s=r(t);if(!s&&!e)return null;var l;for(l in s)if(s.hasOwnProperty(l)){var c=e&&e[l],p=c&&c._currentElement,d=s[l];if(i(p,d))n.receiveComponent(c,d,a,u),s[l]=c;else{c&&n.unmountComponent(c,l);var f=o(d,null);s[l]=f}}for(l in e)!e.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||n.unmountComponent(e[l]);return s},unmountChildren:function(e){for(var t in e){var r=e[t];n.unmountComponent(r)}}};t.exports=a},{116:116,132:132,147:147,79:79}],32:[function(e,t){"use strict";function n(e,t){this.forEachFunction=e,this.forEachContext=t}function r(e,t,n,r){var o=e;o.forEachFunction.call(o.forEachContext,t,r)}function o(e,t,o){if(null==e)return e;var i=n.getPooled(t,o);d(e,r,i),n.release(i)}function i(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function a(e,t,n,r){var o=e,i=o.mapResult,a=!i.hasOwnProperty(n);if(a){var u=o.mapFunction.call(o.mapContext,t,r);i[n]=u}}function u(e,t,n){if(null==e)return e;var r={},o=i.getPooled(r,t,n);return d(e,a,o),i.release(o),p.create(r)}function s(){return null}function l(e){return d(e,s,null)}var c=e(28),p=e(61),d=e(149),f=(e(150),c.twoArgumentPooler),h=c.threeArgumentPooler;c.addPoolingTo(n,f),c.addPoolingTo(i,h);var m={forEach:o,map:u,count:l};t.exports=m},{149:149,150:150,28:28,61:61}],33:[function(e,t){"use strict";function n(e,t){var n=x.hasOwnProperty(t)?x[t]:null;M.hasOwnProperty(t)&&g(n===b.OVERRIDE_BASE),e.hasOwnProperty(t)&&g(n===b.DEFINE_MANY||n===b.DEFINE_MANY_MERGED)}function r(e,t){if(t){g("function"!=typeof t),g(!p.isValidElement(t));var r=e.prototype;t.hasOwnProperty(E)&&D.mixins(e,t.mixins);for(var o in t)if(t.hasOwnProperty(o)&&o!==E){var i=t[o];if(n(r,o),D.hasOwnProperty(o))D[o](e,i);else{var s=x.hasOwnProperty(o),l=r.hasOwnProperty(o),c=i&&i.__reactDontBind,d="function"==typeof i,f=d&&!s&&!l&&!c;if(f)r.__reactAutoBindMap||(r.__reactAutoBindMap={}),r.__reactAutoBindMap[o]=i,r[o]=i;else if(l){var h=x[o];g(s&&(h===b.DEFINE_MANY_MERGED||h===b.DEFINE_MANY)),h===b.DEFINE_MANY_MERGED?r[o]=a(r[o],i):h===b.DEFINE_MANY&&(r[o]=u(r[o],i))}else r[o]=i}}}}function o(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in D;g(!o);var i=n in e;g(!i),e[n]=r}}}function i(e,t){g(e&&t&&"object"==typeof e&&"object"==typeof t);for(var n in t)t.hasOwnProperty(n)&&(g(void 0===e[n]),e[n]=t[n]);return e}function a(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return i(o,n),i(o,r),o}}function u(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function s(e,t){var n=t.bind(e);return n}function l(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=s(e,d.guard(n,e.constructor.displayName+"."+t))}}var c=e(34),p=(e(39),e(55)),d=e(58),f=e(65),h=e(66),m=(e(75),e(74),e(84)),v=e(27),g=e(133),y=e(138),C=e(139),E=(e(150),C({mixins:null})),b=y({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),_=[],x={mixins:b.DEFINE_MANY,statics:b.DEFINE_MANY,propTypes:b.DEFINE_MANY,contextTypes:b.DEFINE_MANY,childContextTypes:b.DEFINE_MANY,getDefaultProps:b.DEFINE_MANY_MERGED,getInitialState:b.DEFINE_MANY_MERGED,getChildContext:b.DEFINE_MANY_MERGED,render:b.DEFINE_ONCE,componentWillMount:b.DEFINE_MANY,componentDidMount:b.DEFINE_MANY,componentWillReceiveProps:b.DEFINE_MANY,shouldComponentUpdate:b.DEFINE_ONCE,componentWillUpdate:b.DEFINE_MANY,componentDidUpdate:b.DEFINE_MANY,componentWillUnmount:b.DEFINE_MANY,updateComponent:b.OVERRIDE_BASE},D={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)r(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=v({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=v({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?a(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=v({},e.propTypes,t)},statics:function(e,t){o(e,t)}},M={replaceState:function(e,t){m.enqueueReplaceState(this,e),t&&m.enqueueCallback(this,t)},isMounted:function(){var e=f.get(this);return e&&e!==h.currentlyMountingInstance},setProps:function(e,t){m.enqueueSetProps(this,e),t&&m.enqueueCallback(this,t)},replaceProps:function(e,t){m.enqueueReplaceProps(this,e),t&&m.enqueueCallback(this,t)}},N=function(){};v(N.prototype,c.prototype,M);var I={createClass:function(e){var t=function(e,t){this.__reactAutoBindMap&&l(this),this.props=e,this.context=t,this.state=null;var n=this.getInitialState?this.getInitialState():null;g("object"==typeof n&&!Array.isArray(n)),this.state=n};t.prototype=new N,t.prototype.constructor=t,_.forEach(r.bind(null,t)),r(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),g(t.prototype.render);for(var n in x)t.prototype[n]||(t.prototype[n]=null);return t.type=t,t},injection:{injectMixin:function(e){_.push(e)}}};t.exports=I},{133:133,138:138,139:139,150:150,27:27,34:34,39:39,55:55,58:58,65:65,66:66,74:74,75:75,84:84}],34:[function(e,t){"use strict";function n(e,t){this.props=e,this.context=t}{var r=e(84),o=e(133);e(150)}n.prototype.setState=function(e,t){o("object"==typeof e||"function"==typeof e||null==e),r.enqueueSetState(this,e),t&&r.enqueueCallback(this,t)},n.prototype.forceUpdate=function(e){r.enqueueForceUpdate(this),e&&r.enqueueCallback(this,e)};t.exports=n},{133:133,150:150,84:84}],35:[function(e,t){"use strict";var n=e(44),r=e(68),o={processChildrenUpdates:n.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:n.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){r.purgeID(e)}};t.exports=o},{44:44,68:68}],36:[function(e,t){"use strict";var n=e(133),r=!1,o={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){n(!r),o.unmountIDFromEnvironment=e.unmountIDFromEnvironment,o.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,o.processChildrenUpdates=e.processChildrenUpdates,r=!0}}};t.exports=o},{133:133}],37:[function(e,t){"use strict";function n(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}var r=e(36),o=e(38),i=e(39),a=e(55),u=(e(56),e(65)),s=e(66),l=e(71),c=e(73),p=e(75),d=(e(74),e(79)),f=e(85),h=e(27),m=e(113),v=e(133),g=e(147),y=(e(150),1),C={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._isTopLevel=!1,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=y++,this._rootNodeID=e;var r=this._processProps(this._currentElement.props),o=this._processContext(this._currentElement._context),i=l.getComponentClassForElement(this._currentElement),a=new i(r,o);a.props=r,a.context=o,a.refs=m,this._instance=a,u.set(a,this);var c=a.state;void 0===c&&(a.state=c=null),v("object"==typeof c&&!Array.isArray(c)),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var p,f=s.currentlyMountingInstance;s.currentlyMountingInstance=this;try{a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),p=this._renderValidatedComponent()}finally{s.currentlyMountingInstance=f}this._renderedComponent=this._instantiateReactComponent(p,this._currentElement.type);var h=d.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return a.componentDidMount&&t.getReactMountReady().enqueue(a.componentDidMount,a),h},unmountComponent:function(){var e=this._instance;if(e.componentWillUnmount){var t=s.currentlyUnmountingInstance;s.currentlyUnmountingInstance=this;try{e.componentWillUnmount()}finally{s.currentlyUnmountingInstance=t}}d.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,u.remove(e)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=a.cloneAndReplaceProps(n,h({},n.props,e)),f.enqueueUpdate(this,t)},_maskContext:function(e){var t=null;if("string"==typeof this._currentElement.type)return m;var n=this._currentElement.type.contextTypes;if(!n)return m;t={};for(var r in n)t[r]=e[r];return t},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t=this._instance,n=t.getChildContext&&t.getChildContext();if(n){v("object"==typeof t.constructor.childContextTypes);for(var r in n)v(r in t.constructor.childContextTypes);return h({},e,n)}return e},_processProps:function(e){return e},_checkPropTypes:function(e,t,r){var o=this.getName();for(var i in e)if(e.hasOwnProperty(i)){var a;try{v("function"==typeof e[i]),a=e[i](t,i,o,r)}catch(u){a=u}a instanceof Error&&(n(this),r===p.prop)}},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&d.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},_warnIfContextsDiffer:function(e,t){e=this._maskContext(e),t=this._maskContext(t);for(var n=Object.keys(t).sort(),r=(this.getName()||"ReactCompositeComponent",0);r<n.length;r++)n[r]},updateComponent:function(e,t,n,r,o){var i=this._instance,a=i.context,u=i.props;t!==n&&(a=this._processContext(n._context),u=this._processProps(n.props),i.componentWillReceiveProps&&i.componentWillReceiveProps(u,a));var s=this._processPendingState(u,a),l=this._pendingForceUpdate||!i.shouldComponentUpdate||i.shouldComponentUpdate(u,s,a);l?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,u,s,a,e,o)):(this._currentElement=n,this._context=o,i.props=u,i.state=s,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;for(var i=h({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var u=r[a];h(i,"function"==typeof u?u.call(n,i,e,t):u)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a=this._instance,u=a.props,s=a.state,l=a.context;a.componentWillUpdate&&a.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,a.props=t,a.state=n,a.context=r,this._updateRenderedComponent(o,i),a.componentDidUpdate&&o.getReactMountReady().enqueue(a.componentDidUpdate.bind(a,u,s,l),a)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent();if(g(r,o))d.receiveComponent(n,o,e,this._processChildContext(t));else{var i=this._rootNodeID,a=n._rootNodeID;d.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(o,this._currentElement.type);var u=d.mountComponent(this._renderedComponent,i,e,t);this._replaceNodeWithMarkupByID(a,u)}},_replaceNodeWithMarkupByID:function(e,t){r.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return t},_renderValidatedComponent:function(){var e,t=o.current;o.current=this._processChildContext(this._currentElement._context),i.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{o.current=t,i.current=null}return v(null===e||e===!1||a.isValidElement(e)),e},attachRef:function(e,t){var n=this.getPublicInstance(),r=n.refs===m?n.refs={}:n.refs;r[e]=t.getPublicInstance()},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){return this._instance},_instantiateReactComponent:null};c.measureMethods(C,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var E={Mixin:C};t.exports=E},{113:113,133:133,147:147,150:150,27:27,36:36,38:38,39:39,55:55,56:56,65:65,66:66,71:71,73:73,74:74,75:75,79:79,85:85}],38:[function(e,t){"use strict";var n=e(27),r=e(113),o=(e(150),{current:r,withContext:function(e,t){var r,i=o.current;o.current=n({},i,e);try{r=t()}finally{o.current=i}return r}});t.exports=o},{113:113,150:150,27:27}],39:[function(e,t){"use strict";var n={current:null};t.exports=n},{}],40:[function(e,t){"use strict";function n(e){return r.createFactory(e)}var r=e(55),o=(e(56),e(140)),i=o({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",defs:"defs",ellipse:"ellipse",g:"g",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},n);t.exports=i},{140:140,55:55,56:56}],41:[function(e,t){"use strict";var n=e(2),r=e(29),o=e(33),i=e(55),a=e(138),u=i.createFactory("button"),s=a({onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0}),l=o.createClass({displayName:"ReactDOMButton",tagName:"BUTTON",mixins:[n,r],render:function(){var e={};for(var t in this.props)!this.props.hasOwnProperty(t)||this.props.disabled&&s[t]||(e[t]=this.props[t]);return u(e,this.props.children)}});t.exports=l},{138:138,2:2,29:29,33:33,55:55}],42:[function(e,t){"use strict";function n(e){e&&(null!=e.dangerouslySetInnerHTML&&(v(null==e.children),v(null!=e.dangerouslySetInnerHTML.__html)),v(null==e.style||"object"==typeof e.style))}function r(e,t,n,r){var o=p.findReactContainerForID(e);if(o){var i=o.nodeType===x?o.ownerDocument:o;C(t,i)}r.getPutListenerQueue().enqueuePutListener(e,t,n)}function o(e){T.call(I,e)||(v(N.test(e)),I[e]=!0)}function i(e){o(e),this._tag=e,this._renderedChildren=null,this._previousStyleCopy=null,this._rootNodeID=null}var a=e(5),u=e(10),s=e(11),l=e(30),c=e(35),p=e(68),d=e(69),f=e(73),h=e(27),m=e(114),v=e(133),g=(e(134),e(139)),y=(e(150),l.deleteListener),C=l.listenTo,E=l.registrationNameModules,b={string:!0,number:!0},_=g({style:null}),x=1,D=null,M={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},N=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,I={},T={}.hasOwnProperty;i.displayName="ReactDOMComponent",i.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,r){this._rootNodeID=e,n(this._currentElement.props);var o=M[this._tag]?"":"</"+this._tag+">";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t,r)+o},_createOpenTagMarkupAndPutListeners:function(e){var t=this._currentElement.props,n="<"+this._tag;for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];if(null!=i)if(E.hasOwnProperty(o))r(this._rootNodeID,o,i,e);else{o===_&&(i&&(i=this._previousStyleCopy=h({},t.style)),i=a.createMarkupForStyles(i));var u=s.createMarkupForProperty(o,i);u&&(n+=" "+u)}}if(e.renderToStaticMarkup)return n+">";var l=s.createMarkupForID(this._rootNodeID);return n+" "+l+">"},_createContentMarkup:function(e,t){var n="";("listing"===this._tag||"pre"===this._tag||"textarea"===this._tag)&&(n="\n");var r=this._currentElement.props,o=r.dangerouslySetInnerHTML;if(null!=o){if(null!=o.__html)return n+o.__html}else{var i=b[typeof r.children]?r.children:null,a=null!=i?null:r.children;if(null!=i)return n+m(i);if(null!=a){var u=this.mountChildren(a,e,t);return n+u.join("")}}return n},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,r,o){n(this._currentElement.props),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e,o)},_updateDOMProperties:function(e,t){var n,o,i,a=this._currentElement.props;for(n in e)if(!a.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===_){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(i=i||{},i[o]="");this._previousStyleCopy=null}else E.hasOwnProperty(n)?y(this._rootNodeID,n):(u.isStandardName[n]||u.isCustomAttribute(n))&&D.deletePropertyByID(this._rootNodeID,n);for(n in a){var l=a[n],c=n===_?this._previousStyleCopy:e[n];if(a.hasOwnProperty(n)&&l!==c)if(n===_)if(l&&(l=this._previousStyleCopy=h({},l)),c){for(o in c)!c.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(i=i||{},i[o]="");for(o in l)l.hasOwnProperty(o)&&c[o]!==l[o]&&(i=i||{},i[o]=l[o])}else i=l;else E.hasOwnProperty(n)?r(this._rootNodeID,n,l,t):(u.isStandardName[n]||u.isCustomAttribute(n))&&D.updatePropertyByID(this._rootNodeID,n,l)}i&&D.updateStylesByID(this._rootNodeID,i)},_updateDOMChildren:function(e,t,n){var r=this._currentElement.props,o=b[typeof e.children]?e.children:null,i=b[typeof r.children]?r.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,s=null!=o?null:e.children,l=null!=i?null:r.children,c=null!=o||null!=a,p=null!=i||null!=u;null!=s&&null==l?this.updateChildren(null,t,n):c&&!p&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=u?a!==u&&D.updateInnerHTMLByID(this._rootNodeID,u):null!=l&&this.updateChildren(l,t,n)},unmountComponent:function(){this.unmountChildren(),l.deleteAllListeners(this._rootNodeID),c.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},f.measureMethods(i,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),h(i.prototype,i.Mixin,d.Mixin),i.injection={injectIDOperations:function(e){i.BackendIDOperations=D=e}},t.exports=i},{10:10,11:11,114:114,133:133,134:134,139:139,150:150,27:27,30:30,35:35,5:5,68:68,69:69,73:73}],43:[function(e,t){"use strict";var n=e(15),r=e(25),o=e(29),i=e(33),a=e(55),u=a.createFactory("form"),s=i.createClass({displayName:"ReactDOMForm",tagName:"FORM",mixins:[o,r],render:function(){return u(this.props)},componentDidMount:function(){this.trapBubbledEvent(n.topLevelTypes.topReset,"reset"),this.trapBubbledEvent(n.topLevelTypes.topSubmit,"submit")}});t.exports=s},{15:15,25:25,29:29,33:33,55:55}],44:[function(e,t){"use strict";var n=e(5),r=e(9),o=e(11),i=e(68),a=e(73),u=e(133),s=e(144),l={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},c={updatePropertyByID:function(e,t,n){var r=i.getNode(e);u(!l.hasOwnProperty(t)),null!=n?o.setValueForProperty(r,t,n):o.deleteValueForProperty(r,t)},deletePropertyByID:function(e,t,n){var r=i.getNode(e);u(!l.hasOwnProperty(t)),o.deleteValueForProperty(r,t,n)},updateStylesByID:function(e,t){var r=i.getNode(e);n.setValueForStyles(r,t)},updateInnerHTMLByID:function(e,t){var n=i.getNode(e);s(n,t)},updateTextContentByID:function(e,t){var n=i.getNode(e);r.updateTextContent(n,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=i.getNode(e);r.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=i.getNode(e[n].parentID);r.processUpdates(e,t)}};a.measureMethods(c,"ReactDOMIDOperations",{updatePropertyByID:"updatePropertyByID",deletePropertyByID:"deletePropertyByID",updateStylesByID:"updateStylesByID",updateInnerHTMLByID:"updateInnerHTMLByID",updateTextContentByID:"updateTextContentByID",dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),t.exports=c},{11:11,133:133,144:144,5:5,68:68,73:73,9:9}],45:[function(e,t){"use strict";var n=e(15),r=e(25),o=e(29),i=e(33),a=e(55),u=a.createFactory("iframe"),s=i.createClass({displayName:"ReactDOMIframe",tagName:"IFRAME",mixins:[o,r],render:function(){return u(this.props)},componentDidMount:function(){this.trapBubbledEvent(n.topLevelTypes.topLoad,"load")}});t.exports=s},{15:15,25:25,29:29,33:33,55:55}],46:[function(e,t){"use strict";var n=e(15),r=e(25),o=e(29),i=e(33),a=e(55),u=a.createFactory("img"),s=i.createClass({displayName:"ReactDOMImg",tagName:"IMG",mixins:[o,r],render:function(){return u(this.props)},componentDidMount:function(){this.trapBubbledEvent(n.topLevelTypes.topLoad,"load"),this.trapBubbledEvent(n.topLevelTypes.topError,"error")}});t.exports=s},{15:15,25:25,29:29,33:33,55:55}],47:[function(e,t){"use strict";function n(){this.isMounted()&&this.forceUpdate()}var r=e(2),o=e(11),i=e(24),a=e(29),u=e(33),s=e(55),l=e(68),c=e(85),p=e(27),d=e(133),f=s.createFactory("input"),h={},m=u.createClass({displayName:"ReactDOMInput",tagName:"INPUT",mixins:[r,i.Mixin,a],getInitialState:function(){var e=this.props.defaultValue;return{initialChecked:this.props.defaultChecked||!1,initialValue:null!=e?e:null}},render:function(){var e=p({},this.props);e.defaultChecked=null,e.defaultValue=null;var t=i.getValue(this);e.value=null!=t?t:this.state.initialValue;var n=i.getChecked(this);return e.checked=null!=n?n:this.state.initialChecked,e.onChange=this._handleChange,f(e,this.props.children)},componentDidMount:function(){var e=l.getID(this.getDOMNode());h[e]=this},componentWillUnmount:function(){var e=this.getDOMNode(),t=l.getID(e);delete h[t]},componentDidUpdate:function(){var e=this.getDOMNode();null!=this.props.checked&&o.setValueForProperty(e,"checked",this.props.checked||!1);var t=i.getValue(this);null!=t&&o.setValueForProperty(e,"value",""+t)},_handleChange:function(e){var t,r=i.getOnChange(this);r&&(t=r.call(this,e)),c.asap(n,this);var o=this.props.name;if("radio"===this.props.type&&null!=o){for(var a=this.getDOMNode(),u=a;u.parentNode;)u=u.parentNode;for(var s=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),p=0,f=s.length;f>p;p++){var m=s[p];if(m!==a&&m.form===a.form){var v=l.getID(m);d(v);var g=h[v];d(g),c.asap(n,g)}}}return t}});t.exports=m},{11:11,133:133,2:2,24:24,27:27,29:29,33:33,55:55,68:68,85:85}],48:[function(e,t){"use strict";var n=e(29),r=e(33),o=e(55),i=(e(150),o.createFactory("option")),a=r.createClass({displayName:"ReactDOMOption",tagName:"OPTION",mixins:[n],componentWillMount:function(){},render:function(){return i(this.props,this.props.children)}});t.exports=a},{150:150,29:29,33:33,55:55}],49:[function(e,t){"use strict";function n(){if(this._pendingUpdate){this._pendingUpdate=!1;var e=a.getValue(this);null!=e&&this.isMounted()&&o(this,e)}}function r(e,t){if(null==e[t])return null;if(e.multiple){if(!Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be an array if `multiple` is true.")}else if(Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be a scalar value if `multiple` is false.")}function o(e,t){var n,r,o,i=e.getDOMNode().options;if(e.props.multiple){for(n={},r=0,o=t.length;o>r;r++)n[""+t[r]]=!0;for(r=0,o=i.length;o>r;r++){var a=n.hasOwnProperty(i[r].value);i[r].selected!==a&&(i[r].selected=a)}}else{for(n=""+t,r=0,o=i.length;o>r;r++)if(i[r].value===n)return void(i[r].selected=!0);i.length&&(i[0].selected=!0)}}var i=e(2),a=e(24),u=e(29),s=e(33),l=e(55),c=e(85),p=e(27),d=l.createFactory("select"),f=s.createClass({displayName:"ReactDOMSelect",tagName:"SELECT",mixins:[i,a.Mixin,u],propTypes:{defaultValue:r,value:r},render:function(){var e=p({},this.props);return e.onChange=this._handleChange,e.value=null,d(e,this.props.children)},componentWillMount:function(){this._pendingUpdate=!1},componentDidMount:function(){var e=a.getValue(this);null!=e?o(this,e):null!=this.props.defaultValue&&o(this,this.props.defaultValue)},componentDidUpdate:function(e){var t=a.getValue(this);null!=t?(this._pendingUpdate=!1,o(this,t)):!e.multiple!=!this.props.multiple&&(null!=this.props.defaultValue?o(this,this.props.defaultValue):o(this,this.props.multiple?[]:""))},_handleChange:function(e){var t,r=a.getOnChange(this);return r&&(t=r.call(this,e)),this._pendingUpdate=!0,c.asap(n,this),t}});t.exports=f},{2:2,24:24,27:27,29:29,33:33,55:55,85:85}],50:[function(e,t){"use strict";function n(e,t,n,r){return e===n&&t===r}function r(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function o(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=t.getRangeAt(0),s=n(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=s?0:u.toString().length,c=u.cloneRange();c.selectNodeContents(e),c.setEnd(u.startContainer,u.startOffset);var p=n(c.startContainer,c.startOffset,c.endContainer,c.endOffset),d=p?0:c.toString().length,f=d+l,h=document.createRange();h.setStart(r,o),h.setEnd(i,a);var m=h.collapsed;return{start:m?f:d,end:m?d:f}}function i(e,t){var n,r,o=document.selection.createRange().duplicate();"undefined"==typeof t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function a(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i="undefined"==typeof t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=s(e,o),c=s(e,i);if(u&&c){var p=document.createRange();p.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(c.node,c.offset)):(p.setEnd(c.node,c.offset),n.addRange(p))}}}var u=e(21),s=e(126),l=e(128),c=u.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:c?r:o,setOffsets:c?i:a};t.exports=p},{126:126,128:128,21:21}],51:[function(e,t){"use strict";var n=e(11),r=e(35),o=e(42),i=e(27),a=e(114),u=function(){};i(u.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t){this._rootNodeID=e;var r=a(this._stringText);return t.renderToStaticMarkup?r:"<span "+n.createMarkupForID(e)+">"+r+"</span>"},receiveComponent:function(e){if(e!==this._currentElement){this._currentElement=e;var t=""+e;t!==this._stringText&&(this._stringText=t,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,t))}},unmountComponent:function(){r.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=u},{11:11,114:114,27:27,35:35,42:42}],52:[function(e,t){"use strict";function n(){this.isMounted()&&this.forceUpdate()}var r=e(2),o=e(11),i=e(24),a=e(29),u=e(33),s=e(55),l=e(85),c=e(27),p=e(133),d=(e(150),s.createFactory("textarea")),f=u.createClass({displayName:"ReactDOMTextarea",tagName:"TEXTAREA",mixins:[r,i.Mixin,a],getInitialState:function(){var e=this.props.defaultValue,t=this.props.children;null!=t&&(p(null==e),Array.isArray(t)&&(p(t.length<=1),t=t[0]),e=""+t),null==e&&(e="");var n=i.getValue(this);return{initialValue:""+(null!=n?n:e)}},render:function(){var e=c({},this.props);return p(null==e.dangerouslySetInnerHTML),e.defaultValue=null,e.value=null,e.onChange=this._handleChange,d(e,this.state.initialValue)},componentDidUpdate:function(){var e=i.getValue(this);if(null!=e){var t=this.getDOMNode();o.setValueForProperty(t,"value",""+e)}},_handleChange:function(e){var t,r=i.getOnChange(this);return r&&(t=r.call(this,e)),l.asap(n,this),t}});t.exports=f},{11:11,133:133,150:150,2:2,24:24,27:27,29:29,33:33,55:55,85:85}],53:[function(e,t){"use strict";function n(){this.reinitializeTransaction()}var r=e(85),o=e(101),i=e(27),a=e(112),u={initialize:a,close:function(){p.isBatchingUpdates=!1}},s={initialize:a,close:r.flushBatchedUpdates.bind(r)},l=[s,u];i(n.prototype,o.Mixin,{getTransactionWrappers:function(){return l}});var c=new n,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o){var i=p.isBatchingUpdates;p.isBatchingUpdates=!0,i?e(t,n,r,o):c.perform(e,null,t,n,r,o)}};t.exports=p},{101:101,112:112,27:27,85:85}],54:[function(e,t){"use strict";function n(e){return f.createClass({tagName:e.toUpperCase(),render:function(){return new I(e,null,null,null,null,this.props)}})}function r(){R.EventEmitter.injectReactEventListener(T),R.EventPluginHub.injectEventPluginOrder(u),R.EventPluginHub.injectInstanceHandle(P),R.EventPluginHub.injectMount(w),R.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:k,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,MobileSafariClickEventPlugin:p,SelectEventPlugin:S,BeforeInputEventPlugin:o}),R.NativeComponent.injectGenericComponentClass(v),R.NativeComponent.injectTextComponentClass(N),R.NativeComponent.injectAutoWrapper(n),R.Class.injectMixin(d),R.NativeComponent.injectComponentClasses({button:g,form:y,iframe:b,img:C,input:_,option:x,select:D,textarea:M,html:U("html"),head:U("head"),body:U("body")}),R.DOMProperty.injectDOMPropertyConfig(c),R.DOMProperty.injectDOMPropertyConfig(L),R.EmptyComponent.injectEmptyComponent("noscript"),R.Updates.injectReconcileTransaction(O),R.Updates.injectBatchingStrategy(m),R.RootIndex.injectCreateReactRootIndex(l.canUseDOM?a.createReactRootIndex:A.createReactRootIndex),R.Component.injectEnvironment(h),R.DOMComponent.injectIDOperations(E)}var o=e(3),i=e(7),a=e(8),u=e(13),s=e(14),l=e(21),c=e(23),p=e(26),d=e(29),f=e(33),h=e(35),m=e(53),v=e(42),g=e(41),y=e(43),C=e(46),E=e(44),b=e(45),_=e(47),x=e(48),D=e(49),M=e(52),N=e(51),I=e(55),T=e(60),R=e(62),P=e(64),w=e(68),O=e(78),S=e(87),A=e(88),k=e(89),L=e(86),U=e(109);t.exports={inject:r}},{109:109,13:13,14:14,21:21,23:23,26:26,29:29,3:3,33:33,35:35,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,51:51,52:52,53:53,55:55,60:60,62:62,64:64,68:68,7:7,78:78,8:8,86:86,87:87,88:88,89:89}],55:[function(e,t){"use strict";var n=e(38),r=e(39),o=e(27),i=(e(150),{key:!0,ref:!0}),a=function(e,t,n,r,o,i){this.type=e,this.key=t,this.ref=n,this._owner=r,this._context=o,this.props=i};a.prototype={_isReactElement:!0},a.createElement=function(e,t,o){var u,s={},l=null,c=null;if(null!=t){c=void 0===t.ref?null:t.ref,l=void 0===t.key?null:""+t.key;for(u in t)t.hasOwnProperty(u)&&!i.hasOwnProperty(u)&&(s[u]=t[u]) +}var p=arguments.length-2;if(1===p)s.children=o;else if(p>1){for(var d=Array(p),f=0;p>f;f++)d[f]=arguments[f+2];s.children=d}if(e&&e.defaultProps){var h=e.defaultProps;for(u in h)"undefined"==typeof s[u]&&(s[u]=h[u])}return new a(e,l,c,r.current,n.current,s)},a.createFactory=function(e){var t=a.createElement.bind(null,e);return t.type=e,t},a.cloneAndReplaceProps=function(e,t){var n=new a(e.type,e.key,e.ref,e._owner,e._context,t);return n},a.cloneElement=function(e,t,n){var u,s=o({},e.props),l=e.key,c=e.ref,p=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,p=r.current),void 0!==t.key&&(l=""+t.key);for(u in t)t.hasOwnProperty(u)&&!i.hasOwnProperty(u)&&(s[u]=t[u])}var d=arguments.length-2;if(1===d)s.children=n;else if(d>1){for(var f=Array(d),h=0;d>h;h++)f[h]=arguments[h+2];s.children=f}return new a(e.type,l,c,p,e._context,s)},a.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},t.exports=a},{150:150,27:27,38:38,39:39}],56:[function(e,t){"use strict";function n(){if(g.current){var e=g.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function r(e){var t=e&&e.getPublicInstance();if(!t)return void 0;var n=t.constructor;return n?n.displayName||n.name||void 0:void 0}function o(){var e=g.current;return e&&r(e)||void 0}function i(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,u('Each child in an array or iterator should have a unique "key" prop.',e,t))}function a(e,t,n){x.test(e)&&u("Child objects should have non-numeric keys so ordering is preserved.",t,n)}function u(e,t,n){var i=o(),a="string"==typeof n?n:n.displayName||n.name,u=i||a,s=b[e]||(b[e]={});if(!s.hasOwnProperty(u)){s[u]=!0;var l="";if(t&&t._owner&&t._owner!==g.current){var c=r(t._owner);l=" It was passed a child from "+c+"."}}}function s(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];h.isValidElement(r)&&i(r,t)}else if(h.isValidElement(e))e._store.validated=!0;else if(e){var o=C(e);if(o){if(o!==e.entries)for(var u,s=o.call(e);!(u=s.next()).done;)h.isValidElement(u.value)&&i(u.value,t)}else if("object"==typeof e){var l=m.extractIfFragment(e);for(var c in l)l.hasOwnProperty(c)&&a(c,l[c],t)}}}function l(e,t,r,o){for(var i in t)if(t.hasOwnProperty(i)){var a;try{E("function"==typeof t[i]),a=t[i](r,i,e,o)}catch(u){a=u}a instanceof Error&&!(a.message in _)&&(_[a.message]=!0,n(this))}}function c(e,t){var n=t.type,r="string"==typeof n?n:n.displayName,o=t._owner?t._owner.getPublicInstance().constructor.displayName:null,i=e+"|"+r+"|"+o;if(!D.hasOwnProperty(i)){D[i]=!0;var a="";r&&(a=" <"+r+" />");var u="";o&&(u=" The element was created by "+o+".")}}function p(e,t){return e!==e?t!==t:0===e&&0===t?1/e===1/t:e===t}function d(e){if(e._store){var t=e._store.originalProps,n=e.props;for(var r in n)n.hasOwnProperty(r)&&(t.hasOwnProperty(r)&&p(t[r],n[r])||(c(r,e),t[r]=n[r]))}}function f(e){if(null!=e.type){var t=y.getComponentClassForElement(e),n=t.displayName||t.name;t.propTypes&&l(n,t.propTypes,e.props,v.prop),"function"==typeof t.getDefaultProps}}var h=e(55),m=e(61),v=e(75),g=(e(74),e(39)),y=e(71),C=e(124),E=e(133),b=(e(150),{}),_={},x=/^\d+$/,D={},M={checkAndWarnForMutatedProps:d,createElement:function(e){var t=h.createElement.apply(this,arguments);if(null==t)return t;for(var n=2;n<arguments.length;n++)s(arguments[n],e);return f(t),t},createFactory:function(e){var t=M.createElement.bind(null,e);return t.type=e,t},cloneElement:function(){for(var e=h.cloneElement.apply(this,arguments),t=2;t<arguments.length;t++)s(arguments[t],e.type);return f(e),e}};t.exports=M},{124:124,133:133,150:150,39:39,55:55,61:61,71:71,74:74,75:75}],57:[function(e,t){"use strict";function n(e){l[e]=!0}function r(e){delete l[e]}function o(e){return!!l[e]}var i,a=e(55),u=e(65),s=e(133),l={},c={injectEmptyComponent:function(e){i=a.createFactory(e)}},p=function(){};p.prototype.componentDidMount=function(){var e=u.get(this);e&&n(e._rootNodeID)},p.prototype.componentWillUnmount=function(){var e=u.get(this);e&&r(e._rootNodeID)},p.prototype.render=function(){return s(i),i()};var d=a.createElement(p),f={emptyElement:d,injection:c,isNullComponentID:o};t.exports=f},{133:133,55:55,65:65}],58:[function(e,t){"use strict";var n={guard:function(e){return e}};t.exports=n},{}],59:[function(e,t){"use strict";function n(e){r.enqueueEvents(e),r.processEventQueue()}var r=e(17),o={handleTopLevel:function(e,t,o,i){var a=r.extractEvents(e,t,o,i);n(a)}};t.exports=o},{17:17}],60:[function(e,t){"use strict";function n(e){var t=c.getID(e),n=l.getReactRootIDFromNodeID(t),r=c.findReactContainerForID(n),o=c.getFirstReactDOM(r);return o}function r(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function o(e){for(var t=c.getFirstReactDOM(f(e.nativeEvent))||window,r=t;r;)e.ancestors.push(r),r=n(r);for(var o=0,i=e.ancestors.length;i>o;o++){t=e.ancestors[o];var a=c.getID(t)||"";m._handleTopLevel(e.topLevelType,t,a,e.nativeEvent)}}function i(e){var t=h(window);e(t)}var a=e(16),u=e(21),s=e(28),l=e(64),c=e(68),p=e(85),d=e(27),f=e(123),h=e(129);d(r.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),s.addPoolingTo(r,s.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:u.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?a.listen(r,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?a.capture(r,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=i.bind(null,e);a.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=r.getPooled(e,t);try{p.batchedUpdates(o,n)}finally{r.release(n)}}}};t.exports=m},{123:123,129:129,16:16,21:21,27:27,28:28,64:64,68:68,85:85}],61:[function(e,t){"use strict";var n=(e(55),e(150),{create:function(e){return e},extract:function(e){return e},extractIfFragment:function(e){return e}});t.exports=n},{150:150,55:55}],62:[function(e,t){"use strict";var n=e(10),r=e(17),o=e(36),i=e(33),a=e(57),u=e(30),s=e(71),l=e(42),c=e(73),p=e(81),d=e(85),f={Component:o.injection,Class:i.injection,DOMComponent:l.injection,DOMProperty:n.injection,EmptyComponent:a.injection,EventPluginHub:r.injection,EventEmitter:u.injection,NativeComponent:s.injection,Perf:c.injection,RootIndex:p.injection,Updates:d.injection};t.exports=f},{10:10,17:17,30:30,33:33,36:36,42:42,57:57,71:71,73:73,81:81,85:85}],63:[function(e,t){"use strict";function n(e){return o(document.documentElement,e)}var r=e(50),o=e(107),i=e(117),a=e(119),u={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=a();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=a(),r=e.focusedElem,o=e.selectionRange;t!==r&&n(r)&&(u.hasSelectionCapabilities(r)&&u.setSelection(r,o),i(r))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=r.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,o=t.end;if("undefined"==typeof o&&(o=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(o,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",o-n),i.select()}else r.setOffsets(e,t)}};t.exports=u},{107:107,117:117,119:119,50:50}],64:[function(e,t){"use strict";function n(e){return d+e.toString(36)}function r(e,t){return e.charAt(t)===d||t===e.length}function o(e){return""===e||e.charAt(0)===d&&e.charAt(e.length-1)!==d}function i(e,t){return 0===t.indexOf(e)&&r(t,e.length)}function a(e){return e?e.substr(0,e.lastIndexOf(d)):""}function u(e,t){if(p(o(e)&&o(t)),p(i(e,t)),e===t)return e;var n,a=e.length+f;for(n=a;n<t.length&&!r(t,n);n++);return t.substr(0,n)}function s(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var i=0,a=0;n>=a;a++)if(r(e,a)&&r(t,a))i=a;else if(e.charAt(a)!==t.charAt(a))break;var u=e.substr(0,i);return p(o(u)),u}function l(e,t,n,r,o,s){e=e||"",t=t||"",p(e!==t);var l=i(t,e);p(l||i(e,t));for(var c=0,d=l?a:u,f=e;;f=d(f,t)){var m;if(o&&f===e||s&&f===t||(m=n(f,l,r)),m===!1||f===t)break;p(c++<h)}}var c=e(81),p=e(133),d=".",f=d.length,h=100,m={createReactRootID:function(){return n(c.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===d&&e.length>1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var i=s(e,t);i!==e&&l(e,i,n,r,!1,!0),i!==t&&l(i,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(l("",e,t,n,!0,!1),l(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){l("",e,t,n,!0,!1)},_getFirstCommonAncestorID:s,_getNextDescendantID:u,isAncestorIDOf:i,SEPARATOR:d};t.exports=m},{133:133,81:81}],65:[function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};t.exports=n},{}],66:[function(e,t){"use strict";var n={currentlyMountingInstance:null,currentlyUnmountingInstance:null};t.exports=n},{}],67:[function(e,t){"use strict";var n=e(104),r={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=n(e);return e.replace(">"," "+r.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var o=t.getAttribute(r.CHECKSUM_ATTR_NAME);o=o&&parseInt(o,10);var i=n(e);return i===o}};t.exports=r},{104:104}],68:[function(e,t){"use strict";function n(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function r(e){var t=T(e);return t&&K.getID(t)}function o(e){var t=i(e);if(t)if(k.hasOwnProperty(t)){var n=k[t];n!==e&&(P(!l(n,t)),k[t]=e)}else k[t]=e;return t}function i(e){return e&&e.getAttribute&&e.getAttribute(A)||""}function a(e,t){var n=i(e);n!==t&&delete k[n],e.setAttribute(A,t),k[t]=e}function u(e){return k.hasOwnProperty(e)&&l(k[e],e)||(k[e]=K.findReactNodeByID(e)),k[e]}function s(e){var t=E.get(e)._rootNodeID;return y.isNullComponentID(t)?null:(k.hasOwnProperty(t)&&l(k[t],t)||(k[t]=K.findReactNodeByID(t)),k[t])}function l(e,t){if(e){P(i(e)===t);var n=K.findReactContainerForID(t);if(n&&I(n,e))return!0}return!1}function c(e){delete k[e]}function p(e){var t=k[e];return t&&l(t,e)?void(j=t):!1}function d(e){j=null,C.traverseAncestors(e,p);var t=j;return j=null,t}function f(e,t,n,r,o){var i=x.mountComponent(e,t,r,N);e._isTopLevel=!0,K._mountImageIntoNode(i,n,o)}function h(e,t,n,r){var o=M.ReactReconcileTransaction.getPooled();o.perform(f,null,e,t,n,o,r),M.ReactReconcileTransaction.release(o)}var m=e(10),v=e(30),g=(e(39),e(55)),y=(e(56),e(57)),C=e(64),E=e(65),b=e(67),_=e(73),x=e(79),D=e(84),M=e(85),N=e(113),I=e(107),T=e(127),R=e(132),P=e(133),w=e(144),O=e(147),S=(e(150),C.SEPARATOR),A=m.ID_ATTRIBUTE_NAME,k={},L=1,U=9,F={},B={},V=[],j=null,K={_instancesByReactRootID:F,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return K.scrollMonitor(n,function(){D.enqueueElementInternal(e,t),r&&D.enqueueCallbackInternal(e,r)}),e},_registerComponent:function(e,t){P(t&&(t.nodeType===L||t.nodeType===U)),v.ensureScrollValueMonitoring();var n=K.registerContainer(t);return F[n]=e,n},_renderNewRootComponent:function(e,t,n){var r=R(e,null),o=K._registerComponent(r,t);return M.batchedUpdates(h,r,o,t,n),r},render:function(e,t,n){P(g.isValidElement(e));var o=F[r(t)];if(o){var i=o._currentElement;if(O(i,e))return K._updateRootComponent(o,e,t,n).getPublicInstance();K.unmountComponentAtNode(t)}var a=T(t),u=a&&K.isRenderedByReact(a),s=u&&!o,l=K._renderNewRootComponent(e,t,s).getPublicInstance();return n&&n.call(l),l},constructAndRenderComponent:function(e,t,n){var r=g.createElement(e,t);return K.render(r,n)},constructAndRenderComponentByID:function(e,t,n){var r=document.getElementById(n);return P(r),K.constructAndRenderComponent(e,t,r)},registerContainer:function(e){var t=r(e);return t&&(t=C.getReactRootIDFromNodeID(t)),t||(t=C.createReactRootID()),B[t]=e,t},unmountComponentAtNode:function(e){P(e&&(e.nodeType===L||e.nodeType===U));var t=r(e),n=F[t];return n?(K.unmountComponentFromNode(n,e),delete F[t],delete B[t],!0):!1},unmountComponentFromNode:function(e,t){for(x.unmountComponent(e),t.nodeType===U&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var t=C.getReactRootIDFromNodeID(e),n=B[t];return n},findReactNodeByID:function(e){var t=K.findReactContainerForID(e);return K.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=K.getID(e);return t?t.charAt(0)===S:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(K.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var n=V,r=0,o=d(t)||e;for(n[0]=o.firstChild,n.length=1;r<n.length;){for(var i,a=n[r++];a;){var u=K.getID(a);u?t===u?i=a:C.isAncestorIDOf(u,t)&&(n.length=r=0,n.push(a.firstChild)):n.push(a.firstChild),a=a.nextSibling}if(i)return n.length=0,i}n.length=0,P(!1)},_mountImageIntoNode:function(e,t,r){if(P(t&&(t.nodeType===L||t.nodeType===U)),r){var o=T(t);if(b.canReuseMarkup(e,o))return;var i=o.getAttribute(b.CHECKSUM_ATTR_NAME);o.removeAttribute(b.CHECKSUM_ATTR_NAME);var a=o.outerHTML;o.setAttribute(b.CHECKSUM_ATTR_NAME,i);var u=n(e,a);" (client) "+e.substring(u-20,u+20)+"\n (server) "+a.substring(u-20,u+20),P(t.nodeType!==U)}P(t.nodeType!==U),w(t,e)},getReactRootID:r,getID:o,setID:a,getNode:u,getNodeFromInstance:s,purgeID:c};_.measureMethods(K,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),t.exports=K},{10:10,107:107,113:113,127:127,132:132,133:133,144:144,147:147,150:150,30:30,39:39,55:55,56:56,57:57,64:64,65:65,67:67,73:73,79:79,84:84,85:85}],69:[function(e,t){"use strict";function n(e,t,n){f.push({parentID:e,parentNode:null,type:l.INSERT_MARKUP,markupIndex:h.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function r(e,t,n){f.push({parentID:e,parentNode:null,type:l.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function o(e,t){f.push({parentID:e,parentNode:null,type:l.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function i(e,t){f.push({parentID:e,parentNode:null,type:l.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function a(){f.length&&(s.processChildrenUpdates(f,h),u())}function u(){f.length=0,h.length=0}var s=e(36),l=e(70),c=e(79),p=e(31),d=0,f=[],h=[],m={Mixin:{mountChildren:function(e,t,n){var r=p.instantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=this._rootNodeID+a,l=c.mountComponent(u,s,t,n);u._mountIndex=i,o.push(l),i++}return o},updateTextContent:function(e){d++;var t=!0;try{var n=this._renderedChildren;p.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{d--,d||(t?u():a())}},updateChildren:function(e,t,n){d++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{d--,d||(r?u():a())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=p.updateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var i,a=0,u=0;for(i in o)if(o.hasOwnProperty(i)){var s=r&&r[i],l=o[i];s===l?(this.moveChild(s,u,a),a=Math.max(s._mountIndex,a),s._mountIndex=u):(s&&(a=Math.max(s._mountIndex,a),this._unmountChildByName(s,i)),this._mountChildByNameAtIndex(l,i,u,t,n)),u++}for(i in r)!r.hasOwnProperty(i)||o&&o.hasOwnProperty(i)||this._unmountChildByName(r[i],i)}},unmountChildren:function(){var e=this._renderedChildren;p.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&r(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){n(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){o(this._rootNodeID,e._mountIndex)},setTextContent:function(e){i(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,o){var i=this._rootNodeID+t,a=c.mountComponent(e,i,r,o);e._mountIndex=n,this.createChild(e,a)},_unmountChildByName:function(e){this.removeChild(e),e._mountIndex=null}}};t.exports=m},{31:31,36:36,70:70,79:79}],70:[function(e,t){"use strict";var n=e(138),r=n({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});t.exports=r},{138:138}],71:[function(e,t){"use strict";function n(e){if("function"==typeof e.type)return e.type;var t=e.type,n=c[t];return null==n&&(c[t]=n=s(t)),n}function r(e){return u(l),new l(e.type,e.props)}function o(e){return new p(e)}function i(e){return e instanceof p}var a=e(27),u=e(133),s=null,l=null,c={},p=null,d={injectGenericComponentClass:function(e){l=e},injectTextComponentClass:function(e){p=e},injectComponentClasses:function(e){a(c,e)},injectAutoWrapper:function(e){s=e}},f={getComponentClassForElement:n,createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:d};t.exports=f},{133:133,27:27}],72:[function(e,t){"use strict";var n=e(133),r={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,o){n(r.isValidOwner(o)),o.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,o){n(r.isValidOwner(o)),o.getPublicInstance().refs[t]===e.getPublicInstance()&&o.detachRef(t)}};t.exports=r},{133:133}],73:[function(e,t){"use strict";function n(e,t,n){return n}var r={enableMeasure:!1,storedMeasure:n,measureMethods:function(){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){r.storedMeasure=e}}};t.exports=r},{}],74:[function(e,t){"use strict";var n={};t.exports=n},{}],75:[function(e,t){"use strict";var n=e(138),r=n({prop:null,context:null,childContext:null});t.exports=r},{138:138}],76:[function(e,t){"use strict";function n(e){function t(t,n,r,o,i){if(o=o||E,null==n[r]){var a=y[i];return t?new Error("Required "+a+" `"+r+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function r(e){function t(t,n,r,o){var i=t[n],a=h(i);if(a!==e){var u=y[o],s=m(i);return new Error("Invalid "+u+" `"+n+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `"+e+"`."))}return null}return n(t)}function o(){return n(C.thatReturns(null))}function i(e){function t(t,n,r,o){var i=t[n];if(!Array.isArray(i)){var a=y[o],u=h(i);return new Error("Invalid "+a+" `"+n+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<i.length;s++){var l=e(i,s,r,o);if(l instanceof Error)return l}return null}return n(t)}function a(){function e(e,t,n,r){if(!v.isValidElement(e[t])){var o=y[r];return new Error("Invalid "+o+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactElement."))}return null}return n(e)}function u(e){function t(t,n,r,o){if(!(t[n]instanceof e)){var i=y[o],a=e.name||E;return new Error("Invalid "+i+" `"+n+"` supplied to "+("`"+r+"`, expected instance of `"+a+"`."))}return null}return n(t)}function s(e){function t(t,n,r,o){for(var i=t[n],a=0;a<e.length;a++)if(i===e[a])return null;var u=y[o],s=JSON.stringify(e);return new Error("Invalid "+u+" `"+n+"` of value `"+i+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return n(t)}function l(e){function t(t,n,r,o){var i=t[n],a=h(i);if("object"!==a){var u=y[o];return new Error("Invalid "+u+" `"+n+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an object."))}for(var s in i)if(i.hasOwnProperty(s)){var l=e(i,s,r,o);if(l instanceof Error)return l}return null}return n(t)}function c(e){function t(t,n,r,o){for(var i=0;i<e.length;i++){var a=e[i];if(null==a(t,n,r,o))return null}var u=y[o];return new Error("Invalid "+u+" `"+n+"` supplied to "+("`"+r+"`."))}return n(t)}function p(){function e(e,t,n,r){if(!f(e[t])){var o=y[r];return new Error("Invalid "+o+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return n(e)}function d(e){function t(t,n,r,o){var i=t[n],a=h(i);if("object"!==a){var u=y[o];return new Error("Invalid "+u+" `"+n+"` of type `"+a+"` "+("supplied to `"+r+"`, expected `object`."))}for(var s in e){var l=e[s];if(l){var c=l(i,s,r,o);if(c)return c}}return null}return n(t)}function f(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(f);if(null===e||v.isValidElement(e))return!0;e=g.extractIfFragment(e);for(var t in e)if(!f(e[t]))return!1;return!0;default:return!1}}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function m(e){var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}var v=e(55),g=e(61),y=e(74),C=e(112),E="<<anonymous>>",b=a(),_=p(),x={array:r("array"),bool:r("boolean"),func:r("function"),number:r("number"),object:r("object"),string:r("string"),any:o(),arrayOf:i,element:b,instanceOf:u,node:_,objectOf:l,oneOf:s,oneOfType:c,shape:d};t.exports=x},{112:112,55:55,61:61,74:74}],77:[function(e,t){"use strict";function n(){this.listenersToPut=[]}var r=e(28),o=e(30),i=e(27);i(n.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e<this.listenersToPut.length;e++){var t=this.listenersToPut[e];o.putListener(t.rootNodeID,t.propKey,t.propValue)}},reset:function(){this.listenersToPut.length=0},destructor:function(){this.reset()}}),r.addPoolingTo(n),t.exports=n},{27:27,28:28,30:30}],78:[function(e,t){"use strict";function n(){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=r.getPooled(null),this.putListenerQueue=u.getPooled()}var r=e(6),o=e(28),i=e(30),a=e(63),u=e(77),s=e(101),l=e(27),c={initialize:a.getSelectionInformation,close:a.restoreSelection},p={initialize:function(){var e=i.isEnabled();return i.setEnabled(!1),e},close:function(e){i.setEnabled(e)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},f={initialize:function(){this.putListenerQueue.reset()},close:function(){this.putListenerQueue.putListeners()}},h=[f,c,p,d],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){r.release(this.reactMountReady),this.reactMountReady=null,u.release(this.putListenerQueue),this.putListenerQueue=null}};l(n.prototype,s.Mixin,m),o.addPoolingTo(n),t.exports=n},{101:101,27:27,28:28,30:30,6:6,63:63,77:77}],79:[function(e,t){"use strict";function n(){r.attachRefs(this,this._currentElement)}var r=e(80),o=(e(56),{mountComponent:function(e,t,r,o){var i=e.mountComponent(t,r,o);return r.getReactMountReady().enqueue(n,e),i},unmountComponent:function(e){r.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,o,i){var a=e._currentElement;if(t!==a||null==t._owner){var u=r.shouldUpdateRefs(a,t);u&&r.detachRefs(e,a),e.receiveComponent(t,o,i),u&&o.getReactMountReady().enqueue(n,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}});t.exports=o},{56:56,80:80}],80:[function(e,t){"use strict";function n(e,t,n){"function"==typeof e?e(t.getPublicInstance()):o.addComponentAsRefTo(t,e,n)}function r(e,t,n){"function"==typeof e?e(null):o.removeComponentAsRefFrom(t,e,n)}var o=e(72),i={};i.attachRefs=function(e,t){var r=t.ref;null!=r&&n(r,e,t._owner)},i.shouldUpdateRefs=function(e,t){return t._owner!==e._owner||t.ref!==e.ref},i.detachRefs=function(e,t){var n=t.ref;null!=n&&r(n,e,t._owner)},t.exports=i},{72:72}],81:[function(e,t){"use strict";var n={injectCreateReactRootIndex:function(e){r.createReactRootIndex=e}},r={createReactRootIndex:null,injection:n};t.exports=r},{}],82:[function(e,t){"use strict";function n(e){c(o.isValidElement(e));var t;try{var n=i.createReactRootID();return t=u.getPooled(!1),t.perform(function(){var r=l(e,null),o=r.mountComponent(n,t,s);return a.addChecksumToMarkup(o)},null)}finally{u.release(t)}}function r(e){c(o.isValidElement(e));var t;try{var n=i.createReactRootID();return t=u.getPooled(!0),t.perform(function(){var r=l(e,null);return r.mountComponent(n,t,s)},null)}finally{u.release(t)}}var o=e(55),i=e(64),a=e(67),u=e(83),s=e(113),l=e(132),c=e(133);t.exports={renderToString:n,renderToStaticMarkup:r}},{113:113,132:132,133:133,55:55,64:64,67:67,83:83}],83:[function(e,t){"use strict";function n(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=o.getPooled(null),this.putListenerQueue=i.getPooled()}var r=e(28),o=e(6),i=e(77),a=e(101),u=e(27),s=e(112),l={initialize:function(){this.reactMountReady.reset()},close:s},c={initialize:function(){this.putListenerQueue.reset()},close:s},p=[c,l],d={getTransactionWrappers:function(){return p},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null,i.release(this.putListenerQueue),this.putListenerQueue=null}};u(n.prototype,a.Mixin,d),r.addPoolingTo(n),t.exports=n},{101:101,112:112,27:27,28:28,6:6,77:77}],84:[function(e,t){"use strict";function n(e){e!==o.currentlyMountingInstance&&s.enqueueUpdate(e)}function r(e){c(null==i.current);var t=u.get(e);return t?t===o.currentlyUnmountingInstance?null:t:null}var o=e(66),i=e(39),a=e(55),u=e(65),s=e(85),l=e(27),c=e(133),p=(e(150),{enqueueCallback:function(e,t){c("function"==typeof t);var i=r(e);return i&&i!==o.currentlyMountingInstance?(i._pendingCallbacks?i._pendingCallbacks.push(t):i._pendingCallbacks=[t],void n(i)):null},enqueueCallbackInternal:function(e,t){c("function"==typeof t),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],n(e)},enqueueForceUpdate:function(e){var t=r(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,n(t))},enqueueReplaceState:function(e,t){var o=r(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,n(o))},enqueueSetState:function(e,t){var o=r(e,"setState");if(o){var i=o._pendingStateQueue||(o._pendingStateQueue=[]);i.push(t),n(o)}},enqueueSetProps:function(e,t){var o=r(e,"setProps");if(o){c(o._isTopLevel);var i=o._pendingElement||o._currentElement,u=l({},i.props,t);o._pendingElement=a.cloneAndReplaceProps(i,u),n(o)}},enqueueReplaceProps:function(e,t){var o=r(e,"replaceProps");if(o){c(o._isTopLevel);var i=o._pendingElement||o._currentElement;o._pendingElement=a.cloneAndReplaceProps(i,t),n(o)}},enqueueElementInternal:function(e,t){e._pendingElement=t,n(e)}});t.exports=p},{133:133,150:150,27:27,39:39,55:55,65:65,66:66,85:85}],85:[function(e,t){"use strict";function n(){m(M.ReactReconcileTransaction&&C)}function r(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=l.getPooled(),this.reconcileTransaction=M.ReactReconcileTransaction.getPooled()}function o(e,t,r,o,i){n(),C.batchedUpdates(e,t,r,o,i)}function i(e,t){return e._mountOrder-t._mountOrder}function a(e){var t=e.dirtyComponentsLength;m(t===v.length),v.sort(i);for(var n=0;t>n;n++){var r=v[n],o=r._pendingCallbacks;if(r._pendingCallbacks=null,d.performUpdateIfNecessary(r,e.reconcileTransaction),o)for(var a=0;a<o.length;a++)e.callbackQueue.enqueue(o[a],r.getPublicInstance())}}function u(e){return n(),C.isBatchingUpdates?void v.push(e):void C.batchedUpdates(u,e)}function s(e,t){m(C.isBatchingUpdates),g.enqueue(e,t),y=!0}var l=e(6),c=e(28),p=(e(39),e(73)),d=e(79),f=e(101),h=e(27),m=e(133),v=(e(150),[]),g=l.getPooled(),y=!1,C=null,E={initialize:function(){this.dirtyComponentsLength=v.length},close:function(){this.dirtyComponentsLength!==v.length?(v.splice(0,this.dirtyComponentsLength),x()):v.length=0}},b={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},_=[E,b];h(r.prototype,f.Mixin,{getTransactionWrappers:function(){return _},destructor:function(){this.dirtyComponentsLength=null,l.release(this.callbackQueue),this.callbackQueue=null,M.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return f.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),c.addPoolingTo(r);var x=function(){for(;v.length||y;){if(v.length){var e=r.getPooled();e.perform(a,null,e),r.release(e)}if(y){y=!1;var t=g;g=l.getPooled(),t.notifyAll(),l.release(t)}}};x=p.measure("ReactUpdates","flushBatchedUpdates",x);var D={injectReconcileTransaction:function(e){m(e),M.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){m(e),m("function"==typeof e.batchedUpdates),m("boolean"==typeof e.isBatchingUpdates),C=e}},M={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:u,flushBatchedUpdates:x,injection:D,asap:s};t.exports=M},{101:101,133:133,150:150,27:27,28:28,39:39,6:6,73:73,79:79}],86:[function(e,t){"use strict";var n=e(10),r=n.injection.MUST_USE_ATTRIBUTE,o={Properties:{cx:r,cy:r,d:r,dx:r,dy:r,fill:r,fillOpacity:r,fontFamily:r,fontSize:r,fx:r,fy:r,gradientTransform:r,gradientUnits:r,markerEnd:r,markerMid:r,markerStart:r,offset:r,opacity:r,patternContentUnits:r,patternUnits:r,points:r,preserveAspectRatio:r,r:r,rx:r,ry:r,spreadMethod:r,stopColor:r,stopOpacity:r,stroke:r,strokeDasharray:r,strokeLinecap:r,strokeOpacity:r,strokeWidth:r,textAnchor:r,transform:r,version:r,viewBox:r,x1:r,x2:r,x:r,y1:r,y2:r,y:r},DOMAttributeNames:{fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox"}};t.exports=o},{10:10}],87:[function(e,t){"use strict";function n(e){if("selectionStart"in e&&a.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function r(e){if(g||null==h||h!==s())return null;var t=n(h);if(!v||!p(v,t)){v=t;var r=u.getPooled(f.select,m,e);return r.type="select",r.target=h,i.accumulateTwoPhaseDispatches(r),r}}var o=e(15),i=e(20),a=e(63),u=e(93),s=e(119),l=e(136),c=e(139),p=e(146),d=o.topLevelTypes,f={select:{phasedRegistrationNames:{bubbled:c({onSelect:null}),captured:c({onSelectCapture:null})},dependencies:[d.topBlur,d.topContextMenu,d.topFocus,d.topKeyDown,d.topMouseDown,d.topMouseUp,d.topSelectionChange]}},h=null,m=null,v=null,g=!1,y={eventTypes:f,extractEvents:function(e,t,n,o){switch(e){case d.topFocus:(l(t)||"true"===t.contentEditable)&&(h=t,m=n,v=null);break;case d.topBlur:h=null,m=null,v=null;break;case d.topMouseDown:g=!0;break;case d.topContextMenu:case d.topMouseUp:return g=!1,r(o);case d.topSelectionChange:case d.topKeyDown:case d.topKeyUp:return r(o)}}};t.exports=y},{119:119,136:136,139:139,146:146,15:15,20:20,63:63,93:93}],88:[function(e,t){"use strict";var n=Math.pow(2,53),r={createReactRootIndex:function(){return Math.ceil(Math.random()*n)}};t.exports=r},{}],89:[function(e,t){"use strict";var n=e(15),r=e(19),o=e(20),i=e(90),a=e(93),u=e(94),s=e(96),l=e(97),c=e(92),p=e(98),d=e(99),f=e(100),h=e(120),m=e(133),v=e(139),g=(e(150),n.topLevelTypes),y={blur:{phasedRegistrationNames:{bubbled:v({onBlur:!0}),captured:v({onBlurCapture:!0})}},click:{phasedRegistrationNames:{bubbled:v({onClick:!0}),captured:v({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:v({onContextMenu:!0}),captured:v({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:v({onCopy:!0}),captured:v({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:v({onCut:!0}),captured:v({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:v({onDoubleClick:!0}),captured:v({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:v({onDrag:!0}),captured:v({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:v({onDragEnd:!0}),captured:v({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:v({onDragEnter:!0}),captured:v({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:v({onDragExit:!0}),captured:v({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:v({onDragLeave:!0}),captured:v({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:v({onDragOver:!0}),captured:v({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:v({onDragStart:!0}),captured:v({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:v({onDrop:!0}),captured:v({onDropCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:v({onFocus:!0}),captured:v({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:v({onInput:!0}),captured:v({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:v({onKeyDown:!0}),captured:v({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:v({onKeyPress:!0}),captured:v({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:v({onKeyUp:!0}),captured:v({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:v({onLoad:!0}),captured:v({onLoadCapture:!0})}},error:{phasedRegistrationNames:{bubbled:v({onError:!0}),captured:v({onErrorCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:v({onMouseDown:!0}),captured:v({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:v({onMouseMove:!0}),captured:v({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:v({onMouseOut:!0}),captured:v({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:v({onMouseOver:!0}),captured:v({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:v({onMouseUp:!0}),captured:v({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:v({onPaste:!0}),captured:v({onPasteCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:v({onReset:!0}),captured:v({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:v({onScroll:!0}),captured:v({onScrollCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:v({onSubmit:!0}),captured:v({onSubmitCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:v({onTouchCancel:!0}),captured:v({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:v({onTouchEnd:!0}),captured:v({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:v({onTouchMove:!0}),captured:v({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:v({onTouchStart:!0}),captured:v({onTouchStartCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:v({onWheel:!0}),captured:v({onWheelCapture:!0})}}},C={topBlur:y.blur,topClick:y.click,topContextMenu:y.contextMenu,topCopy:y.copy,topCut:y.cut,topDoubleClick:y.doubleClick,topDrag:y.drag,topDragEnd:y.dragEnd,topDragEnter:y.dragEnter,topDragExit:y.dragExit,topDragLeave:y.dragLeave,topDragOver:y.dragOver,topDragStart:y.dragStart,topDrop:y.drop,topError:y.error,topFocus:y.focus,topInput:y.input,topKeyDown:y.keyDown,topKeyPress:y.keyPress,topKeyUp:y.keyUp,topLoad:y.load,topMouseDown:y.mouseDown,topMouseMove:y.mouseMove,topMouseOut:y.mouseOut,topMouseOver:y.mouseOver,topMouseUp:y.mouseUp,topPaste:y.paste,topReset:y.reset,topScroll:y.scroll,topSubmit:y.submit,topTouchCancel:y.touchCancel,topTouchEnd:y.touchEnd,topTouchMove:y.touchMove,topTouchStart:y.touchStart,topWheel:y.wheel}; +for(var E in C)C[E].dependencies=[E];var b={eventTypes:y,executeDispatch:function(e,t,n){var o=r.executeDispatch(e,t,n);o===!1&&(e.stopPropagation(),e.preventDefault())},extractEvents:function(e,t,n,r){var v=C[e];if(!v)return null;var y;switch(e){case g.topInput:case g.topLoad:case g.topError:case g.topReset:case g.topSubmit:y=a;break;case g.topKeyPress:if(0===h(r))return null;case g.topKeyDown:case g.topKeyUp:y=s;break;case g.topBlur:case g.topFocus:y=u;break;case g.topClick:if(2===r.button)return null;case g.topContextMenu:case g.topDoubleClick:case g.topMouseDown:case g.topMouseMove:case g.topMouseOut:case g.topMouseOver:case g.topMouseUp:y=l;break;case g.topDrag:case g.topDragEnd:case g.topDragEnter:case g.topDragExit:case g.topDragLeave:case g.topDragOver:case g.topDragStart:case g.topDrop:y=c;break;case g.topTouchCancel:case g.topTouchEnd:case g.topTouchMove:case g.topTouchStart:y=p;break;case g.topScroll:y=d;break;case g.topWheel:y=f;break;case g.topCopy:case g.topCut:case g.topPaste:y=i}m(y);var E=y.getPooled(v,n,r);return o.accumulateTwoPhaseDispatches(E),E}};t.exports=b},{100:100,120:120,133:133,139:139,15:15,150:150,19:19,20:20,90:90,92:92,93:93,94:94,96:96,97:97,98:98,99:99}],90:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(93),o={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};r.augmentClass(n,o),t.exports=n},{93:93}],91:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(93),o={data:null};r.augmentClass(n,o),t.exports=n},{93:93}],92:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(97),o={dataTransfer:null};r.augmentClass(n,o),t.exports=n},{97:97}],93:[function(e,t){"use strict";function n(e,t,n){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];this[o]=a?a(n):n[o]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;this.isDefaultPrevented=u?i.thatReturnsTrue:i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse}var r=e(28),o=e(27),i=e(112),a=e(123),u={type:null,target:a,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=i.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=i.thatReturnsTrue},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),n.Interface=u,n.augmentClass=function(e,t){var n=this,i=Object.create(n.prototype);o(i,e.prototype),e.prototype=i,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,r.addPoolingTo(e,r.threeArgumentPooler)},r.addPoolingTo(n,r.threeArgumentPooler),t.exports=n},{112:112,123:123,27:27,28:28}],94:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(99),o={relatedTarget:null};r.augmentClass(n,o),t.exports=n},{99:99}],95:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(93),o={data:null};r.augmentClass(n,o),t.exports=n},{93:93}],96:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(99),o=e(120),i=e(121),a=e(122),u={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:a,charCode:function(e){return"keypress"===e.type?o(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?o(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};r.augmentClass(n,u),t.exports=n},{120:120,121:121,122:122,99:99}],97:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(99),o=e(102),i=e(122),a={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+o.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+o.currentScrollTop}};r.augmentClass(n,a),t.exports=n},{102:102,122:122,99:99}],98:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(99),o=e(122),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};r.augmentClass(n,i),t.exports=n},{122:122,99:99}],99:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(93),o=e(123),i={view:function(e){if(e.view)return e.view;var t=o(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};r.augmentClass(n,i),t.exports=n},{123:123,93:93}],100:[function(e,t){"use strict";function n(e,t,n){r.call(this,e,t,n)}var r=e(97),o={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};r.augmentClass(n,o),t.exports=n},{97:97}],101:[function(e,t){"use strict";var n=e(133),r={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,r,o,i,a,u,s){n(!this.isInTransaction());var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,r,o,i,a,u,s),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(p){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(i){}}}},closeAll:function(e){n(this.isInTransaction());for(var t=this.transactionWrappers,r=e;r<t.length;r++){var i,a=t[r],u=this.wrapperInitData[r];try{i=!0,u!==o.OBSERVED_ERROR&&a.close&&a.close.call(this,u),i=!1}finally{if(i)try{this.closeAll(r+1)}catch(s){}}}this.wrapperInitData.length=0}},o={Mixin:r,OBSERVED_ERROR:{}};t.exports=o},{133:133}],102:[function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};t.exports=n},{}],103:[function(e,t){"use strict";function n(e,t){if(r(null!=t),null==e)return t;var n=Array.isArray(e),o=Array.isArray(t);return n&&o?(e.push.apply(e,t),e):n?(e.push(t),e):o?[e].concat(t):[e,t]}var r=e(133);t.exports=n},{133:133}],104:[function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0;o<e.length;o++)t=(t+e.charCodeAt(o))%r,n=(n+t)%r;return t|n<<16}var r=65521;t.exports=n},{}],105:[function(e,t){function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;t.exports=n},{}],106:[function(e,t){"use strict";function n(e){return r(e.replace(o,"ms-"))}var r=e(105),o=/^-ms-/;t.exports=n},{105:105}],107:[function(e,t){function n(e,t){return e&&t?e===t?!0:r(e)?!1:r(t)?n(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var r=e(137);t.exports=n},{137:137}],108:[function(e,t){function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function r(e){return n(e)?Array.isArray(e)?e.slice():o(e):[e]}var o=e(148);t.exports=r},{148:148}],109:[function(e,t){"use strict";function n(e){var t=o.createFactory(e),n=r.createClass({tagName:e.toUpperCase(),displayName:"ReactFullPageComponent"+e,componentWillUnmount:function(){i(!1)},render:function(){return t(this.props)}});return n}var r=e(33),o=e(55),i=e(133);t.exports=n},{133:133,33:33,55:55}],110:[function(e,t){function n(e){var t=e.match(l);return t&&t[1].toLowerCase()}function r(e,t){var r=s;u(!!s);var o=n(e),l=o&&a(o);if(l){r.innerHTML=l[1]+e+l[2];for(var c=l[0];c--;)r=r.lastChild}else r.innerHTML=e;var p=r.getElementsByTagName("script");p.length&&(u(t),i(p).forEach(t));for(var d=i(r.childNodes);r.lastChild;)r.removeChild(r.lastChild);return d}var o=e(21),i=e(108),a=e(125),u=e(133),s=o.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=r},{108:108,125:125,133:133,21:21}],111:[function(e,t){"use strict";function n(e,t){var n=null==t||"boolean"==typeof t||""===t;if(n)return"";var r=isNaN(t);return r||0===t||o.hasOwnProperty(e)&&o[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var r=e(4),o=r.isUnitlessNumber;t.exports=n},{4:4}],112:[function(e,t){function n(e){return function(){return e}}function r(){}r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},t.exports=r},{}],113:[function(e,t){"use strict";var n={};t.exports=n},{}],114:[function(e,t){"use strict";function n(e){return o[e]}function r(e){return(""+e).replace(i,n)}var o={"&":"&",">":">","<":"<",'"':""","'":"'"},i=/[&><"']/g;t.exports=r},{}],115:[function(e,t){"use strict";function n(e){return null==e?null:a(e)?e:r.has(e)?o.getNodeFromInstance(e):(i(null==e.render||"function"!=typeof e.render),void i(!1))}{var r=(e(39),e(65)),o=e(68),i=e(133),a=e(135);e(150)}t.exports=n},{133:133,135:135,150:150,39:39,65:65,68:68}],116:[function(e,t){"use strict";function n(e,t,n){var r=e,o=!r.hasOwnProperty(n);o&&null!=t&&(r[n]=t)}function r(e){if(null==e)return e;var t={};return o(e,n,t),t}{var o=e(149);e(150)}t.exports=r},{149:149,150:150}],117:[function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}t.exports=n},{}],118:[function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=n},{}],119:[function(e,t){function n(){try{return document.activeElement||document.body}catch(e){return document.body}}t.exports=n},{}],120:[function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}t.exports=n},{}],121:[function(e,t){"use strict";function n(e){if(e.key){var t=o[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var r=e(120),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=n},{120:120}],122:[function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return r?!!n[r]:!1}function r(){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},{}],123:[function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}t.exports=n},{}],124:[function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);return"function"==typeof t?t:void 0}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=n},{}],125:[function(e,t){function n(e){return o(!!i),p.hasOwnProperty(e)||(e="*"),a.hasOwnProperty(e)||(i.innerHTML="*"===e?"<link />":"<"+e+"></"+e+">",a[e]=!i.firstChild),a[e]?p[e]:null}var r=e(21),o=e(133),i=r.canUseDOM?document.createElement("div"):null,a={circle:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},u=[1,'<select multiple="true">',"</select>"],s=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],c=[1,"<svg>","</svg>"],p={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:s,colgroup:s,tbody:s,tfoot:s,thead:s,td:l,th:l,circle:c,defs:c,ellipse:c,g:c,line:c,linearGradient:c,path:c,polygon:c,polyline:c,radialGradient:c,rect:c,stop:c,text:c};t.exports=n},{133:133,21:21}],126:[function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,t>=i&&a>=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}t.exports=o},{}],127:[function(e,t){"use strict";function n(e){return e?e.nodeType===r?e.documentElement:e.firstChild:null}var r=9;t.exports=n},{}],128:[function(e,t){"use strict";function n(){return!o&&r.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var r=e(21),o=null;t.exports=n},{21:21}],129:[function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=n},{}],130:[function(e,t){function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;t.exports=n},{}],131:[function(e,t){"use strict";function n(e){return r(e).replace(o,"-ms-")}var r=e(130),o=/^ms-/;t.exports=n},{130:130}],132:[function(e,t){"use strict";function n(e){return"function"==typeof e&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function r(e,t){var r;if((null===e||e===!1)&&(e=i.emptyElement),"object"==typeof e){var o=e;r=t===o.type&&"string"==typeof o.type?a.createInternalComponent(o):n(o.type)?new o.type(o):new l}else"string"==typeof e||"number"==typeof e?r=a.createInstanceForText(e):s(!1);return r.construct(e),r._mountIndex=0,r._mountImage=null,r}var o=e(37),i=e(57),a=e(71),u=e(27),s=e(133),l=(e(150),function(){});u(l.prototype,o.Mixin,{_instantiateReactComponent:r}),t.exports=r},{133:133,150:150,27:27,37:37,57:57,71:71}],133:[function(e,t){"use strict";var n=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,u],c=0;s=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return l[c++]}))}throw s.framesToPop=1,s}};t.exports=n},{}],134:[function(e,t){"use strict";function n(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}var r,o=e(21);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=n},{21:21}],135:[function(e,t){function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=n},{}],136:[function(e,t){"use strict";function n(e){return e&&("INPUT"===e.nodeName&&r[e.type]||"TEXTAREA"===e.nodeName)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=n},{}],137:[function(e,t){function n(e){return r(e)&&3==e.nodeType}var r=e(135);t.exports=n},{135:135}],138:[function(e,t){"use strict";var n=e(133),r=function(e){var t,r={};n(e instanceof Object&&!Array.isArray(e));for(t in e)e.hasOwnProperty(t)&&(r[t]=t);return r};t.exports=r},{133:133}],139:[function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=n},{}],140:[function(e,t){"use strict";function n(e,t,n){if(!e)return null;var o={};for(var i in e)r.call(e,i)&&(o[i]=t.call(n,e[i],i,e));return o}var r=Object.prototype.hasOwnProperty;t.exports=n},{}],141:[function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}t.exports=n},{}],142:[function(e,t){"use strict";function n(e){return o(r.isValidElement(e)),e}var r=e(55),o=e(133);t.exports=n},{133:133,55:55}],143:[function(e,t){"use strict";function n(e){return'"'+r(e)+'"'}var r=e(114);t.exports=n},{114:114}],144:[function(e,t){"use strict";var n=e(21),r=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,i=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(i=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),n.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(i=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),r.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML=""+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}t.exports=i},{21:21}],145:[function(e,t){"use strict";var n=e(21),r=e(114),o=e(144),i=function(e,t){e.textContent=t};n.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){o(e,r(t))})),t.exports=i},{114:114,144:144,21:21}],146:[function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}t.exports=n},{}],147:[function(e,t){"use strict";function n(e,t){if(null!=e&&null!=t){var n=typeof e,r=typeof t;if("string"===n||"number"===n)return"string"===r||"number"===r;if("object"===r&&e.type===t.type&&e.key===t.key){var o=e._owner===t._owner;return o}}return!1}e(150);t.exports=n},{150:150}],148:[function(e,t){function n(e){var t=e.length;if(r(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e)),r("number"==typeof t),r(0===t||t-1 in e),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(n){}for(var o=Array(t),i=0;t>i;i++)o[i]=e[i];return o}var r=e(133);t.exports=n},{133:133}],149:[function(e,t){"use strict";function n(e){return m[e]}function r(e,t){return e&&null!=e.key?i(e.key):t.toString(36)}function o(e){return(""+e).replace(v,n)}function i(e){return"$"+o(e)}function a(e,t,n,o,u){var c=typeof e;if(("undefined"===c||"boolean"===c)&&(e=null),null===e||"string"===c||"number"===c||s.isValidElement(e))return o(u,e,""===t?f+r(e,0):t,n),1;var m,v,g,y=0;if(Array.isArray(e))for(var C=0;C<e.length;C++)m=e[C],v=(""!==t?t+h:f)+r(m,C),g=n+y,y+=a(m,v,g,o,u);else{var E=p(e);if(E){var b,_=E.call(e);if(E!==e.entries)for(var x=0;!(b=_.next()).done;)m=b.value,v=(""!==t?t+h:f)+r(m,x++),g=n+y,y+=a(m,v,g,o,u);else for(;!(b=_.next()).done;){var D=b.value;D&&(m=D[1],v=(""!==t?t+h:f)+i(D[0])+h+r(m,0),g=n+y,y+=a(m,v,g,o,u))}}else if("object"===c){d(1!==e.nodeType);var M=l.extract(e);for(var N in M)M.hasOwnProperty(N)&&(m=M[N],v=(""!==t?t+h:f)+i(N)+h+r(m,0),g=n+y,y+=a(m,v,g,o,u))}}return y}function u(e,t,n){return null==e?0:a(e,"",0,t,n)}var s=e(55),l=e(61),c=e(64),p=e(124),d=e(133),f=(e(150),c.SEPARATOR),h=":",m={"=":"=0",".":"=1",":":"=2"},v=/[=.:]/g;t.exports=u},{124:124,133:133,150:150,55:55,61:61,64:64}],150:[function(e,t){"use strict";var n=e(112),r=n;t.exports=r},{112:112}]},{},[1])(1)});
\ No newline at end of file diff --git a/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/styles/style.css b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/styles/style.css new file mode 100644 index 000000000..2d6465dde --- /dev/null +++ b/Software/Visual_Studio/SideChains/MaterialDesignInXamlToolkit-master/web/styles/style.css @@ -0,0 +1,46 @@ +html, +body { + width: 100%; + height: auto; + padding: 0px 16px 16px 16px; + margin: 0px auto; + font-family: 'Roboto', sans-serif; + background: #fafafa; +} + +#header{ + width: 100%; + height: 140px; + overflow: hidden; + position: fixed; + background: #fafafa; + z-index: 1; +} + +#huesContainer{ + width: 210px; + height: 700px; + padding-left: 8px; + padding-top: 140px; + overflow:hidden; + position:fixed; + background: #fafafa; + right:0px; +} + +#swatchesScroller{ + height: auto; + padding-top: 140px; + margin-right: 210px; + padding-bottom: 30px; + overflow: auto; //code added + } + +.swatch { + margin: 8px; + display: inline-block; +} +.swatchColor { + padding: 2px 20px 8px 2px; + font-size: 80%; +}
\ No newline at end of file |
