text:
NSString *const ATMessageCenterUnreadCountChangedNotification = @"ATMessageCenterUnreadCountChangedNotification";

NSString *const ATAppRatingFlowUserAgreedToRateAppNotification = @"ATAppRatingFlowUserAgreedToRateAppNotification";

NSString *const ATSurveyShownNotification = @"ATSurveyShownNotification";
NSString *const ATSurveySentNotification = @"ATSurveySentNotification";
NSString *const ATSurveyIDKey = @"ATSurveyIDKey";

NSString *const ATConnectCustomPersonDataChangedNotification = @"ATConnectCustomPersonDataChangedNotification";
NSString *const ATConnectCustomDeviceDataChangedNotification = @"ATConnectCustomDeviceDataChangedNotification";

@interface ATConnect () <ATBannerViewControllerDelegate>
@end

@implementation ATConnect {
	NSMutableDictionary *_customPersonData;
	NSMutableDictionary *_customDeviceData;
	NSMutableDictionary *_integrationConfiguration;
}

+ (void)load {
	[UINavigationBar appearanceWhenContainedIn:[ATNavigationController class], nil].barTintColor = [UIColor whiteColor];
}

+ (ATConnect *)sharedConnection {
	static ATConnect *sharedConnection = nil;
	static dispatch_once_t onceToken;
	dispatch_once(&onceToken, ^{
		sharedConnection = [[ATConnect alloc] init];
	});
	return sharedConnection;
}

- (id)init {
	if ((self = [super init])) {
		self.showEmailField = YES;
		_customPersonData = [[NSMutableDictionary alloc] init];
		_customDeviceData = [[NSMutableDictionary alloc] init];
		_integrationConfiguration = [[NSMutableDictionary alloc] init];

		ATLogInfo(@"Apptentive SDK Version %@", kATConnectVersionString);

#if APPTENTIVE_DEBUG_LOG_VIEWER
		self.debuggingOptions = ATConnectDebuggingOptionsShowDebugPanel;
#endif
	}
	return self;
}

- (void)setApiKey:(NSString *)APIKey {
	if (_apiKey != APIKey) {
		_apiKey = APIKey;
		[[ATBackend sharedBackend] setApiKey:self.apiKey];
	}
}

- (NSString *)personName {
	return [ATPersonInfo currentPerson].name;
}

- (void)setPersonName:(NSString *)personName {
	[ATPersonInfo currentPerson].name = personName;
}

- (NSString *)personEmailAddress {
	return [ATPersonInfo currentPerson].emailAddress;
}

- (void)setPersonEmailAddress:(NSString *)personEmailAddress {
	[ATPersonInfo currentPerson].emailAddress = personEmailAddress;
}

- (UIColor *)tintColor {
	return [UIView appearanceWhenContainedIn:[ATNavigationController class], nil].tintColor;
}

- (void)setTintColor:(UIColor *)tintColor {
	[UIView appearanceWhenContainedIn:[ATNavigationController class], nil].tintColor = tintColor;
}

- (void)sendAttachmentText:(NSString *)text {
	[[ATBackend sharedBackend] sendTextMessageWithBody:text hiddenOnClient:YES];
}

- (void)sendAttachmentImage:(UIImage *)image {
	[[ATBackend sharedBackend] sendImageMessageWithImage:image hiddenOnClient:YES];
}

- (void)sendAttachmentFile:(NSData *)fileData withMimeType:(NSString *)mimeType {
	[[ATBackend sharedBackend] sendFileMessageWithFileData:fileData andMimeType:mimeType hiddenOnClient:YES];
}

- (NSDictionary *)customPersonData {
	return _customPersonData;
}

- (NSDictionary *)customDeviceData {
	return _customDeviceData;
}

- (void)addCustomDeviceDataString:(NSString *)string withKey:(NSString *)key {
	[self addCustomDeviceData:string withKey:key];
}

- (void)addCustomDeviceDataNumber:(NSNumber *)number withKey:(NSString *)key {
	[self addCustomDeviceData:number withKey:key];
}

- (void)addCustomDeviceDataBool:(BOOL)boolValue withKey:(NSString *)key {
	[self addCustomDeviceData:@(boolValue) withKey:key];
}

- (void)addCustomPersonDataString:(NSString *)string withKey:(NSString *)key {
	[self addCustomPersonData:string withKey:key];
}

- (void)addCustomPersonDataNumber:(NSNumber *)number withKey:(NSString *)key {
	[self addCustomPersonData:number withKey:key];
}

- (void)addCustomPersonDataBool:(BOOL)boolValue withKey:(NSString *)key {
	[self addCustomPersonData:@(boolValue) withKey:key];
}

+ (NSDictionary *)versionObjectWithVersion:(NSString *)version {
	return @{@"_type": @"version",
			 @"version": version ?: [NSNull null],
			 };
}

+ (NSDictionary *)timestampObjectWithNumber:(NSNumber *)seconds {
	return @{@"_type": @"datetime",
			 @"sec": seconds,
			 };
}

+ (NSDictionary *)timestampObjectWithDate:(NSDate *)date {
	return [self timestampObjectWithNumber:@([date timeIntervalSince1970])];
}

- (void)addCustomPersonData:(NSObject *)object withKey:(NSString *)key {
	[self addCustomData:object withKey:key toCustomDataDictionary:_customPersonData];
	[[NSNotificationCenter defaultCenter] postNotificationName:ATConnectCustomPersonDataChangedNotification object:self.customPersonData];
}

- (void)addCustomDeviceData:(NSObject *)object withKey:(NSString *)key {
	[self addCustomData:object withKey:key toCustomDataDictionary:_customDeviceData];
	[[NSNotificationCenter defaultCenter] postNotificationName:ATConnectCustomDeviceDataChangedNotification object:self.customDeviceData];
}

- (void)addCustomData:(NSObject *)object withKey:(NSString *)key toCustomDataDictionary:(NSMutableDictionary *)customData {
	BOOL simpleType = ([object isKindOfClass:[NSString class]] ||
					   [object isKindOfClass:[NSNumber class]] ||
					   [object isKindOfClass:[NSNull class]]);

	BOOL complexType = NO;
	if ([object isKindOfClass:[NSDictionary class]]) {
		NSString *type = ((NSDictionary *)object)[@"_type"];
		if (type) {
			complexType = (type != nil);
		}
	}

	if (simpleType || complexType) {
		[customData setObject:object forKey:key];
	} else {
		ATLogError(@"Apptentive custom data must be of type NSString, NSNumber, or NSNull, or a 'complex type' NSDictionary created by one of the constructors in ATConnect.h");
	}
}

- (void)removeCustomPersonDataWithKey:(NSString *)key {
	[_customPersonData removeObjectForKey:key];
	[[NSNotificationCenter defaultCenter] postNotificationName:ATConnectCustomPersonDataChangedNotification object:self.customPersonData];
}

- (void)removeCustomDeviceDataWithKey:(NSString *)key {
	[_customDeviceData removeObjectForKey:key];
	[[NSNotificationCenter defaultCenter] postNotificationName:ATConnectCustomDeviceDataChangedNotification object:self.customDeviceData];
}

- (void)addCustomData:(NSObject<NSCoding> *)object withKey:(NSString *)key {
	[self addCustomDeviceData:object withKey:key];
}

- (void)removeCustomDataWithKey:(NSString *)key {
	[self removeCustomDeviceDataWithKey:key];
}

- (void)openAppStore {
	if (!self.appID) {
		ATLogError(@"Cannot open App Store because `[ATConnect sharedConnection].appID` is not set to your app's iTunes App ID.");
		return;
	}

	[[ATEngagementBackend sharedBackend] engageApptentiveAppEvent:@"open_app_store_manually"];

	ATInteraction *appStoreInteraction = [[ATInteraction alloc] init];
	appStoreInteraction.type = @"AppStoreRating";
	appStoreInteraction.priority = 1;
	appStoreInteraction.version = @"1.0.0";
	appStoreInteraction.identifier = @"OpenAppStore";
	appStoreInteraction.configuration = @{@"store_id": self.appID,
										  @"method": @"app_store"};

	[[ATEngagementBackend sharedBackend] presentInteraction:appStoreInteraction fromViewController:nil];
}

- (NSDictionary *)integrationConfiguration {
	return _integrationConfiguration;
}

- (void)setPushNotificationIntegration:(ATPushProvider)pushProvider withDeviceToken:(NSData *)deviceToken {
	[self removeAllPushIntegrations];

	NSString *integrationKey = [self integrationKeyForPushProvider:pushProvider];

	[self addIntegration:integrationKey withDeviceToken:deviceToken];
}

- (void)removeAllPushIntegrations {
	[self removeIntegration:[self integrationKeyForPushProvider:ATPushProviderApptentive]];
	[self removeIntegration:[self integrationKeyForPushProvider:ATPushProviderUrbanAirship]];
	[self removeIntegration:[self integrationKeyForPushProvider:ATPushProviderAmazonSNS]];
	[self removeIntegration:[self integrationKeyForPushProvider:ATPushProviderParse]];
}

- (NSString *)integrationKeyForPushProvider:(ATPushProvider)pushProvider {
	switch (pushProvider) {
		case ATPushProviderApptentive:
			return @"apptentive_push";
		case ATPushProviderUrbanAirship:
			return @"urban_airship";
		case ATPushProviderAmazonSNS:
			return @"aws_sns";
		case ATPushProviderParse:
			return @"parse";
		default:
			return @"UNKNOWN_PUSH_PROVIDER";
	}
}

- (void)addIntegration:(NSString *)integration withConfiguration:(NSDictionary *)configuration {
	[_integrationConfiguration setObject:configuration forKey:integration];

	[[NSNotificationCenter defaultCenter] postNotificationName:ATConnectCustomDeviceDataChangedNotification object:self.customDeviceData];
}

- (void)addIntegration:(NSString *)integration withDeviceToken:(NSData *)deviceToken {
	const unsigned *tokenBytes = [deviceToken bytes];
	NSString *token = [NSString stringWithFormat:@"%08x%08x%08x%08x%08x%08x%08x%08x",
					   ntohl(tokenBytes[0]), ntohl(tokenBytes[1]), ntohl(tokenBytes[2]),
					   ntohl(tokenBytes[3]), ntohl(tokenBytes[4]), ntohl(tokenBytes[5]),
					   ntohl(tokenBytes[6]), ntohl(tokenBytes[7])];

	[[ATConnect sharedConnection] addIntegration:integration withConfiguration:@{@"token": token}];
}

- (void)removeIntegration:(NSString *)integration {
	[_integrationConfiguration removeObjectForKey:integration];

	[[NSNotificationCenter defaultCenter] postNotificationName:ATConnectCustomDeviceDataChangedNotification object:self.customDeviceData];
}

#if TARGET_OS_IPHONE

- (BOOL)willShowInteractionForEvent:(NSString *)event {
	return [self canShowInteractionForEvent:event];
}

- (BOOL)canShowInteractionForEvent:(NSString *)event {
	return [[ATEngagementBackend sharedBackend] canShowInteractionForLocalEvent:event];
}

