text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
export const tintColor = 'pink';
export const tintColor2 = 'purple';
export const jsOnlyAnimationDriver = 'js-only';
export const anyAnimationDriver = 'any';
``` | /content/code_sandbox/apps/native-component-list/src/screens/Image/tests/constants.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 38 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<AWSProjectType>Lambda</AWSProjectType>
<!-- This property makes the build directory similar to a publish directory and helps the AWS .NET Lambda Mock Test Tool find project dependencies. -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.AspNetCoreServer" Version="8.0.0" />
</ItemGroup>
</Project>
``` | /content/code_sandbox/Blueprints/BlueprintDefinitions/vs2019/AspNetCoreWebAPI-Image/template/src/BlueprintBaseName.1/BlueprintBaseName.1.csproj | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 137 |
```xml
import React, { memo, forwardRef } from 'react';
import { View } from 'react-native';
import { usePropsResolution } from '../../../hooks/useThemeProps';
import { getColor } from '../../../theme';
import { useTheme } from '../../../hooks';
import { makeStyledComponent } from '../../../utils/styled';
import { wrapStringChild } from '../../../utils/wrapStringChild';
import type { IBoxProps, InterfaceBoxProps } from './types';
import { useSafeArea } from '../../../hooks/useSafeArea';
import { useNativeBaseConfig } from '../../../core/NativeBaseContext';
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
const StyledBox = makeStyledComponent(View);
let MemoizedGradient: any;
const Box = ({ children, ...props }: IBoxProps, ref: any) => {
// const { _text, ...resolvedProps } = useThemeProps('Box', props);
const theme = useTheme();
const { _text, ...resolvedProps } = usePropsResolution('Box', props);
let Gradient = useNativeBaseConfig('NativeBaseConfigProvider').config
.dependencies?.['linear-gradient'];
const safeAreaProps = useSafeArea(resolvedProps);
//TODO: refactor for responsive prop
if (useHasResponsiveProps(props)) {
return null;
}
if (
resolvedProps.bg?.linearGradient ||
resolvedProps.background?.linearGradient ||
resolvedProps.bgColor?.linearGradient ||
resolvedProps.backgroundColor?.linearGradient
) {
const lgrad =
resolvedProps.bg?.linearGradient ||
resolvedProps.background?.linearGradient ||
resolvedProps.bgColor?.linearGradient ||
resolvedProps.backgroundColor?.linearGradient;
if (Gradient) {
if (!MemoizedGradient) {
MemoizedGradient = makeStyledComponent(Gradient);
}
Gradient = MemoizedGradient;
lgrad.colors = lgrad.colors?.map((color: string) => {
return getColor(color, theme.colors, theme);
});
let startObj = { x: 0, y: 0 };
let endObj = { x: 0, y: 1 };
if (lgrad.start && lgrad.start.length === 2) {
startObj = {
x: lgrad.start[0],
y: lgrad.start[1],
};
}
if (lgrad.end && lgrad.end.length === 2) {
endObj = {
x: lgrad.end[0],
y: lgrad.end[1],
};
}
const backgroundColorProps = [
'bg',
'bgColor',
'background',
'backgroundColor',
];
backgroundColorProps.forEach((backgroundColorProp) => {
if (backgroundColorProp in safeAreaProps)
delete safeAreaProps[backgroundColorProp];
});
return (
<Gradient
ref={ref}
{...safeAreaProps}
colors={lgrad.colors}
start={startObj}
end={endObj}
locations={lgrad.locations}
>
{/* {React.Children.map(children, (child) =>
typeof child === 'string' || typeof child === 'number' ? (
<Text {..._text}>{child}</Text>
) : (
child
)
)} */}
{wrapStringChild(children, _text)}
</Gradient>
);
}
}
return (
<StyledBox ref={ref} {...safeAreaProps}>
{/* {React.Children.map(children, (child) => {
return typeof child === 'string' ||
typeof child === 'number' ||
(child?.type === React.Fragment &&
(typeof child.props?.children === 'string' ||
typeof child.props?.children === 'number')) ? (
<Text {..._text}>{child}</Text>
) : (
child
);
})} */}
{wrapStringChild(children, _text)}
</StyledBox>
);
};
export type { IBoxProps, InterfaceBoxProps };
export default memo(forwardRef(Box));
``` | /content/code_sandbox/src/components/primitives/Box/index.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 851 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except according to the terms contained in the
* LICENSE file.
*
* Removal or modification of this copyright notice is prohibited.
*/
import { Request, Response, NextFunction } from 'express';
export class ErrorWithStatus extends Error {
public statusCode: number;
public constructor(message: string, statusCode: number) {
super(message);
this.statusCode = statusCode;
}
}
interface ErrorWithDetails extends Error {
errors: Error[];
}
export const errorMiddleware =
() =>
(
err: Error | Error[] | ErrorWithDetails,
_req: Request,
res: Response,
_next: NextFunction,
): void => {
let errors;
let responseCode = 500;
if (Array.isArray(err)) {
errors = err;
} else if ((err as ErrorWithDetails).errors) {
errors = (err as ErrorWithDetails).errors;
} else {
errors = [err];
}
for (const error of errors) {
// Include message property in response
Object.defineProperty(error, 'message', { enumerable: true });
}
if (err instanceof ErrorWithStatus) {
const { statusCode, ...message } = err;
errors = message;
responseCode = statusCode;
}
res.status(responseCode).send({ errors });
};
``` | /content/code_sandbox/framework-plugins/lisk-framework-monitor-plugin/src/middlewares/errors.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 340 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M7.4,13.2C7.84,12.87 8.465,12.958 8.797,13.396L8.802,13.402C8.808,13.409 8.819,13.423 8.835,13.443C8.869,13.483 8.922,13.544 8.995,13.621C9.143,13.774 9.364,13.983 9.651,14.191C10.228,14.611 11.026,15 12,15C12.974,15 13.772,14.611 14.349,14.191C14.636,13.983 14.857,13.774 15.005,13.621C15.078,13.544 15.132,13.483 15.165,13.443C15.181,13.423 15.193,13.409 15.199,13.402L15.203,13.396C15.535,12.958 16.16,12.87 16.6,13.2C17.042,13.531 17.131,14.158 16.8,14.6L16.799,14.601L16.798,14.603L16.795,14.606L16.788,14.616L16.767,14.643C16.749,14.665 16.726,14.694 16.697,14.729C16.638,14.799 16.555,14.893 16.449,15.004C16.236,15.226 15.927,15.517 15.526,15.809C14.728,16.389 13.526,17 12,17C10.474,17 9.272,16.389 8.474,15.809C8.073,15.517 7.764,15.226 7.552,15.004C7.445,14.893 7.362,14.799 7.303,14.729C7.274,14.694 7.251,14.665 7.233,14.643L7.212,14.616L7.205,14.606L7.202,14.603L7.201,14.601L7.2,14.6C6.869,14.158 6.958,13.531 7.4,13.2Z"
android:fillColor="#616366"/>
<path
android:pathData="M7.5,9C7.5,8.172 8.168,7.5 8.993,7.5H9.007C9.832,7.5 10.5,8.172 10.5,9C10.5,9.828 9.832,10.5 9.007,10.5H8.993C8.168,10.5 7.5,9.828 7.5,9Z"
android:fillColor="#616366"/>
<path
android:pathData="M14.993,7.5C14.168,7.5 13.5,8.172 13.5,9C13.5,9.828 14.168,10.5 14.993,10.5H15.007C15.832,10.5 16.5,9.828 16.5,9C16.5,8.172 15.832,7.5 15.007,7.5H14.993Z"
android:fillColor="#616366"/>
<path
android:pathData="M12,1C5.925,1 1,5.925 1,12C1,18.075 5.925,23 12,23C18.075,23 23,18.075 23,12C23,5.925 18.075,1 12,1ZM3,12C3,7.029 7.029,3 12,3C16.971,3 21,7.029 21,12C21,16.971 16.971,21 12,21C7.029,21 3,16.971 3,12Z"
android:fillColor="#616366"
android:fillType="evenOdd"/>
</vector>
``` | /content/code_sandbox/shared/original-core-ui/src/main/res/drawable/ic_emoji_smile_medium_regular.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 1,052 |
```xml
// See LICENSE in the project root for license information.
import type { IPackageJson } from '@rushstack/node-core-library';
import { VersionPolicyConfiguration } from '../VersionPolicyConfiguration';
import { VersionPolicy, LockStepVersionPolicy, IndividualVersionPolicy, BumpType } from '../VersionPolicy';
describe(VersionPolicy.name, () => {
describe(LockStepVersionPolicy.name, () => {
const filename: string = `${__dirname}/jsonFiles/rushWithLockVersion.json`;
const versionPolicyConfig: VersionPolicyConfiguration = new VersionPolicyConfiguration(filename);
let versionPolicy1: VersionPolicy;
let versionPolicy2: VersionPolicy;
beforeEach(() => {
versionPolicy1 = versionPolicyConfig.getVersionPolicy('testPolicy1');
versionPolicy2 = versionPolicyConfig.getVersionPolicy('testPolicy2');
});
it('loads configuration.', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy1: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
expect(lockStepVersionPolicy1.version).toEqual('1.1.0');
expect(lockStepVersionPolicy1.nextBump).toEqual(BumpType.patch);
expect(versionPolicy2).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy2: LockStepVersionPolicy = versionPolicy2 as LockStepVersionPolicy;
expect(lockStepVersionPolicy2.version).toEqual('1.2.0');
expect(lockStepVersionPolicy2.nextBump).toEqual(undefined);
});
it('skips packageJson if version is already the locked step version', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
expect(
lockStepVersionPolicy.ensure({
name: 'a',
version: '1.1.0'
})
).not.toBeDefined();
});
it('updates packageJson if version is lower than the locked step version', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
const expectedPackageJson: IPackageJson = {
name: 'a',
version: '1.1.0'
};
const originalPackageJson: IPackageJson = {
name: 'a',
version: '1.0.1'
};
expect(lockStepVersionPolicy.ensure(originalPackageJson)).toEqual(expectedPackageJson);
});
it('throws exception if version is higher than the locked step version', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
const originalPackageJson: IPackageJson = {
name: 'a',
version: '2.1.0'
};
expect(() => {
lockStepVersionPolicy.ensure(originalPackageJson);
}).toThrow();
});
it('update version with force if version is higher than the locked step version', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
const originalPackageJson: IPackageJson = {
name: 'a',
version: '2.1.0'
};
const expectedPackageJson: IPackageJson = {
name: 'a',
version: '1.1.0'
};
expect(lockStepVersionPolicy.ensure(originalPackageJson, true)).toEqual(expectedPackageJson);
});
it('doesnt bump version if nextBump is undefined', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy2 as LockStepVersionPolicy;
expect(lockStepVersionPolicy.nextBump).toEqual(undefined);
lockStepVersionPolicy.bump();
expect(lockStepVersionPolicy.version).toEqual('1.2.0');
expect(lockStepVersionPolicy.nextBump).toEqual(undefined);
});
it('bumps version for preminor release', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
lockStepVersionPolicy.bump(BumpType.preminor, 'pr');
expect(lockStepVersionPolicy.version).toEqual('1.2.0-pr.0');
expect(lockStepVersionPolicy.nextBump).toEqual(BumpType.patch);
});
it('bumps version for minor release', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
lockStepVersionPolicy.bump(BumpType.minor);
expect(lockStepVersionPolicy.version).toEqual('1.2.0');
expect(lockStepVersionPolicy.nextBump).toEqual(BumpType.patch);
});
it('can update version directly', () => {
expect(versionPolicy1).toBeInstanceOf(LockStepVersionPolicy);
const lockStepVersionPolicy: LockStepVersionPolicy = versionPolicy1 as LockStepVersionPolicy;
const newVersion: string = '1.5.6-beta.0';
lockStepVersionPolicy.update(newVersion);
expect(lockStepVersionPolicy.version).toEqual(newVersion);
});
});
describe(IndividualVersionPolicy.name, () => {
const fileName: string = `${__dirname}/jsonFiles/rushWithIndividualVersion.json`;
const versionPolicyConfig: VersionPolicyConfiguration = new VersionPolicyConfiguration(fileName);
const versionPolicy: VersionPolicy = versionPolicyConfig.getVersionPolicy('testPolicy2');
it('loads configuration', () => {
expect(versionPolicy).toBeInstanceOf(IndividualVersionPolicy);
const individualVersionPolicy: IndividualVersionPolicy = versionPolicy as IndividualVersionPolicy;
expect(individualVersionPolicy.lockedMajor).toEqual(2);
});
it('skips packageJson if no need to change', () => {
const individualVersionPolicy: IndividualVersionPolicy = versionPolicy as IndividualVersionPolicy;
expect(
individualVersionPolicy.ensure({
name: 'a',
version: '2.1.0'
})
).not.toBeDefined();
});
it('updates packageJson if version is lower than the locked major', () => {
const individualVersionPolicy: IndividualVersionPolicy = versionPolicy as IndividualVersionPolicy;
const expectedPackageJson: IPackageJson = {
name: 'a',
version: '2.0.0'
};
const originalPackageJson: IPackageJson = {
name: 'a',
version: '1.0.1'
};
expect(individualVersionPolicy.ensure(originalPackageJson)).toEqual(expectedPackageJson);
});
it('throws exception if version is higher than the locked step version', () => {
const individualVersionPolicy: IndividualVersionPolicy = versionPolicy as IndividualVersionPolicy;
const originalPackageJson: IPackageJson = {
name: 'a',
version: '3.1.0'
};
expect(() => {
individualVersionPolicy.ensure(originalPackageJson);
}).toThrow();
});
});
});
``` | /content/code_sandbox/libraries/rush-lib/src/api/test/VersionPolicy.test.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 1,550 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="#10000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<solid android:color="#00000000"/>
</shape>
</item>
</selector>
``` | /content/code_sandbox/app/src/main/res/drawable/selector_remote_views_action_background.xml | xml | 2016-09-13T14:38:32 | 2024-08-16T12:30:58 | StylishMusicPlayer | ryanhoo/StylishMusicPlayer | 3,699 | 98 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<dataset>
<metadata>
<column name="udf_name" />
<column name="udf_return_type" />
<column name="udf_type" />
<column name="udf_library" />
<column name="udf_usage_count" />
</metadata>
</dataset>
``` | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/mysql/select_mysql_performance_schema_user_defined_functions.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 138 |
```xml
// Definitions by: Richard Tan <path_to_url
declare function get(item: any[] | {}, target: string | string[], defaultValue?: any): any;
export default get;
``` | /content/code_sandbox/packages/object-safe-get/index.d.ts | xml | 2016-06-26T02:04:54 | 2024-08-15T00:08:43 | just | angus-c/just | 5,974 | 37 |
```xml
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ProtectedLazyRoutingModule } from './protected-lazy-routing.module';
import { ProtectedLazyComponent } from './protected-lazy.component';
@NgModule({
declarations: [ProtectedLazyComponent],
imports: [
CommonModule,
ProtectedLazyRoutingModule
]
})
export class ProtectedLazyModule { }
``` | /content/code_sandbox/samples/compat/src/app/protected-lazy/protected-lazy.module.ts | xml | 2016-01-11T20:47:23 | 2024-08-14T12:09:31 | angularfire | angular/angularfire | 7,648 | 78 |
```xml
import periodLockMutations from './periodLocks';
import contractMutations from './contracts';
import contractTypeMutations from './contractTypes';
import transactionMutations from './transactions';
import blockMutations from './block';
export default {
...periodLockMutations,
...contractTypeMutations,
...contractMutations,
...transactionMutations,
...blockMutations
};
``` | /content/code_sandbox/packages/plugin-savings-api/src/graphql/resolvers/mutations/index.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 82 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Evaluates the natural logarithm of the probability mass function (PMF) for a Poisson distribution.
*
* @param x - input value
* @returns evaluated PMF
*/
type Unary = ( x: number ) => number;
/**
* Interface for the natural logarithm of the probability mass function (PMF) of a Poisson distribution.
*/
interface LogPMF {
/**
* Evaluates the natural logarithm of the probability mass function (PMF) for a Poisson distribution with mean parameter `lambda` at a value `x`.
*
* ## Notes
*
* - If provided a negative value for `lambda`, the function returns `NaN`.
*
* @param x - input value
* @param lambda - mean parameter
* @returns evaluated logPMF
*
* @example
* var y = logpmf( 4.0, 3.0 );
* // returns ~-1.784
*
* @example
* var y = logpmf( 1.0, 3.0 );
* // returns ~-1.901
*
* @example
* var y = logpmf( -1.0, 2.0 );
* // returns -Infinity
*
* @example
* var y = logpmf( 0.0, NaN );
* // returns NaN
*
* @example
* var y = logpmf( NaN, 0.5 );
* // returns NaN
*
* @example
* // Invalid mean parameter:
* var y = logpmf( 2.0, -0.5 );
* // returns NaN
*/
( x: number, lambda: number ): number;
/**
* Returns a function for evaluating the natural logarithm of the probability mass function (PMF) for a Poisson distribution with mean parameter `lambda`.
*
* @param lambda - mean parameter
* @returns logPMF
*
* @example
* var mylogpmf = logpmf.factory( 1.0 );
* var y = mylogpmf( 3.0 );
* // returns ~-2.792
*
* y = mylogpmf( 1.0 );
* // returns ~-1.0
*/
factory( lambda: number ): Unary;
}
/**
* Poisson distribution natural logarithm of probability mass function (PMF).
*
* @param x - input value
* @param lambda - mean parameter
* @returns evaluated logPMF
*
* @example
* var y = logpmf( 4.0, 3.0 );
* // returns ~-1.784
*
* y = logpmf( 1.0, 3.0 );
* // returns ~-1.901
*
* y = logpmf( -1.0, 2.0 );
* // returns -Infinity
*
* var mylogpmf = logpmf.factory( 1.0 );
* y = mylogpmf( 3.0 );
* // returns ~-2.797
*
* y = mylogpmf( 1.0 );
* // returns ~-1.0
*/
declare var logPMF: LogPMF;
// EXPORTS //
export = logPMF;
``` | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/poisson/logpmf/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 796 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{86767147-45A8-4EAD-AA63-6E160679A586}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>MyiOSAppWithBinding</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>MyiOSAppWithBinding</AssemblyName>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>x86_64</MtouchArch>
<MtouchLink>None</MtouchLink>
<MtouchDebug>true</MtouchDebug>
<MtouchProfiling>true</MtouchProfiling>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>ARM64</MtouchArch>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchFloat32>true</MtouchFloat32>
<CodesignKey>iPhone Developer</CodesignKey>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>x86_64</MtouchArch>
<MtouchLink>None</MtouchLink>
<CodesignKey>iPhone Developer</CodesignKey>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhone\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchArch>ARM64</MtouchArch>
<MtouchLink>Full</MtouchLink>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchFloat32>true</MtouchFloat32>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchDebug>true</MtouchDebug>
<MtouchProfiling>true</MtouchProfiling>
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json" />
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="Resources\LaunchScreen.xib" />
<InterfaceDefinition Include="Main.storyboard" />
</ItemGroup>
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<Compile Include="AppDelegate.cs" />
<Compile Include="ViewController.cs" />
<Compile Include="ViewController.designer.cs">
<DependentUpon>ViewController.cs</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<ItemGroup>
<ProjectReference Include="..\MyiOSFrameworkBinding\MyiOSFrameworkBinding.csproj">
<Project>{CB22E620-41D9-4625-805E-0CE15D3A7286}</Project>
<Name>MyiOSFrameworkBinding</Name>
</ProjectReference>
</ItemGroup>
</Project>
``` | /content/code_sandbox/tests/common/TestProjects/MyiOSAppWithBinding/MyiOSAppWithBinding.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 1,146 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:ignore="MissingDefaultResource">
<TextView
android:id="@+id/test2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="1111111111111" />
<TextView
android:id="@id/test2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="222222222222222222222222222222222222222" />
</RelativeLayout>
``` | /content/code_sandbox/app/src/main/res/layout/test.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 175 |
```xml
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\source\SkiaSharp.Build.targets" />
</Project>
``` | /content/code_sandbox/benchmarks/Directory.Build.targets | xml | 2016-02-22T17:54:43 | 2024-08-16T17:53:42 | SkiaSharp | mono/SkiaSharp | 4,347 | 27 |
```xml
import { describe, expect, it } from 'vitest';
import { scrubArgv } from '../../../../src/util/build/scrub-argv';
describe('scrubArgv()', () => {
describe('--build-env', () => {
it('should scrub --build-env <key=value>', () => {
const result = scrubArgv(['foo', '--build-env', 'bar=wiz', 'baz']);
expect(result).toEqual(['foo', '--build-env', 'REDACTED', 'baz']);
});
it('should scrub --build-env=<key=value>', () => {
const result = scrubArgv(['foo', '--build-env=bar=wiz', 'baz']);
expect(result).toEqual(['foo', '--build-env=REDACTED', 'baz']);
});
it('should handle --build-env without a value', () => {
const result = scrubArgv(['foo', '--build-env']);
expect(result).toEqual(['foo', '--build-env']);
});
it('should scrub -b <key=value>', () => {
const result = scrubArgv(['foo', '-b', 'bar=wiz', 'baz']);
expect(result).toEqual(['foo', '-b', 'REDACTED', 'baz']);
});
it('should scrub -b=<token>', () => {
const result = scrubArgv(['foo', '-b=bar=wiz', 'baz']);
expect(result).toEqual(['foo', '-b=REDACTED', 'baz']);
});
it('should handle -b without a value', () => {
const result = scrubArgv(['foo', '-b']);
expect(result).toEqual(['foo', '-b']);
});
it('should scrub -b from grouped short flags', () => {
const result = scrubArgv(['foo', '-xyb', 'bar=wiz', 'baz']);
expect(result).toEqual(['foo', '-xyb', 'REDACTED', 'baz']);
});
});
describe('--env', () => {
it('should scrub --env <key=value>', () => {
const result = scrubArgv(['foo', '--env', 'bar=wiz', 'baz']);
expect(result).toEqual(['foo', '--env', 'REDACTED', 'baz']);
});
it('should scrub --env=<key=value>', () => {
const result = scrubArgv(['foo', '--env=bar=wiz', 'baz']);
expect(result).toEqual(['foo', '--env=REDACTED', 'baz']);
});
it('should handle --env without a value', () => {
const result = scrubArgv(['foo', '--env']);
expect(result).toEqual(['foo', '--env']);
});
it('should scrub -e <key=value>', () => {
const result = scrubArgv(['foo', '-e', 'bar=wiz', 'baz']);
expect(result).toEqual(['foo', '-e', 'REDACTED', 'baz']);
});
it('should scrub -e=<token>', () => {
const result = scrubArgv(['foo', '-e=bar=wiz', 'baz']);
expect(result).toEqual(['foo', '-e=REDACTED', 'baz']);
});
it('should handle -e without a value', () => {
const result = scrubArgv(['foo', '-e']);
expect(result).toEqual(['foo', '-e']);
});
it('should scrub -e from grouped short flags', () => {
const result = scrubArgv(['foo', '-xye', 'bar=wiz', 'baz']);
expect(result).toEqual(['foo', '-xye', 'REDACTED', 'baz']);
});
});
describe('--token', () => {
it('should scrub --token <token>', () => {
const result = scrubArgv(['foo', '--token', 'bar', 'baz']);
expect(result).toEqual(['foo', '--token', 'REDACTED', 'baz']);
});
it('should scrub --token=<token>', () => {
const result = scrubArgv(['foo', '--token=bar', 'baz']);
expect(result).toEqual(['foo', '--token=REDACTED', 'baz']);
});
it('should handle --token without a value', () => {
const result = scrubArgv(['foo', '--token']);
expect(result).toEqual(['foo', '--token']);
});
it('should scrub -t <token>', () => {
const result = scrubArgv(['foo', '-t', 'bar', 'baz']);
expect(result).toEqual(['foo', '-t', 'REDACTED', 'baz']);
});
it('should scrub -t=<token>', () => {
const result = scrubArgv(['foo', '-t=bar', 'baz']);
expect(result).toEqual(['foo', '-t=REDACTED', 'baz']);
});
it('should handle -t without a value', () => {
const result = scrubArgv(['foo', '-t']);
expect(result).toEqual(['foo', '-t']);
});
it('should scrub -t from grouped short flags', () => {
const result = scrubArgv(['foo', '-xyt', 'bar', 'baz']);
expect(result).toEqual(['foo', '-xyt', 'REDACTED', 'baz']);
});
});
describe('Multiple', () => {
it('should scrub vc build arg', () => {
const result = scrubArgv([
'vc',
'build',
'--cwd',
'/path/to/project',
'--env',
'"NODE_ENV=production"',
'--token',
'"$TOKEN"',
'--prod',
'--yes',
]);
expect(result).toEqual([
'vc',
'build',
'--cwd',
'/path/to/project',
'--env',
'REDACTED',
'--token',
'REDACTED',
'--prod',
'--yes',
]);
});
it('should scrub multiple args', () => {
const result = scrubArgv([
'a',
'--token',
'b',
'c',
'-xyt',
'd',
'--env',
'e=f',
'-e',
'g=h',
'--build-env',
'i',
'-b',
'j=k',
'-vb=l',
'm',
'--env2',
'n',
'-ot',
'p',
'-t=',
'-e="r"',
's',
]);
expect(result).toEqual([
'a',
'--token',
'REDACTED',
'c',
'-xyt',
'REDACTED',
'--env',
'REDACTED',
'-e',
'REDACTED',
'--build-env',
'REDACTED',
'-b',
'REDACTED',
'-vb=REDACTED',
'm',
'--env2',
'n',
'-ot',
'REDACTED',
'-t=REDACTED',
'-e=REDACTED',
's',
]);
});
});
});
``` | /content/code_sandbox/packages/cli/test/unit/util/build/scrub-argv.test.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 1,558 |
```xml
import { ConfigPlugin, withPlugins } from '@expo/config-plugins';
import {
withIosModulesAppDelegate,
withIosModulesAppDelegateObjcHeader,
withIosModulesSwiftBridgingHeader,
} from './withIosModulesAppDelegate';
import { withIosModulesPodfile } from './withIosModulesPodfile';
export const withIosModules: ConfigPlugin = (config) => {
return withPlugins(config, [
withIosModulesAppDelegate,
withIosModulesAppDelegateObjcHeader,
withIosModulesSwiftBridgingHeader,
withIosModulesPodfile,
]);
};
``` | /content/code_sandbox/packages/install-expo-modules/src/plugins/ios/withIosModules.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 133 |
```xml
import * as React from 'react';
import { IDocPageProps } from '@fluentui/react/lib/common/DocPage.types';
import { HoverCardBasicExample } from './HoverCard.Basic.Example';
import { HoverCardPlainCardExample } from './HoverCard.PlainCard.Example';
import { HoverCardTargetExample } from './HoverCard.Target.Example';
import { HoverCardInstantDismissExample } from './HoverCard.InstantDismiss.Example';
import { HoverCardEventListenerTargetExample } from './HoverCard.EventListenerTarget.Example';
const HoverCardBasicExampleCode =
require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/HoverCard.Basic.Example.tsx') as string;
const HoverCardTargetExampleCode =
require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/HoverCard.Target.Example.tsx') as string;
const HoverCardPlainCardExampleCode =
require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/HoverCard.PlainCard.Example.tsx') as string;
const HoverCardInstantDismissExampleCode =
require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/HoverCard.InstantDismiss.Example.tsx') as string;
const HoverCardEventListenerTargetExampleCode =
require('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/HoverCard.EventListenerTarget.Example.tsx') as string;
export const HoverCardPageProps: IDocPageProps = {
title: 'HoverCard',
componentName: 'HoverCard',
componentUrl: 'path_to_url
examples: [
{
title: 'Expanding HoverCard wrapping an element',
code: HoverCardBasicExampleCode,
view: <HoverCardBasicExample />,
},
{
title: 'Expanding HoverCard using target, DirectionalHint and custom hotkey',
code: HoverCardTargetExampleCode,
view: <HoverCardTargetExample />,
},
{
title: 'Plain HoverCard wrapping an element',
code: HoverCardPlainCardExampleCode,
view: <HoverCardPlainCardExample />,
},
{
title: 'Plain HoverCard with instant dismiss from within the card button click',
code: HoverCardInstantDismissExampleCode,
view: <HoverCardInstantDismissExample />,
},
{
title: 'HoverCard using eventListenerTarget to trigger card open',
code: HoverCardEventListenerTargetExampleCode,
view: <HoverCardEventListenerTargetExample />,
},
],
overview: require<string>('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/docs/HoverCardOverview.md'),
bestPractices: require<string>('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/docs/HoverCardBestPractices.md'),
dos: require<string>('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/docs/HoverCardDos.md'),
donts: require<string>('!raw-loader?esModule=false!@fluentui/react-examples/src/react/HoverCard/docs/HoverCardDonts.md'),
isHeaderVisible: true,
isFeedbackVisible: true,
allowNativeProps: true,
};
``` | /content/code_sandbox/packages/react-examples/src/react/HoverCard/HoverCard.doc.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 716 |
```xml
import { EditorPlugin } from '@draft-js-plugins/editor';
import { EditorState } from 'draft-js';
import UploadPlaceholder from './components/UploadPlaceholder';
import handleDroppedFiles, { FileData } from './handleDroppedFiles';
export { readFile, readFiles } from './utils/file';
export type PlaceholderBlockType = {
key: string;
text: string;
blockKey: string;
};
export type FileToUpload = {
src: string;
name: string;
};
type SucessFunction = (uploadedFiles: Array<FileToUpload>) => void;
type FailFunction = (file: FileToUpload) => void;
type ProgressFunction = (percent: number, file: FileToUpload) => void;
export interface DndUploadPluginConfig {
handleUpload?(
data: FileData,
success: SucessFunction,
failed: FailFunction,
progress: ProgressFunction
): string;
addImage?(
editorState: EditorState,
placeholderSrc: string | ArrayBuffer | null
): EditorState;
}
const createDndFileUploadPlugin = (
config: DndUploadPluginConfig = {}
): EditorPlugin => ({
// Handle file drops
handleDroppedFiles: handleDroppedFiles(config),
blockRendererFn: (block, { getEditorState }) => {
if (block.getType() === 'atomic') {
const contentState = getEditorState().getCurrentContent();
const entity = block.getEntityAt(0);
if (!entity) return null;
const type = contentState.getEntity(entity).getType();
if (type === 'UploadPlaceholder' || type === 'PLACEHOLDER') {
return {
component: UploadPlaceholder,
editable: false,
};
}
return null;
}
return null;
},
});
export default createDndFileUploadPlugin;
``` | /content/code_sandbox/packages/drag-n-drop-upload/src/index.ts | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 389 |
```xml
class ResizeObserver {
observe() {
// do nothing
}
unobserve() {
// do nothing
}
disconnect() {
// do nothing
}
}
export default ResizeObserver;
``` | /content/code_sandbox/packages/activation/src/tests/mock/ResizeObserver.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 45 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<dataset>
<metadata>
<column name="db"/>
<column name="object_type"/>
<column name="count"/>
</metadata>
</dataset>
``` | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/mysql/select_mysql_sys_schema_object_overview.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 108 |
```xml
import * as React from 'react';
import {
FolderRegular,
EditRegular,
OpenRegular,
DocumentRegular,
PeopleRegular,
DocumentPdfRegular,
VideoRegular,
} from '@fluentui/react-icons';
import {
PresenceBadgeStatus,
Avatar,
DataGridBody,
DataGridRow,
DataGrid,
DataGridHeader,
DataGridHeaderCell,
DataGridCell,
TableCellLayout,
TableColumnDefinition,
createTableColumn,
TableRowId,
DataGridProps,
} from '@fluentui/react-components';
type FileCell = {
label: string;
icon: JSX.Element;
};
type LastUpdatedCell = {
label: string;
timestamp: number;
};
type LastUpdateCell = {
label: string;
icon: JSX.Element;
};
type AuthorCell = {
label: string;
status: PresenceBadgeStatus;
};
type Item = {
file: FileCell;
author: AuthorCell;
lastUpdated: LastUpdatedCell;
lastUpdate: LastUpdateCell;
};
const items: Item[] = [
{
file: { label: 'Meeting notes', icon: <DocumentRegular /> },
author: { label: 'Max Mustermann', status: 'available' },
lastUpdated: { label: '7h ago', timestamp: 1 },
lastUpdate: {
label: 'You edited this',
icon: <EditRegular />,
},
},
{
file: { label: 'Thursday presentation', icon: <FolderRegular /> },
author: { label: 'Erika Mustermann', status: 'busy' },
lastUpdated: { label: 'Yesterday at 1:45 PM', timestamp: 2 },
lastUpdate: {
label: 'You recently opened this',
icon: <OpenRegular />,
},
},
{
file: { label: 'Training recording', icon: <VideoRegular /> },
author: { label: 'John Doe', status: 'away' },
lastUpdated: { label: 'Yesterday at 1:45 PM', timestamp: 2 },
lastUpdate: {
label: 'You recently opened this',
icon: <OpenRegular />,
},
},
{
file: { label: 'Purchase order', icon: <DocumentPdfRegular /> },
author: { label: 'Jane Doe', status: 'offline' },
lastUpdated: { label: 'Tue at 9:30 AM', timestamp: 3 },
lastUpdate: {
label: 'You shared this in a Teams chat',
icon: <PeopleRegular />,
},
},
];
const columns: TableColumnDefinition<Item>[] = [
createTableColumn<Item>({
columnId: 'file',
compare: (a, b) => {
return a.file.label.localeCompare(b.file.label);
},
renderHeaderCell: () => {
return 'File';
},
renderCell: item => {
return <TableCellLayout media={item.file.icon}>{item.file.label}</TableCellLayout>;
},
}),
createTableColumn<Item>({
columnId: 'author',
compare: (a, b) => {
return a.author.label.localeCompare(b.author.label);
},
renderHeaderCell: () => {
return 'Author';
},
renderCell: item => {
return (
<TableCellLayout
media={
<Avatar aria-label={item.author.label} name={item.author.label} badge={{ status: item.author.status }} />
}
>
{item.author.label}
</TableCellLayout>
);
},
}),
createTableColumn<Item>({
columnId: 'lastUpdated',
compare: (a, b) => {
return a.lastUpdated.timestamp - b.lastUpdated.timestamp;
},
renderHeaderCell: () => {
return 'Last updated';
},
renderCell: item => {
return item.lastUpdated.label;
},
}),
createTableColumn<Item>({
columnId: 'lastUpdate',
compare: (a, b) => {
return a.lastUpdate.label.localeCompare(b.lastUpdate.label);
},
renderHeaderCell: () => {
return 'Last update';
},
renderCell: item => {
return <TableCellLayout media={item.lastUpdate.icon}>{item.lastUpdate.label}</TableCellLayout>;
},
}),
];
export const SingleSelectControlled = () => {
const [selectedRows, setSelectedRows] = React.useState(new Set<TableRowId>([1]));
const onSelectionChange: DataGridProps['onSelectionChange'] = (e, data) => {
setSelectedRows(data.selectedItems);
};
return (
<DataGrid
items={items}
columns={columns}
selectionMode="single"
selectedItems={selectedRows}
onSelectionChange={onSelectionChange}
style={{ minWidth: '550px' }}
>
<DataGridHeader>
<DataGridRow>
{({ renderHeaderCell }) => <DataGridHeaderCell>{renderHeaderCell()}</DataGridHeaderCell>}
</DataGridRow>
</DataGridHeader>
<DataGridBody<Item>>
{({ item, rowId }) => (
<DataGridRow<Item> key={rowId} selectionCell={{ radioIndicator: { 'aria-label': 'Select row' } }}>
{({ renderCell }) => <DataGridCell>{renderCell(item)}</DataGridCell>}
</DataGridRow>
)}
</DataGridBody>
</DataGrid>
);
};
SingleSelectControlled.parameters = {
docs: {
description: {
story: [
'To enable selection, the `selectionMode` prop needs to be set. The API surface is directly',
'equivalent to the usage of `useTableFeatures`.',
].join('\n'),
},
},
};
``` | /content/code_sandbox/packages/react-components/react-table/stories/src/DataGrid/SingleSelectControlled.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,236 |
```xml
import { vtkAlgorithm, vtkObject } from '../../../interfaces';
import { Vector3 } from '../../../types';
export enum ShapeType {
TRIANGLE,
STAR,
ARROW_4,
ARROW_6,
}
/**
*
*/
export interface IArrow2DSourceInitialValues {
base?: number;
height?: number;
width?: number;
thickness?: number;
center?: Vector3;
pointType?: string;
origin?: Vector3;
direction?: Vector3;
}
type vtkArrow2DSourceBase = vtkObject &
Omit<
vtkAlgorithm,
| 'getInputData'
| 'setInputData'
| 'setInputConnection'
| 'getInputConnection'
| 'addInputConnection'
| 'addInputData'
>;
export interface vtkArrow2DSource extends vtkArrow2DSourceBase {
/**
* Get the cap the base of the cone with a polygon.
* @default 0
*/
getBase(): number;
/**
* Get the center of the cone.
* @default [0, 0, 0]
*/
getCenter(): Vector3;
/**
* Get the center of the cone.
*/
getCenterByReference(): Vector3;
/**
* Get the orientation vector of the cone.
* @default [1.0, 0.0, 0.0]
*/
getDirection(): Vector3;
/**
* Get the orientation vector of the cone.
*/
getDirectionByReference(): Vector3;
/**
* Get the height of the cone.
* @default 1.0
*/
getHeight(): number;
/**
* Get the base thickness of the cone.
* @default 0.5
*/
getThickness(): number;
/**
* Get the number of facets used to represent the cone.
* @default 6
*/
getWidth(): number;
/**
* Expose methods
* @param inData
* @param outData
*/
requestData(inData: any, outData: any): void;
/**
* Turn on/off whether to cap the base of the cone with a polygon.
* @param {Number} base The value of the
*/
setBase(base: number): boolean;
/**
* Set the center of the cone.
* It is located at the middle of the axis of the cone.
* !!! warning
* This is not the center of the base of the cone!
* @param {Number} x The x coordinate.
* @param {Number} y The y coordinate.
* @param {Number} z The z coordinate.
* @default [0, 0, 0]
*/
setCenter(x: number, y: number, z: number): boolean;
/**
* Set the center of the cone.
* It is located at the middle of the axis of the cone.
* !!! warning
* This is not the center of the base of the cone!
* @param {Vector3} center The center of the cone coordinates.
* @default [0, 0, 0]
*/
setCenterFrom(center: Vector3): boolean;
/**
* Set the direction for the arrow.
* @param {Number} x The x coordinate.
* @param {Number} y The y coordinate.
* @param {Number} z The z coordinate.
*/
setDirection(x: number, y: number, z: number): boolean;
/**
* Set the direction for the arrow 2D.
* @param {Vector3} direction The direction coordinates.
*/
setDirection(direction: Vector3): boolean;
/**
* Set the direction for the arrow 2D.
* @param {Vector3} direction The direction coordinates.
*/
setDirectionFrom(direction: Vector3): boolean;
/**
* Set the height of the cone.
* This is the height along the cone in its specified direction.
* @param {Number} height The height value.
*/
setHeight(height: number): boolean;
/**
* Set the base thickness of the cone.
* @param {Number} thickness The thickness value.
*/
setThickness(thickness: number): boolean;
/**
* Set the number of facets used to represent the cone.
* @param {Number} width The width value.
*/
setWidth(width: number): boolean;
}
/**
* Method used to decorate a given object (publicAPI+model) with vtkArrow2DSource characteristics.
*
* @param publicAPI object on which methods will be bounds (public)
* @param model object on which data structure will be bounds (protected)
* @param {IArrow2DSourceInitialValues} [initialValues] (default: {})
*/
export function extend(
publicAPI: object,
model: object,
initialValues?: IArrow2DSourceInitialValues
): void;
/**
* Method used to create a new instance of vtkArrow2DSource.
* @param {IArrow2DSourceInitialValues} [initialValues] for pre-setting some of its content
*/
export function newInstance(
initialValues?: IArrow2DSourceInitialValues
): vtkArrow2DSource;
/**
* vtkArrow2DSource creates a cone centered at a specified point and pointing in a specified direction.
* (By default, the center is the origin and the direction is the x-axis.) Depending upon the resolution of this object,
* different representations are created. If resolution=0 a line is created; if resolution=1, a single triangle is created;
* if resolution=2, two crossed triangles are created. For resolution > 2, a 3D cone (with resolution number of sides)
* is created. It also is possible to control whether the bottom of the cone is capped with a (resolution-sided) polygon,
* and to specify the height and thickness of the cone.
*/
export declare const vtkArrow2DSource: {
newInstance: typeof newInstance;
extend: typeof extend;
};
export default vtkArrow2DSource;
``` | /content/code_sandbox/Sources/Filters/Sources/Arrow2DSource/index.d.ts | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 1,312 |
```xml
import {store} from "../store";
import socket from "../socket";
socket.on("disconnect", handleDisconnect);
socket.on("connect_error", handleDisconnect);
socket.on("error", handleDisconnect);
socket.io.on("reconnect_attempt", function (attempt) {
store.commit("currentUserVisibleError", `Reconnecting (attempt ${attempt})`);
updateLoadingMessage();
});
socket.on("connecting", function () {
store.commit("currentUserVisibleError", "Connecting");
updateLoadingMessage();
});
socket.on("connect", function () {
// Clear send buffer when reconnecting, socket.io would emit these
// immediately upon connection and it will have no effect, so we ensure
// nothing is sent to the server that might have happened.
socket.sendBuffer = [];
store.commit("currentUserVisibleError", "Finalizing connection");
updateLoadingMessage();
});
function handleDisconnect(data) {
const message = String(data.message || data);
store.commit("isConnected", false);
if (!socket.io.reconnection()) {
store.commit(
"currentUserVisibleError",
`Disconnected from the server (${message}), The Lounge does not reconnect in public mode.`
);
updateLoadingMessage();
return;
}
store.commit("currentUserVisibleError", `Waiting to reconnect (${message})`);
updateLoadingMessage();
// If the server shuts down, socket.io skips reconnection
// and we have to manually call connect to start the process
// However, do not reconnect if TL client manually closed the connection
// @ts-expect-error Property 'skipReconnect' is private and only accessible within class 'Manager<ListenEvents, EmitEvents>'.ts(2341)
if (socket.io.skipReconnect && message !== "io client disconnect") {
requestIdleCallback(() => socket.connect(), 2000);
}
}
function requestIdleCallback(callback, timeout) {
if (window.requestIdleCallback) {
// During an idle period the user agent will run idle callbacks in FIFO order
// until either the idle period ends or there are no more idle callbacks eligible to be run.
window.requestIdleCallback(callback, {timeout});
} else {
callback();
}
}
function updateLoadingMessage() {
const loading = document.getElementById("loading-page-message");
if (loading) {
loading.textContent = store.state.currentUserVisibleError;
}
}
``` | /content/code_sandbox/client/js/socket-events/connection.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 485 |
```xml
import React, { useMemo } from 'react'
import { CompleteTheme } from '@nivo/core'
import { ResponsiveHeatMap } from '@nivo/heatmap'
import { generateXYSeries } from '@nivo/generators'
export const ThemedHeatMap = ({ theme }: { theme: CompleteTheme }) => {
const data = useMemo(
() =>
generateXYSeries({
serieIds: ['A', 'B', 'C', 'D', 'E'],
x: { values: ['A', 'B', 'C', 'D', 'E'] },
y: {
length: NaN,
min: -100,
max: 100,
round: true,
},
}),
[]
)
return (
<ResponsiveHeatMap
data={data}
margin={{
top: 40,
right: 70,
bottom: 50,
left: 50,
}}
theme={theme}
colors={{
type: 'diverging',
scheme: 'red_yellow_blue',
minValue: -100,
maxValue: 100,
}}
inactiveOpacity={0.35}
animate={false}
xOuterPadding={0.1}
yOuterPadding={0.1}
axisTop={null}
axisBottom={{
legend: 'X axis legend',
legendPosition: 'middle',
legendOffset: 34,
}}
axisLeft={{
legend: 'Y axis legend',
legendPosition: 'middle',
legendOffset: -36,
}}
legends={[
{
anchor: 'right',
direction: 'column',
translateX: 32,
length: 140,
thickness: 10,
ticks: [-100, -75, -50, -25, 0, 25, 50, 75, 100],
title: 'Legend Title ',
},
]}
annotations={[
{
match: { id: 'B.B' },
type: 'rect',
offset: 3,
borderRadius: 3,
noteX: 20,
noteY: { abs: -10 },
note: 'Sample annotation',
},
]}
/>
)
}
``` | /content/code_sandbox/website/src/components/guides/theming/ThemedHeatMap.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 475 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2657" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="H1p-Uh-vWS">
<device id="retina5_5" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
<scene sceneID="pY4-Hu-kfo">
<objects>
<navigationController storyboardIdentifier="DHMainNavigationController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="RMx-3f-FxP" customClass="DHNavigationController" sceneMemberID="viewController">
<navigationBar key="navigationBar" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" id="Pmd-2v-anx">
<rect key="frame" x="0.0" y="20" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="7bK-jq-Zjz" kind="relationship" relationship="rootViewController" id="tsl-Nk-0bq"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8fS-aE-onr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="246" y="-545"/>
</scene>
<!--Nested Result-->
<scene sceneID="ftd-z8-gfn">
<objects>
<tableViewController storyboardIdentifier="DHNestedBrowser" useStoryboardIdentifierAsRestorationIdentifier="YES" id="On6-fK-Wo0" customClass="DHNestedViewController" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHNestedBrowserTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="34K-oz-RHA">
<rect key="frame" x="0.0" y="0.0" width="414" height="672"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BLABLA Cell" id="x0P-fR-ekF">
<rect key="frame" x="0.0" y="22" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="x0P-fR-ekF" id="xkY-Bg-Jb1">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="On6-fK-Wo0" id="1bW-nC-WxR"/>
<outlet property="delegate" destination="On6-fK-Wo0" id="33f-4n-Xfr"/>
</connections>
</tableView>
<extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
<navigationItem key="navigationItem" title="Nested Result" id="BLr-sT-VsR"/>
<connections>
<segue destination="JEX-9P-axG" kind="push" identifier="DHSearchWebViewSegue" id="JVl-yk-gWU"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="qBi-q0-XGz" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2322" y="404"/>
</scene>
<!--WebView-->
<scene sceneID="yUG-lL-AsK">
<objects>
<viewController storyboardIdentifier="DHWebViewController" title="WebView" useStoryboardIdentifierAsRestorationIdentifier="YES" id="JEX-9P-axG" customClass="DHWebViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="KEp-bG-ttG"/>
<viewControllerLayoutGuide type="bottom" id="UCD-CE-b5i"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="svH-Pt-448">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<webView opaque="NO" contentMode="scaleToFill" misplaced="YES" restorationIdentifier="DHWebView" scalesPageToFit="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0LW-3L-DOL" customClass="DHWebView">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<dataDetectorType key="dataDetectorTypes"/>
</webView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="0LW-3L-DOL" firstAttribute="top" secondItem="svH-Pt-448" secondAttribute="top" id="0jL-UA-6vM"/>
<constraint firstItem="0LW-3L-DOL" firstAttribute="leading" secondItem="svH-Pt-448" secondAttribute="leading" id="Hek-yP-hkF"/>
<constraint firstAttribute="bottom" secondItem="0LW-3L-DOL" secondAttribute="bottom" id="Jyu-U7-lXJ"/>
<constraint firstAttribute="trailing" secondItem="0LW-3L-DOL" secondAttribute="trailing" id="TI5-dG-fOf"/>
</constraints>
</view>
<toolbarItems/>
<navigationItem key="navigationItem" title="WebView" id="LO3-Fn-NLm"/>
<simulatedToolbarMetrics key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="webView" destination="0LW-3L-DOL" id="ZcG-L8-Mdc"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="FJe-Yq-33r" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="246" y="636"/>
</scene>
<!--Split View Controller-->
<scene sceneID="Nki-YV-4Qg">
<objects>
<splitViewController storyboardIdentifier="DHSplitView" useStoryboardIdentifierAsRestorationIdentifier="YES" id="H1p-Uh-vWS" customClass="DHSplitViewController" sceneMemberID="viewController">
<toolbarItems/>
<connections>
<segue destination="RMx-3f-FxP" kind="relationship" relationship="masterViewController" id="BlO-5A-QYV"/>
<segue destination="vC3-pB-5Vb" kind="relationship" relationship="detailViewController" id="Tll-UG-LXB"/>
</connections>
</splitViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="cZU-Oi-B1e" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-536.71875" y="-544.921875"/>
</scene>
<!--Settings-->
<scene sceneID="PgB-42-Mhn">
<objects>
<tableViewController storyboardIdentifier="DHPreferences" useStoryboardIdentifierAsRestorationIdentifier="YES" id="LN4-2N-5f1" customClass="DHPreferences" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="9XA-MP-Y6T">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<sections>
<tableViewSection headerTitle="Download" id="5ll-Jq-5KZ">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="DHSettingsCell" textLabel="Ug3-nq-xyc" imageView="CfY-ch-rUA" style="IBUITableViewCellStyleDefault" id="r0i-wt-QAr">
<rect key="frame" x="0.0" y="55.333333333333336" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="r0i-wt-QAr" id="x7u-4T-8E0">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Main Docsets" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Ug3-nq-xyc">
<rect key="frame" x="63" y="0.0" width="331" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" image="main_repo" id="CfY-ch-rUA">
<rect key="frame" x="20" y="7" width="28" height="28"/>
<autoresizingMask key="autoresizingMask"/>
</imageView>
</subviews>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="DHSettingsCell" textLabel="tCo-zC-KEK" imageView="mGt-fn-iWH" style="IBUITableViewCellStyleDefault" id="Il7-Fa-eRd">
<rect key="frame" x="0.0" y="99.333333333333343" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Il7-Fa-eRd" id="ewh-53-hgF">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Cheat Sheets" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="tCo-zC-KEK">
<rect key="frame" x="63" y="0.0" width="331" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" image="cheat_repo" id="mGt-fn-iWH">
<rect key="frame" x="20" y="7" width="28" height="28"/>
<autoresizingMask key="autoresizingMask"/>
</imageView>
</subviews>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="DHSettingsCell" textLabel="g0J-MY-Gyr" imageView="6px-e6-A4A" style="IBUITableViewCellStyleDefault" id="gTK-ia-7zI">
<rect key="frame" x="0.0" y="143.33333333333334" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gTK-ia-7zI" id="3LL-D8-sfE">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="User Contributed Docsets" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="g0J-MY-Gyr">
<rect key="frame" x="63" y="0.0" width="331" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" image="user_repo" id="6px-e6-A4A">
<rect key="frame" x="20" y="7" width="28" height="28"/>
<autoresizingMask key="autoresizingMask"/>
</imageView>
</subviews>
</tableViewCellContentView>
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="Other Sources" id="geA-nh-aJW">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="DHSettingsCell" textLabel="tH7-qh-OUH" imageView="hJO-jA-eBm" style="IBUITableViewCellStyleDefault" id="sda-gL-9CQ">
<rect key="frame" x="0.0" y="235.33333333333334" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="sda-gL-9CQ" id="Wp8-gy-b2o">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Transfer Docsets" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="tH7-qh-OUH">
<rect key="frame" x="63" y="0.0" width="331" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" image="transfer_repo" id="hJO-jA-eBm">
<rect key="frame" x="20" y="7" width="28" height="28"/>
<autoresizingMask key="autoresizingMask"/>
</imageView>
</subviews>
</tableViewCellContentView>
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="Settings" footerTitle="Dash will notify you when docset updates are available." id="DSC-i5-noV" userLabel="Updates Section">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="auto_updates" textLabel="L5q-QS-QhJ" style="IBUITableViewCellStyleDefault" id="NBw-o2-OgI">
<rect key="frame" x="0.0" y="334.66666666666669" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="NBw-o2-OgI" id="P7F-Da-gdU">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Automatic Updates" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="L5q-QS-QhJ">
<rect key="frame" x="20" y="0.0" width="374" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hvT-X0-nTG">
<rect key="frame" x="345" y="6" width="51" height="31"/>
<connections>
<action selector="updatesSwitchValueChanged:" destination="LN4-2N-5f1" eventType="valueChanged" id="74Q-tw-KN2"/>
</connections>
</switch>
</subviews>
<constraints>
<constraint firstItem="hvT-X0-nTG" firstAttribute="centerY" secondItem="L5q-QS-QhJ" secondAttribute="centerY" id="Znc-x7-6X4"/>
<constraint firstItem="hvT-X0-nTG" firstAttribute="trailing" secondItem="L5q-QS-QhJ" secondAttribute="trailing" id="rUM-hk-XWB"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection footerTitle="Docsets will be sorted alphabetically in the docset browser." id="o2t-VJ-no4" userLabel="Alphabetizing Section">
<cells>
<tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="alphabetizing" textLabel="j8z-O0-bgo" style="IBUITableViewCellStyleDefault" id="qBR-gw-pYW">
<rect key="frame" x="0.0" y="418.66666666666674" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="qBR-gw-pYW" id="1cz-0u-7TA">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Sort Alphabetically" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="j8z-O0-bgo">
<rect key="frame" x="20" y="0.0" width="374" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Wrv-Ov-oob">
<rect key="frame" x="345" y="6" width="51" height="31"/>
<connections>
<action selector="alphabetizingSwitchValueChanged:" destination="LN4-2N-5f1" eventType="valueChanged" id="uRX-cV-Fn1"/>
</connections>
</switch>
</subviews>
<constraints>
<constraint firstItem="Wrv-Ov-oob" firstAttribute="centerY" secondItem="j8z-O0-bgo" secondAttribute="centerY" id="aQw-Zc-KSP"/>
<constraint firstItem="Wrv-Ov-oob" firstAttribute="trailing" secondItem="j8z-O0-bgo" secondAttribute="trailing" id="df9-KI-7WX"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
</cells>
</tableViewSection>
</sections>
<connections>
<outlet property="dataSource" destination="LN4-2N-5f1" id="Efj-iq-t4A"/>
<outlet property="delegate" destination="LN4-2N-5f1" id="u0Q-nm-tNM"/>
</connections>
</tableView>
<toolbarItems>
<barButtonItem style="plain" systemItem="flexibleSpace" id="T2e-0d-yIN"/>
<barButtonItem title="Get Dash for macOS" id="2rJ-qk-tNm">
<connections>
<action selector="getDashForMacOS:" destination="LN4-2N-5f1" id="53W-TV-cwl"/>
</connections>
</barButtonItem>
<barButtonItem style="plain" systemItem="flexibleSpace" id="vy5-DI-Lqt"/>
</toolbarItems>
<navigationItem key="navigationItem" title="Settings" id="OIB-dx-J0z">
<barButtonItem key="leftBarButtonItem" style="done" systemItem="done" id="Fip-DI-Smg">
<connections>
<action selector="dismissModal:" destination="LN4-2N-5f1" id="KMc-0W-FPt"/>
</connections>
</barButtonItem>
</navigationItem>
<simulatedToolbarMetrics key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="alphabetizingCell" destination="qBR-gw-pYW" id="2ud-R6-qlJ"/>
<outlet property="alphabetizingSwitch" destination="Wrv-Ov-oob" id="xXQ-YN-OMD"/>
<outlet property="updatesCell" destination="NBw-o2-OgI" id="jen-wa-vKn"/>
<outlet property="updatesSwitch" destination="hvT-X0-nTG" id="uqh-Ew-FYx"/>
<segue destination="bVq-xA-3wd" kind="push" identifier="DHDocsetDownloaderToDetailSegue" splitViewControllerTargetIndex="1" id="078-Zd-cbO"/>
<segue destination="KZf-iV-yPx" kind="push" identifier="DHDocsetTransferrerToMasterSegue" splitViewControllerTargetIndex="0" id="vh9-ti-qTq"/>
<segue destination="KZf-iV-yPx" kind="push" identifier="DHDocsetTransferrerToDetailSegue" splitViewControllerTargetIndex="1" id="jto-ap-CAv"/>
<segue destination="bVq-xA-3wd" kind="push" identifier="DHDocsetDownloaderToMasterSegue" splitViewControllerTargetIndex="0" id="tZ0-kY-m9B"/>
<segue destination="7Pl-oD-WzV" kind="push" identifier="DHUserRepoToDetailSegue" splitViewControllerTargetIndex="1" id="UMU-KR-a0h"/>
<segue destination="7Pl-oD-WzV" kind="push" identifier="DHUserRepoToMasterSegue" splitViewControllerTargetIndex="0" id="BNM-LK-jE2"/>
<segue destination="bSe-FO-aTh" kind="push" identifier="DHCheatRepoToDetailSegue" splitViewControllerTargetIndex="1" id="oW0-T5-9L9"/>
<segue destination="bSe-FO-aTh" kind="push" identifier="DHCheatRepoToMasterSegue" splitViewControllerTargetIndex="0" id="z3k-ky-jyi"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="fmo-gt-gw4" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1586" y="-1657"/>
</scene>
<!--Docset Browser-->
<scene sceneID="smW-Zh-WAh">
<objects>
<tableViewController storyboardIdentifier="DHDocsetsBrowser" title="Docset Browser" useStoryboardIdentifierAsRestorationIdentifier="YES" clearsSelectionOnViewWillAppear="NO" id="7bK-jq-Zjz" customClass="DHDocsetBrowser" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHDocsetsBrowserTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="r7i-6Z-zg0" customClass="DHBrowserTableView">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" restorationIdentifier="DocsetsSearchBar" id="VJZ-Lp-FAA">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="7bK-jq-Zjz" id="dJ4-gv-uRt"/>
</connections>
</searchBar>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BLABLA" id="H2Y-Rn-XFZ">
<rect key="frame" x="0.0" y="66" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="H2Y-Rn-XFZ" id="kux-Q3-Ab3">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<sections/>
<connections>
<outlet property="dataSource" destination="7bK-jq-Zjz" id="Gho-Na-rnu"/>
<outlet property="delegate" destination="7bK-jq-Zjz" id="RA6-mI-bju"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Docsets" id="Zdf-7t-Un8">
<barButtonItem key="leftBarButtonItem" title="Settings" id="UFq-dX-jiF">
<connections>
<action selector="openSettings:" destination="7bK-jq-Zjz" id="q2C-N5-b8Q"/>
</connections>
</barButtonItem>
</navigationItem>
<connections>
<outlet property="searchDisplayController" destination="4Nc-re-3YX" id="d5C-Zk-9Cy"/>
<segue destination="LN4-2N-5f1" kind="show" identifier="DHOpenSettingsSegue" id="4LN-qs-RRA"/>
<segue destination="bVq-xA-3wd" kind="push" identifier="DHDocsetDownloaderToDetailSegue" splitViewControllerTargetIndex="1" id="BAb-G2-tNG"/>
<segue destination="MG8-DW-Fv2" kind="show" identifier="DHTypeBrowserSegue" id="Ocj-J9-g6q"/>
<segue destination="On6-fK-Wo0" kind="show" identifier="DHNestedSegue" id="Zvp-4Y-BjQ"/>
<segue destination="fAU-6P-OeP" kind="show" identifier="DHRemoteBrowserSegue" id="bdX-NV-KLl"/>
<segue destination="JEX-9P-axG" kind="push" identifier="DHSearchWebViewSegue" id="iku-X1-02v"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Rux-fX-hf1" sceneMemberID="firstResponder"/>
<searchDisplayController id="4Nc-re-3YX" customClass="DHSearchDisplayController">
<connections>
<outlet property="delegate" destination="7bK-jq-Zjz" id="t43-uI-qHE"/>
<outlet property="searchBar" destination="VJZ-Lp-FAA" id="sUn-GY-TJA"/>
<outlet property="searchContentsController" destination="7bK-jq-Zjz" id="FYG-uq-SSP"/>
<outlet property="searchResultsDataSource" destination="7bK-jq-Zjz" id="58Z-1R-yn6"/>
<outlet property="searchResultsDelegate" destination="7bK-jq-Zjz" id="Yap-xw-oMZ"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="918" y="-545"/>
</scene>
<!--Type Browser-->
<scene sceneID="0HO-gO-dJg">
<objects>
<tableViewController storyboardIdentifier="DHTypesBrowser" title="Type Browser" useStoryboardIdentifierAsRestorationIdentifier="YES" id="MG8-DW-Fv2" customClass="DHTypeBrowser" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHTypesBrowserTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="XY4-1C-CBf">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" id="VJR-eZ-B8V">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="MG8-DW-Fv2" id="4dd-ej-3oY"/>
</connections>
</searchBar>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BLABLA" id="VA8-am-q6Z">
<rect key="frame" x="0.0" y="66" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="VA8-am-q6Z" id="nIL-hj-vFk">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="MG8-DW-Fv2" id="9mk-Iz-bpP"/>
<outlet property="delegate" destination="MG8-DW-Fv2" id="Nn0-Nk-gye"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Types" id="1DN-dq-KAm"/>
<connections>
<outlet property="searchDisplayController" destination="QXT-TT-18q" id="Ffp-2g-pgc"/>
<segue destination="9Rs-Yt-R1b" kind="show" identifier="DHEntryBrowserSegue" id="FUX-Tg-BvC"/>
<segue destination="On6-fK-Wo0" kind="show" identifier="DHNestedSegue" id="ljv-Qq-slv"/>
<segue destination="JEX-9P-axG" kind="push" identifier="DHSearchWebViewSegue" id="l26-aC-Nx3"/>
<segue destination="JEX-9P-axG" kind="push" identifier="DHShowIndexPageSegue" id="5fr-qx-aky"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="l8s-68-JtL" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="QXT-TT-18q" customClass="DHSearchDisplayController">
<connections>
<outlet property="delegate" destination="MG8-DW-Fv2" id="NhR-F4-gaX"/>
<outlet property="searchBar" destination="VJR-eZ-B8V" id="ZoK-EI-6Xc"/>
<outlet property="searchContentsController" destination="MG8-DW-Fv2" id="59w-BX-ea7"/>
<outlet property="searchResultsDataSource" destination="MG8-DW-Fv2" id="SJ6-b1-uYr"/>
<outlet property="searchResultsDelegate" destination="MG8-DW-Fv2" id="kPV-0H-TmG"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="1743" y="-451"/>
</scene>
<!--Entry Browser-->
<scene sceneID="hsl-sd-m15">
<objects>
<tableViewController storyboardIdentifier="DHEntriesBrowser" title="Type Browser" useStoryboardIdentifierAsRestorationIdentifier="YES" id="9Rs-Yt-R1b" userLabel="Entry Browser" customClass="DHEntryBrowser" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHEntriesBrowserTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="wwv-Id-rNo">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" restorationIdentifier="EntriesSearchBar" id="ar1-R2-LNh">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="9Rs-Yt-R1b" id="dCU-Oq-KCt"/>
</connections>
</searchBar>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BLABLA" id="gr3-qP-hfk">
<rect key="frame" x="0.0" y="66" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gr3-qP-hfk" id="HWD-2S-7F9">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="9Rs-Yt-R1b" id="6dg-AY-vP5"/>
<outlet property="delegate" destination="9Rs-Yt-R1b" id="nix-zh-9ZC"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Entries" id="Un0-xc-bRD"/>
<connections>
<outlet property="searchDisplayController" destination="zcF-qB-4QT" id="cms-mv-pRf"/>
<segue destination="On6-fK-Wo0" kind="show" identifier="DHNestedSegue" id="y34-0z-6ul"/>
<segue destination="JEX-9P-axG" kind="push" identifier="DHSearchWebViewSegue" id="hEp-xK-Brz"/>
<segue destination="JEX-9P-axG" kind="push" identifier="DHWebViewSegue" id="Vt3-tf-TGA"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="KwV-Su-f2V" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="zcF-qB-4QT" customClass="DHSearchDisplayController">
<connections>
<outlet property="delegate" destination="9Rs-Yt-R1b" id="PES-ZY-NqP"/>
<outlet property="searchBar" destination="ar1-R2-LNh" id="Yvm-7w-6oa"/>
<outlet property="searchContentsController" destination="9Rs-Yt-R1b" id="8Ws-Jg-PC2"/>
<outlet property="searchResultsDataSource" destination="9Rs-Yt-R1b" id="eHe-KB-xvu"/>
<outlet property="searchResultsDelegate" destination="9Rs-Yt-R1b" id="jRI-Em-gu9"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="2556" y="-470"/>
</scene>
<!--Remote Browser-->
<scene sceneID="gnf-QR-1ra">
<objects>
<tableViewController storyboardIdentifier="DHRemoteBrowser" title="Remote Browser" useStoryboardIdentifierAsRestorationIdentifier="YES" id="fAU-6P-OeP" customClass="DHRemoteBrowser" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHEntriesBrowserTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="GI0-k2-aY7">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BLABLA" id="geM-gl-w4a">
<rect key="frame" x="0.0" y="22" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="geM-gl-w4a" id="dRi-kM-G9B">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="fAU-6P-OeP" id="NIx-So-K1H"/>
<outlet property="delegate" destination="fAU-6P-OeP" id="bP7-1o-Pks"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Remotes" id="q55-40-w46"/>
<connections>
<outlet property="searchDisplayController" destination="zcF-qB-4QT" id="Vgn-AA-Bhw"/>
<segue destination="On6-fK-Wo0" kind="show" identifier="DHNestedSegue" id="cEQ-Zo-INv"/>
<segue destination="JEX-9P-axG" kind="push" identifier="DHSearchWebViewSegue" id="q6b-SO-d4X"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="fUb-q5-H6p" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1383" y="353"/>
</scene>
<!--Main Docsets-->
<scene sceneID="j1n-HE-PZF">
<objects>
<tableViewController storyboardIdentifier="DHDocsetDownloader" modalPresentationStyle="currentContext" useStoryboardIdentifierAsRestorationIdentifier="YES" id="bVq-xA-3wd" customClass="DHDocsetDownloader" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHDocsetsDownloaderTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="Ktb-IW-SX0">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" restorationIdentifier="DownloadSearchBar" placeholder="Find docsets to download" id="ibw-RZ-LKe">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="bVq-xA-3wd" id="Ihj-hM-GF4"/>
</connections>
</searchBar>
<connections>
<outlet property="dataSource" destination="bVq-xA-3wd" id="nTB-cw-YaL"/>
<outlet property="delegate" destination="bVq-xA-3wd" id="kNS-Ag-j4A"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Main Docsets" id="9ic-mO-5WP">
<barButtonItem key="rightBarButtonItem" title="Update" id="rwQ-iw-bgR">
<connections>
<action selector="updateButtonPressed:" destination="bVq-xA-3wd" id="KBw-7q-bpx"/>
</connections>
</barButtonItem>
</navigationItem>
<nil key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="searchBar" destination="ibw-RZ-LKe" id="Q52-Do-Tr4"/>
<outlet property="searchDisplayController" destination="PMB-N5-wGr" id="pz9-mU-T4r"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="0xz-hu-dUi" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="PMB-N5-wGr">
<connections>
<outlet property="delegate" destination="bVq-xA-3wd" id="xQ2-19-HTr"/>
<outlet property="searchBar" destination="ibw-RZ-LKe" id="N2f-yf-RkE"/>
<outlet property="searchContentsController" destination="bVq-xA-3wd" id="lUZ-i4-ck1"/>
<outlet property="searchResultsDataSource" destination="bVq-xA-3wd" id="SiM-kY-Q8J"/>
<outlet property="searchResultsDelegate" destination="bVq-xA-3wd" id="wdp-p8-Zh2"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="2445" y="-3288"/>
</scene>
<!--User Contributed Docsets-->
<scene sceneID="okr-5a-bHb">
<objects>
<tableViewController storyboardIdentifier="DHUserRepo" modalPresentationStyle="currentContext" useStoryboardIdentifierAsRestorationIdentifier="YES" id="7Pl-oD-WzV" userLabel="User Contributed Docsets" customClass="DHUserRepo" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHUserRepoTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="o2K-Hn-pqx">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" restorationIdentifier="UserRepoSearchBar" placeholder="Find docsets to download" id="frS-D7-CD1">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="7Pl-oD-WzV" id="G9T-Rt-21p"/>
</connections>
</searchBar>
<connections>
<outlet property="dataSource" destination="7Pl-oD-WzV" id="VGy-Sm-bWh"/>
<outlet property="delegate" destination="7Pl-oD-WzV" id="PBv-CB-bY0"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="User Contributed Docsets" id="7o6-m1-emM">
<barButtonItem key="rightBarButtonItem" title="Update" id="nLQ-uE-WPX">
<connections>
<action selector="updateButtonPressed:" destination="7Pl-oD-WzV" id="Ix3-Ob-twG"/>
</connections>
</barButtonItem>
</navigationItem>
<nil key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="searchBar" destination="frS-D7-CD1" id="faI-Fs-5RH"/>
<outlet property="searchDisplayController" destination="PMB-N5-wGr" id="UiB-JZ-mBV"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="DbY-qO-Frw" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="NDK-Ah-hu2">
<connections>
<outlet property="delegate" destination="7Pl-oD-WzV" id="8Tv-80-sIu"/>
<outlet property="searchBar" destination="frS-D7-CD1" id="L4k-b0-GNj"/>
<outlet property="searchContentsController" destination="7Pl-oD-WzV" id="3mr-yZ-Dez"/>
<outlet property="searchResultsDataSource" destination="7Pl-oD-WzV" id="dNb-KO-I0W"/>
<outlet property="searchResultsDelegate" destination="7Pl-oD-WzV" id="hEh-mv-02t"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="2445" y="-2618"/>
</scene>
<!--Transfer Docsets-->
<scene sceneID="dSW-F9-RBB">
<objects>
<tableViewController storyboardIdentifier="DHDocsetTransferrer" modalPresentationStyle="currentContext" useStoryboardIdentifierAsRestorationIdentifier="YES" id="KZf-iV-yPx" customClass="DHDocsetTransferrer" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHTransferDocsetsTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="RlC-hy-GCI">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<connections>
<outlet property="dataSource" destination="KZf-iV-yPx" id="ICT-G5-j4u"/>
<outlet property="delegate" destination="KZf-iV-yPx" id="4Gd-H2-3Ta"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Transfer Docsets" id="w85-3G-Wi2">
<barButtonItem key="rightBarButtonItem" title="Refresh" id="g6k-h1-fQg">
<connections>
<action selector="refreshFeeds:" destination="KZf-iV-yPx" id="seQ-0r-Kic"/>
</connections>
</barButtonItem>
</navigationItem>
<nil key="simulatedBottomBarMetrics"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Ar8-em-khk" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2468" y="-1204"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="r7l-gg-dq7">
<objects>
<navigationController storyboardIdentifier="DHWebViewNavigationController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="vC3-pB-5Vb" customClass="DHNavigationController" sceneMemberID="viewController">
<navigationBar key="navigationBar" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" id="DjV-YW-jjY">
<rect key="frame" x="0.0" y="20" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="JEX-9P-axG" kind="relationship" relationship="rootViewController" id="GKi-kA-LjT"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="SLD-UC-DBI" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-539.453125" y="588.28125"/>
</scene>
<!--ToC Browser-->
<scene sceneID="krs-xc-y3h">
<objects>
<tableViewController storyboardIdentifier="DHTocBrowser" title="Table of Contents" clearsSelectionOnViewWillAppear="NO" id="Wkz-GU-NNB" userLabel="ToC Browser" customClass="DHTocBrowser" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHTocBrowserTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="us7-S7-Voe">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" id="Lzc-4G-LSC">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="Wkz-GU-NNB" id="08o-8I-7Be"/>
</connections>
</searchBar>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="BLABLA" id="uat-DW-uld">
<rect key="frame" x="0.0" y="66" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="uat-DW-uld" id="B7g-3q-qBW">
<rect key="frame" x="0.0" y="0.0" width="414" height="43.666666666666664"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="Wkz-GU-NNB" id="b4q-De-aK8"/>
<outlet property="delegate" destination="Wkz-GU-NNB" id="Zcd-Yw-Zcp"/>
</connections>
</tableView>
<toolbarItems/>
<navigationItem key="navigationItem" title="Table of Contents" id="zNW-Es-vkB">
<barButtonItem key="rightBarButtonItem" style="done" systemItem="done" id="g7R-rT-w04">
<connections>
<action selector="dismissModal:" destination="Wkz-GU-NNB" id="u7Z-XE-Bwx"/>
</connections>
</barButtonItem>
</navigationItem>
<simulatedToolbarMetrics key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="searchBar" destination="Lzc-4G-LSC" id="kW7-uu-5Rf"/>
<outlet property="searchDisplayController" destination="QXT-TT-18q" id="hDw-2l-hBA"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="1fg-gS-VxA" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="8u3-sF-Owm" customClass="DHSearchDisplayController">
<connections>
<outlet property="delegate" destination="Wkz-GU-NNB" id="kvD-zX-wpP"/>
<outlet property="searchBar" destination="Lzc-4G-LSC" id="fNw-gA-Vhh"/>
<outlet property="searchContentsController" destination="Wkz-GU-NNB" id="8fa-tp-JZ0"/>
<outlet property="searchResultsDataSource" destination="Wkz-GU-NNB" id="ga5-o2-6Ts"/>
<outlet property="searchResultsDelegate" destination="Wkz-GU-NNB" id="M5n-z4-w4w"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="1999" y="1202"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="lHw-UH-CNc">
<objects>
<navigationController storyboardIdentifier="DHTocBrowserNavigationController" automaticallyAdjustsScrollViewInsets="NO" id="pJz-3h-N98" customClass="DHNavigationController" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="U01-gx-C7H">
<rect key="frame" x="0.0" y="20" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="Wkz-GU-NNB" kind="relationship" relationship="rootViewController" id="3ME-RF-aVw"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="QwS-fp-JCr" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1177" y="1202"/>
</scene>
<!--Cheat Sheets-->
<scene sceneID="kGo-MS-1Iv">
<objects>
<tableViewController storyboardIdentifier="DHCheatRepo" modalPresentationStyle="currentContext" useStoryboardIdentifierAsRestorationIdentifier="YES" id="bSe-FO-aTh" userLabel="Cheat Sheets" customClass="DHCheatRepo" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" restorationIdentifier="DHCheatRepoTableView" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="9Wm-HT-qeH">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<searchBar key="tableHeaderView" contentMode="redraw" restorationIdentifier="CheatRepoSearchBar" placeholder="Find cheat sheets to download" id="0Tx-yl-ZpH">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
<connections>
<outlet property="delegate" destination="bSe-FO-aTh" id="tFS-Ty-amy"/>
</connections>
</searchBar>
<connections>
<outlet property="dataSource" destination="bSe-FO-aTh" id="ZXy-xZ-NcM"/>
<outlet property="delegate" destination="bSe-FO-aTh" id="hUe-NY-iYK"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Cheat Sheets" id="EeG-gR-3NH" userLabel="Cheat Sheets">
<barButtonItem key="rightBarButtonItem" title="Update" id="20V-ZH-ehJ">
<connections>
<action selector="updateButtonPressed:" destination="bSe-FO-aTh" id="OHn-dd-osM"/>
</connections>
</barButtonItem>
</navigationItem>
<nil key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="searchBar" destination="0Tx-yl-ZpH" id="pnt-J4-9nb"/>
<outlet property="searchDisplayController" destination="PMB-N5-wGr" id="SJx-7j-3jo"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="lpb-DD-g0c" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="gvn-dN-aaF">
<connections>
<outlet property="delegate" destination="bSe-FO-aTh" id="tNi-fL-tpC"/>
<outlet property="searchBar" destination="0Tx-yl-ZpH" id="0qn-rZ-zFT"/>
<outlet property="searchContentsController" destination="bSe-FO-aTh" id="q2m-lz-cUb"/>
<outlet property="searchResultsDataSource" destination="bSe-FO-aTh" id="FR4-Tz-wfo"/>
<outlet property="searchResultsDelegate" destination="bSe-FO-aTh" id="PLW-Zm-zsW"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="2445" y="-1928"/>
</scene>
</scenes>
<resources>
<image name="cheat_repo" width="28" height="28"/>
<image name="main_repo" width="28" height="28"/>
<image name="transfer_repo" width="28" height="28"/>
<image name="user_repo" width="28" height="28"/>
</resources>
<inferredMetricsTieBreakers>
<segue reference="z3k-ky-jyi"/>
<segue reference="vh9-ti-qTq"/>
<segue reference="UMU-KR-a0h"/>
<segue reference="tZ0-kY-m9B"/>
<segue reference="GKi-kA-LjT"/>
<segue reference="ljv-Qq-slv"/>
</inferredMetricsTieBreakers>
</document>
``` | /content/code_sandbox/Dash/Base.lproj/Main.storyboard | xml | 2016-11-06T17:31:43 | 2024-08-13T17:54:00 | Dash-iOS | Kapeli/Dash-iOS | 7,131 | 15,462 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/* eslint-disable max-lines */
import assert = require( '@stdlib/math/base/assert' );
import ops = require( '@stdlib/math/base/ops' );
import special = require( '@stdlib/math/base/special' );
import tools = require( '@stdlib/math/base/tools' );
import utils = require( '@stdlib/math/base/utils' );
/**
* Interface describing the `base` namespace.
*/
interface Namespace {
/**
* Base mathematical assertion utilities.
*/
assert: typeof assert;
/**
* Base (i.e., lower-level) math operators.
*/
ops: typeof ops;
/**
* Base (i.e., lower-level) special math functions.
*/
special: typeof special;
/**
* Base math tools.
*/
tools: typeof tools;
/**
* Base math utilities.
*/
utils: typeof utils;
}
/**
* Base (i.e., lower-level) math functions.
*/
declare var ns: Namespace;
// EXPORTS //
export = ns;
``` | /content/code_sandbox/lib/node_modules/@stdlib/math/base/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 264 |
```xml
import React from 'react';
import PropTypes from 'prop-types';
import * as Utils from '../flux/models/utils';
export default function BoldedSearchResult({ query = '', value = '' } = {}) {
const searchTerm = (query || '').trim();
if (searchTerm.length === 0) return <span>{value}</span>;
const re = Utils.wordSearchRegExp(searchTerm);
const parts = value.split(re).map((part, idx) => {
// The wordSearchRegExp looks for a leading non-word character to
// deterine if it's a valid place to search. As such, we need to not
// include that leading character as part of our match.
if (re.test(part)) {
if (/\W/.test(part[0])) {
return (
<span key={idx}>
{part[0]}
<strong>{part.slice(1)}</strong>
</span>
);
}
return <strong key={idx}>{part}</strong>;
}
return part;
});
return <span className="search-result">{parts}</span>;
}
BoldedSearchResult.propTypes = {
query: PropTypes.string,
value: PropTypes.string,
};
``` | /content/code_sandbox/app/src/components/bolded-search-result.tsx | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 254 |
```xml
/* eslint-disable max-len */
/// <reference types="../../../types/cypress" />
// Components
import { VBanner } from '@/components/VBanner/VBanner'
import { VLayout } from '@/components/VLayout/VLayout'
import { VMain } from '@/components/VMain'
import { VNavigationDrawer } from '@/components/VNavigationDrawer/VNavigationDrawer'
import { VSlideGroup } from '@/components/VSlideGroup/VSlideGroup'
describe('VWindow', () => {
it('should render items', () => {
cy.viewport(960, 800)
.mount(({ mobileBreakpoint }: any) => (
<VLayout>
<VNavigationDrawer mobileBreakpoint={ mobileBreakpoint } />
<VMain>
<VBanner mobileBreakpoint={ mobileBreakpoint }>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Dicta quaerat fugit ratione totam magnam, beatae consequuntur qui quam enim et sapiente autem accusantium id nesciunt maiores obcaecati minus molestiae! Ipsa.
</VBanner>
<VSlideGroup mobileBreakpoint={ mobileBreakpoint } />
</VMain>
</VLayout>
))
cy
.setProps({ mobileBreakpoint: 'lg' })
.get('.v-navigation-drawer').should('have.class', 'v-navigation-drawer--mobile')
.get('.v-banner').should('have.class', 'v-banner--mobile')
.get('.v-slide-group').should('have.class', 'v-slide-group--mobile')
.setProps({ mobileBreakpoint: 959 })
.get('.v-navigation-drawer').should('not.have.class', 'v-navigation-drawer--mobile')
.get('.v-banner').should('not.have.class', 'v-banner--mobile')
.get('.v-slide-group').should('not.have.class', 'v-slide-group--mobile')
})
})
``` | /content/code_sandbox/packages/vuetify/src/composables/__tests__/display.spec.cy.tsx | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 407 |
```xml
import { GeneralTransforms } from './general'
import { NodeTransforms } from './node'
import { SelectionTransforms } from './selection'
import { TextTransforms } from './text'
export const Transforms: GeneralTransforms &
NodeTransforms &
SelectionTransforms &
TextTransforms = {
...GeneralTransforms,
...NodeTransforms,
...SelectionTransforms,
...TextTransforms,
}
``` | /content/code_sandbox/packages/slate/src/interfaces/transforms/index.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 91 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<dataset>
<metadata table-name="t_broadcast_table_for_ddl" data-nodes="tbl.t_broadcast_table_for_ddl">
<column name="id" type="integer" />
<column name="description" type="varchar" />
<index name="t_broadcast_table_for_ddl_index_t_broadcast_table_for_ddl" column="id" unique="false" />
</metadata>
</dataset>
``` | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/ddl/dataset/tbl/create_broadcast_index.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 159 |
```xml
<ui version="4.0" >
<class>Form</class>
<widget class="QWidget" name="Form" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>911</width>
<height>688</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4" >
<item>
<widget class="QSplitter" name="splitter" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<widget class="QGroupBox" name="editorBox" >
<property name="title" >
<string>HTML Editor</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2" >
<item>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QPlainTextEdit" name="plainTextEdit" />
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QPushButton" name="clearButton" >
<property name="text" >
<string>Clear</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="previewButton" >
<property name="text" >
<string>Preview</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="previewerBox" >
<property name="title" >
<string>HTML Preview</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3" >
<item>
<widget class="QWebView" name="webView" >
<property name="url" >
<url>
<string>about:blank</string>
</url>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
<header>QtWebKit/QWebView</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>clearButton</sender>
<signal>clicked()</signal>
<receiver>plainTextEdit</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel" >
<x>56</x>
<y>653</y>
</hint>
<hint type="destinationlabel" >
<x>98</x>
<y>551</y>
</hint>
</hints>
</connection>
</connections>
</ui>
``` | /content/code_sandbox/src/pyqt-official/webkit/previewer/previewer.ui | xml | 2016-10-13T07:03:35 | 2024-08-15T15:36:27 | examples | pyqt/examples | 2,313 | 682 |
```xml
/**
* Created by hustcc on 18/5/20.
* Contract: i@hust.cc
*/
import { format } from '../src/';
describe('format', () => {
test('format', () => {
const now = new Date();
expect(format(+now - 5000)).toBe('just now');
expect(format(+now - 5000, undefined, { relativeDate: now })).toBe('just now');
expect(format(+now - 1000 * 1000, 'zh_CN')).toBe('16 ');
expect(format(+now - 1000 * 1000, 'zh_CN', { relativeDate: now })).toBe('16 ');
expect(format(+now - 1000 * 1000, 'not-exist-locale', { relativeDate: now })).toBe('16 minutes ago');
});
});
``` | /content/code_sandbox/__tests__/format.spec.ts | xml | 2016-06-23T02:06:23 | 2024-08-16T02:07:26 | timeago.js | hustcc/timeago.js | 5,267 | 179 |
```xml
export interface IDummyObject {
firstItem: string;
secondItem: string;
}
export interface IDummyQueryArgs {
itemId: string;
}
export interface IDummyMutationArgs {
input: {
firstInput: string;
secondInput: string;
};
}
``` | /content/code_sandbox/aws-node-typescript-apollo-lambda/src/graphql/resolvers/typings.ts | xml | 2016-11-12T02:14:55 | 2024-08-15T16:35:14 | examples | serverless/examples | 11,377 | 59 |
```xml
import {
byteLength as bigIntByteLength,
bigIntToUint8Array,
mod,
modExp,
uint8ArrayToBigInt,
} from '@proton/crypto/lib/bigInteger';
import { arrayToBinaryString, binaryStringToArray, decodeBase64, encodeBase64 } from '@proton/crypto/lib/utils';
import mergeUint8Arrays from '@proton/utils/mergeUint8Arrays';
import { AUTH_VERSION, MAX_VALUE_ITERATIONS, SRP_LEN } from './constants';
import type { AuthCredentials, AuthInfo } from './interface';
import { expandHash, hashPassword } from './passwords';
import { verifyAndGetModulus } from './utils/modulus';
import { checkUsername } from './utils/username';
export const srpHasher = (arr: Uint8Array) => expandHash(arr);
const littleEndianArrayToBigInteger = async (arr: Uint8Array) => uint8ArrayToBigInt(arr.slice().reverse());
/**
* Generate a random client secret.
*/
const generateClientSecret = (length: number) => {
// treating the randomness as little-endian is needed for tests to work with the mocked random values
return littleEndianArrayToBigInteger(crypto.getRandomValues(new Uint8Array(length)));
};
interface GenerateParametersArgs {
byteLength: number;
generator: bigint;
modulus: bigint;
serverEphemeralArray: Uint8Array;
}
const generateParameters = async ({ byteLength, generator, modulus, serverEphemeralArray }: GenerateParametersArgs) => {
const clientSecret = await generateClientSecret(byteLength);
const clientEphemeral = modExp(generator, clientSecret, modulus);
const clientEphemeralArray = bigIntToUint8Array(clientEphemeral, 'le', byteLength);
const clientServerHash = await srpHasher(mergeUint8Arrays([clientEphemeralArray, serverEphemeralArray]));
const scramblingParam = await littleEndianArrayToBigInteger(clientServerHash);
return {
clientSecret,
clientEphemeral,
scramblingParam,
};
};
/**
* Get parameters. Loops until it finds safe values.
*/
const getParameters = async ({ byteLength, generator, modulus, serverEphemeralArray }: GenerateParametersArgs) => {
for (let i = 0; i < MAX_VALUE_ITERATIONS; ++i) {
const { clientSecret, clientEphemeral, scramblingParam } = await generateParameters({
byteLength,
generator,
modulus,
serverEphemeralArray,
});
if (scramblingParam === BigInt(0) || clientEphemeral === BigInt(0)) {
continue;
}
return {
clientSecret,
clientEphemeral,
scramblingParam,
};
}
throw new Error('Could not find safe parameters');
};
interface GenerateProofsArgs {
byteLength: number;
modulusArray: Uint8Array;
hashedPasswordArray: Uint8Array;
serverEphemeralArray: Uint8Array;
}
export const generateProofs = async ({
byteLength,
modulusArray,
hashedPasswordArray,
serverEphemeralArray,
}: GenerateProofsArgs) => {
const modulus = await littleEndianArrayToBigInteger(modulusArray);
if (bigIntByteLength(modulus) !== byteLength) {
throw new Error('SRP modulus has incorrect size');
}
/**
* The following is a description of SRP-6a, the latest versions of SRP (from srp.stanford.edu/design.html):
*
* N A large safe prime (N = 2q+1, where q is prime)
* All arithmetic is done modulo N.
* g A generator modulo N
* k Multiplier parameter (k = H(N, g)
* s User's salt
* I Username
* p Cleartext Password
* H() One-way hash function
* ^ (Modular) Exponentiation
* u Random scrambling parameter
* a,b Secret ephemeral values
* A,B Public ephemeral values
* x Private key (derived from p and s)
* v Password verifier
* The host stores passwords using the following formula:
* x = H(s, p) (s is chosen randomly)
* v = g^x (computes password verifier)
* The host then keeps {I, s, v} in its password database. The authentication protocol itself goes as follows:
* User -> Host: I, A = g^a (identifies self, a = random number)
* Host -> User: s, B = kv + g^b (sends salt, b = random number)
*
* Both: u = H(A, B)
*
* User: x = H(s, p) (user enters password)
* User: S = (B - kg^x) ^ (a + ux) (computes session key)
* User: K = H(S)
*
* Host: S = (Av^u) ^ b (computes session key)
* Host: K = H(S)
*
* Now the two parties have a shared, strong session key K.
* To complete authentication, they need to prove to each other that their keys match. One possible way:
* User -> Host: M = H(H(N) xor H(g), H(I), s, A, B, K)
* Host -> User: H(A, M, K)
*
* The two parties also employ the following safeguards:
* The user will abort if he receives B == 0 (mod N) or u == 0.
* The host will abort if it detects that A == 0 (mod N).
*/
const generator = BigInt(2);
const hashedArray = await srpHasher(
mergeUint8Arrays([bigIntToUint8Array(generator, 'le', byteLength), modulusArray])
);
const multiplier = await littleEndianArrayToBigInteger(hashedArray);
const serverEphemeral = await littleEndianArrayToBigInteger(serverEphemeralArray);
const hashedPassword = await littleEndianArrayToBigInteger(hashedPasswordArray);
const modulusMinusOne = modulus - BigInt(1);
const multiplierReduced = mod(multiplier, modulus);
if (serverEphemeral === BigInt(0)) {
throw new Error('SRP server ephemeral is out of bounds');
}
const { clientSecret, clientEphemeral, scramblingParam } = await getParameters({
byteLength,
generator,
modulus,
serverEphemeralArray,
});
const kgx = mod(modExp(generator, hashedPassword, modulus) * multiplierReduced, modulus);
const sharedSessionKeyExponent = mod(scramblingParam * hashedPassword + clientSecret, modulusMinusOne);
const sharedSessionKeyBase = mod(serverEphemeral - kgx, modulus);
const sharedSessionKey = modExp(sharedSessionKeyBase, sharedSessionKeyExponent, modulus);
const clientEphemeralArray = bigIntToUint8Array(clientEphemeral, 'le', byteLength);
const sharedSessionArray = bigIntToUint8Array(sharedSessionKey, 'le', byteLength);
const clientProof = await srpHasher(
mergeUint8Arrays([clientEphemeralArray, serverEphemeralArray, sharedSessionArray])
);
const expectedServerProof = await srpHasher(
mergeUint8Arrays([clientEphemeralArray, clientProof, sharedSessionArray])
);
return {
clientEphemeral: clientEphemeralArray,
clientProof,
expectedServerProof,
sharedSession: sharedSessionArray,
};
};
export const getSrp = async (
{ Version, Modulus: serverModulus, ServerEphemeral, Username, Salt }: AuthInfo,
{ username, password }: AuthCredentials,
authVersion = Version
) => {
if (!checkUsername(authVersion, username, Username)) {
const error: any = new Error(
'Please login with just your ProtonMail username (without @protonmail.com or @protonmail.ch).'
);
error.trace = false;
throw error;
}
const modulusArray = await verifyAndGetModulus(serverModulus);
const serverEphemeralArray = binaryStringToArray(decodeBase64(ServerEphemeral));
const hashedPasswordArray = await hashPassword({
version: authVersion,
password,
salt: authVersion < 3 ? undefined : decodeBase64(Salt),
username: authVersion < 3 ? Username : undefined,
modulus: modulusArray,
});
const { clientEphemeral, clientProof, expectedServerProof, sharedSession } = await generateProofs({
byteLength: SRP_LEN,
modulusArray,
hashedPasswordArray,
serverEphemeralArray,
});
return {
clientEphemeral: encodeBase64(arrayToBinaryString(clientEphemeral)),
clientProof: encodeBase64(arrayToBinaryString(clientProof)),
expectedServerProof: encodeBase64(arrayToBinaryString(expectedServerProof)),
sharedSession,
};
};
const generateVerifier = async (byteLength: number, hashedPasswordBytes: Uint8Array, modulusBytes: Uint8Array) => {
const generator = BigInt(2);
const modulus = await littleEndianArrayToBigInteger(modulusBytes);
const hashedPassword = await littleEndianArrayToBigInteger(hashedPasswordBytes);
const verifier = modExp(generator, hashedPassword, modulus);
return bigIntToUint8Array(verifier, 'le', byteLength);
};
export const getRandomSrpVerifier = async (
{ Modulus: serverModulus }: { Modulus: string },
{ username, password }: AuthCredentials,
version = AUTH_VERSION
) => {
const modulus = await verifyAndGetModulus(serverModulus);
const salt = arrayToBinaryString(crypto.getRandomValues(new Uint8Array(10)));
const hashedPassword = await hashPassword({
version,
username,
password,
salt,
modulus,
});
const verifier = await generateVerifier(SRP_LEN, hashedPassword, modulus);
return {
version,
salt: encodeBase64(salt),
verifier: encodeBase64(arrayToBinaryString(verifier)),
};
};
``` | /content/code_sandbox/packages/srp/lib/srp.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 2,245 |
```xml
import {browser, by, element, ExpectedConditions} from 'protractor';
describe('hydration e2e', () => {
beforeEach(async () => {
await browser.waitForAngularEnabled(false);
await browser.get('/');
await browser.wait(ExpectedConditions.presenceOf(element(by.css('.render-marker'))), 5000);
});
it('should enable hydration', async () => {
const hydrationState = await getHydrationState();
const logs = await browser.manage().logs().get('browser');
expect(hydrationState.hydratedComponents).toBeGreaterThan(0);
expect(logs.map(log => log.message).filter(msg => msg.includes('NG0500'))).toEqual([]);
});
it('should not skip hydration on any components', async () => {
const hydrationState = await getHydrationState();
expect(hydrationState.componentsSkippedHydration).toBe(0);
});
});
/** Gets the hydration state from the current app. */
async function getHydrationState() {
return browser.executeScript<{
hydratedComponents: number;
componentsSkippedHydration: number;
}>(() => ({
hydratedComponents: (window as any).ngDevMode.hydratedComponents,
componentsSkippedHydration: (window as any).ngDevMode.componentsSkippedHydration,
}));
}
``` | /content/code_sandbox/src/universal-app/hydration.e2e.spec.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 276 |
```xml
import { Field, FormikErrors } from 'formik';
import { string } from 'yup';
import { useMemo } from 'react';
import { FormControl } from '@@/form-components/FormControl';
import { Input } from '@@/form-components/Input';
import { useEdgeJobs } from '../../queries/useEdgeJobs';
import { EdgeJob } from '../../types';
export function NameField({ errors }: { errors?: FormikErrors<string> }) {
return (
<FormControl label="Name" required errors={errors} inputId="edgejob_name">
<Field
as={Input}
name="name"
placeholder="e.g. backup-app-prod"
data-cy="edgejob-name-input"
id="edgejob_name"
/>
</FormControl>
);
}
export function useNameValidation(id?: EdgeJob['Id']) {
const edgeJobsQuery = useEdgeJobs();
return useMemo(
() =>
string()
.required('Name is required')
.matches(
/^[a-zA-Z0-9][a-zA-Z0-9_.-]+$/,
'Allowed characters are: [a-zA-Z0-9_.-]'
)
.test({
name: 'is-unique',
test: (value) =>
!edgeJobsQuery.data?.find(
(job) => job.Name === value && job.Id !== id
),
message: 'Name must be unique',
}),
[edgeJobsQuery.data, id]
);
}
``` | /content/code_sandbox/app/react/edge/edge-jobs/components/EdgeJobForm/NameField.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 317 |
```xml
// path_to_url
@decorator()
enum Direction {
Up = 1,
Down,
Left,
Right
}
``` | /content/code_sandbox/tests/format/misc/errors/invalid-typescript-decorators/enums.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 29 |
```xml
import { createElement, Fragment, ReactNode } from 'react'
import { Container, SvgWrapper, useDimensions } from '@nivo/core'
import { VoronoiSvgProps, VoronoiLayerId } from './types'
import { defaultVoronoiProps } from './props'
import { useVoronoi, useVoronoiLayerContext } from './hooks'
type InnerVoronoiProps = Partial<Omit<VoronoiSvgProps, 'data' | 'width' | 'height'>> &
Pick<VoronoiSvgProps, 'data' | 'width' | 'height'>
const InnerVoronoi = ({
data,
width,
height,
margin: partialMargin,
layers = defaultVoronoiProps.layers,
xDomain = defaultVoronoiProps.xDomain,
yDomain = defaultVoronoiProps.yDomain,
enableLinks = defaultVoronoiProps.enableLinks,
linkLineWidth = defaultVoronoiProps.linkLineWidth,
linkLineColor = defaultVoronoiProps.linkLineColor,
enableCells = defaultVoronoiProps.enableCells,
cellLineWidth = defaultVoronoiProps.cellLineWidth,
cellLineColor = defaultVoronoiProps.cellLineColor,
enablePoints = defaultVoronoiProps.enableCells,
pointSize = defaultVoronoiProps.pointSize,
pointColor = defaultVoronoiProps.pointColor,
role = defaultVoronoiProps.role,
}: InnerVoronoiProps) => {
const { outerWidth, outerHeight, margin, innerWidth, innerHeight } = useDimensions(
width,
height,
partialMargin
)
const { points, delaunay, voronoi } = useVoronoi({
data,
width: innerWidth,
height: innerHeight,
xDomain,
yDomain,
})
const layerById: Record<VoronoiLayerId, ReactNode> = {
links: null,
cells: null,
points: null,
bounds: null,
}
if (enableLinks && layers.includes('links')) {
layerById.links = (
<path
key="links"
stroke={linkLineColor}
strokeWidth={linkLineWidth}
fill="none"
d={delaunay.render()}
/>
)
}
if (enableCells && layers.includes('cells')) {
layerById.cells = (
<path
key="cells"
d={voronoi.render()}
fill="none"
stroke={cellLineColor}
strokeWidth={cellLineWidth}
/>
)
}
if (enablePoints && layers.includes('points')) {
layerById.points = (
<path
key="points"
stroke="none"
fill={pointColor}
d={delaunay.renderPoints(undefined, pointSize / 2)}
/>
)
}
if (layers.includes('bounds')) {
layerById.bounds = (
<path
key="bounds"
fill="none"
stroke={cellLineColor}
strokeWidth={cellLineWidth}
d={voronoi.renderBounds()}
/>
)
}
const layerContext = useVoronoiLayerContext({
points,
delaunay,
voronoi,
})
return (
<SvgWrapper width={outerWidth} height={outerHeight} margin={margin} role={role}>
{layers.map((layer, i) => {
if (layerById[layer as VoronoiLayerId] !== undefined) {
return layerById[layer as VoronoiLayerId]
}
if (typeof layer === 'function') {
return <Fragment key={i}>{createElement(layer, layerContext)}</Fragment>
}
return null
})}
</SvgWrapper>
)
}
export const Voronoi = ({
theme,
...otherProps
}: Partial<Omit<VoronoiSvgProps, 'data' | 'width' | 'height'>> &
Pick<VoronoiSvgProps, 'data' | 'width' | 'height'>) => (
<Container isInteractive={false} animate={false} theme={theme}>
<InnerVoronoi {...otherProps} />
</Container>
)
``` | /content/code_sandbox/packages/voronoi/src/Voronoi.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 887 |
```xml
// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
export const OutputOnlyEnumType = {
Foo: "foo",
Bar: "bar",
} as const;
export type OutputOnlyEnumType = (typeof OutputOnlyEnumType)[keyof typeof OutputOnlyEnumType];
export const RubberTreeVariety = {
/**
* A burgundy rubber tree.
*/
Burgundy: "Burgundy",
/**
* A ruby rubber tree.
*/
Ruby: "Ruby",
/**
* A tineke rubber tree.
*/
Tineke: "Tineke",
} as const;
/**
* types of rubber trees
*/
export type RubberTreeVariety = (typeof RubberTreeVariety)[keyof typeof RubberTreeVariety];
``` | /content/code_sandbox/tests/testdata/codegen/simple-yaml-schema/nodejs/types/enums/index.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 182 |
```xml
import { useEffect, useRef } from 'react';
export interface UseClickOutsideOptions {
enabled?: boolean;
isOutside: (event: MouseEvent) => boolean;
handle: (event: MouseEvent) => void;
}
export function useClickOutside({ enabled = true, isOutside, handle }: UseClickOutsideOptions) {
const isOutsideRef = useRef<((event: MouseEvent) => boolean) | null>(isOutside);
const handleRef = useRef<((event: MouseEvent) => void) | null>(handle);
useEffect(() => {
isOutsideRef.current = isOutside;
handleRef.current = handle;
}, [isOutside, handle]);
useEffect(() => {
if (enabled) {
const eventHandler = (event: MouseEvent) => {
if (isOutsideRef.current?.(event)) {
handleRef.current?.(event);
}
};
window.addEventListener('mousedown', eventHandler);
return () => {
window.removeEventListener('mousedown', eventHandler);
};
}
}, [enabled]);
}
export default useClickOutside;
``` | /content/code_sandbox/src/internals/hooks/useClickOutside.ts | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 225 |
```xml
import React from 'react';
import resources from './locales';
import CounterModule from '../CounterModule';
import ServerCounter from './containers/ServerCounter';
export default new CounterModule({
localization: [{ ns: 'serverCounter', resources }],
counterComponent: [<ServerCounter />],
});
``` | /content/code_sandbox/modules/counter/client-react/serverCounter/index.tsx | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 59 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11201" systemVersion="16B2555" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11201"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="ReminderPreferenceViewController" customModule="" customModuleProvider="target">
<connections>
<outlet property="calendarAccessInfoButton" destination="OPz-YN-In4" id="Wqr-FR-Fer"/>
<outlet property="calendarAccessLabel" destination="iNZ-5j-cLL" id="uzS-hZ-BJF"/>
<outlet property="remindAccessInfoButton" destination="prG-B8-14B" id="Q0l-I4-IZn"/>
<outlet property="remindAccessLabel" destination="raJ-do-0Ar" id="fDU-ft-Qw9"/>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="409" height="409"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="raJ-do-0Ar">
<rect key="frame" x="18" y="372" width="68" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="" id="2Xo-vM-lyX">
<font key="font" size="13" name=".PingFangSC-Regular"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eqq-Vh-Jee">
<rect key="frame" x="18" y="248" width="120" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="" id="Cpl-oe-85l">
<font key="font" size="13" name=".PingFangSC-Regular"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="j0n-6e-6w6">
<rect key="frame" x="30" y="347" width="361" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="iPhoneApple Watch" id="EMs-2P-aN0">
<font key="font" metaFont="system"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="prG-B8-14B" customClass="InfoButton" customModule="" customModuleProvider="target">
<rect key="frame" x="86" y="369" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="content" value=" ->->-> "/>
<userDefinedRuntimeAttribute type="boolean" keyPath="showOnHover" value="YES"/>
<userDefinedRuntimeAttribute type="color" keyPath="primaryColor">
<color key="value" red="0.08847404271364212" green="0.44933211803436279" blue="0.3555295467376709" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</customView>
<box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="lYe-Bz-OKb">
<rect key="frame" x="12" y="334" width="385" height="5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</box>
<box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="Ydu-GM-glZ">
<rect key="frame" x="12" y="275" width="385" height="5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</box>
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OR4-LH-v3z">
<rect key="frame" x="32" y="20" width="350" height="214"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<clipView key="contentView" ambiguous="YES" id="QAW-xk-ODi">
<rect key="frame" x="1" y="0.0" width="348" height="213"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="gTI-dt-jNw" viewBased="YES" id="FzZ-i9-93W">
<rect key="frame" x="0.0" y="0.0" width="348" height="190"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn width="80" minWidth="40" maxWidth="1000" id="zNo-Zq-Tvw">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="Ui9-HD-8Gw">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="m88-My-d22">
<rect key="frame" x="1" y="1" width="80" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jMX-mL-cD9">
<rect key="frame" x="0.0" y="0.0" width="80" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="t8e-Au-5fS">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="m88-My-d22" name="value" keyPath="objectValue.name" id="eB8-of-BM4"/>
</connections>
</textField>
</subviews>
<connections>
<outlet property="textField" destination="jMX-mL-cD9" id="aq2-k2-38x"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn width="100" minWidth="40" maxWidth="1000" id="2Ye-Yl-Iff">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="9Uh-7m-IQa">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="eJ3-C2-wTn">
<rect key="frame" x="84" y="1" width="100" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cWY-T5-nQm">
<rect key="frame" x="0.0" y="0.0" width="100" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="f3v-64-1ty">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="eJ3-C2-wTn" name="value" keyPath="objectValue.dateStr" id="LZ3-Ff-gqa"/>
</connections>
</textField>
</subviews>
<connections>
<outlet property="textField" destination="cWY-T5-nQm" id="xrT-lf-2hs"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="" width="116" minWidth="10" maxWidth="3.4028234663852886e+38" id="y1J-Rw-HDW">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="()">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="EAF-pA-Cq3">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="gr6-OH-xRE">
<rect key="frame" x="187" y="1" width="116" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8F8-36-cF2">
<rect key="frame" x="0.0" y="0.0" width="116" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="NTF-pn-ULz">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="gr6-OH-xRE" name="value" keyPath="objectValue.reminderDateStr" id="6a8-C5-ZAR"/>
</connections>
</textField>
</subviews>
<connections>
<outlet property="textField" destination="8F8-36-cF2" id="9DI-8O-Ffo"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="" width="40" minWidth="10" maxWidth="3.4028234663852886e+38" id="pbz-gj-Tow">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="5kn-n6-2dW">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="2UJ-NP-LIa">
<rect key="frame" x="306" y="1" width="40" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fLP-AR-RZc">
<rect key="frame" x="1" y="0.0" width="38" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="rhk-TM-GJS">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="2UJ-NP-LIa" name="value" keyPath="objectValue.shouldReminder" id="lXP-Z7-r24"/>
</connections>
</button>
</subviews>
</tableCellView>
</prototypeCellViews>
</tableColumn>
</tableColumns>
<connections>
<outlet property="dataSource" destination="-2" id="Bof-21-mAU"/>
<outlet property="delegate" destination="-2" id="hd4-eJ-z4y"/>
</connections>
</tableView>
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="sLs-PQ-2AC">
<rect key="frame" x="1" y="7" width="0.0" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="Xpi-Be-66e">
<rect key="frame" x="224" y="17" width="15" height="102"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="gTI-dt-jNw">
<rect key="frame" x="0.0" y="0.0" width="348" height="23"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="iNZ-5j-cLL">
<rect key="frame" x="18" y="311" width="68" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="" id="d72-4k-Qyk">
<font key="font" size="13" name=".PingFangSC-Regular"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RTk-cC-SYi">
<rect key="frame" x="30" y="286" width="361" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="" id="X6L-BO-4u4">
<font key="font" metaFont="system"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OPz-YN-In4" customClass="InfoButton" customModule="" customModuleProvider="target">
<rect key="frame" x="86" y="308" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="content" value=" ->->-> "/>
<userDefinedRuntimeAttribute type="boolean" keyPath="showOnHover" value="YES"/>
<userDefinedRuntimeAttribute type="color" keyPath="primaryColor">
<color key="value" red="0.088474042710000006" green="0.449332118" blue="0.35552954669999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</customView>
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nS2-q0-Vx5">
<rect key="frame" x="289" y="237" width="99" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="push" title="" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nzV-cT-ope">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="clickAdd2Calendar:" target="-2" id="lf9-sD-CeG"/>
</connections>
</button>
</subviews>
<point key="canvasLocation" x="103.5" y="236.5"/>
</customView>
</objects>
</document>
``` | /content/code_sandbox/12306ForMac/Preferences/ReminderPreferenceViewController.xib | xml | 2016-02-02T11:18:26 | 2024-08-06T03:21:50 | 12306ForMac | fancymax/12306ForMac | 2,848 | 5,315 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="MaxInSlidingWindow.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
``` | /content/code_sandbox/59_01_MaxInSlidingWindow/59_01_MaxInSlidingWindow.vcxproj.filters | xml | 2016-11-21T05:04:57 | 2024-08-14T04:03:23 | CodingInterviewChinese2 | zhedahht/CodingInterviewChinese2 | 5,289 | 312 |
```xml
<!--
Description: feed copyright - base64 escaped markup
-->
<feed version="0.3" xmlns="path_to_url#">
<copyright mode="base64">Jmx0O3AmZ3Q7RmVlZCBDb3B5cmlnaHQmbHQ7L3AmZ3Q7</copyright>
</feed>
``` | /content/code_sandbox/testdata/parser/atom/atom03_feed_copyright_base64_escaped_markup.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 77 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/* eslint-disable max-lines */
import isSameValuef = require( '@stdlib/number/float32/base/assert/is-same-value' );
import isSameValueZerof = require( '@stdlib/number/float32/base/assert/is-same-value-zero' );
/**
* Interface describing the `assert` namespace.
*/
interface Namespace {
/**
* Tests if two single-precision floating-point numbers are the same value.
*
* ## Notes
*
* - The function differs from the `===` operator in that the function treats `-0` and `+0` as distinct and `NaNs` as the same.
*
* @param a - first input value
* @param b - second input value
* @returns boolean indicating whether two single-precision floating-point numbers are the same value
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValuef( toFloat32( 3.14 ), toFloat32( 3.14 ) );
* // returns true
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValuef( toFloat32( -0.0 ), toFloat32( -0.0 ) );
* // returns true
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValuef( toFloat32( -0.0 ), toFloat32( 0.0 ) );
* // returns false
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValuef( toFloat32( NaN ), toFloat32( NaN ) );
* // returns true
*/
isSameValuef: typeof isSameValuef;
/**
* Tests if two single-precision floating-point numbers are the same value.
*
* ## Notes
*
* - The function differs from the `===` operator in that the function treats `NaNs` as the same value.
*
* @param a - first input value
* @param b - second input value
* @returns boolean indicating whether two single-precision floating-point numbers are the same value
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValueZerof( toFloat32( 3.14 ), toFloat32( 3.14 ) );
* // returns true
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValueZerof( toFloat32( -0.0 ), toFloat32( -0.0 ) );
* // returns true
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValueZerof( toFloat32( -0.0 ), toFloat32( 0.0 ) );
* // returns true
*
* @example
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
*
* var bool = ns.isSameValueZerof( toFloat32( NaN ), toFloat32( NaN ) );
* // returns true
*/
isSameValueZerof: typeof isSameValueZerof;
}
/**
* Base double-precision floating-point number assert functions.
*/
declare var ns: Namespace;
// EXPORTS //
export = ns;
``` | /content/code_sandbox/lib/node_modules/@stdlib/number/float32/base/assert/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 926 |
```xml
import { getClient } from '../client'
import { createOrRetrieveCustomerInputSchema } from '../misc/custom-schemas'
import type { IntegrationProps } from '../misc/types'
export const createOrRetrieveCustomer: IntegrationProps['actions']['createOrRetrieveCustomer'] = async ({
ctx,
logger,
input,
}) => {
const validatedInput = createOrRetrieveCustomerInputSchema.parse(input)
const StripeClient = getClient(ctx.configuration)
let response
try {
const customers = await StripeClient.searchCustomers(validatedInput.email)
let customer
if (customers.length === 0) {
const params = {
email: validatedInput.email,
name: validatedInput.name,
phone: validatedInput.phone,
description: validatedInput.description,
payment_method: validatedInput.paymentMethodId,
address: validatedInput.address ? JSON.parse(validatedInput.address) : undefined,
}
customer = await StripeClient.createCustomer(params)
response = { customer }
} else {
response = customers.length === 1 ? { customer: customers[0] } : { customers }
}
logger.forBot().info(`Successful - Create or Retrieve Customer ${customer ? customer.id : ''}`)
} catch (error) {
response = {}
logger.forBot().debug(`'Create or Retrieve Customer' exception ${JSON.stringify(error)}`)
}
return response
}
``` | /content/code_sandbox/integrations/stripe/src/actions/create-or-retrieve-customer.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 290 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"path_to_url" >
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
specific language governing permissions and limitations
-->
<mapper namespace="org.apache.guacamole.auth.jdbc.connection.ConnectionParameterMapper">
<!-- Result mapper for connection parameters -->
<resultMap id="ParameterResultMap" type="org.apache.guacamole.auth.jdbc.connection.ConnectionParameterModel">
<result column="connection_id" property="connectionIdentifier" jdbcType="INTEGER"/>
<result column="parameter_name" property="name" jdbcType="VARCHAR"/>
<result column="parameter_value" property="value" jdbcType="VARCHAR"/>
</resultMap>
<!-- Select all parameters of a given connection -->
<select id="select" resultMap="ParameterResultMap">
SELECT
connection_id,
parameter_name,
parameter_value
FROM guacamole_connection_parameter
WHERE
connection_id = #{identifier,jdbcType=INTEGER}::integer
</select>
<!-- Delete all parameters of a given connection -->
<delete id="delete">
DELETE FROM guacamole_connection_parameter
WHERE connection_id = #{identifier,jdbcType=INTEGER}::integer
</delete>
<!-- Insert all given parameters -->
<insert id="insert" parameterType="org.apache.guacamole.auth.jdbc.connection.ConnectionParameterModel">
INSERT INTO guacamole_connection_parameter (
connection_id,
parameter_name,
parameter_value
)
VALUES
<foreach collection="parameters" item="parameter" separator=",">
(#{parameter.connectionIdentifier,jdbcType=INTEGER}::integer,
#{parameter.name,jdbcType=VARCHAR},
#{parameter.value,jdbcType=VARCHAR})
</foreach>
</insert>
</mapper>
``` | /content/code_sandbox/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/apache/guacamole/auth/jdbc/connection/ConnectionParameterMapper.xml | xml | 2016-03-22T07:00:06 | 2024-08-16T13:03:48 | guacamole-client | apache/guacamole-client | 1,369 | 457 |
```xml
export default function Layout(props) {
return props.children
}
export const metadata = {
title: {
template: '%s | Extra Layout',
default: 'extra layout default',
},
}
``` | /content/code_sandbox/test/e2e/app-dir/metadata/app/title-template/extra/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 43 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Complex64 } from '@stdlib/types/complex';
/**
* Single-precision complex floating-point zero.
*
* @example
* var zero = COMPLEX64_ZERO;
* // returns <Complex64>
*/
declare const COMPLEX64_ZERO: Complex64;
// EXPORTS //
export = COMPLEX64_ZERO;
``` | /content/code_sandbox/lib/node_modules/@stdlib/constants/complex64/zero/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 132 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="com.journaldev.passingdatabetweenfragments">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity"
android:configChanges="keyboardHidden"
android:windowSoftInputMode="stateHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
``` | /content/code_sandbox/Android/PassingDataBetweenFragments/app/src/main/AndroidManifest.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 177 |
```xml
import Nav from "react-bootstrap/Nav";
export { Nav };
import Navbar from "react-bootstrap/Navbar";
export { Navbar };
import Form from "react-bootstrap/Form";
export { Form };
import Stack from "react-bootstrap/Stack";
export { Stack };
import Container from "react-bootstrap/Container";
export { Container };
import NavDropdown from "react-bootstrap/NavDropdown";
export { NavDropdown };
import Modal from "react-bootstrap/Modal";
export { Modal };
import Button from "react-bootstrap/Button";
export { Button };
import ListGroup from "react-bootstrap/ListGroup";
export { ListGroup };
import Row from "react-bootstrap/Row";
export { Row };
import Col from "react-bootstrap/Col";
export { Col };
``` | /content/code_sandbox/website/src/website/components/bootstrap.tsx | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 147 |
```xml
import { Document, Schema } from "mongoose";
import {
customFieldSchema,
ICustomField,
ILink
} from "@erxes/api-utils/src/definitions/common";
import { CUSTOMER_SELECT_OPTIONS } from "./constants";
import { field, schemaWrapper } from "@erxes/api-utils/src/definitions/utils";
export interface ILocation {
remoteAddress: string;
country: string;
countryCode: string;
city: string;
region: string;
hostname: string;
language: string;
userAgent: string;
}
export interface ILocationDocument extends ILocation, Document {}
export interface IVisitorContact {
email?: string;
phone?: string;
}
export interface IVisitorContactDocument extends IVisitorContact, Document {}
export interface IAddress {
id: string; // lng_lat || random
location: {
type: string;
coordinates: number[];
};
address: {
countryCode: string;
country: string;
postCode: string;
city: string;
city_district: string;
suburb: string;
road: string;
street: string;
building: string;
number: string;
other: string;
};
short: string;
}
export interface ICustomer {
state?: "visitor" | "lead" | "customer";
scopeBrandIds?: string[];
firstName?: string;
lastName?: string;
middleName?: string;
birthDate?: Date;
sex?: number;
primaryEmail?: string;
emails?: string[];
avatar?: string;
primaryPhone?: string;
phones?: string[];
primaryAddress?: IAddress;
addresses?: IAddress[];
ownerId?: string;
position?: string;
department?: string;
leadStatus?: string;
hasAuthority?: string;
description?: string;
doNotDisturb?: string;
isSubscribed?: string;
emailValidationStatus?: string;
phoneValidationStatus?: string;
links?: ILink;
relatedIntegrationIds?: string[];
integrationId?: string;
tagIds?: string[];
// TODO migrate after remove 1row
companyIds?: string[];
mergedIds?: string[];
status?: string;
customFieldsData?: ICustomField[];
trackedData?: ICustomField[];
location?: ILocation;
visitorContactInfo?: IVisitorContact;
deviceTokens?: string[];
code?: string;
isOnline?: boolean;
lastSeenAt?: Date;
sessionCount?: number;
visitorId?: string;
data?: any;
}
export interface IValidationResponse {
email?: string;
phone?: string;
status: string;
}
export interface ICustomerDocument extends ICustomer, Document {
_id: string;
location?: ILocationDocument;
visitorContactInfo?: IVisitorContactDocument;
profileScore?: number;
score?: number;
status?: string;
createdAt: Date;
modifiedAt: Date;
deviceTokens?: string[];
searchText?: string;
}
/* location schema */
export const locationSchema = new Schema(
{
remoteAddress: field({
type: String,
label: "Remote address",
optional: true
}),
country: field({ type: String, label: "Country", optional: true }),
countryCode: field({ type: String, label: "Country code", optional: true }),
city: field({ type: String, label: "City", optional: true }),
region: field({ type: String, label: "Region", optional: true }),
hostname: field({ type: String, label: "Host name", optional: true }),
language: field({ type: String, label: "Language", optional: true }),
userAgent: field({ type: String, label: "User agent", optional: true })
},
{ _id: false }
);
export const visitorContactSchema = new Schema(
{
email: field({ type: String, label: "Email", optional: true }),
phone: field({ type: String, label: "Phone", optional: true })
},
{ _id: false }
);
const getEnum = (fieldName: string): string[] => {
return CUSTOMER_SELECT_OPTIONS[fieldName].map(option => option.value);
};
export const customerSchema = schemaWrapper(
new Schema({
_id: field({ pkey: true }),
state: field({
type: String,
esType: "keyword",
label: "State",
default: "visitor",
enum: getEnum("STATE"),
index: true,
selectOptions: CUSTOMER_SELECT_OPTIONS.STATE
}),
createdAt: field({ type: Date, label: "Created at", esType: "date" }),
modifiedAt: field({ type: Date, label: "Modified at", esType: "date" }),
avatar: field({ type: String, optional: true, label: "Avatar" }),
firstName: field({ type: String, label: "First name", optional: true }),
lastName: field({ type: String, label: "Last name", optional: true }),
middleName: field({ type: String, label: "Middle name", optional: true }),
birthDate: field({
type: Date,
label: "Date of birth",
optional: true,
esType: "date"
}),
sex: field({
type: Number,
label: "Pronoun",
optional: true,
esType: "keyword",
default: 0,
enum: getEnum("SEX"),
selectOptions: CUSTOMER_SELECT_OPTIONS.SEX
}),
primaryEmail: field({
type: String,
label: "Primary Email",
optional: true,
esType: "email"
}),
emails: field({ type: [String], optional: true, label: "Emails" }),
emailValidationStatus: field({
type: String,
enum: getEnum("EMAIL_VALIDATION_STATUSES"),
default: "unknown",
label: "Email validation status",
esType: "keyword",
selectOptions: CUSTOMER_SELECT_OPTIONS.EMAIL_VALIDATION_STATUSES
}),
primaryPhone: field({
type: String,
label: "Primary Phone",
optional: true
}),
phones: field({ type: [String], optional: true, label: "Phones" }),
primaryAddress: field({
type: Object,
label: "Primary Address",
optional: true
}),
addresses: field({ type: [Object], optional: true, label: "Addresses" }),
phoneValidationStatus: field({
type: String,
enum: getEnum("PHONE_VALIDATION_STATUSES"),
default: "unknown",
label: "Phone validation status",
esType: "keyword",
selectOptions: CUSTOMER_SELECT_OPTIONS.PHONE_VALIDATION_STATUSES
}),
profileScore: field({
type: Number,
index: true,
optional: true,
esType: "number"
}),
score: field({
type: Number,
optional: true,
label: "Score",
esType: "number"
}),
ownerId: field({ type: String, optional: true }),
position: field({
type: String,
optional: true,
label: "Position",
esType: "keyword"
}),
department: field({ type: String, optional: true, label: "Department" }),
leadStatus: field({
type: String,
enum: getEnum("LEAD_STATUS_TYPES"),
optional: true,
label: "Lead Status",
esType: "keyword",
selectOptions: CUSTOMER_SELECT_OPTIONS.LEAD_STATUS_TYPES
}),
status: field({
type: String,
enum: getEnum("STATUSES"),
optional: true,
label: "Status",
default: "Active",
esType: "keyword",
index: true,
selectOptions: CUSTOMER_SELECT_OPTIONS.STATUSES
}),
hasAuthority: field({
type: String,
optional: true,
default: "No",
label: "Has authority",
enum: getEnum("HAS_AUTHORITY"),
selectOptions: CUSTOMER_SELECT_OPTIONS.HAS_AUTHORITY
}),
description: field({ type: String, optional: true, label: "Description" }),
doNotDisturb: field({
type: String,
optional: true,
default: "No",
enum: getEnum("DO_NOT_DISTURB"),
label: "Do not disturb",
selectOptions: CUSTOMER_SELECT_OPTIONS.DO_NOT_DISTURB
}),
isSubscribed: field({
type: String,
optional: true,
default: "Yes",
enum: getEnum("DO_NOT_DISTURB"),
label: "Subscribed",
selectOptions: CUSTOMER_SELECT_OPTIONS.DO_NOT_DISTURB
}),
links: field({ type: Object, default: {}, label: "Links" }),
relatedIntegrationIds: field({
type: [String],
label: "Related integrations",
esType: "keyword",
optional: true
}),
integrationId: field({
type: String,
optional: true,
label: "Integration",
index: true,
esType: "keyword"
}),
tagIds: field({
type: [String],
optional: true,
index: true,
label: "Tags"
}),
// Merged customer ids
mergedIds: field({ type: [String], optional: true }),
trackedData: field({
type: [customFieldSchema],
optional: true,
label: "Tracked Data"
}),
customFieldsData: field({
type: [customFieldSchema],
optional: true,
label: "Custom fields data"
}),
location: field({
type: locationSchema,
optional: true,
label: "Location"
}),
// if customer is not a user then we will contact with this visitor using
// this information
visitorContactInfo: field({
type: visitorContactSchema,
optional: true,
label: "Visitor contact info"
}),
deviceTokens: field({ type: [String], default: [] }),
searchText: field({ type: String, optional: true, index: true }),
code: field({ type: String, label: "Code", optional: true }),
isOnline: field({
type: Boolean,
label: "Is online",
optional: true
}),
lastSeenAt: field({
type: Date,
label: "Last seen at",
optional: true,
esType: "date"
}),
sessionCount: field({
type: Number,
label: "Session count",
optional: true,
esType: "number"
}),
visitorId: field({ type: String, optional: true }),
data: field({ type: Object, optional: true })
})
);
``` | /content/code_sandbox/packages/core/src/db/models/definitions/customers.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 2,328 |
```xml
<?xml version="1.0"?>
<ruleset xmlns:xsi="path_to_url" name="Android Application Rules"
xmlns="path_to_url"
xsi:noNamespaceSchemaLocation="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<description>Custom ruleset for ribot Evokly application</description>
<exclude-pattern>.*/R.java</exclude-pattern>
<exclude-pattern>.*/gen/.*</exclude-pattern>
<rule ref="rulesets/java/android.xml" />
<rule ref="rulesets/java/clone.xml" />
<rule ref="rulesets/java/finalizers.xml" />
<rule ref="rulesets/java/imports.xml">
<!-- Espresso is designed this way !-->
<exclude name="TooManyStaticImports" />
</rule>
<rule ref="rulesets/java/logging-java.xml">
<!-- This rule wasn't working properly and given errors in every var call info -->
<exclude name="GuardLogStatementJavaUtil" />
</rule>
<rule ref="rulesets/java/braces.xml">
<!-- We allow single line if's without braces -->
<exclude name="IfStmtsMustUseBraces" />
</rule>
<rule ref="rulesets/java/strings.xml" >
<!-- Exclude because causes problems with SQL Strings that usually require duplication -->
<exclude name="AvoidDuplicateLiterals"/>
</rule>
<rule ref="rulesets/java/basic.xml" />
<rule ref="rulesets/java/naming.xml">
<exclude name="AbstractNaming" />
<exclude name="LongVariable" />
<exclude name="ShortMethodName" />
<exclude name="ShortVariable" />
<exclude name="ShortClassName" />
<exclude name="VariableNamingConventions" />
</rule>
</ruleset>
``` | /content/code_sandbox/config/quality/pmd/pmd-ruleset.xml | xml | 2016-07-06T23:47:52 | 2024-06-17T10:31:05 | Pulsator4Droid | booncol/Pulsator4Droid | 1,002 | 390 |
```xml
import { WebPartContext } from "@microsoft/sp-webpart-base";
// import pnp and pnp logging system
import { spfi, SPFI, SPFx } from "@pnp/sp";
let _sp: SPFI = null;
export const getSP = (context?: WebPartContext): SPFI => {
if (context) {
_sp = spfi().using(SPFx(context));
}
return _sp;
};
``` | /content/code_sandbox/samples/react-add-js-css-ref/src/webparts/addJsCssReference/pnpjsConfig.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 95 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {ChangeEventHandler, Component} from 'react';
import {Button, Form, Stack, TextInput} from '@carbon/react';
import {Modal, Select} from 'components';
import {numberParser} from 'services';
import {Definition, FilterData} from 'types';
import {t} from 'translation';
import FilterDefinitionSelection from '../FilterDefinitionSelection';
import {FilterProps} from '../types';
interface DurationFilterState extends FilterData {
applyTo: Definition[];
}
export default class DurationFilter extends Component<
FilterProps<'processInstanceDuration'>,
DurationFilterState
> {
constructor(props: FilterProps<'processInstanceDuration'>) {
super(props);
let applyTo: Definition[] = [
{
identifier: 'all',
displayName: t('common.filter.definitionSelection.allProcesses'),
},
];
if (props.filterData && props.filterData.appliedTo?.[0] !== 'all') {
applyTo = props.filterData.appliedTo
.map((id) => props.definitions.find(({identifier}) => identifier === id))
.filter((definition): definition is Definition => !!definition);
}
this.state = {
value: props.filterData?.data.value.toString() ?? '7',
operator: props.filterData?.data.operator ?? '>',
unit: props.filterData?.data.unit ?? 'days',
applyTo,
};
}
createFilter = () => {
const {value, operator, unit, applyTo} = this.state;
this.props.addFilter({
type: 'processInstanceDuration',
data: {
value: parseFloat(value.toString()),
operator,
unit,
},
appliedTo: applyTo.map(({identifier}) => identifier),
});
};
render() {
const {value, operator, unit, applyTo} = this.state;
const {definitions} = this.props;
const isValidInput = numberParser.isPositiveInt(value);
const isValidFilter = isValidInput && applyTo.length > 0;
return (
<Modal size="sm" open onClose={this.props.close} className="DurationFilter" isOverflowVisible>
<Modal.Header
title={t('common.filter.modalHeader', {
type: t('common.filter.types.processInstanceDuration'),
})}
/>
<Modal.Content>
<FilterDefinitionSelection
availableDefinitions={definitions}
applyTo={applyTo}
setApplyTo={(applyTo) => this.setState({applyTo})}
/>
<p className="description">{t('common.filter.durationModal.includeInstance')} </p>
<Form>
<Stack gap={4} orientation="horizontal">
<Select
size="md"
id="more-less-selector"
value={operator}
onChange={this.setOperator}
>
<Select.Option value=">" label={t('common.filter.durationModal.moreThan')} />
<Select.Option value="<" label={t('common.filter.durationModal.lessThan')} />
</Select>
<TextInput
size="md"
labelText={t('common.value')}
hideLabel
id="duration-value-input"
invalid={!isValidInput}
value={value}
onChange={this.setValue}
maxLength={8}
invalidText={t('common.errors.positiveInt')}
/>
<Select size="md" id="duration-units-selector" value={unit} onChange={this.setUnit}>
<Select.Option value="millis" label={t('common.unit.milli.label-plural')} />
<Select.Option value="seconds" label={t('common.unit.second.label-plural')} />
<Select.Option value="minutes" label={t('common.unit.minute.label-plural')} />
<Select.Option value="hours" label={t('common.unit.hour.label-plural')} />
<Select.Option value="days" label={t('common.unit.day.label-plural')} />
<Select.Option value="weeks" label={t('common.unit.week.label-plural')} />
<Select.Option value="months" label={t('common.unit.month.label-plural')} />
<Select.Option value="years" label={t('common.unit.year.label-plural')} />
</Select>
</Stack>
</Form>
</Modal.Content>
<Modal.Footer>
<Button kind="secondary" className="cancel" onClick={this.props.close}>
{t('common.cancel')}
</Button>
<Button className="confirm" disabled={!isValidFilter} onClick={this.createFilter}>
{this.props.filterData ? t('common.filter.updateFilter') : t('common.filter.addFilter')}
</Button>
</Modal.Footer>
</Modal>
);
}
setOperator = (operator: string) => this.setState({operator});
setUnit = (unit: string) => this.setState({unit});
setValue: ChangeEventHandler<HTMLInputElement> = ({target: {value}}) => this.setState({value});
}
``` | /content/code_sandbox/optimize/client/src/modules/filter/modals/duration/DurationFilter.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 1,063 |
```xml
// @generated by protobuf-ts 2.1.0 with parameter client_grpc1,generate_dependencies
// @generated from protobuf file "org/apache/beam/model/pipeline/v1/schema.proto" (package "org.apache.beam.model.pipeline.v1", syntax proto3)
// tslint:disable
//
//
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
//
// ** Experimental **
// Protocol Buffers describing Beam Schemas, a portable representation for
// complex types.
//
// The primary application of Schema is as the payload for the standard coder
// "beam:coder:row:v1", defined in beam_runner_api.proto
//
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MESSAGE_TYPE } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.Schema
*/
export interface Schema {
/**
* List of fields for this schema. Two fields may not share a name.
*
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.Field fields = 1;
*/
fields: Field[];
/**
* REQUIRED. An RFC 4122 UUID.
*
* @generated from protobuf field: string id = 2;
*/
id: string;
/**
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.Option options = 3;
*/
options: Option[];
/**
* Indicates that encoding positions have been overridden.
*
* @generated from protobuf field: bool encoding_positions_set = 4;
*/
encodingPositionsSet: boolean;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.Field
*/
export interface Field {
/**
* REQUIRED. Name of this field within the schema.
*
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* OPTIONAL. Human readable description of this field, such as the query that generated it.
*
* @generated from protobuf field: string description = 2;
*/
description: string;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType type = 3;
*/
type?: FieldType;
/**
* @generated from protobuf field: int32 id = 4;
*/
id: number;
/**
* OPTIONAL. The position of this field's data when encoded, e.g. with beam:coder:row:v1.
* Either no fields in a given row are have encoding position populated,
* or all of them are. Used to support backwards compatibility with schema
* changes.
* If no fields have encoding position populated the order of encoding is the same as the order in the Schema.
* If this Field is part of a Schema where encoding_positions_set is True then encoding_position must be
* defined, otherwise this field is ignored.
*
* @generated from protobuf field: int32 encoding_position = 5;
*/
encodingPosition: number;
/**
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.Option options = 6;
*/
options: Option[];
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.FieldType
*/
export interface FieldType {
/**
* @generated from protobuf field: bool nullable = 1;
*/
nullable: boolean;
/**
* @generated from protobuf oneof: type_info
*/
typeInfo: {
oneofKind: "atomicType";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.AtomicType atomic_type = 2;
*/
atomicType: AtomicType;
} | {
oneofKind: "arrayType";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.ArrayType array_type = 3;
*/
arrayType: ArrayType;
} | {
oneofKind: "iterableType";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.IterableType iterable_type = 4;
*/
iterableType: IterableType;
} | {
oneofKind: "mapType";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.MapType map_type = 5;
*/
mapType: MapType;
} | {
oneofKind: "rowType";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.RowType row_type = 6;
*/
rowType: RowType;
} | {
oneofKind: "logicalType";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.LogicalType logical_type = 7;
*/
logicalType: LogicalType;
} | {
oneofKind: undefined;
};
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.ArrayType
*/
export interface ArrayType {
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType element_type = 1;
*/
elementType?: FieldType;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.IterableType
*/
export interface IterableType {
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType element_type = 1;
*/
elementType?: FieldType;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.MapType
*/
export interface MapType {
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType key_type = 1;
*/
keyType?: FieldType;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType value_type = 2;
*/
valueType?: FieldType;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.RowType
*/
export interface RowType {
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.Schema schema = 1;
*/
schema?: Schema;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.LogicalType
*/
export interface LogicalType {
/**
* @generated from protobuf field: string urn = 1;
*/
urn: string;
/**
* @generated from protobuf field: bytes payload = 2;
*/
payload: Uint8Array;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType representation = 3;
*/
representation?: FieldType;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType argument_type = 4;
*/
argumentType?: FieldType;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldValue argument = 5;
*/
argument?: FieldValue;
}
/**
* Universally defined Logical types for Row schemas.
* These logical types are supposed to be understood by all SDKs.
*
* @generated from protobuf message org.apache.beam.model.pipeline.v1.LogicalTypes
*/
export interface LogicalTypes {
}
/**
* @generated from protobuf enum org.apache.beam.model.pipeline.v1.LogicalTypes.Enum
*/
export enum LogicalTypes_Enum {
/**
* A URN for Python Callable logical type
* - Representation type: STRING
* - Language type: In Python SDK, PythonCallableWithSource.
* In any other SDKs, a wrapper object for a string which
* can be evaluated to a Python Callable object.
*
* @generated from protobuf enum value: PYTHON_CALLABLE = 0;
*/
PYTHON_CALLABLE = 0,
/**
* A URN for MicrosInstant type
* - Representation type: ROW<seconds: INT64, micros: INT64>
* - A timestamp without a timezone where seconds + micros represents the
* amount of time since the epoch.
*
* @generated from protobuf enum value: MICROS_INSTANT = 1;
*/
MICROS_INSTANT = 1,
/**
* A URN for MillisInstant type
* - Representation type: INT64
* - A timestamp without a timezone represented by the number of
* milliseconds since the epoch. The INT64 value is encoded with
* big-endian shifted such that lexicographic ordering of the bytes
* corresponds to chronological order.
*
* @generated from protobuf enum value: MILLIS_INSTANT = 2;
*/
MILLIS_INSTANT = 2
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.Option
*/
export interface Option {
/**
* REQUIRED. Identifier for the option.
*
* @generated from protobuf field: string name = 1;
*/
name: string;
/**
* REQUIRED. Type specifier for the structure of value.
* Conventionally, options that don't require additional configuration should
* use a boolean type, with the value set to true.
*
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldType type = 2;
*/
type?: FieldType;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldValue value = 3;
*/
value?: FieldValue;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.Row
*/
export interface Row {
/**
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.FieldValue values = 1;
*/
values: FieldValue[];
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.FieldValue
*/
export interface FieldValue {
/**
* @generated from protobuf oneof: field_value
*/
fieldValue: {
oneofKind: "atomicValue";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.AtomicTypeValue atomic_value = 1;
*/
atomicValue: AtomicTypeValue;
} | {
oneofKind: "arrayValue";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.ArrayTypeValue array_value = 2;
*/
arrayValue: ArrayTypeValue;
} | {
oneofKind: "iterableValue";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.IterableTypeValue iterable_value = 3;
*/
iterableValue: IterableTypeValue;
} | {
oneofKind: "mapValue";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.MapTypeValue map_value = 4;
*/
mapValue: MapTypeValue;
} | {
oneofKind: "rowValue";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.Row row_value = 5;
*/
rowValue: Row;
} | {
oneofKind: "logicalTypeValue";
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.LogicalTypeValue logical_type_value = 6;
*/
logicalTypeValue: LogicalTypeValue;
} | {
oneofKind: undefined;
};
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.AtomicTypeValue
*/
export interface AtomicTypeValue {
/**
* @generated from protobuf oneof: value
*/
value: {
oneofKind: "byte";
/**
* @generated from protobuf field: int32 byte = 1;
*/
byte: number;
} | {
oneofKind: "int16";
/**
* @generated from protobuf field: int32 int16 = 2;
*/
int16: number;
} | {
oneofKind: "int32";
/**
* @generated from protobuf field: int32 int32 = 3;
*/
int32: number;
} | {
oneofKind: "int64";
/**
* @generated from protobuf field: int64 int64 = 4;
*/
int64: bigint;
} | {
oneofKind: "float";
/**
* @generated from protobuf field: float float = 5;
*/
float: number;
} | {
oneofKind: "double";
/**
* @generated from protobuf field: double double = 6;
*/
double: number;
} | {
oneofKind: "string";
/**
* @generated from protobuf field: string string = 7;
*/
string: string;
} | {
oneofKind: "boolean";
/**
* @generated from protobuf field: bool boolean = 8;
*/
boolean: boolean;
} | {
oneofKind: "bytes";
/**
* @generated from protobuf field: bytes bytes = 9;
*/
bytes: Uint8Array;
} | {
oneofKind: undefined;
};
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.ArrayTypeValue
*/
export interface ArrayTypeValue {
/**
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.FieldValue element = 1;
*/
element: FieldValue[];
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.IterableTypeValue
*/
export interface IterableTypeValue {
/**
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.FieldValue element = 1;
*/
element: FieldValue[];
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.MapTypeValue
*/
export interface MapTypeValue {
/**
* @generated from protobuf field: repeated org.apache.beam.model.pipeline.v1.MapTypeEntry entries = 1;
*/
entries: MapTypeEntry[];
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.MapTypeEntry
*/
export interface MapTypeEntry {
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldValue key = 1;
*/
key?: FieldValue;
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldValue value = 2;
*/
value?: FieldValue;
}
/**
* @generated from protobuf message org.apache.beam.model.pipeline.v1.LogicalTypeValue
*/
export interface LogicalTypeValue {
/**
* @generated from protobuf field: org.apache.beam.model.pipeline.v1.FieldValue value = 1;
*/
value?: FieldValue;
}
/**
* @generated from protobuf enum org.apache.beam.model.pipeline.v1.AtomicType
*/
export enum AtomicType {
/**
* @generated from protobuf enum value: UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from protobuf enum value: BYTE = 1;
*/
BYTE = 1,
/**
* @generated from protobuf enum value: INT16 = 2;
*/
INT16 = 2,
/**
* @generated from protobuf enum value: INT32 = 3;
*/
INT32 = 3,
/**
* @generated from protobuf enum value: INT64 = 4;
*/
INT64 = 4,
/**
* @generated from protobuf enum value: FLOAT = 5;
*/
FLOAT = 5,
/**
* @generated from protobuf enum value: DOUBLE = 6;
*/
DOUBLE = 6,
/**
* @generated from protobuf enum value: STRING = 7;
*/
STRING = 7,
/**
* @generated from protobuf enum value: BOOLEAN = 8;
*/
BOOLEAN = 8,
/**
* @generated from protobuf enum value: BYTES = 9;
*/
BYTES = 9
}
// @generated message type with reflection information, may provide speed optimized methods
class Schema$Type extends MessageType<Schema> {
constructor() {
super("org.apache.beam.model.pipeline.v1.Schema", [
{ no: 1, name: "fields", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Field },
{ no: 2, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option },
{ no: 4, name: "encoding_positions_set", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
]);
}
create(value?: PartialMessage<Schema>): Schema {
const message = { fields: [], id: "", options: [], encodingPositionsSet: false };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<Schema>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Schema): Schema {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated org.apache.beam.model.pipeline.v1.Field fields */ 1:
message.fields.push(Field.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string id */ 2:
message.id = reader.string();
break;
case /* repeated org.apache.beam.model.pipeline.v1.Option options */ 3:
message.options.push(Option.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* bool encoding_positions_set */ 4:
message.encodingPositionsSet = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: Schema, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated org.apache.beam.model.pipeline.v1.Field fields = 1; */
for (let i = 0; i < message.fields.length; i++)
Field.internalBinaryWrite(message.fields[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string id = 2; */
if (message.id !== "")
writer.tag(2, WireType.LengthDelimited).string(message.id);
/* repeated org.apache.beam.model.pipeline.v1.Option options = 3; */
for (let i = 0; i < message.options.length; i++)
Option.internalBinaryWrite(message.options[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* bool encoding_positions_set = 4; */
if (message.encodingPositionsSet !== false)
writer.tag(4, WireType.Varint).bool(message.encodingPositionsSet);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.Schema
*/
export const Schema = new Schema$Type();
// @generated message type with reflection information, may provide speed optimized methods
class Field$Type extends MessageType<Field> {
constructor() {
super("org.apache.beam.model.pipeline.v1.Field", [
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "type", kind: "message", T: () => FieldType },
{ no: 4, name: "id", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
{ no: 5, name: "encoding_position", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
{ no: 6, name: "options", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Option }
]);
}
create(value?: PartialMessage<Field>): Field {
const message = { name: "", description: "", id: 0, encodingPosition: 0, options: [] };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<Field>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Field): Field {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string name */ 1:
message.name = reader.string();
break;
case /* string description */ 2:
message.description = reader.string();
break;
case /* org.apache.beam.model.pipeline.v1.FieldType type */ 3:
message.type = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.type);
break;
case /* int32 id */ 4:
message.id = reader.int32();
break;
case /* int32 encoding_position */ 5:
message.encodingPosition = reader.int32();
break;
case /* repeated org.apache.beam.model.pipeline.v1.Option options */ 6:
message.options.push(Option.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: Field, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string name = 1; */
if (message.name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.name);
/* string description = 2; */
if (message.description !== "")
writer.tag(2, WireType.LengthDelimited).string(message.description);
/* org.apache.beam.model.pipeline.v1.FieldType type = 3; */
if (message.type)
FieldType.internalBinaryWrite(message.type, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* int32 id = 4; */
if (message.id !== 0)
writer.tag(4, WireType.Varint).int32(message.id);
/* int32 encoding_position = 5; */
if (message.encodingPosition !== 0)
writer.tag(5, WireType.Varint).int32(message.encodingPosition);
/* repeated org.apache.beam.model.pipeline.v1.Option options = 6; */
for (let i = 0; i < message.options.length; i++)
Option.internalBinaryWrite(message.options[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.Field
*/
export const Field = new Field$Type();
// @generated message type with reflection information, may provide speed optimized methods
class FieldType$Type extends MessageType<FieldType> {
constructor() {
super("org.apache.beam.model.pipeline.v1.FieldType", [
{ no: 1, name: "nullable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
{ no: 2, name: "atomic_type", kind: "enum", oneof: "typeInfo", T: () => ["org.apache.beam.model.pipeline.v1.AtomicType", AtomicType] },
{ no: 3, name: "array_type", kind: "message", oneof: "typeInfo", T: () => ArrayType },
{ no: 4, name: "iterable_type", kind: "message", oneof: "typeInfo", T: () => IterableType },
{ no: 5, name: "map_type", kind: "message", oneof: "typeInfo", T: () => MapType },
{ no: 6, name: "row_type", kind: "message", oneof: "typeInfo", T: () => RowType },
{ no: 7, name: "logical_type", kind: "message", oneof: "typeInfo", T: () => LogicalType }
]);
}
create(value?: PartialMessage<FieldType>): FieldType {
const message = { nullable: false, typeInfo: { oneofKind: undefined } };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<FieldType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldType): FieldType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* bool nullable */ 1:
message.nullable = reader.bool();
break;
case /* org.apache.beam.model.pipeline.v1.AtomicType atomic_type */ 2:
message.typeInfo = {
oneofKind: "atomicType",
atomicType: reader.int32()
};
break;
case /* org.apache.beam.model.pipeline.v1.ArrayType array_type */ 3:
message.typeInfo = {
oneofKind: "arrayType",
arrayType: ArrayType.internalBinaryRead(reader, reader.uint32(), options, (message.typeInfo as any).arrayType)
};
break;
case /* org.apache.beam.model.pipeline.v1.IterableType iterable_type */ 4:
message.typeInfo = {
oneofKind: "iterableType",
iterableType: IterableType.internalBinaryRead(reader, reader.uint32(), options, (message.typeInfo as any).iterableType)
};
break;
case /* org.apache.beam.model.pipeline.v1.MapType map_type */ 5:
message.typeInfo = {
oneofKind: "mapType",
mapType: MapType.internalBinaryRead(reader, reader.uint32(), options, (message.typeInfo as any).mapType)
};
break;
case /* org.apache.beam.model.pipeline.v1.RowType row_type */ 6:
message.typeInfo = {
oneofKind: "rowType",
rowType: RowType.internalBinaryRead(reader, reader.uint32(), options, (message.typeInfo as any).rowType)
};
break;
case /* org.apache.beam.model.pipeline.v1.LogicalType logical_type */ 7:
message.typeInfo = {
oneofKind: "logicalType",
logicalType: LogicalType.internalBinaryRead(reader, reader.uint32(), options, (message.typeInfo as any).logicalType)
};
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: FieldType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* bool nullable = 1; */
if (message.nullable !== false)
writer.tag(1, WireType.Varint).bool(message.nullable);
/* org.apache.beam.model.pipeline.v1.AtomicType atomic_type = 2; */
if (message.typeInfo.oneofKind === "atomicType")
writer.tag(2, WireType.Varint).int32(message.typeInfo.atomicType);
/* org.apache.beam.model.pipeline.v1.ArrayType array_type = 3; */
if (message.typeInfo.oneofKind === "arrayType")
ArrayType.internalBinaryWrite(message.typeInfo.arrayType, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.IterableType iterable_type = 4; */
if (message.typeInfo.oneofKind === "iterableType")
IterableType.internalBinaryWrite(message.typeInfo.iterableType, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.MapType map_type = 5; */
if (message.typeInfo.oneofKind === "mapType")
MapType.internalBinaryWrite(message.typeInfo.mapType, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.RowType row_type = 6; */
if (message.typeInfo.oneofKind === "rowType")
RowType.internalBinaryWrite(message.typeInfo.rowType, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.LogicalType logical_type = 7; */
if (message.typeInfo.oneofKind === "logicalType")
LogicalType.internalBinaryWrite(message.typeInfo.logicalType, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.FieldType
*/
export const FieldType = new FieldType$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ArrayType$Type extends MessageType<ArrayType> {
constructor() {
super("org.apache.beam.model.pipeline.v1.ArrayType", [
{ no: 1, name: "element_type", kind: "message", T: () => FieldType }
]);
}
create(value?: PartialMessage<ArrayType>): ArrayType {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<ArrayType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ArrayType): ArrayType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.FieldType element_type */ 1:
message.elementType = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.elementType);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ArrayType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.FieldType element_type = 1; */
if (message.elementType)
FieldType.internalBinaryWrite(message.elementType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.ArrayType
*/
export const ArrayType = new ArrayType$Type();
// @generated message type with reflection information, may provide speed optimized methods
class IterableType$Type extends MessageType<IterableType> {
constructor() {
super("org.apache.beam.model.pipeline.v1.IterableType", [
{ no: 1, name: "element_type", kind: "message", T: () => FieldType }
]);
}
create(value?: PartialMessage<IterableType>): IterableType {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<IterableType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IterableType): IterableType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.FieldType element_type */ 1:
message.elementType = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.elementType);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: IterableType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.FieldType element_type = 1; */
if (message.elementType)
FieldType.internalBinaryWrite(message.elementType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.IterableType
*/
export const IterableType = new IterableType$Type();
// @generated message type with reflection information, may provide speed optimized methods
class MapType$Type extends MessageType<MapType> {
constructor() {
super("org.apache.beam.model.pipeline.v1.MapType", [
{ no: 1, name: "key_type", kind: "message", T: () => FieldType },
{ no: 2, name: "value_type", kind: "message", T: () => FieldType }
]);
}
create(value?: PartialMessage<MapType>): MapType {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<MapType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MapType): MapType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.FieldType key_type */ 1:
message.keyType = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.keyType);
break;
case /* org.apache.beam.model.pipeline.v1.FieldType value_type */ 2:
message.valueType = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.valueType);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: MapType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.FieldType key_type = 1; */
if (message.keyType)
FieldType.internalBinaryWrite(message.keyType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.FieldType value_type = 2; */
if (message.valueType)
FieldType.internalBinaryWrite(message.valueType, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.MapType
*/
export const MapType = new MapType$Type();
// @generated message type with reflection information, may provide speed optimized methods
class RowType$Type extends MessageType<RowType> {
constructor() {
super("org.apache.beam.model.pipeline.v1.RowType", [
{ no: 1, name: "schema", kind: "message", T: () => Schema }
]);
}
create(value?: PartialMessage<RowType>): RowType {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<RowType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RowType): RowType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.Schema schema */ 1:
message.schema = Schema.internalBinaryRead(reader, reader.uint32(), options, message.schema);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: RowType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.Schema schema = 1; */
if (message.schema)
Schema.internalBinaryWrite(message.schema, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.RowType
*/
export const RowType = new RowType$Type();
// @generated message type with reflection information, may provide speed optimized methods
class LogicalType$Type extends MessageType<LogicalType> {
constructor() {
super("org.apache.beam.model.pipeline.v1.LogicalType", [
{ no: 1, name: "urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "payload", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
{ no: 3, name: "representation", kind: "message", T: () => FieldType },
{ no: 4, name: "argument_type", kind: "message", T: () => FieldType },
{ no: 5, name: "argument", kind: "message", T: () => FieldValue }
]);
}
create(value?: PartialMessage<LogicalType>): LogicalType {
const message = { urn: "", payload: new Uint8Array(0) };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<LogicalType>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LogicalType): LogicalType {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string urn */ 1:
message.urn = reader.string();
break;
case /* bytes payload */ 2:
message.payload = reader.bytes();
break;
case /* org.apache.beam.model.pipeline.v1.FieldType representation */ 3:
message.representation = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.representation);
break;
case /* org.apache.beam.model.pipeline.v1.FieldType argument_type */ 4:
message.argumentType = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.argumentType);
break;
case /* org.apache.beam.model.pipeline.v1.FieldValue argument */ 5:
message.argument = FieldValue.internalBinaryRead(reader, reader.uint32(), options, message.argument);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: LogicalType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string urn = 1; */
if (message.urn !== "")
writer.tag(1, WireType.LengthDelimited).string(message.urn);
/* bytes payload = 2; */
if (message.payload.length)
writer.tag(2, WireType.LengthDelimited).bytes(message.payload);
/* org.apache.beam.model.pipeline.v1.FieldType representation = 3; */
if (message.representation)
FieldType.internalBinaryWrite(message.representation, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.FieldType argument_type = 4; */
if (message.argumentType)
FieldType.internalBinaryWrite(message.argumentType, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.FieldValue argument = 5; */
if (message.argument)
FieldValue.internalBinaryWrite(message.argument, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.LogicalType
*/
export const LogicalType = new LogicalType$Type();
// @generated message type with reflection information, may provide speed optimized methods
class LogicalTypes$Type extends MessageType<LogicalTypes> {
constructor() {
super("org.apache.beam.model.pipeline.v1.LogicalTypes", []);
}
create(value?: PartialMessage<LogicalTypes>): LogicalTypes {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<LogicalTypes>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LogicalTypes): LogicalTypes {
return target ?? this.create();
}
internalBinaryWrite(message: LogicalTypes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.LogicalTypes
*/
export const LogicalTypes = new LogicalTypes$Type();
// @generated message type with reflection information, may provide speed optimized methods
class Option$Type extends MessageType<Option> {
constructor() {
super("org.apache.beam.model.pipeline.v1.Option", [
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "type", kind: "message", T: () => FieldType },
{ no: 3, name: "value", kind: "message", T: () => FieldValue }
]);
}
create(value?: PartialMessage<Option>): Option {
const message = { name: "" };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<Option>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Option): Option {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string name */ 1:
message.name = reader.string();
break;
case /* org.apache.beam.model.pipeline.v1.FieldType type */ 2:
message.type = FieldType.internalBinaryRead(reader, reader.uint32(), options, message.type);
break;
case /* org.apache.beam.model.pipeline.v1.FieldValue value */ 3:
message.value = FieldValue.internalBinaryRead(reader, reader.uint32(), options, message.value);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: Option, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string name = 1; */
if (message.name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.name);
/* org.apache.beam.model.pipeline.v1.FieldType type = 2; */
if (message.type)
FieldType.internalBinaryWrite(message.type, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.FieldValue value = 3; */
if (message.value)
FieldValue.internalBinaryWrite(message.value, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.Option
*/
export const Option = new Option$Type();
// @generated message type with reflection information, may provide speed optimized methods
class Row$Type extends MessageType<Row> {
constructor() {
super("org.apache.beam.model.pipeline.v1.Row", [
{ no: 1, name: "values", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => FieldValue }
]);
}
create(value?: PartialMessage<Row>): Row {
const message = { values: [] };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<Row>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Row): Row {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated org.apache.beam.model.pipeline.v1.FieldValue values */ 1:
message.values.push(FieldValue.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: Row, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated org.apache.beam.model.pipeline.v1.FieldValue values = 1; */
for (let i = 0; i < message.values.length; i++)
FieldValue.internalBinaryWrite(message.values[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.Row
*/
export const Row = new Row$Type();
// @generated message type with reflection information, may provide speed optimized methods
class FieldValue$Type extends MessageType<FieldValue> {
constructor() {
super("org.apache.beam.model.pipeline.v1.FieldValue", [
{ no: 1, name: "atomic_value", kind: "message", oneof: "fieldValue", T: () => AtomicTypeValue },
{ no: 2, name: "array_value", kind: "message", oneof: "fieldValue", T: () => ArrayTypeValue },
{ no: 3, name: "iterable_value", kind: "message", oneof: "fieldValue", T: () => IterableTypeValue },
{ no: 4, name: "map_value", kind: "message", oneof: "fieldValue", T: () => MapTypeValue },
{ no: 5, name: "row_value", kind: "message", oneof: "fieldValue", T: () => Row },
{ no: 6, name: "logical_type_value", kind: "message", oneof: "fieldValue", T: () => LogicalTypeValue }
]);
}
create(value?: PartialMessage<FieldValue>): FieldValue {
const message = { fieldValue: { oneofKind: undefined } };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<FieldValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldValue): FieldValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.AtomicTypeValue atomic_value */ 1:
message.fieldValue = {
oneofKind: "atomicValue",
atomicValue: AtomicTypeValue.internalBinaryRead(reader, reader.uint32(), options, (message.fieldValue as any).atomicValue)
};
break;
case /* org.apache.beam.model.pipeline.v1.ArrayTypeValue array_value */ 2:
message.fieldValue = {
oneofKind: "arrayValue",
arrayValue: ArrayTypeValue.internalBinaryRead(reader, reader.uint32(), options, (message.fieldValue as any).arrayValue)
};
break;
case /* org.apache.beam.model.pipeline.v1.IterableTypeValue iterable_value */ 3:
message.fieldValue = {
oneofKind: "iterableValue",
iterableValue: IterableTypeValue.internalBinaryRead(reader, reader.uint32(), options, (message.fieldValue as any).iterableValue)
};
break;
case /* org.apache.beam.model.pipeline.v1.MapTypeValue map_value */ 4:
message.fieldValue = {
oneofKind: "mapValue",
mapValue: MapTypeValue.internalBinaryRead(reader, reader.uint32(), options, (message.fieldValue as any).mapValue)
};
break;
case /* org.apache.beam.model.pipeline.v1.Row row_value */ 5:
message.fieldValue = {
oneofKind: "rowValue",
rowValue: Row.internalBinaryRead(reader, reader.uint32(), options, (message.fieldValue as any).rowValue)
};
break;
case /* org.apache.beam.model.pipeline.v1.LogicalTypeValue logical_type_value */ 6:
message.fieldValue = {
oneofKind: "logicalTypeValue",
logicalTypeValue: LogicalTypeValue.internalBinaryRead(reader, reader.uint32(), options, (message.fieldValue as any).logicalTypeValue)
};
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: FieldValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.AtomicTypeValue atomic_value = 1; */
if (message.fieldValue.oneofKind === "atomicValue")
AtomicTypeValue.internalBinaryWrite(message.fieldValue.atomicValue, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.ArrayTypeValue array_value = 2; */
if (message.fieldValue.oneofKind === "arrayValue")
ArrayTypeValue.internalBinaryWrite(message.fieldValue.arrayValue, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.IterableTypeValue iterable_value = 3; */
if (message.fieldValue.oneofKind === "iterableValue")
IterableTypeValue.internalBinaryWrite(message.fieldValue.iterableValue, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.MapTypeValue map_value = 4; */
if (message.fieldValue.oneofKind === "mapValue")
MapTypeValue.internalBinaryWrite(message.fieldValue.mapValue, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.Row row_value = 5; */
if (message.fieldValue.oneofKind === "rowValue")
Row.internalBinaryWrite(message.fieldValue.rowValue, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.LogicalTypeValue logical_type_value = 6; */
if (message.fieldValue.oneofKind === "logicalTypeValue")
LogicalTypeValue.internalBinaryWrite(message.fieldValue.logicalTypeValue, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.FieldValue
*/
export const FieldValue = new FieldValue$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AtomicTypeValue$Type extends MessageType<AtomicTypeValue> {
constructor() {
super("org.apache.beam.model.pipeline.v1.AtomicTypeValue", [
{ no: 1, name: "byte", kind: "scalar", oneof: "value", T: 5 /*ScalarType.INT32*/ },
{ no: 2, name: "int16", kind: "scalar", oneof: "value", T: 5 /*ScalarType.INT32*/ },
{ no: 3, name: "int32", kind: "scalar", oneof: "value", T: 5 /*ScalarType.INT32*/ },
{ no: 4, name: "int64", kind: "scalar", oneof: "value", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 5, name: "float", kind: "scalar", oneof: "value", T: 2 /*ScalarType.FLOAT*/ },
{ no: 6, name: "double", kind: "scalar", oneof: "value", T: 1 /*ScalarType.DOUBLE*/ },
{ no: 7, name: "string", kind: "scalar", oneof: "value", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "boolean", kind: "scalar", oneof: "value", T: 8 /*ScalarType.BOOL*/ },
{ no: 9, name: "bytes", kind: "scalar", oneof: "value", T: 12 /*ScalarType.BYTES*/ }
]);
}
create(value?: PartialMessage<AtomicTypeValue>): AtomicTypeValue {
const message = { value: { oneofKind: undefined } };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<AtomicTypeValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AtomicTypeValue): AtomicTypeValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* int32 byte */ 1:
message.value = {
oneofKind: "byte",
byte: reader.int32()
};
break;
case /* int32 int16 */ 2:
message.value = {
oneofKind: "int16",
int16: reader.int32()
};
break;
case /* int32 int32 */ 3:
message.value = {
oneofKind: "int32",
int32: reader.int32()
};
break;
case /* int64 int64 */ 4:
message.value = {
oneofKind: "int64",
int64: reader.int64().toBigInt()
};
break;
case /* float float */ 5:
message.value = {
oneofKind: "float",
float: reader.float()
};
break;
case /* double double */ 6:
message.value = {
oneofKind: "double",
double: reader.double()
};
break;
case /* string string */ 7:
message.value = {
oneofKind: "string",
string: reader.string()
};
break;
case /* bool boolean */ 8:
message.value = {
oneofKind: "boolean",
boolean: reader.bool()
};
break;
case /* bytes bytes */ 9:
message.value = {
oneofKind: "bytes",
bytes: reader.bytes()
};
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: AtomicTypeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* int32 byte = 1; */
if (message.value.oneofKind === "byte")
writer.tag(1, WireType.Varint).int32(message.value.byte);
/* int32 int16 = 2; */
if (message.value.oneofKind === "int16")
writer.tag(2, WireType.Varint).int32(message.value.int16);
/* int32 int32 = 3; */
if (message.value.oneofKind === "int32")
writer.tag(3, WireType.Varint).int32(message.value.int32);
/* int64 int64 = 4; */
if (message.value.oneofKind === "int64")
writer.tag(4, WireType.Varint).int64(message.value.int64);
/* float float = 5; */
if (message.value.oneofKind === "float")
writer.tag(5, WireType.Bit32).float(message.value.float);
/* double double = 6; */
if (message.value.oneofKind === "double")
writer.tag(6, WireType.Bit64).double(message.value.double);
/* string string = 7; */
if (message.value.oneofKind === "string")
writer.tag(7, WireType.LengthDelimited).string(message.value.string);
/* bool boolean = 8; */
if (message.value.oneofKind === "boolean")
writer.tag(8, WireType.Varint).bool(message.value.boolean);
/* bytes bytes = 9; */
if (message.value.oneofKind === "bytes")
writer.tag(9, WireType.LengthDelimited).bytes(message.value.bytes);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.AtomicTypeValue
*/
export const AtomicTypeValue = new AtomicTypeValue$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ArrayTypeValue$Type extends MessageType<ArrayTypeValue> {
constructor() {
super("org.apache.beam.model.pipeline.v1.ArrayTypeValue", [
{ no: 1, name: "element", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => FieldValue }
]);
}
create(value?: PartialMessage<ArrayTypeValue>): ArrayTypeValue {
const message = { element: [] };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<ArrayTypeValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ArrayTypeValue): ArrayTypeValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated org.apache.beam.model.pipeline.v1.FieldValue element */ 1:
message.element.push(FieldValue.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ArrayTypeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated org.apache.beam.model.pipeline.v1.FieldValue element = 1; */
for (let i = 0; i < message.element.length; i++)
FieldValue.internalBinaryWrite(message.element[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.ArrayTypeValue
*/
export const ArrayTypeValue = new ArrayTypeValue$Type();
// @generated message type with reflection information, may provide speed optimized methods
class IterableTypeValue$Type extends MessageType<IterableTypeValue> {
constructor() {
super("org.apache.beam.model.pipeline.v1.IterableTypeValue", [
{ no: 1, name: "element", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => FieldValue }
]);
}
create(value?: PartialMessage<IterableTypeValue>): IterableTypeValue {
const message = { element: [] };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<IterableTypeValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IterableTypeValue): IterableTypeValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated org.apache.beam.model.pipeline.v1.FieldValue element */ 1:
message.element.push(FieldValue.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: IterableTypeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated org.apache.beam.model.pipeline.v1.FieldValue element = 1; */
for (let i = 0; i < message.element.length; i++)
FieldValue.internalBinaryWrite(message.element[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.IterableTypeValue
*/
export const IterableTypeValue = new IterableTypeValue$Type();
// @generated message type with reflection information, may provide speed optimized methods
class MapTypeValue$Type extends MessageType<MapTypeValue> {
constructor() {
super("org.apache.beam.model.pipeline.v1.MapTypeValue", [
{ no: 1, name: "entries", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => MapTypeEntry }
]);
}
create(value?: PartialMessage<MapTypeValue>): MapTypeValue {
const message = { entries: [] };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<MapTypeValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MapTypeValue): MapTypeValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated org.apache.beam.model.pipeline.v1.MapTypeEntry entries */ 1:
message.entries.push(MapTypeEntry.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: MapTypeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated org.apache.beam.model.pipeline.v1.MapTypeEntry entries = 1; */
for (let i = 0; i < message.entries.length; i++)
MapTypeEntry.internalBinaryWrite(message.entries[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.MapTypeValue
*/
export const MapTypeValue = new MapTypeValue$Type();
// @generated message type with reflection information, may provide speed optimized methods
class MapTypeEntry$Type extends MessageType<MapTypeEntry> {
constructor() {
super("org.apache.beam.model.pipeline.v1.MapTypeEntry", [
{ no: 1, name: "key", kind: "message", T: () => FieldValue },
{ no: 2, name: "value", kind: "message", T: () => FieldValue }
]);
}
create(value?: PartialMessage<MapTypeEntry>): MapTypeEntry {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<MapTypeEntry>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MapTypeEntry): MapTypeEntry {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.FieldValue key */ 1:
message.key = FieldValue.internalBinaryRead(reader, reader.uint32(), options, message.key);
break;
case /* org.apache.beam.model.pipeline.v1.FieldValue value */ 2:
message.value = FieldValue.internalBinaryRead(reader, reader.uint32(), options, message.value);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: MapTypeEntry, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.FieldValue key = 1; */
if (message.key)
FieldValue.internalBinaryWrite(message.key, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* org.apache.beam.model.pipeline.v1.FieldValue value = 2; */
if (message.value)
FieldValue.internalBinaryWrite(message.value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.MapTypeEntry
*/
export const MapTypeEntry = new MapTypeEntry$Type();
// @generated message type with reflection information, may provide speed optimized methods
class LogicalTypeValue$Type extends MessageType<LogicalTypeValue> {
constructor() {
super("org.apache.beam.model.pipeline.v1.LogicalTypeValue", [
{ no: 1, name: "value", kind: "message", T: () => FieldValue }
]);
}
create(value?: PartialMessage<LogicalTypeValue>): LogicalTypeValue {
const message = {};
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
if (value !== undefined)
reflectionMergePartial<LogicalTypeValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LogicalTypeValue): LogicalTypeValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* org.apache.beam.model.pipeline.v1.FieldValue value */ 1:
message.value = FieldValue.internalBinaryRead(reader, reader.uint32(), options, message.value);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: LogicalTypeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* org.apache.beam.model.pipeline.v1.FieldValue value = 1; */
if (message.value)
FieldValue.internalBinaryWrite(message.value, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message org.apache.beam.model.pipeline.v1.LogicalTypeValue
*/
export const LogicalTypeValue = new LogicalTypeValue$Type();
``` | /content/code_sandbox/sdks/typescript/src/apache_beam/proto/org/apache/beam/model/pipeline/v1/schema.ts | xml | 2016-02-02T08:00:06 | 2024-08-16T18:58:11 | beam | apache/beam | 7,730 | 16,850 |
```xml
import fs from 'fs-extra';
import minimatch from 'minimatch';
import path from 'path';
import { ANDROID_VENDORED_DIR, EXPO_DIR, IOS_VENDORED_DIR } from '../../Constants';
import { GitFileDiff } from '../../Git';
import logger from '../../Logger';
import { getListOfPackagesAsync, Package } from '../../Packages';
import { filterAsync } from '../../Utils';
import { ReviewInput, ReviewOutput, ReviewStatus } from '../types';
// glob patterns for paths where changes are negligible
const IGNORED_PATHS = ['**/expo/bundledNativeModules.json'];
export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> {
if (!pullRequest.head) {
logger.warn('Detached PR, we cannot asses the needed changelog entries!', pullRequest);
return null;
}
const allPackages = await getListOfPackagesAsync();
const modifiedPackages = allPackages.filter((pkg) => {
return diff.some((fileDiff) => {
return (
isPathWithin(fileDiff.path, pkg.path) &&
!IGNORED_PATHS.some((pattern) => minimatch(fileDiff.path, pattern))
);
});
});
const pkgsWithoutChangelogChanges = await filterAsync(modifiedPackages, async (pkg) => {
const pkgHasChangelog = await fs.pathExists(pkg.changelogPath);
return pkgHasChangelog && diff.every((fileDiff) => fileDiff.path !== pkg.changelogPath);
});
const globalChangelogHasChanges = diff.some(
(fileDiff) => path.relative(EXPO_DIR, fileDiff.path) === 'CHANGELOG.md'
);
const changelogLinks = pkgsWithoutChangelogChanges
.map((pkg) => `- ${relativeChangelogPath(pullRequest.head, pkg)}`)
.join('\n');
if (globalChangelogHasChanges && !isModifyingVendoredModules(diff)) {
return globalChangelogEntriesOutput(changelogLinks);
} else if (pkgsWithoutChangelogChanges.length > 0) {
return missingChangelogOutput(changelogLinks);
}
return null;
}
function isModifyingVendoredModules(diff: GitFileDiff[]): boolean {
return diff.some(
(fileDiff) =>
isPathWithin(fileDiff.path, IOS_VENDORED_DIR) ||
isPathWithin(fileDiff.path, ANDROID_VENDORED_DIR)
);
}
function isPathWithin(subpath: string, parent: string): boolean {
return !path.relative(parent, subpath).startsWith('..');
}
function relativeChangelogPath(head: ReviewInput['pullRequest']['head'], pkg: Package): string {
const relativePath = path.relative(EXPO_DIR, pkg.changelogPath);
return `[\`${relativePath}\`](${head.repo?.html_url}/blob/${head.ref}/${relativePath})`;
}
function missingChangelogOutput(changelogLinks: string): ReviewOutput {
return {
status: ReviewStatus.WARN,
title: 'Missing changelog entries',
body:
'Your changes should be noted in the changelog. ' +
'Read [Updating Changelogs](path_to_url ' +
`guide and consider adding an appropriate entry to the following changelogs: \n${changelogLinks}`,
};
}
function globalChangelogEntriesOutput(changelogLinks: string): ReviewOutput {
return {
status: ReviewStatus.ERROR,
title: 'Changelog entry in wrong CHANGELOG file',
body:
'Your changelog entries should be noted in package-specific changelogs. ' +
'Read [Updating Changelogs](path_to_url ' +
'guide and move changelog entries from the global **CHANGELOG.md** to ' +
(changelogLinks.length > 0
? `the following changelogs: \n${changelogLinks}`
: 'appropriate package-specific changelogs.'),
};
}
``` | /content/code_sandbox/tools/src/code-review/reviewers/checkMissingChangelogs.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 833 |
```xml
import http from 'node:http';
import type { AddressInfo } from 'node:net';
import { promisify } from 'node:util';
import { BrowserPool, PuppeteerPlugin, PlaywrightPlugin } from '@crawlee/browser-pool';
import playwright from 'playwright';
import type { Server as ProxyChainServer } from 'proxy-chain';
import puppeteer from 'puppeteer';
import { createProxyServer } from '../../../test/browser-pool/browser-plugins/create-proxy-server';
describe.each([
['Puppeteer', new PuppeteerPlugin(puppeteer, { useIncognitoPages: true })],
['Playwright', new PlaywrightPlugin(playwright.chromium, { useIncognitoPages: true })],
])('BrowserPool - %s - proxy sugar syntax', (_, plugin) => {
let target: http.Server;
let protectedProxy: ProxyChainServer;
beforeAll(async () => {
target = http.createServer((request, response) => {
response.end(request.socket.remoteAddress);
});
await promisify(target.listen.bind(target) as any)(0, '127.0.0.1');
protectedProxy = createProxyServer('127.0.0.2', 'foo', 'bar');
await protectedProxy.listen();
});
afterAll(async () => {
await promisify(target.close.bind(target))();
await protectedProxy.close(false);
});
test('should work', async () => {
const pool = new BrowserPool({
browserPlugins: [plugin],
});
const options = {
proxyUrl: `path_to_url{protectedProxy.port}`,
pageOptions: {
proxy: {
bypass: '<-loopback>',
},
proxyBypassList: ['<-loopback>'],
},
};
const page = await pool.newPage(options);
const response = await page.goto(`path_to_url{(target.address() as AddressInfo).port}`);
const content = await response!.text();
// Fails on Windows.
// See path_to_url
if (process.platform !== 'win32') {
expect(content).toBe('127.0.0.2');
}
await page.close();
await pool.destroy();
});
});
``` | /content/code_sandbox/packages/browser-pool/test/proxy-sugar.test.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 465 |
```xml
import { test, expect } from '@playwright/test'
test.describe('embeds example', () => {
const slateEditor = 'div[data-slate-editor="true"]'
test.beforeEach(async ({ page }) => {
await page.goto('path_to_url
})
test('contains embeded', async ({ page }) => {
await expect(page.locator(slateEditor).locator('iframe')).toHaveCount(1)
})
})
``` | /content/code_sandbox/playwright/integration/examples/embeds.test.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 94 |
```xml
/* eslint-disable react/jsx-key */
import React, { TableHTMLAttributes, ThHTMLAttributes, useMemo, useState } from 'react';
import cx from 'classnames';
import { useTable, Column, useRowSelect, useSortBy, HeaderGroup, UseSortByColumnProps, TableState, UseSortByState, useGlobalFilter, TableInstance, UseGlobalFiltersInstanceProps } from 'react-table';
import { isNumber, isString } from 'lodash';
import { DragDropContext, Droppable, Draggable, DragDropContextProps } from 'react-beautiful-dnd';
import { Input } from 'semantic-ui-react';
import DeleteCell from './Cells/DeleteCell';
import FavoriteCell from './Cells/FavoriteCell';
import PositionCell from './Cells/PositionCell';
import SelectionCell from './Cells/SelectionCell';
import ThumbnailCell from './Cells/ThumbnailCell';
import TitleCell from './Cells/TitleCell';
import TrackTableCell from './Cells/TrackTableCell';
import SelectionHeader from './Headers/SelectionHeader';
import ColumnHeader from './Headers/ColumnHeader';
import { getTrackThumbnail } from '../TrackRow';
import { TrackTableColumn, TrackTableExtraProps, TrackTableHeaders, TrackTableSettings, TrackTableStrings } from './types';
import styles from './styles.scss';
import artPlaceholder from '../../../resources/media/art_placeholder.png';
import { Track } from '../../types';
import { Button, formatDuration } from '../..';
export type TrackTableProps<T extends Track> = TrackTableExtraProps<T> &
TrackTableHeaders &
TrackTableSettings & {
className?: string;
tracks: T[];
isTrackFavorite: (track: T) => boolean;
onDragEnd?: DragDropContextProps['onDragEnd'];
strings: TrackTableStrings;
customColumns?: Column<T>[];
}
function TrackTable<T extends Track>({
className,
tracks,
customColumns = [],
isTrackFavorite,
onDragEnd,
positionHeader,
thumbnailHeader,
artistHeader,
titleHeader,
albumHeader,
durationHeader,
displayHeaders = true,
displayDeleteButton = true,
displayPosition = true,
displayThumbnail = true,
displayFavorite = true,
displayArtist = true,
displayAlbum = true,
displayDuration = true,
displayCustom = true,
selectable = true,
searchable = false,
...extraProps
}: TrackTableProps<T>) {
const shouldDisplayDuration = displayDuration && tracks.every(track => Boolean(track.duration));
const columns = useMemo(() => [
displayDeleteButton && {
id: TrackTableColumn.Delete,
Cell: DeleteCell
},
displayPosition && {
id: TrackTableColumn.Position,
Header: ({ column }) => <ColumnHeader column={column} header={positionHeader} data-testid='position-header' />,
accessor: 'position',
Cell: PositionCell,
enableSorting: true
},
displayThumbnail && {
id: TrackTableColumn.Thumbnail,
Header: () => <span className={styles.center_aligned}>{thumbnailHeader}</span>,
accessor: (track) => getTrackThumbnail(track) || artPlaceholder,
Cell: ThumbnailCell()
},
displayFavorite && {
id: TrackTableColumn.Favorite,
accessor: isTrackFavorite,
Cell: FavoriteCell
},
{
id: TrackTableColumn.Title,
Header: ({ column }) => <ColumnHeader column={column} header={titleHeader} />,
accessor: (track) => track.title ?? track.name,
Cell: TitleCell,
enableSorting: true
},
displayArtist && {
id: TrackTableColumn.Artist,
Header: ({ column }) => <ColumnHeader column={column} header={artistHeader} />,
accessor: (track) => isString(track.artist)
? track.artist
: track.artist.name,
Cell: TrackTableCell,
enableSorting: true
},
displayAlbum && {
id: TrackTableColumn.Album,
Header: albumHeader,
accessor: 'album',
Cell: TrackTableCell
},
shouldDisplayDuration && {
id: TrackTableColumn.Duration,
Header: durationHeader,
accessor: track => {
if (isString(track.duration)) {
return track.duration;
} else if (isNumber(track.duration)) {
return formatDuration(track.duration);
} else {
return null;
}
},
Cell: TrackTableCell
},
...customColumns,
selectable && {
id: TrackTableColumn.Selection,
Header: SelectionHeader,
Cell: SelectionCell
}
].filter(Boolean) as Column<T>[], [displayDeleteButton, displayPosition, displayThumbnail, displayFavorite, isTrackFavorite, titleHeader, displayArtist, artistHeader, displayAlbum, albumHeader, shouldDisplayDuration, durationHeader, selectable, positionHeader, thumbnailHeader]);
const data = useMemo(() => tracks, [tracks]);
const initialState: Partial<TableState<T> & UseSortByState<T>> = {
sortBy: [{ id: TrackTableColumn.Position, desc: false }]
};
const table = useTable<T>({ columns, data, initialState }, useGlobalFilter, useSortBy, useRowSelect) as (TableInstance<T> & UseGlobalFiltersInstanceProps<T>);
const [globalFilter, setGlobalFilterState] = useState(''); // Required, because useGlobalFilter does not provide a way to get the current filter value
const {
getTableProps,
getTableBodyProps,
headerGroups,
rows,
prepareRow,
setGlobalFilter
} = table;
const onFilterClick = () => {
setGlobalFilter('');
setGlobalFilterState('');
};
return <div className={styles.track_table_wrapper}>
{
searchable &&
<div className={styles.track_table_filter_row}>
<Input
data-testid='track-table-filter-input'
type='text'
placeholder={extraProps.strings.filterInputPlaceholder}
className={styles.track_table_filter_input}
onChange={(e) => {
setGlobalFilter(e.target.value);
setGlobalFilterState(e.target.value);
}}
value={globalFilter}
/>
<Button
className={styles.track_table_filter_button}
onClick={onFilterClick}
borderless
color={'blue'}
icon='filter'
/>
</div>
}
<table
{...getTableProps() as TableHTMLAttributes<HTMLTableElement>}
className={cx(className, styles.track_table)}
>
{
displayHeaders && <thead>
{
headerGroups.map(headerGroup => (
<tr {...headerGroup.getHeaderGroupProps() as TableHTMLAttributes<HTMLTableRowElement>}>
{
headerGroup.headers.map((column: (HeaderGroup<T> & UseSortByColumnProps<T>)) => (
<th {...column.getHeaderProps(column.getSortByToggleProps()) as ThHTMLAttributes<HTMLTableCellElement>}>
{column.render('Header', extraProps)}
</th>
)
)
}
</tr>
))
}
</thead>
}
<DragDropContext onDragEnd={onDragEnd}>
<Droppable droppableId='track_table'>
{(provided) => (
<tbody
data-testid='track-table-body'
ref={provided.innerRef}
{...getTableBodyProps() as TableHTMLAttributes<HTMLTableSectionElement>}
{...provided.droppableProps}
>
{
rows.map(row => {
prepareRow(row);
return (
<Draggable
key={`${row.values[TrackTableColumn.Title]} ${row.index}`}
draggableId={`${row.values[TrackTableColumn.Title]} ${row.index}`}
index={row.index}
isDragDisabled={!onDragEnd}
>
{(provided, snapshot) => (
<tr
data-testid='track-table-row'
ref={provided.innerRef}
className={cx({ [styles.is_dragging]: snapshot.isDragging })}
{...row.getRowProps() as TableHTMLAttributes<HTMLTableRowElement>}
{...provided.draggableProps}
{...provided.dragHandleProps}
>
{row.cells.map((cell, i) => (cell.render('Cell', { ...extraProps, key: i })))}
</tr>
)}
</Draggable>
);
})
}
{provided.placeholder}
</tbody>
)}
</Droppable>
</DragDropContext>
</table>
</div>;
}
export default TrackTable;
``` | /content/code_sandbox/packages/ui/lib/components/TrackTable/index.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 1,802 |
```xml
interface IPacking {
pack(): string;
}
export default IPacking;
``` | /content/code_sandbox/samples/react-designpatterns-typescript/Builder/src/webparts/builder/components/IPacking.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 16 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RollForward>Major</RollForward>
</PropertyGroup>
<ItemGroup>
<Compile Include="src/main.fs" />
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="../Fable.Core/Fable.Core.fsproj" /> -->
</ItemGroup>
</Project>
``` | /content/code_sandbox/src/quicktest-rust/Quicktest.Rust.fsproj | xml | 2016-01-11T10:10:13 | 2024-08-15T11:42:55 | Fable | fable-compiler/Fable | 2,874 | 104 |
```xml
import * as React from 'react';
import { Stack, Text } from '@fluentui/react';
import { PersonaTestImages } from '@fluentui/react-experiments/lib/common/TestImages';
import { mergeStyles } from '@fluentui/style-utilities';
import { Persona } from '@fluentui/react-experiments';
const tokens = {
sectionStack: {
childrenGap: 32,
},
headingStack: {
childrenGap: 16,
},
personaCoinStack: {
childrenGap: 12,
},
};
const verticalPersonaStackClassName = mergeStyles({ display: 'flex', flexDirection: 'row' });
const VerticalPersonaStack = (props: { children: JSX.Element[] }) => (
<div className={verticalPersonaStackClassName}>{props.children}</div>
);
export class VerticalPersonaExample extends React.Component<{}, {}> {
public render(): JSX.Element {
return (
<Stack tokens={tokens.sectionStack}>
<Stack tokens={tokens.headingStack} padding={8}>
<Stack tokens={tokens.personaCoinStack}>
<Text>Basic Usage</Text>
<VerticalPersonaStack>
<Persona vertical text="Sukhnam Chander" secondaryText="Principal Program manager" />
<Persona vertical text="Kevin Jameson" secondaryText="Professional traveller" />
<Persona vertical text="" secondaryText="Principal Program manager" />
<Persona
vertical
text="Hubert Blaine Wolfeschlegelsteinhausenbergerdorff Sr."
coin={{ imageUrl: PersonaTestImages.personMale }}
/>
<Persona
vertical
text="Christian Duncan Claude Sandra Alvin Matilde Eriksson"
secondaryText="Director of global strategy management for the entire worldwide organization"
coin={{ imageUrl: PersonaTestImages.personMale }}
/>
</VerticalPersonaStack>
</Stack>
<Stack tokens={tokens.personaCoinStack}>
<Text>When passing coinProps</Text>
<VerticalPersonaStack>
<Persona vertical text="Eline Page" secondaryText="eSports commentator" coin={{ presence: 4 }} />
<Persona vertical text="" coin={{ imageUrl: PersonaTestImages.personFemale }} />
<Persona vertical text="Kevin Jameson" coin={{ imageUrl: PersonaTestImages.personMale }} />
</VerticalPersonaStack>
</Stack>
<Stack tokens={tokens.personaCoinStack}>
<Text>Tokens!</Text>
<VerticalPersonaStack>
<Persona
vertical
text="Sukhnam Chander"
secondaryText="Principal Program manager"
tokens={{
verticalPersonaWidth: 200,
fontFamily: 'cursive',
horizontalTextPadding: 10,
primaryTextPaddingTop: '20px',
primaryTextFontSize: '22px',
primaryTextFontWeight: 800,
secondaryTextFontSize: '18px',
secondaryTextPaddingTop: '12px',
}}
/>
<Persona
vertical
text="Kevin Jameson"
secondaryText="Professional traveller"
tokens={{ fontFamily: 'monospace' }}
/>
<Persona
vertical
text=""
secondaryText="Principal Program manager"
tokens={{ primaryTextFontWeight: 100, secondaryTextFontSize: '20px' }}
/>
</VerticalPersonaStack>
</Stack>
</Stack>
</Stack>
);
}
}
``` | /content/code_sandbox/packages/react-examples/src/react-experiments/Persona/VerticalPersona.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 714 |
```xml
export const assertSystemRequirementsAsync = jest.fn(async () => {});
``` | /content/code_sandbox/packages/@expo/cli/src/start/platforms/ios/__mocks__/assertSystemRequirements.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 14 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest package="sample.github.nisrulz.custombroadcastpermissions"
xmlns:android="path_to_url">
<permission android:name="com.abc.permission.GET_DATA"/>
<uses-permission android:name="com.abc.permission.GET_DATA"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<receiver
android:name=".MyReceiver"
android:enabled="true"
android:exported="true"
>
<intent-filter>
<action android:name="com.abc.mydata"></action>
</intent-filter>
</receiver>
</application>
</manifest>
``` | /content/code_sandbox/CustomBroadcastPermissions/app/src/app1/AndroidManifest.xml | xml | 2016-02-25T11:06:48 | 2024-08-07T21:41:59 | android-examples | nisrulz/android-examples | 1,747 | 181 |
```xml
import { Nullable } from '../../../types';
/**
* Get the endianness
*/
export function getEndianness(): Nullable<string>;
export const ENDIANNESS: string;
/**
*
* @param {ArrayBuffer} buffer
* @param {Number} wordSize
*/
export function swapBytes(buffer: ArrayBuffer, wordSize: number): void;
``` | /content/code_sandbox/Sources/Common/Core/Endian/index.d.ts | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 72 |
```xml
import Trace from './Trace.js';
export default {
Trace
};
``` | /content/code_sandbox/src/lib/lib.ts | xml | 2016-06-10T12:58:57 | 2024-08-15T07:16:18 | lance | lance-gg/lance | 1,570 | 15 |
```xml
export type ConfirmationModalOptions = {
modal: "confirmation";
title: string;
message: string;
onCancel: () => void;
onContinue: () => void;
};
export type BlockPickerOptions = {
modal: "block-picker";
criteriaInstanceId: string;
paramName: string;
};
export type ImportChecklistOptions = {
modal: "import-checklist";
};
export type SignInOptions = {
modal: "sign-in";
};
export type ModalOptions = ImportChecklistOptions | ConfirmationModalOptions | BlockPickerOptions | SignInOptions;
``` | /content/code_sandbox/teachertool/src/types/modalOptions.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 118 |
```xml
import { describe, expect, it } from "vitest";
import { Formatter } from "@export/formatter";
import { Column, Columns } from ".";
describe("Columns", () => {
describe("#constructor()", () => {
it("should create columns of equal width if equalWidth is true", () => {
const columns = new Columns({ count: 3, space: 720 });
const tree = new Formatter().format(columns);
expect(tree["w:cols"]).to.deep.equal({ _attr: { "w:num": 3, "w:space": 720 } });
});
it("should create set space and count to undefined if they are undefined", () => {
const columns = new Columns({});
const tree = new Formatter().format(columns);
expect(tree["w:cols"]).to.deep.equal({ _attr: {} });
});
it("should ignore individual column attributes if equalWidth is true", () => {
const unequalColumns = [new Column({ width: 1000, space: 400 }), new Column({ width: 2000 })];
const columns = new Columns({ count: 3, space: 720, equalWidth: true, children: unequalColumns });
const tree = new Formatter().format(columns);
expect(tree).to.deep.equal({ "w:cols": { _attr: { "w:num": 3, "w:space": 720, "w:equalWidth": true } } });
});
it("should have column children if equalWidth is false and individual columns are provided", () => {
const unequalColumns = [new Column({ width: 1000, space: 400 }), new Column({ width: 2000 })];
const columns = new Columns({ count: 3, space: 720, equalWidth: false, children: unequalColumns });
const tree = new Formatter().format(columns);
expect(tree).to.deep.equal({
"w:cols": [
{ _attr: { "w:num": 3, "w:space": 720, "w:equalWidth": false } },
{ "w:col": { _attr: { "w:space": 400, "w:w": 1000 } } },
{ "w:col": { _attr: { "w:w": 2000 } } },
],
});
});
});
});
``` | /content/code_sandbox/src/file/document/body/section-properties/properties/columns.spec.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 505 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>17E199</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>USBInjectAll</string>
<key>CFBundleGetInfoString</key>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>USBInjectAll</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>0.6.5</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>0.6.5</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>9E145</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>15E60</string>
<key>DTSDKName</key>
<string>macosx10.11</string>
<key>DTXcode</key>
<string>0930</string>
<key>DTXcodeBuild</key>
<string>9E145</string>
<key>IOKitPersonalities</key>
<dict>
<key>ConfigurationData</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>Configuration</key>
<dict>
<key>8086_1e31</key>
<dict>
<key>port-count</key>
<data>
CAAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>SSP5</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>SSP6</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>SSP7</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>SSP8</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_8xxx</key>
<dict>
<key>port-count</key>
<data>
FQAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>HS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>HS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SSP1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
<key>SSP2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>SSP3</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>SSP4</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EwAAAA==
</data>
</dict>
<key>SSP5</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>SSP6</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FQAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_9cb1</key>
<dict>
<key>port-count</key>
<data>
DwAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>SSP1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>SSP2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>SSP3</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SSP4</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_9d2f</key>
<dict>
<key>port-count</key>
<data>
EgAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
<key>SS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>USR1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>USR2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_9xxx</key>
<dict>
<key>port-count</key>
<data>
DQAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>SSP1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>SSP2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>SSP3</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>SSP4</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_a12f</key>
<dict>
<key>port-count</key>
<data>
GgAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>HS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>HS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>SS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FQAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FgAAAA==
</data>
</dict>
<key>SS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FwAAAA==
</data>
</dict>
<key>SS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GAAAAA==
</data>
</dict>
<key>SS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GQAAAA==
</data>
</dict>
<key>SS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GgAAAA==
</data>
</dict>
<key>USR1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
<key>USR2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_a2af</key>
<dict>
<key>port-count</key>
<data>
GgAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>HS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>HS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>SS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FQAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FgAAAA==
</data>
</dict>
<key>SS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FwAAAA==
</data>
</dict>
<key>SS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GAAAAA==
</data>
</dict>
<key>SS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GQAAAA==
</data>
</dict>
<key>SS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GgAAAA==
</data>
</dict>
<key>USR1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
<key>USR2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
</dict>
</dict>
<key>8086_a36d</key>
<dict>
<key>port-count</key>
<data>
GgAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>HS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>HS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>SS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FQAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FgAAAA==
</data>
</dict>
<key>SS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FwAAAA==
</data>
</dict>
<key>SS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GAAAAA==
</data>
</dict>
<key>SS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GQAAAA==
</data>
</dict>
<key>SS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GgAAAA==
</data>
</dict>
<key>USR1</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
<key>USR2</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
</dict>
</dict>
<key>EH01</key>
<dict>
<key>port-count</key>
<data>
CAAAAA==
</data>
<key>ports</key>
<dict>
<key>PR11</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PR12</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>PR13</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>PR14</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>PR15</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>PR16</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>PR17</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>PR18</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
</dict>
</dict>
<key>EH02</key>
<dict>
<key>port-count</key>
<data>
BgAAAA==
</data>
<key>ports</key>
<dict>
<key>PR21</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PR22</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>PR23</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>PR24</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>PR25</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>PR26</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
</dict>
</dict>
<key>HUB1</key>
<dict>
<key>port-count</key>
<data>
CAAAAA==
</data>
<key>ports</key>
<dict>
<key>HP11</key>
<dict>
<key>port</key>
<data>
AQAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP12</key>
<dict>
<key>port</key>
<data>
AgAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP13</key>
<dict>
<key>port</key>
<data>
AwAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP14</key>
<dict>
<key>port</key>
<data>
BAAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP15</key>
<dict>
<key>port</key>
<data>
BQAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP16</key>
<dict>
<key>port</key>
<data>
BgAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP17</key>
<dict>
<key>port</key>
<data>
BwAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP18</key>
<dict>
<key>port</key>
<data>
CAAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
</dict>
</dict>
<key>HUB2</key>
<dict>
<key>port-count</key>
<data>
CAAAAA==
</data>
<key>ports</key>
<dict>
<key>HP21</key>
<dict>
<key>port</key>
<data>
AQAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP22</key>
<dict>
<key>port</key>
<data>
AgAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP23</key>
<dict>
<key>port</key>
<data>
AwAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP24</key>
<dict>
<key>port</key>
<data>
BAAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP25</key>
<dict>
<key>port</key>
<data>
BQAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP26</key>
<dict>
<key>port</key>
<data>
BgAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP27</key>
<dict>
<key>port</key>
<data>
BwAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
<key>HP28</key>
<dict>
<key>port</key>
<data>
CAAAAA==
</data>
<key>portType</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</dict>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll_config</string>
<key>IOMatchCategory</key>
<string>org_rehabman_USBInjectAll_config</string>
<key>IOProviderClass</key>
<string>IOResources</string>
</dict>
<key>MacBook10,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBook10,1</string>
</dict>
<key>MacBook10,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBook10,1</string>
</dict>
<key>MacBook10,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBook10,1</string>
</dict>
<key>MacBook10,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBook10,1</string>
</dict>
<key>MacBook10,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBook10,1</string>
</dict>
<key>MacBook10,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBook10,1</string>
</dict>
<key>MacBook8,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBook8,1</string>
</dict>
<key>MacBook8,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBook8,1</string>
</dict>
<key>MacBook8,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBook8,1</string>
</dict>
<key>MacBook8,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBook8,1</string>
</dict>
<key>MacBook8,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBook8,1</string>
</dict>
<key>MacBook8,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBook8,1</string>
</dict>
<key>MacBook9,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBook9,1</string>
</dict>
<key>MacBook9,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBook9,1</string>
</dict>
<key>MacBook9,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBook9,1</string>
</dict>
<key>MacBook9,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBook9,1</string>
</dict>
<key>MacBook9,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBook9,1</string>
</dict>
<key>MacBook9,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBook9,1</string>
</dict>
<key>MacBookAir4,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir4,1</string>
</dict>
<key>MacBookAir4,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir4,1</string>
</dict>
<key>MacBookAir4,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir4,1</string>
</dict>
<key>MacBookAir4,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir4,1</string>
</dict>
<key>MacBookAir4,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir4,1</string>
</dict>
<key>MacBookAir4,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir4,1</string>
</dict>
<key>MacBookAir4,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir4,2</string>
</dict>
<key>MacBookAir4,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir4,2</string>
</dict>
<key>MacBookAir4,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir4,2</string>
</dict>
<key>MacBookAir4,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir4,2</string>
</dict>
<key>MacBookAir4,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir4,2</string>
</dict>
<key>MacBookAir4,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir4,2</string>
</dict>
<key>MacBookAir5,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir5,1</string>
</dict>
<key>MacBookAir5,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir5,1</string>
</dict>
<key>MacBookAir5,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir5,1</string>
</dict>
<key>MacBookAir5,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir5,1</string>
</dict>
<key>MacBookAir5,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir5,1</string>
</dict>
<key>MacBookAir5,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir5,1</string>
</dict>
<key>MacBookAir5,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir5,2</string>
</dict>
<key>MacBookAir5,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir5,2</string>
</dict>
<key>MacBookAir5,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir5,2</string>
</dict>
<key>MacBookAir5,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir5,2</string>
</dict>
<key>MacBookAir5,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir5,2</string>
</dict>
<key>MacBookAir5,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir5,2</string>
</dict>
<key>MacBookAir6,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir6,1</string>
</dict>
<key>MacBookAir6,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir6,1</string>
</dict>
<key>MacBookAir6,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir6,1</string>
</dict>
<key>MacBookAir6,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir6,1</string>
</dict>
<key>MacBookAir6,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir6,1</string>
</dict>
<key>MacBookAir6,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir6,1</string>
</dict>
<key>MacBookAir6,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir6,2</string>
</dict>
<key>MacBookAir6,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir6,2</string>
</dict>
<key>MacBookAir6,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir6,2</string>
</dict>
<key>MacBookAir6,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir6,2</string>
</dict>
<key>MacBookAir6,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir6,2</string>
</dict>
<key>MacBookAir6,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir6,2</string>
</dict>
<key>MacBookAir7,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir7,1</string>
</dict>
<key>MacBookAir7,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir7,1</string>
</dict>
<key>MacBookAir7,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir7,1</string>
</dict>
<key>MacBookAir7,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir7,1</string>
</dict>
<key>MacBookAir7,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir7,1</string>
</dict>
<key>MacBookAir7,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir7,1</string>
</dict>
<key>MacBookAir7,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookAir7,2</string>
</dict>
<key>MacBookAir7,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookAir7,2</string>
</dict>
<key>MacBookAir7,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookAir7,2</string>
</dict>
<key>MacBookAir7,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookAir7,2</string>
</dict>
<key>MacBookAir7,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookAir7,2</string>
</dict>
<key>MacBookAir7,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookAir7,2</string>
</dict>
<key>MacBookPro10,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro10,1</string>
</dict>
<key>MacBookPro10,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro10,1</string>
</dict>
<key>MacBookPro10,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro10,1</string>
</dict>
<key>MacBookPro10,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro10,1</string>
</dict>
<key>MacBookPro10,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro10,1</string>
</dict>
<key>MacBookPro10,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro10,1</string>
</dict>
<key>MacBookPro11,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro11,1</string>
</dict>
<key>MacBookPro11,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro11,1</string>
</dict>
<key>MacBookPro11,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro11,1</string>
</dict>
<key>MacBookPro11,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro11,1</string>
</dict>
<key>MacBookPro11,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro11,1</string>
</dict>
<key>MacBookPro11,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro11,1</string>
</dict>
<key>MacBookPro11,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro11,2</string>
</dict>
<key>MacBookPro11,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro11,2</string>
</dict>
<key>MacBookPro11,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro11,2</string>
</dict>
<key>MacBookPro11,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro11,2</string>
</dict>
<key>MacBookPro11,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro11,2</string>
</dict>
<key>MacBookPro11,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro11,2</string>
</dict>
<key>MacBookPro11,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro11,3</string>
</dict>
<key>MacBookPro11,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro11,3</string>
</dict>
<key>MacBookPro11,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro11,3</string>
</dict>
<key>MacBookPro11,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro11,3</string>
</dict>
<key>MacBookPro11,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro11,3</string>
</dict>
<key>MacBookPro11,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro11,3</string>
</dict>
<key>MacBookPro11,4-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro11,4</string>
</dict>
<key>MacBookPro11,4-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro11,4</string>
</dict>
<key>MacBookPro11,4-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro11,4</string>
</dict>
<key>MacBookPro11,4-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro11,4</string>
</dict>
<key>MacBookPro11,4-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro11,4</string>
</dict>
<key>MacBookPro11,4-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro11,4</string>
</dict>
<key>MacBookPro11,5-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro11,5</string>
</dict>
<key>MacBookPro11,5-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro11,5</string>
</dict>
<key>MacBookPro11,5-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro11,5</string>
</dict>
<key>MacBookPro11,5-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro11,5</string>
</dict>
<key>MacBookPro11,5-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro11,5</string>
</dict>
<key>MacBookPro11,5-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro11,5</string>
</dict>
<key>MacBookPro12,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro12,1</string>
</dict>
<key>MacBookPro12,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro12,1</string>
</dict>
<key>MacBookPro12,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro12,1</string>
</dict>
<key>MacBookPro12,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro12,1</string>
</dict>
<key>MacBookPro12,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro12,1</string>
</dict>
<key>MacBookPro12,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro12,1</string>
</dict>
<key>MacBookPro12,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro12,2</string>
</dict>
<key>MacBookPro12,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro12,2</string>
</dict>
<key>MacBookPro12,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro12,2</string>
</dict>
<key>MacBookPro12,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro12,2</string>
</dict>
<key>MacBookPro12,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro12,2</string>
</dict>
<key>MacBookPro12,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro12,2</string>
</dict>
<key>MacBookPro13,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro13,1</string>
</dict>
<key>MacBookPro13,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro13,1</string>
</dict>
<key>MacBookPro13,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro13,1</string>
</dict>
<key>MacBookPro13,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro13,1</string>
</dict>
<key>MacBookPro13,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro13,1</string>
</dict>
<key>MacBookPro13,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro13,1</string>
</dict>
<key>MacBookPro13,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro13,2</string>
</dict>
<key>MacBookPro13,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro13,2</string>
</dict>
<key>MacBookPro13,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro13,2</string>
</dict>
<key>MacBookPro13,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro13,2</string>
</dict>
<key>MacBookPro13,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro13,2</string>
</dict>
<key>MacBookPro13,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro13,2</string>
</dict>
<key>MacBookPro13,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro13,3</string>
</dict>
<key>MacBookPro13,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro13,3</string>
</dict>
<key>MacBookPro13,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro13,3</string>
</dict>
<key>MacBookPro13,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro13,3</string>
</dict>
<key>MacBookPro13,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro13,3</string>
</dict>
<key>MacBookPro13,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro13,3</string>
</dict>
<key>MacBookPro14,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro14,1</string>
</dict>
<key>MacBookPro14,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro14,1</string>
</dict>
<key>MacBookPro14,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro14,1</string>
</dict>
<key>MacBookPro14,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro14,1</string>
</dict>
<key>MacBookPro14,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro14,1</string>
</dict>
<key>MacBookPro14,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro14,1</string>
</dict>
<key>MacBookPro14,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro14,2</string>
</dict>
<key>MacBookPro14,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro14,2</string>
</dict>
<key>MacBookPro14,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro14,2</string>
</dict>
<key>MacBookPro14,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro14,2</string>
</dict>
<key>MacBookPro14,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro14,2</string>
</dict>
<key>MacBookPro14,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro14,2</string>
</dict>
<key>MacBookPro14,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro14,3</string>
</dict>
<key>MacBookPro14,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro14,3</string>
</dict>
<key>MacBookPro14,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro14,3</string>
</dict>
<key>MacBookPro14,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro14,3</string>
</dict>
<key>MacBookPro14,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro14,3</string>
</dict>
<key>MacBookPro14,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro14,3</string>
</dict>
<key>MacBookPro6,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro6,1</string>
</dict>
<key>MacBookPro6,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro6,1</string>
</dict>
<key>MacBookPro6,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro6,1</string>
</dict>
<key>MacBookPro6,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro6,1</string>
</dict>
<key>MacBookPro6,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro6,1</string>
</dict>
<key>MacBookPro6,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro6,1</string>
</dict>
<key>MacBookPro6,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro6,2</string>
</dict>
<key>MacBookPro6,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro6,2</string>
</dict>
<key>MacBookPro6,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro6,2</string>
</dict>
<key>MacBookPro6,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro6,2</string>
</dict>
<key>MacBookPro6,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro6,2</string>
</dict>
<key>MacBookPro6,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro6,2</string>
</dict>
<key>MacBookPro7,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro7,1</string>
</dict>
<key>MacBookPro7,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro7,1</string>
</dict>
<key>MacBookPro7,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro7,1</string>
</dict>
<key>MacBookPro7,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro7,1</string>
</dict>
<key>MacBookPro7,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro7,1</string>
</dict>
<key>MacBookPro7,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro7,1</string>
</dict>
<key>MacBookPro8,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro8,1</string>
</dict>
<key>MacBookPro8,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro8,1</string>
</dict>
<key>MacBookPro8,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro8,1</string>
</dict>
<key>MacBookPro8,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro8,1</string>
</dict>
<key>MacBookPro8,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro8,1</string>
</dict>
<key>MacBookPro8,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro8,1</string>
</dict>
<key>MacBookPro8,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro8,2</string>
</dict>
<key>MacBookPro8,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro8,2</string>
</dict>
<key>MacBookPro8,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro8,2</string>
</dict>
<key>MacBookPro8,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro8,2</string>
</dict>
<key>MacBookPro8,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro8,2</string>
</dict>
<key>MacBookPro8,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro8,2</string>
</dict>
<key>MacBookPro8,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro8,3</string>
</dict>
<key>MacBookPro8,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro8,3</string>
</dict>
<key>MacBookPro8,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro8,3</string>
</dict>
<key>MacBookPro8,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro8,3</string>
</dict>
<key>MacBookPro8,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro8,3</string>
</dict>
<key>MacBookPro8,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro8,3</string>
</dict>
<key>MacBookPro9,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro9,1</string>
</dict>
<key>MacBookPro9,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro9,1</string>
</dict>
<key>MacBookPro9,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro9,1</string>
</dict>
<key>MacBookPro9,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro9,1</string>
</dict>
<key>MacBookPro9,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro9,1</string>
</dict>
<key>MacBookPro9,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro9,1</string>
</dict>
<key>MacBookPro9,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookPro9,2</string>
</dict>
<key>MacBookPro9,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookPro9,2</string>
</dict>
<key>MacBookPro9,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookPro9,2</string>
</dict>
<key>MacBookPro9,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookPro9,2</string>
</dict>
<key>MacBookPro9,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookPro9,2</string>
</dict>
<key>MacBookPro9,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookPro9,2</string>
</dict>
<key>MacBookpro10,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacBookpro10,2</string>
</dict>
<key>MacBookpro10,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacBookpro10,2</string>
</dict>
<key>MacBookpro10,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacBookpro10,2</string>
</dict>
<key>MacBookpro10,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacBookpro10,2</string>
</dict>
<key>MacBookpro10,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacBookpro10,2</string>
</dict>
<key>MacBookpro10,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacBookpro10,2</string>
</dict>
<key>MacPro3,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacPro3,1</string>
</dict>
<key>MacPro3,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacPro3,1</string>
</dict>
<key>MacPro3,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacPro3,1</string>
</dict>
<key>MacPro3,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacPro3,1</string>
</dict>
<key>MacPro3,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacPro3,1</string>
</dict>
<key>MacPro3,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacPro3,1</string>
</dict>
<key>MacPro4,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacPro4,1</string>
</dict>
<key>MacPro4,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacPro4,1</string>
</dict>
<key>MacPro4,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacPro4,1</string>
</dict>
<key>MacPro4,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacPro4,1</string>
</dict>
<key>MacPro4,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacPro4,1</string>
</dict>
<key>MacPro4,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacPro4,1</string>
</dict>
<key>MacPro5,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacPro5,1</string>
</dict>
<key>MacPro5,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacPro5,1</string>
</dict>
<key>MacPro5,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacPro5,1</string>
</dict>
<key>MacPro5,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacPro5,1</string>
</dict>
<key>MacPro5,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacPro5,1</string>
</dict>
<key>MacPro5,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacPro5,1</string>
</dict>
<key>MacPro6,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>MacPro6,1</string>
</dict>
<key>MacPro6,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>MacPro6,1</string>
</dict>
<key>MacPro6,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>MacPro6,1</string>
</dict>
<key>MacPro6,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>MacPro6,1</string>
</dict>
<key>MacPro6,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>MacPro6,1</string>
</dict>
<key>MacPro6,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>MacPro6,1</string>
</dict>
<key>Macmini5,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>Macmini5,1</string>
</dict>
<key>Macmini5,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>Macmini5,1</string>
</dict>
<key>Macmini5,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>Macmini5,1</string>
</dict>
<key>Macmini5,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>Macmini5,1</string>
</dict>
<key>Macmini5,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>Macmini5,1</string>
</dict>
<key>Macmini5,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>Macmini5,1</string>
</dict>
<key>Macmini5,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>Macmini5,2</string>
</dict>
<key>Macmini5,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>Macmini5,2</string>
</dict>
<key>Macmini5,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>Macmini5,2</string>
</dict>
<key>Macmini5,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>Macmini5,2</string>
</dict>
<key>Macmini5,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>Macmini5,2</string>
</dict>
<key>Macmini5,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>Macmini5,2</string>
</dict>
<key>Macmini5,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>Macmini5,3</string>
</dict>
<key>Macmini5,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>Macmini5,3</string>
</dict>
<key>Macmini5,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>Macmini5,3</string>
</dict>
<key>Macmini5,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>Macmini5,3</string>
</dict>
<key>Macmini5,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>Macmini5,3</string>
</dict>
<key>Macmini5,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>Macmini5,3</string>
</dict>
<key>Macmini6,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>Macmini6,1</string>
</dict>
<key>Macmini6,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>Macmini6,1</string>
</dict>
<key>Macmini6,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>Macmini6,1</string>
</dict>
<key>Macmini6,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>Macmini6,1</string>
</dict>
<key>Macmini6,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>Macmini6,1</string>
</dict>
<key>Macmini6,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>Macmini6,1</string>
</dict>
<key>Macmini6,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>Macmini6,2</string>
</dict>
<key>Macmini6,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>Macmini6,2</string>
</dict>
<key>Macmini6,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>Macmini6,2</string>
</dict>
<key>Macmini6,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>Macmini6,2</string>
</dict>
<key>Macmini6,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>Macmini6,2</string>
</dict>
<key>Macmini6,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>Macmini6,2</string>
</dict>
<key>Macmini7,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>Macmini7,1</string>
</dict>
<key>Macmini7,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>Macmini7,1</string>
</dict>
<key>Macmini7,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>Macmini7,1</string>
</dict>
<key>Macmini7,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>Macmini7,1</string>
</dict>
<key>Macmini7,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>Macmini7,1</string>
</dict>
<key>Macmini7,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>Macmini7,1</string>
</dict>
<key>iMac10,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac10,1</string>
</dict>
<key>iMac10,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac10,1</string>
</dict>
<key>iMac10,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac10,1</string>
</dict>
<key>iMac10,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac10,1</string>
</dict>
<key>iMac10,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac10,1</string>
</dict>
<key>iMac10,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac10,1</string>
</dict>
<key>iMac11,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac11,1</string>
</dict>
<key>iMac11,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac11,1</string>
</dict>
<key>iMac11,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac11,1</string>
</dict>
<key>iMac11,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac11,1</string>
</dict>
<key>iMac11,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac11,1</string>
</dict>
<key>iMac11,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac11,1</string>
</dict>
<key>iMac11,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac11,2</string>
</dict>
<key>iMac11,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac11,2</string>
</dict>
<key>iMac11,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac11,2</string>
</dict>
<key>iMac11,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac11,2</string>
</dict>
<key>iMac11,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac11,2</string>
</dict>
<key>iMac11,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac11,2</string>
</dict>
<key>iMac11,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac11,3</string>
</dict>
<key>iMac11,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac11,3</string>
</dict>
<key>iMac11,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac11,3</string>
</dict>
<key>iMac11,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac11,3</string>
</dict>
<key>iMac11,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac11,3</string>
</dict>
<key>iMac11,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac11,3</string>
</dict>
<key>iMac12,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac12,1</string>
</dict>
<key>iMac12,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac12,1</string>
</dict>
<key>iMac12,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac12,1</string>
</dict>
<key>iMac12,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac12,1</string>
</dict>
<key>iMac12,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac12,1</string>
</dict>
<key>iMac12,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac12,1</string>
</dict>
<key>iMac12,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac12,2</string>
</dict>
<key>iMac12,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac12,2</string>
</dict>
<key>iMac12,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac12,2</string>
</dict>
<key>iMac12,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac12,2</string>
</dict>
<key>iMac12,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac12,2</string>
</dict>
<key>iMac12,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac12,2</string>
</dict>
<key>iMac13,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac13,1</string>
</dict>
<key>iMac13,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac13,1</string>
</dict>
<key>iMac13,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac13,1</string>
</dict>
<key>iMac13,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac13,1</string>
</dict>
<key>iMac13,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac13,1</string>
</dict>
<key>iMac13,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac13,1</string>
</dict>
<key>iMac13,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac13,2</string>
</dict>
<key>iMac13,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac13,2</string>
</dict>
<key>iMac13,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac13,2</string>
</dict>
<key>iMac13,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac13,2</string>
</dict>
<key>iMac13,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac13,2</string>
</dict>
<key>iMac13,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac13,2</string>
</dict>
<key>iMac14,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac14,1</string>
</dict>
<key>iMac14,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac14,1</string>
</dict>
<key>iMac14,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac14,1</string>
</dict>
<key>iMac14,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac14,1</string>
</dict>
<key>iMac14,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac14,1</string>
</dict>
<key>iMac14,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac14,1</string>
</dict>
<key>iMac14,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac14,2</string>
</dict>
<key>iMac14,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac14,2</string>
</dict>
<key>iMac14,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac14,2</string>
</dict>
<key>iMac14,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac14,2</string>
</dict>
<key>iMac14,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac14,2</string>
</dict>
<key>iMac14,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac14,2</string>
</dict>
<key>iMac14,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac14,3</string>
</dict>
<key>iMac14,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac14,3</string>
</dict>
<key>iMac14,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac14,3</string>
</dict>
<key>iMac14,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac14,3</string>
</dict>
<key>iMac14,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac14,3</string>
</dict>
<key>iMac14,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac14,3</string>
</dict>
<key>iMac15,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac15,1</string>
</dict>
<key>iMac15,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac15,1</string>
</dict>
<key>iMac15,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac15,1</string>
</dict>
<key>iMac15,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac15,1</string>
</dict>
<key>iMac15,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac15,1</string>
</dict>
<key>iMac15,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac15,1</string>
</dict>
<key>iMac16,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac16,1</string>
</dict>
<key>iMac16,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac16,1</string>
</dict>
<key>iMac16,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac16,1</string>
</dict>
<key>iMac16,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac16,1</string>
</dict>
<key>iMac16,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac16,1</string>
</dict>
<key>iMac16,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac16,1</string>
</dict>
<key>iMac16,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac16,2</string>
</dict>
<key>iMac16,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac16,2</string>
</dict>
<key>iMac16,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac16,2</string>
</dict>
<key>iMac16,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac16,2</string>
</dict>
<key>iMac16,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac16,2</string>
</dict>
<key>iMac16,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac16,2</string>
</dict>
<key>iMac17,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac17,1</string>
</dict>
<key>iMac17,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac17,1</string>
</dict>
<key>iMac17,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac17,1</string>
</dict>
<key>iMac17,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac17,1</string>
</dict>
<key>iMac17,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac17,1</string>
</dict>
<key>iMac17,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac17,1</string>
</dict>
<key>iMac18,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac18,1</string>
</dict>
<key>iMac18,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac18,1</string>
</dict>
<key>iMac18,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac18,1</string>
</dict>
<key>iMac18,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac18,1</string>
</dict>
<key>iMac18,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac18,1</string>
</dict>
<key>iMac18,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac18,1</string>
</dict>
<key>iMac18,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac18,2</string>
</dict>
<key>iMac18,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac18,2</string>
</dict>
<key>iMac18,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac18,2</string>
</dict>
<key>iMac18,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac18,2</string>
</dict>
<key>iMac18,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac18,2</string>
</dict>
<key>iMac18,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac18,2</string>
</dict>
<key>iMac18,3-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac18,3</string>
</dict>
<key>iMac18,3-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac18,3</string>
</dict>
<key>iMac18,3-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac18,3</string>
</dict>
<key>iMac18,3-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac18,3</string>
</dict>
<key>iMac18,3-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac18,3</string>
</dict>
<key>iMac18,3-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac18,3</string>
</dict>
<key>iMac19,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac19,1</string>
</dict>
<key>iMac19,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac19,1</string>
</dict>
<key>iMac19,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac19,1</string>
</dict>
<key>iMac19,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac19,1</string>
</dict>
<key>iMac19,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac19,1</string>
</dict>
<key>iMac19,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac19,1</string>
</dict>
<key>iMac4,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac4,1</string>
</dict>
<key>iMac4,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac4,1</string>
</dict>
<key>iMac4,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac4,1</string>
</dict>
<key>iMac4,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac4,1</string>
</dict>
<key>iMac4,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac4,1</string>
</dict>
<key>iMac4,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac4,1</string>
</dict>
<key>iMac4,2-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac4,2</string>
</dict>
<key>iMac4,2-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac4,2</string>
</dict>
<key>iMac4,2-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac4,2</string>
</dict>
<key>iMac4,2-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac4,2</string>
</dict>
<key>iMac4,2-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac4,2</string>
</dict>
<key>iMac4,2-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac4,2</string>
</dict>
<key>iMac5,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac5,1</string>
</dict>
<key>iMac5,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac5,1</string>
</dict>
<key>iMac5,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac5,1</string>
</dict>
<key>iMac5,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac5,1</string>
</dict>
<key>iMac5,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac5,1</string>
</dict>
<key>iMac5,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac5,1</string>
</dict>
<key>iMac6,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac6,1</string>
</dict>
<key>iMac6,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac6,1</string>
</dict>
<key>iMac6,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac6,1</string>
</dict>
<key>iMac6,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac6,1</string>
</dict>
<key>iMac6,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac6,1</string>
</dict>
<key>iMac6,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac6,1</string>
</dict>
<key>iMac7,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac7,1</string>
</dict>
<key>iMac7,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac7,1</string>
</dict>
<key>iMac7,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac7,1</string>
</dict>
<key>iMac7,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac7,1</string>
</dict>
<key>iMac7,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac7,1</string>
</dict>
<key>iMac7,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac7,1</string>
</dict>
<key>iMac8,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac8,1</string>
</dict>
<key>iMac8,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac8,1</string>
</dict>
<key>iMac8,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac8,1</string>
</dict>
<key>iMac8,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac8,1</string>
</dict>
<key>iMac8,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac8,1</string>
</dict>
<key>iMac8,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac8,1</string>
</dict>
<key>iMac9,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMac9,1</string>
</dict>
<key>iMac9,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMac9,1</string>
</dict>
<key>iMac9,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMac9,1</string>
</dict>
<key>iMac9,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMac9,1</string>
</dict>
<key>iMac9,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMac9,1</string>
</dict>
<key>iMac9,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMac9,1</string>
</dict>
<key>iMacPro1,1-AppeBusPowerControllerUSB</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProviderClass</key>
<string>AppleBusPowerControllerUSB</string>
<key>kConfigurationName</key>
<string>AppleBusPowerControllerUSB</string>
<key>model</key>
<string>iMacPro1,1</string>
</dict>
<key>iMacPro1,1-EH01</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH01</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH01</string>
<key>model</key>
<string>iMacPro1,1</string>
</dict>
<key>iMacPro1,1-EH01-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB1</string>
<key>locationID</key>
<integer>487587840</integer>
<key>model</key>
<string>iMacPro1,1</string>
</dict>
<key>iMacPro1,1-EH02</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>EH02</string>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>kConfigurationName</key>
<string>EH02</string>
<key>model</key>
<string>iMacPro1,1</string>
</dict>
<key>iMacPro1,1-EH02-internal-hub</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSB20InternalHub</string>
<key>kConfigurationName</key>
<string>HUB2</string>
<key>locationID</key>
<integer>437256192</integer>
<key>model</key>
<string>iMacPro1,1</string>
</dict>
<key>iMacPro1,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.rehabman.driver.USBInjectAll</string>
<key>IOClass</key>
<string>org_rehabman_USBInjectAll</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>kConfigurationName</key>
<string>XHC</string>
<key>kIsXHC</key>
<true/>
<key>model</key>
<string>iMacPro1,1</string>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOACPIFamily</key>
<string>1.0d1</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.iokit</key>
<string>9.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>9.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
<key>Source Code</key>
<string>path_to_url
</dict>
</plist>
``` | /content/code_sandbox/Clover-Configs/Asus/FL5900/CLOVER/kexts/Other/USBInjectAll.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 85,065 |
```xml
import {ParamTypes} from "../domain/ParamTypes.js";
import {Context} from "./context.js";
import {JsonParameterStore} from "@tsed/schema";
describe("@Context ", () => {
it("should call ParamFilter.useParam method with the correct parameters", () => {
class Ctrl {
test(@Context("expression") test: any) {}
}
const param = JsonParameterStore.get(Ctrl, "test", 0);
expect(param.expression).toEqual("expression");
expect(param.paramType).toEqual(ParamTypes.$CTX);
});
});
``` | /content/code_sandbox/packages/platform/platform-params/src/decorators/context.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 120 |
```xml
<resources>
<declare-styleable name="ButtonBarContainerTheme">
<attr name="metaButtonBarStyle" format="reference" />
<attr name="metaButtonBarButtonStyle" format="reference" />
</declare-styleable>
</resources>
``` | /content/code_sandbox/paper-onboarding-simple-example/src/main/res/values/attrs.xml | xml | 2016-04-25T09:31:20 | 2024-08-07T21:44:08 | paper-onboarding-android | Ramotion/paper-onboarding-android | 2,559 | 55 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'app-actions',
templateUrl: './actions.component.html',
styleUrls: ['./actions.component.scss']
})
export class ActionsComponent {
actionMapping = `
import { TREE_ACTIONS, KEYS, IActionMapping } from 'angular-tree-component';
const actionMapping: IActionMapping = {
mouse: {
click: TREE_ACTIONS.TOGGLE_SELECTED_MULTI
},
keys: {
[KEYS.ENTER]: (tree, node, $event) => alert(\`This is \${node.data.name\}\`)
}
}
`;
mouseActions = `
import { TREE_ACTIONS, IActionMapping } from 'angular-tree-component';
actionMapping: IActionMapping = {
mouse: {
dblClick: (tree, node, $event) => // Open a modal with node content,
click: TREE_ACTIONS.TOGGLE_SELECTED_MULTI,
}
}
`;
keys = `
KEYS = {
LEFT: 37,
UP: 38,
RIGHT: 39,
DOWN: 40,
ENTER: 13,
SPACE: 32
}
`;
keysExample = `
import { TREE_ACTIONS, KEYS, IActionMapping } from 'angular-tree-component';
actionMapping:IActionMapping = {
keys: {
127: (tree, node, $event) => // do something to delete the node,
[KEYS.ENTER]: TREE_ACTIONS.EXPAND
}
}
`;
defaultMapping = `
const defaultActionMapping: IActionMapping = {
mouse: {
click: TREE_ACTIONS.TOGGLE_ACTIVE,
dblClick: null,
contextMenu: null,
expanderClick: TREE_ACTIONS.TOGGLE_EXPANDED,
checkboxClick: TREE_ACTIONS.TOGGLE_SELECTED,
drop: TREE_ACTIONS.MOVE_NODE
},
keys: {
[KEYS.RIGHT]: TREE_ACTIONS.DRILL_DOWN,
[KEYS.LEFT]: TREE_ACTIONS.DRILL_UP,
[KEYS.DOWN]: TREE_ACTIONS.NEXT_NODE,
[KEYS.UP]: TREE_ACTIONS.PREVIOUS_NODE,
[KEYS.SPACE]: TREE_ACTIONS.TOGGLE_ACTIVE,
[KEYS.ENTER]: TREE_ACTIONS.TOGGLE_ACTIVE
}
};
`;
}
``` | /content/code_sandbox/projects/docs-app/src/app/fundamentals/actions/actions.component.ts | xml | 2016-03-10T21:29:15 | 2024-08-15T07:07:30 | angular-tree-component | CirclonGroup/angular-tree-component | 1,093 | 474 |
```xml
import { nextTestSetup } from 'e2e-utils'
describe('app dir - hooks', () => {
const { next, isNextDeploy } = nextTestSetup({
files: __dirname,
})
describe('from pages', () => {
it.each([
{ pathname: '/adapter-hooks/static' },
{ pathname: '/adapter-hooks/1' },
{ pathname: '/adapter-hooks/2' },
{ pathname: '/adapter-hooks/1/account' },
{ pathname: '/adapter-hooks/static', keyValue: 'value' },
{ pathname: '/adapter-hooks/1', keyValue: 'value' },
{ pathname: '/adapter-hooks/2', keyValue: 'value' },
{ pathname: '/adapter-hooks/1/account', keyValue: 'value' },
])(
'should have the correct hooks at $pathname',
async ({ pathname, keyValue = '' }) => {
const browser = await next.browser(
pathname + (keyValue ? `?key=${keyValue}` : '')
)
try {
await browser.waitForElementByCss('#router-ready')
expect(await browser.elementById('key-value').text()).toBe(keyValue)
expect(await browser.elementById('pathname').text()).toBe(pathname)
await browser.elementByCss('button').click()
await browser.waitForElementByCss('#pushed')
} finally {
await browser.close()
}
}
)
})
describe('usePathname', () => {
it('should have the correct pathname', async () => {
const $ = await next.render$('/hooks/use-pathname')
expect($('#pathname').attr('data-pathname')).toBe('/hooks/use-pathname')
})
it('should have the canonical url pathname on rewrite', async () => {
const $ = await next.render$('/rewritten-use-pathname')
expect($('#pathname').attr('data-pathname')).toBe(
'/rewritten-use-pathname'
)
})
})
describe('useSearchParams', () => {
it('should have the correct search params', async () => {
const $ = await next.render$(
'/hooks/use-search-params?first=value&second=other%20value&third'
)
expect($('#params-first').text()).toBe('value')
expect($('#params-second').text()).toBe('other value')
expect($('#params-third').text()).toBe('')
expect($('#params-not-real').text()).toBe('N/A')
})
// TODO-APP: correct this behavior when deployed
if (!isNextDeploy) {
it('should have the canonical url search params on rewrite', async () => {
const $ = await next.render$(
'/rewritten-use-search-params?first=a&second=b&third=c'
)
expect($('#params-first').text()).toBe('a')
expect($('#params-second').text()).toBe('b')
expect($('#params-third').text()).toBe('c')
expect($('#params-not-real').text()).toBe('N/A')
})
}
})
describe('useDraftMode', () => {
let initialRand = 'unintialized'
it('should use initial rand when draft mode be disabled', async () => {
const $ = await next.render$('/hooks/use-draft-mode')
expect($('#draft-mode-val').text()).toBe('DISABLED')
expect($('#rand').text()).toBeDefined()
initialRand = $('#rand').text()
})
it('should generate rand when draft mode enabled', async () => {
const res = await next.fetch('/enable')
const h = res.headers.get('set-cookie') || ''
const cookie = h
.split(';')
.find((c) => c.startsWith('__prerender_bypass'))
const $ = await next.render$(
'/hooks/use-draft-mode',
{},
{
headers: {
Cookie: cookie,
},
}
)
expect($('#draft-mode-val').text()).toBe('ENABLED')
expect($('#rand').text()).not.toBe(initialRand)
})
})
describe('useRouter', () => {
it('should allow access to the router', async () => {
const browser = await next.browser('/hooks/use-router')
try {
// Wait for the page to load, click the button (which uses a method
// on the router) and then wait for the correct page to load.
await browser.waitForElementByCss('#router')
await browser.elementById('button-push').click()
await browser.waitForElementByCss('#router-sub-page')
// Go back (confirming we did do a hard push), and wait for the
// correct previous page.
await browser.back()
await browser.waitForElementByCss('#router')
} finally {
await browser.close()
}
})
})
describe('useSelectedLayoutSegments', () => {
it.each`
path | outerLayout | innerLayout
${'/hooks/use-selected-layout-segment/first'} | ${['first']} | ${[]}
${'/hooks/use-selected-layout-segment/first/slug1'} | ${['first', 'slug1']} | ${['slug1']}
${'/hooks/use-selected-layout-segment/first/slug2/second'} | ${['first', 'slug2', '(group)', 'second']} | ${['slug2', '(group)', 'second']}
${'/hooks/use-selected-layout-segment/first/slug2/second/a/b'} | ${['first', 'slug2', '(group)', 'second', 'a/b']} | ${['slug2', '(group)', 'second', 'a/b']}
${'/hooks/use-selected-layout-segment/rewritten'} | ${['first', 'slug3', '(group)', 'second', 'catch/all']} | ${['slug3', '(group)', 'second', 'catch/all']}
${'/hooks/use-selected-layout-segment/rewritten-middleware'} | ${['first', 'slug3', '(group)', 'second', 'catch/all']} | ${['slug3', '(group)', 'second', 'catch/all']}
`(
'should have the correct layout segments at $path',
async ({ path, outerLayout, innerLayout }) => {
const $ = await next.render$(path)
expect(JSON.parse($('#outer-layout').text())).toEqual(outerLayout)
expect(JSON.parse($('#inner-layout').text())).toEqual(innerLayout)
}
)
it('should return an empty array in pages', async () => {
const $ = await next.render$(
'/hooks/use-selected-layout-segment/first/slug2/second/a/b'
)
expect(JSON.parse($('#page-layout-segments').text())).toEqual([])
})
})
describe('useSelectedLayoutSegment', () => {
it.each`
path | outerLayout | innerLayout
${'/hooks/use-selected-layout-segment/first'} | ${'first'} | ${null}
${'/hooks/use-selected-layout-segment/first/slug1'} | ${'first'} | ${'slug1'}
${'/hooks/use-selected-layout-segment/first/slug2/second/a/b'} | ${'first'} | ${'slug2'}
`(
'should have the correct layout segment at $path',
async ({ path, outerLayout, innerLayout }) => {
const $ = await next.render$(path)
expect(JSON.parse($('#outer-layout-segment').text())).toEqual(
outerLayout
)
expect(JSON.parse($('#inner-layout-segment').text())).toEqual(
innerLayout
)
}
)
it('should return null in pages', async () => {
const $ = await next.render$(
'/hooks/use-selected-layout-segment/first/slug2/second/a/b'
)
expect(JSON.parse($('#page-layout-segment').text())).toEqual(null)
})
})
})
``` | /content/code_sandbox/test/e2e/app-dir/hooks/hooks.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 1,687 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Restricts a double-precision floating-point number to a specified range.
*
* @param v - input value
* @param min - minimum value
* @param max - maximum value
* @returns value restricted to a specified range
*
* @example
* var v = clamp( 3.14, 0.0, 5.0 );
* // returns 3.14
*
* v = clamp( -3.14, 0.0, 5.0 );
* // returns 0.0
*
* v = clamp( 10.0, 0.0, 5.0 );
* // returns 5.0
*
* v = clamp( -0.0, 0.0, 5.0 );
* // returns 0.0
*
* v = clamp( 0.0, -0.0, 5.0 );
* // returns 0.0
*
* v = clamp( NaN, 0.0, 5.0 );
* // returns NaN
*
* v = clamp( 0.0, NaN, 5.0 );
* // returns NaN
*
* v = clamp( 3.14, 0.0, NaN );
* // returns NaN
*/
declare function clamp( v: number, min: number, max: number ): number;
// EXPORTS //
export = clamp;
``` | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/clamp/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 356 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="org.jak_linux.dns66.ItemActivity">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/title_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/title"
android:inputType="text"
android:maxLines="1"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/location_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title_layout">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/location_dns"
android:inputType="textUri"/>
</com.google.android.material.textfield.TextInputLayout>
<Switch
android:id="@+id/state_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/location_layout"
android:layout_marginTop="10dp"
android:checked="true"
android:text="@string/state_dns_enabled"/>
<org.jak_linux.dns66.SquareImageView
android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/state_switch"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:alpha="0.1"
android:checked="true"
android:tint="?android:attr/textColorPrimary"
app:srcCompat="@drawable/ic_dns_black_24dp"/>
</RelativeLayout>
``` | /content/code_sandbox/app/src/main/res/layout/activity_item_dns.xml | xml | 2016-10-15T15:27:17 | 2024-08-16T06:53:53 | dns66 | julian-klode/dns66 | 2,104 | 538 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/* eslint-disable max-lines */
import cdf = require( '@stdlib/stats/base/dists/arcsine/cdf' );
import Arcsine = require( '@stdlib/stats/base/dists/arcsine/ctor' );
import entropy = require( '@stdlib/stats/base/dists/arcsine/entropy' );
import kurtosis = require( '@stdlib/stats/base/dists/arcsine/kurtosis' );
import logcdf = require( '@stdlib/stats/base/dists/arcsine/logcdf' );
import logpdf = require( '@stdlib/stats/base/dists/arcsine/logpdf' );
import mean = require( '@stdlib/stats/base/dists/arcsine/mean' );
import median = require( '@stdlib/stats/base/dists/arcsine/median' );
import mode = require( '@stdlib/stats/base/dists/arcsine/mode' );
import pdf = require( '@stdlib/stats/base/dists/arcsine/pdf' );
import quantile = require( '@stdlib/stats/base/dists/arcsine/quantile' );
import skewness = require( '@stdlib/stats/base/dists/arcsine/skewness' );
import stdev = require( '@stdlib/stats/base/dists/arcsine/stdev' );
import variance = require( '@stdlib/stats/base/dists/arcsine/variance' );
/**
* Interface describing the `arcsine` namespace.
*/
interface Namespace {
/**
* Arcsine distribution cumulative distribution function (CDF).
*
* @param x - input value
* @param a - minimum support
* @param b - maximum support
* @returns evaluated CDF
*
* @example
* var y = ns.cdf( 5.0, 0.0, 4.0 );
* // returns 1.0
*
* var mycdf = ns.cdf.factory( 0.0, 10.0 );
* y = mycdf( 0.5 );
* // returns ~0.144
*
* y = mycdf( 8.0 );
* // returns ~0.705
*/
cdf: typeof cdf;
/**
* Arcsine Distribution.
*/
Arcsine: typeof Arcsine;
/**
* Returns the differential entropy of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns entropy
*
* @example
* var v = ns.entropy( 0.0, 1.0 );
* // returns ~-0.242
*
* @example
* var v = ns.entropy( 4.0, 12.0 );
* // returns ~1.838
*
* @example
* var v = ns.entropy( -4.0, 4.0 );
* // returns ~1.838
*
* @example
* var v = ns.entropy( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.entropy( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.entropy( NaN, 2.0 );
* // returns NaN
*/
entropy: typeof entropy;
/**
* Returns the excess kurtosis of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns excess kurtosis
*
* @example
* var v = ns.kurtosis( 0.0, 1.0 );
* // returns -1.5
*
* @example
* var v = ns.kurtosis( 4.0, 12.0 );
* // returns -1.5
*
* @example
* var v = ns.kurtosis( -4.0, 4.0 );
* // returns -1.5
*
* @example
* var v = ns.kurtosis( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.kurtosis( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.kurtosis( NaN, 2.0 );
* // returns NaN
*/
kurtosis: typeof kurtosis;
/**
* Arcsine distribution logarithm of cumulative distribution function (CDF).
*
* @param x - input value
* @param a - minimum support
* @param b - maximum support
* @returns evaluated logCDF
*
* @example
* var y = ns.logcdf( 5.0, 0.0, 4.0 );
* // returns 0.0
*
* var mylogcdf = ns.logcdf.factory( 0.0, 10.0 );
* y = mylogcdf( 0.5 );
* // returns ~-1.938
*
* y = mylogcdf( 8.0 );
* // returns ~-0.35
*/
logcdf: typeof logcdf;
/**
* Arcsine distribution logarithm of probability density function (PDF).
*
* @param x - input value
* @param a - minimum support
* @param b - maximum support
* @returns evaluated logPDF
*
* @example
* var y = ns.logpdf( 3.0, 2.0, 6.0 );
* // returns ~-1.694
*
* var mylogpdf = ns.logpdf.factory( 6.0, 7.0 );
* y = mylogpdf( 7.0 );
* // returns Infinity
*
* y = mylogpdf( 5.0 );
* // returns -Infinity
*/
logpdf: typeof logpdf;
/**
* Returns the expected value of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns expected value
*
* @example
* var v = ns.mean( 0.0, 1.0 );
* // returns 0.5
*
* @example
* var v = ns.mean( 4.0, 12.0 );
* // returns 8.0
*
* @example
* var v = ns.mean( -4.0, 4.0 );
* // returns 0.0
*
* @example
* var v = ns.mean( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.mean( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.mean( NaN, 2.0 );
* // returns NaN
*/
mean: typeof mean;
/**
* Returns the median of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns median
*
* @example
* var v = ns.median( 0.0, 1.0 );
* // returns 0.5
*
* @example
* var v = ns.median( 4.0, 12.0 );
* // returns 8.0
*
* @example
* var v = ns.median( -4.0, 4.0 );
* // returns 0.0
*
* @example
* var v = ns.median( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.median( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.median( NaN, 2.0 );
* // returns NaN
*/
median: typeof median;
/**
* Returns the mode of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns mode
*
* @example
* var v = ns.mode( 0.0, 1.0 );
* // returns 0.0
*
* @example
* var v = ns.mode( 4.0, 12.0 );
* // returns 4.0
*
* @example
* var v = ns.mode( -4.0, 4.0 );
* // returns -4.0
*
* @example
* var v = ns.mode( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.mode( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.mode( NaN, 2.0 );
* // returns NaN
*/
mode: typeof mode;
/**
* Arcsine distribution probability density function (PDF).
*
* @param x - input value
* @param a - minimum support
* @param b - maximum support
* @returns evaluated PDF
*
* @example
* var y = ns.pdf( 3.0, 2.0, 6.0 );
* // returns ~0.184
*
* var mypdf = ns.pdf.factory( 6.0, 7.0 );
* y = mypdf( 7.0 );
* // returns Infinity
*
* y = mypdf( 5.0 );
* // returns 0.0
*/
pdf: typeof pdf;
/**
* Arcsine distribution quantile function.
*
* @param x - input value
* @param a - minimum support
* @param b - maximum support
* @returns evaluated quantile function
*
* @example
* var y = ns.quantile( 0.5, 0.0, 10.0 );
* // returns ~5.0
*
* var myQuantile = ns.quantile.factory( 0.0, 4.0 );
* y = myQuantile( 0.8 );
* // returns ~3.618
*/
quantile: typeof quantile;
/**
* Returns the skewness of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns skewness
*
* @example
* var v = ns.skewness( 0.0, 1.0 );
* // returns 0.0
*
* @example
* var v = ns.skewness( 4.0, 12.0 );
* // returns 0.0
*
* @example
* var v = ns.skewness( -4.0, 4.0 );
* // returns 0.0
*
* @example
* var v = ns.skewness( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.skewness( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.skewness( NaN, 2.0 );
* // returns NaN
*/
skewness: typeof skewness;
/**
* Returns the standard deviation of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns standard deviation
*
* @example
* var v = ns.stdev( 0.0, 1.0 );
* // returns ~0.354
*
* @example
* var v = ns.stdev( 4.0, 12.0 );
* // returns ~2.828
*
* @example
* var v = ns.stdev( -4.0, 4.0 );
* // returns ~2.828
*
* @example
* var v = ns.stdev( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.stdev( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.stdev( NaN, 2.0 );
* // returns NaN
*/
stdev: typeof stdev;
/**
* Returns the variance of an arcsine distribution.
*
* ## Notes
*
* - If provided `a >= b`, the function returns `NaN`.
*
* @param a - minimum support
* @param b - maximum support
* @returns variance
*
* @example
* var v = ns.variance( 0.0, 1.0 );
* // returns ~0.125
*
* @example
* var v = ns.variance( 4.0, 12.0 );
* // returns 8.0
*
* @example
* var v = ns.variance( -4.0, 4.0 );
* // returns 8.0
*
* @example
* var v = ns.variance( 1.0, -0.1 );
* // returns NaN
*
* @example
* var v = ns.variance( 2.0, NaN );
* // returns NaN
*
* @example
* var v = ns.variance( NaN, 2.0 );
* // returns NaN
*/
variance: typeof variance;
}
/**
* Arcsine distribution.
*/
declare var ns: Namespace;
// EXPORTS //
export = ns;
``` | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/arcsine/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 3,365 |
```xml
import * as React from 'react';
import * as moment from 'moment';
import { css } from 'office-ui-fabric-react/lib/Utilities';
import { DatePicker, DayOfWeek, IDatePickerProps, IDatePickerStrings } from 'office-ui-fabric-react/lib/DatePicker';
import { ComboBox, IComboBoxOption, IComboBox } from 'office-ui-fabric-react/lib/ComboBox';
import * as strings from 'FormFieldStrings';
import { IFieldSchema } from '../../../../common/services/datatypes/RenderListData';
export interface IDateFormFieldProps extends IDatePickerProps {
locale: string;
fieldSchema: IFieldSchema;
valueChanged(newValue: any): void;
value: any;
}
export interface IDateFormFieldState {
date?: Date;
hours: number;
minutes: number;
}
export default class DateFormField extends React.Component<IDateFormFieldProps, IDateFormFieldState> {
constructor(props) {
super(props);
this.state = {
date: null,
hours: 0,
minutes: 0
};
}
public componentDidUpdate(prevProps: IDateFormFieldProps, prevState: IDateFormFieldState) {
//Component Value property got updated from List State
if (this.props.value && prevProps.value != this.props.value) {
let date: Date = this._parseDateString(this.props.value);
this.setState({
date: date,
hours: date.getHours(),
minutes: date.getMinutes()
});
}
//Component value updated
if (this.state.date && this.state.date != prevState.date) {
let result = this.props.fieldSchema.DisplayFormat == 1 ?
this.state.date.toLocaleDateString(this.props.locale) + " " + this.state.date.toLocaleTimeString(this.props.locale, { hour: "2-digit", minute: "2-digit" }) : //Date + Time
this.state.date.toLocaleDateString(this.props.locale); //Only date
this.props.valueChanged(result);
}
}
public render() {
return (
<React.Fragment>
<DatePicker
allowTextInput={this.props.allowTextInput}
ariaLabel={this.props.ariaLabel}
className={css(this.props.className, this.props.fieldSchema.DisplayFormat == 1 ? "ms-sm12 ms-md12 ms-lg6 ms-xl8" : "ms-sm12")}
firstDayOfWeek={this.props.firstDayOfWeek}
formatDate={(date: Date) => (date && typeof date.toLocaleDateString === 'function') ? date.toLocaleDateString(this.props.locale) : ''}
isRequired={this.props.isRequired}
onSelectDate={this._onSelectDate}
parseDateFromString={this._parseDateString}
placeholder={this.props.placeholder}
strings={strings}
value={this.state.date}
/>
{this.props.fieldSchema.DisplayFormat == 1 &&
<React.Fragment>
<ComboBox
onChange={this._onHoursChanged}
selectedKey={this.state.hours}
allowFreeform
autoComplete="on"
persistMenu={true}
options={this._createComboBoxHours()}
className={css(this.props.className, "ms-sm6", "ms-md6", "ms-lg3", "ms-xl2")}
/>
<ComboBox
selectedKey={this.state.minutes}
onChange={this._onMinutesChanged}
allowFreeform
autoComplete="on"
persistMenu={true}
options={this._createComboBoxMinutes()}
className={css(this.props.className, "ms-sm6", "ms-md6", "ms-lg3", "ms-xl2")}
/>
</React.Fragment>
}
</React.Fragment>
);
}
private _onSelectDate = (inputDate: Date | null | undefined): void => {
this.setState(prevState => {
let momentDate = inputDate ?
moment(inputDate, moment.localeData(this.props.locale).longDateFormat('L')) : moment();
momentDate.hour(prevState.hours);
momentDate.minute(prevState.minutes);
return {
date: momentDate.toDate(),
hours: prevState.hours,
minutes: prevState.minutes
};
});
}
private _onHoursChanged = (event: React.FormEvent<IComboBox>, option?: IComboBoxOption): void => {
if (option) {
this.setState(prevState => {
let momentDate = prevState.date ?
moment(prevState.date, moment.localeData(this.props.locale).longDateFormat('L')) : moment();
let hours = parseInt(option.key.toString());
momentDate.hour(hours);
momentDate.minute(prevState.minutes);
return {
date: momentDate.toDate(),
hours: hours,
minutes: prevState.minutes
};
});
}
}
private _onMinutesChanged = (event: React.FormEvent<IComboBox>, option?: IComboBoxOption): void => {
if (option) {
this.setState(prevState => {
let momentDate = prevState.date ?
moment(prevState.date, moment.localeData(this.props.locale).longDateFormat('L')) : moment();
let minutes = parseInt(option.key.toString());
momentDate.hour(prevState.hours);
momentDate.minute(minutes);
return {
date: momentDate.toDate(),
hours: prevState.hours,
minutes: minutes
};
});
}
}
private _parseDateString = (inputDate: string): Date => {
if (!inputDate) {
return null;
}
let momentDate = moment(inputDate, moment.localeData(this.props.locale).longDateFormat('L'));
let time = this.props.fieldSchema.DisplayFormat == 1 ? moment(inputDate.split(" ")[1], moment.localeData(this.props.locale).longDateFormat('LT')) : null;
if (time) {
momentDate.hours(time.hours());
momentDate.minutes(time.minutes());
}
return momentDate.toDate();
}
private _createComboBoxHours = (): IComboBoxOption[] => {
let results = new Array<IComboBoxOption>();
if (this.props.fieldSchema.HoursOptions) {
results = this.props.fieldSchema.HoursOptions.map((item, index) => {
return {
key: index,
text: item
} as IComboBoxOption;
});
}
return results;
}
private _createComboBoxMinutes = (): IComboBoxOption[] => {
let results = new Array<IComboBoxOption>();
for (var i = 0; i < 60; i++) {
results.push({
key: i,
text: ("00" + i).slice(-2)
});
}
return results;
}
}
``` | /content/code_sandbox/samples/react-list-form/src/webparts/listForm/components/formFields/DateFormField.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,373 |
```xml
import {Constraint} from '../constraint/constraint.js';
import {Emitter} from './emitter.js';
import {Value, ValueChangeOptions, ValueEvents} from './value.js';
interface Config<T> {
constraint?: Constraint<T>;
equals?: (v1: T, v2: T) => boolean;
}
/**
* A complex value that has constraint and comparator.
* @template T the type of the raw value.
*/
export class ComplexValue<T> implements Value<T> {
public readonly emitter: Emitter<ValueEvents<T>>;
private readonly constraint_: Constraint<T> | undefined;
private readonly equals_: (v1: T, v2: T) => boolean;
private rawValue_: T;
constructor(initialValue: T, config?: Config<T>) {
this.constraint_ = config?.constraint;
this.equals_ = config?.equals ?? ((v1, v2) => v1 === v2);
this.emitter = new Emitter();
this.rawValue_ = initialValue;
}
get constraint(): Constraint<T> | undefined {
return this.constraint_;
}
get rawValue(): T {
return this.rawValue_;
}
set rawValue(rawValue: T) {
this.setRawValue(rawValue, {
forceEmit: false,
last: true,
});
}
public setRawValue(rawValue: T, options?: ValueChangeOptions): void {
const opts = options ?? {
forceEmit: false,
last: true,
};
const constrainedValue = this.constraint_
? this.constraint_.constrain(rawValue)
: rawValue;
const prevValue = this.rawValue_;
const changed = !this.equals_(prevValue, constrainedValue);
if (!changed && !opts.forceEmit) {
return;
}
this.emitter.emit('beforechange', {
sender: this,
});
this.rawValue_ = constrainedValue;
this.emitter.emit('change', {
options: opts,
previousRawValue: prevValue,
rawValue: constrainedValue,
sender: this,
});
}
}
``` | /content/code_sandbox/packages/core/src/common/model/complex-value.ts | xml | 2016-05-10T15:45:13 | 2024-08-16T19:57:27 | tweakpane | cocopon/tweakpane | 3,480 | 442 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url">
<mapper namespace="com.us.dao.EventDao">
<resultMap id="eventMap" type="com.us.bean.Event">
<id property="id" column="id"/>
<result property="rawEventId" column="raw_event_id"/>
<result property="host" column="host"/>
<result property="ip" column="ip"/>
<result property="source" column="source"/>
<result property="type" column="type"/>
<result property="startTime" column="start_time"/>
<result property="endTime" column="end_time"/>
<result property="content" column="content"/>
<result property="dataType" column="data_type"/>
<result property="suggest" column="suggest"/>
<result property="businessSystemId" column="business_system_id"/>
<result property="departmentId" column="department_id"/>
<result property="status" column="status"/>
<result property="occurCount" column="occur_count"/>
<result property="owner" column="owner"/>
<result property="responsedTime" column="responsed_time"/>
<result property="responsedBy" column="responsed_by"/>
<result property="resolvedTime" column="resolved_time"/>
<result property="resolvedBy" column="resolved_by"/>
<result property="closedTime" column="closed_time"/>
<result property="closedBy" column="closed_by"/>
</resultMap>
<sql id="queryCondition">
<where>
<if test="id != null and id != ''">
and id = #{id}
</if>
<if test="rawEventId != null and rawEventId != ''">
and raw_event_id = #{rawEventId}
</if>
<if test="host != null and host != ''">
and host = #{host}
</if>
<if test="ip != null and ip != ''">
and ip = #{ip}
</if>
<if test="source != null and source != ''">
and source = #{source}
</if>
<if test="type != null and type != ''">
and type = #{type}
</if>
<if test="startTime != null and startTime != ''">
and start_time = #{startTime}
</if>
<if test="endTime != null and endTime != ''">
and end_time = #{endTime}
</if>
<if test="content != null and content != ''">
and content = #{content}
</if>
<if test="dataType != null and dataType != ''">
and data_type = #{dataType}
</if>
<if test="suggest != null and suggest != ''">
and suggest = #{suggest}
</if>
<if test="businessSystemId != null and businessSystemId != ''">
and business_system_id = #{businessSystemId}
</if>
<if test="departmentId != null and departmentId != ''">
and department_id = #{departmentId}
</if>
<if test="status != null and status != ''">
and status = #{status}
</if>
<if test="occurCount != null and occurCount != ''">
and occur_count = #{occurCount}
</if>
<if test="owner != null and owner != ''">
and owner = #{owner}
</if>
<if test="responsedTime != null and responsedTime != ''">
and responsed_time = #{responsedTime}
</if>
<if test="responsedBy != null and responsedBy != ''">
and responsed_by = #{responsedBy}
</if>
<if test="resolvedTime != null and resolvedTime != ''">
and resolved_time = #{resolvedTime}
</if>
<if test="resolvedBy != null and resolvedBy != ''">
and resolved_by = #{resolvedBy}
</if>
<if test="closedTime != null and closedTime != ''">
and closed_time = #{closedTime}
</if>
<if test="closedBy != null and closedBy != ''">
and closed_by = #{closedBy}
</if>
<if test="keywords != null and keywords != ''">
and (
host like CONCAT('%', #{keywords},'%')
OR ip like CONCAT('%', #{keywords},'%')
OR source like CONCAT('%', #{keywords},'%')
OR type like CONCAT('%', #{keywords},'%')
OR content like CONCAT('%', #{keywords},'%')
OR suggest like CONCAT('%', #{keywords},'%')
OR status like CONCAT('%', #{keywords},'%')
OR owner like CONCAT('%', #{keywords},'%')
OR responsed_by like CONCAT('%', #{keywords},'%')
OR resolved_by like CONCAT('%', #{keywords},'%')
OR closed_by like CONCAT('%', #{keywords},'%')
)
</if>
</where>
</sql>
<select id="getByMap" parameterType="map" resultMap="eventMap">
SELECT * FROM event
<include refid="queryCondition" />
</select>
<select id="getById" parameterType="int" resultMap="eventMap">
SELECT * FROM event WHERE id =#{id}
</select>
<insert id="create" parameterType="com.us.bean.Event">
<selectKey resultType="int" order="AFTER" keyProperty="id" >
SELECT LAST_INSERT_ID()
</selectKey>
INSERT INTO event(
id,
raw_event_id,
host,
ip,
source,
type,
start_time,
end_time,
content,
data_type,
suggest,
business_system_id,
department_id,
status,
occur_count,
owner,
responsed_time,
responsed_by,
resolved_time,
resolved_by,
closed_time,
closed_by
)VALUES(
#{id},
#{rawEventId},
#{host},
#{ip},
#{source},
#{type},
#{startTime},
#{endTime},
#{content},
#{dataType},
#{suggest},
#{businessSystemId},
#{departmentId},
#{status},
#{occurCount},
#{owner},
#{responsedTime},
#{responsedBy},
#{resolvedTime},
#{resolvedBy},
#{closedTime},
#{closedBy}
)
</insert>
<update id="update" parameterType="com.us.bean.Event">
UPDATE event SET
raw_event_id = #{rawEventId},
host = #{host},
ip = #{ip},
source = #{source},
type = #{type},
start_time = #{startTime},
end_time = #{endTime},
content = #{content},
data_type = #{dataType},
suggest = #{suggest},
business_system_id = #{businessSystemId},
department_id = #{departmentId},
status = #{status},
occur_count = #{occurCount},
owner = #{owner},
responsed_time = #{responsedTime},
responsed_by = #{responsedBy},
resolved_time = #{resolvedTime},
resolved_by = #{resolvedBy},
closed_time = #{closedTime},
closed_by = #{closedBy}
WHERE id = #{id}
</update>
<delete id="delete" parameterType="int">
DELETE FROM event WHERE id = #{id}
</delete>
</mapper>
``` | /content/code_sandbox/springboot-shiro/src/main/resources/mapper/EventDaoMapper.xml | xml | 2016-11-07T02:13:31 | 2024-08-16T08:17:57 | springBoot | 527515025/springBoot | 6,488 | 1,783 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>13F1077</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>IntelMausiEthernet</string>
<key>CFBundleIdentifier</key>
<string>com.insanelymac.IntelMausiEthernet</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>IntelMausiEthernet</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.0.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>6C131e</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>13F26</string>
<key>DTSDKName</key>
<string>macosx10.9</string>
<key>DTXcode</key>
<string>0620</string>
<key>DTXcodeBuild</key>
<string>6C131e</string>
<key>IOKitPersonalities</key>
<dict>
<key>IntelMausi</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.insanelymac.IntelMausiEthernet</string>
<key>Driver_Version</key>
<string>2.0.0</string>
<key>IOClass</key>
<string>IntelMausi</string>
<key>IOPCIMatch</key>
<string>0x10EA8086 0x10EB8086 0x10EF8086 0x10F08086 0x15028086 0x15038086 0x153A8086 0x153B8086 0x155A8086 0x15598086 0x15A08086 0x15A18086 0x15A28086 0x15A38086</string>
<key>IOProbeScore</key>
<integer>1000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>enableCSO6</key>
<true/>
<key>enableTSO4</key>
<true/>
<key>enableTSO6</key>
<true/>
<key>maxIntrRate</key>
<integer>7000</integer>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IONetworkingFamily</key>
<string>1.5.0</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.7</string>
<key>com.apple.kpi.bsd</key>
<string>8.10.0</string>
<key>com.apple.kpi.iokit</key>
<string>8.10.0</string>
<key>com.apple.kpi.libkern</key>
<string>8.10.0</string>
<key>com.apple.kpi.mach</key>
<string>8.10.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Network-Root</string>
</dict>
</plist>
``` | /content/code_sandbox/Clover-Configs/Acer/E1-570/CLOVER/kexts/10.11/IntelMausiEthernet.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 946 |
```xml
import * as React from 'react';
import { Image } from '../Image';
const icon = require('../../assets/chevron-right-icon.png');
export function ChevronRightIcon(props: Partial<React.ComponentProps<typeof Image>>) {
return <Image source={icon} {...props} />;
}
``` | /content/code_sandbox/packages/expo-dev-client-components/src/icons/ChevronRightIcon.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 59 |
```xml
import "reflect-metadata"
import { expect } from "chai"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../utils/test-utils"
import { DataSource } from "../../../../src/data-source/DataSource"
import { User } from "./entity/User"
import { Photo } from "./entity/Photo"
import { DriverUtils } from "../../../../src/driver/DriverUtils"
describe("query builder > insert", () => {
let connections: DataSource[]
before(
async () =>
(connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
dropSchema: true,
})),
)
beforeEach(() => reloadTestingDatabases(connections))
after(() => closeTestingConnections(connections))
it("should perform insertion correctly", () =>
Promise.all(
connections.map(async (connection) => {
const user = new User()
user.name = "Alex Messer"
await connection
.createQueryBuilder()
.insert()
.into(User)
.values(user)
.execute()
await connection
.createQueryBuilder()
.insert()
.into(User)
.values({
name: "Dima Zotov",
})
.execute()
await connection
.getRepository(User)
.createQueryBuilder("user")
.insert()
.values({ name: "Muhammad Mirzoev" })
.execute()
const users = await connection.getRepository(User).find({
order: {
id: "ASC",
},
})
users.should.be.eql([
{ id: 1, name: "Alex Messer" },
{ id: 2, name: "Dima Zotov" },
{ id: 3, name: "Muhammad Mirzoev" },
])
}),
))
it("should perform bulk insertion correctly", () =>
Promise.all(
connections.map(async (connection) => {
// it is skipped for Oracle and SAP because it does not support bulk insertion
if (
connection.driver.options.type === "oracle" ||
connection.driver.options.type === "sap"
)
return
await connection
.createQueryBuilder()
.insert()
.into(User)
.values([
{ name: "Umed Khudoiberdiev" },
{ name: "Bakhrom Baubekov" },
{ name: "Bakhodur Kandikov" },
])
.execute()
const users = await connection.getRepository(User).find({
order: {
id: "ASC",
},
})
users.should.be.eql([
{ id: 1, name: "Umed Khudoiberdiev" },
{ id: 2, name: "Bakhrom Baubekov" },
{ id: 3, name: "Bakhodur Kandikov" },
])
}),
))
it("should be able to use sql functions", () =>
Promise.all(
connections.map(async (connection) => {
await connection
.createQueryBuilder()
.insert()
.into(User)
.values({
name: () =>
connection.driver.options.type === "mssql"
? "SUBSTRING('Dima Zotov', 1, 4)"
: "SUBSTR('Dima Zotov', 1, 4)",
})
.execute()
const loadedUser1 = await connection
.getRepository(User)
.findOneBy({ name: "Dima" })
expect(loadedUser1).to.exist
loadedUser1!.name.should.be.equal("Dima")
}),
))
it("should be able to insert entities with different properties set even inside embeds", () =>
Promise.all(
connections.map(async (connection) => {
// this test is skipped for sqlite based drivers because it does not support DEFAULT values in insertions,
// also it is skipped for Oracle and SAP because it does not support bulk insertion
if (
DriverUtils.isSQLiteFamily(connection.driver) ||
connection.driver.options.type === "oracle" ||
connection.driver.options.type === "sap"
)
return
await connection
.createQueryBuilder()
.insert()
.into(Photo)
.values([
{
url: "1.jpg",
counters: {
likes: 1,
favorites: 1,
comments: 1,
},
},
{
url: "2.jpg",
},
])
.execute()
const loadedPhoto1 = await connection
.getRepository(Photo)
.findOneBy({ url: "1.jpg" })
expect(loadedPhoto1).to.exist
loadedPhoto1!.should.be.eql({
id: 1,
url: "1.jpg",
counters: {
likes: 1,
favorites: 1,
comments: 1,
},
})
const loadedPhoto2 = await connection
.getRepository(Photo)
.findOneBy({ url: "2.jpg" })
expect(loadedPhoto2).to.exist
loadedPhoto2!.should.be.eql({
id: 2,
url: "2.jpg",
counters: {
likes: 1,
favorites: null,
comments: 0,
},
})
}),
))
})
``` | /content/code_sandbox/test/functional/query-builder/insert/query-builder-insert.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 1,133 |
```xml
import { sort as semverSort, SemVer } from 'semver'
import { getLogLines } from '../changelog/git'
import {
convertToChangelogFormat,
getChangelogEntriesSince,
} from '../changelog/parser'
import { Channel } from './channel'
import { getNextVersionNumber } from './version'
import { execSync } from 'child_process'
import { writeFileSync } from 'fs'
import { join } from 'path'
import { format } from 'prettier'
import { assertNever, forceUnwrap } from '../../app/src/lib/fatal-error'
import { sh } from '../sh'
import { readFile } from 'fs/promises'
const changelogPath = join(__dirname, '..', '..', 'changelog.json')
/**
* Returns the latest release tag, according to git and semver
* (ignores test releases)
*
* @param options there's only one option `excludeBetaReleases`,
* which is a boolean
*/
async function getLatestRelease(options: {
excludeBetaReleases: boolean
excludeTestReleases: boolean
}): Promise<string> {
let releaseTags = (await sh('git', 'tag'))
.split('\n')
.filter(tag => tag.startsWith('release-'))
.filter(tag => !tag.includes('-linux'))
if (options.excludeBetaReleases) {
releaseTags = releaseTags.filter(tag => !tag.includes('-beta'))
}
if (options.excludeTestReleases) {
releaseTags = releaseTags.filter(tag => !tag.includes('-test'))
}
const releaseVersions = releaseTags.map(tag => tag.substring(8))
const sortedTags = semverSort(releaseVersions)
const latestTag = forceUnwrap(`No tags`, sortedTags.at(-1))
return latestTag instanceof SemVer ? latestTag.raw : latestTag
}
async function createReleaseBranch(version: string): Promise<void> {
try {
const versionBranch = `releases/${version}`
const currentBranch = (
await sh('git', 'rev-parse', '--abbrev-ref', 'HEAD')
).trim()
if (currentBranch !== versionBranch) {
await sh('git', 'checkout', '-b', versionBranch)
}
} catch (error) {
console.log(`Failed to create release branch: ${error}`)
}
}
/** Converts a string to Channel type if possible */
function parseChannel(arg: string): Channel {
if (arg === 'production' || arg === 'beta' || arg === 'test') {
return arg
}
throw new Error(`An invalid channel ${arg} has been provided`)
}
/**
* Prints out next steps to the console
*
* @param nextVersion version for the next release
* @param entries release notes for the next release
*/
function printInstructions(nextVersion: string, entries: Array<string>) {
const baseSteps = [
'Revise the release notes according to path_to_url
'Lint them with: yarn draft-release:format',
'Commit these changes (on a "release" branch) and push them to GitHub',
'See the deploy repo for details on performing the release: path_to_url
]
// if an empty list, we assume the new entries have already been
// written to the changelog file
if (entries.length === 0) {
printSteps(baseSteps)
} else {
const object = { [nextVersion]: entries.sort() }
const steps = [
`Concatenate this to the beginning of the 'releases' element in the changelog.json as a starting point:\n${format(
JSON.stringify(object),
{
parser: 'json',
}
)}\n`,
...baseSteps,
]
printSteps(steps)
}
}
/**
* adds a number to the beginning of each line and prints them in sequence
*/
function printSteps(steps: ReadonlyArray<string>) {
console.log("Here's what you should do next:\n")
console.log(steps.map((value, index) => `${index + 1}. ${value}`).join('\n'))
}
export async function run(args: ReadonlyArray<string>): Promise<void> {
if (args.length === 0) {
throw new Error(
`You have not specified a channel to draft this release for. Choose one of 'production' or 'beta'`
)
}
const channel = parseChannel(args[0])
const draftPretext = args[1] === '--pretext'
const previousVersion = await getLatestRelease({
excludeBetaReleases: channel === 'production' || channel === 'test',
excludeTestReleases: channel === 'production' || channel === 'beta',
})
const nextVersion = getNextVersionNumber(previousVersion, channel)
console.log(`Creating release branch for "${nextVersion}"...`)
createReleaseBranch(nextVersion)
console.log(`Done!`)
console.log(`Setting app version to "${nextVersion}" in app/package.json...`)
try {
// this can throw
// sets the npm version in app/
execSync(`npm version ${nextVersion} --allow-same-version`, {
cwd: join(__dirname, '..', '..', 'app'),
encoding: 'utf8',
})
console.log(`Set!`)
} catch (e) {
console.warn(`Setting the app version failed
(${e instanceof Error ? e.message : e})
Please manually set it to ${nextVersion} in app/package.json.`)
}
console.log('Determining changelog entries...')
const currentChangelog: IChangelog = require(changelogPath)
const newEntries = new Array<string>()
if (draftPretext) {
const pretext = await getPretext()
if (pretext !== null) {
newEntries.push(pretext)
}
}
switch (channel) {
case 'production': {
// if it's a new production release, make sure we only include
// entries since the latest production release
newEntries.push(...getChangelogEntriesSince(previousVersion))
break
}
case 'beta': {
const logLines = await getLogLines(`release-${previousVersion}`)
const changelogLines = await convertToChangelogFormat(logLines)
newEntries.push(...changelogLines)
break
}
case 'test': {
// we don't guess at release notes for test releases
break
}
default: {
assertNever(channel, 'missing channel type')
}
}
if (newEntries.length === 0 && channel !== 'test') {
console.warn(
'No new changes found to add to the changelog. Continuing...'
)
} else {
console.log('Determined!')
}
if (currentChangelog.releases[nextVersion] === undefined) {
console.log('Adding draft release notes to changelog.json...')
const changelog = makeNewChangelog(
nextVersion,
currentChangelog,
newEntries
)
try {
// this might throw
writeFileSync(
changelogPath,
format(JSON.stringify(changelog), {
parser: 'json',
})
)
console.log('Added!')
printInstructions(nextVersion, [])
} catch (e) {
console.warn(
`Writing the changelog failed \n(${
e instanceof Error ? e.message : e
})`
)
printInstructions(nextVersion, newEntries)
}
} else {
console.log(
`Looks like there are already release notes for ${nextVersion} in changelog.json.`
)
printInstructions(nextVersion, newEntries)
}
}
/**
* Returns the current changelog with new entries added.
* Ensures that the new entry will appear at the beginning
* of the object when printed.
*/
function makeNewChangelog(
nextVersion: string,
currentChangelog: IChangelog,
entries: ReadonlyArray<string>
): IChangelog {
return {
releases: { [nextVersion]: entries, ...currentChangelog.releases },
}
}
type ChangelogReleases = { [key: string]: ReadonlyArray<string> }
interface IChangelog {
releases: ChangelogReleases
}
async function getPretext(): Promise<string | null> {
const pretextPath = join(
__dirname,
'..',
'..',
'app',
'static',
'common',
'pretext-draft.md'
)
const pretext = await readFile(pretextPath, 'utf8')
if (pretext.trim() === '') {
return null
}
return `[Pretext] ${pretext}`
}
``` | /content/code_sandbox/script/draft-release/run.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 1,841 |
```xml
import * as React from "react";
type Props = {
/** The size of the icon, 24px is default to match standard icons */
size?: number;
/** The color of the icon, defaults to the current text color */
fill?: string;
className?: string;
};
function GoogleLogo({ size = 24, fill = "currentColor", className }: Props) {
return (
<svg
fill={fill}
width={size}
height={size}
viewBox="0 0 24 24"
xmlns="path_to_url"
className={className}
>
<path d="M19.2312 10.5455H11.8276V13.6364H16.0892C15.6919 15.6 14.0306 16.7273 11.8276 16.7273C9.22733 16.7273 7.13267 14.6182 7.13267 12C7.13267 9.38182 9.22733 7.27273 11.8276 7.27273C12.9472 7.27273 13.9584 7.67273 14.7529 8.32727L17.0643 6C15.6558 4.76364 13.85 4 11.8276 4C7.42159 4 3.88232 7.56364 3.88232 12C3.88232 16.4364 7.42159 20 11.8276 20C15.8002 20 19.4117 17.0909 19.4117 12C19.4117 11.5273 19.3395 11.0182 19.2312 10.5455Z" />
</svg>
);
}
export default GoogleLogo;
``` | /content/code_sandbox/plugins/googleanalytics/client/Icon.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 421 |
```xml
import { GPU } from 'gpu.js';
import { NeuralNetwork } from './neural-network';
import { FeedForward } from './feed-forward';
import {
input,
output,
target,
Target,
Sigmoid,
arthurFeedForward,
ILayer,
ILayerSettings,
feedForward as feedForwardLayer,
} from './layer';
import { momentumRootMeanSquaredPropagation } from './praxis';
import { zeros2D } from './utilities/zeros-2d';
import { setup, teardown } from './utilities/kernel';
import { mockPraxis, xorTrainingData } from './test-utils';
import { IPraxis } from './praxis/base-praxis';
/* eslint-disable no-multi-assign */
describe('FeedForward Class: End to End', () => {
beforeEach(() => {
setup(
new GPU({
mode: 'cpu',
})
);
});
afterEach(() => {
teardown();
});
describe('when configured like NeuralNetwork', () => {
function setupTwinXORNetworks(useDecimals: boolean) {
const standardNet = new NeuralNetwork();
const ffNet = new FeedForward({
inputLayer: () => input({ height: 2, id: 'input' }),
hiddenLayers: [
(inputLayer) => arthurFeedForward({ height: 3 }, inputLayer),
(inputLayer) => arthurFeedForward({ height: 1 }, inputLayer),
],
outputLayer: (inputLayer) =>
target({ height: 1, id: 'output' }, inputLayer),
});
ffNet.initialize();
standardNet.train([{ input: [1, 1], output: [1] }], {
iterations: 1,
});
// set both nets exactly the same, then train them once, and compare
const ffNetLayers = ffNet.layers as ILayer[];
const biasLayers = ffNetLayers.filter((l) => l.id === 'biases');
const weightLayers = ffNetLayers.filter((l) => l.id === 'weights');
const sigmoidLayers = ffNetLayers.filter((l) => l instanceof Sigmoid);
const targetLayer = ffNetLayers[ffNetLayers.length - 1];
// Use whole numbers to better test accuracy
// set biases
const standardNetBiases = standardNet.biases;
const biasLayers0Weights = biasLayers[0].weights as number[][];
expect(standardNetBiases[1].length).toBe(3);
standardNetBiases[1][0] = biasLayers0Weights[0][0] = useDecimals
? 0.5
: 5;
standardNetBiases[1][1] = biasLayers0Weights[1][0] = useDecimals
? 0.7
: 7;
standardNetBiases[1][2] = biasLayers0Weights[2][0] = useDecimals
? 0.2
: 2;
const biasLayers1Weights = biasLayers[1].weights as number[][];
expect(standardNetBiases[2].length).toBe(1);
standardNetBiases[2][0] = biasLayers1Weights[0][0] = useDecimals
? 0.12
: 12;
// set weights
const standardNetWeights = standardNet.weights;
const weightLayers0Weights = weightLayers[0].weights as number[][];
expect(standardNetWeights[1].length).toBe(3);
expect(standardNetWeights[1][0].length).toBe(2);
standardNetWeights[1][0][0] = weightLayers0Weights[0][0] = useDecimals
? 0.5
: 5;
standardNetWeights[1][0][1] = weightLayers0Weights[0][1] = useDecimals
? 0.1
: 10;
expect(standardNetWeights[1][1].length).toBe(2);
standardNetWeights[1][1][0] = weightLayers0Weights[1][0] = useDecimals
? 0.3
: 3;
standardNetWeights[1][1][1] = weightLayers0Weights[1][1] = useDecimals
? 0.1
: 1;
expect(standardNetWeights[1][2].length).toBe(2);
standardNetWeights[1][2][0] = weightLayers0Weights[2][0] = useDecimals
? 0.8
: 8;
standardNetWeights[1][2][1] = weightLayers0Weights[2][1] = useDecimals
? 0.4
: 4;
const weightLayers1Weights = weightLayers[1].weights as number[][];
expect(standardNetWeights[2].length).toBe(1);
expect(standardNetWeights[2][0].length).toBe(3);
standardNetWeights[2][0][0] = weightLayers1Weights[0][0] = useDecimals
? 0.2
: 2;
standardNetWeights[2][0][1] = weightLayers1Weights[0][1] = useDecimals
? 0.6
: 6;
standardNetWeights[2][0][2] = weightLayers1Weights[0][2] = useDecimals
? 0.3
: 3;
return {
ffNet,
standardNet,
sigmoidLayers,
targetLayer,
};
}
describe('prediction', () => {
test('it matches NeuralNetworks.deltas & NeuralNetworks.errors for 2 inputs, 3 hidden neurons, and 1 output', () => {
const {
standardNet,
ffNet,
sigmoidLayers,
targetLayer,
} = setupTwinXORNetworks(true);
// learning deviates, which we'll test elsewhere, for the time being, just don't learn
standardNet.adjustWeights = () => {};
ffNet.adjustWeights = () => {};
// retrain with these new weights, only ffNet needs reinforce, otherwise, values are lost
standardNet.train(
[
{
input: new Float32Array([0.9, 0.8]),
output: new Float32Array([0.5]),
},
],
{
iterations: 1,
}
);
ffNet.train(
[
{
input: new Float32Array([0.9, 0.8]),
output: new Float32Array([0.5]),
},
],
{
iterations: 1,
}
);
// test only the sigmoid layers and target layers, as that is the final equation location per layer
// Also, NeuralNetwork uses a negative value, while FeedForward uses a positive one
const sigmoidLayers0InputLayerDeltas = (sigmoidLayers[0]
.inputLayer as ILayer).deltas as number[][];
const standardNetDeltas = standardNet.deltas;
expect(-sigmoidLayers0InputLayerDeltas[0][0]).not.toEqual(0);
expect(-sigmoidLayers0InputLayerDeltas[0][0]).toEqual(
standardNetDeltas[1][0]
);
expect(-sigmoidLayers0InputLayerDeltas[1][0]).not.toEqual(0);
expect(-sigmoidLayers0InputLayerDeltas[1][0]).toBeCloseTo(
standardNetDeltas[1][1]
);
expect(-sigmoidLayers0InputLayerDeltas[2][0]).not.toEqual(0);
expect(-sigmoidLayers0InputLayerDeltas[2][0]).toEqual(
standardNetDeltas[1][2]
);
const sigmoidLayers1InputLayerDeltas = (sigmoidLayers[1]
.inputLayer as ILayer).deltas as number[][];
expect(-sigmoidLayers1InputLayerDeltas[0][0]).not.toEqual(0);
expect(-sigmoidLayers1InputLayerDeltas[0][0]).toEqual(
standardNetDeltas[2][0]
);
const targetLayerInputLayerDeltas = (targetLayer.inputLayer as ILayer)
.deltas as number[][];
const standardNetErrors = standardNet.errors;
expect(-targetLayerInputLayerDeltas[0][0]).not.toEqual(0);
expect(-targetLayerInputLayerDeltas[0][0]).toEqual(
standardNetErrors[2][0]
);
});
});
describe('comparison', () => {
test('it matches NeuralNetwork.outputs for 2 inputs, 3 hidden neurons, and 1 output', () => {
const {
standardNet,
ffNet,
sigmoidLayers,
targetLayer,
} = setupTwinXORNetworks(true);
// learning deviates, which we'll test elsewhere, for the time being, just don't learn
standardNet.adjustWeights = function () {};
ffNet.adjustWeights = function () {};
// retrain with these new weights, only ffNet needs reinforce, otherwise, values are lost
standardNet.train([{ input: [0.9, 0.8], output: [0.3] }], {
iterations: 1,
});
ffNet.train([{ input: [0.9, 0.8], output: [0.3] }], {
iterations: 1,
});
// test only the sigmoid layers, as that is the final equation location per layer
const sigmoidLayers0Weights = sigmoidLayers[0].weights as number[][];
const standardNetOutputs = standardNet.outputs;
expect(sigmoidLayers0Weights[0][0]).not.toEqual(0);
expect(sigmoidLayers0Weights[0][0]).toEqual(standardNetOutputs[1][0]);
expect(sigmoidLayers0Weights[1][0]).not.toEqual(0);
expect(sigmoidLayers0Weights[1][0]).toEqual(standardNetOutputs[1][1]);
expect(sigmoidLayers0Weights[2][0]).not.toEqual(0);
expect(sigmoidLayers0Weights[2][0]).toEqual(standardNetOutputs[1][2]);
const sigmoidLayers1Weights = sigmoidLayers[1].weights as number[][];
expect(sigmoidLayers1Weights[0][0]).not.toEqual(0);
expect(sigmoidLayers1Weights[0][0]).toEqual(standardNetOutputs[2][0]);
const targetLayerWeights = targetLayer.weights as number[][];
expect(targetLayerWeights[0][0]).not.toEqual(0);
expect(targetLayerWeights[0][0]).toEqual(standardNetOutputs[2][0]);
});
});
describe('learn', () => {
test('is the same value for 2 inputs, 3 hidden neurons, and 1 output', () => {
const {
standardNet,
ffNet,
sigmoidLayers,
targetLayer,
} = setupTwinXORNetworks(true);
const sigmoidLayers0WeightsBeforeTraining = sigmoidLayers[0]
.weights as number[][];
expect(sigmoidLayers0WeightsBeforeTraining[0][0]).toEqual(0);
expect(sigmoidLayers0WeightsBeforeTraining[1][0]).toEqual(0);
expect(sigmoidLayers0WeightsBeforeTraining[2][0]).toEqual(0);
expect(sigmoidLayers0WeightsBeforeTraining[0][0]).toEqual(0);
// retrain with these new weights, only ffNet needs reinforce, otherwise, values are lost
standardNet.train([{ input: [0.9, 0.8], output: [0.3] }], {
iterations: 1,
});
ffNet.train([{ input: [0.9, 0.8], output: [0.3] }], {
iterations: 1,
});
// test only the sigmoid layers, as that is the final equation location per layer
const sigmoidLayers0WeightsAfterTraining = sigmoidLayers[0]
.weights as number[][];
const standardNetOutputs = standardNet.outputs;
expect(sigmoidLayers0WeightsAfterTraining[0][0]).not.toEqual(0);
expect(sigmoidLayers0WeightsAfterTraining[0][0]).toEqual(
standardNetOutputs[1][0]
);
expect(sigmoidLayers0WeightsAfterTraining[1][0]).not.toEqual(0);
expect(sigmoidLayers0WeightsAfterTraining[1][0]).toEqual(
standardNetOutputs[1][1]
);
expect(sigmoidLayers0WeightsAfterTraining[2][0]).not.toEqual(0);
expect(sigmoidLayers0WeightsAfterTraining[2][0]).toEqual(
standardNetOutputs[1][2]
);
const sigmoidLayers1Weights = sigmoidLayers[1].weights as number[][];
expect(sigmoidLayers1Weights[0][0]).not.toEqual(0);
expect(sigmoidLayers1Weights[0][0]).toEqual(standardNetOutputs[2][0]);
const targetLayerWeights = targetLayer.weights as number[][];
expect(targetLayerWeights[0][0]).not.toEqual(0);
expect(targetLayerWeights[0][0]).toEqual(standardNetOutputs[2][0]);
});
});
});
describe('.runInput()', () => {
test('outputs a number', () => {
const net = new FeedForward({
inputLayer: () => input({ width: 1, height: 1 }),
hiddenLayers: [
(inputLayer) => feedForwardLayer({ width: 1, height: 1 }, inputLayer),
],
outputLayer: (inputLayer) =>
output({ width: 1, height: 1 }, inputLayer),
});
net.initialize();
const result = net.runInput([[1]]) as number[][];
expect(typeof result[0][0] === 'number').toBeTruthy();
});
});
describe('.train()', () => {
function testOutputsSmaller() {
const net = new FeedForward({
inputLayer: () => input({ height: 2 }),
hiddenLayers: [
(inputLayer) => feedForwardLayer({ height: 3 }, inputLayer),
(inputLayer) => feedForwardLayer({ height: 1 }, inputLayer),
],
outputLayer: (inputLayer) => target({ height: 1 }, inputLayer),
});
const errors: number[] = [];
net.train(xorTrainingData, {
iterations: 10,
callbackPeriod: 1,
errorCheckInterval: 1,
callback: (info) => errors.push(info.error),
});
expect(
errors.reduce((prev, cur) => prev && typeof cur === 'number', true)
).toBeTruthy();
expect(errors[0]).toBeGreaterThan(errors[errors.length - 1]);
}
function testCanLearnXOR() {
// const errors: number[] = [];
const net = new FeedForward({
initPraxis: (layer: ILayer): IPraxis => {
switch (layer.id) {
case 'biases':
return momentumRootMeanSquaredPropagation(layer, {
decayRate: 0.29,
});
case 'weights':
return momentumRootMeanSquaredPropagation(layer, {
decayRate: 0.29,
});
default:
return mockPraxis(layer);
}
},
inputLayer: () => input({ height: 2 }),
hiddenLayers: [
(inputLayer) => feedForwardLayer({ height: 3 }, inputLayer),
(inputLayer) => feedForwardLayer({ height: 1 }, inputLayer),
],
outputLayer: (inputLayer) => target({ height: 1 }, inputLayer),
});
net.train(xorTrainingData, {
callbackPeriod: 1,
errorCheckInterval: 200,
callback: (info) => {
if (info.iterations % 200 === 0) {
// errors.push(info.error);
}
},
});
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const result1 = net.run([0, 0]);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const result2 = net.run([0, 1]);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const result3 = net.run([1, 0]);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const result4 = net.run([1, 1]);
// TODO: this should be easier than result[0][0] path_to_url
// expect(result1[0][0]).toBeLessThan(0.2);
// expect(result2[0][0]).toBeGreaterThan(0.8);
// expect(result3[0][0]).toBeGreaterThan(0.8);
// expect(result4[0][0]).toBeLessThan(0.2);
// expect(errors[errors.length - 1]).toBeLessThan(0.1);
// expect(errors.length).toBeLessThan(net.trainOpts.iterations);
}
describe('on CPU', () => {
test('outputs a number that is smaller than when it started', () => {
testOutputsSmaller();
});
test('can learn xor', () => {
testCanLearnXOR();
});
});
describe('on GPU', () => {
if (!GPU.isGPUSupported) return;
beforeEach(() => {
setup(new GPU({ mode: 'gpu' }));
});
afterEach(() => {
teardown();
});
test('outputs a number that is smaller than when it started', () => {
testOutputsSmaller();
});
test('can learn xor', () => {
testCanLearnXOR();
});
});
});
describe('.trainAsync()', () => {
it('can be used to train XOR', async () => {
const net = new FeedForward({
inputLayer: () => input({ height: 2 }),
hiddenLayers: [
(inputLayer) => feedForwardLayer({ height: 3 }, inputLayer),
(inputLayer) => feedForwardLayer({ height: 1 }, inputLayer),
],
outputLayer: (inputLayer) => target({ height: 1 }, inputLayer),
});
const errors: number[] = [];
const result = await net.trainAsync(xorTrainingData, {
iterations: 10,
callbackPeriod: 1,
errorCheckInterval: 1,
callback: (info) => errors.push(info.error),
});
expect(result.error).toBeLessThan(1);
expect(result.iterations).toBe(10);
});
});
describe('._calculateDeltas()', () => {
test('populates deltas from output to input', () => {
class SuperOutput extends Target {
constructor(settings: ILayerSettings, inputLayer: ILayer) {
super(settings, inputLayer);
this.deltas = zeros2D(this.width, this.height);
this.inputLayer = inputLayer;
}
}
const net = new FeedForward({
inputLayer: () => input({ width: 1, height: 1 }),
hiddenLayers: [
(inputLayer) => feedForwardLayer({ width: 1, height: 1 }, inputLayer),
],
outputLayer: (inputLayer) =>
new SuperOutput({ width: 1, height: 1 }, inputLayer),
});
net.initialize();
const layers: ILayer[] = net.layers as ILayer[];
layers[0].weights = [[1]];
layers.forEach((layerLayer) => {
(layerLayer.deltas as number[][]).forEach((row) => {
row.forEach((delta) => {
expect(delta).toBe(0);
});
});
});
net.runInput([[1]]);
net._calculateDeltas([[1]]);
layers.forEach((l) => {
(l.deltas as number[][]).forEach((row) => {
row.forEach((delta) => {
expect(delta === 0).toBeFalsy();
});
});
});
});
});
});
``` | /content/code_sandbox/src/feed-forward.end-to-end.test.ts | xml | 2016-02-13T18:09:44 | 2024-08-15T20:41:49 | brain.js | BrainJS/brain.js | 14,300 | 4,358 |
```xml
import React, { useCallback, useContext, useEffect, useRef } from 'react';
import PropTypes from 'prop-types';
import isNil from 'lodash/isNil';
import { useUniqueId } from '../hooks';
import MenuContext, { MenuActionTypes, MoveFocusTo } from './MenuContext';
export interface MenuItemProps {
/** Active the current option */
selected?: boolean;
/** Disable the current option */
disabled?: boolean;
/** Render prop */
children: (
menuitem: React.LiHTMLAttributes<HTMLLIElement> & MenuitemRenderProps,
ref: React.Ref<HTMLLIElement>
) => React.ReactElement;
/** Callback when menuitem is being activated */
onActivate?: React.MouseEventHandler;
}
export interface MenuitemRenderProps {
selected: boolean;
active: boolean;
}
/**
* Headless ARIA `menuitem`
* @private
*/
function MenuItem(props: MenuItemProps) {
const { children, selected = false, disabled = false, onActivate } = props;
const menuitemRef = useRef<HTMLLIElement>(null);
const menuitemId = useUniqueId('menuitem-');
const menu = useContext(MenuContext);
if (!menu) {
throw new Error('<MenuItem> must be rendered within a <Menu>');
}
const [menuState, dispatch] = menu;
// Whether this menuitem has focus (indicated by `aria-activedescendant` from parent menu)
const hasFocus =
!isNil(menuitemRef.current) &&
!isNil(menuState.activeItemIndex) &&
menuState.items[menuState.activeItemIndex]?.element === menuitemRef.current;
const handleClick = useCallback(
(event: React.MouseEvent<HTMLLIElement>) => {
if (disabled) {
return;
}
onActivate?.(event);
},
[disabled, onActivate]
);
// Gain/release focus on mousedown in `menubar`
const handleMouseDown = useCallback(() => {
if (!isNil(menuitemRef.current) && !hasFocus) {
dispatch({
type: MenuActionTypes.MoveFocus,
to: MoveFocusTo.Specific,
id: menuitemRef.current.id
});
}
}, [dispatch, hasFocus]);
// Gain/release focus on mouseenter/mouseleave in `menu`
const handleMouseMove = useCallback(() => {
if (!isNil(menuitemRef.current) && !hasFocus) {
dispatch({
type: MenuActionTypes.MoveFocus,
to: MoveFocusTo.Specific,
id: menuitemRef.current.id
});
}
}, [hasFocus, dispatch]);
const handleMouseLeave = useCallback(() => {
dispatch({
type: MenuActionTypes.MoveFocus,
to: MoveFocusTo.None
});
}, [dispatch]);
useEffect(() => {
const menuitemElement = menuitemRef.current;
if (menuitemElement) {
dispatch({
type: MenuActionTypes.RegisterItem,
element: menuitemElement,
props: { disabled }
});
return () => {
dispatch({ type: MenuActionTypes.UnregisterItem, id: menuitemElement.id });
};
}
}, [menuitemRef, disabled, dispatch]);
const menuitemProps: React.LiHTMLAttributes<HTMLLIElement> & MenuitemRenderProps = {
id: menuitemId,
role: 'menuitem',
// fixme Only use `aria-checked` on menuitemradio and menuitemcheckbox
'aria-checked': selected || undefined,
'aria-disabled': disabled,
tabIndex: -1,
onClick: handleClick,
// render props
selected,
active: hasFocus
};
// Only move focus on hover in a `menu`, not `menubar`
if (menuState?.role === 'menu') {
menuitemProps.onMouseMove = handleMouseMove;
menuitemProps.onMouseLeave = handleMouseLeave;
}
if (menuState?.role === 'menubar') {
menuitemProps.onMouseDown = handleMouseDown;
menuitemProps.onMouseOver = handleMouseMove;
menuitemProps.onMouseLeave = handleMouseLeave;
}
return children(menuitemProps, menuitemRef);
}
MenuItem.displayName = 'MenuItem';
MenuItem.propTypes = {
selected: PropTypes.bool,
disabled: PropTypes.bool,
children: PropTypes.func.isRequired,
onActivate: PropTypes.func
};
export default MenuItem;
``` | /content/code_sandbox/src/internals/Menu/MenuItem.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 927 |
```xml
import { isMac } from "@shared/utils/browser";
export const altDisplay = isMac() ? "" : "Alt";
export const metaDisplay = isMac() ? "" : "Ctrl";
export const meta = isMac() ? "cmd" : "ctrl";
export function isModKey(
event: KeyboardEvent | MouseEvent | React.KeyboardEvent
) {
return isMac() ? event.metaKey : event.ctrlKey;
}
``` | /content/code_sandbox/app/utils/keyboard.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 90 |
```xml
import React, { memo, forwardRef } from 'react';
import { Modal } from '../../composites/Modal';
import type { IActionsheetFooterProps } from './types';
import { usePropsResolution } from '../../../hooks';
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
const ActionsheetFooter = (props: IActionsheetFooterProps, ref?: any) => {
const resolvedProps = usePropsResolution('ActionsheetFooter', props);
//TODO: refactor for responsive prop
if (useHasResponsiveProps(props)) {
return null;
}
return <Modal.Content {...resolvedProps} ref={ref} />;
};
export default memo(forwardRef(ActionsheetFooter));
``` | /content/code_sandbox/src/components/composites/Actionsheet/ActionsheetFooter.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 149 |
```xml
import * as React from 'react';
import { IContextualMenuProps } from '@fluentui/react/lib/ContextualMenu';
import { DefaultButton } from '@fluentui/react/lib/Button';
import { useConst } from '@fluentui/react-hooks';
export const ContextualMenuPersistedExample: React.FunctionComponent = () => {
const menuProps = useConst<IContextualMenuProps>(() => ({
shouldFocusOnMount: true,
shouldFocusOnContainer: true,
items: [
{ key: 'rename', text: 'Rename', onClick: () => console.log('Rename clicked') },
{ key: 'edit', text: 'Edit', onClick: () => console.log('Edit clicked') },
{ key: 'properties', text: 'Properties', onClick: () => console.log('Properties clicked') },
{ key: 'linkNoTarget', text: 'Link same window', href: 'path_to_url },
{ key: 'linkWithTarget', text: 'Link new window', href: 'path_to_url target: '_blank' },
{ key: 'disabled', text: 'Disabled item', disabled: true },
],
}));
return <DefaultButton text="Click for ContextualMenu" persistMenu menuProps={menuProps} />;
};
``` | /content/code_sandbox/packages/react-examples/src/react/ContextualMenu/ContextualMenu.Persisted.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 271 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources xmlns:android="path_to_url"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="bsp_done_label" msgid="7007948707597430919">"Hotovo"</string>
<string name="bsp_hour_picker_description" msgid="7586639618712934060">"Kruhov posuvnk hodin"</string>
<string name="bsp_minute_picker_description" msgid="6024811202872705251">"Kruhov posuvnk minut"</string>
<string name="bsp_select_hours" msgid="7651068754188418859">"Zvolte hodiny"</string>
<string name="bsp_select_minutes" msgid="8327182090226828481">"Zvolte minuty"</string>
<string name="bsp_day_picker_description" msgid="3968620852217927702">"Dny uspodan po mscch"</string>
<string name="bsp_year_picker_description" msgid="6963340404644587098">"Seznam rok"</string>
<string name="bsp_select_day" msgid="3973338219107019769">"Vyberte msc a den"</string>
<string name="bsp_select_year" msgid="2603330600102539372">"Vyberte rok"</string>
<string name="bsp_item_is_selected" msgid="2674929164900463786">"Vybrna poloka <xliff:g id="ITEM">%1$s</xliff:g>"</string>
<string name="bsp_deleted_key" msgid="6908431551612331381">"<xliff:g id="KEY">%1$s</xliff:g> smazno"</string>
</resources>
``` | /content/code_sandbox/bottomsheetpickers/src/main/res/values-cs/strings.xml | xml | 2016-10-06T01:20:05 | 2024-08-05T10:12:07 | BottomSheetPickers | philliphsu/BottomSheetPickers | 1,101 | 430 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="vi" datatype="plaintext" original="wizard.en.xlf">
<body>
</body>
</file>
</xliff>
``` | /content/code_sandbox/translations/wizard.vi.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 83 |
```xml
declare interface PwmPin {
/**
* Emits a Pulse-width modulation (PWM) signal for a given duration.
* @param name the pin that modulate
* @param frequency frequency to modulate in Hz.
* @param ms duration of the pitch in milli seconds.
*/
//% blockId=pin_analog_pitch block="analog pitch|pin %pin|at (Hz)%frequency|for (ms) %ms"
//% help=pins/analog-pitch weight=4 async advanced=true blockGap=8
//% blockNamespace=pins shim=PwmPinMethods::analogPitch
analogPitch(frequency: number, ms: number): void;
}
declare namespace pins {
//% fixedInstance shim=pxt::getPin(8)
const A8: PwmPin;
//% fixedInstance shim=pxt::getPin(9)
const A9: PwmPin;
//% fixedInstance shim=pxt::getPin(10)
const A10: PwmPin;
//% fixedInstance shim=pxt::getPin(11)
const A11: PwmPin;
}
``` | /content/code_sandbox/tests/decompile-test/cases/testBlocks/cp.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 251 |
```xml
<controls:CorePage x:Class="Telegram.Views.Authorization.AuthorizationRecoveryPage"
xmlns="path_to_url"
xmlns:d="path_to_url"
xmlns:x="path_to_url"
xmlns:mc="path_to_url"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
xmlns:controls="using:Telegram.Controls"
Loaded="OnLoaded"
mc:Ignorable="d">
<Page.Transitions>
<TransitionCollection>
<NavigationThemeTransition>
<SlideNavigationTransitionInfo Effect="FromRight" />
</NavigationThemeTransition>
</TransitionCollection>
</Page.Transitions>
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="40" />
<RowDefinition />
</Grid.RowDefinitions>
<Border Background="{ThemeResource PageTitleBackgroundBrush}" />
<Grid x:Name="ContentPanel"
VerticalAlignment="Center"
Padding="12,20"
MaxWidth="360"
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" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock x:Name="TitleLabel"
Text="{CustomResource LoginPassword}"
Style="{StaticResource TitleTextBlockStyle}" />
<TextBlock Text="{CustomResource RestoreEmailSentInfo}"
Style="{StaticResource BodyTextBlockStyle}"
Padding="0,8,0,16"
Grid.Row="1" />
<PasswordBox x:Name="PrimaryInput"
Password="{x:Bind ViewModel.RecoveryCode, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Margin="0,12,0,4"
PlaceholderText="{CustomResource PasswordCode}"
KeyDown="PasswordBox_KeyDown"
Grid.Row="3" />
<muxc:ProgressBar IsIndeterminate="{x:Bind ViewModel.IsLoading, Mode=OneWay}"
Background="Transparent"
Grid.Row="4" />
<Button x:Name="NextButton"
Content="{CustomResource OK}"
Command="{x:Bind ViewModel.SendCommand}"
Style="{StaticResource AccentButtonStyle}"
HorizontalAlignment="Stretch"
Margin="0,4,0,8"
Grid.Row="5" />
<HyperlinkButton Click="{x:Bind ViewModel.Forgot}"
Content="{x:Bind ConvertForgot(ViewModel.RecoveryEmailAddressPattern), Mode=OneWay}"
Grid.Row="6" />
<StackPanel Visibility="{x:Bind (Visibility)ViewModel.IsResettable, Mode=OneWay}"
Margin="0,24,0,0"
Grid.Row="7">
<HyperlinkButton Click="{x:Bind ViewModel.Reset}"
Content="{CustomResource ResetMyAccount}"
Foreground="{ThemeResource DangerButtonBackground}" />
<TextBlock Text="{CustomResource ResetMyAccountText}"
Foreground="{ThemeResource SystemControlDisabledChromeDisabledLowBrush}"
Style="{StaticResource CaptionTextBlockStyle}"
Grid.Row="8" />
</StackPanel>
</Grid>
<controls:VersionLabel VerticalAlignment="Bottom"
HorizontalAlignment="Center"
Grid.Row="1" />
<Border x:Name="TitleBar"
Background="Transparent" />
<controls:BackButton x:Name="Back" />
</Grid>
</controls:CorePage>
``` | /content/code_sandbox/Telegram/Views/Authorization/AuthorizationRecoveryPage.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 766 |
```xml
import pino from 'pino';
import { Writable } from 'stream';
import { createLogger } from '../src';
describe('logger test', () => {
describe('json format', () => {
test('should write json to a stream', () => {
const stream = new Writable({
write(chunk, encoding, callback) {
expect(JSON.parse(chunk.toString())).toEqual(
expect.objectContaining({ level: 30, msg: 'test' })
);
callback();
},
});
const logger = createLogger({ level: 'http' }, stream, 'json', pino);
logger.info('test');
});
});
});
``` | /content/code_sandbox/packages/logger/logger-commons/test/createLogger.spec.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 140 |
```xml
export type { IExtendedEffects, IExtendedSemanticColors } from './types';
export { Fluent2WebDarkTheme } from './fluent2WebDarkTheme';
export { Fluent2WebLightTheme } from './fluent2WebLightTheme';
export { fluent2ComponentStyles } from './fluent2ComponentStyles';
export { getFluent2InputDisabledStyles, getFluent2InputFocusStyles } from './componentStyles/inputStyleHelpers.utils';
``` | /content/code_sandbox/packages/fluent2-theme/src/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 93 |
```xml
import { ComponentViewerEvent } from './ComponentViewerEvent'
export type ComponentEventObserver = (event: ComponentViewerEvent) => void
``` | /content/code_sandbox/packages/models/src/Domain/Abstract/Component/ComponentEventObserver.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 29 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url"
android:fillAfter="true"
android:interpolator="@android:anim/bounce_interpolator">
<scale
android:duration="500"
android:fromXScale="1.0"
android:fromYScale="0.0"
android:toXScale="1.0"
android:toYScale="1.0" />
</set>
``` | /content/code_sandbox/Android/Animations/app/src/main/res/anim/bounce.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 106 |
```xml
import { MSGraphClient } from "@microsoft/sp-http";
import * as MicrosoftGraph from "@microsoft/microsoft-graph-types";
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { IGroup, IGroupCollection } from "../models";
import { GraphRequest } from "@microsoft/microsoft-graph-client";
export class GroupServiceManager {
public context: WebPartContext;
public setup(context: WebPartContext): void {
this.context = context;
}
public getGroups(): Promise<MicrosoftGraph.Group[]> {
return new Promise<MicrosoftGraph.Group[]>((resolve, reject) => {
try {
this.context.msGraphClientFactory
.getClient()
.then((client: MSGraphClient) => {
client
.api("/me/memberOf/$/microsoft.graph.group?$filter=groupTypes/any(a:a eq 'unified')")
.get((error: any, groups: IGroupCollection, rawResponse: any) => {
resolve(groups.value);
});
});
} catch(error) {
console.error(error);
}
});
}
public getGroupLinks(groups: IGroup): Promise<any> {
return new Promise<any>((resolve, reject) => {
try {
this.context.msGraphClientFactory
.getClient()
.then((client: MSGraphClient) => {
client
.api(`/groups/${groups.id}/sites/root/weburl`)
.get((error: any, group: any, rawResponse: any) => {
resolve(group);
});
});
} catch(error) {
console.error(error);
}
});
}
public getGroupThumbnails(groups: IGroup): Promise<any> {
return new Promise<any>((resolve, reject) => {
try {
this.context.msGraphClientFactory
.getClient()
.then((client: MSGraphClient) => {
client
.api(`/groups/${groups.id}/photos/48x48/$value`)
.responseType('blob')
.get((error: any, group: any, rawResponse: any) => {
resolve(window.URL.createObjectURL(group));
});
});
} catch(error) {
console.error(error);
}
});
}
}
const GroupService = new GroupServiceManager();
export default GroupService;
``` | /content/code_sandbox/samples/react-my-groups/src/services/GroupService.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.