- (BOOL)engage:(NSString *)event fromViewController:(UIViewController *)viewController {
	return [self engage:event withCustomData:nil fromViewController:viewController];
}

- (BOOL)engage:(NSString *)event withCustomData:(NSDictionary *)customData fromViewController:(UIViewController *)viewController {
	return [self engage:event withCustomData:customData withExtendedData:nil fromViewController:viewController];
}

- (BOOL)engage:(NSString *)event withCustomData:(NSDictionary *)customData withExtendedData:(NSArray *)extendedData fromViewController:(UIViewController *)viewController {
	return [[ATEngagementBackend sharedBackend] engageLocalEvent:event userInfo:nil customData:customData extendedData:extendedData fromViewController:viewController];
}

+ (NSDictionary *)extendedDataDate:(NSDate *)date {
	NSDictionary *time = @{@"time": @{@"version": @1,
									  @"timestamp": @([date timeIntervalSince1970])
									  }
						   };
	return time;
}

+ (NSDictionary *)extendedDataLocationForLatitude:(double)latitude longitude:(double)longitude {
	// Coordinates sent to server in order (longitude, latitude)
	NSDictionary *location = @{@"location": @{@"version": @1,
											  @"coordinates": @[@(longitude), @(latitude)]
											  }
							   };

	return location;
}

+ (NSDictionary *)extendedDataCommerceWithTransactionID:(NSString *)transactionID
											affiliation:(NSString *)affiliation
												revenue:(NSNumber *)revenue
											   shipping:(NSNumber *)shipping
													tax:(NSNumber *)tax
											   currency:(NSString *)currency
										  commerceItems:(NSArray *)commerceItems
{

	NSMutableDictionary *commerce = [NSMutableDictionary dictionary];
	commerce[@"version"] = @1;

	if (transactionID) {
		commerce[@"id"] = transactionID;
	}

	if (affiliation) {
		commerce[@"affiliation"] = affiliation;
	}

	if (revenue != nil) {
		commerce[@"revenue"] = revenue;
	}

	if (shipping != nil) {
		commerce[@"shipping"] = shipping;
	}

	if (tax != nil) {
		commerce[@"tax"] = tax;
	}

	if (currency) {
		commerce[@"currency"] = currency;
	}

	if (commerceItems) {
		commerce[@"items"] = commerceItems;
	}

	return @{@"commerce": commerce};
}

+ (NSDictionary *)extendedDataCommerceItemWithItemID:(NSString *)itemID
												name:(NSString *)name
											category:(NSString *)category
											   price:(NSNumber *)price
											quantity:(NSNumber *)quantity
											currency:(NSString *)currency
{
	NSMutableDictionary *commerceItem = [NSMutableDictionary dictionary];
	commerceItem[@"version"] = @1;

	if (itemID) {
		commerceItem[@"id"] = itemID;
	}

	if (name) {
		commerceItem[@"name"] = name;
	}

	if (category) {
		commerceItem[@"category"] = category;
	}

	if (price != nil) {
		commerceItem[@"price"] = price;
	}

	if (quantity != nil) {
		commerceItem[@"quantity"] = quantity;
	}

	if (currency) {
		commerceItem[@"currency"] = currency;
	}

	return commerceItem;
}

- (BOOL)canShowMessageCenter {
	NSString *messageCenterCodePoint = [[ATInteraction apptentiveAppInteraction] codePointForEvent:ATEngagementMessageCenterEvent];
	return [[ATEngagementBackend sharedBackend] canShowInteractionForCodePoint:messageCenterCodePoint];
}

- (BOOL)presentMessageCenterFromViewController:(UIViewController *)viewController {
	return [[ATBackend sharedBackend] presentMessageCenterFromViewController:viewController];
}

- (BOOL)presentMessageCenterFromViewController:(UIViewController *)viewController withCustomData:(NSDictionary *)customData {
	NSMutableDictionary *allowedCustomMessageData = [NSMutableDictionary dictionary];

	for (NSString *key in [customData allKeys]) {
		[self addCustomData:[customData objectForKey:key] withKey:key toCustomDataDictionary:allowedCustomMessageData];
	}

	return [[ATBackend sharedBackend] presentMessageCenterFromViewController:viewController withCustomData:allowedCustomMessageData];
}

- (BOOL)didReceiveRemoteNotification:(NSDictionary *)userInfo fromViewController:(UIViewController *)viewController {
	return [self didReceiveRemoteNotification:userInfo fromViewController:viewController fetchCompletionHandler:^void(UIBackgroundFetchResult result){
	}];
}

- (BOOL)didReceiveRemoteNotification:(NSDictionary *)userInfo fromViewController:(UIViewController *)viewController fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
	NSDictionary *apptentivePayload = [userInfo objectForKey:@"apptentive"];
	if (apptentivePayload) {
		BOOL shouldCallCompletionHandler = YES;

		switch ([UIApplication sharedApplication].applicationState) {
			case UIApplicationStateBackground: {
				NSNumber *contentAvailable = userInfo[@"aps"][@"content-available"];
				if (contentAvailable.boolValue) {
					shouldCallCompletionHandler = NO;
					[[ATBackend sharedBackend] fetchMessagesInBackground:completionHandler];
				}
				break;
			}
			case UIApplicationStateInactive:
				// Present Apptentive UI later, when Application State is Active
				self.pushUserInfo = userInfo;
				self.pushViewController = viewController;
				break;
			case UIApplicationStateActive:
				self.pushUserInfo = nil;
				self.pushViewController = nil;

				NSString *action = [apptentivePayload objectForKey:@"action"];
				if ([action isEqualToString:@"pmc"]) {
					[self presentMessageCenterFromViewController:viewController];
				} else {
					[[ATBackend sharedBackend] checkForMessages];
				}
				break;
		}

		if (shouldCallCompletionHandler && completionHandler) {
			completionHandler(UIBackgroundFetchResultNoData);
		}
	}

	return (apptentivePayload != nil);
}

- (void)resetUpgradeData {
	[[ATEngagementBackend sharedBackend] resetUpgradeVersionInfo];
}

- (NSArray *)engagementInteractions {
	return [[ATEngagementBackend sharedBackend] allEngagementInteractions];
}

- (NSInteger)numberOfEngagementInteractions {
	return [[self engagementInteractions] count];
}

- (NSString *)engagementInteractionNameAtIndex:(NSInteger)index {
	ATInteraction *interaction = [[self engagementInteractions] objectAtIndex:index];

	return [interaction.configuration objectForKey:@"name"] ?: [interaction.configuration objectForKey:@"title"] ?: @"Untitled Interaction";
}

- (NSString *)engagementInteractionTypeAtIndex:(NSInteger)index {
	ATInteraction *interaction = [[self engagementInteractions] objectAtIndex:index];

	return interaction.type;
}

- (void)presentInteractionAtIndex:(NSInteger)index fromViewController:(UIViewController *)viewController {
	[[ATEngagementBackend sharedBackend] presentInteraction:[self.engagementInteractions objectAtIndex:index] fromViewController:viewController];
}

- (void)dismissMessageCenterAnimated:(BOOL)animated completion:(void (^)(void))completion {
	[[ATBackend sharedBackend] dismissMessageCenterAnimated:animated completion:completion];
}

- (NSUInteger)unreadMessageCount {
	return [[ATBackend sharedBackend] unreadMessageCount];
}

- (UIView *)unreadMessageCountAccessoryView:(BOOL)apptentiveHeart {
	if (apptentiveHeart) {
		return [ATUnreadMessagesBadgeView unreadMessageCountViewBadgeWithApptentiveHeart];
	} else {
		return [ATUnreadMessagesBadgeView unreadMessageCountViewBadge];
	}
}

#elif TARGET_OS_MAC
- (IBAction)showFeedbackWindow:(id)sender {
	if (![[ATBackend sharedBackend] currentFeedback]) {
		ATFeedback *feedback = [[ATFeedback alloc] init];
		if (additionalFeedbackData && [additionalFeedbackData count]) {
			[feedback addExtraDataFromDictionary:additionalFeedbackData];
		}
		if (self.initialName && [self.initialName length] > 0) {
			feedback.name = self.initialName;
		}
		if (self.initialEmailAddress && [self.initialEmailAddress length] > 0) {
			feedback.email = self.initialEmailAddress;
		}
		[[ATBackend sharedBackend] setCurrentFeedback:feedback];
		[feedback release];
		feedback = nil;
	}

	if (!feedbackWindowController) {
		feedbackWindowController = [[ATFeedbackWindowController alloc] initWithFeedback:[[ATBackend sharedBackend] currentFeedback]];
	}
	[feedbackWindowController showWindow:self];
}
#endif

+ (NSBundle *)resourceBundle {
#if TARGET_OS_IPHONE
	NSString *path = [[NSBundle bundleForClass:[ATBackend class]] bundlePath];
	NSString *bundlePath = [path stringByAppendingPathComponent:@"ApptentiveResources.bundle"];
	NSFileManager *fm = [NSFileManager defaultManager];
	if ([fm fileExistsAtPath:bundlePath]) {
		NSBundle *bundle = [[NSBundle alloc] initWithPath:bundlePath];
		return bundle;
	} else {
		// Try trigger.io path.
		bundlePath = [path stringByAppendingPathComponent:@"apptentive.bundle"];
		bundlePath = [bundlePath stringByAppendingPathComponent:@"ApptentiveResources.bundle"];
		if ([fm fileExistsAtPath:bundlePath]) {
			NSBundle *bundle = [[NSBundle alloc] initWithPath:bundlePath];
			return bundle;
		} else {
			// Try Titanium path.
			bundlePath = [path stringByAppendingPathComponent:@"modules"];
			bundlePath = [bundlePath stringByAppendingPathComponent:@"com.apptentive.titanium"];
			bundlePath = [bundlePath stringByAppendingPathComponent:@"ApptentiveResources.bundle"];
			if ([fm fileExistsAtPath:bundlePath]) {
				NSBundle *bundle = [[NSBundle alloc] initWithPath:bundlePath];
				return bundle;
			} else {
				return nil;
			}
		}
	}
#elif TARGET_OS_MAC
	NSBundle *bundle = [NSBundle bundleForClass:[ATConnect class]];
	return bundle;
#endif
}

#pragma mark - Message notification banner

- (void)showNotificationBannerForMessage:(ATMessage *)message {
	if ([ATBackend sharedBackend].notificationPopupsEnabled && [message isKindOfClass:[ATMessage class]]) {
		// TODO: Display something if body is empty
		ATMessage *textMessage = (ATMessage *)message;
		NSURL *profilePhotoURL = textMessage.sender.profilePhotoURL ? [NSURL URLWithString:textMessage.sender.profilePhotoURL] : nil;

		ATBannerViewController *banner = [ATBannerViewController bannerWithImageURL:profilePhotoURL title:textMessage.sender.name message:textMessage.body];

		banner.delegate = self;

		[banner show];
	}
}

- (void)userDidTapBanner:(ATBannerViewController *)banner {
	[self presentMessageCenterFromViewController:[self viewControllerForInteractions]];
}

- (UIViewController *)viewControllerForInteractions {
	if (self.delegate && [self.delegate respondsToSelector:@selector(viewControllerForInteractionsWithConnection:)]) {
		return [self.delegate viewControllerForInteractionsWithConnection:self];
	} else {
		return [ATUtilities topViewController];
	}
}

+ (UIStoryboard *)storyboard {
	return [UIStoryboard storyboardWithName:@"Apptentive" bundle:[ATConnect resourceBundle]];
}

@end

@implementation ATNavigationController
// Container to allow customization of Apptentive UI using UIAppearance
@end

NSString *ATLocalizedString(NSString *key, NSString *comment) {
	static NSBundle *bundle = nil;
	if (!bundle) {
		bundle = [ATConnect resourceBundle];
	}
	NSString *result = [bundle localizedStringForKey:key value:key table:nil];
	return result;
}


text:
namespace DiscUtils.SquashFs
{
    internal enum InodeType : ushort
    {
        Directory = 1,
        File = 2,
        Symlink = 3,
        BlockDevice = 4,
        CharacterDevice = 5,
        Fifo = 6,
        Socket = 7,
        ExtendedDirectory = 8,
        ExtendedFile = 9,
        ExtendedSymlink = 10,
        ExtendedBlockDevice = 11,
        ExtendedCharacterDevice = 12,
        ExtendedFifo = 13,
        ExtendedSocket = 14
    }
}

redpajama_set_name: RedPajamaGithub


text:
/** Automatically generated file. DO NOT MODIFY */
package com.roamtouch.gesturekit.helper;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}


text:
package dk.dma.common.exception;

import dk.dma.common.dto.JSonError;
import lombok.Getter;

/**
 * @author Klaus Groenbaek
 *         Created 03/04/17.
 */

@Getter
public class APIException extends RuntimeException {

    private static String createMessage(ErrorMessage error, String details) {
        if (details == null) {
            details = "";
        }
        return error.getMessage() + " " + details;
    }

    private final ErrorMessage error;
    private final String details;

    public APIException(ErrorMessage error) {
        this(error, null);
    }

    public APIException(ErrorMessage error, String details) {
        super(createMessage(error, details));
        this.error = error;
        this.details = details;

    }

    public JSonError toJsonError() {
        return error.toJsonError().setDetails(details);
    }
}


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
null

#### Original name
Pezizella tjibodensis Penz. & Sacc.

### Remarks
null


text:
package compiler.language.parser.rules.misc;

import static compiler.language.parser.ParseType.COMMA;
import static compiler.language.parser.ParseType.DECLARATION_ASSIGNEE;
import static compiler.language.parser.ParseType.DECLARATION_ASSIGNEE_LIST;
import parser.ParseException;
import parser.Production;
import parser.Rule;

import compiler.language.LexicalPhrase;
import compiler.language.ast.misc.DeclarationAssigneeAST;
import compiler.language.parser.ParseList;
import compiler.language.parser.ParseType;

/*
 * Created on 12 Aug 2010
 */

/**
 * @author Anthony Bryant
 */
public final class DeclarationAssigneeListRule extends Rule<ParseType>
{
  private static final long serialVersionUID = 1L;

  private static final Production<ParseType> START_PRODUCTION = new Production<ParseType>(DECLARATION_ASSIGNEE);
  private static final Production<ParseType> CONTINUATION_PRODUCTION = new Production<ParseType>(DECLARATION_ASSIGNEE_LIST, COMMA, DECLARATION_ASSIGNEE);

  @SuppressWarnings("unchecked")
  public DeclarationAssigneeListRule()
  {
    super(DECLARATION_ASSIGNEE_LIST, START_PRODUCTION, CONTINUATION_PRODUCTION);
  }

  /**
   * {@inheritDoc}
   * @see parser.Rule#match(parser.Production, java.lang.Object[])
   */
  @Override
  public Object match(Production<ParseType> production, Object[] args) throws ParseException
  {
    if (START_PRODUCTION.equals(production))
    {
      DeclarationAssigneeAST assignee = (DeclarationAssigneeAST) args[0];
      return new ParseList<DeclarationAssigneeAST>(assignee, assignee.getLexicalPhrase());
    }
    if (CONTINUATION_PRODUCTION.equals(production))
    {
      @SuppressWarnings("unchecked")
      ParseList<DeclarationAssigneeAST> list = (ParseList<DeclarationAssigneeAST>) args[0];
      DeclarationAssigneeAST assignee = (DeclarationAssigneeAST) args[2];
      list.addLast(assignee, LexicalPhrase.combine(list.getLexicalPhrase(), (LexicalPhrase) args[1], assignee.getLexicalPhrase()));
      return list;
    }
    throw badTypeList();
  }

}


text:
package os

import "syscall"

// supportsCloseOnExec reports whether the platform supports the
// O_CLOEXEC flag.
var supportsCloseOnExec bool

func init() {
	osrel, err := syscall.SysctlUint32("kern.osreldate")
	if err != nil {
		return
	}
	// The O_CLOEXEC flag was introduced in FreeBSD 8.3.
	// See http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html.
	if osrel >= 803000 {
		supportsCloseOnExec = true
	}
}


text:
from __future__ import print_function

import sys
sys.path.insert(0, '../')
from charCodeMapping import CHAR_TO_CODE

ATTRIBUTE_SYMBOL_MAPPING = {
    0: ' ',
    1: ' ',
    2: 'B',
    2097154: '*',  # bold white
    131072: '_',
    3: 'G',
    4: 'R',
    5: '?',
    6: '!',
    2097153: 'W',
    2097155: '|', # bold
    2097156: '/', # bold
    2097158: '~', # bold
    2097157: '@', # bold
    7: '?',
}

class ScreenForTest(object):

    """A dummy object that is dependency-injected in place
    of curses standard screen. Allows us to unit-test parts
    of the UI code"""

    def __init__(self, charInputs, maxX, maxY):
        self.maxX = maxX
        self.maxY = maxY
        self.cursorX = 0
        self.cursorY = 0
        self.output = {}
        self.pastScreens = []
        self.charInputs = charInputs
        self.erase()
        self.currentAttribute = 0

    def getmaxyx(self):
        return (self.maxY, self.maxX)

    def refresh(self):
        if self.containsContent(self.output):
            # we have an old screen, so add it
            self.pastScreens.append(dict(self.output))

    def containsContent(self, screen):
        for coord, pair in screen.items():
            (char, attr) = pair
            if char:
                return True
        return False

    def erase(self):
        self.output = {}
        for x in range(self.maxX):
            for y in range(self.maxY):
                coord = (x, y)
                self.output[coord] = ('', 1)

    def move(self, y, x):
        self.cursorY = y
        self.cursorX = x

    def attrset(self, attr):
        self.currentAttribute = attr

    def addstr(self, y, x, string, attr=None):
        if attr:
            self.attrset(attr)
        for deltaX in range(len(string)):
            coord = (x + deltaX, y)
            self.output[coord] = (string[deltaX], self.currentAttribute)

    def delch(self, y, x):
        '''Delete a character. We implement this by removing the output,
        NOT by printing a space'''
        self.output[(x, y)] = ('', 1)

    def getch(self):
        return CHAR_TO_CODE[self.charInputs.pop(0)]

    def getstr(self, y, x, maxLen):
        # TODO -- enable editing this
        return ''

    def printScreen(self):
        for index, row in enumerate(self.getRows()):
            print("Row %02d:%s" % (index, row))

    def printOldScreens(self):
        for oldScreen in range(self.getNumPastScreens()):
            for index, row in enumerate(self.getRowsForPastScreen(oldScreen)):
                print("Screen %02d Row %02d:%s" % (oldScreen, index, row))

    def getNumPastScreens(self):
        return len(self.pastScreens)

    def getRowsForPastScreen(self, pastScreen):
        return self.getRows(screen=self.pastScreens[pastScreen])

    def getRowsWithAttributesForPastScreen(self, pastScreen):
        return self.getRowsWithAttributes(screen=self.pastScreens[pastScreen])

    def getRowsWithAttributesForPastScreens(self, pastScreens):
        '''Get the rows & attributes for the array of screens as one stream
        (there is no extra new line or extra space between pages)'''
        pages = map(lambda screenIndex: self.getRowsWithAttributes(
            screen=self.pastScreens[screenIndex]), pastScreens)

        # join the pages together into one stream
        lines, attributes = zip(*pages)
        return ([line for page in lines for line in page],
                [line for page in attributes for line in page])

    def getRowsWithAttributes(self, screen=None):
        if not screen:
            screen = self.output

        rows = []
        attributeRows = []
        for y in range(self.maxY):
            row = ''
            attributeRow = ''
            for x in range(self.maxX):
                coord = (x, y)
                (char, attr) = screen[coord]
                row += char
                attributeRow += self.getAttributeSymbolForCode(attr)
            rows.append(row)
            attributeRows.append(attributeRow)
        return (rows, attributeRows)

    def getRows(self, screen=None):
        (rows, _) = self.getRowsWithAttributes(screen)
        return rows

    def getAttributeSymbolForCode(self, code):
        symbol = ATTRIBUTE_SYMBOL_MAPPING.get(code, None)
        if symbol is None:
            raise ValueError('%d not mapped' % code)
        return symbol


text:
import aggregate.ToDoItem;
import commands.CreateToDoItemCommand;
import commands.MarkCompletedCommand;
import events.ToDoItemCompletedEvent;
import events.ToDoItemCreatedEvent;
import org.axonframework.test.FixtureConfiguration;
import org.axonframework.test.Fixtures;
import org.junit.Before;
import org.junit.Test;

/**
 * Created by Nikitash Pawar on 10/11/2015.
 */
public class ToDoItemTest {
    private FixtureConfiguration fixture;

    @Before
    public void setUp() throws Exception {
        fixture = Fixtures.newGivenWhenThenFixture(ToDoItem.class);
    }

    @Test
    public void testCreateToDoItem() throws Exception {
        fixture.given()
                .when(new CreateToDoItemCommand("todo1", "need to implement the aggregate"))
                .expectEvents(new ToDoItemCreatedEvent("todo1", "need to implement the aggregate"));
    }

    @Test
    public void testMarkToDoItemAsCompleted() throws Exception {
        fixture.given(new ToDoItemCreatedEvent("todo1", "need to implement the aggregate"))
                .when(new MarkCompletedCommand("todo1"))
                .expectEvents(new ToDoItemCompletedEvent("todo1"));
    }
}


text:
FapHub.xxx has been closed.

Check PornDope.com for your porn video needs (no ads!)

or check PornDabster.com to find the best porn sites list.


text:
/* Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.flowable.spring.boot;

import org.flowable.spring.SpringProcessEngineConfiguration;

/**
 * Interface to be implemented by a bean that does some extra configuration of the SpringProcessEngineConfiguration. If such a bean is defined, it will be called when the process engine configuration
 * is created and the default values have been set.
 *
 * @author Joram Barrez
 */
public interface ProcessEngineConfigurationConfigurer {

    void configure(SpringProcessEngineConfiguration processEngineConfiguration);

}


text:
#include "win32/TreeView.h"
#include "win32/Header.h"
#include "win32/DblBufferedCtrl.h"

namespace Framework
{

	namespace Win32
	{

		class CColumnTreeView : public CWindow
		{
		public:
			struct MESSAGE : public NMHDR
			{
				NMHDR* pOriginalMsg;
			};
											CColumnTreeView(HWND, const RECT&, unsigned long = 0);
			virtual							~CColumnTreeView();
			CHeader*						GetHeader();
			CTreeView*						GetTreeView();

		protected:
			long							OnSize(unsigned int, unsigned int, unsigned int);
			long							OnEraseBkgnd();
			long							OnNotify(WPARAM, NMHDR*);

		private:
			void							UpdateLayout();
			void							ComputeHeaderHeight();
			void							DrawColumnLines(HDC);
			void							DrawItem(NMTVCUSTOMDRAW*);

			unsigned int					m_nHeaderHeight;
			CDblBufferedCtrl<CTreeView>*	m_pTreeView;
			CHeader*						m_pHeader;
		};

	}

}

#endif


text:
set -euv
set -o pipefail

## Vars ----------------------------------------------------------------------

export DEPLOY_AIO="true"

if [[ ${RE_JOB_IMAGE} =~ no_artifacts$ ]]; then
  # Set the env var to disable artifact usage
  export RPC_APT_ARTIFACT_ENABLED="no"

  # Upgrade to the absolute latest
  # available packages.
  apt-get update
  DEBIAN_FRONTEND=noninteractive apt-get -y upgrade

elif [[ ${RE_JOB_IMAGE} =~ loose_artifacts$ ]]; then
  # Set the apt artifact mode
  export RPC_APT_ARTIFACT_MODE="loose"

  # Upgrade to the absolute latest
  # available packages.
  apt-get update
  DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
fi

# In order to get the value for rpc_release, we need to use
# a python script, so we need to make sure that python and
# the python yaml library are installed. If not, the value
# for rpc_release cannot be read and the check for the value
# will result in a null return, causing all artifacts to be
# disabled.
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal python-yaml

# When a PR contains a change to rpc_release, there may not
# be any artifacts for the new release version. If this is
# the case then we need to disable the artifact usage. In
# order to figure out whether there are artifacts available,
# we need to source the functions so that we have the right
# variables available to use.
source $(dirname ${0})/../../scripts/functions.sh

# Check for available artifacts and disable artifact usage
# if they are not available.
CHECK_URL="${HOST_RCBOPS_REPO}/apt-mirror/integrated/dists/${RPC_RELEASE}-${DISTRIB_CODENAME}"
if ! curl --output /dev/null --silent --head --fail ${CHECK_URL}; then
  export RPC_APT_ARTIFACT_ENABLED="no"
fi

## Functions -----------------------------------------------------------------

## Main ----------------------------------------------------------------------

# Run the deployment script
bash -c "$(readlink -f $(dirname ${0})/../../scripts/deploy.sh)"


text:
from swgpy.object import *

def create(kernel):
	result = Tangible()

	result.template = "object/tangible/deed/corellia/player_house_deed/shared_corellia_house_small_deed.iff"
	result.attribute_template_id = 2
	result.stfName("deed","corellia_house_small_deed")

	#### BEGIN MODIFICATIONS ####
	####  END MODIFICATIONS  ####

	return result


text:
license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

           http://www.apache.org/licenses/LICENSE-2.0

         Unless required by applicable law or agreed to in writing,
         software distributed under the License is distributed on an
         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         KIND, either express or implied.  See the License for the
         specific language governing permissions and limitations

   under the License.
---

# ContactError

A `ContactError` объект передается в `contactError` обратного вызова при возникновении ошибки.

## Свойства

*   **код**: один из кодов стандартных ошибок, перечисленные ниже.

## Константы

*   `ContactError.UNKNOWN_ERROR`
*   `ContactError.INVALID_ARGUMENT_ERROR`
*   `ContactError.TIMEOUT_ERROR`
*   `ContactError.PENDING_OPERATION_ERROR`
*   `ContactError.IO_ERROR`
*   `ContactError.NOT_SUPPORTED_ERROR`
*   `ContactError.PERMISSION_DENIED_ERROR`

## Описание

`ContactError`Объект возвращается пользователю через `contactError` функцию обратного вызова при возникновении ошибки.


text:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<!--L
   Copyright SAIC
   Copyright SAIC-Frederick

   Distributed under the OSI-approved BSD 3-Clause License.
   See http://ncip.github.com/cananolab/LICENSE.txt for details.
L-->

<WebWorksHelpMessages version="4.0.0" default="en">
  <Resources locale="de">
    <StaticString key="ContentsTabLabel" value="Inhalt" />
    <StaticString key="IndexTabLabel" value="Index" />
    <StaticString key="IndexDisplayButtonLabel" value="Anzeigen" />
    <StaticString key="SearchTabLabel" value="Suchen" />
    <StaticString key="SearchQueryLabel" value="Geben Sie das Wort bzw. die Worte ein, nach denen gesucht werden soll:" />
    <StaticString key="SearchScopeLabel" value="Legen Sie den Umfang der Suche fest:" />
    <StaticString key="FavoritesTabLabel" value="Favoriten" />
    <StaticString key="FavoritesListLabel" value="Seiten:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Entfernen" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Anzeigen" />
    <StaticString key="FavoritesCurrentPageLabel" value="Aktuelle Seite:" />
    <StaticString key="FavoritesAddButtonLabel" value="Hinzufügen" />
    <StaticString key="IndexJumpDialogTitle" value="Es wurden mehrere Themen gefunden" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Abbrechen" />
    <StaticString key="SyncIconLabel" value="Im Inhalt anzeigen" />
    <StaticString key="PrevIconLabel" value="Zurück" />
    <StaticString key="NextIconLabel" value="Weiter" />
    <StaticString key="RelatedTopicsIconLabel" value="Verwandte Themen" />
    <StaticString key="EmailIconLabel" value="E-Mail" />
    <StaticString key="PrintIconLabel" value="Drucken" />
    <StaticString key="BookmarkIconLabel" value="Lesezeichen" />
    <StaticString key="BookmarkLinkMessage" value="Klicken Sie mit der rechten Maustaste auf die Verknüpfung, und fügen Sie sie Ihren Lesezeichen hinzu." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Titel" />
    <StaticString key="BookColumnLabel" value="Buch" />
    <StaticString key="RankColumnLabel" value="Rang" />
    <StaticString key="ContentsSyncErrorStatus" value="Die aktuelle Seite wurde nicht im Inhalt gefunden." />
    <StaticString key="IndexMultipleEntriesMessage" value="Das von Ihnen gewählte Indexwort bzw. der gewählte Indexbegriff tritt in mehreren Dokumenten auf." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Wählen Sie ein Dokument aus." />
    <StaticString key="SearchButtonLabel" value="Suchen" />
    <StaticString key="SearchScopeAllLabel" value="Alle verfügbaren Bücher" />
    <StaticString key="SearchNoResultsMessage" value="(keine Ergebnisse)" />
    <StaticString key="UseAccessibleHTML" value="Brauchen Sie Unterstützung für zugreifbare HTML?" />
    <StaticString key="BrowserNotSupported1" value="Ihr Webbrowser unterstützt die zum ordnungsgemäßen Anzeigen\ndieser Seite erforderlichen Funktionen nicht. Folgende Browser werden unterstützt:\n\n IE4 und höher für Windows und UNIX\n IE5 und höher für Mac\n Netscape 6.1 und höher für Windows, Mac und UNIX\n Netscape 4.x für Windows, Mac und UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Navigation anzeigen" />
    <StaticString key="Initializing" value="Daten werden geladen..." />
    <StaticString key="SearchSearchingStatus" value="(Suchen)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Dokument" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Deaktivierte Schaltfläche %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Klicken Sie hier, um zum Quelldokument zu gelangen." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="%s auswählen" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s-Navigation" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="Registerkarte '%s' aktiv" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Zu Registerkarte '%s' umschalten" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Buch '%s' erweitert" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Buch '%s' zusammegezogen" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Thema '%s'" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s von %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Thema '%s', Buch '%s'" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Thema '%s', Buch '%s', Link '%s'" />
    <StaticString key="SeeAlsoLabel" value="Siehe auch" />
  </Resources>
  <Resources locale="en">
    <StaticString key="ContentsTabLabel" value="Contents" />
    <StaticString key="IndexTabLabel" value="Index" />
    <StaticString key="IndexDisplayButtonLabel" value="Display" />
    <StaticString key="SearchTabLabel" value="Search" />
    <StaticString key="SearchQueryLabel" value="Type in the word(s) to search for:" />
    <StaticString key="SearchScopeLabel" value="Choose the scope of the search:" />
    <StaticString key="FavoritesTabLabel" value="Favorites" />
    <StaticString key="FavoritesListLabel" value="Pages:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Remove" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Display" />
    <StaticString key="FavoritesCurrentPageLabel" value="Current page:" />
    <StaticString key="FavoritesAddButtonLabel" value="Add" />
    <StaticString key="IndexJumpDialogTitle" value="Multiple Topics Found" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Cancel" />
    <StaticString key="SyncIconLabel" value="Show in Contents" />
    <StaticString key="PrevIconLabel" value="Previous" />
    <StaticString key="NextIconLabel" value="Next" />
    <StaticString key="RelatedTopicsIconLabel" value="Related Topics" />
    <StaticString key="EmailIconLabel" value="E-mail" />
    <StaticString key="PrintIconLabel" value="Print" />
    <StaticString key="BookmarkIconLabel" value="Bookmark" />
    <StaticString key="BookmarkLinkMessage" value="Right-click link and add it to your bookmarks." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Title" />
    <StaticString key="BookColumnLabel" value="Book" />
    <StaticString key="RankColumnLabel" value="Rank" />
    <StaticString key="ContentsSyncErrorStatus" value="The current page could not be found in the table of contents." />
    <StaticString key="IndexMultipleEntriesMessage" value="The index word or phrase you chose occurs in multiple documents." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Please choose one." />
    <StaticString key="SearchButtonLabel" value="Go!" />
    <StaticString key="SearchScopeAllLabel" value="All Available Books" />
    <StaticString key="SearchNoResultsMessage" value="(no results)" />
    <StaticString key="UseAccessibleHTML" value="Do you require accessible HTML support?" />
    <StaticString key="BrowserNotSupported1" value="Your web browser does not support the necessary features\nrequired to view this page properly.  Supported browsers are:\n\n  IE4 and later on Windows and UNIX\n  IE5 and later on Mac\n  Netscape 6.1 and later on Windows, Mac, and UNIX\n  Netscape 4.x on Windows, Mac, and UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Show Navigation" />
    <StaticString key="Initializing" value="Loading data..." />
    <StaticString key="SearchSearchingStatus" value="(searching)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Document" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Disabled button %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Click here to go to the source document." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Select %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s navigation" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="%s tab is active" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Switch to %s tab" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Book %s expanded" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Book %s collapsed" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Topic %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s of %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Topic %s of Book %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Topic %s of Book %s link %s" />
    <StaticString key="SeeAlsoLabel" value="See Also" />
  </Resources>
  <Resources locale="es">
    <StaticString key="ContentsTabLabel" value="Contenido" />
    <StaticString key="IndexTabLabel" value="Índice" />
    <StaticString key="IndexDisplayButtonLabel" value="Mostrar" />
    <StaticString key="SearchTabLabel" value="Buscar" />
    <StaticString key="SearchQueryLabel" value="Escriba las palabras que desee buscar:" />
    <StaticString key="SearchScopeLabel" value="Elija el ámbito de la búsqueda:" />
    <StaticString key="FavoritesTabLabel" value="Favoritos" />
    <StaticString key="FavoritesListLabel" value="Páginas:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Quitar" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Mostrar" />
    <StaticString key="FavoritesCurrentPageLabel" value="Página actual:" />
    <StaticString key="FavoritesAddButtonLabel" value="Agregar" />
    <StaticString key="IndexJumpDialogTitle" value="Se encontró más de un tema" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Cancelar" />
    <StaticString key="SyncIconLabel" value="Mostrar en Contenido" />
    <StaticString key="PrevIconLabel" value="Atrás" />
    <StaticString key="NextIconLabel" value="Adelante" />
    <StaticString key="RelatedTopicsIconLabel" value="Temas relacionados" />
    <StaticString key="EmailIconLabel" value="E-mail" />
    <StaticString key="PrintIconLabel" value="Imprimir" />
    <StaticString key="BookmarkIconLabel" value="Marcador" />
    <StaticString key="BookmarkLinkMessage" value="Haga clic con el botón derecho del mouse en el vínculo para agregarlo a la lista de favoritos." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Título" />
    <StaticString key="BookColumnLabel" value="Libro" />
    <StaticString key="RankColumnLabel" value="Clase" />
    <StaticString key="ContentsSyncErrorStatus" value="Esta página no se encontró en el índice de contenidos." />
    <StaticString key="IndexMultipleEntriesMessage" value="La frase o palabra del índice elegida aparece en varios documentos." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Elija uno." />
    <StaticString key="SearchButtonLabel" value="Ir" />
    <StaticString key="SearchScopeAllLabel" value="Todos los libros disponibles" />
    <StaticString key="SearchNoResultsMessage" value="(ningún resultado)" />
    <StaticString key="UseAccessibleHTML" value="¿requiere asistencia accesible a través de HTML?" />
    <StaticString key="BrowserNotSupported1" value="Su explorador de Internet no es compatible con las funciones\nnecesarias para ver esta página correctamente. Los exploradores compatibles son:\n\n IE4 y posteriores para Windows y UNIX\n IE5 y posteriores para Mac\n Netscape 6.1 y posteriores para Windows, Mac y UNIX\n Netscape 4.x para Windows, Mac y UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Mostrar barra de navegación" />
    <StaticString key="Initializing" value="Cargando datos..." />
    <StaticString key="SearchSearchingStatus" value="(buscando)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Documento" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Botón desactivado %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Haga clic aquí para ir al documento original." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Seleccione %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="Navegación %s" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="La ficha %s está activa" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Cambie a la ficha %s" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="El libro %s está expandido" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="El libro %s está contraído" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Tema %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s de %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Tema %s del libro %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Tema %s del libro %s vínculo %s" />
    <StaticString key="SeeAlsoLabel" value="Consulte también" />
  </Resources>
  <Resources locale="fr">
    <StaticString key="ContentsTabLabel" value="Table des matières" />
    <StaticString key="IndexTabLabel" value="Index" />
    <StaticString key="IndexDisplayButtonLabel" value="Afficher" />
    <StaticString key="SearchTabLabel" value="Rechercher" />
    <StaticString key="SearchQueryLabel" value="Saisissez un ou plusieurs mots clés :" />
    <StaticString key="SearchScopeLabel" value="Choisissez l'étendue de votre recherche :" />
    <StaticString key="FavoritesTabLabel" value="Favoris" />
    <StaticString key="FavoritesListLabel" value="Pages :" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Supprimer" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Afficher" />
    <StaticString key="FavoritesCurrentPageLabel" value="Page courante :" />
    <StaticString key="FavoritesAddButtonLabel" value="Ajouter" />
    <StaticString key="IndexJumpDialogTitle" value="Plusieurs rubriques trouvées" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Annuler" />
    <StaticString key="SyncIconLabel" value="Afficher dans la table des matières" />
    <StaticString key="PrevIconLabel" value="Précédent" />
    <StaticString key="NextIconLabel" value="Suivant" />
    <StaticString key="RelatedTopicsIconLabel" value="Rubriques associées" />
    <StaticString key="EmailIconLabel" value="Courrier électronique" />
    <StaticString key="PrintIconLabel" value="Imprimer" />
    <StaticString key="BookmarkIconLabel" value="Ajouter aux Favoris" />
    <StaticString key="BookmarkLinkMessage" value="Cliquez sur ce lien avec le bouton droit de la souris et ajoutez-le à vos Favoris." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Titre" />
    <StaticString key="BookColumnLabel" value="Livre" />
    <StaticString key="RankColumnLabel" value="Pertinence" />
    <StaticString key="ContentsSyncErrorStatus" value="Page introuvable dans la table des matières." />
    <StaticString key="IndexMultipleEntriesMessage" value="Le terme ou l'expression d'index que vous avez choisis apparaissent dans plusieurs documents." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Sélectionnez-en un." />
    <StaticString key="SearchButtonLabel" value="Lancer" />
    <StaticString key="SearchScopeAllLabel" value="Tous les livres disponibles" />
    <StaticString key="SearchNoResultsMessage" value="(aucun résultat)" />
    <StaticString key="UseAccessibleHTML" value="Avez-vous besoin de support pour le HTML accessible ?" />
    <StaticString key="BrowserNotSupported1" value="Votre navigateur Web ne prend pas en charge les fonctions\nrequises pour visualiser cette page de manière correcte. Les navigateurs pris en charge sont :\n\n IE4 et version ultérieure sous Windows et UNIX\n IE5 et version ultérieure sur Mac\n Netscape 6.1 et version ultérieure sous Windows, Mac et UNIX\n Netscape 4.x sous Windows, Mac et UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Navigation" />
    <StaticString key="Initializing" value="Chargement des données..." />
    <StaticString key="SearchSearchingStatus" value="(recherche en cours)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Document" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Bouton désactivé %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Cliquez ici pour atteindre le document source." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Sélectionner %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="Navigation %s" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="L'onglet %s est actif" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Placez-vous sous l'onglet %s" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Livre %s étendu" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Livre %s réduit" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Rubrique %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s/%s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Rubrique %s du livre %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Rubrique %s du lien %s du livre %s" />
    <StaticString key="SeeAlsoLabel" value="Voir aussi" />
  </Resources>
  <Resources locale="it">
    <StaticString key="ContentsTabLabel" value="Contenuto" />
    <StaticString key="IndexTabLabel" value="Indice" />
    <StaticString key="IndexDisplayButtonLabel" value="Visualizza" />
    <StaticString key="SearchTabLabel" value="Cerca" />
    <StaticString key="SearchQueryLabel" value="Digitare le parole da cercare:" />
    <StaticString key="SearchScopeLabel" value="Selezionare l'ambito della ricerca:" />
    <StaticString key="FavoritesTabLabel" value="Preferiti" />
    <StaticString key="FavoritesListLabel" value="Pagine:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Rimuovi" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Visualizza" />
    <StaticString key="FavoritesCurrentPageLabel" value="Pagina corrente:" />
    <StaticString key="FavoritesAddButtonLabel" value="Aggiungi" />
    <StaticString key="IndexJumpDialogTitle" value="Sono stati trovati più argomenti" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Annulla" />
    <StaticString key="SyncIconLabel" value="Mostra in Contenuto" />
    <StaticString key="PrevIconLabel" value="Precedente" />
    <StaticString key="NextIconLabel" value="Avanti" />
    <StaticString key="RelatedTopicsIconLabel" value="Argomenti correlati" />
    <StaticString key="EmailIconLabel" value="E-mail" />
    <StaticString key="PrintIconLabel" value="Stampa" />
    <StaticString key="BookmarkIconLabel" value="Segnalibro" />
    <StaticString key="BookmarkLinkMessage" value="Fare clic con il tasto destro del mouse per aggiungere ai Segnalibri." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Titolo" />
    <StaticString key="BookColumnLabel" value="Libro" />
    <StaticString key="RankColumnLabel" value="Classe" />
    <StaticString key="ContentsSyncErrorStatus" value="La pagina corrente non è stata trovata nel Sommario." />
    <StaticString key="IndexMultipleEntriesMessage" value="La parola o la frase cercata nell'indice è presente in più documenti." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Sceglierne uno." />
    <StaticString key="SearchButtonLabel" value="Vai!" />
    <StaticString key="SearchScopeAllLabel" value="Tutti i libri disponibili" />
    <StaticString key="SearchNoResultsMessage" value="(nessun risultato)" />
    <StaticString key="UseAccessibleHTML" value="È necessario supporto HTML accessibile?" />
    <StaticString key="BrowserNotSupported1" value="Il browser Web in uso non supporta le funzioni necessarie\nper visualizzare correttamente questa pagina. I browser supportati sono:\n\n IE4 e versioni successive su Windows e UNIX\n IE5 e versioni successive su Mac\n Netscape 6.1 e versioni successive per Windows, Mac e UNIX\n Netscape 4.x su Windows, Mac e UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Mostra navigazione" />
    <StaticString key="Initializing" value="Caricamento dati in corso..." />
    <StaticString key="SearchSearchingStatus" value="(ricerca in corso)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Documento" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Pulsante disabilitato %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Fare clic qui per andare al documento di origine." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Seleziona %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="Navigazione %s" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="La scheda %s è attiva" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Passa alla scheda %s" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Libro %s espanso" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Libro %s compresso" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Argomento %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s di %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Argomento %s del libro %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Argomento %s del libro %s collegamento %s" />
    <StaticString key="SeeAlsoLabel" value="Vedere anche" />
  </Resources>
  <Resources locale="ja">
    <StaticString key="ContentsTabLabel" value="目次" />
    <StaticString key="IndexTabLabel" value="索引" />
    <StaticString key="IndexDisplayButtonLabel" value="表示" />
    <StaticString key="SearchTabLabel" value="検索" />
    <StaticString key="SearchQueryLabel" value="検索対象語:" />
    <StaticString key="SearchScopeLabel" value="検索対象範囲:" />
    <StaticString key="FavoritesTabLabel" value="お気に入り" />
    <StaticString key="FavoritesListLabel" value="ページ:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="削除" />
    <StaticString key="FavoritesDisplayButtonLabel" value="表示" />
    <StaticString key="FavoritesCurrentPageLabel" value="現在のページ:" />
    <StaticString key="FavoritesAddButtonLabel" value="追加" />
    <StaticString key="IndexJumpDialogTitle" value="複数のトピックが見つかりました。" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="キャンセル" />
    <StaticString key="SyncIconLabel" value="内容の表示" />
    <StaticString key="PrevIconLabel" value="前へ" />
    <StaticString key="NextIconLabel" value="次へ" />
    <StaticString key="RelatedTopicsIconLabel" value="関連トピック" />
    <StaticString key="EmailIconLabel" value="電子メール" />
    <StaticString key="PrintIconLabel" value="印刷" />
    <StaticString key="BookmarkIconLabel" value="ブックマーク" />
    <StaticString key="BookmarkLinkMessage" value="リンクを右クリックして、ブックマークに追加します。" />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="タイトル" />
    <StaticString key="BookColumnLabel" value="ブック" />
    <StaticString key="RankColumnLabel" value="ランク" />
    <StaticString key="ContentsSyncErrorStatus" value="現在のページは目次内で見つかりませんでした。" />
    <StaticString key="IndexMultipleEntriesMessage" value="選択した索引の単語または句は、複数のドキュメント内で使用されています。" />
    <StaticString key="IndexMultipleEntriesPrompt" value="1 つのドキュメントを選択してください。" />
    <StaticString key="SearchButtonLabel" value="移動" />
    <StaticString key="SearchScopeAllLabel" value="利用可能なすべてのブック" />
    <StaticString key="SearchNoResultsMessage" value="(結果なし)" />
    <StaticString key="UseAccessibleHTML" value="グラフィックを表示できない場合の HTML サポート機能が必要ですか?" />
    <StaticString key="BrowserNotSupported1" value="使用中のブラウザは、このページを正しく表示するために\n必要な機能をサポートしていません。 サポートされているブラウザ: \n\nWindows および UNIX 上で実行される IE4 以降\nMac 上で実行される IE5 以降\nWindows、Mac、UNIX 上で実行される Netscape 6.1 以降\nWindows、Mac、UNIX 上で実行される Netscape 4.x" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="ナビゲーション バーの表示" />
    <StaticString key="Initializing" value="データを読み込んでいます。" />
    <StaticString key="SearchSearchingStatus" value="(検索中)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="ドキュメント" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="ボタン %s は使用できません" />
    <StaticString key="AccessibilityPopupClickThrough" value="ソース ドキュメントに移動するには、ここをクリックします。" />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="%s の選択" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s ナビゲーション" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="%s タブが選択されています" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="%s タブへの切り替え" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="JA ブック %s が展開表示されています" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="JA ブック %s が折りたたまれています" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="JA トピック %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="JA %s/%s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="JA トピック %s/ブック %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="JA トピック %s/ブック %s リンク %s" />
    <StaticString key="SeeAlsoLabel" value="JA 関連項目" />
  </Resources>
  <Resources locale="ko">
    <StaticString key="ContentsTabLabel" value="컨텐츠" />
    <StaticString key="IndexTabLabel" value="색인" />
    <StaticString key="IndexDisplayButtonLabel" value="표시" />
    <StaticString key="SearchTabLabel" value="검색" />
    <StaticString key="SearchQueryLabel" value="검색어를 입력하십시오." />
    <StaticString key="SearchScopeLabel" value="검색 범위를 선택하십시오." />
    <StaticString key="FavoritesTabLabel" value="관심 항목" />
    <StaticString key="FavoritesListLabel" value="페이지:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="제거" />
    <StaticString key="FavoritesDisplayButtonLabel" value="표시" />
    <StaticString key="FavoritesCurrentPageLabel" value="현재 페이지:" />
    <StaticString key="FavoritesAddButtonLabel" value="추가" />
    <StaticString key="IndexJumpDialogTitle" value="다수 항목 검색됨" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="취소" />
    <StaticString key="SyncIconLabel" value="컨텐츠에서 표시" />
    <StaticString key="PrevIconLabel" value="이전" />
    <StaticString key="NextIconLabel" value="다음" />
    <StaticString key="RelatedTopicsIconLabel" value="관련 항목" />
    <StaticString key="EmailIconLabel" value="메일" />
    <StaticString key="PrintIconLabel" value="인쇄" />
    <StaticString key="BookmarkIconLabel" value="북마크" />
    <StaticString key="BookmarkLinkMessage" value="링크를 마우스 오른쪽 단추로 클릭하여 북마크에 추가합니다." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="제목" />
    <StaticString key="BookColumnLabel" value="책" />
    <StaticString key="RankColumnLabel" value="등급" />
    <StaticString key="ContentsSyncErrorStatus" value="목차에서 현재 페이지를 찾을 수 없습니다." />
    <StaticString key="IndexMultipleEntriesMessage" value="선택한 색인 단어 또는 구문이 여러 문서에 존재합니다." />
    <StaticString key="IndexMultipleEntriesPrompt" value="하나를 선택하십시오." />
    <StaticString key="SearchButtonLabel" value="검색" />
    <StaticString key="SearchScopeAllLabel" value="모든 책" />
    <StaticString key="SearchNoResultsMessage" value="(결과 없음)" />
    <StaticString key="UseAccessibleHTML" value="HTML 접근 지원이 필요합니까?" />
    <StaticString key="BrowserNotSupported1" value="웹 브라우저가 이 페이지를 올바르게 표시하는 데 \n필요한 기능을 지원하지 않습니다. 지원되는 브라우저:\n\nInternet Explorer 4 이상(Windows, UNIX )\n Internet Explorer 5 이상(Mac)\n Netscape 6.1 이상(Windows, Mac, UNIX)\n Netscape 4.x(Windows, Mac, UNIX)" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="네비게이션 표시" />
    <StaticString key="Initializing" value="데이터 로드 중..." />
    <StaticString key="SearchSearchingStatus" value="(검색 중)" />
    <StaticString key="AccessibilityListSeparator" value="KO ," />
    <StaticString key="AccessibilityDocumentFrameName" value="문서" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="비활성화된 단추 %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="소스 문서로 이동하려면 여기를 클릭하십시오." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="%s 선택" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s 네비게이션" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="%s 탭 활성" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="%s 탭 전환" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="%s 책 확장" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="%s 책 압축" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="%s 항목" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s의 %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="%s 책의 %s 항목" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="%s 책 %s 링크의 %s 항목" />
    <StaticString key="SeeAlsoLabel" value="참조" />
  </Resources>
  <Resources locale="pt">
    <StaticString key="ContentsTabLabel" value="Conteúdo" />
    <StaticString key="IndexTabLabel" value="Índice remissivo" />
    <StaticString key="IndexDisplayButtonLabel" value="Mostrar" />
    <StaticString key="SearchTabLabel" value="Procurar" />
    <StaticString key="SearchQueryLabel" value="Digite a(s) palavra(s) a ser(em) procurada(s):" />
    <StaticString key="SearchScopeLabel" value="Escolha o escopo da pesquisa:" />
    <StaticString key="FavoritesTabLabel" value="Favoritos" />
    <StaticString key="FavoritesListLabel" value="Páginas:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Remover" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Mostrar" />
    <StaticString key="FavoritesCurrentPageLabel" value="Página atual:" />
    <StaticString key="FavoritesAddButtonLabel" value="Adicionar" />
    <StaticString key="IndexJumpDialogTitle" value="Mais de um tópico encontrado" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Cancelar" />
    <StaticString key="SyncIconLabel" value="Mostrar em conteúdo" />
    <StaticString key="PrevIconLabel" value="Voltar" />
    <StaticString key="NextIconLabel" value="Avançar" />
    <StaticString key="RelatedTopicsIconLabel" value="Tópicos relacionados" />
    <StaticString key="EmailIconLabel" value="E-mail" />
    <StaticString key="PrintIconLabel" value="Imprimir" />
    <StaticString key="BookmarkIconLabel" value="Favoritos" />
    <StaticString key="BookmarkLinkMessage" value="Clique com o botão direito no link para adicioná-lo aos seus Favoritos." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Título" />
    <StaticString key="BookColumnLabel" value="Livro" />
    <StaticString key="RankColumnLabel" value="Escopo" />
    <StaticString key="ContentsSyncErrorStatus" value="A página atual não pôde ser encontrada no Sumário." />
    <StaticString key="IndexMultipleEntriesMessage" value="A palavra ou frase escolhida no índice remissivo consta de mais de um documento." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Escolha um." />
    <StaticString key="SearchButtonLabel" value="Prosseguir" />
    <StaticString key="SearchScopeAllLabel" value="Todos os livros disponíveis" />
    <StaticString key="SearchNoResultsMessage" value="(nenhum resultado)" />
    <StaticString key="UseAccessibleHTML" value="Precisa de suporte HTML acessível?" />
    <StaticString key="BrowserNotSupported1" value="Seu navegador da web não suporta os recursos\nnecessários à visualização desta página. Os navegadores suportados são:\n\n IE4 e versão posterior para Windows e UNIX\n IE5 e versão posterior para Mac\n Netscape 6.1 e versão posterior para Windows, Mac e UNIX\n Netscape 4.x para Windows, Mac e UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Mostrar navegação" />
    <StaticString key="Initializing" value="Carregando dados..." />
    <StaticString key="SearchSearchingStatus" value="(procurando)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Documento" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Botão %s desativado" />
    <StaticString key="AccessibilityPopupClickThrough" value="Clique aqui para ver o documento de origem." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Selecione %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="navegação %s" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="A guia %s está ativa" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Alterne para a guia %s" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Livro %s expandido" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Livro %s recolhido" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Tópico %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s de %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Tópico %s do livro %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Tópico %s do livro %s, link %s" />
    <StaticString key="SeeAlsoLabel" value="Ver também" />
  </Resources>
  <Resources locale="sv">
    <StaticString key="ContentsTabLabel" value="Innehåll" />
    <StaticString key="IndexTabLabel" value="Index" />
    <StaticString key="IndexDisplayButtonLabel" value="Visa" />
    <StaticString key="SearchTabLabel" value="Sök" />
    <StaticString key="SearchQueryLabel" value="Ange de ord du vill söka efter:" />
    <StaticString key="SearchScopeLabel" value="Välj omfattning för sökningen:" />
    <StaticString key="FavoritesTabLabel" value="Favoriter" />
    <StaticString key="FavoritesListLabel" value="Sidor:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Ta bort" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Visa" />
    <StaticString key="FavoritesCurrentPageLabel" value="Aktuell sida:" />
    <StaticString key="FavoritesAddButtonLabel" value="Lägg till" />
    <StaticString key="IndexJumpDialogTitle" value="Flera avsnitt hittades" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Avbryt" />
    <StaticString key="SyncIconLabel" value="Visa i innehåll" />
    <StaticString key="PrevIconLabel" value="Föregående" />
    <StaticString key="NextIconLabel" value="Nästa" />
    <StaticString key="RelatedTopicsIconLabel" value="Närliggande information" />
    <StaticString key="EmailIconLabel" value="E-post" />
    <StaticString key="PrintIconLabel" value="Skriv ut" />
    <StaticString key="BookmarkIconLabel" value="Bokmärke" />
    <StaticString key="BookmarkLinkMessage" value="Högerklicka på länken om du vill lägga till den till dina bokmärken." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Rubrik" />
    <StaticString key="BookColumnLabel" value="Bok" />
    <StaticString key="RankColumnLabel" value="Relevans" />
    <StaticString key="ContentsSyncErrorStatus" value="Det gick inte att hitta den aktuella sidan i innehållsförteckningen." />
    <StaticString key="IndexMultipleEntriesMessage" value="Det indexord eller den fras du valde förekommer i flera dokument." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Välj ett dokument." />
    <StaticString key="SearchButtonLabel" value="Visa" />
    <StaticString key="SearchScopeAllLabel" value="Alla tillgängliga böcker" />
    <StaticString key="SearchNoResultsMessage" value="(inga resultat)" />
    <StaticString key="UseAccessibleHTML" value="Behöver du funktioner för Accessible HTML?" />
    <StaticString key="BrowserNotSupported1" value="Webbläsaren innehåller inte de funktioner som krävs för\natt visa sidan på rätt sätt. Webbläsare som kan användas är:\n\n Internet Explorer 4 eller senare i Windows och UNIX\n Internet Explorer 5 eller senare i Mac OS\n Netscape 6.1 eller senare i Windows, Mac OS och UNIX\n Netscape 4.x i Windows, Mac OS och UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Visa navigering" />
    <StaticString key="Initializing" value="Läser in data..." />
    <StaticString key="SearchSearchingStatus" value="(söker)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Dokument" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Avaktiverad knapp %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Klicka här om du vill visa källdokumentet." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Välj %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s-navigering" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="Fliken %s är aktiv" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Växla till fliken %s" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Boken %s maximerades" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Boken %s minimerades" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Avsnitt %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s av %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Avsnitt %s i boken %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Avsnitt %s i boken %s, länk %s" />
    <StaticString key="SeeAlsoLabel" value="Se även" />
  </Resources>
  <Resources locale="zh">
    <StaticString key="ContentsTabLabel" value="目录" />
    <StaticString key="IndexTabLabel" value="索引" />
    <StaticString key="IndexDisplayButtonLabel" value="显示" />
    <StaticString key="SearchTabLabel" value="搜索" />
    <StaticString key="SearchQueryLabel" value="键入要搜索的单词:" />
    <StaticString key="SearchScopeLabel" value="选择搜索范围:" />
    <StaticString key="FavoritesTabLabel" value="收藏夹" />
    <StaticString key="FavoritesListLabel" value="页:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="删除" />
    <StaticString key="FavoritesDisplayButtonLabel" value="显示" />
    <StaticString key="FavoritesCurrentPageLabel" value="当前页:" />
    <StaticString key="FavoritesAddButtonLabel" value="添加" />
    <StaticString key="IndexJumpDialogTitle" value="找到多个主题" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="取消" />
    <StaticString key="SyncIconLabel" value="在目录中显示" />
    <StaticString key="PrevIconLabel" value="上一页" />
    <StaticString key="NextIconLabel" value="下一页" />
    <StaticString key="RelatedTopicsIconLabel" value="相关主题" />
    <StaticString key="EmailIconLabel" value="电子邮件" />
    <StaticString key="PrintIconLabel" value="打印" />
    <StaticString key="BookmarkIconLabel" value="书签" />
    <StaticString key="BookmarkLinkMessage" value="右键单击链接,将其添加到书签中。" />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="标题" />
    <StaticString key="BookColumnLabel" value="书籍" />
    <StaticString key="RankColumnLabel" value="级别" />
    <StaticString key="ContentsSyncErrorStatus" value="目录中找不到当前页。" />
    <StaticString key="IndexMultipleEntriesMessage" value="所选的索引字词出现在多个文档中。" />
    <StaticString key="IndexMultipleEntriesPrompt" value="请选择一个。" />
    <StaticString key="SearchButtonLabel" value="开始!" />
    <StaticString key="SearchScopeAllLabel" value="所有书籍" />
    <StaticString key="SearchNoResultsMessage" value="(无结果)" />
    <StaticString key="UseAccessibleHTML" value="您是否需要可以获得的 HTML 支持?" />
    <StaticString key="BrowserNotSupported1" value="您的 Web 浏览器不支持正确查看本页要求的\n必需功能。 支持的浏览器有:\n\nIE4 及更高版本(Windows 和 UNIX)\nIE5 及更高版本(Mac)\nNetscape 6.1 及更高版本(Windows、Mac 和 UNIX)\nNetscape 4.x(Windows、Mac 和 UNIX)" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="显示导航" />
    <StaticString key="Initializing" value="正在加载数据..." />
    <StaticString key="SearchSearchingStatus" value="(搜索)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="文档" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="禁用按钮 %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="单击此处进入源文档。" />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="选择 %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s 导航" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="%s 标签已激活" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="切换至 %s 标签" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="已展开 %s 书" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="已折叠 %s 书" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="%s 主题" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="第 %s,共 %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="%s 书中的 %s 主题" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="%s 书的 %s 链接中的 %s 主题" />
    <StaticString key="SeeAlsoLabel" value="另请参阅" />
  </Resources>
  <Resources locale="zh_TW">
    <StaticString key="ContentsTabLabel" value="目錄" />
    <StaticString key="IndexTabLabel" value="索引" />
    <StaticString key="IndexDisplayButtonLabel" value="顯示" />
    <StaticString key="SearchTabLabel" value="搜尋" />
    <StaticString key="SearchQueryLabel" value="輸入要搜尋文字:" />
    <StaticString key="SearchScopeLabel" value="選擇搜尋範圍:" />
    <StaticString key="FavoritesTabLabel" value="最愛" />
    <StaticString key="FavoritesListLabel" value="網頁:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="移除" />
    <StaticString key="FavoritesDisplayButtonLabel" value="顯示" />
    <StaticString key="FavoritesCurrentPageLabel" value="目前網頁:" />
    <StaticString key="FavoritesAddButtonLabel" value="新增" />
    <StaticString key="IndexJumpDialogTitle" value="找到多個主題" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="取消" />
    <StaticString key="SyncIconLabel" value="顯示在目錄中" />
    <StaticString key="PrevIconLabel" value="上一頁" />
    <StaticString key="NextIconLabel" value="下一頁" />
    <StaticString key="RelatedTopicsIconLabel" value="相關主題" />
    <StaticString key="EmailIconLabel" value="電子郵件" />
    <StaticString key="PrintIconLabel" value="列印" />
    <StaticString key="BookmarkIconLabel" value="書籤" />
    <StaticString key="BookmarkLinkMessage" value="右鍵按一下連結,將它加入到書籤中。" />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="標題" />
    <StaticString key="BookColumnLabel" value="書名" />
    <StaticString key="RankColumnLabel" value="關聯性" />
    <StaticString key="ContentsSyncErrorStatus" value="目錄中找不到目前網頁。" />
    <StaticString key="IndexMultipleEntriesMessage" value="您選擇的文字或詞彙出現在多個文件中。" />
    <StaticString key="IndexMultipleEntriesPrompt" value="請選擇其中一項。" />
    <StaticString key="SearchButtonLabel" value="開始!" />
    <StaticString key="SearchScopeAllLabel" value="所有可用書籍" />
    <StaticString key="SearchNoResultsMessage" value="(沒有結果)" />
    <StaticString key="UseAccessibleHTML" value="您是否需要 HTML 協助功能支援?" />
    <StaticString key="BrowserNotSupported1" value="Web 瀏覽器不支援正確檢視本頁需要的功能。 支援的瀏覽器包括:\n\n Windows 與 UNIX 上支援 IE 4 或更新版本\n Mac 上支援 IE5 或更新版本\n Windows、Mac 與 UNIX 上支援 Netscape 6.1\n Windows、Mac 與 UNIX 上支援 Netscape 4.x" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="顯示導覽" />
    <StaticString key="Initializing" value="載入資料..." />
    <StaticString key="SearchSearchingStatus" value="(搜尋中)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="文件" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="停用的按鈕 %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="按一下這裡,跳至來源文件。" />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="選擇 %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="%s 瀏覽" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="%s 標籤已啟用" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="切換到 %s 標籤" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="書籍 %s 已展開" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="書籍 %s 已折疊" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="主題 %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s / %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="主題 %s,書籍 %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="主題 %s,書籍 %s 連結 %s" />
    <StaticString key="SeeAlsoLabel" value="另請參閱" />
  </Resources>
  <Resources locale="ru">
    <StaticString key="ContentsTabLabel" value="Содержание" />
    <StaticString key="IndexTabLabel" value="Указатель" />
    <StaticString key="IndexDisplayButtonLabel" value="Показать" />
    <StaticString key="SearchTabLabel" value="Поиск" />
    <StaticString key="SearchQueryLabel" value="Введите слово (слова) для поиска:" />
    <StaticString key="SearchScopeLabel" value="Выберите область поиска:" />
    <StaticString key="FavoritesTabLabel" value="Избранное" />
    <StaticString key="FavoritesListLabel" value="Страницы:" />
    <StaticString key="FavoritesRemoveButtonLabel" value="Удалить" />
    <StaticString key="FavoritesDisplayButtonLabel" value="Показать" />
    <StaticString key="FavoritesCurrentPageLabel" value="Текущая страница:" />
    <StaticString key="FavoritesAddButtonLabel" value="Добавить" />
    <StaticString key="IndexJumpDialogTitle" value="Обнаружено несколько разделов" />
    <StaticString key="IndexJumpDialogCancelButtonLabel" value="Отмена" />
    <StaticString key="SyncIconLabel" value="Показать в содержании" />
    <StaticString key="PrevIconLabel" value="Назад" />
    <StaticString key="NextIconLabel" value="Далее" />
    <StaticString key="RelatedTopicsIconLabel" value="Дополнительная информация" />
    <StaticString key="EmailIconLabel" value="Электронная почта" />
    <StaticString key="PrintIconLabel" value="Печать" />
    <StaticString key="BookmarkIconLabel" value="Закладка" />
    <StaticString key="BookmarkLinkMessage" value="Щелкните на ссылке правой кнопкой мыши и добавьте ее к закладкам." />
    <StaticString key="PDFIconLabel" value="PDF" />
    <StaticString key="TitleColumnLabel" value="Заголовок" />
    <StaticString key="BookColumnLabel" value="Том" />
    <StaticString key="RankColumnLabel" value="Ранг" />
    <StaticString key="ContentsSyncErrorStatus" value="Невозможно найти в оглавлении текущую страницу." />
    <StaticString key="IndexMultipleEntriesMessage" value="Выбранное слово (фраза) из указателя содержится в нескольких документах." />
    <StaticString key="IndexMultipleEntriesPrompt" value="Выберите одни документ." />
    <StaticString key="SearchButtonLabel" value="Начать" />
    <StaticString key="SearchScopeAllLabel" value="Все доступные тома" />
    <StaticString key="SearchNoResultsMessage" value="(нет результатов)" />
    <StaticString key="UseAccessibleHTML" value="Требуется ли доступ к средству поддержки HTML?" />
    <StaticString key="BrowserNotSupported1" value="Используемый web-браузер не поддерживает функции,\nнеобходимые для правильного просмотра этой страницы.  Эти функции поддерживаются следующими браузерами:\n\n  IE4 и более поздние версии для Windows и UNIX\n  IE5 и более поздние версии для Mac\n  Netscape 6.1 и более поздние версии для Windows, Mac и UNIX\n  Netscape 4.x для Windows, Mac и UNIX" />
    <StaticString key="BrowserNotSupported2" value="" />
    <StaticString key="BrowserNotSupported3" value="" />
    <StaticString key="ShowNavigationIconLabel" value="Показать панель навигации" />
    <StaticString key="Initializing" value="Выполняется загрузка данных..." />
    <StaticString key="SearchSearchingStatus" value="(поиск)" />
    <StaticString key="AccessibilityListSeparator" value="," />
    <StaticString key="AccessibilityDocumentFrameName" value="Документ" />
    <StaticString key="AccessibilityDisabledNavigationButton" value="Отключена кнопка %s" />
    <StaticString key="AccessibilityPopupClickThrough" value="Щелкните здесь для перехода к исходному документу." />
    <StaticString key="AccessibilityJavaScriptTabsFrameName" value="Выбрать %s" />
    <StaticString key="AccessibilityJavaScriptNavigationFrameName" value="Навигация %s" />
    <StaticString key="AccessibilityJavaScriptActiveTab" value="Вкладка %s активна" />
    <StaticString key="AccessibilityJavaScriptInactiveTab" value="Перейти на вкладку %s" />
    <StaticString key="AccessibilityJavaScriptTOCBookExpanded" value="Том %s развернут" />
    <StaticString key="AccessibilityJavaScriptTOCBookCollapsed" value="Том %s свернут" />
    <StaticString key="AccessibilityJavaScriptTOCTopic" value="Раздел %s" />
    <StaticString key="AccessibilityJavaScriptTOCOneOfTotal" value="%s из %s" />
    <StaticString key="AccessibilityJavaScriptIndexEntry" value="Раздел %s в томе %s" />
    <StaticString key="AccessibilityJavaScriptIndexSecondEntry" value="Ссылкка %s на раздел %s в томе %" />
    <StaticString key="SeeAlsoLabel" value="См. также" />
  </Resources>
</WebWorksHelpMessages>


text:
import json
import logging

from telemetry.core import util

class InspectorPage(object):
  def __init__(self, inspector_backend):
    self._inspector_backend = inspector_backend
    self._inspector_backend.RegisterDomain(
        'Page',
        self._OnNotification,
        self._OnClose)
    self._navigation_pending = False

  def _OnNotification(self, msg):
    logging.debug('Notification: %s', json.dumps(msg, indent=2))
    if msg['method'] == 'Page.frameNavigated' and self._navigation_pending:
      url = msg['params']['frame']['url']
      if (not url == 'chrome://newtab/' and not url == 'about:blank'
          and not 'parentId' in msg['params']['frame']):
        # Marks the navigation as complete and unblocks the
        # PerformActionAndWaitForNavigate call.
        self._navigation_pending = False

  def _OnClose(self):
    pass

  def PerformActionAndWaitForNavigate(self, action_function, timeout=60):
    """Executes action_function, and waits for the navigation to complete.

    action_function is expect to result in a navigation. This function returns
    when the navigation is complete or when the timeout has been exceeded.
    """

    # Turn on notifications. We need them to get the Page.frameNavigated event.
    request = {
        'method': 'Page.enable'
        }
    res = self._inspector_backend.SyncRequest(request, timeout)
    assert len(res['result'].keys()) == 0

    def DisablePageNotifications():
      request = {
          'method': 'Page.disable'
          }
      res = self._inspector_backend.SyncRequest(request, timeout)
      assert len(res['result'].keys()) == 0

    self._navigation_pending = True
    try:
      action_function()
    except:
      DisablePageNotifications()
      raise

    def IsNavigationDone(time_left):
      self._inspector_backend.DispatchNotifications(time_left)
      return not self._navigation_pending
    util.WaitFor(IsNavigationDone, timeout, pass_time_left_to_func=True)

    DisablePageNotifications()

  def Navigate(self, url, script_to_evaluate_on_commit=None, timeout=60):
    """Navigates to |url|.

    If |script_to_evaluate_on_commit| is given, the script source string will be
    evaluated when the navigation is committed. This is after the context of
    the page exists, but before any script on the page itself has executed.
    """

    def DoNavigate():
      if script_to_evaluate_on_commit:
        request = {
            'method': 'Page.addScriptToEvaluateOnLoad',
            'params': {
                'scriptSource': script_to_evaluate_on_commit,
                }
            }
        self._inspector_backend.SyncRequest(request)
      # Navigate the page. However, there seems to be a bug in chrome devtools
      # protocol where the request id for this event gets held on the browser
      # side pretty much indefinitely.
      #
      # So, instead of waiting for the event to actually complete, wait for the
      # Page.frameNavigated event.
      request = {
          'method': 'Page.navigate',
          'params': {
              'url': url,
              }
          }
      self._inspector_backend.SendAndIgnoreResponse(request)
    self.PerformActionAndWaitForNavigate(DoNavigate, timeout)

  def GetCookieByName(self, name, timeout=60):
    """Returns the value of the cookie by the given |name|."""
    request = {
        'method': 'Page.getCookies'
        }
    res = self._inspector_backend.SyncRequest(request, timeout)
    cookies = res['result']['cookies']
    for cookie in cookies:
      if cookie['name'] == name:
        return cookie['value']
    return None

  def CollectGarbage(self, timeout=60):
    request = {
        'method': 'HeapProfiler.CollectGarbage'
        }
    self._inspector_backend.SyncRequest(request, timeout)


text:
@interface PlayScreen : UIViewController//ICGViewController

@property(nonatomic, strong) NSString *stringNameFood,*strImage;
@property (weak, nonatomic) IBOutlet UIView *imgPlay;
@property (weak, nonatomic) IBOutlet UISlider *sliderShowCurrentTime;

@property(nonatomic,strong) NSString *linkMp3;
@property(nonatomic,strong) NSString *currentLinkMp3;

@end


text:
/* -------------------------------------------------------------------------- */
/* Copyright (c) 2005-2012 by Timothy A. Davis, http://www.suitesparse.com.   */
/* All Rights Reserved.  See ../Doc/License.txt for License.                  */
/* -------------------------------------------------------------------------- */

GLOBAL void UMF_mem_free_tail_block
(
    NumericType *Numeric,
    Int i
) ;


text:
var fs = require('fs');
var jsdom = require('jsdom');
// TODO: callbackify this to make it more error prone
// TODO: validate and check arguments

var contents = '';

if(process.argv[2]) {
    contents = fs.readFileSync(process.argv[2], 'utf8');
    parse(contents);
}
process.stdin.setEncoding('utf8');

process.stdin.on('readable', () => {
    var chunk = process.stdin.read();
    if (chunk !== null) {
        contents += chunk.toString();
    }
});

process.stdin.on('end', () => {
    parse(contents)
});

function parse(contents) {
    // TODO: figure out a better way to dump html
    // (preferably with doctype)
    jsdom.env(contents, function (err, window) {
      var document = window.document;

      var $ = document.querySelector.bind(document);
      var $$ = document.querySelectorAll.bind(document);
      var elems = $$('link[type="text/data"]');

      Array.prototype.forEach.call(elems, function(elem) {
        // TODO: callbackify this to make it more error prone
        var data = JSON.parse(fs.readFileSync(elem.href, 'utf-8'));

        for (selector in data) {
          var body = data[selector];
          $(selector).innerHTML = body;
        }
      });

      var node = document.doctype;
      var doctype = "<!DOCTYPE "
               + node.name
               + (node.publicId ? ' PUBLIC "' + node.publicId + '"' : '')
               + (!node.publicId && node.systemId ? ' SYSTEM' : '')
               + (node.systemId ? ' "' + node.systemId + '"' : '')
               + '>';

      console.log(doctype);
      console.log(document.documentElement.outerHTML);
    });
}


text:
package com.deerweather.app.activity;

import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.PopupWindow;
import android.widget.Toast;

import com.deerweather.app.R;

import java.io.FileNotFoundException;
import java.io.InputStream;

public class About extends AppCompatActivity implements View.OnClickListener {

    private PopupWindow mPopFeedback;
    private PopupWindow mPopContribute;

    private LinearLayout mLlGithub;
    private LinearLayout mLlSina;
    private LinearLayout mLlQQ;
    private LinearLayout mLlContribute;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
            getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
        }

        mLlGithub = (LinearLayout) findViewById(R.id.ll_github);
        mLlSina = (LinearLayout) findViewById(R.id.ll_sina);
        mLlQQ = (LinearLayout) findViewById(R.id.ll_qq);
        mLlContribute = (LinearLayout) findViewById(R.id.ll_contribute);
        mLlGithub.setOnClickListener(this);
        mLlSina.setOnClickListener(this);
        mLlQQ.setOnClickListener(this);
        mLlContribute.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        int id = v.getId();
        switch (id) {
            case R.id.ll_github:
                Intent intent = new Intent(Intent.ACTION_VIEW);
                intent.setData(Uri.parse("https://github.com/Gdeeer/deerweather"));
                startActivity(intent);
                break;
            case R.id.ll_sina:
                Intent intent2 = new Intent(Intent.ACTION_VIEW);
                intent2.setData(Uri.parse("http://weibo.com/u/2681148603"));
                startActivity(intent2);
                break;
            case R.id.ll_qq:
                joinQQGroup("rky9modNWZkxefT1naU5xI7nlijqKH27");
                break;
            case R.id.ll_contribute:
                ClipboardManager cm = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
                ClipData clipData = ClipData.newPlainText("comment", "1533691934@qq.com");
                cm.setPrimaryClip(clipData);
//                Snackbar.make(v, "已保存至剪贴板", Snackbar.LENGTH_SHORT).setAction("确定", null).show();

                Snackbar snackbar = Snackbar.make(v, "已保存至剪贴板(支付宝账号)", Snackbar.LENGTH_LONG);
                ViewGroup group = (ViewGroup) snackbar.getView();
                group.setBackgroundColor(ContextCompat.getColor(this, R.color.snackbar));
                snackbar.setAction("确定", new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                    }
                });
                snackbar.setActionTextColor(ContextCompat.getColor(this, R.color.snackbar_action));
                snackbar.show();
                break;
            default:
                break;
        }
    }

    /****************
     *
     * 发起添加群流程。群号:deerweather(244037411) 的 key 为: rky9modNWZkxefT1naU5xI7nlijqKH27
     * 调用 joinQQGroup(rky9modNWZkxefT1naU5xI7nlijqKH27) 即可发起手Q客户端申请加群 deerweather(244037411)
     *
     * @param key 由官网生成的key
     * @return 返回true表示呼起手Q成功,返回fals表示呼起失败
     ******************/
    public boolean joinQQGroup(String key) {
        Intent intent = new Intent();
        intent.setData(Uri.parse("mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3D" + key));
        // 此Flag可根据具体产品需要自定义,如设置,则在加群界面按返回,返回手Q主界面,不设置,按返回会返回到呼起产品界面    //intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
        try {
            startActivity(intent);
            return true;
        } catch (Exception e) {
            // 未安装手Q或安装的版本不支持
            return false;
        }
    }

}


text:
class Holding {

    constructor() {
        this.id = 0;
        this.quantity = 0;
        this.fund = null;
        this.security = null;
    }
}

export default Holding;


text:
from django.contrib import admin
from django.contrib.admin import ModelAdmin

# Register your models here.
from lindy.models import Teacher

class TeacherAdmin(ModelAdmin):
    pass

admin.site.register(Teacher, TeacherAdmin)