text
stringlengths 9
39.2M
| dir
stringlengths 25
226
| lang
stringclasses 163
values | created_date
timestamp[s] | updated_date
timestamp[s] | repo_name
stringclasses 751
values | repo_full_name
stringclasses 752
values | star
int64 1.01k
183k
| len_tokens
int64 1
18.5M
|
|---|---|---|---|---|---|---|---|---|
```objective-c
//
// YYTextLayout.m
// YYKit <path_to_url
//
// Created by ibireme on 15/3/3.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import "YYTextLayout.h"
#import "YYKitMacro.h"
#import "YYCGUtilities.h"
#import "YYTextUtilities.h"
#import "YYTextAttribute.h"
#import "YYTextArchiver.h"
#import "NSAttributedString+YYText.h"
#import "UIFont+YYAdd.h"
const CGSize YYTextContainerMaxSize = (CGSize){0x100000, 0x100000};
typedef struct {
CGFloat head;
CGFloat foot;
} YYRowEdge;
static inline CGSize YYTextClipCGSize(CGSize size) {
if (size.width > YYTextContainerMaxSize.width) size.width = YYTextContainerMaxSize.width;
if (size.height > YYTextContainerMaxSize.height) size.height = YYTextContainerMaxSize.height;
return size;
}
static inline UIEdgeInsets UIEdgeInsetRotateVertical(UIEdgeInsets insets) {
UIEdgeInsets one;
one.top = insets.left;
one.left = insets.bottom;
one.bottom = insets.right;
one.right = insets.top;
return one;
}
/**
Sometimes CoreText may convert CGColor to UIColor for `kCTForegroundColorAttributeName`
attribute in iOS7. This should be a bug of CoreText, and may cause crash. Here's a workaround.
*/
static CGColorRef YYTextGetCGColor(CGColorRef color) {
static UIColor *defaultColor;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
defaultColor = [UIColor blackColor];
});
if (!color) return defaultColor.CGColor;
if ([((__bridge NSObject *)color) respondsToSelector:@selector(CGColor)]) {
return ((__bridge UIColor *)color).CGColor;
}
return color;
}
@implementation YYTextLinePositionSimpleModifier
- (void)modifyLines:(NSArray *)lines fromText:(NSAttributedString *)text inContainer:(YYTextContainer *)container {
if (container.verticalForm) {
for (NSUInteger i = 0, max = lines.count; i < max; i++) {
YYTextLine *line = lines[i];
CGPoint pos = line.position;
pos.x = container.size.width - container.insets.right - line.row * _fixedLineHeight - _fixedLineHeight * 0.9;
line.position = pos;
}
} else {
for (NSUInteger i = 0, max = lines.count; i < max; i++) {
YYTextLine *line = lines[i];
CGPoint pos = line.position;
pos.y = line.row * _fixedLineHeight + _fixedLineHeight * 0.9 + container.insets.top;
line.position = pos;
}
}
}
- (id)copyWithZone:(NSZone *)zone {
YYTextLinePositionSimpleModifier *one = [self.class new];
one.fixedLineHeight = _fixedLineHeight;
return one;
}
@end
@implementation YYTextContainer {
@package
BOOL _readonly; ///< used only in YYTextLayout.implementation
dispatch_semaphore_t _lock;
CGSize _size;
UIEdgeInsets _insets;
UIBezierPath *_path;
NSArray *_exclusionPaths;
BOOL _pathFillEvenOdd;
CGFloat _pathLineWidth;
BOOL _verticalForm;
NSUInteger _maximumNumberOfRows;
YYTextTruncationType _truncationType;
NSAttributedString *_truncationToken;
id<YYTextLinePositionModifier> _linePositionModifier;
}
+ (instancetype)containerWithSize:(CGSize)size {
return [self containerWithSize:size insets:UIEdgeInsetsZero];
}
+ (instancetype)containerWithSize:(CGSize)size insets:(UIEdgeInsets)insets {
YYTextContainer *one = [self new];
one.size = YYTextClipCGSize(size);
one.insets = insets;
return one;
}
+ (instancetype)containerWithPath:(UIBezierPath *)path {
YYTextContainer *one = [self new];
one.path = path;
return one;
}
- (instancetype)init {
self = [super init];
if (!self) return nil;
_lock = dispatch_semaphore_create(1);
_pathFillEvenOdd = YES;
return self;
}
- (id)copyWithZone:(NSZone *)zone {
YYTextContainer *one = [self.class new];
dispatch_semaphore_wait(_lock, DISPATCH_TIME_FOREVER);
one->_size = _size;
one->_insets = _insets;
one->_path = _path;
one->_exclusionPaths = _exclusionPaths.copy;
one->_pathFillEvenOdd = _pathFillEvenOdd;
one->_pathLineWidth = _pathLineWidth;
one->_verticalForm = _verticalForm;
one->_maximumNumberOfRows = _maximumNumberOfRows;
one->_truncationType = _truncationType;
one->_truncationToken = _truncationToken.copy;
one->_linePositionModifier = [(NSObject *)_linePositionModifier copy];
dispatch_semaphore_signal(_lock);
return one;
}
- (id)mutableCopyWithZone:(nullable NSZone *)zone {
return [self copyWithZone:zone];
}
- (void)encodeWithCoder:(NSCoder *)aCoder {
[aCoder encodeObject:[NSValue valueWithCGSize:_size] forKey:@"size"];
[aCoder encodeObject:[NSValue valueWithUIEdgeInsets:_insets] forKey:@"insets"];
[aCoder encodeObject:_path forKey:@"path"];
[aCoder encodeObject:_exclusionPaths forKey:@"exclusionPaths"];
[aCoder encodeBool:_pathFillEvenOdd forKey:@"pathFillEvenOdd"];
[aCoder encodeDouble:_pathLineWidth forKey:@"pathLineWidth"];
[aCoder encodeBool:_verticalForm forKey:@"verticalForm"];
[aCoder encodeInteger:_maximumNumberOfRows forKey:@"maximumNumberOfRows"];
[aCoder encodeInteger:_truncationType forKey:@"truncationType"];
[aCoder encodeObject:_truncationToken forKey:@"truncationToken"];
if ([_linePositionModifier respondsToSelector:@selector(encodeWithCoder:)] &&
[_linePositionModifier respondsToSelector:@selector(initWithCoder:)]) {
[aCoder encodeObject:_linePositionModifier forKey:@"linePositionModifier"];
}
}
- (id)initWithCoder:(NSCoder *)aDecoder {
self = [self init];
_size = ((NSValue *)[aDecoder decodeObjectForKey:@"size"]).CGSizeValue;
_insets = ((NSValue *)[aDecoder decodeObjectForKey:@"insets"]).UIEdgeInsetsValue;
_path = [aDecoder decodeObjectForKey:@"path"];
_exclusionPaths = [aDecoder decodeObjectForKey:@"exclusionPaths"];
_pathFillEvenOdd = [aDecoder decodeBoolForKey:@"pathFillEvenOdd"];
_pathLineWidth = [aDecoder decodeDoubleForKey:@"pathLineWidth"];
_verticalForm = [aDecoder decodeBoolForKey:@"verticalForm"];
_maximumNumberOfRows = [aDecoder decodeIntegerForKey:@"maximumNumberOfRows"];
_truncationType = [aDecoder decodeIntegerForKey:@"truncationType"];
_truncationToken = [aDecoder decodeObjectForKey:@"truncationToken"];
_linePositionModifier = [aDecoder decodeObjectForKey:@"linePositionModifier"];
return self;
}
#define Getter(...) \
dispatch_semaphore_wait(_lock, DISPATCH_TIME_FOREVER); \
__VA_ARGS__; \
dispatch_semaphore_signal(_lock);
#define Setter(...) \
if (_readonly) { \
@throw [NSException exceptionWithName:NSInternalInconsistencyException \
reason:@"Cannot change the property of the 'container' in 'YYTextLayout'." userInfo:nil]; \
return; \
} \
dispatch_semaphore_wait(_lock, DISPATCH_TIME_FOREVER); \
__VA_ARGS__; \
dispatch_semaphore_signal(_lock);
- (CGSize)size {
Getter(CGSize size = _size) return size;
}
- (void)setSize:(CGSize)size {
Setter(if(!_path) _size = YYTextClipCGSize(size));
}
- (UIEdgeInsets)insets {
Getter(UIEdgeInsets insets = _insets) return insets;
}
- (void)setInsets:(UIEdgeInsets)insets {
Setter(if(!_path){
if (insets.top < 0) insets.top = 0;
if (insets.left < 0) insets.left = 0;
if (insets.bottom < 0) insets.bottom = 0;
if (insets.right < 0) insets.right = 0;
_insets = insets;
});
}
- (UIBezierPath *)path {
Getter(UIBezierPath *path = _path) return path;
}
- (void)setPath:(UIBezierPath *)path {
Setter(
_path = path.copy;
if (_path) {
CGRect bounds = _path.bounds;
CGSize size = bounds.size;
UIEdgeInsets insets = UIEdgeInsetsZero;
if (bounds.origin.x < 0) size.width += bounds.origin.x;
if (bounds.origin.x > 0) insets.left = bounds.origin.x;
if (bounds.origin.y < 0) size.height += bounds.origin.y;
if (bounds.origin.y > 0) insets.top = bounds.origin.y;
_size = size;
_insets = insets;
}
);
}
- (NSArray *)exclusionPaths {
Getter(NSArray *paths = _exclusionPaths) return paths;
}
- (void)setExclusionPaths:(NSArray *)exclusionPaths {
Setter(_exclusionPaths = exclusionPaths.copy);
}
- (BOOL)isPathFillEvenOdd {
Getter(BOOL is = _pathFillEvenOdd) return is;
}
- (void)setPathFillEvenOdd:(BOOL)pathFillEvenOdd {
Setter(_pathFillEvenOdd = pathFillEvenOdd);
}
- (CGFloat)pathLineWidth {
Getter(CGFloat width = _pathLineWidth) return width;
}
- (void)setPathLineWidth:(CGFloat)pathLineWidth {
Setter(_pathLineWidth = pathLineWidth);
}
- (BOOL)isVerticalForm {
Getter(BOOL v = _verticalForm) return v;
}
- (void)setVerticalForm:(BOOL)verticalForm {
Setter(_verticalForm = verticalForm);
}
- (NSUInteger)maximumNumberOfRows {
Getter(NSUInteger num = _maximumNumberOfRows) return num;
}
- (void)setMaximumNumberOfRows:(NSUInteger)maximumNumberOfRows {
Setter(_maximumNumberOfRows = maximumNumberOfRows);
}
- (YYTextTruncationType)truncationType {
Getter(YYTextTruncationType type = _truncationType) return type;
}
- (void)setTruncationType:(YYTextTruncationType)truncationType {
Setter(_truncationType = truncationType);
}
- (NSAttributedString *)truncationToken {
Getter(NSAttributedString *token = _truncationToken) return token;
}
- (void)setTruncationToken:(NSAttributedString *)truncationToken {
Setter(_truncationToken = truncationToken.copy);
}
- (void)setLinePositionModifier:(id<YYTextLinePositionModifier>)linePositionModifier {
Setter(_linePositionModifier = [(NSObject *)linePositionModifier copy]);
}
- (id<YYTextLinePositionModifier>)linePositionModifier {
Getter(id<YYTextLinePositionModifier> m = _linePositionModifier) return m;
}
#undef Getter
#undef Setter
@end
@interface YYTextLayout ()
@property (nonatomic, readwrite) YYTextContainer *container;
@property (nonatomic, readwrite) NSAttributedString *text;
@property (nonatomic, readwrite) NSRange range;
@property (nonatomic, readwrite) CTFramesetterRef frameSetter;
@property (nonatomic, readwrite) CTFrameRef frame;
@property (nonatomic, readwrite) NSArray *lines;
@property (nonatomic, readwrite) YYTextLine *truncatedLine;
@property (nonatomic, readwrite) NSArray *attachments;
@property (nonatomic, readwrite) NSArray *attachmentRanges;
@property (nonatomic, readwrite) NSArray *attachmentRects;
@property (nonatomic, readwrite) NSSet *attachmentContentsSet;
@property (nonatomic, readwrite) NSUInteger rowCount;
@property (nonatomic, readwrite) NSRange visibleRange;
@property (nonatomic, readwrite) CGRect textBoundingRect;
@property (nonatomic, readwrite) CGSize textBoundingSize;
@property (nonatomic, readwrite) BOOL containsHighlight;
@property (nonatomic, readwrite) BOOL needDrawBlockBorder;
@property (nonatomic, readwrite) BOOL needDrawBackgroundBorder;
@property (nonatomic, readwrite) BOOL needDrawShadow;
@property (nonatomic, readwrite) BOOL needDrawUnderline;
@property (nonatomic, readwrite) BOOL needDrawText;
@property (nonatomic, readwrite) BOOL needDrawAttachment;
@property (nonatomic, readwrite) BOOL needDrawInnerShadow;
@property (nonatomic, readwrite) BOOL needDrawStrikethrough;
@property (nonatomic, readwrite) BOOL needDrawBorder;
@property (nonatomic, assign) NSUInteger *lineRowsIndex;
@property (nonatomic, assign) YYRowEdge *lineRowsEdge; ///< top-left origin
@end
@implementation YYTextLayout
#pragma mark - Layout
- (instancetype)_init {
self = [super init];
return self;
}
+ (YYTextLayout *)layoutWithContainerSize:(CGSize)size text:(NSAttributedString *)text {
YYTextContainer *container = [YYTextContainer containerWithSize:size];
return [self layoutWithContainer:container text:text];
}
+ (YYTextLayout *)layoutWithContainer:(YYTextContainer *)container text:(NSAttributedString *)text {
return [self layoutWithContainer:container text:text range:NSMakeRange(0, text.length)];
}
+ (YYTextLayout *)layoutWithContainer:(YYTextContainer *)container text:(NSAttributedString *)text range:(NSRange)range {
YYTextLayout *layout = NULL;
CGPathRef cgPath = nil;
CGRect cgPathBox = {0};
BOOL isVerticalForm = NO;
BOOL rowMaySeparated = NO;
NSMutableDictionary *frameAttrs = nil;
CTFramesetterRef ctSetter = NULL;
CTFrameRef ctFrame = NULL;
CFArrayRef ctLines = nil;
CGPoint *lineOrigins = NULL;
NSUInteger lineCount = 0;
NSMutableArray *lines = nil;
NSMutableArray *attachments = nil;
NSMutableArray *attachmentRanges = nil;
NSMutableArray *attachmentRects = nil;
NSMutableSet *attachmentContentsSet = nil;
BOOL needTruncation = NO;
NSAttributedString *truncationToken = nil;
YYTextLine *truncatedLine = nil;
YYRowEdge *lineRowsEdge = NULL;
NSUInteger *lineRowsIndex = NULL;
NSRange visibleRange;
NSUInteger maximumNumberOfRows = 0;
BOOL constraintSizeIsExtended = NO;
CGRect constraintRectBeforeExtended = {0};
text = text.mutableCopy;
container = container.copy;
if (!text || !container) return nil;
if (range.location + range.length > text.length) return nil;
container->_readonly = YES;
maximumNumberOfRows = container.maximumNumberOfRows;
// CoreText bug when draw joined emoji since iOS 8.3.
// See -[NSMutableAttributedString setClearColorToJoinedEmoji] for more information.
static BOOL needFixJoinedEmojiBug = NO;
// It may use larger constraint size when create CTFrame with
// CTFramesetterCreateFrame in iOS 10.
static BOOL needFixLayoutSizeBug = NO;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
CGFloat systemVersionFloat = [UIDevice currentDevice].systemVersion.floatValue;
if (8.3 <= systemVersionFloat && systemVersionFloat < 9) {
needFixJoinedEmojiBug = YES;
}
if (systemVersionFloat >= 10) {
needFixLayoutSizeBug = YES;
}
});
if (needFixJoinedEmojiBug) {
[((NSMutableAttributedString *)text) setClearColorToJoinedEmoji];
}
layout = [[YYTextLayout alloc] _init];
layout.text = text;
layout.container = container;
layout.range = range;
isVerticalForm = container.verticalForm;
// set cgPath and cgPathBox
if (container.path == nil && container.exclusionPaths.count == 0) {
if (container.size.width <= 0 || container.size.height <= 0) goto fail;
CGRect rect = (CGRect) {CGPointZero, container.size };
if (needFixLayoutSizeBug) {
constraintSizeIsExtended = YES;
constraintRectBeforeExtended = UIEdgeInsetsInsetRect(rect, container.insets);
constraintRectBeforeExtended = CGRectStandardize(constraintRectBeforeExtended);
if (container.isVerticalForm) {
rect.size.width = YYTextContainerMaxSize.width;
} else {
rect.size.height = YYTextContainerMaxSize.height;
}
}
rect = UIEdgeInsetsInsetRect(rect, container.insets);
rect = CGRectStandardize(rect);
cgPathBox = rect;
rect = CGRectApplyAffineTransform(rect, CGAffineTransformMakeScale(1, -1));
cgPath = CGPathCreateWithRect(rect, NULL); // let CGPathIsRect() returns true
} else if (container.path && CGPathIsRect(container.path.CGPath, &cgPathBox) && container.exclusionPaths.count == 0) {
CGRect rect = CGRectApplyAffineTransform(cgPathBox, CGAffineTransformMakeScale(1, -1));
cgPath = CGPathCreateWithRect(rect, NULL); // let CGPathIsRect() returns true
} else {
rowMaySeparated = YES;
CGMutablePathRef path = NULL;
if (container.path) {
path = CGPathCreateMutableCopy(container.path.CGPath);
} else {
CGRect rect = (CGRect) {CGPointZero, container.size };
rect = UIEdgeInsetsInsetRect(rect, container.insets);
CGPathRef rectPath = CGPathCreateWithRect(rect, NULL);
if (rectPath) {
path = CGPathCreateMutableCopy(rectPath);
CGPathRelease(rectPath);
}
}
if (path) {
[layout.container.exclusionPaths enumerateObjectsUsingBlock: ^(UIBezierPath *onePath, NSUInteger idx, BOOL *stop) {
CGPathAddPath(path, NULL, onePath.CGPath);
}];
cgPathBox = CGPathGetPathBoundingBox(path);
CGAffineTransform trans = CGAffineTransformMakeScale(1, -1);
CGMutablePathRef transPath = CGPathCreateMutableCopyByTransformingPath(path, &trans);
CGPathRelease(path);
path = transPath;
}
cgPath = path;
}
if (!cgPath) goto fail;
// frame setter config
frameAttrs = [NSMutableDictionary dictionary];
if (container.isPathFillEvenOdd == NO) {
frameAttrs[(id)kCTFramePathFillRuleAttributeName] = @(kCTFramePathFillWindingNumber);
}
if (container.pathLineWidth > 0) {
frameAttrs[(id)kCTFramePathWidthAttributeName] = @(container.pathLineWidth);
}
if (container.isVerticalForm == YES) {
frameAttrs[(id)kCTFrameProgressionAttributeName] = @(kCTFrameProgressionRightToLeft);
}
// create CoreText objects
ctSetter = CTFramesetterCreateWithAttributedString((CFTypeRef)text);
if (!ctSetter) goto fail;
ctFrame = CTFramesetterCreateFrame(ctSetter, YYCFRangeFromNSRange(range), cgPath, (CFTypeRef)frameAttrs);
if (!ctFrame) goto fail;
lines = [NSMutableArray new];
ctLines = CTFrameGetLines(ctFrame);
lineCount = CFArrayGetCount(ctLines);
if (lineCount > 0) {
lineOrigins = malloc(lineCount * sizeof(CGPoint));
if (lineOrigins == NULL) goto fail;
CTFrameGetLineOrigins(ctFrame, CFRangeMake(0, lineCount), lineOrigins);
}
CGRect textBoundingRect = CGRectZero;
CGSize textBoundingSize = CGSizeZero;
NSInteger rowIdx = -1;
NSUInteger rowCount = 0;
CGRect lastRect = CGRectMake(0, -FLT_MAX, 0, 0);
CGPoint lastPosition = CGPointMake(0, -FLT_MAX);
if (isVerticalForm) {
lastRect = CGRectMake(FLT_MAX, 0, 0, 0);
lastPosition = CGPointMake(FLT_MAX, 0);
}
// calculate line frame
NSUInteger lineCurrentIdx = 0;
for (NSUInteger i = 0; i < lineCount; i++) {
CTLineRef ctLine = CFArrayGetValueAtIndex(ctLines, i);
CFArrayRef ctRuns = CTLineGetGlyphRuns(ctLine);
if (!ctRuns || CFArrayGetCount(ctRuns) == 0) continue;
// CoreText coordinate system
CGPoint ctLineOrigin = lineOrigins[i];
// UIKit coordinate system
CGPoint position;
position.x = cgPathBox.origin.x + ctLineOrigin.x;
position.y = cgPathBox.size.height + cgPathBox.origin.y - ctLineOrigin.y;
YYTextLine *line = [YYTextLine lineWithCTLine:ctLine position:position vertical:isVerticalForm];
CGRect rect = line.bounds;
if (constraintSizeIsExtended) {
if (isVerticalForm) {
if (rect.origin.x + rect.size.width >
constraintRectBeforeExtended.origin.x +
constraintRectBeforeExtended.size.width) break;
} else {
if (rect.origin.y + rect.size.height >
constraintRectBeforeExtended.origin.y +
constraintRectBeforeExtended.size.height) break;
}
}
BOOL newRow = YES;
if (rowMaySeparated && position.x != lastPosition.x) {
if (isVerticalForm) {
if (rect.size.width > lastRect.size.width) {
if (rect.origin.x > lastPosition.x && lastPosition.x > rect.origin.x - rect.size.width) newRow = NO;
} else {
if (lastRect.origin.x > position.x && position.x > lastRect.origin.x - lastRect.size.width) newRow = NO;
}
} else {
if (rect.size.height > lastRect.size.height) {
if (rect.origin.y < lastPosition.y && lastPosition.y < rect.origin.y + rect.size.height) newRow = NO;
} else {
if (lastRect.origin.y < position.y && position.y < lastRect.origin.y + lastRect.size.height) newRow = NO;
}
}
}
if (newRow) rowIdx++;
lastRect = rect;
lastPosition = position;
line.index = lineCurrentIdx;
line.row = rowIdx;
[lines addObject:line];
rowCount = rowIdx + 1;
lineCurrentIdx ++;
if (i == 0) textBoundingRect = rect;
else {
if (maximumNumberOfRows == 0 || rowIdx < maximumNumberOfRows) {
textBoundingRect = CGRectUnion(textBoundingRect, rect);
}
}
}
if (rowCount > 0) {
if (maximumNumberOfRows > 0) {
if (rowCount > maximumNumberOfRows) {
needTruncation = YES;
rowCount = maximumNumberOfRows;
do {
YYTextLine *line = lines.lastObject;
if (!line) break;
if (line.row < rowCount) break;
[lines removeLastObject];
} while (1);
}
}
YYTextLine *lastLine = lines.lastObject;
if (!needTruncation && lastLine.range.location + lastLine.range.length < text.length) {
needTruncation = YES;
}
// Give user a chance to modify the line's position.
if (container.linePositionModifier) {
[container.linePositionModifier modifyLines:lines fromText:text inContainer:container];
textBoundingRect = CGRectZero;
for (NSUInteger i = 0, max = lines.count; i < max; i++) {
YYTextLine *line = lines[i];
if (i == 0) textBoundingRect = line.bounds;
else textBoundingRect = CGRectUnion(textBoundingRect, line.bounds);
}
}
lineRowsEdge = calloc(rowCount, sizeof(YYRowEdge));
if (lineRowsEdge == NULL) goto fail;
lineRowsIndex = calloc(rowCount, sizeof(NSUInteger));
if (lineRowsIndex == NULL) goto fail;
NSInteger lastRowIdx = -1;
CGFloat lastHead = 0;
CGFloat lastFoot = 0;
for (NSUInteger i = 0, max = lines.count; i < max; i++) {
YYTextLine *line = lines[i];
CGRect rect = line.bounds;
if ((NSInteger)line.row != lastRowIdx) {
if (lastRowIdx >= 0) {
lineRowsEdge[lastRowIdx] = (YYRowEdge) {.head = lastHead, .foot = lastFoot };
}
lastRowIdx = line.row;
lineRowsIndex[lastRowIdx] = i;
if (isVerticalForm) {
lastHead = rect.origin.x + rect.size.width;
lastFoot = lastHead - rect.size.width;
} else {
lastHead = rect.origin.y;
lastFoot = lastHead + rect.size.height;
}
} else {
if (isVerticalForm) {
lastHead = MAX(lastHead, rect.origin.x + rect.size.width);
lastFoot = MIN(lastFoot, rect.origin.x);
} else {
lastHead = MIN(lastHead, rect.origin.y);
lastFoot = MAX(lastFoot, rect.origin.y + rect.size.height);
}
}
}
lineRowsEdge[lastRowIdx] = (YYRowEdge) {.head = lastHead, .foot = lastFoot };
for (NSUInteger i = 1; i < rowCount; i++) {
YYRowEdge v0 = lineRowsEdge[i - 1];
YYRowEdge v1 = lineRowsEdge[i];
lineRowsEdge[i - 1].foot = lineRowsEdge[i].head = (v0.foot + v1.head) * 0.5;
}
}
{ // calculate bounding size
CGRect rect = textBoundingRect;
if (container.path) {
if (container.pathLineWidth > 0) {
CGFloat inset = container.pathLineWidth / 2;
rect = CGRectInset(rect, -inset, -inset);
}
} else {
rect = UIEdgeInsetsInsetRect(rect, UIEdgeInsetsInvert(container.insets));
}
rect = CGRectStandardize(rect);
CGSize size = rect.size;
if (container.verticalForm) {
size.width += container.size.width - (rect.origin.x + rect.size.width);
} else {
size.width += rect.origin.x;
}
size.height += rect.origin.y;
if (size.width < 0) size.width = 0;
if (size.height < 0) size.height = 0;
size.width = ceil(size.width);
size.height = ceil(size.height);
textBoundingSize = size;
}
visibleRange = YYNSRangeFromCFRange(CTFrameGetVisibleStringRange(ctFrame));
if (needTruncation) {
YYTextLine *lastLine = lines.lastObject;
NSRange lastRange = lastLine.range;
visibleRange.length = lastRange.location + lastRange.length - visibleRange.location;
// create truncated line
if (container.truncationType != YYTextTruncationTypeNone) {
CTLineRef truncationTokenLine = NULL;
if (container.truncationToken) {
truncationToken = container.truncationToken;
truncationTokenLine = CTLineCreateWithAttributedString((CFAttributedStringRef)truncationToken);
} else {
CFArrayRef runs = CTLineGetGlyphRuns(lastLine.CTLine);
NSUInteger runCount = CFArrayGetCount(runs);
NSMutableDictionary *attrs = nil;
if (runCount > 0) {
CTRunRef run = CFArrayGetValueAtIndex(runs, runCount - 1);
attrs = (id)CTRunGetAttributes(run);
attrs = attrs ? attrs.mutableCopy : [NSMutableArray new];
[attrs removeObjectsForKeys:[NSMutableAttributedString allDiscontinuousAttributeKeys]];
CTFontRef font = (__bridge CFTypeRef)attrs[(id)kCTFontAttributeName];
CGFloat fontSize = font ? CTFontGetSize(font) : 12.0;
UIFont *uiFont = [UIFont systemFontOfSize:fontSize * 0.9];
font = [uiFont CTFontRef];
if (font) {
attrs[(id)kCTFontAttributeName] = (__bridge id)(font);
uiFont = nil;
CFRelease(font);
}
CGColorRef color = (__bridge CGColorRef)(attrs[(id)kCTForegroundColorAttributeName]);
if (color && CFGetTypeID(color) == CGColorGetTypeID() && CGColorGetAlpha(color) == 0) {
// ignore clear color
[attrs removeObjectForKey:(id)kCTForegroundColorAttributeName];
}
if (!attrs) attrs = [NSMutableDictionary new];
}
truncationToken = [[NSAttributedString alloc] initWithString:YYTextTruncationToken attributes:attrs];
truncationTokenLine = CTLineCreateWithAttributedString((CFAttributedStringRef)truncationToken);
}
if (truncationTokenLine) {
CTLineTruncationType type = kCTLineTruncationEnd;
if (container.truncationType == YYTextTruncationTypeStart) {
type = kCTLineTruncationStart;
} else if (container.truncationType == YYTextTruncationTypeMiddle) {
type = kCTLineTruncationMiddle;
}
NSMutableAttributedString *lastLineText = [text attributedSubstringFromRange:lastLine.range].mutableCopy;
[lastLineText appendAttributedString:truncationToken];
CTLineRef ctLastLineExtend = CTLineCreateWithAttributedString((CFAttributedStringRef)lastLineText);
if (ctLastLineExtend) {
CGFloat truncatedWidth = lastLine.width;
CGRect cgPathRect = CGRectZero;
if (CGPathIsRect(cgPath, &cgPathRect)) {
if (isVerticalForm) {
truncatedWidth = cgPathRect.size.height;
} else {
truncatedWidth = cgPathRect.size.width;
}
}
CTLineRef ctTruncatedLine = CTLineCreateTruncatedLine(ctLastLineExtend, truncatedWidth, type, truncationTokenLine);
CFRelease(ctLastLineExtend);
if (ctTruncatedLine) {
truncatedLine = [YYTextLine lineWithCTLine:ctTruncatedLine position:lastLine.position vertical:isVerticalForm];
truncatedLine.index = lastLine.index;
truncatedLine.row = lastLine.row;
CFRelease(ctTruncatedLine);
}
}
CFRelease(truncationTokenLine);
}
}
}
if (isVerticalForm) {
NSCharacterSet *rotateCharset = YYTextVerticalFormRotateCharacterSet();
NSCharacterSet *rotateMoveCharset = YYTextVerticalFormRotateAndMoveCharacterSet();
void (^lineBlock)(YYTextLine *) = ^(YYTextLine *line){
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
if (!runs) return;
NSUInteger runCount = CFArrayGetCount(runs);
if (runCount == 0) return;
NSMutableArray *lineRunRanges = [NSMutableArray new];
line.verticalRotateRange = lineRunRanges;
for (NSUInteger r = 0; r < runCount; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
NSMutableArray *runRanges = [NSMutableArray new];
[lineRunRanges addObject:runRanges];
NSUInteger glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) continue;
CFIndex runStrIdx[glyphCount + 1];
CTRunGetStringIndices(run, CFRangeMake(0, 0), runStrIdx);
CFRange runStrRange = CTRunGetStringRange(run);
runStrIdx[glyphCount] = runStrRange.location + runStrRange.length;
CFDictionaryRef runAttrs = CTRunGetAttributes(run);
CTFontRef font = CFDictionaryGetValue(runAttrs, kCTFontAttributeName);
BOOL isColorGlyph = CTFontContainsColorBitmapGlyphs(font);
NSUInteger prevIdx = 0;
YYTextRunGlyphDrawMode prevMode = YYTextRunGlyphDrawModeHorizontal;
NSString *layoutStr = layout.text.string;
for (NSUInteger g = 0; g < glyphCount; g++) {
BOOL glyphRotate = 0, glyphRotateMove = NO;
CFIndex runStrLen = runStrIdx[g + 1] - runStrIdx[g];
if (isColorGlyph) {
glyphRotate = YES;
} else if (runStrLen == 1) {
unichar c = [layoutStr characterAtIndex:runStrIdx[g]];
glyphRotate = [rotateCharset characterIsMember:c];
if (glyphRotate) glyphRotateMove = [rotateMoveCharset characterIsMember:c];
} else if (runStrLen > 1){
NSString *glyphStr = [layoutStr substringWithRange:NSMakeRange(runStrIdx[g], runStrLen)];
BOOL glyphRotate = [glyphStr rangeOfCharacterFromSet:rotateCharset].location != NSNotFound;
if (glyphRotate) glyphRotateMove = [glyphStr rangeOfCharacterFromSet:rotateMoveCharset].location != NSNotFound;
}
YYTextRunGlyphDrawMode mode = glyphRotateMove ? YYTextRunGlyphDrawModeVerticalRotateMove : (glyphRotate ? YYTextRunGlyphDrawModeVerticalRotate : YYTextRunGlyphDrawModeHorizontal);
if (g == 0) {
prevMode = mode;
} else if (mode != prevMode) {
YYTextRunGlyphRange *aRange = [YYTextRunGlyphRange rangeWithRange:NSMakeRange(prevIdx, g - prevIdx) drawMode:prevMode];
[runRanges addObject:aRange];
prevIdx = g;
prevMode = mode;
}
}
if (prevIdx < glyphCount) {
YYTextRunGlyphRange *aRange = [YYTextRunGlyphRange rangeWithRange:NSMakeRange(prevIdx, glyphCount - prevIdx) drawMode:prevMode];
[runRanges addObject:aRange];
}
}
};
for (YYTextLine *line in lines) {
lineBlock(line);
}
if (truncatedLine) lineBlock(truncatedLine);
}
if (visibleRange.length > 0) {
layout.needDrawText = YES;
void (^block)(NSDictionary *attrs, NSRange range, BOOL *stop) = ^(NSDictionary *attrs, NSRange range, BOOL *stop) {
if (attrs[YYTextHighlightAttributeName]) layout.containsHighlight = YES;
if (attrs[YYTextBlockBorderAttributeName]) layout.needDrawBlockBorder = YES;
if (attrs[YYTextBackgroundBorderAttributeName]) layout.needDrawBackgroundBorder = YES;
if (attrs[YYTextShadowAttributeName] || attrs[NSShadowAttributeName]) layout.needDrawShadow = YES;
if (attrs[YYTextUnderlineAttributeName]) layout.needDrawUnderline = YES;
if (attrs[YYTextAttachmentAttributeName]) layout.needDrawAttachment = YES;
if (attrs[YYTextInnerShadowAttributeName]) layout.needDrawInnerShadow = YES;
if (attrs[YYTextStrikethroughAttributeName]) layout.needDrawStrikethrough = YES;
if (attrs[YYTextBorderAttributeName]) layout.needDrawBorder = YES;
};
[layout.text enumerateAttributesInRange:visibleRange options:NSAttributedStringEnumerationLongestEffectiveRangeNotRequired usingBlock:block];
if (truncatedLine) {
[truncationToken enumerateAttributesInRange:NSMakeRange(0, truncationToken.length) options:NSAttributedStringEnumerationLongestEffectiveRangeNotRequired usingBlock:block];
}
}
attachments = [NSMutableArray new];
attachmentRanges = [NSMutableArray new];
attachmentRects = [NSMutableArray new];
attachmentContentsSet = [NSMutableSet new];
for (NSUInteger i = 0, max = lines.count; i < max; i++) {
YYTextLine *line = lines[i];
if (truncatedLine && line.index == truncatedLine.index) line = truncatedLine;
if (line.attachments.count > 0) {
[attachments addObjectsFromArray:line.attachments];
[attachmentRanges addObjectsFromArray:line.attachmentRanges];
[attachmentRects addObjectsFromArray:line.attachmentRects];
for (YYTextAttachment *attachment in line.attachments) {
if (attachment.content) {
[attachmentContentsSet addObject:attachment.content];
}
}
}
}
if (attachments.count == 0) {
attachments = attachmentRanges = attachmentRects = nil;
}
layout.frameSetter = ctSetter;
layout.frame = ctFrame;
layout.lines = lines;
layout.truncatedLine = truncatedLine;
layout.attachments = attachments;
layout.attachmentRanges = attachmentRanges;
layout.attachmentRects = attachmentRects;
layout.attachmentContentsSet = attachmentContentsSet;
layout.rowCount = rowCount;
layout.visibleRange = visibleRange;
layout.textBoundingRect = textBoundingRect;
layout.textBoundingSize = textBoundingSize;
layout.lineRowsEdge = lineRowsEdge;
layout.lineRowsIndex = lineRowsIndex;
CFRelease(cgPath);
CFRelease(ctSetter);
CFRelease(ctFrame);
if (lineOrigins) free(lineOrigins);
return layout;
fail:
if (cgPath) CFRelease(cgPath);
if (ctSetter) CFRelease(ctSetter);
if (ctFrame) CFRelease(ctFrame);
if (lineOrigins) free(lineOrigins);
if (lineRowsEdge) free(lineRowsEdge);
if (lineRowsIndex) free(lineRowsIndex);
return nil;
}
+ (NSArray *)layoutWithContainers:(NSArray *)containers text:(NSAttributedString *)text {
return [self layoutWithContainers:containers text:text range:NSMakeRange(0, text.length)];
}
+ (NSArray *)layoutWithContainers:(NSArray *)containers text:(NSAttributedString *)text range:(NSRange)range {
if (!containers || !text) return nil;
if (range.location + range.length > text.length) return nil;
NSMutableArray *layouts = [NSMutableArray array];
for (NSUInteger i = 0, max = containers.count; i < max; i++) {
YYTextContainer *container = containers[i];
YYTextLayout *layout = [self layoutWithContainer:container text:text range:range];
if (!layout) return nil;
NSInteger length = (NSInteger)range.length - (NSInteger)layout.visibleRange.length;
if (length <= 0) {
range.length = 0;
range.location = text.length;
} else {
range.length = length;
range.location += layout.visibleRange.length;
}
}
return layouts;
}
- (void)setFrameSetter:(CTFramesetterRef)frameSetter {
if (_frameSetter != frameSetter) {
if (frameSetter) CFRetain(frameSetter);
if (_frameSetter) CFRelease(_frameSetter);
_frameSetter = frameSetter;
}
}
- (void)setFrame:(CTFrameRef)frame {
if (_frame != frame) {
if (frame) CFRetain(frame);
if (_frame) CFRelease(_frame);
_frame = frame;
}
}
- (void)dealloc {
if (_frameSetter) CFRelease(_frameSetter);
if (_frame) CFRelease(_frame);
if (_lineRowsIndex) free(_lineRowsIndex);
if (_lineRowsEdge) free(_lineRowsEdge);
}
#pragma mark - Coding
- (void)encodeWithCoder:(NSCoder *)aCoder {
NSData *textData = [YYTextArchiver archivedDataWithRootObject:_text];
[aCoder encodeObject:textData forKey:@"text"];
[aCoder encodeObject:_container forKey:@"container"];
[aCoder encodeObject:[NSValue valueWithRange:_range] forKey:@"range"];
}
- (id)initWithCoder:(NSCoder *)aDecoder {
NSData *textData = [aDecoder decodeObjectForKey:@"text"];
NSAttributedString *text = [YYTextUnarchiver unarchiveObjectWithData:textData];
YYTextContainer *container = [aDecoder decodeObjectForKey:@"container"];
NSRange range = ((NSValue *)[aDecoder decodeObjectForKey:@"range"]).rangeValue;
self = [self.class layoutWithContainer:container text:text range:range];
return self;
}
#pragma mark - Copying
- (id)copyWithZone:(NSZone *)zone {
return self; // readonly object
}
#pragma mark - Query
/**
Get the row index with 'edge' distance.
@param edge The distance from edge to the point.
If vertical form, the edge is left edge, otherwise the edge is top edge.
@return Returns NSNotFound if there's no row at the point.
*/
- (NSUInteger)_rowIndexForEdge:(CGFloat)edge {
if (_rowCount == 0) return NSNotFound;
BOOL isVertical = _container.verticalForm;
NSUInteger lo = 0, hi = _rowCount - 1, mid = 0;
NSUInteger rowIdx = NSNotFound;
while (lo <= hi) {
mid = (lo + hi) / 2;
YYRowEdge oneEdge = _lineRowsEdge[mid];
if (isVertical ?
(oneEdge.foot <= edge && edge <= oneEdge.head) :
(oneEdge.head <= edge && edge <= oneEdge.foot)) {
rowIdx = mid;
break;
}
if ((isVertical ? (edge > oneEdge.head) : (edge < oneEdge.head))) {
if (mid == 0) break;
hi = mid - 1;
} else {
lo = mid + 1;
}
}
return rowIdx;
}
/**
Get the closest row index with 'edge' distance.
@param edge The distance from edge to the point.
If vertical form, the edge is left edge, otherwise the edge is top edge.
@return Returns NSNotFound if there's no line.
*/
- (NSUInteger)_closestRowIndexForEdge:(CGFloat)edge {
if (_rowCount == 0) return NSNotFound;
NSUInteger rowIdx = [self _rowIndexForEdge:edge];
if (rowIdx == NSNotFound) {
if (_container.verticalForm) {
if (edge > _lineRowsEdge[0].head) {
rowIdx = 0;
} else if (edge < _lineRowsEdge[_rowCount - 1].foot) {
rowIdx = _rowCount - 1;
}
} else {
if (edge < _lineRowsEdge[0].head) {
rowIdx = 0;
} else if (edge > _lineRowsEdge[_rowCount - 1].foot) {
rowIdx = _rowCount - 1;
}
}
}
return rowIdx;
}
/**
Get a CTRun from a line position.
@param line The text line.
@param position The position in the whole text.
@return Returns NULL if not found (no CTRun at the position).
*/
- (CTRunRef)_runForLine:(YYTextLine *)line position:(YYTextPosition *)position {
if (!line || !position) return NULL;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger i = 0, max = CFArrayGetCount(runs); i < max; i++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, i);
CFRange range = CTRunGetStringRange(run);
if (position.affinity == YYTextAffinityBackward) {
if (range.location < position.offset && position.offset <= range.location + range.length) {
return run;
}
} else {
if (range.location <= position.offset && position.offset < range.location + range.length) {
return run;
}
}
}
return NULL;
}
/**
Whether the position is inside a composed character sequence.
@param line The text line.
@param position Text text position in whole text.
@param block The block to be executed before returns YES.
left: left X offset
right: right X offset
prev: left position
next: right position
*/
- (BOOL)_insideComposedCharacterSequences:(YYTextLine *)line position:(NSUInteger)position block:(void (^)(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next))block {
NSRange range = line.range;
if (range.length == 0) return NO;
__block BOOL inside = NO;
__block NSUInteger _prev, _next;
[_text.string enumerateSubstringsInRange:range options:NSStringEnumerationByComposedCharacterSequences usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {
NSUInteger prev = substringRange.location;
NSUInteger next = substringRange.location + substringRange.length;
if (prev == position || next == position) {
*stop = YES;
}
if (prev < position && position < next) {
inside = YES;
_prev = prev;
_next = next;
*stop = YES;
}
}];
if (inside && block) {
CGFloat left = [self offsetForTextPosition:_prev lineIndex:line.index];
CGFloat right = [self offsetForTextPosition:_next lineIndex:line.index];
block(left, right, _prev, _next);
}
return inside;
}
/**
Whether the position is inside an emoji (such as National Flag Emoji).
@param line The text line.
@param position Text text position in whole text.
@param block Yhe block to be executed before returns YES.
left: emoji's left X offset
right: emoji's right X offset
prev: emoji's left position
next: emoji's right position
*/
- (BOOL)_insideEmoji:(YYTextLine *)line position:(NSUInteger)position block:(void (^)(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next))block {
if (!line) return NO;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
NSUInteger glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) continue;
CFRange range = CTRunGetStringRange(run);
if (range.length <= 1) continue;
if (position <= range.location || position >= range.location + range.length) continue;
CFDictionaryRef attrs = CTRunGetAttributes(run);
CTFontRef font = CFDictionaryGetValue(attrs, kCTFontAttributeName);
if (!CTFontContainsColorBitmapGlyphs(font)) continue;
// Here's Emoji runs (larger than 1 unichar), and position is inside the range.
CFIndex indices[glyphCount];
CTRunGetStringIndices(run, CFRangeMake(0, glyphCount), indices);
for (NSUInteger g = 0; g < glyphCount; g++) {
CFIndex prev = indices[g];
CFIndex next = g + 1 < glyphCount ? indices[g + 1] : range.location + range.length;
if (position == prev) break; // Emoji edge
if (prev < position && position < next) { // inside an emoji (such as National Flag Emoji)
CGPoint pos = CGPointZero;
CGSize adv = CGSizeZero;
CTRunGetPositions(run, CFRangeMake(g, 1), &pos);
CTRunGetAdvances(run, CFRangeMake(g, 1), &adv);
if (block) {
block(line.position.x + pos.x,
line.position.x + pos.x + adv.width,
prev, next);
}
return YES;
}
}
}
return NO;
}
/**
Whether the write direction is RTL at the specified point
@param line The text line
@param point The point in layout.
@return YES if RTL.
*/
- (BOOL)_isRightToLeftInLine:(YYTextLine *)line atPoint:(CGPoint)point {
if (!line) return NO;
// get write direction
BOOL RTL = NO;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, max = CFArrayGetCount(runs); r < max; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CGPoint glyphPosition;
CTRunGetPositions(run, CFRangeMake(0, 1), &glyphPosition);
if (_container.verticalForm) {
CGFloat runX = glyphPosition.x;
runX += line.position.y;
CGFloat runWidth = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), NULL, NULL, NULL);
if (runX <= point.y && point.y <= runX + runWidth) {
if (CTRunGetStatus(run) & kCTRunStatusRightToLeft) RTL = YES;
break;
}
} else {
CGFloat runX = glyphPosition.x;
runX += line.position.x;
CGFloat runWidth = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), NULL, NULL, NULL);
if (runX <= point.x && point.x <= runX + runWidth) {
if (CTRunGetStatus(run) & kCTRunStatusRightToLeft) RTL = YES;
break;
}
}
}
return RTL;
}
/**
Correct the range's edge.
*/
- (YYTextRange *)_correctedRangeWithEdge:(YYTextRange *)range {
NSRange visibleRange = self.visibleRange;
YYTextPosition *start = range.start;
YYTextPosition *end = range.end;
if (start.offset == visibleRange.location && start.affinity == YYTextAffinityBackward) {
start = [YYTextPosition positionWithOffset:start.offset affinity:YYTextAffinityForward];
}
if (end.offset == visibleRange.location + visibleRange.length && start.affinity == YYTextAffinityForward) {
end = [YYTextPosition positionWithOffset:end.offset affinity:YYTextAffinityBackward];
}
if (start != range.start || end != range.end) {
range = [YYTextRange rangeWithStart:start end:end];
}
return range;
}
- (NSUInteger)lineIndexForRow:(NSUInteger)row {
if (row >= _rowCount) return NSNotFound;
return _lineRowsIndex[row];
}
- (NSUInteger)lineCountForRow:(NSUInteger)row {
if (row >= _rowCount) return NSNotFound;
if (row == _rowCount - 1) {
return _lines.count - _lineRowsIndex[row];
} else {
return _lineRowsIndex[row + 1] - _lineRowsIndex[row];
}
}
- (NSUInteger)rowIndexForLine:(NSUInteger)line {
if (line >= _lines.count) return NSNotFound;
return ((YYTextLine *)_lines[line]).row;
}
- (NSUInteger)lineIndexForPoint:(CGPoint)point {
if (_lines.count == 0 || _rowCount == 0) return NSNotFound;
NSUInteger rowIdx = [self _rowIndexForEdge:_container.verticalForm ? point.x : point.y];
if (rowIdx == NSNotFound) return NSNotFound;
NSUInteger lineIdx0 = _lineRowsIndex[rowIdx];
NSUInteger lineIdx1 = rowIdx == _rowCount - 1 ? _lines.count - 1 : _lineRowsIndex[rowIdx + 1] - 1;
for (NSUInteger i = lineIdx0; i <= lineIdx1; i++) {
CGRect bounds = ((YYTextLine *)_lines[i]).bounds;
if (CGRectContainsPoint(bounds, point)) return i;
}
return NSNotFound;
}
- (NSUInteger)closestLineIndexForPoint:(CGPoint)point {
BOOL isVertical = _container.verticalForm;
if (_lines.count == 0 || _rowCount == 0) return NSNotFound;
NSUInteger rowIdx = [self _closestRowIndexForEdge:isVertical ? point.x : point.y];
if (rowIdx == NSNotFound) return NSNotFound;
NSUInteger lineIdx0 = _lineRowsIndex[rowIdx];
NSUInteger lineIdx1 = rowIdx == _rowCount - 1 ? _lines.count - 1 : _lineRowsIndex[rowIdx + 1] - 1;
if (lineIdx0 == lineIdx1) return lineIdx0;
CGFloat minDistance = CGFLOAT_MAX;
NSUInteger minIndex = lineIdx0;
for (NSUInteger i = lineIdx0; i <= lineIdx1; i++) {
CGRect bounds = ((YYTextLine *)_lines[i]).bounds;
if (isVertical) {
if (bounds.origin.y <= point.y && point.y <= bounds.origin.y + bounds.size.height) return i;
CGFloat distance;
if (point.y < bounds.origin.y) {
distance = bounds.origin.y - point.y;
} else {
distance = point.y - (bounds.origin.y + bounds.size.height);
}
if (distance < minDistance) {
minDistance = distance;
minIndex = i;
}
} else {
if (bounds.origin.x <= point.x && point.x <= bounds.origin.x + bounds.size.width) return i;
CGFloat distance;
if (point.x < bounds.origin.x) {
distance = bounds.origin.x - point.x;
} else {
distance = point.x - (bounds.origin.x + bounds.size.width);
}
if (distance < minDistance) {
minDistance = distance;
minIndex = i;
}
}
}
return minIndex;
}
- (CGFloat)offsetForTextPosition:(NSUInteger)position lineIndex:(NSUInteger)lineIndex {
if (lineIndex >= _lines.count) return CGFLOAT_MAX;
YYTextLine *line = _lines[lineIndex];
CFRange range = CTLineGetStringRange(line.CTLine);
if (position < range.location || position > range.location + range.length) return CGFLOAT_MAX;
CGFloat offset = CTLineGetOffsetForStringIndex(line.CTLine, position, NULL);
return _container.verticalForm ? (offset + line.position.y) : (offset + line.position.x);
}
- (NSUInteger)textPositionForPoint:(CGPoint)point lineIndex:(NSUInteger)lineIndex {
if (lineIndex >= _lines.count) return NSNotFound;
YYTextLine *line = _lines[lineIndex];
if (_container.verticalForm) {
point.x = point.y - line.position.y;
point.y = 0;
} else {
point.x -= line.position.x;
point.y = 0;
}
CFIndex idx = CTLineGetStringIndexForPosition(line.CTLine, point);
if (idx == kCFNotFound) return NSNotFound;
/*
If the emoji contains one or more variant form (such as "\u2614\uFE0F")
and the font size is smaller than 379/15, then each variant form ("\uFE0F")
will rendered as a single blank glyph behind the emoji glyph. Maybe it's a
bug in CoreText? Seems iOS8.3 fixes this problem.
If the point hit the blank glyph, the CTLineGetStringIndexForPosition()
returns the position before the emoji glyph, but it should returns the
position after the emoji and variant form.
Here's a workaround.
*/
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, max = CFArrayGetCount(runs); r < max; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CFRange range = CTRunGetStringRange(run);
if (range.location <= idx && idx < range.location + range.length) {
NSUInteger glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) break;
CFDictionaryRef attrs = CTRunGetAttributes(run);
CTFontRef font = CFDictionaryGetValue(attrs, kCTFontAttributeName);
if (!CTFontContainsColorBitmapGlyphs(font)) break;
CFIndex indices[glyphCount];
CGPoint positions[glyphCount];
CTRunGetStringIndices(run, CFRangeMake(0, glyphCount), indices);
CTRunGetPositions(run, CFRangeMake(0, glyphCount), positions);
for (NSUInteger g = 0; g < glyphCount; g++) {
NSUInteger gIdx = indices[g];
if (gIdx == idx && g + 1 < glyphCount) {
CGFloat right = positions[g + 1].x;
if (point.x < right) break;
NSUInteger next = indices[g + 1];
do {
if (next == range.location + range.length) break;
unichar c = [_text.string characterAtIndex:next];
if ((c == 0xFE0E || c == 0xFE0F)) { // unicode variant form for emoji style
next++;
} else break;
}
while (1);
if (next != indices[g + 1]) idx = next;
break;
}
}
break;
}
}
return idx;
}
- (YYTextPosition *)closestPositionToPoint:(CGPoint)point {
BOOL isVertical = _container.verticalForm;
// When call CTLineGetStringIndexForPosition() on ligature such as 'fi',
// and the point `hit` the glyph's left edge, it may get the ligature inside offset.
// I don't know why, maybe it's a bug of CoreText. Try to avoid it.
if (isVertical) point.y += 0.00001234;
else point.x += 0.00001234;
NSUInteger lineIndex = [self closestLineIndexForPoint:point];
if (lineIndex == NSNotFound) return nil;
YYTextLine *line = _lines[lineIndex];
__block NSUInteger position = [self textPositionForPoint:point lineIndex:lineIndex];
if (position == NSNotFound) position = line.range.location;
if (position <= _visibleRange.location) {
return [YYTextPosition positionWithOffset:_visibleRange.location affinity:YYTextAffinityForward];
} else if (position >= _visibleRange.location + _visibleRange.length) {
return [YYTextPosition positionWithOffset:_visibleRange.location + _visibleRange.length affinity:YYTextAffinityBackward];
}
YYTextAffinity finalAffinity = YYTextAffinityForward;
BOOL finalAffinityDetected = NO;
// binding range
NSRange bindingRange;
YYTextBinding *binding = [_text attribute:YYTextBindingAttributeName atIndex:position longestEffectiveRange:&bindingRange inRange:NSMakeRange(0, _text.length)];
if (binding && bindingRange.length > 0) {
NSUInteger headLineIdx = [self lineIndexForPosition:[YYTextPosition positionWithOffset:bindingRange.location]];
NSUInteger tailLineIdx = [self lineIndexForPosition:[YYTextPosition positionWithOffset:bindingRange.location + bindingRange.length affinity:YYTextAffinityBackward]];
if (headLineIdx == lineIndex && lineIndex == tailLineIdx) { // all in same line
CGFloat left = [self offsetForTextPosition:bindingRange.location lineIndex:lineIndex];
CGFloat right = [self offsetForTextPosition:bindingRange.location + bindingRange.length lineIndex:lineIndex];
if (left != CGFLOAT_MAX && right != CGFLOAT_MAX) {
if (_container.isVerticalForm) {
if (fabs(point.y - left) < fabs(point.y - right)) {
position = bindingRange.location;
finalAffinity = YYTextAffinityForward;
} else {
position = bindingRange.location + bindingRange.length;
finalAffinity = YYTextAffinityBackward;
}
} else {
if (fabs(point.x - left) < fabs(point.x - right)) {
position = bindingRange.location;
finalAffinity = YYTextAffinityForward;
} else {
position = bindingRange.location + bindingRange.length;
finalAffinity = YYTextAffinityBackward;
}
}
} else if (left != CGFLOAT_MAX) {
position = left;
finalAffinity = YYTextAffinityForward;
} else if (right != CGFLOAT_MAX) {
position = right;
finalAffinity = YYTextAffinityBackward;
}
finalAffinityDetected = YES;
} else if (headLineIdx == lineIndex) {
CGFloat left = [self offsetForTextPosition:bindingRange.location lineIndex:lineIndex];
if (left != CGFLOAT_MAX) {
position = bindingRange.location;
finalAffinity = YYTextAffinityForward;
finalAffinityDetected = YES;
}
} else if (tailLineIdx == lineIndex) {
CGFloat right = [self offsetForTextPosition:bindingRange.location + bindingRange.length lineIndex:lineIndex];
if (right != CGFLOAT_MAX) {
position = bindingRange.location + bindingRange.length;
finalAffinity = YYTextAffinityBackward;
finalAffinityDetected = YES;
}
} else {
BOOL onLeft = NO, onRight = NO;
if (headLineIdx != NSNotFound && tailLineIdx != NSNotFound) {
if (abs((int)headLineIdx - (int)lineIndex) < abs((int)tailLineIdx - (int)lineIndex)) onLeft = YES;
else onRight = YES;
} else if (headLineIdx != NSNotFound) {
onLeft = YES;
} else if (tailLineIdx != NSNotFound) {
onRight = YES;
}
if (onLeft) {
CGFloat left = [self offsetForTextPosition:bindingRange.location lineIndex:headLineIdx];
if (left != CGFLOAT_MAX) {
lineIndex = headLineIdx;
line = _lines[headLineIdx];
position = bindingRange.location;
finalAffinity = YYTextAffinityForward;
finalAffinityDetected = YES;
}
} else if (onRight) {
CGFloat right = [self offsetForTextPosition:bindingRange.location + bindingRange.length lineIndex:tailLineIdx];
if (right != CGFLOAT_MAX) {
lineIndex = tailLineIdx;
line = _lines[tailLineIdx];
position = bindingRange.location + bindingRange.length;
finalAffinity = YYTextAffinityBackward;
finalAffinityDetected = YES;
}
}
}
}
// empty line
if (line.range.length == 0) {
BOOL behind = (_lines.count > 1 && lineIndex == _lines.count - 1); //end line
return [YYTextPosition positionWithOffset:line.range.location affinity:behind ? YYTextAffinityBackward:YYTextAffinityForward];
}
// detect whether the line is a linebreak token
if (line.range.length <= 2) {
NSString *str = [_text.string substringWithRange:line.range];
if (YYTextIsLinebreakString(str)) { // an empty line ("\r", "\n", "\r\n")
return [YYTextPosition positionWithOffset:line.range.location];
}
}
// above whole text frame
if (lineIndex == 0 && (isVertical ? (point.x > line.right) : (point.y < line.top))) {
position = 0;
finalAffinity = YYTextAffinityForward;
finalAffinityDetected = YES;
}
// below whole text frame
if (lineIndex == _lines.count - 1 && (isVertical ? (point.x < line.left) : (point.y > line.bottom))) {
position = line.range.location + line.range.length;
finalAffinity = YYTextAffinityBackward;
finalAffinityDetected = YES;
}
// There must be at least one non-linebreak char,
// ignore the linebreak characters at line end if exists.
if (position >= line.range.location + line.range.length - 1) {
if (position > line.range.location) {
unichar c1 = [_text.string characterAtIndex:position - 1];
if (YYTextIsLinebreakChar(c1)) {
position--;
if (position > line.range.location) {
unichar c0 = [_text.string characterAtIndex:position - 1];
if (YYTextIsLinebreakChar(c0)) {
position--;
}
}
}
}
}
if (position == line.range.location) {
return [YYTextPosition positionWithOffset:position];
}
if (position == line.range.location + line.range.length) {
return [YYTextPosition positionWithOffset:position affinity:YYTextAffinityBackward];
}
[self _insideComposedCharacterSequences:line position:position block: ^(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next) {
if (isVertical) {
position = fabs(left - point.y) < fabs(right - point.y) < (right ? prev : next);
} else {
position = fabs(left - point.x) < fabs(right - point.x) < (right ? prev : next);
}
}];
[self _insideEmoji:line position:position block: ^(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next) {
if (isVertical) {
position = fabs(left - point.y) < fabs(right - point.y) < (right ? prev : next);
} else {
position = fabs(left - point.x) < fabs(right - point.x) < (right ? prev : next);
}
}];
if (position < _visibleRange.location) position = _visibleRange.location;
else if (position > _visibleRange.location + _visibleRange.length) position = _visibleRange.location + _visibleRange.length;
if (!finalAffinityDetected) {
CGFloat ofs = [self offsetForTextPosition:position lineIndex:lineIndex];
if (ofs != CGFLOAT_MAX) {
BOOL RTL = [self _isRightToLeftInLine:line atPoint:point];
if (position >= line.range.location + line.range.length) {
finalAffinity = RTL ? YYTextAffinityForward : YYTextAffinityBackward;
} else if (position <= line.range.location) {
finalAffinity = RTL ? YYTextAffinityBackward : YYTextAffinityForward;
} else {
finalAffinity = (ofs < (isVertical ? point.y : point.x) && !RTL) ? YYTextAffinityForward : YYTextAffinityBackward;
}
}
}
return [YYTextPosition positionWithOffset:position affinity:finalAffinity];
}
- (YYTextPosition *)positionForPoint:(CGPoint)point
oldPosition:(YYTextPosition *)oldPosition
otherPosition:(YYTextPosition *)otherPosition {
if (!oldPosition || !otherPosition) {
return oldPosition;
}
YYTextPosition *newPos = [self closestPositionToPoint:point];
if (!newPos) return oldPosition;
if ([newPos compare:otherPosition] == [oldPosition compare:otherPosition] &&
newPos.offset != otherPosition.offset) {
return newPos;
}
NSUInteger lineIndex = [self lineIndexForPosition:otherPosition];
if (lineIndex == NSNotFound) return oldPosition;
YYTextLine *line = _lines[lineIndex];
YYRowEdge vertical = _lineRowsEdge[line.row];
if (_container.verticalForm) {
point.x = (vertical.head + vertical.foot) * 0.5;
} else {
point.y = (vertical.head + vertical.foot) * 0.5;
}
newPos = [self closestPositionToPoint:point];
if ([newPos compare:otherPosition] == [oldPosition compare:otherPosition] &&
newPos.offset != otherPosition.offset) {
return newPos;
}
if (_container.isVerticalForm) {
if ([oldPosition compare:otherPosition] == NSOrderedAscending) { // search backward
YYTextRange *range = [self textRangeByExtendingPosition:otherPosition inDirection:UITextLayoutDirectionUp offset:1];
if (range) return range.start;
} else { // search forward
YYTextRange *range = [self textRangeByExtendingPosition:otherPosition inDirection:UITextLayoutDirectionDown offset:1];
if (range) return range.end;
}
} else {
if ([oldPosition compare:otherPosition] == NSOrderedAscending) { // search backward
YYTextRange *range = [self textRangeByExtendingPosition:otherPosition inDirection:UITextLayoutDirectionLeft offset:1];
if (range) return range.start;
} else { // search forward
YYTextRange *range = [self textRangeByExtendingPosition:otherPosition inDirection:UITextLayoutDirectionRight offset:1];
if (range) return range.end;
}
}
return oldPosition;
}
- (YYTextRange *)textRangeAtPoint:(CGPoint)point {
NSUInteger lineIndex = [self lineIndexForPoint:point];
if (lineIndex == NSNotFound) return nil;
NSUInteger textPosition = [self textPositionForPoint:point lineIndex:[self lineIndexForPoint:point]];
if (textPosition == NSNotFound) return nil;
YYTextPosition *pos = [self closestPositionToPoint:point];
if (!pos) return nil;
// get write direction
BOOL RTL = [self _isRightToLeftInLine:_lines[lineIndex] atPoint:point];
CGRect rect = [self caretRectForPosition:pos];
if (CGRectIsNull(rect)) return nil;
if (_container.verticalForm) {
YYTextRange *range = [self textRangeByExtendingPosition:pos inDirection:(rect.origin.y >= point.y && !RTL) ? UITextLayoutDirectionUp:UITextLayoutDirectionDown offset:1];
return range;
} else {
YYTextRange *range = [self textRangeByExtendingPosition:pos inDirection:(rect.origin.x >= point.x && !RTL) ? UITextLayoutDirectionLeft:UITextLayoutDirectionRight offset:1];
return range;
}
}
- (YYTextRange *)closestTextRangeAtPoint:(CGPoint)point {
YYTextPosition *pos = [self closestPositionToPoint:point];
if (!pos) return nil;
NSUInteger lineIndex = [self lineIndexForPosition:pos];
if (lineIndex == NSNotFound) return nil;
YYTextLine *line = _lines[lineIndex];
BOOL RTL = [self _isRightToLeftInLine:line atPoint:point];
CGRect rect = [self caretRectForPosition:pos];
if (CGRectIsNull(rect)) return nil;
UITextLayoutDirection direction = UITextLayoutDirectionRight;
if (pos.offset >= line.range.location + line.range.length) {
if (direction != RTL) {
direction = _container.verticalForm ? UITextLayoutDirectionUp : UITextLayoutDirectionLeft;
} else {
direction = _container.verticalForm ? UITextLayoutDirectionDown : UITextLayoutDirectionRight;
}
} else if (pos.offset <= line.range.location) {
if (direction != RTL) {
direction = _container.verticalForm ? UITextLayoutDirectionDown : UITextLayoutDirectionRight;
} else {
direction = _container.verticalForm ? UITextLayoutDirectionUp : UITextLayoutDirectionLeft;
}
} else {
if (_container.verticalForm) {
direction = (rect.origin.y >= point.y && !RTL) ? UITextLayoutDirectionUp:UITextLayoutDirectionDown;
} else {
direction = (rect.origin.x >= point.x && !RTL) ? UITextLayoutDirectionLeft:UITextLayoutDirectionRight;
}
}
YYTextRange *range = [self textRangeByExtendingPosition:pos inDirection:direction offset:1];
return range;
}
- (YYTextRange *)textRangeByExtendingPosition:(YYTextPosition *)position {
NSUInteger visibleStart = _visibleRange.location;
NSUInteger visibleEnd = _visibleRange.location + _visibleRange.length;
if (!position) return nil;
if (position.offset < visibleStart || position.offset > visibleEnd) return nil;
// head or tail, returns immediately
if (position.offset == visibleStart) {
return [YYTextRange rangeWithRange:NSMakeRange(position.offset, 0)];
} else if (position.offset == visibleEnd) {
return [YYTextRange rangeWithRange:NSMakeRange(position.offset, 0) affinity:YYTextAffinityBackward];
}
// binding range
NSRange tRange;
YYTextBinding *binding = [_text attribute:YYTextBindingAttributeName atIndex:position.offset longestEffectiveRange:&tRange inRange:_visibleRange];
if (binding && tRange.length > 0 && tRange.location < position.offset) {
return [YYTextRange rangeWithRange:tRange];
}
// inside emoji or composed character sequences
NSUInteger lineIndex = [self lineIndexForPosition:position];
if (lineIndex != NSNotFound) {
__block NSUInteger _prev, _next;
BOOL emoji = NO, seq = NO;
YYTextLine *line = _lines[lineIndex];
emoji = [self _insideEmoji:line position:position.offset block: ^(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next) {
_prev = prev;
_next = next;
}];
if (!emoji) {
seq = [self _insideComposedCharacterSequences:line position:position.offset block: ^(CGFloat left, CGFloat right, NSUInteger prev, NSUInteger next) {
_prev = prev;
_next = next;
}];
}
if (emoji || seq) {
return [YYTextRange rangeWithRange:NSMakeRange(_prev, _next - _prev)];
}
}
// inside linebreak '\r\n'
if (position.offset > visibleStart && position.offset < visibleEnd) {
unichar c0 = [_text.string characterAtIndex:position.offset - 1];
if ((c0 == '\r') && position.offset < visibleEnd) {
unichar c1 = [_text.string characterAtIndex:position.offset];
if (c1 == '\n') {
return [YYTextRange rangeWithStart:[YYTextPosition positionWithOffset:position.offset - 1] end:[YYTextPosition positionWithOffset:position.offset + 1]];
}
}
if (YYTextIsLinebreakChar(c0) && position.affinity == YYTextAffinityBackward) {
NSString *str = [_text.string substringToIndex:position.offset];
NSUInteger len = YYTextLinebreakTailLength(str);
return [YYTextRange rangeWithStart:[YYTextPosition positionWithOffset:position.offset - len] end:[YYTextPosition positionWithOffset:position.offset]];
}
}
return [YYTextRange rangeWithRange:NSMakeRange(position.offset, 0) affinity:position.affinity];
}
- (YYTextRange *)textRangeByExtendingPosition:(YYTextPosition *)position
inDirection:(UITextLayoutDirection)direction
offset:(NSInteger)offset {
NSInteger visibleStart = _visibleRange.location;
NSInteger visibleEnd = _visibleRange.location + _visibleRange.length;
if (!position) return nil;
if (position.offset < visibleStart || position.offset > visibleEnd) return nil;
if (offset == 0) return [self textRangeByExtendingPosition:position];
BOOL isVerticalForm = _container.verticalForm;
BOOL verticalMove, forwardMove;
if (isVerticalForm) {
verticalMove = direction == UITextLayoutDirectionLeft || direction == UITextLayoutDirectionRight;
forwardMove = direction == UITextLayoutDirectionLeft || direction == UITextLayoutDirectionDown;
} else {
verticalMove = direction == UITextLayoutDirectionUp || direction == UITextLayoutDirectionDown;
forwardMove = direction == UITextLayoutDirectionDown || direction == UITextLayoutDirectionRight;
}
if (offset < 0) {
forwardMove = !forwardMove;
offset = -offset;
}
// head or tail, returns immediately
if (!forwardMove && position.offset == visibleStart) {
return [YYTextRange rangeWithRange:NSMakeRange(_visibleRange.location, 0)];
} else if (forwardMove && position.offset == visibleEnd) {
return [YYTextRange rangeWithRange:NSMakeRange(position.offset, 0) affinity:YYTextAffinityBackward];
}
// extend from position
YYTextRange *fromRange = [self textRangeByExtendingPosition:position];
if (!fromRange) return nil;
YYTextRange *allForward = [YYTextRange rangeWithStart:fromRange.start end:[YYTextPosition positionWithOffset:visibleEnd]];
YYTextRange *allBackward = [YYTextRange rangeWithStart:[YYTextPosition positionWithOffset:visibleStart] end:fromRange.end];
if (verticalMove) { // up/down in text layout
NSInteger lineIndex = [self lineIndexForPosition:position];
if (lineIndex == NSNotFound) return nil;
YYTextLine *line = _lines[lineIndex];
NSInteger moveToRowIndex = (NSInteger)line.row + (forwardMove ? offset : -offset);
if (moveToRowIndex < 0) return allBackward;
else if (moveToRowIndex >= (NSInteger)_rowCount) return allForward;
CGFloat ofs = [self offsetForTextPosition:position.offset lineIndex:lineIndex];
if (ofs == CGFLOAT_MAX) return nil;
NSUInteger moveToLineFirstIndex = [self lineIndexForRow:moveToRowIndex];
NSUInteger moveToLineCount = [self lineCountForRow:moveToRowIndex];
if (moveToLineFirstIndex == NSNotFound || moveToLineCount == NSNotFound || moveToLineCount == 0) return nil;
CGFloat mostLeft = CGFLOAT_MAX, mostRight = -CGFLOAT_MAX;
YYTextLine *mostLeftLine = nil, *mostRightLine = nil;
NSUInteger insideIndex = NSNotFound;
for (NSUInteger i = 0; i < moveToLineCount; i++) {
NSUInteger lineIndex = moveToLineFirstIndex + i;
YYTextLine *line = _lines[lineIndex];
if (isVerticalForm) {
if (line.top <= ofs && ofs <= line.bottom) {
insideIndex = line.index;
break;
}
if (line.top < mostLeft) {
mostLeft = line.top;
mostLeftLine = line;
}
if (line.bottom > mostRight) {
mostRight = line.bottom;
mostRightLine = line;
}
} else {
if (line.left <= ofs && ofs <= line.right) {
insideIndex = line.index;
break;
}
if (line.left < mostLeft) {
mostLeft = line.left;
mostLeftLine = line;
}
if (line.right > mostRight) {
mostRight = line.right;
mostRightLine = line;
}
}
}
BOOL afinityEdge = NO;
if (insideIndex == NSNotFound) {
if (ofs <= mostLeft) {
insideIndex = mostLeftLine.index;
} else {
insideIndex = mostRightLine.index;
}
afinityEdge = YES;
}
YYTextLine *insideLine = _lines[insideIndex];
NSUInteger pos;
if (isVerticalForm) {
pos = [self textPositionForPoint:CGPointMake(insideLine.position.x, ofs) lineIndex:insideIndex];
} else {
pos = [self textPositionForPoint:CGPointMake(ofs, insideLine.position.y) lineIndex:insideIndex];
}
if (pos == NSNotFound) return nil;
YYTextPosition *extPos;
if (afinityEdge) {
if (pos == insideLine.range.location + insideLine.range.length) {
NSString *subStr = [_text.string substringWithRange:insideLine.range];
NSUInteger lineBreakLen = YYTextLinebreakTailLength(subStr);
extPos = [YYTextPosition positionWithOffset:pos - lineBreakLen];
} else {
extPos = [YYTextPosition positionWithOffset:pos];
}
} else {
extPos = [YYTextPosition positionWithOffset:pos];
}
YYTextRange *ext = [self textRangeByExtendingPosition:extPos];
if (!ext) return nil;
if (forwardMove) {
return [YYTextRange rangeWithStart:fromRange.start end:ext.end];
} else {
return [YYTextRange rangeWithStart:ext.start end:fromRange.end];
}
} else { // left/right in text layout
YYTextPosition *toPosition = [YYTextPosition positionWithOffset:position.offset + (forwardMove ? offset : -offset)];
if (toPosition.offset <= visibleStart) return allBackward;
else if (toPosition.offset >= visibleEnd) return allForward;
YYTextRange *toRange = [self textRangeByExtendingPosition:toPosition];
if (!toRange) return nil;
NSInteger start = MIN(fromRange.start.offset, toRange.start.offset);
NSInteger end = MAX(fromRange.end.offset, toRange.end.offset);
return [YYTextRange rangeWithRange:NSMakeRange(start, end - start)];
}
}
- (NSUInteger)lineIndexForPosition:(YYTextPosition *)position {
if (!position) return NSNotFound;
if (_lines.count == 0) return NSNotFound;
NSUInteger location = position.offset;
NSInteger lo = 0, hi = _lines.count - 1, mid = 0;
if (position.affinity == YYTextAffinityBackward) {
while (lo <= hi) {
mid = (lo + hi) / 2;
YYTextLine *line = _lines[mid];
NSRange range = line.range;
if (range.location < location && location <= range.location + range.length) {
return mid;
}
if (location <= range.location) {
hi = mid - 1;
} else {
lo = mid + 1;
}
}
} else {
while (lo <= hi) {
mid = (lo + hi) / 2;
YYTextLine *line = _lines[mid];
NSRange range = line.range;
if (range.location <= location && location < range.location + range.length) {
return mid;
}
if (location < range.location) {
hi = mid - 1;
} else {
lo = mid + 1;
}
}
}
return NSNotFound;
}
- (CGPoint)linePositionForPosition:(YYTextPosition *)position {
NSUInteger lineIndex = [self lineIndexForPosition:position];
if (lineIndex == NSNotFound) return CGPointZero;
YYTextLine *line = _lines[lineIndex];
CGFloat offset = [self offsetForTextPosition:position.offset lineIndex:lineIndex];
if (offset == CGFLOAT_MAX) return CGPointZero;
if (_container.verticalForm) {
return CGPointMake(line.position.x, offset);
} else {
return CGPointMake(offset, line.position.y);
}
}
- (CGRect)caretRectForPosition:(YYTextPosition *)position {
NSUInteger lineIndex = [self lineIndexForPosition:position];
if (lineIndex == NSNotFound) return CGRectNull;
YYTextLine *line = _lines[lineIndex];
CGFloat offset = [self offsetForTextPosition:position.offset lineIndex:lineIndex];
if (offset == CGFLOAT_MAX) return CGRectNull;
if (_container.verticalForm) {
return CGRectMake(line.bounds.origin.x, offset, line.bounds.size.width, 0);
} else {
return CGRectMake(offset, line.bounds.origin.y, 0, line.bounds.size.height);
}
}
- (CGRect)firstRectForRange:(YYTextRange *)range {
range = [self _correctedRangeWithEdge:range];
NSUInteger startLineIndex = [self lineIndexForPosition:range.start];
NSUInteger endLineIndex = [self lineIndexForPosition:range.end];
if (startLineIndex == NSNotFound || endLineIndex == NSNotFound) return CGRectNull;
if (startLineIndex > endLineIndex) return CGRectNull;
YYTextLine *startLine = _lines[startLineIndex];
YYTextLine *endLine = _lines[endLineIndex];
NSMutableArray *lines = [NSMutableArray new];
for (NSUInteger i = startLineIndex; i <= startLineIndex; i++) {
YYTextLine *line = _lines[i];
if (line.row != startLine.row) break;
[lines addObject:line];
}
if (_container.verticalForm) {
if (lines.count == 1) {
CGFloat top = [self offsetForTextPosition:range.start.offset lineIndex:startLineIndex];
CGFloat bottom;
if (startLine == endLine) {
bottom = [self offsetForTextPosition:range.end.offset lineIndex:startLineIndex];
} else {
bottom = startLine.bottom;
}
if (top == CGFLOAT_MAX || bottom == CGFLOAT_MAX) return CGRectNull;
if (top > bottom) YY_SWAP(top, bottom);
return CGRectMake(startLine.left, top, startLine.width, bottom - top);
} else {
CGFloat top = [self offsetForTextPosition:range.start.offset lineIndex:startLineIndex];
CGFloat bottom = startLine.bottom;
if (top == CGFLOAT_MAX || bottom == CGFLOAT_MAX) return CGRectNull;
if (top > bottom) YY_SWAP(top, bottom);
CGRect rect = CGRectMake(startLine.left, top, startLine.width, bottom - top);
for (NSUInteger i = 1; i < lines.count; i++) {
YYTextLine *line = lines[i];
rect = CGRectUnion(rect, line.bounds);
}
return rect;
}
} else {
if (lines.count == 1) {
CGFloat left = [self offsetForTextPosition:range.start.offset lineIndex:startLineIndex];
CGFloat right;
if (startLine == endLine) {
right = [self offsetForTextPosition:range.end.offset lineIndex:startLineIndex];
} else {
right = startLine.right;
}
if (left == CGFLOAT_MAX || right == CGFLOAT_MAX) return CGRectNull;
if (left > right) YY_SWAP(left, right);
return CGRectMake(left, startLine.top, right - left, startLine.height);
} else {
CGFloat left = [self offsetForTextPosition:range.start.offset lineIndex:startLineIndex];
CGFloat right = startLine.right;
if (left == CGFLOAT_MAX || right == CGFLOAT_MAX) return CGRectNull;
if (left > right) YY_SWAP(left, right);
CGRect rect = CGRectMake(left, startLine.top, right - left, startLine.height);
for (NSUInteger i = 1; i < lines.count; i++) {
YYTextLine *line = lines[i];
rect = CGRectUnion(rect, line.bounds);
}
return rect;
}
}
}
- (CGRect)rectForRange:(YYTextRange *)range {
NSArray *rects = [self selectionRectsForRange:range];
if (rects.count == 0) return CGRectNull;
CGRect rectUnion = ((YYTextSelectionRect *)rects.firstObject).rect;
for (NSUInteger i = 1; i < rects.count; i++) {
YYTextSelectionRect *rect = rects[i];
rectUnion = CGRectUnion(rectUnion, rect.rect);
}
return rectUnion;
}
- (NSArray *)selectionRectsForRange:(YYTextRange *)range {
range = [self _correctedRangeWithEdge:range];
BOOL isVertical = _container.verticalForm;
NSMutableArray *rects = [NSMutableArray array];
if (!range) return rects;
NSUInteger startLineIndex = [self lineIndexForPosition:range.start];
NSUInteger endLineIndex = [self lineIndexForPosition:range.end];
if (startLineIndex == NSNotFound || endLineIndex == NSNotFound) return rects;
if (startLineIndex > endLineIndex) YY_SWAP(startLineIndex, endLineIndex);
YYTextLine *startLine = _lines[startLineIndex];
YYTextLine *endLine = _lines[endLineIndex];
CGFloat offsetStart = [self offsetForTextPosition:range.start.offset lineIndex:startLineIndex];
CGFloat offsetEnd = [self offsetForTextPosition:range.end.offset lineIndex:endLineIndex];
YYTextSelectionRect *start = [YYTextSelectionRect new];
if (isVertical) {
start.rect = CGRectMake(startLine.left, offsetStart, startLine.width, 0);
} else {
start.rect = CGRectMake(offsetStart, startLine.top, 0, startLine.height);
}
start.containsStart = YES;
start.isVertical = isVertical;
[rects addObject:start];
YYTextSelectionRect *end = [YYTextSelectionRect new];
if (isVertical) {
end.rect = CGRectMake(endLine.left, offsetEnd, endLine.width, 0);
} else {
end.rect = CGRectMake(offsetEnd, endLine.top, 0, endLine.height);
}
end.containsEnd = YES;
end.isVertical = isVertical;
[rects addObject:end];
if (startLine.row == endLine.row) { // same row
if (offsetStart > offsetEnd) YY_SWAP(offsetStart, offsetEnd);
YYTextSelectionRect *rect = [YYTextSelectionRect new];
if (isVertical) {
rect.rect = CGRectMake(startLine.bounds.origin.x, offsetStart, MAX(startLine.width, endLine.width), offsetEnd - offsetStart);
} else {
rect.rect = CGRectMake(offsetStart, startLine.bounds.origin.y, offsetEnd - offsetStart, MAX(startLine.height, endLine.height));
}
rect.isVertical = isVertical;
[rects addObject:rect];
} else { // more than one row
// start line select rect
YYTextSelectionRect *topRect = [YYTextSelectionRect new];
topRect.isVertical = isVertical;
CGFloat topOffset = [self offsetForTextPosition:range.start.offset lineIndex:startLineIndex];
CTRunRef topRun = [self _runForLine:startLine position:range.start];
if (topRun && (CTRunGetStatus(topRun) & kCTRunStatusRightToLeft)) {
if (isVertical) {
topRect.rect = CGRectMake(startLine.left, _container.path ? startLine.top : _container.insets.top, startLine.width, topOffset - startLine.top);
} else {
topRect.rect = CGRectMake(_container.path ? startLine.left : _container.insets.left, startLine.top, topOffset - startLine.left, startLine.height);
}
topRect.writingDirection = UITextWritingDirectionRightToLeft;
} else {
if (isVertical) {
topRect.rect = CGRectMake(startLine.left, topOffset, startLine.width, (_container.path ? startLine.bottom : _container.size.height - _container.insets.bottom) - topOffset);
} else {
topRect.rect = CGRectMake(topOffset, startLine.top, (_container.path ? startLine.right : _container.size.width - _container.insets.right) - topOffset, startLine.height);
}
}
[rects addObject:topRect];
// end line select rect
YYTextSelectionRect *bottomRect = [YYTextSelectionRect new];
bottomRect.isVertical = isVertical;
CGFloat bottomOffset = [self offsetForTextPosition:range.end.offset lineIndex:endLineIndex];
CTRunRef bottomRun = [self _runForLine:endLine position:range.end];
if (bottomRun && (CTRunGetStatus(bottomRun) & kCTRunStatusRightToLeft)) {
if (isVertical) {
bottomRect.rect = CGRectMake(endLine.left, bottomOffset, endLine.width, (_container.path ? endLine.bottom : _container.size.height - _container.insets.bottom) - bottomOffset);
} else {
bottomRect.rect = CGRectMake(bottomOffset, endLine.top, (_container.path ? endLine.right : _container.size.width - _container.insets.right) - bottomOffset, endLine.height);
}
bottomRect.writingDirection = UITextWritingDirectionRightToLeft;
} else {
if (isVertical) {
CGFloat top = _container.path ? endLine.top : _container.insets.top;
bottomRect.rect = CGRectMake(endLine.left, top, endLine.width, bottomOffset - top);
} else {
CGFloat left = _container.path ? endLine.left : _container.insets.left;
bottomRect.rect = CGRectMake(left, endLine.top, bottomOffset - left, endLine.height);
}
}
[rects addObject:bottomRect];
if (endLineIndex - startLineIndex >= 2) {
CGRect r = CGRectZero;
BOOL startLineDetected = NO;
for (NSUInteger l = startLineIndex + 1; l < endLineIndex; l++) {
YYTextLine *line = _lines[l];
if (line.row == startLine.row || line.row == endLine.row) continue;
if (!startLineDetected) {
r = line.bounds;
startLineDetected = YES;
} else {
r = CGRectUnion(r, line.bounds);
}
}
if (startLineDetected) {
if (isVertical) {
if (!_container.path) {
r.origin.y = _container.insets.top;
r.size.height = _container.size.height - _container.insets.bottom - _container.insets.top;
}
r.size.width = CGRectGetMinX(topRect.rect) - CGRectGetMaxX(bottomRect.rect);
r.origin.x = CGRectGetMaxX(bottomRect.rect);
} else {
if (!_container.path) {
r.origin.x = _container.insets.left;
r.size.width = _container.size.width - _container.insets.right - _container.insets.left;
}
r.origin.y = CGRectGetMaxY(topRect.rect);
r.size.height = bottomRect.rect.origin.y - r.origin.y;
}
YYTextSelectionRect *rect = [YYTextSelectionRect new];
rect.rect = r;
rect.isVertical = isVertical;
[rects addObject:rect];
}
} else {
if (isVertical) {
CGRect r0 = bottomRect.rect;
CGRect r1 = topRect.rect;
CGFloat mid = (CGRectGetMaxX(r0) + CGRectGetMinX(r1)) * 0.5;
r0.size.width = mid - r0.origin.x;
CGFloat r1ofs = r1.origin.x - mid;
r1.origin.x -= r1ofs;
r1.size.width += r1ofs;
topRect.rect = r1;
bottomRect.rect = r0;
} else {
CGRect r0 = topRect.rect;
CGRect r1 = bottomRect.rect;
CGFloat mid = (CGRectGetMaxY(r0) + CGRectGetMinY(r1)) * 0.5;
r0.size.height = mid - r0.origin.y;
CGFloat r1ofs = r1.origin.y - mid;
r1.origin.y -= r1ofs;
r1.size.height += r1ofs;
topRect.rect = r0;
bottomRect.rect = r1;
}
}
}
return rects;
}
- (NSArray *)selectionRectsWithoutStartAndEndForRange:(YYTextRange *)range {
NSMutableArray *rects = [self selectionRectsForRange:range].mutableCopy;
for (NSInteger i = 0, max = rects.count; i < max; i++) {
YYTextSelectionRect *rect = rects[i];
if (rect.containsStart || rect.containsEnd) {
[rects removeObjectAtIndex:i];
i--;
max--;
}
}
return rects;
}
- (NSArray *)selectionRectsWithOnlyStartAndEndForRange:(YYTextRange *)range {
NSMutableArray *rects = [self selectionRectsForRange:range].mutableCopy;
for (NSInteger i = 0, max = rects.count; i < max; i++) {
YYTextSelectionRect *rect = rects[i];
if (!rect.containsStart && !rect.containsEnd) {
[rects removeObjectAtIndex:i];
i--;
max--;
}
}
return rects;
}
#pragma mark - Draw
typedef NS_OPTIONS(NSUInteger, YYTextDecorationType) {
YYTextDecorationTypeUnderline = 1 << 0,
YYTextDecorationTypeStrikethrough = 1 << 1,
};
typedef NS_OPTIONS(NSUInteger, YYTextBorderType) {
YYTextBorderTypeBackgound = 1 << 0,
YYTextBorderTypeNormal = 1 << 1,
};
static CGRect YYTextMergeRectInSameLine(CGRect rect1, CGRect rect2, BOOL isVertical) {
if (isVertical) {
CGFloat top = MIN(rect1.origin.y, rect2.origin.y);
CGFloat bottom = MAX(rect1.origin.y + rect1.size.height, rect2.origin.y + rect2.size.height);
CGFloat width = MAX(rect1.size.width, rect2.size.width);
return CGRectMake(rect1.origin.x, top, width, bottom - top);
} else {
CGFloat left = MIN(rect1.origin.x, rect2.origin.x);
CGFloat right = MAX(rect1.origin.x + rect1.size.width, rect2.origin.x + rect2.size.width);
CGFloat height = MAX(rect1.size.height, rect2.size.height);
return CGRectMake(left, rect1.origin.y, right - left, height);
}
}
static void YYTextGetRunsMaxMetric(CFArrayRef runs, CGFloat *xHeight, CGFloat *underlinePosition, CGFloat *lineThickness) {
CGFloat maxXHeight = 0;
CGFloat maxUnderlinePos = 0;
CGFloat maxLineThickness = 0;
for (NSUInteger i = 0, max = CFArrayGetCount(runs); i < max; i++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, i);
CFDictionaryRef attrs = CTRunGetAttributes(run);
if (attrs) {
CTFontRef font = CFDictionaryGetValue(attrs, kCTFontAttributeName);
if (font) {
CGFloat xHeight = CTFontGetXHeight(font);
if (xHeight > maxXHeight) maxXHeight = xHeight;
CGFloat underlinePos = CTFontGetUnderlinePosition(font);
if (underlinePos < maxUnderlinePos) maxUnderlinePos = underlinePos;
CGFloat lineThickness = CTFontGetUnderlineThickness(font);
if (lineThickness > maxLineThickness) maxLineThickness = lineThickness;
}
}
}
if (xHeight) *xHeight = maxXHeight;
if (underlinePosition) *underlinePosition = maxUnderlinePos;
if (lineThickness) *lineThickness = maxLineThickness;
}
static void YYTextDrawRun(YYTextLine *line, CTRunRef run, CGContextRef context, CGSize size, BOOL isVertical, NSArray *runRanges, CGFloat verticalOffset) {
CGAffineTransform runTextMatrix = CTRunGetTextMatrix(run);
BOOL runTextMatrixIsID = CGAffineTransformIsIdentity(runTextMatrix);
CFDictionaryRef runAttrs = CTRunGetAttributes(run);
NSValue *glyphTransformValue = CFDictionaryGetValue(runAttrs, (__bridge const void *)(YYTextGlyphTransformAttributeName));
if (!isVertical && !glyphTransformValue) { // draw run
if (!runTextMatrixIsID) {
CGContextSaveGState(context);
CGAffineTransform trans = CGContextGetTextMatrix(context);
CGContextSetTextMatrix(context, CGAffineTransformConcat(trans, runTextMatrix));
}
CTRunDraw(run, context, CFRangeMake(0, 0));
if (!runTextMatrixIsID) {
CGContextRestoreGState(context);
}
} else { // draw glyph
CTFontRef runFont = CFDictionaryGetValue(runAttrs, kCTFontAttributeName);
if (!runFont) return;
NSUInteger glyphCount = CTRunGetGlyphCount(run);
if (glyphCount <= 0) return;
CGGlyph glyphs[glyphCount];
CGPoint glyphPositions[glyphCount];
CTRunGetGlyphs(run, CFRangeMake(0, 0), glyphs);
CTRunGetPositions(run, CFRangeMake(0, 0), glyphPositions);
CGColorRef fillColor = (CGColorRef)CFDictionaryGetValue(runAttrs, kCTForegroundColorAttributeName);
fillColor = YYTextGetCGColor(fillColor);
NSNumber *strokeWidth = CFDictionaryGetValue(runAttrs, kCTStrokeWidthAttributeName);
CGContextSaveGState(context); {
CGContextSetFillColorWithColor(context, fillColor);
if (!strokeWidth || strokeWidth.floatValue == 0) {
CGContextSetTextDrawingMode(context, kCGTextFill);
} else {
CGColorRef strokeColor = (CGColorRef)CFDictionaryGetValue(runAttrs, kCTStrokeColorAttributeName);
if (!strokeColor) strokeColor = fillColor;
CGContextSetStrokeColorWithColor(context, strokeColor);
CGContextSetLineWidth(context, CTFontGetSize(runFont) * fabs(strokeWidth.floatValue * 0.01));
if (strokeWidth.floatValue > 0) {
CGContextSetTextDrawingMode(context, kCGTextStroke);
} else {
CGContextSetTextDrawingMode(context, kCGTextFillStroke);
}
}
if (isVertical) {
CFIndex runStrIdx[glyphCount + 1];
CTRunGetStringIndices(run, CFRangeMake(0, 0), runStrIdx);
CFRange runStrRange = CTRunGetStringRange(run);
runStrIdx[glyphCount] = runStrRange.location + runStrRange.length;
CGSize glyphAdvances[glyphCount];
CTRunGetAdvances(run, CFRangeMake(0, 0), glyphAdvances);
CGFloat ascent = CTFontGetAscent(runFont);
CGFloat descent = CTFontGetDescent(runFont);
CGAffineTransform glyphTransform = glyphTransformValue.CGAffineTransformValue;
CGPoint zeroPoint = CGPointZero;
for (YYTextRunGlyphRange *oneRange in runRanges) {
NSRange range = oneRange.glyphRangeInRun;
NSUInteger rangeMax = range.location + range.length;
YYTextRunGlyphDrawMode mode = oneRange.drawMode;
for (NSUInteger g = range.location; g < rangeMax; g++) {
CGContextSaveGState(context); {
CGContextSetTextMatrix(context, CGAffineTransformIdentity);
if (glyphTransformValue) {
CGContextSetTextMatrix(context, glyphTransform);
}
if (mode) { // CJK glyph, need rotated
CGFloat ofs = (ascent - descent) * 0.5;
CGFloat w = glyphAdvances[g].width * 0.5;
CGFloat x = x = line.position.x + verticalOffset + glyphPositions[g].y + (ofs - w);
CGFloat y = -line.position.y + size.height - glyphPositions[g].x - (ofs + w);
if (mode == YYTextRunGlyphDrawModeVerticalRotateMove) {
x += w;
y += w;
}
CGContextSetTextPosition(context, x, y);
} else {
CGContextRotateCTM(context, DegreesToRadians(-90));
CGContextSetTextPosition(context,
line.position.y - size.height + glyphPositions[g].x,
line.position.x + verticalOffset + glyphPositions[g].y);
}
if (CTFontContainsColorBitmapGlyphs(runFont)) {
CTFontDrawGlyphs(runFont, glyphs + g, &zeroPoint, 1, context);
} else {
CGFontRef cgFont = CTFontCopyGraphicsFont(runFont, NULL);
CGContextSetFont(context, cgFont);
CGContextSetFontSize(context, CTFontGetSize(runFont));
CGContextShowGlyphsAtPositions(context, glyphs + g, &zeroPoint, 1);
CGFontRelease(cgFont);
}
} CGContextRestoreGState(context);
}
}
} else { // not vertical
if (glyphTransformValue) {
CFIndex runStrIdx[glyphCount + 1];
CTRunGetStringIndices(run, CFRangeMake(0, 0), runStrIdx);
CFRange runStrRange = CTRunGetStringRange(run);
runStrIdx[glyphCount] = runStrRange.location + runStrRange.length;
CGSize glyphAdvances[glyphCount];
CTRunGetAdvances(run, CFRangeMake(0, 0), glyphAdvances);
CGAffineTransform glyphTransform = glyphTransformValue.CGAffineTransformValue;
CGPoint zeroPoint = CGPointZero;
for (NSUInteger g = 0; g < glyphCount; g++) {
CGContextSaveGState(context); {
CGContextSetTextMatrix(context, CGAffineTransformIdentity);
CGContextSetTextMatrix(context, glyphTransform);
CGContextSetTextPosition(context,
line.position.x + glyphPositions[g].x,
size.height - (line.position.y + glyphPositions[g].y));
if (CTFontContainsColorBitmapGlyphs(runFont)) {
CTFontDrawGlyphs(runFont, glyphs + g, &zeroPoint, 1, context);
} else {
CGFontRef cgFont = CTFontCopyGraphicsFont(runFont, NULL);
CGContextSetFont(context, cgFont);
CGContextSetFontSize(context, CTFontGetSize(runFont));
CGContextShowGlyphsAtPositions(context, glyphs + g, &zeroPoint, 1);
CGFontRelease(cgFont);
}
} CGContextRestoreGState(context);
}
} else {
if (CTFontContainsColorBitmapGlyphs(runFont)) {
CTFontDrawGlyphs(runFont, glyphs, glyphPositions, glyphCount, context);
} else {
CGFontRef cgFont = CTFontCopyGraphicsFont(runFont, NULL);
CGContextSetFont(context, cgFont);
CGContextSetFontSize(context, CTFontGetSize(runFont));
CGContextShowGlyphsAtPositions(context, glyphs, glyphPositions, glyphCount);
CGFontRelease(cgFont);
}
}
}
} CGContextRestoreGState(context);
}
}
static void YYTextSetLinePatternInContext(YYTextLineStyle style, CGFloat width, CGFloat phase, CGContextRef context){
CGContextSetLineWidth(context, width);
CGContextSetLineCap(context, kCGLineCapButt);
CGContextSetLineJoin(context, kCGLineJoinMiter);
CGFloat dash = 12, dot = 5, space = 3;
NSUInteger pattern = style & 0xF00;
if (pattern == YYTextLineStylePatternSolid) {
CGContextSetLineDash(context, phase, NULL, 0);
} else if (pattern == YYTextLineStylePatternDot) {
CGFloat lengths[2] = {width * dot, width * space};
CGContextSetLineDash(context, phase, lengths, 2);
} else if (pattern == YYTextLineStylePatternDash) {
CGFloat lengths[2] = {width * dash, width * space};
CGContextSetLineDash(context, phase, lengths, 2);
} else if (pattern == YYTextLineStylePatternDashDot) {
CGFloat lengths[4] = {width * dash, width * space, width * dot, width * space};
CGContextSetLineDash(context, phase, lengths, 4);
} else if (pattern == YYTextLineStylePatternDashDotDot) {
CGFloat lengths[6] = {width * dash, width * space,width * dot, width * space, width * dot, width * space};
CGContextSetLineDash(context, phase, lengths, 6);
} else if (pattern == YYTextLineStylePatternCircleDot) {
CGFloat lengths[2] = {width * 0, width * 3};
CGContextSetLineDash(context, phase, lengths, 2);
CGContextSetLineCap(context, kCGLineCapRound);
CGContextSetLineJoin(context, kCGLineJoinRound);
}
}
static void YYTextDrawBorderRects(CGContextRef context, CGSize size, YYTextBorder *border, NSArray *rects, BOOL isVertical) {
if (rects.count == 0) return;
YYTextShadow *shadow = border.shadow;
if (shadow.color) {
CGContextSaveGState(context);
CGContextSetShadowWithColor(context, shadow.offset, shadow.radius, shadow.color.CGColor);
CGContextBeginTransparencyLayer(context, NULL);
}
NSMutableArray *paths = [NSMutableArray new];
for (NSValue *value in rects) {
CGRect rect = value.CGRectValue;
if (isVertical) {
rect = UIEdgeInsetsInsetRect(rect, UIEdgeInsetRotateVertical(border.insets));
} else {
rect = UIEdgeInsetsInsetRect(rect, border.insets);
}
rect = CGRectPixelRound(rect);
UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:rect cornerRadius:border.cornerRadius];
[path closePath];
[paths addObject:path];
}
if (border.fillColor) {
CGContextSaveGState(context);
CGContextSetFillColorWithColor(context, border.fillColor.CGColor);
for (UIBezierPath *path in paths) {
CGContextAddPath(context, path.CGPath);
}
CGContextFillPath(context);
CGContextRestoreGState(context);
}
if (border.strokeColor && border.lineStyle > 0 && border.strokeWidth > 0) {
//-------------------------- single line ------------------------------//
CGContextSaveGState(context);
for (UIBezierPath *path in paths) {
CGRect bounds = CGRectUnion(path.bounds, (CGRect){CGPointZero, size});
bounds = CGRectInset(bounds, -2 * border.strokeWidth, -2 * border.strokeWidth);
CGContextAddRect(context, bounds);
CGContextAddPath(context, path.CGPath);
CGContextEOClip(context);
}
[border.strokeColor setStroke];
YYTextSetLinePatternInContext(border.lineStyle, border.strokeWidth, 0, context);
CGFloat inset = -border.strokeWidth * 0.5;
if ((border.lineStyle & 0xFF) == YYTextLineStyleThick) {
inset *= 2;
CGContextSetLineWidth(context, border.strokeWidth * 2);
}
CGFloat radiusDelta = -inset;
if (border.cornerRadius <= 0) {
radiusDelta = 0;
}
CGContextSetLineJoin(context, border.lineJoin);
for (NSValue *value in rects) {
CGRect rect = value.CGRectValue;
if (isVertical) {
rect = UIEdgeInsetsInsetRect(rect, UIEdgeInsetRotateVertical(border.insets));
} else {
rect = UIEdgeInsetsInsetRect(rect, border.insets);
}
rect = CGRectInset(rect, inset, inset);
UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:rect cornerRadius:border.cornerRadius + radiusDelta];
[path closePath];
CGContextAddPath(context, path.CGPath);
}
CGContextStrokePath(context);
CGContextRestoreGState(context);
//------------------------- second line ------------------------------//
if ((border.lineStyle & 0xFF) == YYTextLineStyleDouble) {
CGContextSaveGState(context);
CGFloat inset = -border.strokeWidth * 2;
for (NSValue *value in rects) {
CGRect rect = value.CGRectValue;
rect = UIEdgeInsetsInsetRect(rect, border.insets);
rect = CGRectInset(rect, inset, inset);
UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:rect cornerRadius:border.cornerRadius + 2 * border.strokeWidth];
[path closePath];
CGRect bounds = CGRectUnion(path.bounds, (CGRect){CGPointZero, size});
bounds = CGRectInset(bounds, -2 * border.strokeWidth, -2 * border.strokeWidth);
CGContextAddRect(context, bounds);
CGContextAddPath(context, path.CGPath);
CGContextEOClip(context);
}
CGContextSetStrokeColorWithColor(context, border.strokeColor.CGColor);
YYTextSetLinePatternInContext(border.lineStyle, border.strokeWidth, 0, context);
CGContextSetLineJoin(context, border.lineJoin);
inset = -border.strokeWidth * 2.5;
radiusDelta = border.strokeWidth * 2;
if (border.cornerRadius <= 0) {
radiusDelta = 0;
}
for (NSValue *value in rects) {
CGRect rect = value.CGRectValue;
rect = UIEdgeInsetsInsetRect(rect, border.insets);
rect = CGRectInset(rect, inset, inset);
UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:rect cornerRadius:border.cornerRadius + radiusDelta];
[path closePath];
CGContextAddPath(context, path.CGPath);
}
CGContextStrokePath(context);
CGContextRestoreGState(context);
}
}
if (shadow.color) {
CGContextEndTransparencyLayer(context);
CGContextRestoreGState(context);
}
}
static void YYTextDrawLineStyle(CGContextRef context, CGFloat length, CGFloat lineWidth, YYTextLineStyle style, CGPoint position, CGColorRef color, BOOL isVertical) {
NSUInteger styleBase = style & 0xFF;
if (styleBase == 0) return;
CGContextSaveGState(context); {
if (isVertical) {
CGFloat x, y1, y2, w;
y1 = CGFloatPixelRound(position.y);
y2 = CGFloatPixelRound(position.y + length);
w = (styleBase == YYTextLineStyleThick ? lineWidth * 2 : lineWidth);
CGFloat linePixel = CGFloatToPixel(w);
if (fabs(linePixel - floor(linePixel)) < 0.1) {
int iPixel = linePixel;
if (iPixel == 0 || (iPixel % 2)) { // odd line pixel
x = CGFloatPixelHalf(position.x);
} else {
x = CGFloatPixelFloor(position.x);
}
} else {
x = position.x;
}
CGContextSetStrokeColorWithColor(context, color);
YYTextSetLinePatternInContext(style, lineWidth, position.y, context);
CGContextSetLineWidth(context, w);
if (styleBase == YYTextLineStyleSingle) {
CGContextMoveToPoint(context, x, y1);
CGContextAddLineToPoint(context, x, y2);
CGContextStrokePath(context);
} else if (styleBase == YYTextLineStyleThick) {
CGContextMoveToPoint(context, x, y1);
CGContextAddLineToPoint(context, x, y2);
CGContextStrokePath(context);
} else if (styleBase == YYTextLineStyleDouble) {
CGContextMoveToPoint(context, x - w, y1);
CGContextAddLineToPoint(context, x - w, y2);
CGContextStrokePath(context);
CGContextMoveToPoint(context, x + w, y1);
CGContextAddLineToPoint(context, x + w, y2);
CGContextStrokePath(context);
}
} else {
CGFloat x1, x2, y, w;
x1 = CGFloatPixelRound(position.x);
x2 = CGFloatPixelRound(position.x + length);
w = (styleBase == YYTextLineStyleThick ? lineWidth * 2 : lineWidth);
CGFloat linePixel = CGFloatToPixel(w);
if (fabs(linePixel - floor(linePixel)) < 0.1) {
int iPixel = linePixel;
if (iPixel == 0 || (iPixel % 2)) { // odd line pixel
y = CGFloatPixelHalf(position.y);
} else {
y = CGFloatPixelFloor(position.y);
}
} else {
y = position.y;
}
CGContextSetStrokeColorWithColor(context, color);
YYTextSetLinePatternInContext(style, lineWidth, position.x, context);
CGContextSetLineWidth(context, w);
if (styleBase == YYTextLineStyleSingle) {
CGContextMoveToPoint(context, x1, y);
CGContextAddLineToPoint(context, x2, y);
CGContextStrokePath(context);
} else if (styleBase == YYTextLineStyleThick) {
CGContextMoveToPoint(context, x1, y);
CGContextAddLineToPoint(context, x2, y);
CGContextStrokePath(context);
} else if (styleBase == YYTextLineStyleDouble) {
CGContextMoveToPoint(context, x1, y - w);
CGContextAddLineToPoint(context, x2, y - w);
CGContextStrokePath(context);
CGContextMoveToPoint(context, x1, y + w);
CGContextAddLineToPoint(context, x2, y + w);
CGContextStrokePath(context);
}
}
} CGContextRestoreGState(context);
}
static void YYTextDrawText(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, BOOL (^cancel)(void)) {
CGContextSaveGState(context); {
CGContextTranslateCTM(context, point.x, point.y);
CGContextTranslateCTM(context, 0, size.height);
CGContextScaleCTM(context, 1, -1);
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
NSArray *lines = layout.lines;
for (NSUInteger l = 0, lMax = lines.count; l < lMax; l++) {
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
NSArray *lineRunRanges = line.verticalRotateRange;
CGFloat posX = line.position.x + verticalOffset;
CGFloat posY = size.height - line.position.y;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CGContextSetTextMatrix(context, CGAffineTransformIdentity);
CGContextSetTextPosition(context, posX, posY);
YYTextDrawRun(line, run, context, size, isVertical, lineRunRanges[r], verticalOffset);
}
if (cancel && cancel()) break;
}
// Use this to draw frame for test/debug.
// CGContextTranslateCTM(context, verticalOffset, size.height);
// CTFrameDraw(layout.frame, context);
} CGContextRestoreGState(context);
}
static void YYTextDrawBlockBorder(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, BOOL (^cancel)(void)) {
CGContextSaveGState(context);
CGContextTranslateCTM(context, point.x, point.y);
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
NSArray *lines = layout.lines;
for (NSInteger l = 0, lMax = lines.count; l < lMax; l++) {
if (cancel && cancel()) break;
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CFIndex glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) continue;
NSDictionary *attrs = (id)CTRunGetAttributes(run);
YYTextBorder *border = attrs[YYTextBlockBorderAttributeName];
if (!border) continue;
NSUInteger lineStartIndex = line.index;
while (lineStartIndex > 0) {
if (((YYTextLine *)lines[lineStartIndex - 1]).row == line.row) lineStartIndex--;
else break;
}
CGRect unionRect = CGRectZero;
NSUInteger lineStartRow = ((YYTextLine *)lines[lineStartIndex]).row;
NSUInteger lineContinueIndex = lineStartIndex;
NSUInteger lineContinueRow = lineStartRow;
do {
YYTextLine *one = lines[lineContinueIndex];
if (lineContinueIndex == lineStartIndex) {
unionRect = one.bounds;
} else {
unionRect = CGRectUnion(unionRect, one.bounds);
}
if (lineContinueIndex + 1 == lMax) break;
YYTextLine *next = lines[lineContinueIndex + 1];
if (next.row != lineContinueRow) {
YYTextBorder *nextBorder = [layout.text attribute:YYTextBlockBorderAttributeName atIndex:next.range.location];
if ([nextBorder isEqual:border]) {
lineContinueRow++;
} else {
break;
}
}
lineContinueIndex++;
} while (true);
if (isVertical) {
UIEdgeInsets insets = layout.container.insets;
unionRect.origin.y = insets.top;
unionRect.size.height = layout.container.size.height -insets.top - insets.bottom;
} else {
UIEdgeInsets insets = layout.container.insets;
unionRect.origin.x = insets.left;
unionRect.size.width = layout.container.size.width -insets.left - insets.right;
}
unionRect.origin.x += verticalOffset;
YYTextDrawBorderRects(context, size, border, @[[NSValue valueWithCGRect:unionRect]], isVertical);
l = lineContinueIndex;
break;
}
}
CGContextRestoreGState(context);
}
static void YYTextDrawBorder(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, YYTextBorderType type, BOOL (^cancel)(void)) {
CGContextSaveGState(context);
CGContextTranslateCTM(context, point.x, point.y);
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
NSArray *lines = layout.lines;
NSString *borderKey = (type == YYTextBorderTypeNormal ? YYTextBorderAttributeName : YYTextBackgroundBorderAttributeName);
BOOL needJumpRun = NO;
NSUInteger jumpRunIndex = 0;
for (NSInteger l = 0, lMax = lines.count; l < lMax; l++) {
if (cancel && cancel()) break;
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
if (needJumpRun) {
needJumpRun = NO;
r = jumpRunIndex + 1;
if (r >= rMax) break;
}
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CFIndex glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) continue;
NSDictionary *attrs = (id)CTRunGetAttributes(run);
YYTextBorder *border = attrs[borderKey];
if (!border) continue;
CFRange runRange = CTRunGetStringRange(run);
if (runRange.location == kCFNotFound || runRange.length == 0) continue;
if (runRange.location + runRange.length > layout.text.length) continue;
NSMutableArray *runRects = [NSMutableArray new];
NSInteger endLineIndex = l;
NSInteger endRunIndex = r;
BOOL endFound = NO;
for (NSInteger ll = l; ll < lMax; ll++) {
if (endFound) break;
YYTextLine *iLine = lines[ll];
CFArrayRef iRuns = CTLineGetGlyphRuns(iLine.CTLine);
CGRect extLineRect = CGRectNull;
for (NSInteger rr = (ll == l) ? r : 0, rrMax = CFArrayGetCount(iRuns); rr < rrMax; rr++) {
CTRunRef iRun = CFArrayGetValueAtIndex(iRuns, rr);
NSDictionary *iAttrs = (id)CTRunGetAttributes(iRun);
YYTextBorder *iBorder = iAttrs[borderKey];
if (![border isEqual:iBorder]) {
endFound = YES;
break;
}
endLineIndex = ll;
endRunIndex = rr;
CGPoint iRunPosition = CGPointZero;
CTRunGetPositions(iRun, CFRangeMake(0, 1), &iRunPosition);
CGFloat ascent, descent;
CGFloat iRunWidth = CTRunGetTypographicBounds(iRun, CFRangeMake(0, 0), &ascent, &descent, NULL);
if (isVertical) {
YY_SWAP(iRunPosition.x, iRunPosition.y);
iRunPosition.y += iLine.position.y;
CGRect iRect = CGRectMake(verticalOffset + line.position.x - descent, iRunPosition.y, ascent + descent, iRunWidth);
if (CGRectIsNull(extLineRect)) {
extLineRect = iRect;
} else {
extLineRect = CGRectUnion(extLineRect, iRect);
}
} else {
iRunPosition.x += iLine.position.x;
CGRect iRect = CGRectMake(iRunPosition.x, iLine.position.y - ascent, iRunWidth, ascent + descent);
if (CGRectIsNull(extLineRect)) {
extLineRect = iRect;
} else {
extLineRect = CGRectUnion(extLineRect, iRect);
}
}
}
if (!CGRectIsNull(extLineRect)) {
[runRects addObject:[NSValue valueWithCGRect:extLineRect]];
}
}
NSMutableArray *drawRects = [NSMutableArray new];
CGRect curRect= ((NSValue *)[runRects firstObject]).CGRectValue;
for (NSInteger re = 0, reMax = runRects.count; re < reMax; re++) {
CGRect rect = ((NSValue *)runRects[re]).CGRectValue;
if (isVertical) {
if (fabs(rect.origin.x - curRect.origin.x) < 1) {
curRect = YYTextMergeRectInSameLine(rect, curRect, isVertical);
} else {
[drawRects addObject:[NSValue valueWithCGRect:curRect]];
curRect = rect;
}
} else {
if (fabs(rect.origin.y - curRect.origin.y) < 1) {
curRect = YYTextMergeRectInSameLine(rect, curRect, isVertical);
} else {
[drawRects addObject:[NSValue valueWithCGRect:curRect]];
curRect = rect;
}
}
}
if (!CGRectEqualToRect(curRect, CGRectZero)) {
[drawRects addObject:[NSValue valueWithCGRect:curRect]];
}
YYTextDrawBorderRects(context, size, border, drawRects, isVertical);
if (l == endLineIndex) {
r = endRunIndex;
} else {
l = endLineIndex - 1;
needJumpRun = YES;
jumpRunIndex = endRunIndex;
break;
}
}
}
CGContextRestoreGState(context);
}
static void YYTextDrawDecoration(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, YYTextDecorationType type, BOOL (^cancel)(void)) {
NSArray *lines = layout.lines;
CGContextSaveGState(context);
CGContextTranslateCTM(context, point.x, point.y);
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
CGContextTranslateCTM(context, verticalOffset, 0);
for (NSUInteger l = 0, lMax = layout.lines.count; l < lMax; l++) {
if (cancel && cancel()) break;
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CFIndex glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) continue;
NSDictionary *attrs = (id)CTRunGetAttributes(run);
YYTextDecoration *underline = attrs[YYTextUnderlineAttributeName];
YYTextDecoration *strikethrough = attrs[YYTextStrikethroughAttributeName];
BOOL needDrawUnderline = NO, needDrawStrikethrough = NO;
if ((type & YYTextDecorationTypeUnderline) && underline.style > 0) {
needDrawUnderline = YES;
}
if ((type & YYTextDecorationTypeStrikethrough) && strikethrough.style > 0) {
needDrawStrikethrough = YES;
}
if (!needDrawUnderline && !needDrawStrikethrough) continue;
CFRange runRange = CTRunGetStringRange(run);
if (runRange.location == kCFNotFound || runRange.length == 0) continue;
if (runRange.location + runRange.length > layout.text.length) continue;
NSString *runStr = [layout.text attributedSubstringFromRange:NSMakeRange(runRange.location, runRange.length)].string;
if (YYTextIsLinebreakString(runStr)) continue; // may need more checks...
CGFloat xHeight, underlinePosition, lineThickness;
YYTextGetRunsMaxMetric(runs, &xHeight, &underlinePosition, &lineThickness);
CGPoint underlineStart, strikethroughStart;
CGFloat length;
if (isVertical) {
underlineStart.x = line.position.x + underlinePosition;
strikethroughStart.x = line.position.x + xHeight / 2;
CGPoint runPosition = CGPointZero;
CTRunGetPositions(run, CFRangeMake(0, 1), &runPosition);
underlineStart.y = strikethroughStart.y = runPosition.x + line.position.y;
length = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), NULL, NULL, NULL);
} else {
underlineStart.y = line.position.y - underlinePosition;
strikethroughStart.y = line.position.y - xHeight / 2;
CGPoint runPosition = CGPointZero;
CTRunGetPositions(run, CFRangeMake(0, 1), &runPosition);
underlineStart.x = strikethroughStart.x = runPosition.x + line.position.x;
length = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), NULL, NULL, NULL);
}
if (needDrawUnderline) {
CGColorRef color = underline.color.CGColor;
if (!color) {
color = (__bridge CGColorRef)(attrs[(id)kCTForegroundColorAttributeName]);
color = YYTextGetCGColor(color);
}
CGFloat thickness = underline.width ? underline.width.floatValue : lineThickness;
YYTextShadow *shadow = underline.shadow;
while (shadow) {
if (!shadow.color) {
shadow = shadow.subShadow;
continue;
}
CGFloat offsetAlterX = size.width + 0xFFFF;
CGContextSaveGState(context); {
CGSize offset = shadow.offset;
offset.width -= offsetAlterX;
CGContextSaveGState(context); {
CGContextSetShadowWithColor(context, offset, shadow.radius, shadow.color.CGColor);
CGContextSetBlendMode(context, shadow.blendMode);
CGContextTranslateCTM(context, offsetAlterX, 0);
YYTextDrawLineStyle(context, length, thickness, underline.style, underlineStart, color, isVertical);
} CGContextRestoreGState(context);
} CGContextRestoreGState(context);
shadow = shadow.subShadow;
}
YYTextDrawLineStyle(context, length, thickness, underline.style, underlineStart, color, isVertical);
}
if (needDrawStrikethrough) {
CGColorRef color = strikethrough.color.CGColor;
if (!color) {
color = (__bridge CGColorRef)(attrs[(id)kCTForegroundColorAttributeName]);
color = YYTextGetCGColor(color);
}
CGFloat thickness = strikethrough.width ? strikethrough.width.floatValue : lineThickness;
YYTextShadow *shadow = underline.shadow;
while (shadow) {
if (!shadow.color) {
shadow = shadow.subShadow;
continue;
}
CGFloat offsetAlterX = size.width + 0xFFFF;
CGContextSaveGState(context); {
CGSize offset = shadow.offset;
offset.width -= offsetAlterX;
CGContextSaveGState(context); {
CGContextSetShadowWithColor(context, offset, shadow.radius, shadow.color.CGColor);
CGContextSetBlendMode(context, shadow.blendMode);
CGContextTranslateCTM(context, offsetAlterX, 0);
YYTextDrawLineStyle(context, length, thickness, underline.style, underlineStart, color, isVertical);
} CGContextRestoreGState(context);
} CGContextRestoreGState(context);
shadow = shadow.subShadow;
}
YYTextDrawLineStyle(context, length, thickness, strikethrough.style, strikethroughStart, color, isVertical);
}
}
}
CGContextRestoreGState(context);
}
static void YYTextDrawAttachment(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, UIView *targetView, CALayer *targetLayer, BOOL (^cancel)(void)) {
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
for (NSUInteger i = 0, max = layout.attachments.count; i < max; i++) {
YYTextAttachment *a = layout.attachments[i];
if (!a.content) continue;
UIImage *image = nil;
UIView *view = nil;
CALayer *layer = nil;
if ([a.content isKindOfClass:[UIImage class]]) {
image = a.content;
} else if ([a.content isKindOfClass:[UIView class]]) {
view = a.content;
} else if ([a.content isKindOfClass:[CALayer class]]) {
layer = a.content;
}
if (!image && !view && !layer) continue;
if (image && !context) continue;
if (view && !targetView) continue;
if (layer && !targetLayer) continue;
if (cancel && cancel()) break;
CGSize asize = image ? image.size : view ? view.frame.size : layer.frame.size;
CGRect rect = ((NSValue *)layout.attachmentRects[i]).CGRectValue;
if (isVertical) {
rect = UIEdgeInsetsInsetRect(rect, UIEdgeInsetRotateVertical(a.contentInsets));
} else {
rect = UIEdgeInsetsInsetRect(rect, a.contentInsets);
}
rect = YYCGRectFitWithContentMode(rect, asize, a.contentMode);
rect = CGRectPixelRound(rect);
rect = CGRectStandardize(rect);
rect.origin.x += point.x + verticalOffset;
rect.origin.y += point.y;
if (image) {
CGImageRef ref = image.CGImage;
if (ref) {
CGContextSaveGState(context);
CGContextTranslateCTM(context, 0, CGRectGetMaxY(rect) + CGRectGetMinY(rect));
CGContextScaleCTM(context, 1, -1);
CGContextDrawImage(context, rect, ref);
CGContextRestoreGState(context);
}
} else if (view) {
view.frame = rect;
[targetView addSubview:view];
} else if (layer) {
layer.frame = rect;
[targetLayer addSublayer:layer];
}
}
}
static void YYTextDrawShadow(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, BOOL (^cancel)(void)) {
//move out of context. (0xFFFF is just a random large number)
CGFloat offsetAlterX = size.width + 0xFFFF;
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
CGContextSaveGState(context); {
CGContextTranslateCTM(context, point.x, point.y);
CGContextTranslateCTM(context, 0, size.height);
CGContextScaleCTM(context, 1, -1);
NSArray *lines = layout.lines;
for (NSUInteger l = 0, lMax = layout.lines.count; l < lMax; l++) {
if (cancel && cancel()) break;
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
NSArray *lineRunRanges = line.verticalRotateRange;
CGFloat linePosX = line.position.x;
CGFloat linePosY = size.height - line.position.y;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CGContextSetTextMatrix(context, CGAffineTransformIdentity);
CGContextSetTextPosition(context, linePosX, linePosY);
NSDictionary *attrs = (id)CTRunGetAttributes(run);
YYTextShadow *shadow = attrs[YYTextShadowAttributeName];
YYTextShadow *nsShadow = [YYTextShadow shadowWithNSShadow:attrs[NSShadowAttributeName]]; // NSShadow compatible
if (nsShadow) {
nsShadow.subShadow = shadow;
shadow = nsShadow;
}
while (shadow) {
if (!shadow.color) {
shadow = shadow.subShadow;
continue;
}
CGSize offset = shadow.offset;
offset.width -= offsetAlterX;
CGContextSaveGState(context); {
CGContextSetShadowWithColor(context, offset, shadow.radius, shadow.color.CGColor);
CGContextSetBlendMode(context, shadow.blendMode);
CGContextTranslateCTM(context, offsetAlterX, 0);
YYTextDrawRun(line, run, context, size, isVertical, lineRunRanges[r], verticalOffset);
} CGContextRestoreGState(context);
shadow = shadow.subShadow;
}
}
}
} CGContextRestoreGState(context);
}
static void YYTextDrawInnerShadow(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, BOOL (^cancel)(void)) {
CGContextSaveGState(context);
CGContextTranslateCTM(context, point.x, point.y);
CGContextTranslateCTM(context, 0, size.height);
CGContextScaleCTM(context, 1, -1);
CGContextSetTextMatrix(context, CGAffineTransformIdentity);
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
NSArray *lines = layout.lines;
for (NSUInteger l = 0, lMax = lines.count; l < lMax; l++) {
if (cancel && cancel()) break;
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
NSArray *lineRunRanges = line.verticalRotateRange;
CGFloat linePosX = line.position.x;
CGFloat linePosY = size.height - line.position.y;
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
if (CTRunGetGlyphCount(run) == 0) continue;
CGContextSetTextMatrix(context, CGAffineTransformIdentity);
CGContextSetTextPosition(context, linePosX, linePosY);
NSDictionary *attrs = (id)CTRunGetAttributes(run);
YYTextShadow *shadow = attrs[YYTextInnerShadowAttributeName];
while (shadow) {
if (!shadow.color) {
shadow = shadow.subShadow;
continue;
}
CGPoint runPosition = CGPointZero;
CTRunGetPositions(run, CFRangeMake(0, 1), &runPosition);
CGRect runImageBounds = CTRunGetImageBounds(run, context, CFRangeMake(0, 0));
runImageBounds.origin.x += runPosition.x;
if (runImageBounds.size.width < 0.1 || runImageBounds.size.height < 0.1) continue;
CFDictionaryRef runAttrs = CTRunGetAttributes(run);
NSValue *glyphTransformValue = CFDictionaryGetValue(runAttrs, (__bridge const void *)(YYTextGlyphTransformAttributeName));
if (glyphTransformValue) {
runImageBounds = CGRectMake(0, 0, size.width, size.height);
}
// text inner shadow
CGContextSaveGState(context); {
CGContextSetBlendMode(context, shadow.blendMode);
CGContextSetShadowWithColor(context, CGSizeZero, 0, NULL);
CGContextSetAlpha(context, CGColorGetAlpha(shadow.color.CGColor));
CGContextClipToRect(context, runImageBounds);
CGContextBeginTransparencyLayer(context, NULL); {
UIColor *opaqueShadowColor = [shadow.color colorWithAlphaComponent:1];
CGContextSetShadowWithColor(context, shadow.offset, shadow.radius, opaqueShadowColor.CGColor);
CGContextSetFillColorWithColor(context, opaqueShadowColor.CGColor);
CGContextSetBlendMode(context, kCGBlendModeSourceOut);
CGContextBeginTransparencyLayer(context, NULL); {
CGContextFillRect(context, runImageBounds);
CGContextSetBlendMode(context, kCGBlendModeDestinationIn);
CGContextBeginTransparencyLayer(context, NULL); {
YYTextDrawRun(line, run, context, size, isVertical, lineRunRanges[r], verticalOffset);
} CGContextEndTransparencyLayer(context);
} CGContextEndTransparencyLayer(context);
} CGContextEndTransparencyLayer(context);
} CGContextRestoreGState(context);
shadow = shadow.subShadow;
}
}
}
CGContextRestoreGState(context);
}
static void YYTextDrawDebug(YYTextLayout *layout, CGContextRef context, CGSize size, CGPoint point, YYTextDebugOption *op) {
UIGraphicsPushContext(context);
CGContextSaveGState(context);
CGContextTranslateCTM(context, point.x, point.y);
CGContextSetLineWidth(context, 1.0 / YYScreenScale());
CGContextSetLineDash(context, 0, NULL, 0);
CGContextSetLineJoin(context, kCGLineJoinMiter);
CGContextSetLineCap(context, kCGLineCapButt);
BOOL isVertical = layout.container.verticalForm;
CGFloat verticalOffset = isVertical ? (size.width - layout.container.size.width) : 0;
CGContextTranslateCTM(context, verticalOffset, 0);
if (op.CTFrameBorderColor || op.CTFrameFillColor) {
UIBezierPath *path = layout.container.path;
if (!path) {
CGRect rect = (CGRect){CGPointZero, layout.container.size};
rect = UIEdgeInsetsInsetRect(rect, layout.container.insets);
if (op.CTFrameBorderColor) rect = CGRectPixelHalf(rect);
else rect = CGRectPixelRound(rect);
path = [UIBezierPath bezierPathWithRect:rect];
}
[path closePath];
for (UIBezierPath *ex in layout.container.exclusionPaths) {
[path appendPath:ex];
}
if (op.CTFrameFillColor) {
[op.CTFrameFillColor setFill];
if (layout.container.pathLineWidth > 0) {
CGContextSaveGState(context); {
CGContextBeginTransparencyLayer(context, NULL); {
CGContextAddPath(context, path.CGPath);
if (layout.container.pathFillEvenOdd) {
CGContextEOFillPath(context);
} else {
CGContextFillPath(context);
}
CGContextSetBlendMode(context, kCGBlendModeDestinationOut);
[[UIColor blackColor] setFill];
CGPathRef cgPath = CGPathCreateCopyByStrokingPath(path.CGPath, NULL, layout.container.pathLineWidth, kCGLineCapButt, kCGLineJoinMiter, 0);
if (cgPath) {
CGContextAddPath(context, cgPath);
CGContextFillPath(context);
}
CGPathRelease(cgPath);
} CGContextEndTransparencyLayer(context);
} CGContextRestoreGState(context);
} else {
CGContextAddPath(context, path.CGPath);
if (layout.container.pathFillEvenOdd) {
CGContextEOFillPath(context);
} else {
CGContextFillPath(context);
}
}
}
if (op.CTFrameBorderColor) {
CGContextSaveGState(context); {
if (layout.container.pathLineWidth > 0) {
CGContextSetLineWidth(context, layout.container.pathLineWidth);
}
[op.CTFrameBorderColor setStroke];
CGContextAddPath(context, path.CGPath);
CGContextStrokePath(context);
} CGContextRestoreGState(context);
}
}
NSArray *lines = layout.lines;
for (NSUInteger l = 0, lMax = lines.count; l < lMax; l++) {
YYTextLine *line = lines[l];
if (layout.truncatedLine && layout.truncatedLine.index == line.index) line = layout.truncatedLine;
CGRect lineBounds = line.bounds;
if (op.CTLineFillColor) {
[op.CTLineFillColor setFill];
CGContextAddRect(context, CGRectPixelRound(lineBounds));
CGContextFillPath(context);
}
if (op.CTLineBorderColor) {
[op.CTLineBorderColor setStroke];
CGContextAddRect(context, CGRectPixelHalf(lineBounds));
CGContextStrokePath(context);
}
if (op.baselineColor) {
[op.baselineColor setStroke];
if (isVertical) {
CGFloat x = CGFloatPixelHalf(line.position.x);
CGFloat y1 = CGFloatPixelHalf(line.top);
CGFloat y2 = CGFloatPixelHalf(line.bottom);
CGContextMoveToPoint(context, x, y1);
CGContextAddLineToPoint(context, x, y2);
CGContextStrokePath(context);
} else {
CGFloat x1 = CGFloatPixelHalf(lineBounds.origin.x);
CGFloat x2 = CGFloatPixelHalf(lineBounds.origin.x + lineBounds.size.width);
CGFloat y = CGFloatPixelHalf(line.position.y);
CGContextMoveToPoint(context, x1, y);
CGContextAddLineToPoint(context, x2, y);
CGContextStrokePath(context);
}
}
if (op.CTLineNumberColor) {
[op.CTLineNumberColor set];
NSMutableAttributedString *num = [[NSMutableAttributedString alloc] initWithString:@(l).description];
num.color = op.CTLineNumberColor;
num.font = [UIFont systemFontOfSize:6];
[num drawAtPoint:CGPointMake(line.position.x, line.position.y - (isVertical ? 1 : 6))];
}
if (op.CTRunFillColor || op.CTRunBorderColor || op.CTRunNumberColor || op.CGGlyphFillColor || op.CGGlyphBorderColor) {
CFArrayRef runs = CTLineGetGlyphRuns(line.CTLine);
for (NSUInteger r = 0, rMax = CFArrayGetCount(runs); r < rMax; r++) {
CTRunRef run = CFArrayGetValueAtIndex(runs, r);
CFIndex glyphCount = CTRunGetGlyphCount(run);
if (glyphCount == 0) continue;
CGPoint glyphPositions[glyphCount];
CTRunGetPositions(run, CFRangeMake(0, glyphCount), glyphPositions);
CGSize glyphAdvances[glyphCount];
CTRunGetAdvances(run, CFRangeMake(0, glyphCount), glyphAdvances);
CGPoint runPosition = glyphPositions[0];
if (isVertical) {
YY_SWAP(runPosition.x, runPosition.y);
runPosition.x = line.position.x;
runPosition.y += line.position.y;
} else {
runPosition.x += line.position.x;
runPosition.y = line.position.y - runPosition.y;
}
CGFloat ascent, descent, leading;
CGFloat width = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), &ascent, &descent, &leading);
CGRect runTypoBounds;
if (isVertical) {
runTypoBounds = CGRectMake(runPosition.x - descent, runPosition.y, ascent + descent, width);
} else {
runTypoBounds = CGRectMake(runPosition.x, line.position.y - ascent, width, ascent + descent);
}
if (op.CTRunFillColor) {
[op.CTRunFillColor setFill];
CGContextAddRect(context, CGRectPixelRound(runTypoBounds));
CGContextFillPath(context);
}
if (op.CTRunBorderColor) {
[op.CTRunBorderColor setStroke];
CGContextAddRect(context, CGRectPixelHalf(runTypoBounds));
CGContextStrokePath(context);
}
if (op.CTRunNumberColor) {
[op.CTRunNumberColor set];
NSMutableAttributedString *num = [[NSMutableAttributedString alloc] initWithString:@(r).description];
num.color = op.CTRunNumberColor;
num.font = [UIFont systemFontOfSize:6];
[num drawAtPoint:CGPointMake(runTypoBounds.origin.x, runTypoBounds.origin.y - 1)];
}
if (op.CGGlyphBorderColor || op.CGGlyphFillColor) {
for (NSUInteger g = 0; g < glyphCount; g++) {
CGPoint pos = glyphPositions[g];
CGSize adv = glyphAdvances[g];
CGRect rect;
if (isVertical) {
YY_SWAP(pos.x, pos.y);
pos.x = runPosition.x;
pos.y += line.position.y;
rect = CGRectMake(pos.x - descent, pos.y, runTypoBounds.size.width, adv.width);
} else {
pos.x += line.position.x;
pos.y = runPosition.y;
rect = CGRectMake(pos.x, pos.y - ascent, adv.width, runTypoBounds.size.height);
}
if (op.CGGlyphFillColor) {
[op.CGGlyphFillColor setFill];
CGContextAddRect(context, CGRectPixelRound(rect));
CGContextFillPath(context);
}
if (op.CGGlyphBorderColor) {
[op.CGGlyphBorderColor setStroke];
CGContextAddRect(context, CGRectPixelHalf(rect));
CGContextStrokePath(context);
}
}
}
}
}
}
CGContextRestoreGState(context);
UIGraphicsPopContext();
}
- (void)drawInContext:(CGContextRef)context
size:(CGSize)size
point:(CGPoint)point
view:(UIView *)view
layer:(CALayer *)layer
debug:(YYTextDebugOption *)debug
cancel:(BOOL (^)(void))cancel{
@autoreleasepool {
if (self.needDrawBlockBorder && context) {
if (cancel && cancel()) return;
YYTextDrawBlockBorder(self, context, size, point, cancel);
}
if (self.needDrawBackgroundBorder && context) {
if (cancel && cancel()) return;
YYTextDrawBorder(self, context, size, point, YYTextBorderTypeBackgound, cancel);
}
if (self.needDrawShadow && context) {
if (cancel && cancel()) return;
YYTextDrawShadow(self, context, size, point, cancel);
}
if (self.needDrawUnderline && context) {
if (cancel && cancel()) return;
YYTextDrawDecoration(self, context, size, point, YYTextDecorationTypeUnderline, cancel);
}
if (self.needDrawText && context) {
if (cancel && cancel()) return;
YYTextDrawText(self, context, size, point, cancel);
}
if (self.needDrawAttachment && (context || view || layer)) {
if (cancel && cancel()) return;
YYTextDrawAttachment(self, context, size, point, view, layer, cancel);
}
if (self.needDrawInnerShadow && context) {
if (cancel && cancel()) return;
YYTextDrawInnerShadow(self, context, size, point, cancel);
}
if (self.needDrawStrikethrough && context) {
if (cancel && cancel()) return;
YYTextDrawDecoration(self, context, size, point, YYTextDecorationTypeStrikethrough, cancel);
}
if (self.needDrawBorder && context) {
if (cancel && cancel()) return;
YYTextDrawBorder(self, context, size, point, YYTextBorderTypeNormal, cancel);
}
if (debug.needDrawDebug && context) {
if (cancel && cancel()) return;
YYTextDrawDebug(self, context, size, point, debug);
}
}
}
- (void)drawInContext:(CGContextRef)context
size:(CGSize)size
debug:(YYTextDebugOption *)debug {
[self drawInContext:context size:size point:CGPointZero view:nil layer:nil debug:debug cancel:nil];
}
- (void)addAttachmentToView:(UIView *)view layer:(CALayer *)layer {
YYAssertMainThread();
[self drawInContext:NULL size:CGSizeZero point:CGPointZero view:view layer:layer debug:nil cancel:nil];
}
- (void)removeAttachmentFromViewAndLayer {
YYAssertMainThread();
for (YYTextAttachment *a in self.attachments) {
if ([a.content isKindOfClass:[UIView class]]) {
UIView *v = a.content;
[v removeFromSuperview];
} else if ([a.content isKindOfClass:[CALayer class]]) {
CALayer *l = a.content;
[l removeFromSuperlayer];
}
}
}
@end
```
|
/content/code_sandbox/WeChat/ThirdLib/YYKit/Text/Component/YYTextLayout.m
|
objective-c
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 33,357
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:WeChat.xcodeproj">
</FileRef>
</Workspace>
```
|
/content/code_sandbox/WeChat.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 51
|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
```
|
/content/code_sandbox/WeChat.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|
xml
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 72
|
```unknown
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "2EC85B8C592CCB280FFF35553C87D09BA745C035",
your_sha256_hashKey" : {
"be73ea83-1ef3-4b60-8caa-c8a69a106ff0++9413" : {
}
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"be73ea83-1ef3-4b60-8caa-c8a69a106ff0++9413" : 0,
"1EEB23244A8CA920AFC1918D04BBF6CB0D6BF90F" : 0,
"2EC85B8C592CCB280FFF35553C87D09BA745C035" : 0
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "8A8A5A88-5030-4D57-97F3-351AE936F496",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"be73ea83-1ef3-4b60-8caa-c8a69a106ff0++9413" : "WeChat\/WeChat\/ThirdLib\/SDWebImage\/",
"1EEB23244A8CA920AFC1918D04BBF6CB0D6BF90F" : "",
"2EC85B8C592CCB280FFF35553C87D09BA745C035" : "WeChat\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "WeChat",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "WeChat.xcodeproj",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/zhengwenming\/WMPlayer.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "1EEB23244A8CA920AFC1918D04BBF6CB0D6BF90F"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/zhengwenming\/WeChat",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "2EC85B8C592CCB280FFF35553C87D09BA745C035"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/www.svnchina.com\/svn\/finalversion",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Subversion",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "be73ea83-1ef3-4b60-8caa-c8a69a106ff0++9413"
}
]
}
```
|
/content/code_sandbox/WeChat.xcodeproj/project.xcworkspace/xcshareddata/WeChat.xcscmblueprint
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 714
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/CommentViewController.m"
timestampString = "489928207.513197"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "264"
endingLineNumber = "264"
landmarkName = "-keyboardWillShow:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
scope = "0"
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/CommentViewController.m"
timestampString = "489483994.092255"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "103"
endingLineNumber = "103"
landmarkName = "-chatKeyBoardSendText:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/CommentViewController.m"
timestampString = "489928207.513197"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "252"
endingLineNumber = "252"
landmarkName = "-keyboardWillShow:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/ChatKeyBoard.m"
timestampString = "491286079.227088"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "196"
endingLineNumber = "196"
landmarkName = "-observeValueForKeyPath:ofObject:change:context:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "323"
endingLineNumber = "323"
landmarkName = "-textViewDidBeginEditing:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "355"
endingLineNumber = "355"
landmarkName = "-textViewDeleteBackward:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "365"
endingLineNumber = "365"
landmarkName = "-observeValueForKeyPath:ofObject:change:context:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "621"
endingLineNumber = "621"
landmarkName = "-layoutAndAnimateTextView:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "576"
endingLineNumber = "576"
landmarkName = "-adjustTextViewContentSize"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "594"
endingLineNumber = "594"
landmarkName = "-getTextViewContentH:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "592"
endingLineNumber = "592"
landmarkName = "-getTextViewContentH:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ThirdLib/KeyBoard/Views/ToolBarPanel/ChatToolBar.m"
timestampString = "491288612.841133"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "679"
endingLineNumber = "679"
landmarkName = "-adjustTextViewHeightBy:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/Maker.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 1,975
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/Maker.xcuserdatad/xcschemes/WeChat.xcscheme
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 760
|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WeChat.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>70BB72651D02A8A70003B379</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/Maker.xcuserdatad/xcschemes/xcschememanagement.plist
|
xml
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 179
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
scope = "0"
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/AddressBook/ContactsViewController.m"
timestampString = "502699978.981842"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "280"
endingLineNumber = "280"
landmarkName = "-searchBarShouldBeginEditing:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/Home微信/HomeViewController.m"
timestampString = "500549560.547235"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "31"
endingLineNumber = "31"
landmarkName = "-tableView:numberOfRowsInSection:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/Home微信/HomeViewController.m"
timestampString = "500549561.683686"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "34"
endingLineNumber = "34"
landmarkName = "-tableView:cellForRowAtIndexPath:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/Home微信/HomeViewController.m"
timestampString = "500549722.046146"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "21"
endingLineNumber = "21"
landmarkName = "-viewDidLoad"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/BaseViewController/BaseViewController.m"
timestampString = "500549727.311334"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "25"
endingLineNumber = "25"
landmarkName = "-tableView"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/BaseViewController/BaseViewController.m"
timestampString = "500550001.793451"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "51"
endingLineNumber = "51"
landmarkName = "-tableView:numberOfRowsInSection:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/BaseViewController/BaseViewController.m"
timestampString = "500550001.793451"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "54"
endingLineNumber = "54"
landmarkName = "-tableView:cellForRowAtIndexPath:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/BaseViewController/BaseViewController.m"
timestampString = "500549747.066866"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "18"
endingLineNumber = "18"
landmarkName = "-dataSource"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/BaseViewController/BaseViewController.m"
timestampString = "500549748.169244"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "17"
endingLineNumber = "17"
landmarkName = "-dataSource"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/Me我/MeViewController.m"
timestampString = "502706346.770363"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "84"
endingLineNumber = "84"
landmarkName = "-tapForOriginal:"
landmarkType = "7">
<Locations>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "-[MeViewController tapForOriginal:]"
moduleName = "WeChat"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/wenming/Desktop/github/WeChat/WeChat/ViewController/Me%E6%88%91/MeViewController.m"
timestampString = "502705964.875747"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "81"
endingLineNumber = "81"
offsetFromSymbolStart = "71">
</Location>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "__35-[MeViewController tapForOriginal:]_block_invoke"
moduleName = "WeChat"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/wenming/Desktop/github/WeChat/WeChat/ViewController/Me%E6%88%91/MeViewController.m"
timestampString = "502705964.878978"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "81"
endingLineNumber = "81"
offsetFromSymbolStart = "19">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/wenming.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 1,958
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/wenming.xcuserdatad/xcschemes/WeChat.xcscheme
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 760
|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WeChat.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>70BB72651D02A8A70003B379</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/wenming.xcuserdatad/xcschemes/xcschememanagement.plist
|
xml
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 179
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "0C74E315-6ACE-4BED-BF3F-6625E34C00CB"
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "4E475C68-B6C5-44AB-BCD2-8D48D2A4B1D7"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "WeChat/ViewController/AddressBook/SearchResultViewController.m"
timestampString = "545131038.414887"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "30"
endingLineNumber = "30"
landmarkName = "-setItemClickAction:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/zhengwenming.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 255
|
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "70BB72651D02A8A70003B379"
BuildableName = "WeChat.app"
BlueprintName = "WeChat"
ReferencedContainer = "container:WeChat.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/zhengwenming.xcuserdatad/xcschemes/WeChat.xcscheme
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 760
|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WeChat.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>70BB72651D02A8A70003B379</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
```
|
/content/code_sandbox/WeChat.xcodeproj/xcuserdata/zhengwenming.xcuserdatad/xcschemes/xcschememanagement.plist
|
xml
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 179
|
```unknown
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
182E60F0243E13C8002128BA /* ConversationListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 182E60EF243E13C8002128BA /* ConversationListCell.m */; };
187DF9C1243C9D4700D3A52B /* WMTimeLineHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9AD243C9D4700D3A52B /* WMTimeLineHeaderView.m */; };
187DF9C2243C9D4700D3A52B /* LikeUsersCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9AF243C9D4700D3A52B /* LikeUsersCell.m */; };
187DF9C3243C9D4700D3A52B /* CommentCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9B3243C9D4700D3A52B /* CommentCell.m */; };
187DF9C4243C9D4700D3A52B /* WMTimeLineViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9B5243C9D4700D3A52B /* WMTimeLineViewController.m */; };
187DF9C5243C9D4700D3A52B /* LikeUsersCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 187DF9B7243C9D4700D3A52B /* LikeUsersCell.xib */; };
187DF9C6243C9D4700D3A52B /* MessageInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9B8243C9D4700D3A52B /* MessageInfoModel.m */; };
187DF9C7243C9D4700D3A52B /* CommentInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9B9243C9D4700D3A52B /* CommentInfoModel.m */; };
187DF9C8243C9D4700D3A52B /* Layout.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9BB243C9D4700D3A52B /* Layout.m */; };
187DF9C9243C9D4700D3A52B /* TimeLineBaseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9BC243C9D4700D3A52B /* TimeLineBaseViewController.m */; };
187DF9CA243C9D4700D3A52B /* FriendInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9C0243C9D4700D3A52B /* FriendInfoModel.m */; };
187DF9CD243CD97F00D3A52B /* UIBarButtonItem+addition.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9CB243CD97F00D3A52B /* UIBarButtonItem+addition.m */; };
187DF9D0243CE0B500D3A52B /* ConversationModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 187DF9CF243CE0B500D3A52B /* ConversationModel.m */; };
377CE0231D2280160075DCA3 /* WMPlayer.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 377CE0201D2280160075DCA3 /* WMPlayer.bundle */; };
377CE0241D2280160075DCA3 /* WMPlayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 377CE0221D2280160075DCA3 /* WMPlayer.m */; };
377EF7AB1D471F4700177CC8 /* addressBook.gif in Resources */ = {isa = PBXBuildFile; fileRef = 377EF7AA1D471F4700177CC8 /* addressBook.gif */; };
70154A6124441435007C4EB0 /* ConversationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70154A6024441435007C4EB0 /* ConversationViewController.m */; };
701A5BB71F740FB200332B78 /* CopyAbleLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 701A5BB61F740FB200332B78 /* CopyAbleLabel.m */; };
701A5BBD1F74180500332B78 /* NSString+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 701A5BBC1F74180500332B78 /* NSString+Extension.m */; };
701C25331F755783009B6AD1 /* JGGView.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25321F755783009B6AD1 /* JGGView.m */; };
701C25E71F755A1B009B6AD1 /* NSArray+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25381F755A1B009B6AD1 /* NSArray+YYAdd.m */; };
701C25E81F755A1B009B6AD1 /* NSBundle+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C253A1F755A1B009B6AD1 /* NSBundle+YYAdd.m */; };
701C25E91F755A1B009B6AD1 /* NSData+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C253C1F755A1B009B6AD1 /* NSData+YYAdd.m */; };
701C25EA1F755A1B009B6AD1 /* NSDate+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C253E1F755A1B009B6AD1 /* NSDate+YYAdd.m */; };
701C25EB1F755A1B009B6AD1 /* NSDictionary+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25401F755A1B009B6AD1 /* NSDictionary+YYAdd.m */; };
701C25EC1F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25421F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.m */; };
701C25ED1F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25441F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.m */; };
701C25EE1F755A1B009B6AD1 /* NSNumber+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25461F755A1B009B6AD1 /* NSNumber+YYAdd.m */; };
701C25EF1F755A1B009B6AD1 /* NSObject+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25481F755A1B009B6AD1 /* NSObject+YYAdd.m */; };
701C25F01F755A1B009B6AD1 /* NSObject+YYAddForARC.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C254A1F755A1B009B6AD1 /* NSObject+YYAddForARC.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
701C25F11F755A1B009B6AD1 /* NSObject+YYAddForKVO.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C254C1F755A1B009B6AD1 /* NSObject+YYAddForKVO.m */; };
701C25F21F755A1B009B6AD1 /* NSString+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C254E1F755A1B009B6AD1 /* NSString+YYAdd.m */; };
701C25F31F755A1B009B6AD1 /* NSThread+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25501F755A1B009B6AD1 /* NSThread+YYAdd.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
701C25F41F755A1B009B6AD1 /* NSTimer+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25521F755A1B009B6AD1 /* NSTimer+YYAdd.m */; };
701C25F51F755A1B009B6AD1 /* CALayer+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25551F755A1B009B6AD1 /* CALayer+YYAdd.m */; };
701C25F61F755A1B009B6AD1 /* YYCGUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25571F755A1B009B6AD1 /* YYCGUtilities.m */; };
701C25F71F755A1B009B6AD1 /* UIApplication+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C255A1F755A1B009B6AD1 /* UIApplication+YYAdd.m */; };
701C25F81F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C255C1F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.m */; };
701C25F91F755A1B009B6AD1 /* UIBezierPath+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C255E1F755A1B009B6AD1 /* UIBezierPath+YYAdd.m */; };
701C25FA1F755A1B009B6AD1 /* UIColor+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25601F755A1B009B6AD1 /* UIColor+YYAdd.m */; };
701C25FB1F755A1B009B6AD1 /* UIControl+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25621F755A1B009B6AD1 /* UIControl+YYAdd.m */; };
701C25FC1F755A1B009B6AD1 /* UIDevice+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25641F755A1B009B6AD1 /* UIDevice+YYAdd.m */; };
701C25FD1F755A1B009B6AD1 /* UIFont+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25661F755A1B009B6AD1 /* UIFont+YYAdd.m */; };
701C25FE1F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25681F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.m */; };
701C25FF1F755A1B009B6AD1 /* UIImage+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C256A1F755A1B009B6AD1 /* UIImage+YYAdd.m */; };
701C26001F755A1B009B6AD1 /* UIScreen+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C256C1F755A1B009B6AD1 /* UIScreen+YYAdd.m */; };
701C26011F755A1B009B6AD1 /* UIScrollView+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C256E1F755A1B009B6AD1 /* UIScrollView+YYAdd.m */; };
701C26021F755A1B009B6AD1 /* UITableView+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25701F755A1B009B6AD1 /* UITableView+YYAdd.m */; };
701C26031F755A1B009B6AD1 /* UITextField+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25721F755A1B009B6AD1 /* UITextField+YYAdd.m */; };
701C26041F755A1B009B6AD1 /* UIView+YYAdd.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25741F755A1B009B6AD1 /* UIView+YYAdd.m */; };
701C26051F755A1B009B6AD1 /* YYCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25781F755A1B009B6AD1 /* YYCache.m */; };
701C26061F755A1B009B6AD1 /* YYDiskCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C257A1F755A1B009B6AD1 /* YYDiskCache.m */; };
701C26071F755A1B009B6AD1 /* YYKVStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C257C1F755A1B009B6AD1 /* YYKVStorage.m */; };
701C26081F755A1B009B6AD1 /* YYMemoryCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C257E1F755A1B009B6AD1 /* YYMemoryCache.m */; };
701C26091F755A1B009B6AD1 /* _YYWebImageSetter.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25821F755A1B009B6AD1 /* _YYWebImageSetter.m */; };
701C260A1F755A1B009B6AD1 /* CALayer+YYWebImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25841F755A1B009B6AD1 /* CALayer+YYWebImage.m */; };
701C260B1F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25861F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.m */; };
701C260C1F755A1B009B6AD1 /* UIButton+YYWebImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25881F755A1B009B6AD1 /* UIButton+YYWebImage.m */; };
701C260D1F755A1B009B6AD1 /* UIImageView+YYWebImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C258A1F755A1B009B6AD1 /* UIImageView+YYWebImage.m */; };
701C260E1F755A1B009B6AD1 /* YYAnimatedImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C258C1F755A1B009B6AD1 /* YYAnimatedImageView.m */; };
701C260F1F755A1B009B6AD1 /* YYFrameImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C258E1F755A1B009B6AD1 /* YYFrameImage.m */; };
701C26101F755A1B009B6AD1 /* YYImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25901F755A1B009B6AD1 /* YYImage.m */; };
701C26111F755A1B009B6AD1 /* YYImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25921F755A1B009B6AD1 /* YYImageCache.m */; };
701C26121F755A1B009B6AD1 /* YYImageCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25941F755A1B009B6AD1 /* YYImageCoder.m */; };
701C26131F755A1B009B6AD1 /* YYSpriteSheetImage.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25961F755A1B009B6AD1 /* YYSpriteSheetImage.m */; };
701C26141F755A1B009B6AD1 /* YYWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25981F755A1B009B6AD1 /* YYWebImageManager.m */; };
701C26151F755A1B009B6AD1 /* YYWebImageOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C259A1F755A1B009B6AD1 /* YYWebImageOperation.m */; };
701C26161F755A1B009B6AD1 /* NSObject+YYModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C259D1F755A1B009B6AD1 /* NSObject+YYModel.m */; };
701C26171F755A1B009B6AD1 /* YYClassInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C259F1F755A1B009B6AD1 /* YYClassInfo.m */; };
701C26181F755A1B009B6AD1 /* YYTextContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25A31F755A1B009B6AD1 /* YYTextContainerView.m */; };
701C26191F755A1B009B6AD1 /* YYTextDebugOption.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25A51F755A1B009B6AD1 /* YYTextDebugOption.m */; };
701C261A1F755A1B009B6AD1 /* YYTextEffectWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25A71F755A1B009B6AD1 /* YYTextEffectWindow.m */; };
701C261B1F755A1B009B6AD1 /* YYTextInput.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25A91F755A1B009B6AD1 /* YYTextInput.m */; };
701C261C1F755A1B009B6AD1 /* YYTextKeyboardManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25AB1F755A1B009B6AD1 /* YYTextKeyboardManager.m */; };
701C261D1F755A1B009B6AD1 /* YYTextLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25AD1F755A1B009B6AD1 /* YYTextLayout.m */; };
701C261E1F755A1C009B6AD1 /* YYTextLine.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25AF1F755A1B009B6AD1 /* YYTextLine.m */; };
701C261F1F755A1C009B6AD1 /* YYTextMagnifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25B11F755A1B009B6AD1 /* YYTextMagnifier.m */; };
701C26201F755A1C009B6AD1 /* YYTextSelectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25B31F755A1B009B6AD1 /* YYTextSelectionView.m */; };
701C26211F755A1C009B6AD1 /* NSAttributedString+YYText.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25B61F755A1B009B6AD1 /* NSAttributedString+YYText.m */; };
701C26221F755A1C009B6AD1 /* NSParagraphStyle+YYText.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25B81F755A1B009B6AD1 /* NSParagraphStyle+YYText.m */; };
701C26231F755A1C009B6AD1 /* UIPasteboard+YYText.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25BA1F755A1B009B6AD1 /* UIPasteboard+YYText.m */; };
701C26241F755A1C009B6AD1 /* YYTextArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25BC1F755A1B009B6AD1 /* YYTextArchiver.m */; };
701C26251F755A1C009B6AD1 /* YYTextAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25BE1F755A1B009B6AD1 /* YYTextAttribute.m */; };
701C26261F755A1C009B6AD1 /* YYTextParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25C01F755A1B009B6AD1 /* YYTextParser.m */; };
701C26271F755A1C009B6AD1 /* YYTextRubyAnnotation.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25C21F755A1B009B6AD1 /* YYTextRubyAnnotation.m */; };
701C26281F755A1C009B6AD1 /* YYTextRunDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25C41F755A1B009B6AD1 /* YYTextRunDelegate.m */; };
701C26291F755A1C009B6AD1 /* YYTextUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25C61F755A1B009B6AD1 /* YYTextUtilities.m */; };
701C262A1F755A1C009B6AD1 /* YYFPSLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25C81F755A1B009B6AD1 /* YYFPSLabel.m */; };
701C262B1F755A1C009B6AD1 /* YYLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25CA1F755A1B009B6AD1 /* YYLabel.m */; };
701C262C1F755A1C009B6AD1 /* YYTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25CC1F755A1B009B6AD1 /* YYTextView.m */; };
701C262D1F755A1C009B6AD1 /* YYAsyncLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25CF1F755A1B009B6AD1 /* YYAsyncLayer.m */; };
701C262E1F755A1C009B6AD1 /* YYDispatchQueuePool.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25D11F755A1B009B6AD1 /* YYDispatchQueuePool.m */; };
701C262F1F755A1C009B6AD1 /* YYFileHash.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25D31F755A1B009B6AD1 /* YYFileHash.m */; };
701C26301F755A1C009B6AD1 /* YYGestureRecognizer.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25D51F755A1B009B6AD1 /* YYGestureRecognizer.m */; };
701C26311F755A1C009B6AD1 /* YYKeychain.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25D71F755A1B009B6AD1 /* YYKeychain.m */; };
701C26321F755A1C009B6AD1 /* YYReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25D91F755A1B009B6AD1 /* YYReachability.m */; };
701C26331F755A1C009B6AD1 /* YYSentinel.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25DB1F755A1B009B6AD1 /* YYSentinel.m */; };
701C26341F755A1C009B6AD1 /* YYThreadSafeArray.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25DD1F755A1B009B6AD1 /* YYThreadSafeArray.m */; };
701C26351F755A1C009B6AD1 /* YYThreadSafeDictionary.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25DF1F755A1B009B6AD1 /* YYThreadSafeDictionary.m */; };
701C26361F755A1C009B6AD1 /* YYTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25E11F755A1B009B6AD1 /* YYTimer.m */; };
701C26371F755A1C009B6AD1 /* YYTransaction.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25E31F755A1B009B6AD1 /* YYTransaction.m */; };
701C26381F755A1C009B6AD1 /* YYWeakProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = 701C25E51F755A1B009B6AD1 /* YYWeakProxy.m */; };
701C263B1F755D9D009B6AD1 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C263A1F755D9D009B6AD1 /* libsqlite3.0.tbd */; };
701C263D1F755DF7009B6AD1 /* CoreImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C263C1F755DF7009B6AD1 /* CoreImage.framework */; };
701C263F1F755E02009B6AD1 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C263E1F755E02009B6AD1 /* CoreGraphics.framework */; };
701C26411F755E09009B6AD1 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C26401F755E09009B6AD1 /* CoreText.framework */; };
701C26431F755E12009B6AD1 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C26421F755E12009B6AD1 /* QuartzCore.framework */; };
701C26451F755E18009B6AD1 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C26441F755E18009B6AD1 /* ImageIO.framework */; };
701C26471F755E1F009B6AD1 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C26461F755E1F009B6AD1 /* AssetsLibrary.framework */; };
701C26491F755E25009B6AD1 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C26481F755E25009B6AD1 /* Accelerate.framework */; };
701C264B1F755E2F009B6AD1 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C264A1F755E2F009B6AD1 /* MobileCoreServices.framework */; };
701C264D1F755E35009B6AD1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C264C1F755E35009B6AD1 /* SystemConfiguration.framework */; };
701C264F1F755E3E009B6AD1 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 701C264E1F755E3E009B6AD1 /* libz.tbd */; };
70202E8320202067001E73DD /* resource.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70202E7C20202066001E73DD /* resource.xcassets */; };
70202E8520202067001E73DD /* WMPhotoBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = 70202E8020202066001E73DD /* WMPhotoBrowser.m */; };
70202E8620202067001E73DD /* WMPhotoBrowserCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 70202E8220202066001E73DD /* WMPhotoBrowserCell.m */; };
705EEE2B1F6C49AE00566255 /* UILabel+TapAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 705EEE2A1F6C49AE00566255 /* UILabel+TapAction.m */; };
70B5BE6E1D0472B7003A7CF2 /* 0.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE391D0472B7003A7CF2 /* 0.jpg */; };
70B5BE6F1D0472B7003A7CF2 /* 1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE3A1D0472B7003A7CF2 /* 1.jpg */; };
70B5BE701D0472B7003A7CF2 /* 10.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE3B1D0472B7003A7CF2 /* 10.jpg */; };
70B5BE711D0472B7003A7CF2 /* 11.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE3C1D0472B7003A7CF2 /* 11.jpg */; };
70B5BE721D0472B7003A7CF2 /* 12.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE3D1D0472B7003A7CF2 /* 12.jpg */; };
70B5BE731D0472B7003A7CF2 /* 13.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE3E1D0472B7003A7CF2 /* 13.jpg */; };
70B5BE741D0472B7003A7CF2 /* 14.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE3F1D0472B7003A7CF2 /* 14.jpg */; };
70B5BE751D0472B7003A7CF2 /* 15.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE401D0472B7003A7CF2 /* 15.jpg */; };
70B5BE761D0472B7003A7CF2 /* 16.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE411D0472B7003A7CF2 /* 16.jpg */; };
70B5BE771D0472B7003A7CF2 /* 17.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE421D0472B7003A7CF2 /* 17.jpg */; };
70B5BE781D0472B7003A7CF2 /* 18.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE431D0472B7003A7CF2 /* 18.jpg */; };
70B5BE791D0472B7003A7CF2 /* 19.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE441D0472B7003A7CF2 /* 19.jpg */; };
70B5BE7A1D0472B7003A7CF2 /* 2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE451D0472B7003A7CF2 /* 2.jpg */; };
70B5BE7B1D0472B7003A7CF2 /* 20.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE461D0472B7003A7CF2 /* 20.jpg */; };
70B5BE7C1D0472B7003A7CF2 /* 21.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE471D0472B7003A7CF2 /* 21.jpg */; };
70B5BE7D1D0472B7003A7CF2 /* 22.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE481D0472B7003A7CF2 /* 22.jpg */; };
70B5BE7E1D0472B7003A7CF2 /* 23.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE491D0472B7003A7CF2 /* 23.jpg */; };
70B5BE7F1D0472B7003A7CF2 /* 3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE4A1D0472B7003A7CF2 /* 3.jpg */; };
70B5BE801D0472B7003A7CF2 /* 4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE4B1D0472B7003A7CF2 /* 4.jpg */; };
70B5BE811D0472B7003A7CF2 /* 5.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE4C1D0472B7003A7CF2 /* 5.jpg */; };
70B5BE821D0472B7003A7CF2 /* 6.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE4D1D0472B7003A7CF2 /* 6.jpg */; };
70B5BE831D0472B7003A7CF2 /* 7.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE4E1D0472B7003A7CF2 /* 7.jpg */; };
70B5BE841D0472B7003A7CF2 /* 8.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE4F1D0472B7003A7CF2 /* 8.jpg */; };
70B5BE851D0472B7003A7CF2 /* 9.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE501D0472B7003A7CF2 /* 9.jpg */; };
70B5BE861D0472B7003A7CF2 /* icon0.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE511D0472B7003A7CF2 /* icon0.jpg */; };
70B5BE871D0472B7003A7CF2 /* icon1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE521D0472B7003A7CF2 /* icon1.jpg */; };
70B5BE881D0472B7003A7CF2 /* icon2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE531D0472B7003A7CF2 /* icon2.jpg */; };
70B5BE891D0472B7003A7CF2 /* icon3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE541D0472B7003A7CF2 /* icon3.jpg */; };
70B5BE8A1D0472B7003A7CF2 /* icon4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE551D0472B7003A7CF2 /* icon4.jpg */; };
70B5BE8B1D0472B7003A7CF2 /* Contacts.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE561D0472B7003A7CF2 /* Contacts.xcassets */; };
70B5BE8C1D0472B7003A7CF2 /* Discover.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE571D0472B7003A7CF2 /* Discover.xcassets */; };
70B5BE8D1D0472B7003A7CF2 /* Home.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE581D0472B7003A7CF2 /* Home.xcassets */; };
70B5BE8F1D0472B7003A7CF2 /* Me.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE5A1D0472B7003A7CF2 /* Me.xcassets */; };
70B5BE901D0472B7003A7CF2 /* test0.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE5C1D0472B7003A7CF2 /* test0.jpg */; };
70B5BE911D0472B7003A7CF2 /* test1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE5D1D0472B7003A7CF2 /* test1.jpg */; };
70B5BE921D0472B7003A7CF2 /* test2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE5E1D0472B7003A7CF2 /* test2.jpg */; };
70B5BE931D0472B7003A7CF2 /* test3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE5F1D0472B7003A7CF2 /* test3.jpg */; };
70B5BE941D0472B7003A7CF2 /* test4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE601D0472B7003A7CF2 /* test4.jpg */; };
70B5BE951D0472B7003A7CF2 /* pbg.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE621D0472B7003A7CF2 /* pbg.jpg */; };
70B5BE961D0472B7003A7CF2 /* pic0.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE631D0472B7003A7CF2 /* pic0.jpg */; };
70B5BE971D0472B7003A7CF2 /* pic1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE641D0472B7003A7CF2 /* pic1.jpg */; };
70B5BE981D0472B7003A7CF2 /* pic2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE651D0472B7003A7CF2 /* pic2.jpg */; };
70B5BE991D0472B7003A7CF2 /* pic3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE661D0472B7003A7CF2 /* pic3.jpg */; };
70B5BE9A1D0472B7003A7CF2 /* pic4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE671D0472B7003A7CF2 /* pic4.jpg */; };
70B5BE9B1D0472B7003A7CF2 /* pic5.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE681D0472B7003A7CF2 /* pic5.jpg */; };
70B5BE9C1D0472B7003A7CF2 /* pic6.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE691D0472B7003A7CF2 /* pic6.jpg */; };
70B5BE9D1D0472B7003A7CF2 /* pic7.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE6A1D0472B7003A7CF2 /* pic7.jpg */; };
70B5BE9E1D0472B7003A7CF2 /* pic8.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE6B1D0472B7003A7CF2 /* pic8.jpg */; };
70B5BE9F1D0472B7003A7CF2 /* picon.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70B5BE6C1D0472B7003A7CF2 /* picon.jpg */; };
70BB726B1D02A8A70003B379 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB726A1D02A8A70003B379 /* main.m */; };
70BB726E1D02A8A70003B379 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB726D1D02A8A70003B379 /* AppDelegate.m */; };
70BB72761D02A8A70003B379 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70BB72751D02A8A70003B379 /* Assets.xcassets */; };
70BB72ED1D02A93D0003B379 /* MASCompositeConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72861D02A93D0003B379 /* MASCompositeConstraint.m */; };
70BB72EE1D02A93D0003B379 /* MASConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72891D02A93D0003B379 /* MASConstraint.m */; };
70BB72EF1D02A93D0003B379 /* MASConstraintMaker.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB728B1D02A93D0003B379 /* MASConstraintMaker.m */; };
70BB72F01D02A93D0003B379 /* MASLayoutConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB728D1D02A93D0003B379 /* MASLayoutConstraint.m */; };
70BB72F11D02A93D0003B379 /* MASViewAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72911D02A93D0003B379 /* MASViewAttribute.m */; };
70BB72F21D02A93D0003B379 /* MASViewConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72931D02A93D0003B379 /* MASViewConstraint.m */; };
70BB72F31D02A93D0003B379 /* NSArray+MASAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72951D02A93D0003B379 /* NSArray+MASAdditions.m */; };
70BB72F41D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72981D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.m */; };
70BB72F51D02A93D0003B379 /* View+MASAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB729A1D02A93D0003B379 /* View+MASAdditions.m */; };
70BB72F61D02A93D0003B379 /* MBProgressHUD+Show.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB729E1D02A93D0003B379 /* MBProgressHUD+Show.m */; };
70BB72F71D02A93D0003B379 /* MBProgressHUD.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 70BB729F1D02A93D0003B379 /* MBProgressHUD.bundle */; };
70BB72F81D02A93D0003B379 /* MBProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72A11D02A93D0003B379 /* MBProgressHUD.m */; };
70BB72F91D02A93D0003B379 /* MJRefreshAutoFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72A51D02A93D0003B379 /* MJRefreshAutoFooter.m */; };
70BB72FA1D02A93D0003B379 /* MJRefreshBackFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72A71D02A93D0003B379 /* MJRefreshBackFooter.m */; };
70BB72FB1D02A93D0003B379 /* MJRefreshComponent.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72A91D02A93D0003B379 /* MJRefreshComponent.m */; };
70BB72FC1D02A93D0003B379 /* MJRefreshFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72AB1D02A93D0003B379 /* MJRefreshFooter.m */; };
70BB72FD1D02A93D0003B379 /* MJRefreshHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72AD1D02A93D0003B379 /* MJRefreshHeader.m */; };
70BB72FE1D02A93D0003B379 /* MJRefreshAutoGifFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72B21D02A93D0003B379 /* MJRefreshAutoGifFooter.m */; };
70BB72FF1D02A93D0003B379 /* MJRefreshAutoNormalFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72B41D02A93D0003B379 /* MJRefreshAutoNormalFooter.m */; };
70BB73001D02A93D0003B379 /* MJRefreshAutoStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72B61D02A93D0003B379 /* MJRefreshAutoStateFooter.m */; };
70BB73011D02A93D0003B379 /* MJRefreshBackGifFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72B91D02A93D0003B379 /* MJRefreshBackGifFooter.m */; };
70BB73021D02A93D0003B379 /* MJRefreshBackNormalFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72BB1D02A93D0003B379 /* MJRefreshBackNormalFooter.m */; };
70BB73031D02A93D0003B379 /* MJRefreshBackStateFooter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72BD1D02A93D0003B379 /* MJRefreshBackStateFooter.m */; };
70BB73041D02A93D0003B379 /* MJRefreshGifHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72C01D02A93D0003B379 /* MJRefreshGifHeader.m */; };
70BB73051D02A93D0003B379 /* MJRefreshNormalHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72C21D02A93D0003B379 /* MJRefreshNormalHeader.m */; };
70BB73061D02A93D0003B379 /* MJRefreshStateHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72C41D02A93D0003B379 /* MJRefreshStateHeader.m */; };
70BB73071D02A93D0003B379 /* MJRefresh.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 70BB72C51D02A93D0003B379 /* MJRefresh.bundle */; };
70BB73081D02A93D0003B379 /* MJRefreshConst.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72C81D02A93D0003B379 /* MJRefreshConst.m */; };
70BB73091D02A93D0003B379 /* UIScrollView+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72CA1D02A93D0003B379 /* UIScrollView+MJExtension.m */; };
70BB730A1D02A93D0003B379 /* UIScrollView+MJRefresh.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72CC1D02A93D0003B379 /* UIScrollView+MJRefresh.m */; };
70BB730B1D02A93D0003B379 /* UIView+MJExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72CE1D02A93D0003B379 /* UIView+MJExtension.m */; };
70BB730C1D02A93D0003B379 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72D11D02A93D0003B379 /* NSData+ImageContentType.m */; };
70BB730D1D02A93D0003B379 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72D31D02A93D0003B379 /* SDImageCache.m */; };
70BB730E1D02A93D0003B379 /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72D51D02A93D0003B379 /* SDWebImageCompat.m */; };
70BB730F1D02A93D0003B379 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72D71D02A93D0003B379 /* SDWebImageDecoder.m */; };
70BB73101D02A93D0003B379 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72D91D02A93D0003B379 /* SDWebImageDownloader.m */; };
70BB73111D02A93D0003B379 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72DB1D02A93D0003B379 /* SDWebImageDownloaderOperation.m */; };
70BB73121D02A93D0003B379 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72DD1D02A93D0003B379 /* SDWebImageManager.m */; };
70BB73131D02A93D0003B379 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72E01D02A93D0003B379 /* SDWebImagePrefetcher.m */; };
70BB73141D02A93D0003B379 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72E21D02A93D0003B379 /* UIButton+WebCache.m */; };
70BB73151D02A93D0003B379 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72E41D02A93D0003B379 /* UIImage+GIF.m */; };
70BB73161D02A93D0003B379 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72E61D02A93D0003B379 /* UIImage+MultiFormat.m */; };
70BB73171D02A93D0003B379 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72E81D02A93D0003B379 /* UIImageView+HighlightedWebCache.m */; };
70BB73181D02A93D0003B379 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72EA1D02A93D0003B379 /* UIImageView+WebCache.m */; };
70BB73191D02A93D0003B379 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 70BB72EC1D02A93D0003B379 /* UIView+WebCacheOperation.m */; };
70BB73291D02AC550003B379 /* data.json in Resources */ = {isa = PBXBuildFile; fileRef = 70BB73281D02AC550003B379 /* data.json */; };
70D6FE9C243C1F2C005C3727 /* UIView+WMFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FE98243C1F2C005C3727 /* UIView+WMFrame.m */; };
70D6FE9D243C1F2C005C3727 /* UIViewController+WMExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FE9B243C1F2C005C3727 /* UIViewController+WMExtension.m */; };
70D6FEA0243C1F39005C3727 /* WMCollectionViewFlowLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FE9E243C1F39005C3727 /* WMCollectionViewFlowLayout.m */; };
70D6FEF1243C835E005C3727 /* MeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEBC243C835D005C3727 /* MeViewController.m */; };
70D6FEF4243C835F005C3727 /* DiscoverViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEC1243C835D005C3727 /* DiscoverViewController.m */; };
70D6FF00243C835F005C3727 /* SearchResultViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEDD243C835E005C3727 /* SearchResultViewController.m */; };
70D6FF01243C835F005C3727 /* WMSearchController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEDE243C835E005C3727 /* WMSearchController.m */; };
70D6FF02243C835F005C3727 /* ContactsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEDF243C835E005C3727 /* ContactsViewController.m */; };
70D6FF03243C835F005C3727 /* AddressBookCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEE0243C835E005C3727 /* AddressBookCell.m */; };
70D6FF04243C835F005C3727 /* AddressBookCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 70D6FEE2243C835E005C3727 /* AddressBookCell.xib */; };
70D6FF06243C835F005C3727 /* BaseViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEE5243C835E005C3727 /* BaseViewController.m */; };
70D6FF07243C835F005C3727 /* BaseNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEE6243C835E005C3727 /* BaseNavigationController.m */; };
70D6FF08243C835F005C3727 /* HomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FEEA243C835E005C3727 /* HomeViewController.m */; };
70D6FF10243C83F8005C3727 /* PersonCenterCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FF0C243C83F7005C3727 /* PersonCenterCell.m */; };
70D6FF11243C83F8005C3727 /* PersonCenterHeaderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FF0D243C83F7005C3727 /* PersonCenterHeaderCell.m */; };
70D6FF12243C83F8005C3727 /* PersonCenterHeaderCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 70D6FF0E243C83F8005C3727 /* PersonCenterHeaderCell.xib */; };
70D6FF13243C83F8005C3727 /* PersonCenterCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 70D6FF0F243C83F8005C3727 /* PersonCenterCell.xib */; };
70D6FF19243EC752005C3727 /* RootTabBarController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D6FF17243EC752005C3727 /* RootTabBarController.m */; };
70F4B0CF1D0515CF0002924F /* WeChat.gif in Resources */ = {isa = PBXBuildFile; fileRef = 70F4B0CE1D0515CF0002924F /* WeChat.gif */; };
70FFC1DD1D44F2D000FCE22F /* ChineseToPinyinResource.m in Sources */ = {isa = PBXBuildFile; fileRef = 70FFC1D11D44F2D000FCE22F /* ChineseToPinyinResource.m */; };
70FFC1DE1D44F2D000FCE22F /* HanyuPinyinOutputFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 70FFC1D31D44F2D000FCE22F /* HanyuPinyinOutputFormat.m */; };
70FFC1DF1D44F2D000FCE22F /* NSString+PinYin4Cocoa.m in Sources */ = {isa = PBXBuildFile; fileRef = 70FFC1D51D44F2D000FCE22F /* NSString+PinYin4Cocoa.m */; };
70FFC1E01D44F2D000FCE22F /* PinyinFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 70FFC1D81D44F2D000FCE22F /* PinyinFormatter.m */; };
70FFC1E11D44F2D000FCE22F /* PinyinHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 70FFC1DA1D44F2D000FCE22F /* PinyinHelper.m */; };
70FFC1E21D44F2D000FCE22F /* unicode_to_hanyu_pinyin.txt in Resources */ = {isa = PBXBuildFile; fileRef = 70FFC1DC1D44F2D000FCE22F /* unicode_to_hanyu_pinyin.txt */; };
70FFC1E41D44FB0200FCE22F /* AddressBook.json in Resources */ = {isa = PBXBuildFile; fileRef = 70FFC1E31D44FB0200FCE22F /* AddressBook.json */; };
BF11A1C81DD5B22E00024BBE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF11A1C61DD5B22E00024BBE /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
182E60EE243E13C8002128BA /* ConversationListCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ConversationListCell.h; sourceTree = "<group>"; };
182E60EF243E13C8002128BA /* ConversationListCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ConversationListCell.m; sourceTree = "<group>"; };
187DF9AD243C9D4700D3A52B /* WMTimeLineHeaderView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMTimeLineHeaderView.m; sourceTree = "<group>"; };
187DF9AE243C9D4700D3A52B /* CommentCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommentCell.h; sourceTree = "<group>"; };
187DF9AF243C9D4700D3A52B /* LikeUsersCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LikeUsersCell.m; sourceTree = "<group>"; };
187DF9B0243C9D4700D3A52B /* WMTimeLineViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMTimeLineViewController.h; sourceTree = "<group>"; };
187DF9B1243C9D4700D3A52B /* CommentInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommentInfoModel.h; sourceTree = "<group>"; };
187DF9B2243C9D4700D3A52B /* MessageInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MessageInfoModel.h; sourceTree = "<group>"; };
187DF9B3243C9D4700D3A52B /* CommentCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommentCell.m; sourceTree = "<group>"; };
187DF9B4243C9D4700D3A52B /* WMTimeLineHeaderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMTimeLineHeaderView.h; sourceTree = "<group>"; };
187DF9B5243C9D4700D3A52B /* WMTimeLineViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMTimeLineViewController.m; sourceTree = "<group>"; };
187DF9B6243C9D4700D3A52B /* LikeUsersCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LikeUsersCell.h; sourceTree = "<group>"; };
187DF9B7243C9D4700D3A52B /* LikeUsersCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LikeUsersCell.xib; sourceTree = "<group>"; };
187DF9B8243C9D4700D3A52B /* MessageInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MessageInfoModel.m; sourceTree = "<group>"; };
187DF9B9243C9D4700D3A52B /* CommentInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommentInfoModel.m; sourceTree = "<group>"; };
187DF9BB243C9D4700D3A52B /* Layout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Layout.m; sourceTree = "<group>"; };
187DF9BC243C9D4700D3A52B /* TimeLineBaseViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TimeLineBaseViewController.m; sourceTree = "<group>"; };
187DF9BD243C9D4700D3A52B /* FriendInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FriendInfoModel.h; sourceTree = "<group>"; };
187DF9BE243C9D4700D3A52B /* Layout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Layout.h; sourceTree = "<group>"; };
187DF9BF243C9D4700D3A52B /* TimeLineBaseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TimeLineBaseViewController.h; sourceTree = "<group>"; };
187DF9C0243C9D4700D3A52B /* FriendInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FriendInfoModel.m; sourceTree = "<group>"; };
187DF9CB243CD97F00D3A52B /* UIBarButtonItem+addition.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIBarButtonItem+addition.m"; sourceTree = "<group>"; };
187DF9CC243CD97F00D3A52B /* UIBarButtonItem+addition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIBarButtonItem+addition.h"; sourceTree = "<group>"; };
187DF9CE243CE0B500D3A52B /* ConversationModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ConversationModel.h; sourceTree = "<group>"; };
187DF9CF243CE0B500D3A52B /* ConversationModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ConversationModel.m; sourceTree = "<group>"; };
377CE0201D2280160075DCA3 /* WMPlayer.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = WMPlayer.bundle; sourceTree = "<group>"; };
377CE0211D2280160075DCA3 /* WMPlayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMPlayer.h; sourceTree = "<group>"; };
377CE0221D2280160075DCA3 /* WMPlayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMPlayer.m; sourceTree = "<group>"; };
377EF7AA1D471F4700177CC8 /* addressBook.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = addressBook.gif; sourceTree = "<group>"; };
70154A5F24441435007C4EB0 /* ConversationViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ConversationViewController.h; sourceTree = "<group>"; };
70154A6024441435007C4EB0 /* ConversationViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ConversationViewController.m; sourceTree = "<group>"; };
701A5BB51F740FB200332B78 /* CopyAbleLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CopyAbleLabel.h; sourceTree = "<group>"; };
701A5BB61F740FB200332B78 /* CopyAbleLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CopyAbleLabel.m; sourceTree = "<group>"; };
701A5BBB1F74180500332B78 /* NSString+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+Extension.h"; sourceTree = "<group>"; };
701A5BBC1F74180500332B78 /* NSString+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+Extension.m"; sourceTree = "<group>"; };
701C25311F755783009B6AD1 /* JGGView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JGGView.h; sourceTree = "<group>"; };
701C25321F755783009B6AD1 /* JGGView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JGGView.m; sourceTree = "<group>"; };
701C25371F755A1B009B6AD1 /* NSArray+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+YYAdd.h"; sourceTree = "<group>"; };
701C25381F755A1B009B6AD1 /* NSArray+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+YYAdd.m"; sourceTree = "<group>"; };
701C25391F755A1B009B6AD1 /* NSBundle+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSBundle+YYAdd.h"; sourceTree = "<group>"; };
701C253A1F755A1B009B6AD1 /* NSBundle+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSBundle+YYAdd.m"; sourceTree = "<group>"; };
701C253B1F755A1B009B6AD1 /* NSData+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+YYAdd.h"; sourceTree = "<group>"; };
701C253C1F755A1B009B6AD1 /* NSData+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+YYAdd.m"; sourceTree = "<group>"; };
701C253D1F755A1B009B6AD1 /* NSDate+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDate+YYAdd.h"; sourceTree = "<group>"; };
701C253E1F755A1B009B6AD1 /* NSDate+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSDate+YYAdd.m"; sourceTree = "<group>"; };
701C253F1F755A1B009B6AD1 /* NSDictionary+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDictionary+YYAdd.h"; sourceTree = "<group>"; };
701C25401F755A1B009B6AD1 /* NSDictionary+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSDictionary+YYAdd.m"; sourceTree = "<group>"; };
701C25411F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSKeyedUnarchiver+YYAdd.h"; sourceTree = "<group>"; };
701C25421F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSKeyedUnarchiver+YYAdd.m"; sourceTree = "<group>"; };
701C25431F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSNotificationCenter+YYAdd.h"; sourceTree = "<group>"; };
701C25441F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSNotificationCenter+YYAdd.m"; sourceTree = "<group>"; };
701C25451F755A1B009B6AD1 /* NSNumber+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSNumber+YYAdd.h"; sourceTree = "<group>"; };
701C25461F755A1B009B6AD1 /* NSNumber+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSNumber+YYAdd.m"; sourceTree = "<group>"; };
701C25471F755A1B009B6AD1 /* NSObject+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+YYAdd.h"; sourceTree = "<group>"; };
701C25481F755A1B009B6AD1 /* NSObject+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+YYAdd.m"; sourceTree = "<group>"; };
701C25491F755A1B009B6AD1 /* NSObject+YYAddForARC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+YYAddForARC.h"; sourceTree = "<group>"; };
701C254A1F755A1B009B6AD1 /* NSObject+YYAddForARC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+YYAddForARC.m"; sourceTree = "<group>"; };
701C254B1F755A1B009B6AD1 /* NSObject+YYAddForKVO.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+YYAddForKVO.h"; sourceTree = "<group>"; };
701C254C1F755A1B009B6AD1 /* NSObject+YYAddForKVO.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+YYAddForKVO.m"; sourceTree = "<group>"; };
701C254D1F755A1B009B6AD1 /* NSString+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+YYAdd.h"; sourceTree = "<group>"; };
701C254E1F755A1B009B6AD1 /* NSString+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+YYAdd.m"; sourceTree = "<group>"; };
701C254F1F755A1B009B6AD1 /* NSThread+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSThread+YYAdd.h"; sourceTree = "<group>"; };
701C25501F755A1B009B6AD1 /* NSThread+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSThread+YYAdd.m"; sourceTree = "<group>"; };
701C25511F755A1B009B6AD1 /* NSTimer+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSTimer+YYAdd.h"; sourceTree = "<group>"; };
701C25521F755A1B009B6AD1 /* NSTimer+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSTimer+YYAdd.m"; sourceTree = "<group>"; };
701C25541F755A1B009B6AD1 /* CALayer+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CALayer+YYAdd.h"; sourceTree = "<group>"; };
701C25551F755A1B009B6AD1 /* CALayer+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "CALayer+YYAdd.m"; sourceTree = "<group>"; };
701C25561F755A1B009B6AD1 /* YYCGUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYCGUtilities.h; sourceTree = "<group>"; };
701C25571F755A1B009B6AD1 /* YYCGUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYCGUtilities.m; sourceTree = "<group>"; };
701C25591F755A1B009B6AD1 /* UIApplication+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIApplication+YYAdd.h"; sourceTree = "<group>"; };
701C255A1F755A1B009B6AD1 /* UIApplication+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIApplication+YYAdd.m"; sourceTree = "<group>"; };
701C255B1F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIBarButtonItem+YYAdd.h"; sourceTree = "<group>"; };
701C255C1F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIBarButtonItem+YYAdd.m"; sourceTree = "<group>"; };
701C255D1F755A1B009B6AD1 /* UIBezierPath+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIBezierPath+YYAdd.h"; sourceTree = "<group>"; };
701C255E1F755A1B009B6AD1 /* UIBezierPath+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIBezierPath+YYAdd.m"; sourceTree = "<group>"; };
701C255F1F755A1B009B6AD1 /* UIColor+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+YYAdd.h"; sourceTree = "<group>"; };
701C25601F755A1B009B6AD1 /* UIColor+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIColor+YYAdd.m"; sourceTree = "<group>"; };
701C25611F755A1B009B6AD1 /* UIControl+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIControl+YYAdd.h"; sourceTree = "<group>"; };
701C25621F755A1B009B6AD1 /* UIControl+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIControl+YYAdd.m"; sourceTree = "<group>"; };
701C25631F755A1B009B6AD1 /* UIDevice+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIDevice+YYAdd.h"; sourceTree = "<group>"; };
701C25641F755A1B009B6AD1 /* UIDevice+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIDevice+YYAdd.m"; sourceTree = "<group>"; };
701C25651F755A1B009B6AD1 /* UIFont+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIFont+YYAdd.h"; sourceTree = "<group>"; };
701C25661F755A1B009B6AD1 /* UIFont+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIFont+YYAdd.m"; sourceTree = "<group>"; };
701C25671F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIGestureRecognizer+YYAdd.h"; sourceTree = "<group>"; };
701C25681F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIGestureRecognizer+YYAdd.m"; sourceTree = "<group>"; };
701C25691F755A1B009B6AD1 /* UIImage+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+YYAdd.h"; sourceTree = "<group>"; };
701C256A1F755A1B009B6AD1 /* UIImage+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+YYAdd.m"; sourceTree = "<group>"; };
701C256B1F755A1B009B6AD1 /* UIScreen+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIScreen+YYAdd.h"; sourceTree = "<group>"; };
701C256C1F755A1B009B6AD1 /* UIScreen+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIScreen+YYAdd.m"; sourceTree = "<group>"; };
701C256D1F755A1B009B6AD1 /* UIScrollView+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIScrollView+YYAdd.h"; sourceTree = "<group>"; };
701C256E1F755A1B009B6AD1 /* UIScrollView+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIScrollView+YYAdd.m"; sourceTree = "<group>"; };
701C256F1F755A1B009B6AD1 /* UITableView+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITableView+YYAdd.h"; sourceTree = "<group>"; };
701C25701F755A1B009B6AD1 /* UITableView+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITableView+YYAdd.m"; sourceTree = "<group>"; };
701C25711F755A1B009B6AD1 /* UITextField+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITextField+YYAdd.h"; sourceTree = "<group>"; };
701C25721F755A1B009B6AD1 /* UITextField+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITextField+YYAdd.m"; sourceTree = "<group>"; };
701C25731F755A1B009B6AD1 /* UIView+YYAdd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+YYAdd.h"; sourceTree = "<group>"; };
701C25741F755A1B009B6AD1 /* UIView+YYAdd.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+YYAdd.m"; sourceTree = "<group>"; };
701C25751F755A1B009B6AD1 /* YYKitMacro.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYKitMacro.h; sourceTree = "<group>"; };
701C25771F755A1B009B6AD1 /* YYCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYCache.h; sourceTree = "<group>"; };
701C25781F755A1B009B6AD1 /* YYCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYCache.m; sourceTree = "<group>"; };
701C25791F755A1B009B6AD1 /* YYDiskCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYDiskCache.h; sourceTree = "<group>"; };
701C257A1F755A1B009B6AD1 /* YYDiskCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYDiskCache.m; sourceTree = "<group>"; };
701C257B1F755A1B009B6AD1 /* YYKVStorage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYKVStorage.h; sourceTree = "<group>"; };
701C257C1F755A1B009B6AD1 /* YYKVStorage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYKVStorage.m; sourceTree = "<group>"; };
701C257D1F755A1B009B6AD1 /* YYMemoryCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYMemoryCache.h; sourceTree = "<group>"; };
701C257E1F755A1B009B6AD1 /* YYMemoryCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYMemoryCache.m; sourceTree = "<group>"; };
701C25811F755A1B009B6AD1 /* _YYWebImageSetter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _YYWebImageSetter.h; sourceTree = "<group>"; };
701C25821F755A1B009B6AD1 /* _YYWebImageSetter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = _YYWebImageSetter.m; sourceTree = "<group>"; };
701C25831F755A1B009B6AD1 /* CALayer+YYWebImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CALayer+YYWebImage.h"; sourceTree = "<group>"; };
701C25841F755A1B009B6AD1 /* CALayer+YYWebImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "CALayer+YYWebImage.m"; sourceTree = "<group>"; };
701C25851F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MKAnnotationView+YYWebImage.h"; sourceTree = "<group>"; };
701C25861F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MKAnnotationView+YYWebImage.m"; sourceTree = "<group>"; };
701C25871F755A1B009B6AD1 /* UIButton+YYWebImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+YYWebImage.h"; sourceTree = "<group>"; };
701C25881F755A1B009B6AD1 /* UIButton+YYWebImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+YYWebImage.m"; sourceTree = "<group>"; };
701C25891F755A1B009B6AD1 /* UIImageView+YYWebImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+YYWebImage.h"; sourceTree = "<group>"; };
701C258A1F755A1B009B6AD1 /* UIImageView+YYWebImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+YYWebImage.m"; sourceTree = "<group>"; };
701C258B1F755A1B009B6AD1 /* YYAnimatedImageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYAnimatedImageView.h; sourceTree = "<group>"; };
701C258C1F755A1B009B6AD1 /* YYAnimatedImageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYAnimatedImageView.m; sourceTree = "<group>"; };
701C258D1F755A1B009B6AD1 /* YYFrameImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYFrameImage.h; sourceTree = "<group>"; };
701C258E1F755A1B009B6AD1 /* YYFrameImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYFrameImage.m; sourceTree = "<group>"; };
701C258F1F755A1B009B6AD1 /* YYImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYImage.h; sourceTree = "<group>"; };
701C25901F755A1B009B6AD1 /* YYImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYImage.m; sourceTree = "<group>"; };
701C25911F755A1B009B6AD1 /* YYImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYImageCache.h; sourceTree = "<group>"; };
701C25921F755A1B009B6AD1 /* YYImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYImageCache.m; sourceTree = "<group>"; };
701C25931F755A1B009B6AD1 /* YYImageCoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYImageCoder.h; sourceTree = "<group>"; };
701C25941F755A1B009B6AD1 /* YYImageCoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYImageCoder.m; sourceTree = "<group>"; };
701C25951F755A1B009B6AD1 /* YYSpriteSheetImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYSpriteSheetImage.h; sourceTree = "<group>"; };
701C25961F755A1B009B6AD1 /* YYSpriteSheetImage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYSpriteSheetImage.m; sourceTree = "<group>"; };
701C25971F755A1B009B6AD1 /* YYWebImageManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYWebImageManager.h; sourceTree = "<group>"; };
701C25981F755A1B009B6AD1 /* YYWebImageManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYWebImageManager.m; sourceTree = "<group>"; };
701C25991F755A1B009B6AD1 /* YYWebImageOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYWebImageOperation.h; sourceTree = "<group>"; };
701C259A1F755A1B009B6AD1 /* YYWebImageOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYWebImageOperation.m; sourceTree = "<group>"; };
701C259C1F755A1B009B6AD1 /* NSObject+YYModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+YYModel.h"; sourceTree = "<group>"; };
701C259D1F755A1B009B6AD1 /* NSObject+YYModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+YYModel.m"; sourceTree = "<group>"; };
701C259E1F755A1B009B6AD1 /* YYClassInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYClassInfo.h; sourceTree = "<group>"; };
701C259F1F755A1B009B6AD1 /* YYClassInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYClassInfo.m; sourceTree = "<group>"; };
701C25A21F755A1B009B6AD1 /* YYTextContainerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextContainerView.h; sourceTree = "<group>"; };
701C25A31F755A1B009B6AD1 /* YYTextContainerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextContainerView.m; sourceTree = "<group>"; };
701C25A41F755A1B009B6AD1 /* YYTextDebugOption.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextDebugOption.h; sourceTree = "<group>"; };
701C25A51F755A1B009B6AD1 /* YYTextDebugOption.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextDebugOption.m; sourceTree = "<group>"; };
701C25A61F755A1B009B6AD1 /* YYTextEffectWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextEffectWindow.h; sourceTree = "<group>"; };
701C25A71F755A1B009B6AD1 /* YYTextEffectWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextEffectWindow.m; sourceTree = "<group>"; };
701C25A81F755A1B009B6AD1 /* YYTextInput.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextInput.h; sourceTree = "<group>"; };
701C25A91F755A1B009B6AD1 /* YYTextInput.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextInput.m; sourceTree = "<group>"; };
701C25AA1F755A1B009B6AD1 /* YYTextKeyboardManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextKeyboardManager.h; sourceTree = "<group>"; };
701C25AB1F755A1B009B6AD1 /* YYTextKeyboardManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextKeyboardManager.m; sourceTree = "<group>"; };
701C25AC1F755A1B009B6AD1 /* YYTextLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextLayout.h; sourceTree = "<group>"; };
701C25AD1F755A1B009B6AD1 /* YYTextLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextLayout.m; sourceTree = "<group>"; };
701C25AE1F755A1B009B6AD1 /* YYTextLine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextLine.h; sourceTree = "<group>"; };
701C25AF1F755A1B009B6AD1 /* YYTextLine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextLine.m; sourceTree = "<group>"; };
701C25B01F755A1B009B6AD1 /* YYTextMagnifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextMagnifier.h; sourceTree = "<group>"; };
701C25B11F755A1B009B6AD1 /* YYTextMagnifier.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextMagnifier.m; sourceTree = "<group>"; };
701C25B21F755A1B009B6AD1 /* YYTextSelectionView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextSelectionView.h; sourceTree = "<group>"; };
701C25B31F755A1B009B6AD1 /* YYTextSelectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextSelectionView.m; sourceTree = "<group>"; };
701C25B51F755A1B009B6AD1 /* NSAttributedString+YYText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSAttributedString+YYText.h"; sourceTree = "<group>"; };
701C25B61F755A1B009B6AD1 /* NSAttributedString+YYText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSAttributedString+YYText.m"; sourceTree = "<group>"; };
701C25B71F755A1B009B6AD1 /* NSParagraphStyle+YYText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSParagraphStyle+YYText.h"; sourceTree = "<group>"; };
701C25B81F755A1B009B6AD1 /* NSParagraphStyle+YYText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSParagraphStyle+YYText.m"; sourceTree = "<group>"; };
701C25B91F755A1B009B6AD1 /* UIPasteboard+YYText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIPasteboard+YYText.h"; sourceTree = "<group>"; };
701C25BA1F755A1B009B6AD1 /* UIPasteboard+YYText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIPasteboard+YYText.m"; sourceTree = "<group>"; };
701C25BB1F755A1B009B6AD1 /* YYTextArchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextArchiver.h; sourceTree = "<group>"; };
701C25BC1F755A1B009B6AD1 /* YYTextArchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextArchiver.m; sourceTree = "<group>"; };
701C25BD1F755A1B009B6AD1 /* YYTextAttribute.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextAttribute.h; sourceTree = "<group>"; };
701C25BE1F755A1B009B6AD1 /* YYTextAttribute.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextAttribute.m; sourceTree = "<group>"; };
701C25BF1F755A1B009B6AD1 /* YYTextParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextParser.h; sourceTree = "<group>"; };
701C25C01F755A1B009B6AD1 /* YYTextParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextParser.m; sourceTree = "<group>"; };
701C25C11F755A1B009B6AD1 /* YYTextRubyAnnotation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextRubyAnnotation.h; sourceTree = "<group>"; };
701C25C21F755A1B009B6AD1 /* YYTextRubyAnnotation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextRubyAnnotation.m; sourceTree = "<group>"; };
701C25C31F755A1B009B6AD1 /* YYTextRunDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextRunDelegate.h; sourceTree = "<group>"; };
701C25C41F755A1B009B6AD1 /* YYTextRunDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextRunDelegate.m; sourceTree = "<group>"; };
701C25C51F755A1B009B6AD1 /* YYTextUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextUtilities.h; sourceTree = "<group>"; };
701C25C61F755A1B009B6AD1 /* YYTextUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextUtilities.m; sourceTree = "<group>"; };
701C25C71F755A1B009B6AD1 /* YYFPSLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYFPSLabel.h; sourceTree = "<group>"; };
701C25C81F755A1B009B6AD1 /* YYFPSLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYFPSLabel.m; sourceTree = "<group>"; };
701C25C91F755A1B009B6AD1 /* YYLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYLabel.h; sourceTree = "<group>"; };
701C25CA1F755A1B009B6AD1 /* YYLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYLabel.m; sourceTree = "<group>"; };
701C25CB1F755A1B009B6AD1 /* YYTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTextView.h; sourceTree = "<group>"; };
701C25CC1F755A1B009B6AD1 /* YYTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTextView.m; sourceTree = "<group>"; };
701C25CE1F755A1B009B6AD1 /* YYAsyncLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYAsyncLayer.h; sourceTree = "<group>"; };
701C25CF1F755A1B009B6AD1 /* YYAsyncLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYAsyncLayer.m; sourceTree = "<group>"; };
701C25D01F755A1B009B6AD1 /* YYDispatchQueuePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYDispatchQueuePool.h; sourceTree = "<group>"; };
701C25D11F755A1B009B6AD1 /* YYDispatchQueuePool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYDispatchQueuePool.m; sourceTree = "<group>"; };
701C25D21F755A1B009B6AD1 /* YYFileHash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYFileHash.h; sourceTree = "<group>"; };
701C25D31F755A1B009B6AD1 /* YYFileHash.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYFileHash.m; sourceTree = "<group>"; };
701C25D41F755A1B009B6AD1 /* YYGestureRecognizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYGestureRecognizer.h; sourceTree = "<group>"; };
701C25D51F755A1B009B6AD1 /* YYGestureRecognizer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYGestureRecognizer.m; sourceTree = "<group>"; };
701C25D61F755A1B009B6AD1 /* YYKeychain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYKeychain.h; sourceTree = "<group>"; };
701C25D71F755A1B009B6AD1 /* YYKeychain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYKeychain.m; sourceTree = "<group>"; };
701C25D81F755A1B009B6AD1 /* YYReachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYReachability.h; sourceTree = "<group>"; };
701C25D91F755A1B009B6AD1 /* YYReachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYReachability.m; sourceTree = "<group>"; };
701C25DA1F755A1B009B6AD1 /* YYSentinel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYSentinel.h; sourceTree = "<group>"; };
701C25DB1F755A1B009B6AD1 /* YYSentinel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYSentinel.m; sourceTree = "<group>"; };
701C25DC1F755A1B009B6AD1 /* YYThreadSafeArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYThreadSafeArray.h; sourceTree = "<group>"; };
701C25DD1F755A1B009B6AD1 /* YYThreadSafeArray.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYThreadSafeArray.m; sourceTree = "<group>"; };
701C25DE1F755A1B009B6AD1 /* YYThreadSafeDictionary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYThreadSafeDictionary.h; sourceTree = "<group>"; };
701C25DF1F755A1B009B6AD1 /* YYThreadSafeDictionary.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYThreadSafeDictionary.m; sourceTree = "<group>"; };
701C25E01F755A1B009B6AD1 /* YYTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTimer.h; sourceTree = "<group>"; };
701C25E11F755A1B009B6AD1 /* YYTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTimer.m; sourceTree = "<group>"; };
701C25E21F755A1B009B6AD1 /* YYTransaction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYTransaction.h; sourceTree = "<group>"; };
701C25E31F755A1B009B6AD1 /* YYTransaction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYTransaction.m; sourceTree = "<group>"; };
701C25E41F755A1B009B6AD1 /* YYWeakProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYWeakProxy.h; sourceTree = "<group>"; };
701C25E51F755A1B009B6AD1 /* YYWeakProxy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YYWeakProxy.m; sourceTree = "<group>"; };
701C25E61F755A1B009B6AD1 /* YYKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YYKit.h; sourceTree = "<group>"; };
701C263A1F755D9D009B6AD1 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; };
701C263C1F755DF7009B6AD1 /* CoreImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreImage.framework; path = System/Library/Frameworks/CoreImage.framework; sourceTree = SDKROOT; };
701C263E1F755E02009B6AD1 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
701C26401F755E09009B6AD1 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
701C26421F755E12009B6AD1 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
701C26441F755E18009B6AD1 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; };
701C26461F755E1F009B6AD1 /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; };
701C26481F755E25009B6AD1 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
701C264A1F755E2F009B6AD1 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
701C264C1F755E35009B6AD1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
701C264E1F755E3E009B6AD1 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
70202E7C20202066001E73DD /* resource.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = resource.xcassets; sourceTree = "<group>"; };
70202E7F20202066001E73DD /* WMPhotoBrowser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMPhotoBrowser.h; sourceTree = "<group>"; };
70202E8020202066001E73DD /* WMPhotoBrowser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMPhotoBrowser.m; sourceTree = "<group>"; };
70202E8120202066001E73DD /* WMPhotoBrowserCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMPhotoBrowserCell.h; sourceTree = "<group>"; };
70202E8220202066001E73DD /* WMPhotoBrowserCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMPhotoBrowserCell.m; sourceTree = "<group>"; };
705EEE291F6C49AE00566255 /* UILabel+TapAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UILabel+TapAction.h"; sourceTree = "<group>"; };
705EEE2A1F6C49AE00566255 /* UILabel+TapAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UILabel+TapAction.m"; sourceTree = "<group>"; };
70B5BE391D0472B7003A7CF2 /* 0.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 0.jpg; sourceTree = "<group>"; };
70B5BE3A1D0472B7003A7CF2 /* 1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 1.jpg; sourceTree = "<group>"; };
70B5BE3B1D0472B7003A7CF2 /* 10.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 10.jpg; sourceTree = "<group>"; };
70B5BE3C1D0472B7003A7CF2 /* 11.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 11.jpg; sourceTree = "<group>"; };
70B5BE3D1D0472B7003A7CF2 /* 12.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 12.jpg; sourceTree = "<group>"; };
70B5BE3E1D0472B7003A7CF2 /* 13.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 13.jpg; sourceTree = "<group>"; };
70B5BE3F1D0472B7003A7CF2 /* 14.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 14.jpg; sourceTree = "<group>"; };
70B5BE401D0472B7003A7CF2 /* 15.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 15.jpg; sourceTree = "<group>"; };
70B5BE411D0472B7003A7CF2 /* 16.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 16.jpg; sourceTree = "<group>"; };
70B5BE421D0472B7003A7CF2 /* 17.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 17.jpg; sourceTree = "<group>"; };
70B5BE431D0472B7003A7CF2 /* 18.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 18.jpg; sourceTree = "<group>"; };
70B5BE441D0472B7003A7CF2 /* 19.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 19.jpg; sourceTree = "<group>"; };
70B5BE451D0472B7003A7CF2 /* 2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 2.jpg; sourceTree = "<group>"; };
70B5BE461D0472B7003A7CF2 /* 20.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 20.jpg; sourceTree = "<group>"; };
70B5BE471D0472B7003A7CF2 /* 21.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 21.jpg; sourceTree = "<group>"; };
70B5BE481D0472B7003A7CF2 /* 22.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 22.jpg; sourceTree = "<group>"; };
70B5BE491D0472B7003A7CF2 /* 23.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 23.jpg; sourceTree = "<group>"; };
70B5BE4A1D0472B7003A7CF2 /* 3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 3.jpg; sourceTree = "<group>"; };
70B5BE4B1D0472B7003A7CF2 /* 4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 4.jpg; sourceTree = "<group>"; };
70B5BE4C1D0472B7003A7CF2 /* 5.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 5.jpg; sourceTree = "<group>"; };
70B5BE4D1D0472B7003A7CF2 /* 6.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 6.jpg; sourceTree = "<group>"; };
70B5BE4E1D0472B7003A7CF2 /* 7.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 7.jpg; sourceTree = "<group>"; };
70B5BE4F1D0472B7003A7CF2 /* 8.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 8.jpg; sourceTree = "<group>"; };
70B5BE501D0472B7003A7CF2 /* 9.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 9.jpg; sourceTree = "<group>"; };
70B5BE511D0472B7003A7CF2 /* icon0.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = icon0.jpg; sourceTree = "<group>"; };
70B5BE521D0472B7003A7CF2 /* icon1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = icon1.jpg; sourceTree = "<group>"; };
70B5BE531D0472B7003A7CF2 /* icon2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = icon2.jpg; sourceTree = "<group>"; };
70B5BE541D0472B7003A7CF2 /* icon3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = icon3.jpg; sourceTree = "<group>"; };
70B5BE551D0472B7003A7CF2 /* icon4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = icon4.jpg; sourceTree = "<group>"; };
70B5BE561D0472B7003A7CF2 /* Contacts.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Contacts.xcassets; sourceTree = "<group>"; };
70B5BE571D0472B7003A7CF2 /* Discover.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Discover.xcassets; sourceTree = "<group>"; };
70B5BE581D0472B7003A7CF2 /* Home.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Home.xcassets; sourceTree = "<group>"; };
70B5BE5A1D0472B7003A7CF2 /* Me.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Me.xcassets; sourceTree = "<group>"; };
70B5BE5C1D0472B7003A7CF2 /* test0.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test0.jpg; sourceTree = "<group>"; };
70B5BE5D1D0472B7003A7CF2 /* test1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test1.jpg; sourceTree = "<group>"; };
70B5BE5E1D0472B7003A7CF2 /* test2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test2.jpg; sourceTree = "<group>"; };
70B5BE5F1D0472B7003A7CF2 /* test3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test3.jpg; sourceTree = "<group>"; };
70B5BE601D0472B7003A7CF2 /* test4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = test4.jpg; sourceTree = "<group>"; };
70B5BE621D0472B7003A7CF2 /* pbg.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pbg.jpg; sourceTree = "<group>"; };
70B5BE631D0472B7003A7CF2 /* pic0.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic0.jpg; sourceTree = "<group>"; };
70B5BE641D0472B7003A7CF2 /* pic1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic1.jpg; sourceTree = "<group>"; };
70B5BE651D0472B7003A7CF2 /* pic2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic2.jpg; sourceTree = "<group>"; };
70B5BE661D0472B7003A7CF2 /* pic3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic3.jpg; sourceTree = "<group>"; };
70B5BE671D0472B7003A7CF2 /* pic4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic4.jpg; sourceTree = "<group>"; };
70B5BE681D0472B7003A7CF2 /* pic5.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic5.jpg; sourceTree = "<group>"; };
70B5BE691D0472B7003A7CF2 /* pic6.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic6.jpg; sourceTree = "<group>"; };
70B5BE6A1D0472B7003A7CF2 /* pic7.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic7.jpg; sourceTree = "<group>"; };
70B5BE6B1D0472B7003A7CF2 /* pic8.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = pic8.jpg; sourceTree = "<group>"; };
70B5BE6C1D0472B7003A7CF2 /* picon.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = picon.jpg; sourceTree = "<group>"; };
70BB72661D02A8A70003B379 /* WeChat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WeChat.app; sourceTree = BUILT_PRODUCTS_DIR; };
70BB726A1D02A8A70003B379 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
70BB726C1D02A8A70003B379 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
70BB726D1D02A8A70003B379 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
70BB72751D02A8A70003B379 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
70BB727A1D02A8A70003B379 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
70BB72851D02A93D0003B379 /* MASCompositeConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASCompositeConstraint.h; sourceTree = "<group>"; };
70BB72861D02A93D0003B379 /* MASCompositeConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MASCompositeConstraint.m; sourceTree = "<group>"; };
70BB72871D02A93D0003B379 /* MASConstraint+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MASConstraint+Private.h"; sourceTree = "<group>"; };
70BB72881D02A93D0003B379 /* MASConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASConstraint.h; sourceTree = "<group>"; };
70BB72891D02A93D0003B379 /* MASConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MASConstraint.m; sourceTree = "<group>"; };
70BB728A1D02A93D0003B379 /* MASConstraintMaker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASConstraintMaker.h; sourceTree = "<group>"; };
70BB728B1D02A93D0003B379 /* MASConstraintMaker.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MASConstraintMaker.m; sourceTree = "<group>"; };
70BB728C1D02A93D0003B379 /* MASLayoutConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASLayoutConstraint.h; sourceTree = "<group>"; };
70BB728D1D02A93D0003B379 /* MASLayoutConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MASLayoutConstraint.m; sourceTree = "<group>"; };
70BB728E1D02A93D0003B379 /* Masonry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Masonry.h; sourceTree = "<group>"; };
70BB728F1D02A93D0003B379 /* MASUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASUtilities.h; sourceTree = "<group>"; };
70BB72901D02A93D0003B379 /* MASViewAttribute.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASViewAttribute.h; sourceTree = "<group>"; };
70BB72911D02A93D0003B379 /* MASViewAttribute.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MASViewAttribute.m; sourceTree = "<group>"; };
70BB72921D02A93D0003B379 /* MASViewConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MASViewConstraint.h; sourceTree = "<group>"; };
70BB72931D02A93D0003B379 /* MASViewConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MASViewConstraint.m; sourceTree = "<group>"; };
70BB72941D02A93D0003B379 /* NSArray+MASAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+MASAdditions.h"; sourceTree = "<group>"; };
70BB72951D02A93D0003B379 /* NSArray+MASAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+MASAdditions.m"; sourceTree = "<group>"; };
70BB72961D02A93D0003B379 /* NSArray+MASShorthandAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+MASShorthandAdditions.h"; sourceTree = "<group>"; };
70BB72971D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSLayoutConstraint+MASDebugAdditions.h"; sourceTree = "<group>"; };
70BB72981D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSLayoutConstraint+MASDebugAdditions.m"; sourceTree = "<group>"; };
70BB72991D02A93D0003B379 /* View+MASAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "View+MASAdditions.h"; sourceTree = "<group>"; };
70BB729A1D02A93D0003B379 /* View+MASAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "View+MASAdditions.m"; sourceTree = "<group>"; };
70BB729B1D02A93D0003B379 /* View+MASShorthandAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "View+MASShorthandAdditions.h"; sourceTree = "<group>"; };
70BB729D1D02A93D0003B379 /* MBProgressHUD+Show.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MBProgressHUD+Show.h"; sourceTree = "<group>"; };
70BB729E1D02A93D0003B379 /* MBProgressHUD+Show.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MBProgressHUD+Show.m"; sourceTree = "<group>"; };
70BB729F1D02A93D0003B379 /* MBProgressHUD.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = MBProgressHUD.bundle; sourceTree = "<group>"; };
70BB72A01D02A93D0003B379 /* MBProgressHUD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MBProgressHUD.h; sourceTree = "<group>"; };
70BB72A11D02A93D0003B379 /* MBProgressHUD.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MBProgressHUD.m; sourceTree = "<group>"; };
70BB72A41D02A93D0003B379 /* MJRefreshAutoFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoFooter.h; sourceTree = "<group>"; };
70BB72A51D02A93D0003B379 /* MJRefreshAutoFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoFooter.m; sourceTree = "<group>"; };
70BB72A61D02A93D0003B379 /* MJRefreshBackFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackFooter.h; sourceTree = "<group>"; };
70BB72A71D02A93D0003B379 /* MJRefreshBackFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackFooter.m; sourceTree = "<group>"; };
70BB72A81D02A93D0003B379 /* MJRefreshComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshComponent.h; sourceTree = "<group>"; };
70BB72A91D02A93D0003B379 /* MJRefreshComponent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshComponent.m; sourceTree = "<group>"; };
70BB72AA1D02A93D0003B379 /* MJRefreshFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshFooter.h; sourceTree = "<group>"; };
70BB72AB1D02A93D0003B379 /* MJRefreshFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshFooter.m; sourceTree = "<group>"; };
70BB72AC1D02A93D0003B379 /* MJRefreshHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshHeader.h; sourceTree = "<group>"; };
70BB72AD1D02A93D0003B379 /* MJRefreshHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshHeader.m; sourceTree = "<group>"; };
70BB72B11D02A93D0003B379 /* MJRefreshAutoGifFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoGifFooter.h; sourceTree = "<group>"; };
70BB72B21D02A93D0003B379 /* MJRefreshAutoGifFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoGifFooter.m; sourceTree = "<group>"; };
70BB72B31D02A93D0003B379 /* MJRefreshAutoNormalFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoNormalFooter.h; sourceTree = "<group>"; };
70BB72B41D02A93D0003B379 /* MJRefreshAutoNormalFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoNormalFooter.m; sourceTree = "<group>"; };
70BB72B51D02A93D0003B379 /* MJRefreshAutoStateFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshAutoStateFooter.h; sourceTree = "<group>"; };
70BB72B61D02A93D0003B379 /* MJRefreshAutoStateFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshAutoStateFooter.m; sourceTree = "<group>"; };
70BB72B81D02A93D0003B379 /* MJRefreshBackGifFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackGifFooter.h; sourceTree = "<group>"; };
70BB72B91D02A93D0003B379 /* MJRefreshBackGifFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackGifFooter.m; sourceTree = "<group>"; };
70BB72BA1D02A93D0003B379 /* MJRefreshBackNormalFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackNormalFooter.h; sourceTree = "<group>"; };
70BB72BB1D02A93D0003B379 /* MJRefreshBackNormalFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackNormalFooter.m; sourceTree = "<group>"; };
70BB72BC1D02A93D0003B379 /* MJRefreshBackStateFooter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshBackStateFooter.h; sourceTree = "<group>"; };
70BB72BD1D02A93D0003B379 /* MJRefreshBackStateFooter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshBackStateFooter.m; sourceTree = "<group>"; };
70BB72BF1D02A93D0003B379 /* MJRefreshGifHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshGifHeader.h; sourceTree = "<group>"; };
70BB72C01D02A93D0003B379 /* MJRefreshGifHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshGifHeader.m; sourceTree = "<group>"; };
70BB72C11D02A93D0003B379 /* MJRefreshNormalHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshNormalHeader.h; sourceTree = "<group>"; };
70BB72C21D02A93D0003B379 /* MJRefreshNormalHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshNormalHeader.m; sourceTree = "<group>"; };
70BB72C31D02A93D0003B379 /* MJRefreshStateHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshStateHeader.h; sourceTree = "<group>"; };
70BB72C41D02A93D0003B379 /* MJRefreshStateHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshStateHeader.m; sourceTree = "<group>"; };
70BB72C51D02A93D0003B379 /* MJRefresh.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = MJRefresh.bundle; sourceTree = "<group>"; };
70BB72C61D02A93D0003B379 /* MJRefresh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefresh.h; sourceTree = "<group>"; };
70BB72C71D02A93D0003B379 /* MJRefreshConst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MJRefreshConst.h; sourceTree = "<group>"; };
70BB72C81D02A93D0003B379 /* MJRefreshConst.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MJRefreshConst.m; sourceTree = "<group>"; };
70BB72C91D02A93D0003B379 /* UIScrollView+MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIScrollView+MJExtension.h"; sourceTree = "<group>"; };
70BB72CA1D02A93D0003B379 /* UIScrollView+MJExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIScrollView+MJExtension.m"; sourceTree = "<group>"; };
70BB72CB1D02A93D0003B379 /* UIScrollView+MJRefresh.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIScrollView+MJRefresh.h"; sourceTree = "<group>"; };
70BB72CC1D02A93D0003B379 /* UIScrollView+MJRefresh.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIScrollView+MJRefresh.m"; sourceTree = "<group>"; };
70BB72CD1D02A93D0003B379 /* UIView+MJExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+MJExtension.h"; sourceTree = "<group>"; };
70BB72CE1D02A93D0003B379 /* UIView+MJExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+MJExtension.m"; sourceTree = "<group>"; };
70BB72D01D02A93D0003B379 /* NSData+ImageContentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+ImageContentType.h"; sourceTree = "<group>"; };
70BB72D11D02A93D0003B379 /* NSData+ImageContentType.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+ImageContentType.m"; sourceTree = "<group>"; };
70BB72D21D02A93D0003B379 /* SDImageCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDImageCache.h; sourceTree = "<group>"; };
70BB72D31D02A93D0003B379 /* SDImageCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDImageCache.m; sourceTree = "<group>"; };
70BB72D41D02A93D0003B379 /* SDWebImageCompat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageCompat.h; sourceTree = "<group>"; };
70BB72D51D02A93D0003B379 /* SDWebImageCompat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageCompat.m; sourceTree = "<group>"; };
70BB72D61D02A93D0003B379 /* SDWebImageDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDecoder.h; sourceTree = "<group>"; };
70BB72D71D02A93D0003B379 /* SDWebImageDecoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDecoder.m; sourceTree = "<group>"; };
70BB72D81D02A93D0003B379 /* SDWebImageDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloader.h; sourceTree = "<group>"; };
70BB72D91D02A93D0003B379 /* SDWebImageDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloader.m; sourceTree = "<group>"; };
70BB72DA1D02A93D0003B379 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloaderOperation.h; sourceTree = "<group>"; };
70BB72DB1D02A93D0003B379 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloaderOperation.m; sourceTree = "<group>"; };
70BB72DC1D02A93D0003B379 /* SDWebImageManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageManager.h; sourceTree = "<group>"; };
70BB72DD1D02A93D0003B379 /* SDWebImageManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageManager.m; sourceTree = "<group>"; };
70BB72DE1D02A93D0003B379 /* SDWebImageOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageOperation.h; sourceTree = "<group>"; };
70BB72DF1D02A93D0003B379 /* SDWebImagePrefetcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImagePrefetcher.h; sourceTree = "<group>"; };
70BB72E01D02A93D0003B379 /* SDWebImagePrefetcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImagePrefetcher.m; sourceTree = "<group>"; };
70BB72E11D02A93D0003B379 /* UIButton+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+WebCache.h"; sourceTree = "<group>"; };
70BB72E21D02A93D0003B379 /* UIButton+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIButton+WebCache.m"; sourceTree = "<group>"; };
70BB72E31D02A93D0003B379 /* UIImage+GIF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+GIF.h"; sourceTree = "<group>"; };
70BB72E41D02A93D0003B379 /* UIImage+GIF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+GIF.m"; sourceTree = "<group>"; };
70BB72E51D02A93D0003B379 /* UIImage+MultiFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+MultiFormat.h"; sourceTree = "<group>"; };
70BB72E61D02A93D0003B379 /* UIImage+MultiFormat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+MultiFormat.m"; sourceTree = "<group>"; };
70BB72E71D02A93D0003B379 /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+HighlightedWebCache.h"; sourceTree = "<group>"; };
70BB72E81D02A93D0003B379 /* UIImageView+HighlightedWebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+HighlightedWebCache.m"; sourceTree = "<group>"; };
70BB72E91D02A93D0003B379 /* UIImageView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+WebCache.h"; sourceTree = "<group>"; };
70BB72EA1D02A93D0003B379 /* UIImageView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+WebCache.m"; sourceTree = "<group>"; };
70BB72EB1D02A93D0003B379 /* UIView+WebCacheOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+WebCacheOperation.h"; sourceTree = "<group>"; };
70BB72EC1D02A93D0003B379 /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WebCacheOperation.m"; sourceTree = "<group>"; };
70BB731A1D02A95E0003B379 /* WeChat.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WeChat.pch; sourceTree = "<group>"; };
70BB73281D02AC550003B379 /* data.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = data.json; sourceTree = "<group>"; };
70D6FE98243C1F2C005C3727 /* UIView+WMFrame.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIView+WMFrame.m"; sourceTree = "<group>"; };
70D6FE99243C1F2C005C3727 /* UIViewController+WMExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIViewController+WMExtension.h"; sourceTree = "<group>"; };
70D6FE9A243C1F2C005C3727 /* UIView+WMFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+WMFrame.h"; sourceTree = "<group>"; };
70D6FE9B243C1F2C005C3727 /* UIViewController+WMExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+WMExtension.m"; sourceTree = "<group>"; };
70D6FE9E243C1F39005C3727 /* WMCollectionViewFlowLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMCollectionViewFlowLayout.m; sourceTree = "<group>"; };
70D6FE9F243C1F39005C3727 /* WMCollectionViewFlowLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMCollectionViewFlowLayout.h; sourceTree = "<group>"; };
70D6FEBB243C835D005C3727 /* MeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MeViewController.h; sourceTree = "<group>"; };
70D6FEBC243C835D005C3727 /* MeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MeViewController.m; sourceTree = "<group>"; };
70D6FEC0243C835D005C3727 /* DiscoverViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiscoverViewController.h; sourceTree = "<group>"; };
70D6FEC1243C835D005C3727 /* DiscoverViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DiscoverViewController.m; sourceTree = "<group>"; };
70D6FEDA243C835E005C3727 /* WMSearchController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WMSearchController.h; sourceTree = "<group>"; };
70D6FEDB243C835E005C3727 /* ContactsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ContactsViewController.h; sourceTree = "<group>"; };
70D6FEDC243C835E005C3727 /* AddressBookCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AddressBookCell.h; sourceTree = "<group>"; };
70D6FEDD243C835E005C3727 /* SearchResultViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SearchResultViewController.m; sourceTree = "<group>"; };
70D6FEDE243C835E005C3727 /* WMSearchController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WMSearchController.m; sourceTree = "<group>"; };
70D6FEDF243C835E005C3727 /* ContactsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ContactsViewController.m; sourceTree = "<group>"; };
70D6FEE0243C835E005C3727 /* AddressBookCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AddressBookCell.m; sourceTree = "<group>"; };
70D6FEE1243C835E005C3727 /* SearchResultViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchResultViewController.h; sourceTree = "<group>"; };
70D6FEE2243C835E005C3727 /* AddressBookCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = AddressBookCell.xib; sourceTree = "<group>"; };
70D6FEE5243C835E005C3727 /* BaseViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseViewController.m; sourceTree = "<group>"; };
70D6FEE6243C835E005C3727 /* BaseNavigationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseNavigationController.m; sourceTree = "<group>"; };
70D6FEE7243C835E005C3727 /* BaseNavigationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseNavigationController.h; sourceTree = "<group>"; };
70D6FEE8243C835E005C3727 /* BaseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseViewController.h; sourceTree = "<group>"; };
70D6FEEA243C835E005C3727 /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = "<group>"; };
70D6FEEB243C835E005C3727 /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = "<group>"; };
70D6FF0A243C83F7005C3727 /* PersonCenterCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PersonCenterCell.h; sourceTree = "<group>"; };
70D6FF0B243C83F7005C3727 /* PersonCenterHeaderCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PersonCenterHeaderCell.h; sourceTree = "<group>"; };
70D6FF0C243C83F7005C3727 /* PersonCenterCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PersonCenterCell.m; sourceTree = "<group>"; };
70D6FF0D243C83F7005C3727 /* PersonCenterHeaderCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PersonCenterHeaderCell.m; sourceTree = "<group>"; };
70D6FF0E243C83F8005C3727 /* PersonCenterHeaderCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PersonCenterHeaderCell.xib; sourceTree = "<group>"; };
70D6FF0F243C83F8005C3727 /* PersonCenterCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PersonCenterCell.xib; sourceTree = "<group>"; };
70D6FF17243EC752005C3727 /* RootTabBarController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RootTabBarController.m; sourceTree = "<group>"; };
70D6FF18243EC752005C3727 /* RootTabBarController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RootTabBarController.h; sourceTree = "<group>"; };
70F4B0CE1D0515CF0002924F /* WeChat.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = WeChat.gif; sourceTree = "<group>"; };
70FFC1D01D44F2D000FCE22F /* ChineseToPinyinResource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChineseToPinyinResource.h; sourceTree = "<group>"; };
70FFC1D11D44F2D000FCE22F /* ChineseToPinyinResource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChineseToPinyinResource.m; sourceTree = "<group>"; };
70FFC1D21D44F2D000FCE22F /* HanyuPinyinOutputFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HanyuPinyinOutputFormat.h; sourceTree = "<group>"; };
70FFC1D31D44F2D000FCE22F /* HanyuPinyinOutputFormat.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HanyuPinyinOutputFormat.m; sourceTree = "<group>"; };
70FFC1D41D44F2D000FCE22F /* NSString+PinYin4Cocoa.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+PinYin4Cocoa.h"; sourceTree = "<group>"; };
70FFC1D51D44F2D000FCE22F /* NSString+PinYin4Cocoa.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+PinYin4Cocoa.m"; sourceTree = "<group>"; };
70FFC1D61D44F2D000FCE22F /* PinYin4Objc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PinYin4Objc.h; sourceTree = "<group>"; };
70FFC1D71D44F2D000FCE22F /* PinyinFormatter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PinyinFormatter.h; sourceTree = "<group>"; };
70FFC1D81D44F2D000FCE22F /* PinyinFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PinyinFormatter.m; sourceTree = "<group>"; };
70FFC1D91D44F2D000FCE22F /* PinyinHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PinyinHelper.h; sourceTree = "<group>"; };
70FFC1DA1D44F2D000FCE22F /* PinyinHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PinyinHelper.m; sourceTree = "<group>"; };
70FFC1DC1D44F2D000FCE22F /* unicode_to_hanyu_pinyin.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = unicode_to_hanyu_pinyin.txt; sourceTree = "<group>"; };
70FFC1E31D44FB0200FCE22F /* AddressBook.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = AddressBook.json; sourceTree = "<group>"; };
BF11A1C71DD5B22E00024BBE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
70BB72631D02A8A70003B379 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
701C264F1F755E3E009B6AD1 /* libz.tbd in Frameworks */,
701C264D1F755E35009B6AD1 /* SystemConfiguration.framework in Frameworks */,
701C264B1F755E2F009B6AD1 /* MobileCoreServices.framework in Frameworks */,
701C26491F755E25009B6AD1 /* Accelerate.framework in Frameworks */,
701C26471F755E1F009B6AD1 /* AssetsLibrary.framework in Frameworks */,
701C26451F755E18009B6AD1 /* ImageIO.framework in Frameworks */,
701C26431F755E12009B6AD1 /* QuartzCore.framework in Frameworks */,
701C26411F755E09009B6AD1 /* CoreText.framework in Frameworks */,
701C263F1F755E02009B6AD1 /* CoreGraphics.framework in Frameworks */,
701C263D1F755DF7009B6AD1 /* CoreImage.framework in Frameworks */,
701C263B1F755D9D009B6AD1 /* libsqlite3.0.tbd in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
187DF9AC243C9D4700D3A52B /* -tableView */ = {
isa = PBXGroup;
children = (
187DF9B0243C9D4700D3A52B /* WMTimeLineViewController.h */,
187DF9B5243C9D4700D3A52B /* WMTimeLineViewController.m */,
187DF9AE243C9D4700D3A52B /* CommentCell.h */,
187DF9B3243C9D4700D3A52B /* CommentCell.m */,
187DF9B2243C9D4700D3A52B /* MessageInfoModel.h */,
187DF9B8243C9D4700D3A52B /* MessageInfoModel.m */,
187DF9B4243C9D4700D3A52B /* WMTimeLineHeaderView.h */,
187DF9AD243C9D4700D3A52B /* WMTimeLineHeaderView.m */,
187DF9B6243C9D4700D3A52B /* LikeUsersCell.h */,
187DF9AF243C9D4700D3A52B /* LikeUsersCell.m */,
187DF9B7243C9D4700D3A52B /* LikeUsersCell.xib */,
187DF9B1243C9D4700D3A52B /* CommentInfoModel.h */,
187DF9B9243C9D4700D3A52B /* CommentInfoModel.m */,
);
path = "-tableView";
sourceTree = "<group>";
};
187DF9BA243C9D4700D3A52B /* */ = {
isa = PBXGroup;
children = (
187DF9BE243C9D4700D3A52B /* Layout.h */,
187DF9BB243C9D4700D3A52B /* Layout.m */,
187DF9BF243C9D4700D3A52B /* TimeLineBaseViewController.h */,
187DF9BC243C9D4700D3A52B /* TimeLineBaseViewController.m */,
187DF9BD243C9D4700D3A52B /* FriendInfoModel.h */,
187DF9C0243C9D4700D3A52B /* FriendInfoModel.m */,
);
path = "";
sourceTree = "<group>";
};
377CE01F1D2280160075DCA3 /* WMPlayer */ = {
isa = PBXGroup;
children = (
377CE0201D2280160075DCA3 /* WMPlayer.bundle */,
377CE0211D2280160075DCA3 /* WMPlayer.h */,
377CE0221D2280160075DCA3 /* WMPlayer.m */,
);
path = WMPlayer;
sourceTree = "<group>";
};
7011566F1F65462E004D1B67 /* Category */ = {
isa = PBXGroup;
children = (
187DF9CC243CD97F00D3A52B /* UIBarButtonItem+addition.h */,
187DF9CB243CD97F00D3A52B /* UIBarButtonItem+addition.m */,
705EEE291F6C49AE00566255 /* UILabel+TapAction.h */,
705EEE2A1F6C49AE00566255 /* UILabel+TapAction.m */,
701A5BBB1F74180500332B78 /* NSString+Extension.h */,
701A5BBC1F74180500332B78 /* NSString+Extension.m */,
);
path = Category;
sourceTree = "<group>";
};
70154A5E24441401007C4EB0 /* Conversation */ = {
isa = PBXGroup;
children = (
70154A5F24441435007C4EB0 /* ConversationViewController.h */,
70154A6024441435007C4EB0 /* ConversationViewController.m */,
);
path = "Conversation";
sourceTree = "<group>";
};
701C25341F755A1B009B6AD1 /* YYKit */ = {
isa = PBXGroup;
children = (
701C25351F755A1B009B6AD1 /* Base */,
701C25761F755A1B009B6AD1 /* Cache */,
701C257F1F755A1B009B6AD1 /* Image */,
701C259B1F755A1B009B6AD1 /* Model */,
701C25A01F755A1B009B6AD1 /* Text */,
701C25CD1F755A1B009B6AD1 /* Utility */,
701C25E61F755A1B009B6AD1 /* YYKit.h */,
);
path = YYKit;
sourceTree = "<group>";
};
701C25351F755A1B009B6AD1 /* Base */ = {
isa = PBXGroup;
children = (
701C25361F755A1B009B6AD1 /* Foundation */,
701C25531F755A1B009B6AD1 /* Quartz */,
701C25581F755A1B009B6AD1 /* UIKit */,
701C25751F755A1B009B6AD1 /* YYKitMacro.h */,
);
path = Base;
sourceTree = "<group>";
};
701C25361F755A1B009B6AD1 /* Foundation */ = {
isa = PBXGroup;
children = (
701C25371F755A1B009B6AD1 /* NSArray+YYAdd.h */,
701C25381F755A1B009B6AD1 /* NSArray+YYAdd.m */,
701C25391F755A1B009B6AD1 /* NSBundle+YYAdd.h */,
701C253A1F755A1B009B6AD1 /* NSBundle+YYAdd.m */,
701C253B1F755A1B009B6AD1 /* NSData+YYAdd.h */,
701C253C1F755A1B009B6AD1 /* NSData+YYAdd.m */,
701C253D1F755A1B009B6AD1 /* NSDate+YYAdd.h */,
701C253E1F755A1B009B6AD1 /* NSDate+YYAdd.m */,
701C253F1F755A1B009B6AD1 /* NSDictionary+YYAdd.h */,
701C25401F755A1B009B6AD1 /* NSDictionary+YYAdd.m */,
701C25411F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.h */,
701C25421F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.m */,
701C25431F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.h */,
701C25441F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.m */,
701C25451F755A1B009B6AD1 /* NSNumber+YYAdd.h */,
701C25461F755A1B009B6AD1 /* NSNumber+YYAdd.m */,
701C25471F755A1B009B6AD1 /* NSObject+YYAdd.h */,
701C25481F755A1B009B6AD1 /* NSObject+YYAdd.m */,
701C25491F755A1B009B6AD1 /* NSObject+YYAddForARC.h */,
701C254A1F755A1B009B6AD1 /* NSObject+YYAddForARC.m */,
701C254B1F755A1B009B6AD1 /* NSObject+YYAddForKVO.h */,
701C254C1F755A1B009B6AD1 /* NSObject+YYAddForKVO.m */,
701C254D1F755A1B009B6AD1 /* NSString+YYAdd.h */,
701C254E1F755A1B009B6AD1 /* NSString+YYAdd.m */,
701C254F1F755A1B009B6AD1 /* NSThread+YYAdd.h */,
701C25501F755A1B009B6AD1 /* NSThread+YYAdd.m */,
701C25511F755A1B009B6AD1 /* NSTimer+YYAdd.h */,
701C25521F755A1B009B6AD1 /* NSTimer+YYAdd.m */,
);
path = Foundation;
sourceTree = "<group>";
};
701C25531F755A1B009B6AD1 /* Quartz */ = {
isa = PBXGroup;
children = (
701C25541F755A1B009B6AD1 /* CALayer+YYAdd.h */,
701C25551F755A1B009B6AD1 /* CALayer+YYAdd.m */,
701C25561F755A1B009B6AD1 /* YYCGUtilities.h */,
701C25571F755A1B009B6AD1 /* YYCGUtilities.m */,
);
path = Quartz;
sourceTree = "<group>";
};
701C25581F755A1B009B6AD1 /* UIKit */ = {
isa = PBXGroup;
children = (
701C25591F755A1B009B6AD1 /* UIApplication+YYAdd.h */,
701C255A1F755A1B009B6AD1 /* UIApplication+YYAdd.m */,
701C255B1F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.h */,
701C255C1F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.m */,
701C255D1F755A1B009B6AD1 /* UIBezierPath+YYAdd.h */,
701C255E1F755A1B009B6AD1 /* UIBezierPath+YYAdd.m */,
701C255F1F755A1B009B6AD1 /* UIColor+YYAdd.h */,
701C25601F755A1B009B6AD1 /* UIColor+YYAdd.m */,
701C25611F755A1B009B6AD1 /* UIControl+YYAdd.h */,
701C25621F755A1B009B6AD1 /* UIControl+YYAdd.m */,
701C25631F755A1B009B6AD1 /* UIDevice+YYAdd.h */,
701C25641F755A1B009B6AD1 /* UIDevice+YYAdd.m */,
701C25651F755A1B009B6AD1 /* UIFont+YYAdd.h */,
701C25661F755A1B009B6AD1 /* UIFont+YYAdd.m */,
701C25671F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.h */,
701C25681F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.m */,
701C25691F755A1B009B6AD1 /* UIImage+YYAdd.h */,
701C256A1F755A1B009B6AD1 /* UIImage+YYAdd.m */,
701C256B1F755A1B009B6AD1 /* UIScreen+YYAdd.h */,
701C256C1F755A1B009B6AD1 /* UIScreen+YYAdd.m */,
701C256D1F755A1B009B6AD1 /* UIScrollView+YYAdd.h */,
701C256E1F755A1B009B6AD1 /* UIScrollView+YYAdd.m */,
701C256F1F755A1B009B6AD1 /* UITableView+YYAdd.h */,
701C25701F755A1B009B6AD1 /* UITableView+YYAdd.m */,
701C25711F755A1B009B6AD1 /* UITextField+YYAdd.h */,
701C25721F755A1B009B6AD1 /* UITextField+YYAdd.m */,
701C25731F755A1B009B6AD1 /* UIView+YYAdd.h */,
701C25741F755A1B009B6AD1 /* UIView+YYAdd.m */,
);
path = UIKit;
sourceTree = "<group>";
};
701C25761F755A1B009B6AD1 /* Cache */ = {
isa = PBXGroup;
children = (
701C25771F755A1B009B6AD1 /* YYCache.h */,
701C25781F755A1B009B6AD1 /* YYCache.m */,
701C25791F755A1B009B6AD1 /* YYDiskCache.h */,
701C257A1F755A1B009B6AD1 /* YYDiskCache.m */,
701C257B1F755A1B009B6AD1 /* YYKVStorage.h */,
701C257C1F755A1B009B6AD1 /* YYKVStorage.m */,
701C257D1F755A1B009B6AD1 /* YYMemoryCache.h */,
701C257E1F755A1B009B6AD1 /* YYMemoryCache.m */,
);
path = Cache;
sourceTree = "<group>";
};
701C257F1F755A1B009B6AD1 /* Image */ = {
isa = PBXGroup;
children = (
701C25801F755A1B009B6AD1 /* Categories */,
701C258B1F755A1B009B6AD1 /* YYAnimatedImageView.h */,
701C258C1F755A1B009B6AD1 /* YYAnimatedImageView.m */,
701C258D1F755A1B009B6AD1 /* YYFrameImage.h */,
701C258E1F755A1B009B6AD1 /* YYFrameImage.m */,
701C258F1F755A1B009B6AD1 /* YYImage.h */,
701C25901F755A1B009B6AD1 /* YYImage.m */,
701C25911F755A1B009B6AD1 /* YYImageCache.h */,
701C25921F755A1B009B6AD1 /* YYImageCache.m */,
701C25931F755A1B009B6AD1 /* YYImageCoder.h */,
701C25941F755A1B009B6AD1 /* YYImageCoder.m */,
701C25951F755A1B009B6AD1 /* YYSpriteSheetImage.h */,
701C25961F755A1B009B6AD1 /* YYSpriteSheetImage.m */,
701C25971F755A1B009B6AD1 /* YYWebImageManager.h */,
701C25981F755A1B009B6AD1 /* YYWebImageManager.m */,
701C25991F755A1B009B6AD1 /* YYWebImageOperation.h */,
701C259A1F755A1B009B6AD1 /* YYWebImageOperation.m */,
);
path = Image;
sourceTree = "<group>";
};
701C25801F755A1B009B6AD1 /* Categories */ = {
isa = PBXGroup;
children = (
701C25811F755A1B009B6AD1 /* _YYWebImageSetter.h */,
701C25821F755A1B009B6AD1 /* _YYWebImageSetter.m */,
701C25831F755A1B009B6AD1 /* CALayer+YYWebImage.h */,
701C25841F755A1B009B6AD1 /* CALayer+YYWebImage.m */,
701C25851F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.h */,
701C25861F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.m */,
701C25871F755A1B009B6AD1 /* UIButton+YYWebImage.h */,
701C25881F755A1B009B6AD1 /* UIButton+YYWebImage.m */,
701C25891F755A1B009B6AD1 /* UIImageView+YYWebImage.h */,
701C258A1F755A1B009B6AD1 /* UIImageView+YYWebImage.m */,
);
path = Categories;
sourceTree = "<group>";
};
701C259B1F755A1B009B6AD1 /* Model */ = {
isa = PBXGroup;
children = (
701C259C1F755A1B009B6AD1 /* NSObject+YYModel.h */,
701C259D1F755A1B009B6AD1 /* NSObject+YYModel.m */,
701C259E1F755A1B009B6AD1 /* YYClassInfo.h */,
701C259F1F755A1B009B6AD1 /* YYClassInfo.m */,
);
path = Model;
sourceTree = "<group>";
};
701C25A01F755A1B009B6AD1 /* Text */ = {
isa = PBXGroup;
children = (
701C25A11F755A1B009B6AD1 /* Component */,
701C25B41F755A1B009B6AD1 /* String */,
701C25C71F755A1B009B6AD1 /* YYFPSLabel.h */,
701C25C81F755A1B009B6AD1 /* YYFPSLabel.m */,
701C25C91F755A1B009B6AD1 /* YYLabel.h */,
701C25CA1F755A1B009B6AD1 /* YYLabel.m */,
701C25CB1F755A1B009B6AD1 /* YYTextView.h */,
701C25CC1F755A1B009B6AD1 /* YYTextView.m */,
);
path = Text;
sourceTree = "<group>";
};
701C25A11F755A1B009B6AD1 /* Component */ = {
isa = PBXGroup;
children = (
701C25A21F755A1B009B6AD1 /* YYTextContainerView.h */,
701C25A31F755A1B009B6AD1 /* YYTextContainerView.m */,
701C25A41F755A1B009B6AD1 /* YYTextDebugOption.h */,
701C25A51F755A1B009B6AD1 /* YYTextDebugOption.m */,
701C25A61F755A1B009B6AD1 /* YYTextEffectWindow.h */,
701C25A71F755A1B009B6AD1 /* YYTextEffectWindow.m */,
701C25A81F755A1B009B6AD1 /* YYTextInput.h */,
701C25A91F755A1B009B6AD1 /* YYTextInput.m */,
701C25AA1F755A1B009B6AD1 /* YYTextKeyboardManager.h */,
701C25AB1F755A1B009B6AD1 /* YYTextKeyboardManager.m */,
701C25AC1F755A1B009B6AD1 /* YYTextLayout.h */,
701C25AD1F755A1B009B6AD1 /* YYTextLayout.m */,
701C25AE1F755A1B009B6AD1 /* YYTextLine.h */,
701C25AF1F755A1B009B6AD1 /* YYTextLine.m */,
701C25B01F755A1B009B6AD1 /* YYTextMagnifier.h */,
701C25B11F755A1B009B6AD1 /* YYTextMagnifier.m */,
701C25B21F755A1B009B6AD1 /* YYTextSelectionView.h */,
701C25B31F755A1B009B6AD1 /* YYTextSelectionView.m */,
);
path = Component;
sourceTree = "<group>";
};
701C25B41F755A1B009B6AD1 /* String */ = {
isa = PBXGroup;
children = (
701C25B51F755A1B009B6AD1 /* NSAttributedString+YYText.h */,
701C25B61F755A1B009B6AD1 /* NSAttributedString+YYText.m */,
701C25B71F755A1B009B6AD1 /* NSParagraphStyle+YYText.h */,
701C25B81F755A1B009B6AD1 /* NSParagraphStyle+YYText.m */,
701C25B91F755A1B009B6AD1 /* UIPasteboard+YYText.h */,
701C25BA1F755A1B009B6AD1 /* UIPasteboard+YYText.m */,
701C25BB1F755A1B009B6AD1 /* YYTextArchiver.h */,
701C25BC1F755A1B009B6AD1 /* YYTextArchiver.m */,
701C25BD1F755A1B009B6AD1 /* YYTextAttribute.h */,
701C25BE1F755A1B009B6AD1 /* YYTextAttribute.m */,
701C25BF1F755A1B009B6AD1 /* YYTextParser.h */,
701C25C01F755A1B009B6AD1 /* YYTextParser.m */,
701C25C11F755A1B009B6AD1 /* YYTextRubyAnnotation.h */,
701C25C21F755A1B009B6AD1 /* YYTextRubyAnnotation.m */,
701C25C31F755A1B009B6AD1 /* YYTextRunDelegate.h */,
701C25C41F755A1B009B6AD1 /* YYTextRunDelegate.m */,
701C25C51F755A1B009B6AD1 /* YYTextUtilities.h */,
701C25C61F755A1B009B6AD1 /* YYTextUtilities.m */,
);
path = String;
sourceTree = "<group>";
};
701C25CD1F755A1B009B6AD1 /* Utility */ = {
isa = PBXGroup;
children = (
701C25CE1F755A1B009B6AD1 /* YYAsyncLayer.h */,
701C25CF1F755A1B009B6AD1 /* YYAsyncLayer.m */,
701C25D01F755A1B009B6AD1 /* YYDispatchQueuePool.h */,
701C25D11F755A1B009B6AD1 /* YYDispatchQueuePool.m */,
701C25D21F755A1B009B6AD1 /* YYFileHash.h */,
701C25D31F755A1B009B6AD1 /* YYFileHash.m */,
701C25D41F755A1B009B6AD1 /* YYGestureRecognizer.h */,
701C25D51F755A1B009B6AD1 /* YYGestureRecognizer.m */,
701C25D61F755A1B009B6AD1 /* YYKeychain.h */,
701C25D71F755A1B009B6AD1 /* YYKeychain.m */,
701C25D81F755A1B009B6AD1 /* YYReachability.h */,
701C25D91F755A1B009B6AD1 /* YYReachability.m */,
701C25DA1F755A1B009B6AD1 /* YYSentinel.h */,
701C25DB1F755A1B009B6AD1 /* YYSentinel.m */,
701C25DC1F755A1B009B6AD1 /* YYThreadSafeArray.h */,
701C25DD1F755A1B009B6AD1 /* YYThreadSafeArray.m */,
701C25DE1F755A1B009B6AD1 /* YYThreadSafeDictionary.h */,
701C25DF1F755A1B009B6AD1 /* YYThreadSafeDictionary.m */,
701C25E01F755A1B009B6AD1 /* YYTimer.h */,
701C25E11F755A1B009B6AD1 /* YYTimer.m */,
701C25E21F755A1B009B6AD1 /* YYTransaction.h */,
701C25E31F755A1B009B6AD1 /* YYTransaction.m */,
701C25E41F755A1B009B6AD1 /* YYWeakProxy.h */,
701C25E51F755A1B009B6AD1 /* YYWeakProxy.m */,
);
path = Utility;
sourceTree = "<group>";
};
701C26391F755D9D009B6AD1 /* Frameworks */ = {
isa = PBXGroup;
children = (
701C264E1F755E3E009B6AD1 /* libz.tbd */,
701C264C1F755E35009B6AD1 /* SystemConfiguration.framework */,
701C264A1F755E2F009B6AD1 /* MobileCoreServices.framework */,
701C26481F755E25009B6AD1 /* Accelerate.framework */,
701C26461F755E1F009B6AD1 /* AssetsLibrary.framework */,
701C26441F755E18009B6AD1 /* ImageIO.framework */,
701C26421F755E12009B6AD1 /* QuartzCore.framework */,
701C26401F755E09009B6AD1 /* CoreText.framework */,
701C263E1F755E02009B6AD1 /* CoreGraphics.framework */,
701C263C1F755DF7009B6AD1 /* CoreImage.framework */,
701C263A1F755D9D009B6AD1 /* libsqlite3.0.tbd */,
);
name = Frameworks;
sourceTree = "<group>";
};
70202E7B20202066001E73DD /* WMPhotoBrowser */ = {
isa = PBXGroup;
children = (
70D6FE97243C1F2C005C3727 /* Category */,
70202E7C20202066001E73DD /* resource.xcassets */,
70202E7F20202066001E73DD /* WMPhotoBrowser.h */,
70202E8020202066001E73DD /* WMPhotoBrowser.m */,
70D6FE9F243C1F39005C3727 /* WMCollectionViewFlowLayout.h */,
70D6FE9E243C1F39005C3727 /* WMCollectionViewFlowLayout.m */,
70202E8120202066001E73DD /* WMPhotoBrowserCell.h */,
70202E8220202066001E73DD /* WMPhotoBrowserCell.m */,
);
path = WMPhotoBrowser;
sourceTree = "<group>";
};
70B5BE371D0472B7003A7CF2 /* Images */ = {
isa = PBXGroup;
children = (
70B5BE381D0472B7003A7CF2 /* cell_icons */,
70B5BE561D0472B7003A7CF2 /* Contacts.xcassets */,
70B5BE571D0472B7003A7CF2 /* Discover.xcassets */,
70B5BE581D0472B7003A7CF2 /* Home.xcassets */,
70B5BE5A1D0472B7003A7CF2 /* Me.xcassets */,
70B5BE5B1D0472B7003A7CF2 /* test */,
70B5BE611D0472B7003A7CF2 /* TimeLineImages */,
);
path = Images;
sourceTree = "<group>";
};
70B5BE381D0472B7003A7CF2 /* cell_icons */ = {
isa = PBXGroup;
children = (
70B5BE391D0472B7003A7CF2 /* 0.jpg */,
70B5BE3A1D0472B7003A7CF2 /* 1.jpg */,
70B5BE3B1D0472B7003A7CF2 /* 10.jpg */,
70B5BE3C1D0472B7003A7CF2 /* 11.jpg */,
70B5BE3D1D0472B7003A7CF2 /* 12.jpg */,
70B5BE3E1D0472B7003A7CF2 /* 13.jpg */,
70B5BE3F1D0472B7003A7CF2 /* 14.jpg */,
70B5BE401D0472B7003A7CF2 /* 15.jpg */,
70B5BE411D0472B7003A7CF2 /* 16.jpg */,
70B5BE421D0472B7003A7CF2 /* 17.jpg */,
70B5BE431D0472B7003A7CF2 /* 18.jpg */,
70B5BE441D0472B7003A7CF2 /* 19.jpg */,
70B5BE451D0472B7003A7CF2 /* 2.jpg */,
70B5BE461D0472B7003A7CF2 /* 20.jpg */,
70B5BE471D0472B7003A7CF2 /* 21.jpg */,
70B5BE481D0472B7003A7CF2 /* 22.jpg */,
70B5BE491D0472B7003A7CF2 /* 23.jpg */,
70B5BE4A1D0472B7003A7CF2 /* 3.jpg */,
70B5BE4B1D0472B7003A7CF2 /* 4.jpg */,
70B5BE4C1D0472B7003A7CF2 /* 5.jpg */,
70B5BE4D1D0472B7003A7CF2 /* 6.jpg */,
70B5BE4E1D0472B7003A7CF2 /* 7.jpg */,
70B5BE4F1D0472B7003A7CF2 /* 8.jpg */,
70B5BE501D0472B7003A7CF2 /* 9.jpg */,
70B5BE511D0472B7003A7CF2 /* icon0.jpg */,
70B5BE521D0472B7003A7CF2 /* icon1.jpg */,
70B5BE531D0472B7003A7CF2 /* icon2.jpg */,
70B5BE541D0472B7003A7CF2 /* icon3.jpg */,
70B5BE551D0472B7003A7CF2 /* icon4.jpg */,
);
path = cell_icons;
sourceTree = "<group>";
};
70B5BE5B1D0472B7003A7CF2 /* test */ = {
isa = PBXGroup;
children = (
70B5BE5C1D0472B7003A7CF2 /* test0.jpg */,
70B5BE5D1D0472B7003A7CF2 /* test1.jpg */,
70B5BE5E1D0472B7003A7CF2 /* test2.jpg */,
70B5BE5F1D0472B7003A7CF2 /* test3.jpg */,
70B5BE601D0472B7003A7CF2 /* test4.jpg */,
);
path = test;
sourceTree = "<group>";
};
70B5BE611D0472B7003A7CF2 /* TimeLineImages */ = {
isa = PBXGroup;
children = (
70B5BE621D0472B7003A7CF2 /* pbg.jpg */,
70B5BE631D0472B7003A7CF2 /* pic0.jpg */,
70B5BE641D0472B7003A7CF2 /* pic1.jpg */,
70B5BE651D0472B7003A7CF2 /* pic2.jpg */,
70B5BE661D0472B7003A7CF2 /* pic3.jpg */,
70B5BE671D0472B7003A7CF2 /* pic4.jpg */,
70B5BE681D0472B7003A7CF2 /* pic5.jpg */,
70B5BE691D0472B7003A7CF2 /* pic6.jpg */,
70B5BE6A1D0472B7003A7CF2 /* pic7.jpg */,
70B5BE6B1D0472B7003A7CF2 /* pic8.jpg */,
70B5BE6C1D0472B7003A7CF2 /* picon.jpg */,
);
path = TimeLineImages;
sourceTree = "<group>";
};
70BB725D1D02A8A70003B379 = {
isa = PBXGroup;
children = (
70BB72681D02A8A70003B379 /* WeChat */,
70BB72671D02A8A70003B379 /* Products */,
701C26391F755D9D009B6AD1 /* Frameworks */,
);
sourceTree = "<group>";
};
70BB72671D02A8A70003B379 /* Products */ = {
isa = PBXGroup;
children = (
70BB72661D02A8A70003B379 /* WeChat.app */,
);
name = Products;
sourceTree = "<group>";
};
70BB72681D02A8A70003B379 /* WeChat */ = {
isa = PBXGroup;
children = (
70BB726C1D02A8A70003B379 /* AppDelegate.h */,
70BB726D1D02A8A70003B379 /* AppDelegate.m */,
70BB72751D02A8A70003B379 /* Assets.xcassets */,
BF11A1C61DD5B22E00024BBE /* LaunchScreen.storyboard */,
70BB72831D02A92A0003B379 /* ViewController */,
70BB72821D02A92A0003B379 /* View */,
7011566F1F65462E004D1B67 /* Category */,
70BB72801D02A8FE0003B379 /* ThirdLib */,
70BB72691D02A8A70003B379 /* Supporting Files */,
);
path = WeChat;
sourceTree = "<group>";
};
70BB72691D02A8A70003B379 /* Supporting Files */ = {
isa = PBXGroup;
children = (
70B5BE371D0472B7003A7CF2 /* Images */,
70BB726A1D02A8A70003B379 /* main.m */,
70BB727A1D02A8A70003B379 /* Info.plist */,
70FFC1E31D44FB0200FCE22F /* AddressBook.json */,
70BB73281D02AC550003B379 /* data.json */,
70F4B0CE1D0515CF0002924F /* WeChat.gif */,
377EF7AA1D471F4700177CC8 /* addressBook.gif */,
70BB731A1D02A95E0003B379 /* WeChat.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
70BB72801D02A8FE0003B379 /* ThirdLib */ = {
isa = PBXGroup;
children = (
70202E7B20202066001E73DD /* WMPhotoBrowser */,
701C25341F755A1B009B6AD1 /* YYKit */,
70FFC1CE1D44F2D000FCE22F /* PinYin4Objc */,
377CE01F1D2280160075DCA3 /* WMPlayer */,
70BB72841D02A93D0003B379 /* Masonry */,
70BB729C1D02A93D0003B379 /* MBprogressHUD */,
70BB72A21D02A93D0003B379 /* MJRefresh */,
70BB72CF1D02A93D0003B379 /* SDWebImage */,
);
path = ThirdLib;
sourceTree = "<group>";
};
70BB72821D02A92A0003B379 /* View */ = {
isa = PBXGroup;
children = (
701C25311F755783009B6AD1 /* JGGView.h */,
701C25321F755783009B6AD1 /* JGGView.m */,
701A5BB51F740FB200332B78 /* CopyAbleLabel.h */,
701A5BB61F740FB200332B78 /* CopyAbleLabel.m */,
);
path = View;
sourceTree = "<group>";
};
70BB72831D02A92A0003B379 /* ViewController */ = {
isa = PBXGroup;
children = (
70D6FF16243EC752005C3727 /* TabBarController */,
70D6FEE4243C835E005C3727 /* BaseViewController */,
70D6FEE9243C835E005C3727 /* Home */,
70D6FED9243C835E005C3727 /* AddressBook */,
70D6FEBF243C835D005C3727 /* Discover- */,
70D6FEBA243C835D005C3727 /* Me */,
);
path = ViewController;
sourceTree = "<group>";
};
70BB72841D02A93D0003B379 /* Masonry */ = {
isa = PBXGroup;
children = (
70BB72851D02A93D0003B379 /* MASCompositeConstraint.h */,
70BB72861D02A93D0003B379 /* MASCompositeConstraint.m */,
70BB72871D02A93D0003B379 /* MASConstraint+Private.h */,
70BB72881D02A93D0003B379 /* MASConstraint.h */,
70BB72891D02A93D0003B379 /* MASConstraint.m */,
70BB728A1D02A93D0003B379 /* MASConstraintMaker.h */,
70BB728B1D02A93D0003B379 /* MASConstraintMaker.m */,
70BB728C1D02A93D0003B379 /* MASLayoutConstraint.h */,
70BB728D1D02A93D0003B379 /* MASLayoutConstraint.m */,
70BB728E1D02A93D0003B379 /* Masonry.h */,
70BB728F1D02A93D0003B379 /* MASUtilities.h */,
70BB72901D02A93D0003B379 /* MASViewAttribute.h */,
70BB72911D02A93D0003B379 /* MASViewAttribute.m */,
70BB72921D02A93D0003B379 /* MASViewConstraint.h */,
70BB72931D02A93D0003B379 /* MASViewConstraint.m */,
70BB72941D02A93D0003B379 /* NSArray+MASAdditions.h */,
70BB72951D02A93D0003B379 /* NSArray+MASAdditions.m */,
70BB72961D02A93D0003B379 /* NSArray+MASShorthandAdditions.h */,
70BB72971D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.h */,
70BB72981D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.m */,
70BB72991D02A93D0003B379 /* View+MASAdditions.h */,
70BB729A1D02A93D0003B379 /* View+MASAdditions.m */,
70BB729B1D02A93D0003B379 /* View+MASShorthandAdditions.h */,
);
path = Masonry;
sourceTree = "<group>";
};
70BB729C1D02A93D0003B379 /* MBprogressHUD */ = {
isa = PBXGroup;
children = (
70BB729D1D02A93D0003B379 /* MBProgressHUD+Show.h */,
70BB729E1D02A93D0003B379 /* MBProgressHUD+Show.m */,
70BB729F1D02A93D0003B379 /* MBProgressHUD.bundle */,
70BB72A01D02A93D0003B379 /* MBProgressHUD.h */,
70BB72A11D02A93D0003B379 /* MBProgressHUD.m */,
);
path = MBprogressHUD;
sourceTree = "<group>";
};
70BB72A21D02A93D0003B379 /* MJRefresh */ = {
isa = PBXGroup;
children = (
70BB72A31D02A93D0003B379 /* Base */,
70BB72AE1D02A93D0003B379 /* Custom */,
70BB72C51D02A93D0003B379 /* MJRefresh.bundle */,
70BB72C61D02A93D0003B379 /* MJRefresh.h */,
70BB72C71D02A93D0003B379 /* MJRefreshConst.h */,
70BB72C81D02A93D0003B379 /* MJRefreshConst.m */,
70BB72C91D02A93D0003B379 /* UIScrollView+MJExtension.h */,
70BB72CA1D02A93D0003B379 /* UIScrollView+MJExtension.m */,
70BB72CB1D02A93D0003B379 /* UIScrollView+MJRefresh.h */,
70BB72CC1D02A93D0003B379 /* UIScrollView+MJRefresh.m */,
70BB72CD1D02A93D0003B379 /* UIView+MJExtension.h */,
70BB72CE1D02A93D0003B379 /* UIView+MJExtension.m */,
);
path = MJRefresh;
sourceTree = "<group>";
};
70BB72A31D02A93D0003B379 /* Base */ = {
isa = PBXGroup;
children = (
70BB72A41D02A93D0003B379 /* MJRefreshAutoFooter.h */,
70BB72A51D02A93D0003B379 /* MJRefreshAutoFooter.m */,
70BB72A61D02A93D0003B379 /* MJRefreshBackFooter.h */,
70BB72A71D02A93D0003B379 /* MJRefreshBackFooter.m */,
70BB72A81D02A93D0003B379 /* MJRefreshComponent.h */,
70BB72A91D02A93D0003B379 /* MJRefreshComponent.m */,
70BB72AA1D02A93D0003B379 /* MJRefreshFooter.h */,
70BB72AB1D02A93D0003B379 /* MJRefreshFooter.m */,
70BB72AC1D02A93D0003B379 /* MJRefreshHeader.h */,
70BB72AD1D02A93D0003B379 /* MJRefreshHeader.m */,
);
path = Base;
sourceTree = "<group>";
};
70BB72AE1D02A93D0003B379 /* Custom */ = {
isa = PBXGroup;
children = (
70BB72AF1D02A93D0003B379 /* Footer */,
70BB72BE1D02A93D0003B379 /* Header */,
);
path = Custom;
sourceTree = "<group>";
};
70BB72AF1D02A93D0003B379 /* Footer */ = {
isa = PBXGroup;
children = (
70BB72B01D02A93D0003B379 /* Auto */,
70BB72B71D02A93D0003B379 /* Back */,
);
path = Footer;
sourceTree = "<group>";
};
70BB72B01D02A93D0003B379 /* Auto */ = {
isa = PBXGroup;
children = (
70BB72B11D02A93D0003B379 /* MJRefreshAutoGifFooter.h */,
70BB72B21D02A93D0003B379 /* MJRefreshAutoGifFooter.m */,
70BB72B31D02A93D0003B379 /* MJRefreshAutoNormalFooter.h */,
70BB72B41D02A93D0003B379 /* MJRefreshAutoNormalFooter.m */,
70BB72B51D02A93D0003B379 /* MJRefreshAutoStateFooter.h */,
70BB72B61D02A93D0003B379 /* MJRefreshAutoStateFooter.m */,
);
path = Auto;
sourceTree = "<group>";
};
70BB72B71D02A93D0003B379 /* Back */ = {
isa = PBXGroup;
children = (
70BB72B81D02A93D0003B379 /* MJRefreshBackGifFooter.h */,
70BB72B91D02A93D0003B379 /* MJRefreshBackGifFooter.m */,
70BB72BA1D02A93D0003B379 /* MJRefreshBackNormalFooter.h */,
70BB72BB1D02A93D0003B379 /* MJRefreshBackNormalFooter.m */,
70BB72BC1D02A93D0003B379 /* MJRefreshBackStateFooter.h */,
70BB72BD1D02A93D0003B379 /* MJRefreshBackStateFooter.m */,
);
path = Back;
sourceTree = "<group>";
};
70BB72BE1D02A93D0003B379 /* Header */ = {
isa = PBXGroup;
children = (
70BB72BF1D02A93D0003B379 /* MJRefreshGifHeader.h */,
70BB72C01D02A93D0003B379 /* MJRefreshGifHeader.m */,
70BB72C11D02A93D0003B379 /* MJRefreshNormalHeader.h */,
70BB72C21D02A93D0003B379 /* MJRefreshNormalHeader.m */,
70BB72C31D02A93D0003B379 /* MJRefreshStateHeader.h */,
70BB72C41D02A93D0003B379 /* MJRefreshStateHeader.m */,
);
path = Header;
sourceTree = "<group>";
};
70BB72CF1D02A93D0003B379 /* SDWebImage */ = {
isa = PBXGroup;
children = (
70BB72D01D02A93D0003B379 /* NSData+ImageContentType.h */,
70BB72D11D02A93D0003B379 /* NSData+ImageContentType.m */,
70BB72D21D02A93D0003B379 /* SDImageCache.h */,
70BB72D31D02A93D0003B379 /* SDImageCache.m */,
70BB72D41D02A93D0003B379 /* SDWebImageCompat.h */,
70BB72D51D02A93D0003B379 /* SDWebImageCompat.m */,
70BB72D61D02A93D0003B379 /* SDWebImageDecoder.h */,
70BB72D71D02A93D0003B379 /* SDWebImageDecoder.m */,
70BB72D81D02A93D0003B379 /* SDWebImageDownloader.h */,
70BB72D91D02A93D0003B379 /* SDWebImageDownloader.m */,
70BB72DA1D02A93D0003B379 /* SDWebImageDownloaderOperation.h */,
70BB72DB1D02A93D0003B379 /* SDWebImageDownloaderOperation.m */,
70BB72DC1D02A93D0003B379 /* SDWebImageManager.h */,
70BB72DD1D02A93D0003B379 /* SDWebImageManager.m */,
70BB72DE1D02A93D0003B379 /* SDWebImageOperation.h */,
70BB72DF1D02A93D0003B379 /* SDWebImagePrefetcher.h */,
70BB72E01D02A93D0003B379 /* SDWebImagePrefetcher.m */,
70BB72E11D02A93D0003B379 /* UIButton+WebCache.h */,
70BB72E21D02A93D0003B379 /* UIButton+WebCache.m */,
70BB72E31D02A93D0003B379 /* UIImage+GIF.h */,
70BB72E41D02A93D0003B379 /* UIImage+GIF.m */,
70BB72E51D02A93D0003B379 /* UIImage+MultiFormat.h */,
70BB72E61D02A93D0003B379 /* UIImage+MultiFormat.m */,
70BB72E71D02A93D0003B379 /* UIImageView+HighlightedWebCache.h */,
70BB72E81D02A93D0003B379 /* UIImageView+HighlightedWebCache.m */,
70BB72E91D02A93D0003B379 /* UIImageView+WebCache.h */,
70BB72EA1D02A93D0003B379 /* UIImageView+WebCache.m */,
70BB72EB1D02A93D0003B379 /* UIView+WebCacheOperation.h */,
70BB72EC1D02A93D0003B379 /* UIView+WebCacheOperation.m */,
);
path = SDWebImage;
sourceTree = "<group>";
};
70D6FE97243C1F2C005C3727 /* Category */ = {
isa = PBXGroup;
children = (
70D6FE9A243C1F2C005C3727 /* UIView+WMFrame.h */,
70D6FE98243C1F2C005C3727 /* UIView+WMFrame.m */,
70D6FE99243C1F2C005C3727 /* UIViewController+WMExtension.h */,
70D6FE9B243C1F2C005C3727 /* UIViewController+WMExtension.m */,
);
path = Category;
sourceTree = "<group>";
};
70D6FEBA243C835D005C3727 /* Me */ = {
isa = PBXGroup;
children = (
70D6FEBB243C835D005C3727 /* MeViewController.h */,
70D6FEBC243C835D005C3727 /* MeViewController.m */,
70D6FF0A243C83F7005C3727 /* PersonCenterCell.h */,
70D6FF0C243C83F7005C3727 /* PersonCenterCell.m */,
70D6FF0F243C83F8005C3727 /* PersonCenterCell.xib */,
70D6FF0B243C83F7005C3727 /* PersonCenterHeaderCell.h */,
70D6FF0D243C83F7005C3727 /* PersonCenterHeaderCell.m */,
70D6FF0E243C83F8005C3727 /* PersonCenterHeaderCell.xib */,
);
path = "Me";
sourceTree = "<group>";
};
70D6FEBF243C835D005C3727 /* Discover- */ = {
isa = PBXGroup;
children = (
70D6FEC0243C835D005C3727 /* DiscoverViewController.h */,
70D6FEC1243C835D005C3727 /* DiscoverViewController.m */,
187DF9BA243C9D4700D3A52B /* */,
187DF9AC243C9D4700D3A52B /* -tableView */,
);
path = "Discover-";
sourceTree = "<group>";
};
70D6FED9243C835E005C3727 /* AddressBook */ = {
isa = PBXGroup;
children = (
70D6FEDB243C835E005C3727 /* ContactsViewController.h */,
70D6FEDF243C835E005C3727 /* ContactsViewController.m */,
70D6FEE1243C835E005C3727 /* SearchResultViewController.h */,
70D6FEDD243C835E005C3727 /* SearchResultViewController.m */,
70D6FEDA243C835E005C3727 /* WMSearchController.h */,
70D6FEDE243C835E005C3727 /* WMSearchController.m */,
70D6FEDC243C835E005C3727 /* AddressBookCell.h */,
70D6FEE0243C835E005C3727 /* AddressBookCell.m */,
70D6FEE2243C835E005C3727 /* AddressBookCell.xib */,
);
path = "AddressBook";
sourceTree = "<group>";
};
70D6FEE4243C835E005C3727 /* BaseViewController */ = {
isa = PBXGroup;
children = (
70D6FEE8243C835E005C3727 /* BaseViewController.h */,
70D6FEE5243C835E005C3727 /* BaseViewController.m */,
70D6FEE7243C835E005C3727 /* BaseNavigationController.h */,
70D6FEE6243C835E005C3727 /* BaseNavigationController.m */,
);
path = BaseViewController;
sourceTree = "<group>";
};
70D6FEE9243C835E005C3727 /* Home */ = {
isa = PBXGroup;
children = (
70D6FEEB243C835E005C3727 /* HomeViewController.h */,
70D6FEEA243C835E005C3727 /* HomeViewController.m */,
182E60EE243E13C8002128BA /* ConversationListCell.h */,
182E60EF243E13C8002128BA /* ConversationListCell.m */,
187DF9CE243CE0B500D3A52B /* ConversationModel.h */,
187DF9CF243CE0B500D3A52B /* ConversationModel.m */,
70154A5E24441401007C4EB0 /* Conversation */,
);
path = "Home";
sourceTree = "<group>";
};
70D6FF16243EC752005C3727 /* TabBarController */ = {
isa = PBXGroup;
children = (
70D6FF17243EC752005C3727 /* RootTabBarController.m */,
70D6FF18243EC752005C3727 /* RootTabBarController.h */,
);
path = TabBarController;
sourceTree = "<group>";
};
70FFC1CE1D44F2D000FCE22F /* PinYin4Objc */ = {
isa = PBXGroup;
children = (
70FFC1CF1D44F2D000FCE22F /* Classes */,
70FFC1DB1D44F2D000FCE22F /* Resources */,
);
path = PinYin4Objc;
sourceTree = "<group>";
};
70FFC1CF1D44F2D000FCE22F /* Classes */ = {
isa = PBXGroup;
children = (
70FFC1D01D44F2D000FCE22F /* ChineseToPinyinResource.h */,
70FFC1D11D44F2D000FCE22F /* ChineseToPinyinResource.m */,
70FFC1D21D44F2D000FCE22F /* HanyuPinyinOutputFormat.h */,
70FFC1D31D44F2D000FCE22F /* HanyuPinyinOutputFormat.m */,
70FFC1D41D44F2D000FCE22F /* NSString+PinYin4Cocoa.h */,
70FFC1D51D44F2D000FCE22F /* NSString+PinYin4Cocoa.m */,
70FFC1D61D44F2D000FCE22F /* PinYin4Objc.h */,
70FFC1D71D44F2D000FCE22F /* PinyinFormatter.h */,
70FFC1D81D44F2D000FCE22F /* PinyinFormatter.m */,
70FFC1D91D44F2D000FCE22F /* PinyinHelper.h */,
70FFC1DA1D44F2D000FCE22F /* PinyinHelper.m */,
);
path = Classes;
sourceTree = "<group>";
};
70FFC1DB1D44F2D000FCE22F /* Resources */ = {
isa = PBXGroup;
children = (
70FFC1DC1D44F2D000FCE22F /* unicode_to_hanyu_pinyin.txt */,
);
path = Resources;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
70BB72651D02A8A70003B379 /* WeChat */ = {
isa = PBXNativeTarget;
buildConfigurationList = 70BB727D1D02A8A70003B379 /* Build configuration list for PBXNativeTarget "WeChat" */;
buildPhases = (
70BB72621D02A8A70003B379 /* Sources */,
70BB72631D02A8A70003B379 /* Frameworks */,
70BB72641D02A8A70003B379 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = WeChat;
productName = WeChat;
productReference = 70BB72661D02A8A70003B379 /* WeChat.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
70BB725E1D02A8A70003B379 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = zhengwenming;
TargetAttributes = {
70BB72651D02A8A70003B379 = {
CreatedOnToolsVersion = 7.3.1;
DevelopmentTeam = 58RLM4UFK5;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 70BB72611D02A8A70003B379 /* Build configuration list for PBXProject "WeChat" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
mainGroup = 70BB725D1D02A8A70003B379;
productRefGroup = 70BB72671D02A8A70003B379 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
70BB72651D02A8A70003B379 /* WeChat */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
70BB72641D02A8A70003B379 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
70B5BE9A1D0472B7003A7CF2 /* pic4.jpg in Resources */,
377CE0231D2280160075DCA3 /* WMPlayer.bundle in Resources */,
70B5BE711D0472B7003A7CF2 /* 11.jpg in Resources */,
70B5BE861D0472B7003A7CF2 /* icon0.jpg in Resources */,
377EF7AB1D471F4700177CC8 /* addressBook.gif in Resources */,
70B5BE781D0472B7003A7CF2 /* 18.jpg in Resources */,
70B5BE841D0472B7003A7CF2 /* 8.jpg in Resources */,
70B5BE911D0472B7003A7CF2 /* test1.jpg in Resources */,
70B5BE9F1D0472B7003A7CF2 /* picon.jpg in Resources */,
70B5BE931D0472B7003A7CF2 /* test3.jpg in Resources */,
70B5BE751D0472B7003A7CF2 /* 15.jpg in Resources */,
70B5BE961D0472B7003A7CF2 /* pic0.jpg in Resources */,
70B5BE771D0472B7003A7CF2 /* 17.jpg in Resources */,
70B5BE9E1D0472B7003A7CF2 /* pic8.jpg in Resources */,
70B5BE8C1D0472B7003A7CF2 /* Discover.xcassets in Resources */,
70B5BE831D0472B7003A7CF2 /* 7.jpg in Resources */,
70B5BE731D0472B7003A7CF2 /* 13.jpg in Resources */,
70B5BE7A1D0472B7003A7CF2 /* 2.jpg in Resources */,
70B5BE741D0472B7003A7CF2 /* 14.jpg in Resources */,
70D6FF04243C835F005C3727 /* AddressBookCell.xib in Resources */,
70B5BE901D0472B7003A7CF2 /* test0.jpg in Resources */,
70BB73291D02AC550003B379 /* data.json in Resources */,
70B5BE9D1D0472B7003A7CF2 /* pic7.jpg in Resources */,
70B5BE7B1D0472B7003A7CF2 /* 20.jpg in Resources */,
70F4B0CF1D0515CF0002924F /* WeChat.gif in Resources */,
187DF9C5243C9D4700D3A52B /* LikeUsersCell.xib in Resources */,
70B5BE991D0472B7003A7CF2 /* pic3.jpg in Resources */,
70B5BE811D0472B7003A7CF2 /* 5.jpg in Resources */,
70B5BE921D0472B7003A7CF2 /* test2.jpg in Resources */,
70D6FF13243C83F8005C3727 /* PersonCenterCell.xib in Resources */,
70B5BE6E1D0472B7003A7CF2 /* 0.jpg in Resources */,
70B5BE721D0472B7003A7CF2 /* 12.jpg in Resources */,
70BB72F71D02A93D0003B379 /* MBProgressHUD.bundle in Resources */,
70B5BE801D0472B7003A7CF2 /* 4.jpg in Resources */,
BF11A1C81DD5B22E00024BBE /* LaunchScreen.storyboard in Resources */,
70B5BE881D0472B7003A7CF2 /* icon2.jpg in Resources */,
70B5BE981D0472B7003A7CF2 /* pic2.jpg in Resources */,
70B5BE941D0472B7003A7CF2 /* test4.jpg in Resources */,
70B5BE7F1D0472B7003A7CF2 /* 3.jpg in Resources */,
70BB72761D02A8A70003B379 /* Assets.xcassets in Resources */,
70B5BE791D0472B7003A7CF2 /* 19.jpg in Resources */,
70D6FF12243C83F8005C3727 /* PersonCenterHeaderCell.xib in Resources */,
70B5BE951D0472B7003A7CF2 /* pbg.jpg in Resources */,
70B5BE8B1D0472B7003A7CF2 /* Contacts.xcassets in Resources */,
70BB73071D02A93D0003B379 /* MJRefresh.bundle in Resources */,
70B5BE851D0472B7003A7CF2 /* 9.jpg in Resources */,
70FFC1E21D44F2D000FCE22F /* unicode_to_hanyu_pinyin.txt in Resources */,
70B5BE8A1D0472B7003A7CF2 /* icon4.jpg in Resources */,
70B5BE7C1D0472B7003A7CF2 /* 21.jpg in Resources */,
70B5BE821D0472B7003A7CF2 /* 6.jpg in Resources */,
70FFC1E41D44FB0200FCE22F /* AddressBook.json in Resources */,
70B5BE8F1D0472B7003A7CF2 /* Me.xcassets in Resources */,
70B5BE9B1D0472B7003A7CF2 /* pic5.jpg in Resources */,
70B5BE891D0472B7003A7CF2 /* icon3.jpg in Resources */,
70B5BE971D0472B7003A7CF2 /* pic1.jpg in Resources */,
70202E8320202067001E73DD /* resource.xcassets in Resources */,
70B5BE7E1D0472B7003A7CF2 /* 23.jpg in Resources */,
70B5BE871D0472B7003A7CF2 /* icon1.jpg in Resources */,
70B5BE761D0472B7003A7CF2 /* 16.jpg in Resources */,
70B5BE9C1D0472B7003A7CF2 /* pic6.jpg in Resources */,
70B5BE6F1D0472B7003A7CF2 /* 1.jpg in Resources */,
70B5BE701D0472B7003A7CF2 /* 10.jpg in Resources */,
70B5BE7D1D0472B7003A7CF2 /* 22.jpg in Resources */,
70B5BE8D1D0472B7003A7CF2 /* Home.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
70BB72621D02A8A70003B379 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
70154A6124441435007C4EB0 /* ConversationViewController.m in Sources */,
701C25E71F755A1B009B6AD1 /* NSArray+YYAdd.m in Sources */,
701C26251F755A1C009B6AD1 /* YYTextAttribute.m in Sources */,
701C26371F755A1C009B6AD1 /* YYTransaction.m in Sources */,
701C25ED1F755A1B009B6AD1 /* NSNotificationCenter+YYAdd.m in Sources */,
70D6FF03243C835F005C3727 /* AddressBookCell.m in Sources */,
701C261E1F755A1C009B6AD1 /* YYTextLine.m in Sources */,
701C26221F755A1C009B6AD1 /* NSParagraphStyle+YYText.m in Sources */,
70BB73051D02A93D0003B379 /* MJRefreshNormalHeader.m in Sources */,
70BB73131D02A93D0003B379 /* SDWebImagePrefetcher.m in Sources */,
70FFC1DF1D44F2D000FCE22F /* NSString+PinYin4Cocoa.m in Sources */,
70BB72FB1D02A93D0003B379 /* MJRefreshComponent.m in Sources */,
701C26181F755A1B009B6AD1 /* YYTextContainerView.m in Sources */,
187DF9C1243C9D4700D3A52B /* WMTimeLineHeaderView.m in Sources */,
701C25EE1F755A1B009B6AD1 /* NSNumber+YYAdd.m in Sources */,
701C26061F755A1B009B6AD1 /* YYDiskCache.m in Sources */,
701C26111F755A1B009B6AD1 /* YYImageCache.m in Sources */,
70D6FF02243C835F005C3727 /* ContactsViewController.m in Sources */,
701C25FF1F755A1B009B6AD1 /* UIImage+YYAdd.m in Sources */,
701C26201F755A1C009B6AD1 /* YYTextSelectionView.m in Sources */,
701C25F81F755A1B009B6AD1 /* UIBarButtonItem+YYAdd.m in Sources */,
701C25F51F755A1B009B6AD1 /* CALayer+YYAdd.m in Sources */,
70BB72F41D02A93D0003B379 /* NSLayoutConstraint+MASDebugAdditions.m in Sources */,
701C26281F755A1C009B6AD1 /* YYTextRunDelegate.m in Sources */,
70BB730A1D02A93D0003B379 /* UIScrollView+MJRefresh.m in Sources */,
70BB72F21D02A93D0003B379 /* MASViewConstraint.m in Sources */,
70BB73171D02A93D0003B379 /* UIImageView+HighlightedWebCache.m in Sources */,
701C260B1F755A1B009B6AD1 /* MKAnnotationView+YYWebImage.m in Sources */,
701C262C1F755A1C009B6AD1 /* YYTextView.m in Sources */,
701C262A1F755A1C009B6AD1 /* YYFPSLabel.m in Sources */,
701C260A1F755A1B009B6AD1 /* CALayer+YYWebImage.m in Sources */,
187DF9C4243C9D4700D3A52B /* WMTimeLineViewController.m in Sources */,
70BB72F61D02A93D0003B379 /* MBProgressHUD+Show.m in Sources */,
701C26041F755A1B009B6AD1 /* UIView+YYAdd.m in Sources */,
701C26261F755A1C009B6AD1 /* YYTextParser.m in Sources */,
70BB73161D02A93D0003B379 /* UIImage+MultiFormat.m in Sources */,
701C261C1F755A1B009B6AD1 /* YYTextKeyboardManager.m in Sources */,
182E60F0243E13C8002128BA /* ConversationListCell.m in Sources */,
701C262F1F755A1C009B6AD1 /* YYFileHash.m in Sources */,
70BB72ED1D02A93D0003B379 /* MASCompositeConstraint.m in Sources */,
705EEE2B1F6C49AE00566255 /* UILabel+TapAction.m in Sources */,
70FFC1DD1D44F2D000FCE22F /* ChineseToPinyinResource.m in Sources */,
70BB730B1D02A93D0003B379 /* UIView+MJExtension.m in Sources */,
70D6FEF4243C835F005C3727 /* DiscoverViewController.m in Sources */,
70BB72FF1D02A93D0003B379 /* MJRefreshAutoNormalFooter.m in Sources */,
701C25E91F755A1B009B6AD1 /* NSData+YYAdd.m in Sources */,
187DF9CD243CD97F00D3A52B /* UIBarButtonItem+addition.m in Sources */,
701C262E1F755A1C009B6AD1 /* YYDispatchQueuePool.m in Sources */,
187DF9C8243C9D4700D3A52B /* Layout.m in Sources */,
70BB72FC1D02A93D0003B379 /* MJRefreshFooter.m in Sources */,
701C25F31F755A1B009B6AD1 /* NSThread+YYAdd.m in Sources */,
701C25E81F755A1B009B6AD1 /* NSBundle+YYAdd.m in Sources */,
701C26351F755A1C009B6AD1 /* YYThreadSafeDictionary.m in Sources */,
70BB730C1D02A93D0003B379 /* NSData+ImageContentType.m in Sources */,
701A5BB71F740FB200332B78 /* CopyAbleLabel.m in Sources */,
701C261D1F755A1B009B6AD1 /* YYTextLayout.m in Sources */,
70BB73151D02A93D0003B379 /* UIImage+GIF.m in Sources */,
701C25F61F755A1B009B6AD1 /* YYCGUtilities.m in Sources */,
70FFC1DE1D44F2D000FCE22F /* HanyuPinyinOutputFormat.m in Sources */,
701C26301F755A1C009B6AD1 /* YYGestureRecognizer.m in Sources */,
701C260E1F755A1B009B6AD1 /* YYAnimatedImageView.m in Sources */,
701C26091F755A1B009B6AD1 /* _YYWebImageSetter.m in Sources */,
701C26291F755A1C009B6AD1 /* YYTextUtilities.m in Sources */,
187DF9CA243C9D4700D3A52B /* FriendInfoModel.m in Sources */,
701C25F91F755A1B009B6AD1 /* UIBezierPath+YYAdd.m in Sources */,
701C25F21F755A1B009B6AD1 /* NSString+YYAdd.m in Sources */,
70BB72F31D02A93D0003B379 /* NSArray+MASAdditions.m in Sources */,
701C25FB1F755A1B009B6AD1 /* UIControl+YYAdd.m in Sources */,
70BB73101D02A93D0003B379 /* SDWebImageDownloader.m in Sources */,
701C26021F755A1B009B6AD1 /* UITableView+YYAdd.m in Sources */,
701C25EF1F755A1B009B6AD1 /* NSObject+YYAdd.m in Sources */,
70BB730E1D02A93D0003B379 /* SDWebImageCompat.m in Sources */,
701C25FC1F755A1B009B6AD1 /* UIDevice+YYAdd.m in Sources */,
701C26011F755A1B009B6AD1 /* UIScrollView+YYAdd.m in Sources */,
701C25F71F755A1B009B6AD1 /* UIApplication+YYAdd.m in Sources */,
701C26001F755A1B009B6AD1 /* UIScreen+YYAdd.m in Sources */,
70BB73061D02A93D0003B379 /* MJRefreshStateHeader.m in Sources */,
70BB72FE1D02A93D0003B379 /* MJRefreshAutoGifFooter.m in Sources */,
187DF9D0243CE0B500D3A52B /* ConversationModel.m in Sources */,
701C26191F755A1B009B6AD1 /* YYTextDebugOption.m in Sources */,
701C26101F755A1B009B6AD1 /* YYImage.m in Sources */,
70D6FF00243C835F005C3727 /* SearchResultViewController.m in Sources */,
701C26321F755A1C009B6AD1 /* YYReachability.m in Sources */,
701C26241F755A1C009B6AD1 /* YYTextArchiver.m in Sources */,
187DF9C6243C9D4700D3A52B /* MessageInfoModel.m in Sources */,
701C26031F755A1B009B6AD1 /* UITextField+YYAdd.m in Sources */,
70D6FF08243C835F005C3727 /* HomeViewController.m in Sources */,
701C26151F755A1B009B6AD1 /* YYWebImageOperation.m in Sources */,
701C25EB1F755A1B009B6AD1 /* NSDictionary+YYAdd.m in Sources */,
701C25F11F755A1B009B6AD1 /* NSObject+YYAddForKVO.m in Sources */,
70BB730F1D02A93D0003B379 /* SDWebImageDecoder.m in Sources */,
377CE0241D2280160075DCA3 /* WMPlayer.m in Sources */,
701C26211F755A1C009B6AD1 /* NSAttributedString+YYText.m in Sources */,
701C25F01F755A1B009B6AD1 /* NSObject+YYAddForARC.m in Sources */,
701C25EA1F755A1B009B6AD1 /* NSDate+YYAdd.m in Sources */,
701C26051F755A1B009B6AD1 /* YYCache.m in Sources */,
701C262D1F755A1C009B6AD1 /* YYAsyncLayer.m in Sources */,
701C26161F755A1B009B6AD1 /* NSObject+YYModel.m in Sources */,
70BB73121D02A93D0003B379 /* SDWebImageManager.m in Sources */,
701C26311F755A1C009B6AD1 /* YYKeychain.m in Sources */,
70BB72FA1D02A93D0003B379 /* MJRefreshBackFooter.m in Sources */,
701C261B1F755A1B009B6AD1 /* YYTextInput.m in Sources */,
701A5BBD1F74180500332B78 /* NSString+Extension.m in Sources */,
70BB73031D02A93D0003B379 /* MJRefreshBackStateFooter.m in Sources */,
70D6FEA0243C1F39005C3727 /* WMCollectionViewFlowLayout.m in Sources */,
701C26341F755A1C009B6AD1 /* YYThreadSafeArray.m in Sources */,
70202E8620202067001E73DD /* WMPhotoBrowserCell.m in Sources */,
701C261A1F755A1B009B6AD1 /* YYTextEffectWindow.m in Sources */,
701C26231F755A1C009B6AD1 /* UIPasteboard+YYText.m in Sources */,
70FFC1E01D44F2D000FCE22F /* PinyinFormatter.m in Sources */,
70BB73041D02A93D0003B379 /* MJRefreshGifHeader.m in Sources */,
701C25F41F755A1B009B6AD1 /* NSTimer+YYAdd.m in Sources */,
70BB726E1D02A8A70003B379 /* AppDelegate.m in Sources */,
701C26381F755A1C009B6AD1 /* YYWeakProxy.m in Sources */,
70BB73111D02A93D0003B379 /* SDWebImageDownloaderOperation.m in Sources */,
701C26171F755A1B009B6AD1 /* YYClassInfo.m in Sources */,
70D6FF10243C83F8005C3727 /* PersonCenterCell.m in Sources */,
701C260D1F755A1B009B6AD1 /* UIImageView+YYWebImage.m in Sources */,
701C261F1F755A1C009B6AD1 /* YYTextMagnifier.m in Sources */,
701C260F1F755A1B009B6AD1 /* YYFrameImage.m in Sources */,
701C260C1F755A1B009B6AD1 /* UIButton+YYWebImage.m in Sources */,
70BB72F01D02A93D0003B379 /* MASLayoutConstraint.m in Sources */,
70BB726B1D02A8A70003B379 /* main.m in Sources */,
187DF9C2243C9D4700D3A52B /* LikeUsersCell.m in Sources */,
70BB73191D02A93D0003B379 /* UIView+WebCacheOperation.m in Sources */,
70D6FF11243C83F8005C3727 /* PersonCenterHeaderCell.m in Sources */,
70BB72F51D02A93D0003B379 /* View+MASAdditions.m in Sources */,
70BB72F91D02A93D0003B379 /* MJRefreshAutoFooter.m in Sources */,
70BB73181D02A93D0003B379 /* UIImageView+WebCache.m in Sources */,
187DF9C9243C9D4700D3A52B /* TimeLineBaseViewController.m in Sources */,
187DF9C3243C9D4700D3A52B /* CommentCell.m in Sources */,
701C262B1F755A1C009B6AD1 /* YYLabel.m in Sources */,
70BB73081D02A93D0003B379 /* MJRefreshConst.m in Sources */,
70FFC1E11D44F2D000FCE22F /* PinyinHelper.m in Sources */,
70D6FF07243C835F005C3727 /* BaseNavigationController.m in Sources */,
701C25FE1F755A1B009B6AD1 /* UIGestureRecognizer+YYAdd.m in Sources */,
701C26331F755A1C009B6AD1 /* YYSentinel.m in Sources */,
70BB73011D02A93D0003B379 /* MJRefreshBackGifFooter.m in Sources */,
701C26081F755A1B009B6AD1 /* YYMemoryCache.m in Sources */,
701C25331F755783009B6AD1 /* JGGView.m in Sources */,
70BB72F11D02A93D0003B379 /* MASViewAttribute.m in Sources */,
70BB73141D02A93D0003B379 /* UIButton+WebCache.m in Sources */,
70BB72FD1D02A93D0003B379 /* MJRefreshHeader.m in Sources */,
70BB73091D02A93D0003B379 /* UIScrollView+MJExtension.m in Sources */,
70D6FF19243EC752005C3727 /* RootTabBarController.m in Sources */,
701C26071F755A1B009B6AD1 /* YYKVStorage.m in Sources */,
70BB73001D02A93D0003B379 /* MJRefreshAutoStateFooter.m in Sources */,
701C25EC1F755A1B009B6AD1 /* NSKeyedUnarchiver+YYAdd.m in Sources */,
701C25FA1F755A1B009B6AD1 /* UIColor+YYAdd.m in Sources */,
70D6FEF1243C835E005C3727 /* MeViewController.m in Sources */,
701C26121F755A1B009B6AD1 /* YYImageCoder.m in Sources */,
701C26271F755A1C009B6AD1 /* YYTextRubyAnnotation.m in Sources */,
701C26141F755A1B009B6AD1 /* YYWebImageManager.m in Sources */,
70BB730D1D02A93D0003B379 /* SDImageCache.m in Sources */,
701C25FD1F755A1B009B6AD1 /* UIFont+YYAdd.m in Sources */,
70D6FE9C243C1F2C005C3727 /* UIView+WMFrame.m in Sources */,
70BB72EE1D02A93D0003B379 /* MASConstraint.m in Sources */,
70BB73021D02A93D0003B379 /* MJRefreshBackNormalFooter.m in Sources */,
701C26131F755A1B009B6AD1 /* YYSpriteSheetImage.m in Sources */,
70D6FE9D243C1F2C005C3727 /* UIViewController+WMExtension.m in Sources */,
701C26361F755A1C009B6AD1 /* YYTimer.m in Sources */,
70D6FF06243C835F005C3727 /* BaseViewController.m in Sources */,
70BB72EF1D02A93D0003B379 /* MASConstraintMaker.m in Sources */,
70202E8520202067001E73DD /* WMPhotoBrowser.m in Sources */,
70BB72F81D02A93D0003B379 /* MBProgressHUD.m in Sources */,
70D6FF01243C835F005C3727 /* WMSearchController.m in Sources */,
187DF9C7243C9D4700D3A52B /* CommentInfoModel.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
BF11A1C61DD5B22E00024BBE /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
BF11A1C71DD5B22E00024BBE /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
70BB727B1D02A8A70003B379 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREFIX_HEADER = WeChat/WeChat.pch;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
};
name = Debug;
};
70BB727C1D02A8A70003B379 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREFIX_HEADER = WeChat/WeChat.pch;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
70BB727E1D02A8A70003B379 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer: (T466HLN9HZ)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 58RLM4UFK5;
INFOPLIST_FILE = WeChat/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = wenming;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
70BB727F1D02A8A70003B379 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer: (T466HLN9HZ)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = 58RLM4UFK5;
INFOPLIST_FILE = WeChat/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = wenming;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
70BB72611D02A8A70003B379 /* Build configuration list for PBXProject "WeChat" */ = {
isa = XCConfigurationList;
buildConfigurations = (
70BB727B1D02A8A70003B379 /* Debug */,
70BB727C1D02A8A70003B379 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
70BB727D1D02A8A70003B379 /* Build configuration list for PBXNativeTarget "WeChat" */ = {
isa = XCConfigurationList;
buildConfigurations = (
70BB727E1D02A8A70003B379 /* Debug */,
70BB727F1D02A8A70003B379 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 70BB725E1D02A8A70003B379 /* Project object */;
}
```
|
/content/code_sandbox/WeChat.xcodeproj/project.pbxproj
|
unknown
| 2016-06-06T01:53:42
| 2024-08-05T09:45:48
|
WeChat
|
zhengwenming/WeChat
| 1,626
| 62,238
|
```unknown
```
|
/content/code_sandbox/java/basic/draw.drawio
|
unknown
| 2016-01-23T06:32:17
| 2024-08-15T07:35:30
|
Tutorial
|
zhonghuasheng/Tutorial
| 1,601
| 1
|
```shell
#!/bin/sh
TODAY_PNG=$(date +%Y-%m-%d.png)
YESTERDAY_PNG=$(date -d last-day +%Y-%m-%d.png)
cd /root/luke/ci
rm -f $(date -d last-day +%Y-%m-%d.png)
wget path_to_url
mv 5c9867cde4b0afc7441ea764.png $TODAY_PNG
cd /root/luke/ci/Tutorial
git checkout develop
git pull --all
rm -f $YESTERDAY_PNG
cp /root/luke/ci/$TODAY_PNG /root/luke/ci/Tutorial/
sed -i "s/$YESTERDAY_PNG/$TODAY_PNG/g" /root/luke/ci/Tutorial/README.md
git add .
git commit -m "Update the picture of skill stack $TODAY_PNG"
git push
auto-commit-musicstore-jsp.sh
#!/bin/sh
TODAY_PNG=musicstore-jsp-$(date +%Y-%m-%d.png)
YESTERDAY_PNG=musicstore-jsp-$(date -d last-day +%Y-%m-%d.png)
cd /root/luke/ci
rm -f $YESTERDAY_PNG
wget path_to_url
mv 5d030e3ce4b071ad5a23ac34.png $TODAY_PNG
cd /root/luke/ci/musicstore-jsp
git checkout develop
git pull --all
rm -f /root/luke/ci/musicstore-jsp/requirement/$YESTERDAY_PNG
cp /root/luke/ci/$TODAY_PNG /root/luke/ci/musicstore-jsp/requirement/
sed -i "s/$YESTERDAY_PNG/$TODAY_PNG/g" /root/luke/ci/musicstore-jsp/README.md
git add .
git commit -m "Update the music store requirement and architecture design $TODAY_PNG"
git fetch origin master:master
git rebase origin/master
git push origin develop
auto-commit-tutorial.sh
#!/bin/sh
TODAY_PNG=tutorial-$(date +%Y-%m-%d.png)
YESTERDAY_PNG=tutorial-$(date -d last-day +%Y-%m-%d.png)
echo 'delete yesterday png'
cd /root/luke/ci
rm -f $YESTERDAY_PNG
echo 'download today png'
wget path_to_url
mv 5c9867cde4b0afc7441ea764.png $TODAY_PNG
echo 'do commit'
cd /root/luke/ci/Tutorial
git pull --all
rm -f $YESTERDAY_PNG
cp /root/luke/ci/$TODAY_PNG /root/luke/ci/Tutorial/$TODAY_PNG
sed -i "s/$YESTERDAY_PNG/$TODAY_PNG/g" /root/luke/ci/Tutorial/README.md
git add -A
git commit -m "Update the picture of skill stack $TODAY_PNG"
git push
echo 'submit success'
38 3 * * * /root/luke/ci/auto-commit-tutorial.sh > /root/luke/ci/auto-commit-tutorial.log
10 3 * * * /root/luke/ci/auto-commit-musicstore-jsp.sh > /root/luke/ci/auto-commit-musicstore-jsp.log
# musicstore-jsp
server {
listen 80;
server_name musicstore-jsp.justdo.fun;
# root /root/luke/ci/apache-tomcat-8.5.42/webapps/musicstore;
location / {
proxy_pass path_to_url
}
}
sslocal -s ip -p remotepot -k pwd -m rc4-md5 -l localport -b 0.0.0.0 &
#!/bin/sh
nohup java -jar -Dserver.port=9999 /root/luke/ci/services/musicstore-1.0-SNAPSHOT.jar &
```
|
/content/code_sandbox/tool/shell/auto-commit.sh
|
shell
| 2016-01-23T06:32:17
| 2024-08-15T07:35:30
|
Tutorial
|
zhonghuasheng/Tutorial
| 1,601
| 915
|
```objective-c
%% Here is the code to generate the bounding box from the heatmap
%
% to reproduce the ILSVRC localization result, you need to first generate
% the heatmap for each testing image by merging the heatmap from the
% 10-crops (it is exactly what the demo code is doing), then resize the merged heatmap back to the original size of
% that image. Then use this bbox generator to generate the bbox from the resized heatmap.
%
% The source code of the bbox generator is also released. Probably you need
% to install the correct version of OpenCV to compile it.
%
% Special thanks to Hui Li for helping on this code.
%
% Bolei Zhou, April 19, 2016
bbox_threshold = [20, 100, 110]; % parameters for the bbox generator
curParaThreshold = [num2str(bbox_threshold(1)) ' ' num2str(bbox_threshold(2)) ' ' num2str(bbox_threshold(3))];
curHeatMapFile = 'bboxgenerator/heatmap_6.jpg';
curImgFile = 'bboxgenerator/sample_6.jpg';
curBBoxFile = 'bboxgenerator/heatmap_6.txt';
system(['bboxgenerator/./dt_box ' curHeatMapFile ' ' curParaThreshold ' ' curBBoxFile]);
boxData = dlmread(curBBoxFile);
boxData_formulate = [boxData(1:4:end)' boxData(2:4:end)' boxData(1:4:end)'+boxData(3:4:end)' boxData(2:4:end)'+boxData(4:4:end)'];
boxData_formulate = [min(boxData_formulate(:,1),boxData_formulate(:,3)),min(boxData_formulate(:,2),boxData_formulate(:,4)),max(boxData_formulate(:,1),boxData_formulate(:,3)),max(boxData_formulate(:,2),boxData_formulate(:,4))];
curHeatMap = imread(curHeatMapFile);
%curHeatMap = imresize(curHeatMap,[height_original weight_original]);
subplot(1,2,1),hold off, imshow(curImgFile);
hold on
for i=1:size(boxData_formulate,1)
curBox = boxData_formulate(i,:);
rectangle('Position',[curBox(1) curBox(2) curBox(3)-curBox(1) curBox(4)-curBox(2)],'EdgeColor',[1 0 0]);
end
subplot(1,2,2),imagesc(curHeatMap);
```
|
/content/code_sandbox/generate_bbox.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 532
|
```objective-c
% Sample code to generate class activation map from 10 crops of activations
% Bolei Zhou, March 15, 2016
% for the online prediction, make sure you have complied matcaffe
clear
addpath('/opt/caffe/matlab');
imgID = 2; % 1 or 2
img = imread(['img' num2str(imgID) '.jpg']);
img = imresize(img, [256 256]);
online = 0; % whether extract features online or load pre-extracted features
load('categories1000.mat');
if online == 1
% load the CAM model and extract features
net_weights = ['models/imagenet_googlenetCAM_train_iter_120000.caffemodel'];
net_model = ['models/deploy_googlenetCAM_imagenet.prototxt'];
net = caffe.Net(net_model, net_weights, 'test');
weights_LR = net.params('CAM_fc',1).get_data();% get the softmax layer of the network
scores = net.forward({prepare_image(img)});% extract conv features online
activation_lastconv = net.blobs('CAM_conv').get_data();
scores = scores{1};
else
% use the extracted features and softmax parameters cached before hand
load('data_net.mat'); % it contains the softmax weights and the category names of the network
load(['data_img' num2str(imgID) '.mat']); %it contains the pre-extracted conv features
end
%% Class Activation Mapping
topNum = 5; % generate heatmap for top X prediction results
scoresMean = mean(scores,2);
[value_category, IDX_category] = sort(scoresMean,'descend');
[curCAMmapAll] = returnCAMmap(activation_lastconv, weights_LR(:,IDX_category(1:topNum)));
curResult = im2double(img);
curPrediction = '';
for j=1:topNum
curCAMmap_crops = squeeze(curCAMmapAll(:,:,j,:));
curCAMmapLarge_crops = imresize(curCAMmap_crops,[224 224]);
curCAMmap_image = mergeTenCrop(curCAMmapLarge_crops);
curHeatMap = map2jpg(curCAMmap_image, [], 'jet');
curHeatMap = im2double(img)*0.2+curHeatMap*0.7;
curResult = [curResult ones(size(curHeatMap,1),8,3) curHeatMap];
curPrediction = [curPrediction ' --top' num2str(j) ':' categories{IDX_category(j)}];
end
disp(curPrediction);
imwrite(curResult, 'result.jpg');
figure,imshow(curResult);
title(curPrediction)
if online==1
caffe.reset_all();
end
```
|
/content/code_sandbox/demo.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 582
|
```python
# simple implementation of CAM in PyTorch for the networks such as ResNet, DenseNet, SqueezeNet, Inception
# last update by BZ, June 30, 2021
import io
from PIL import Image
from torchvision import models, transforms
from torch.autograd import Variable
from torch.nn import functional as F
import numpy as np
import cv2
import json
# input image
LABELS_file = 'imagenet-simple-labels.json'
image_file = 'test.jpg'
# networks such as googlenet, resnet, densenet already use global average pooling at the end, so CAM could be used directly.
model_id = 1
if model_id == 1:
net = models.squeezenet1_1(pretrained=True)
finalconv_name = 'features' # this is the last conv layer of the network
elif model_id == 2:
net = models.resnet18(pretrained=True)
finalconv_name = 'layer4'
elif model_id == 3:
net = models.densenet161(pretrained=True)
finalconv_name = 'features'
net.eval()
# hook the feature extractor
features_blobs = []
def hook_feature(module, input, output):
features_blobs.append(output.data.cpu().numpy())
net._modules.get(finalconv_name).register_forward_hook(hook_feature)
# get the softmax weight
params = list(net.parameters())
weight_softmax = np.squeeze(params[-2].data.numpy())
def returnCAM(feature_conv, weight_softmax, class_idx):
# generate the class activation maps upsample to 256x256
size_upsample = (256, 256)
bz, nc, h, w = feature_conv.shape
output_cam = []
for idx in class_idx:
cam = weight_softmax[idx].dot(feature_conv.reshape((nc, h*w)))
cam = cam.reshape(h, w)
cam = cam - np.min(cam)
cam_img = cam / np.max(cam)
cam_img = np.uint8(255 * cam_img)
output_cam.append(cv2.resize(cam_img, size_upsample))
return output_cam
normalize = transforms.Normalize(
mean=[0.485, 0.456, 0.406],
std=[0.229, 0.224, 0.225]
)
preprocess = transforms.Compose([
transforms.Resize((224,224)),
transforms.ToTensor(),
normalize
])
# load test image
img_pil = Image.open(image_file)
img_tensor = preprocess(img_pil)
img_variable = Variable(img_tensor.unsqueeze(0))
logit = net(img_variable)
# load the imagenet category list
with open(LABELS_file) as f:
classes = json.load(f)
h_x = F.softmax(logit, dim=1).data.squeeze()
probs, idx = h_x.sort(0, True)
probs = probs.numpy()
idx = idx.numpy()
# output the prediction
for i in range(0, 5):
print('{:.3f} -> {}'.format(probs[i], classes[idx[i]]))
# generate class activation mapping for the top1 prediction
CAMs = returnCAM(features_blobs[0], weight_softmax, [idx[0]])
# render the CAM and output
print('output CAM.jpg for the top1 prediction: %s'%classes[idx[0]])
img = cv2.imread('test.jpg')
height, width, _ = img.shape
heatmap = cv2.applyColorMap(cv2.resize(CAMs[0],(width, height)), cv2.COLORMAP_JET)
result = heatmap * 0.3 + img * 0.5
cv2.imwrite('CAM.jpg', result)
```
|
/content/code_sandbox/pytorch_CAM.py
|
python
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 780
|
```objective-c
function crops_data = prepare_image(im)
% your_sha256_hash--------
% caffe/matlab/+caffe/imagenet/ilsvrc_2012_mean.mat contains mean_data that
% is already in W x H x C with BGR channels
d = load('ilsvrc_2012_mean.mat');
mean_data = d.mean_data;
IMAGE_DIM = 256;
CROPPED_DIM = 224; % 224 for googLeNet , 227 for VGG and AlexNet
% Convert an image returned by Matlab's imread to im_data in caffe's data
% format: W x H x C with BGR channels
im_data = im(:, :, [3, 2, 1]); % permute channels from RGB to BGR
im_data = permute(im_data, [2, 1, 3]); % flip width and height
im_data = single(im_data); % convert from uint8 to single
im_data = imresize(im_data, [IMAGE_DIM IMAGE_DIM], 'bilinear'); % resize im_data
im_data = im_data - mean_data; % subtract mean_data (already in W x H x C, BGR)
% oversample (4 corners, center, and their x-axis flips)
crops_data = zeros(CROPPED_DIM, CROPPED_DIM, 3, 10, 'single');
indices = [0 IMAGE_DIM-CROPPED_DIM] + 1;
n = 1;
for i = indices
for j = indices
crops_data(:, :, :, n) = im_data(i:i+CROPPED_DIM-1, j:j+CROPPED_DIM-1, :);
crops_data(:, :, :, n+5) = crops_data(end:-1:1, :, :, n);
n = n + 1;
end
end
center = floor(indices(2) / 2) + 1;
crops_data(:,:,:,5) = ...
im_data(center:center+CROPPED_DIM-1,center:center+CROPPED_DIM-1,:);
crops_data(:,:,:,10) = crops_data(end:-1:1, :, :, 5);
```
|
/content/code_sandbox/prepare_image.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 461
|
```objective-c
datasetName = 'ILSVRCvalSet';
load('imagenet_toolkit/ILSVRC2014_devkit/evaluation/cache_groundtruth.mat');
load('imagenet_toolkit/ILSVRC2014_devkit/data/meta_clsloc.mat');
% download the toolkit at path_to_url
datasetPath = 'dataset/ILSVRC2012';
load([datasetPath '/imageListVal.mat']);
load('sizeImg_ILSVRC2014.mat');
% datasetName = 'ILSVRCtestSet';
% datasetPath = '/data/vision/torralba/deeplearning/imagenet_toolkit';
% load([datasetPath '/imageListTest.mat']);
nImgs = size(imageList,1);
ground_truth_file='imagenet_toolkit/ILSVRC2014_devkit/data/ILSVRC2014_clsloc_validation_ground_truth.txt';
gt_labels = dlmread(ground_truth_file);
categories_gt = [];
categoryIDMap = containers.Map();
for i=1:numel(synsets)
categories_gt{synsets(i).ILSVRC2014_ID,1} = synsets(i).words;
categories_gt{synsets(i).ILSVRC2014_ID,2} = synsets(i).WNID;
categoryIDMap(synsets(i).WNID) = i;
end
%% network to evaluate
% backpropa-heatmap
%netName = 'caffeNet_imagenet';
%netName = 'googlenetBVLC_imagenet';
%netName = 'VGG16_imagenet';
% CAM-based network
%netName = 'NIN';
%netName = 'CAM_imagenetCNNaveSumDeep';
%netName = 'CAM_googlenetBVLC_imagenet';% the direct output
netName = 'CAM_googlenetBVLCshrink_imagenet';
%netName = 'CAM_googlenetBVLCshrink_imagenet_maxpool';
%netName = 'CAM_VGG16_imagenet';
%netName = 'CAM_alexnet';
load('categoriesImageNet.mat');
visualizationPointer = 0;
topCategoryNum = 5;
predictionResult_bbox1 = zeros(nImgs, topCategoryNum*5);
predictionResult_bbox2 = zeros(nImgs, topCategoryNum*5);
predictionResult_bboxCombine = zeros(nImgs, topCategoryNum*5);
if matlabpool('size')==0
try
matlabpool
catch e
end
end
heatMapFolder = ['heatMap-' datasetName '-' netName];
bbox_threshold = [20, 100, 110];
curParaThreshold = [num2str(bbox_threshold(1)) ' ' num2str(bbox_threshold(2)) ' ' num2str(bbox_threshold(3))];
parfor i=1:size(imageList,1)
curImgIDX = i;
height_original = sizeFull_imageList(curImgIDX,1);%tmp.Height;
weight_original = sizeFull_imageList(curImgIDX,2);%tmp.Width;
[a b c] = fileparts(imageList{curImgIDX,1});
curPath_fullSizeImg = ['/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2012_img_val/' b c];
curMatFile = [heatMapFolder '/' b '.mat'];
[heatMapSet, value_category, IDX_category] = loadHeatMap( curMatFile);
curResult_bbox1 = [];
curResult_bbox2 = [];
curResult_bboxCombine = [];
for j=1:5
curHeatMapFile = [heatMapFolder '/top' num2str(j) '/' b '.jpg'];
curBBoxFile = [heatMapFolder '/top' num2str(j) '/' b '_default.txt'];
%curBBoxFileGraphcut = [heatMapFolder '/top' num2str(j) '/' b '_graphcut.txt'];
curCategory = categories{IDX_category(j),1};
%imwrite(curHeatMap, ['result_bbox/heatmap_tmp' b randString '.jpg']);
if ~exist(curBBoxFile)
%system(['/data/vision/torralba/deeplearning/package/bbox_hui/final ' curHeatMapFile ' ' curBBoxFile]);
system(['/data/vision/torralba/deeplearning/package/bbox_hui_new/./dt_box ' curHeatMapFile ' ' curParaThreshold ' ' curBBoxFile]);
end
curPredictCategory = categories{IDX_category(j),1};
curPredictCategoryID = categories{IDX_category(j),1}(1:9);
curPredictCategoryGTID = categoryIDMap(curPredictCategoryID);
boxData = dlmread(curBBoxFile);
boxData_formulate = [boxData(1:4:end)' boxData(2:4:end)' boxData(1:4:end)'+boxData(3:4:end)' boxData(2:4:end)'+boxData(4:4:end)'];
boxData_formulate = [min(boxData_formulate(:,1),boxData_formulate(:,3)),min(boxData_formulate(:,2),boxData_formulate(:,4)),max(boxData_formulate(:,1),boxData_formulate(:,3)),max(boxData_formulate(:,2),boxData_formulate(:,4))];
% try
% boxDataGraphcut = dlmread(curBBoxFileGraphcut);
% boxData_formulateGraphcut = [boxDataGraphcut(1:4:end)' boxDataGraphcut(2:4:end)' boxDataGraphcut(1:4:end)'+boxDataGraphcut(3:4:end)' boxDataGraphcut(2:4:end)'+boxDataGraphcut(4:4:end)'];
% catch exception
% boxDataGraphcut = dlmread(curBBoxFile);
% boxData_formulateGraphcut = [boxDataGraphcut(1:4:end)' boxDataGraphcut(2:4:end)' boxDataGraphcut(1:4:end)'+boxDataGraphcut(3:4:end)' boxDataGraphcut(2:4:end)'+boxDataGraphcut(4:4:end)'];
% boxData_formulateGraphcut = boxData_formulateGraphcut(1,:);
% end
bbox = boxData_formulate(1,:);
curPredictTuple = [curPredictCategoryGTID bbox(1) bbox(2) bbox(3) bbox(4)];
curResult_bbox1 = [curResult_bbox1 curPredictTuple];
curResult_bboxCombine = [curResult_bboxCombine curPredictTuple];
bbox = boxData_formulate(2,:);
%bbox = boxData_formulateGraphcut(1,:);
curPredictTuple = [curPredictCategoryGTID bbox(1) bbox(2) bbox(3) bbox(4)];
curResult_bbox2 = [curResult_bbox2 curPredictTuple];
curResult_bboxCombine = [curResult_bboxCombine curPredictTuple];
if visualizationPointer == 1
curHeatMap = imread(curHeatMapFile);
curHeatMap = imresize(curHeatMap,[height_original weight_original]);
subplot(1,2,1),hold off, imshow(curPath_fullSizeImg);
hold on
curBox = boxData_formulate(1,:);
rectangle('Position',[curBox(1) curBox(2) curBox(3)-curBox(1) curBox(4)-curBox(2)],'EdgeColor',[1 0 0]);
subplot(1,2,2),imagesc(curHeatMap);
title(curCategory);
waitforbuttonpress
end
end
predictionResult_bbox1(i, :) = curResult_bbox1;
predictionResult_bbox2(i, :) = curResult_bbox2;
predictionResult_bboxCombine(i,:) = curResult_bboxCombine(1:topCategoryNum*5);
disp([netName ' processing ' b])
end
addpath('evaluation');
disp([netName '--------bbox1' ]);
[cls_error, clsloc_error] = simpleEvaluation(predictionResult_bbox1);
disp([(1:5)',clsloc_error,cls_error]);
disp([netName '--------bbox2' ]);
[cls_error, clsloc_error] = simpleEvaluation(predictionResult_bbox2);
disp([(1:5)',clsloc_error,cls_error]);
disp([netName '--------bboxCombine' ]);
[cls_error, clsloc_error] = simpleEvaluation(predictionResult_bboxCombine);
disp([(1:5)',clsloc_error,cls_error]);
```
|
/content/code_sandbox/ILSVRC_evaluate_bbox.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,834
|
```objective-c
function [curColumnMap] = returnCAMmap( featureObjectSwitchSpatial, weights_LR)
%RETURNCOLUMNMAP Summary of this function goes here
% Detailed explanation goes here
if size(featureObjectSwitchSpatial,4) ==1
featureObjectSwitchSpatial_vectorized = reshape(featureObjectSwitchSpatial,[size(featureObjectSwitchSpatial,1)*size(featureObjectSwitchSpatial,2) size(featureObjectSwitchSpatial,3)]);
detectionMap = featureObjectSwitchSpatial_vectorized*weights_LR;
curColumnMap = reshape(detectionMap,[size(featureObjectSwitchSpatial,1),size(featureObjectSwitchSpatial,2), size(weights_LR,2)]);
else
columnSet = zeros(size(featureObjectSwitchSpatial,1),size(featureObjectSwitchSpatial,2),size(weights_LR,2),size(featureObjectSwitchSpatial,4));
for i=1:size(featureObjectSwitchSpatial,4)
curFeatureObjectSwitchSpatial = squeeze(featureObjectSwitchSpatial(:,:,:,i));
featureObjectSwitchSpatial_vectorized = reshape(curFeatureObjectSwitchSpatial,[size(curFeatureObjectSwitchSpatial,1)*size(curFeatureObjectSwitchSpatial,2) size(curFeatureObjectSwitchSpatial,3)]);
detectionMap = featureObjectSwitchSpatial_vectorized*weights_LR;
curColumnMap = reshape(detectionMap,[size(featureObjectSwitchSpatial,1),size(featureObjectSwitchSpatial,2), size(weights_LR,2)]);
columnSet(:,:,:,i) = curColumnMap;
end
curColumnMap = columnSet;
end
end
```
|
/content/code_sandbox/returnCAMmap.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 320
|
```objective-c
function [img] = map2jpg(imgmap, range, colorMap)
imgmap = double(imgmap);
if(~exist('range', 'var') || isempty(range)), range = [min(imgmap(:)) max(imgmap(:))]; end
heatmap_gray = mat2gray(imgmap, range);
heatmap_x = gray2ind(heatmap_gray, 256);
heatmap_x(isnan(imgmap)) = 0;
if(~exist('colorMap', 'var'))
img = ind2rgb(heatmap_x, jet(256));
else
img = ind2rgb(heatmap_x, eval([colorMap '(256)']));
end
```
|
/content/code_sandbox/map2jpg.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 134
|
```objective-c
function alignImgMean = mergeTenCrop( CAMmap_crops)
% align the ten crops of CAMmaps back to one image (take a look at caffe
% matlab wrapper about how ten crops are generated)
cropSize = size(CAMmap_crops,1);
cropImgSet = zeros([cropSize cropSize 3 10]);
cropImgSet(:,:,1,:) = CAMmap_crops;
cropImgSet(:,:,2,:) = CAMmap_crops;
cropImgSet(:,:,3,:) = CAMmap_crops;
squareSize = 256;
indices = [0 squareSize-cropSize] + 1;
alignImgSet = zeros(squareSize, squareSize, size(cropImgSet,3),'single');
curr = 1;
for i = indices
for j = indices
curCrop1 = permute(cropImgSet(:,:,:,curr),[2 1 3 4]);
curCrop2 = permute(cropImgSet(end:-1:1,:,:,curr+5),[2 1 3 4]);
alignImgSet(j:j+cropSize-1, i:i+cropSize-1,:,curr) = curCrop1;
alignImgSet(j:j+cropSize-1, i:i+cropSize-1,:, curr+5) = curCrop2;
curr = curr + 1;
end
end
center = floor(indices(2) / 2)+1;
curCrop1 = permute(cropImgSet(:,:,:,5),[2 1 3 4]);
curCrop2 = permute(cropImgSet(end:-1:1,:,:,10),[2 1 3 4]);
alignImgSet(center:center+cropSize-1, center:center+cropSize-1,:,5) = curCrop1;
alignImgSet(center:center+cropSize-1, center:center+cropSize-1,:, 10) = curCrop2;
alignImgMean = squeeze(sum(sum(abs(alignImgSet),3),4));
alignImgMean = im2double(alignImgMean);
end
```
|
/content/code_sandbox/mergeTenCrop.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 441
|
```objective-c
% raw script used to generate heatmaps for ILSVRC localization experiment
% please load the necessary packages like matcaffe and ILSVRC toolbox correctly, some functions in matcaffe might be already deprecated.
% you could take it as an example to see how to reproduce the ILSVRC localization experiment.
%
% Bolei Zhou.
addpath('caffeCPU2/matlab/caffe');
modelSetFolder = 'CAMnet';
%% CAMnet
% netName = 'CAM_googlenetBVLC_imagenet';
% model_file = [modelSetFolder '/googlenet_imagenet/bvlc_googlenet.caffemodel'];
% model_def_file = [modelSetFolder '/googlenet_imagenet/deploy.protxt'];
% netName = 'CAM_alexnet';
% model_file = [modelSetFolder '/alexnet/CAMmodels/caffeNetCAM_imagenet_train_iter_100000.caffemodel'];
% model_def_file = [modelSetFolder '/alexnet/deploy_caffeNetCAM.prototxt'];
netName = 'CAM_googlenetBVLCshrink_imagenet';
model_file = [modelSetFolder '/googlenet_imagenet/CAMmodels/imagenet_googleletCAM_train_iter_80000.caffemodel'];
model_def_file = [modelSetFolder '/googlenet_imagenet/deploy_googlenetCAM.prototxt'];
% netName = 'CAM_VGG16_imagenet';
% model_file = [modelSetFolder '/VGGnet/models/vgg16CAM_train_iter_50000.caffemodel'];
% model_def_file = [modelSetFolder '/VGGnet/deploy_vgg16CAM.prototxt'];
%% loading the network
caffe('init', model_def_file, model_file,'test');
caffe('set_mode_gpu');
caffe('set_device',0);
%% testing to predict some image
weights = caffe('get_weights');
weights_LR = squeeze(weights(end,1).weights{1,1});
bias_LR = weights(end,1).weights{2,1};
layernames = caffe('get_names');
response = caffe('get_all_layers');
netInfo = cell(size(layernames,1),3);
for i=1:size(layernames,1)
netInfo{i,1} = layernames{i};
netInfo{i,2} = i;
netInfo{i,3} = size(response{i,1});
end
load('categoriesImageNet.mat');
d = load('/data/vision/torralba/small-projects/bolei_deep/caffe/ilsvrc_2012_mean.mat');
IMAGE_MEAN = d.image_mean;
IMAGE_DIM = 256;
CROPPED_DIM = netInfo{1,3}(1);
weightInfo = cell(size(weights,1),1);
for i=1:size(weights,1)
weightInfo{i,1} = weights(i,1).layer_names;
weightInfo{i,2} = weights(i,1).weights{1,1};
weightInfo{i,3} = size(weights(i,1).weights{1,1});
end
%% testing to predict some image
datasetName = 'ILSVRCvalSet';
datasetPath = '/data/vision/torralba/gigaSUN/deeplearning/dataset/ILSVRC2012';
load([datasetPath '/imageListVal.mat']);
load('sizeImg_ILSVRC2014.mat');
% datasetName = 'ILSVRCtestSet';
% datasetPath = '/data/vision/torralba/deeplearning/imagenet_toolkit';
% load([datasetPath '/imageListTest.mat']);
saveFolder = ['heatMap-' datasetName '-' netName];
if ~exist(saveFolder)
mkdir(saveFolder);
end
for i=1:5
if ~exist([saveFolder '/top' num2str(i)])
mkdir([saveFolder '/top' num2str(i)]);
end
end
for i = 1:size(imageList,1)
curImgIDX = i;
[a b c] = fileparts(imageList{curImgIDX,1});
saveMatFile = [saveFolder '/' b '.mat'];
if ~exist(saveMatFile)
height_original = sizeFull_imageList(curImgIDX,1);%tmp.Height;
weight_original = sizeFull_imageList(curImgIDX,2);%tmp.Width;
curImg = imread(imageList{curImgIDX,1});
if size(curImg,3)==1
curImg = repmat(curImg,[1 1 3]);
end
scores = caffe('forward', {prepare_img(curImg, IMAGE_MEAN, CROPPED_DIM)});
response = caffe('get_all_layers');
scoresMean = mean(squeeze(scores{1}),2);
[value_category, IDX_category] = sort(scoresMean,'descend');
featureObjectSwitchSpatial = squeeze(response{end-3,1});
[curColumnMap] = returnColumnMap(featureObjectSwitchSpatial, weights_LR(:,IDX_category(1:5)));
for j=1:5
curFeatureMap = squeeze(curColumnMap(:,:,j,:));
curFeatureMap_crop = imresize(curFeatureMap,[netInfo{1,3}(1) netInfo{1,3}(2)]);
gradients = zeros([netInfo{1,3}(1) netInfo{1,3}(2) 3 10]);
gradients(:,:,1,:) = curFeatureMap_crop;
gradients(:,:,2,:) = curFeatureMap_crop;
gradients(:,:,3,:) = curFeatureMap_crop;
[alignImgMean alignImgSet] = crop2img(gradients);
alignImgMean = single(alignImgMean);
alignImgMean = imresize(alignImgMean, [height_original weight_original]);
alignImgMean = alignImgMean./max(alignImgMean(:));
imwrite(alignImgMean, [saveFolder '/top' num2str(j) '/' b '.jpg']);
end
value_category = single(value_category);
IDX_category = single(IDX_category);
save(saveMatFile,'value_category','IDX_category');
disp([netName ' processing ' b]);
end
end
```
|
/content/code_sandbox/ILSVRC_generate_heatmap.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,316
|
```c
/**
* Distance transform for binary image or gray-scale image.
* @param
* @return
*/
#include <stdlib.h>
#include <math.h>
#ifdef __cplusplus
extern "C" {
#endif
#define INF 1E20
#define SQUARE(q) ((q)*(q))
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define ROUND(t) ((int)((t) + 0.5))
#define BOUND_8U(t) ((t) < 0 ? 0 : (t) > 255 ? 255 : (t))
static void dt_row(const double *f, int n, double *d, double *z, int *v) {
int k, q;
v[0] = 0;
z[0] = -INF;
z[1] = +INF;
k = 0;
for (q = 1; q < n; ++q) {
double s = ((f[q]+SQUARE(q))-(f[v[k]]+SQUARE(v[k])))/(double)(2*q-2*v[k]);
while (s <= z[k]) {
k--;
s = ((f[q]+SQUARE(q))-(f[v[k]]+SQUARE(v[k])))/(double)(2*q-2*v[k]);
}
k++;
v[k] = q;
z[k] = s;
z[k+1] = +INF;
}
k = 0;
for (q = 0; q < n; ++q) {
while (z[k+1] < q)
k++;
d[q] = SQUARE(q-v[k]) + f[v[k]];
}
}
void
dt(double *m, int rows, int cols) {
const int n = MAX(rows, cols);
double *f = (double *)malloc(sizeof(f[0]) * n);
double *d = (double *)malloc(sizeof(d[0]) * n);
double *z = (double *)malloc(sizeof(z[0]) * (n+ 1));
int *v = (int *)malloc(sizeof(v[0]) * n);
int x, y;
for (x = 0; x < cols; ++x) {
for (y = 0; y < rows; ++y) {
f[y] = m[y*cols + x];
}
dt_row(f, rows, d, z, v);
for (y = 0; y < rows; ++y) {
m[y*cols + x] = d[y];
}
}
for (y = 0; y < rows; ++y) {
for (x = 0; x < cols; ++x) {
f[x] = m[y*cols + x];
}
dt_row(f, cols, d, z, v);
for (x = 0; x < cols; ++x) {
m[y*cols + x] = d[x];
}
}
free(f);
free(d);
free(z);
free(v);
}
static void
min_max(const double *m, int sz, double *min, double *max) {
double mi = m[0], ma = m[0];
int i = 1;
for (; i < sz; ++i) {
if (m[i] > ma) {
ma = m[i];
}
else if (m[i] < mi) {
mi = m[i];
}
}
*min = mi;
*max = ma;
}
static void
double_to_image(const double *m, int rows, int cols, unsigned char *data, int step) {
int i, j;
double mi, ma, scale;
min_max(m, rows * cols, &mi, &ma);
if (mi == ma) {
return ;
}
scale = 255.0 / (ma - mi);
for (i = 0; i < rows; ++i) {
for (j = 0; j < cols; ++j) {
const double s = m[i*cols + j] * scale;
const int t = ROUND(s);
data[i*step + j] = BOUND_8U(t);
}
}
}
static void
sqrt_m(double *m, int sz) {
int i = 0;
for (; i < sz; ++i) {
m[i] = sqrt(m[i]);
}
}
void
dt_gray(unsigned char *gray, int rows, int cols, int step) {
double *m = (double *)malloc(sizeof(m[0]) * rows * cols);
int i, j;
const double vstep = 100.0; /* big enough to transform the distance... */
for (i = 0; i < rows; ++i) {
for (j = 0; j < cols; ++j) {
m[i*cols + j] = vstep * (double)gray[i*step + j];
}
}
dt(m, rows, cols);
sqrt_m(m, rows * cols);
double_to_image(m, rows, cols, gray, step);
free(m);
}
void
dt_binary(unsigned char *bimg, int rows, int cols, int step) {
double *m = (double *)malloc(sizeof(m[0]) * rows * cols);
int i, j;
for (i = 0; i < rows; ++i) {
for (j = 0; j < cols; ++j) {
m[i*cols + j] = bimg[i*step + j] > 0 ? +INF : 0.0;
}
}
dt(m, rows, cols);
sqrt_m(m, rows*cols);
double_to_image(m, rows, cols, bimg, step);
free(m);
}
#ifdef __cplusplus
}
#endif
```
|
/content/code_sandbox/bboxgenerator/dt.c
|
c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,294
|
```objective-c
#ifndef DT_H
#define DT_H
#ifdef __cplusplus
extern "C" {
#endif
void dt(double *m, int rows, int cols);
void dt_binary(unsigned char *bimg, int rows, int cols, int step);
void dt_gray(unsigned char *gray, int rows, int cols, int step);
#ifdef __cplusplus
}
#endif
#endif
```
|
/content/code_sandbox/bboxgenerator/dt.h
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 77
|
```c++
/*
----------------------------------------
Using Heat map as the foreground input of
the grabcut.
Update:
0. output the biggest bounding box
1. expose the two thresholding value to the command line.
----------------------------------------
*/
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <vector>
using namespace cv;
using std::vector;
static int g_th0 = 10;
static int g_th1 = 40;
/*
----------------------------------------
Using the simplest thresholding to get the foreground.
----------------------------------------
*/
static Mat
foreground(const Mat &heatmap)
{
Mat bm;
Mat re = heatmap.clone();
re.setTo(GC_BGD);
threshold(heatmap, bm, g_th0, 255, THRESH_BINARY);
re.setTo(GC_PR_BGD, bm);
threshold(heatmap, bm, g_th1, 255, THRESH_BINARY);
re.setTo(GC_PR_FGD, bm);
return re;
}
static Mat
cut(const Mat &src, const Mat &heatmap)
{
Mat mask = foreground(heatmap);
Mat bgModel,fgModel;
grabCut(src, mask, Rect(), bgModel,fgModel, 1, cv::GC_INIT_WITH_MASK);
Mat1b mask_fgpf = ( mask == cv::GC_FGD) | (mask == cv::GC_PR_FGD);
Mat3b tmp = Mat3b::zeros(src.rows, src.cols);
src.copyTo(tmp, mask_fgpf);
return tmp;
}
/*
----------------------------------------
The same with cut_mask, but save the segmented image
----------------------------------------
*/
static Mat
cut_mask_save(const Mat &src, const Mat &heatmap, const char *dstname)
{
Mat mask = foreground(heatmap);
Mat bgModel,fgModel;
grabCut(src, mask, Rect(), bgModel,fgModel, 1, cv::GC_INIT_WITH_MASK);
Mat mask_fgpf = (mask == cv::GC_FGD) | (mask == cv::GC_PR_FGD);
Mat tmp = Mat3b::zeros(src.rows, src.cols);
src.copyTo(tmp, mask_fgpf);
imwrite(dstname, tmp);
return mask_fgpf;
}
/*
----------------------------------------
cut, return the mask.
----------------------------------------
*/
static Mat
cut_mask(const Mat &src, const Mat &heatmap)
{
Mat mask = foreground(heatmap);
Mat bgModel,fgModel;
grabCut(src, mask, Rect(), bgModel,fgModel, 1, cv::GC_INIT_WITH_MASK);
return ( mask == cv::GC_FGD) | (mask == cv::GC_PR_FGD);
}
static bool
rect_cmp(const Rect& a, const Rect& b)
{
return a.area()> b.area();
}
static vector<Rect>
bbox(Mat &mask)
{
vector<Rect> rs;
vector< vector<Point> >contours;
vector<Vec4i> hie;
findContours(mask, contours, hie, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
for (int j = 0; j < contours.size(); ++j)
{
const Rect bb = boundingRect( contours[j] );
if (bb.area() > 10)
{
rs.push_back(bb);
}
}
if (rs.size() == 0)
{
rs.push_back(Rect(0,0,mask.cols, mask.rows));
return rs;
}
sort(rs.begin(), rs.end(), rect_cmp);
return rs;
}
static void
output(const vector<Rect> &rs, const char *filen)
{
FILE *fp = fopen(filen, "w");
assert(fp != NULL);
for (int i = 0; i < rs.size(); ++i)
{
fprintf(fp, "%d %d %d %d ", rs[i].x, rs[i].y, rs[i].width, rs[i].height);
}
fclose(fp);
return ;
}
int
main(int argc, char *argv[])
{
if (argc != 4 && argc != 6 && argc != 7)
{
puts(">>./cut sample.jpg heat.jpg output.txt\nor");
puts(">>./cut sample.jpg heat.jpg output.txt th1[=10] th2[=40]\nor");
puts(">>./cut sample.jpg heat.jpg output.txt th1[=10] th2[=40] save_image_name.jpg");
return 0;
}
if (argc == 6)
{
int t0 = atoi(argv[4]);
int t1 = atoi(argv[5]);
if (0 <= t0 && t0 < t1 && t1 <= 255)
{
g_th0 = t0;
g_th1 = t1;
}
}
Mat src = imread(argv[1], 1);
Mat heat = imread(argv[2], 0);
Mat m;
if (argc == 7)
m = cut_mask_save(src, heat, argv[6]);
else
m = cut_mask(src, heat);
vector<Rect> bbs = bbox(m);
output(bbs, argv[3]);
//rectangle(src, box, Scalar(0,0,255));
//imwrite(argv[3], src);
//imshow("result", src);
//waitKey(0);
return 0;
}
```
|
/content/code_sandbox/bboxgenerator/gc.cpp
|
c++
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,154
|
```unknown
all: cut dt_box
cut:
g++ -g -O3 gc.cpp -o cut `pkg-config --libs opencv` -lm
dt_box:
g++ -g -O3 dt.c dt_box.cpp -o dt_box `pkg-config --libs opencv` -lm
.PHONY: clean
clean:
rm cut dt_box
```
|
/content/code_sandbox/bboxgenerator/Makefile
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 75
|
```objective-c
%this script demos the usage of evaluation routines
% the result file 'demo.val.pred.txt' on validation data is evaluated
% against the ground truth
fprintf('CLASSIFICATION WITH LOCALIZATION TASK\n');
meta_file = '../data/meta_clsloc.mat';
%pred_file='demo.val.pred.loc.txt';
%pred_file='/data/vision/torralba/deeplearning/visualization/prediction_imagenetValSet_imagenetCNNaveSumDeep.txt'
pred_file='/data/vision/torralba/deeplearning/visualization/prediction_imagenetValSet_googlenet_imagenet.txt'
ground_truth_file='../data/ILSVRC2014_clsloc_validation_ground_truth.txt';
blacklist_file='../data/ILSVRC2014_clsloc_validation_blacklist.txt';
num_predictions_per_image=5;
optional_cache_file = 'cache_groundtruth.mat';
fprintf('pred_file: %s\n', pred_file);
fprintf('ground_truth_file: %s\n', ground_truth_file);
fprintf('blacklist_file: %s\n', blacklist_file);
if isempty(optional_cache_file)
fprintf(['NOTE: you can specify a cache filename and the ground ' ...
'truth data will be automatically cached to save loading time ' ...
'in the future\n']);
end
% num_val_files = -1;
% while num_val_files ~= 50000
% if num_val_files ~= -1
% fprintf('That does not seem to be the correct directory. Please try again\n');
% end
% %ground_truth_dir=input('Please enter the path to the Validation bounding box annotations directory: ', 's');
ground_truth_dir='/data/vision/torralba/deeplearning/imagenet_toolkit/val_bbox';
% %fprintf('ground_truth_dir: %s\n', ground_truth_dir);
% val_files = dir(sprintf('%s/*.xml',ground_truth_dir));
% num_val_files = numel(val_files);
% end
error_cls = zeros(num_predictions_per_image,1);
error_loc = zeros(num_predictions_per_image,1);
for i=1:num_predictions_per_image
[error_cls(i) error_loc(i)] = eval_clsloc(pred_file,ground_truth_file,ground_truth_dir,...
meta_file,i, blacklist_file,optional_cache_file);
end
disp('# guesses vs clsloc error vs cls-only error');
disp([(1:num_predictions_per_image)',error_loc,error_cls]);
%% Result: alexFullConv network
% # guesses vs clsloc error vs cls-only error
% 1.0000 0.7461 0.5077
% 2.0000 0.6859 0.3841
% 3.0000 0.6569 0.3209
% 4.0000 0.6401 0.2835
% 5.0000 0.6270 0.2556
%% Result: googleNet_imagenet
% # guesses vs clsloc error vs cls-only error
% 1.0000 0.6691 0.3450
% 2.0000 0.6158 0.2294
% 3.0000 0.5937 0.1786
% 4.0000 0.5813 0.1503
% 5.0000 0.5734 0.1314
```
|
/content/code_sandbox/evaluation/demo_eval_clsloc.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 748
|
```c++
/*
----------------------------------------
Given an heatmap, given out the bbox.
0. Get the DT-ed images
1. detect all contour in the bboxes
2. merge based on some rules.
3. output the bbox
----------------------------------------
*/
#include <stdio.h>
#include "dt.h"
#include <vector>
#include <algorithm>
#include <opencv2/opencv.hpp>
#include <assert.h>
using namespace cv;
using std::vector;
#define SCALE_NUM 3
struct Data
{
Data() : size(SCALE_NUM)
{
for (int i = 0; i < SCALE_NUM; ++i)
{
images[i] = NULL;
}
}
~Data()
{
for (int i = 0; i < SCALE_NUM; ++i)
{
if (images[i])
{
cvReleaseImage(&(images[i]));
images[i] = NULL;
}
}
}
int size;
IplImage *images[SCALE_NUM];
};
static int g_Ths[SCALE_NUM] = {30, 90, 150};
static Data *
fromDT(const IplImage *gray)
{
Data *data = new Data;
for (int i = 0; i < data->size; ++i)
{
data->images[i] = cvCreateImage(cvGetSize(gray), 8, 1);
cvThreshold(gray, data->images[i], g_Ths[i], 255, CV_THRESH_BINARY);
dt_binary((unsigned char*)data->images[i]->imageData, data->images[i]->height, data->images[i]->width, data->images[i]->widthStep);
cvThreshold(data->images[i], data->images[i], 10, 255, CV_THRESH_BINARY);
}
return data;
}
static int
LIMIT(int v, int L, int R)
{
return v < L ? L : (v > R ? R : v);
}
static vector<CvRect>
getBBox(struct Data *data)
{
vector<CvRect> bboxes;
const int W = data->images[0]->width;
const int H = data->images[0]->height;
for (int i = 0; i < data->size; ++i)
{
cv::Mat a = cv::cvarrToMat(data->images[i]);
vector< vector<cv::Point> >contours;
vector<cv::Vec4i> hie;
cv::findContours(a, contours, hie, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
for (int j = 0; j < contours.size(); ++j)
{
cv::Rect bb = cv::boundingRect( contours[j] );
CvRect cr;
cr.x = LIMIT(bb.x, 0, W-5);
cr.y = LIMIT(bb.y, 0, H-5);
cr.width = LIMIT(bb.width, 0, W - bb.x-5);
cr.height = LIMIT(bb.height, 0, H-bb.y-5);
//printf("%d, %d, %d, %d\n", W, H, cr.width, cr.height);
bboxes.push_back(cr);
}
}
return bboxes;
}
/*
----------------------------------------
x_overlap = Math.max(0, Math.min(x12,x22) - Math.max(x11,x21));
y_overlap = Math.max(0, Math.min(y12,y22) - Math.max(y11,y21));
overlapArea = x_overlap * y_overlap;
----------------------------------------
*/
static bool
big_overlap(const CvRect &a, const CvRect &b)
{
int t = (double)std::max(a.width * a.height, b.width * b.height) * 0.5;
int x11, y11, x12, y12, x21, y21, x22, y22;
x11 = a.x;
y11 = a.y;
x12 = a.x + a.width;
y12 = a.y + a.height;
x21 = b.x;
y21 = b.y;
x22 = b.x + b.width;
y22 = b.y + b.height;
int x_overlap = std::max(0, std::min(x12,x22) - std::max(x11,x21));
int y_overlap = std::max(0, std::min(y12,y22) - std::max(y11,y21));
int overlapArea = x_overlap * y_overlap;
return overlapArea > t;
}
/*
----------------------------------------
1. Overlap > max(area(A), area(B)) * 0.5
0. rank BB
1. from big to small:
----------------------------------------
*/
static void
mergeBBox(vector<CvRect> &bboxes)
{
for (int i = 0; i < bboxes.size(); ++i)
{
for (int j = i + 1; j < bboxes.size(); ++j)
{
if (big_overlap(bboxes[i], bboxes[j]))
{
// remove small one
bboxes.erase(bboxes.begin() + j);
}
}
}
return ;
}
static bool
my_cmp(const CvRect& a, const CvRect& b)
{
return a.width * a.height > b.width * b.height;
}
static void
rankBBox(vector<CvRect> &bboxes)
{
std::sort(bboxes.begin(), bboxes.end(), my_cmp);
}
static void
draw(const vector<CvRect> &rects, const char *iname)
{
IplImage *img = cvLoadImage(iname, 1);
const CvScalar color = cvScalar(0,0,255,0);
for (int i = 0; i < rects.size(); ++i)
{
CvRect r = rects[i];
cvRectangle(img, cvPoint(r.x, r.y), cvPoint(r.x + r.width, r.y + r.height), color, 3, 8, 0);
}
cvNamedWindow("draw", 1);
cvShowImage("draw", img);
cvWaitKey(0);
cvReleaseImage(&img);
}
static void
output(const vector<CvRect> &rects, const char *filen)
{
FILE *fp = fopen(filen, "w");
assert(fp != NULL);
for (int i = 0; i < rects.size(); ++i)
{
fprintf(fp, "%d %d %d %d ", rects[i].x, rects[i].y, rects[i].width, rects[i].height);
}
fclose(fp);
return ;
}
static void
output(const vector<CvRect> &rects)
{
for (int i = 0; i < rects.size(); ++i)
{
printf("%d %d %d %d ", rects[i].x, rects[i].y, rects[i].width, rects[i].height);
}
printf("\n");
}
int
main(int argc, char *argv[])
{
if (argc != 5 && argc != 6)
{
puts(">>>./program image.jpg th0 th1 th2\nor");
puts(">>>./program image.jpg th0 th1 th2 output.txt");
return -1;
}
IplImage *gray = cvLoadImage(argv[1], 0);
if (!gray)
{
puts("Can not open image, dude!\n");
}
// set the thresholds
{
int t0, t1, t2;
t0 = atoi(argv[2]);
t1 = atoi(argv[3]);
t2 = atoi(argv[4]);
if (0 < t0 && t0 < t1 && t1 < t2 && t2 < 255)
{
g_Ths[0] = t0;
g_Ths[1] = t1;
g_Ths[2] = t2;
}
}
Data *data = fromDT(gray);
vector<CvRect> rects = getBBox(data);
rankBBox(rects);
mergeBBox(rects);
//if (argc == 4)
// draw(rects, argv[3]);
if (argc == 6)
output(rects, argv[5]);
else
output(rects);
delete data;
cvReleaseImage(&gray);
return 0;
}
```
|
/content/code_sandbox/bboxgenerator/dt_box.cpp
|
c++
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,825
|
```objective-c
% this script demos the usage of evaluation routines for detection task
% the result file 'demo.val.pred.det.txt' on validation data is evaluated
% against the ground truth
fprintf('DETECTION TASK\n');
pred_file='demo.val.pred.det.txt';
meta_file = '../data/meta_det.mat';
eval_file = '../data/det_lists/val.txt';
blacklist_file = '../data/ILSVRC2014_det_validation_blacklist.txt';
optional_cache_file = '';
gtruth_directory = '';
fprintf('pred_file: %s\n', pred_file);
fprintf('meta_file: %s\n', meta_file);
fprintf('eval_file: %s\n', eval_file);
fprintf('blacklist_file: %s\n', blacklist_file);
if isempty(optional_cache_file)
fprintf(['NOTE: you can specify a cache filename and the ground ' ...
'truth data will be automatically cached to save loading time ' ...
'in the future\n']);
end
while isempty(gtruth_directory)
g_dir = input(['Please enter the path to the Validation bounding box ' ...
'annotations directory: '],'s');
d = dir(sprintf('%s/*val*.xml',g_dir));
if length(d) == 0
fprintf(['does not seem to be the correct directory, please ' ...
'try again\n']);
else
gtruth_directory = g_dir;
end
end
[ap recall precision] = eval_detection(pred_file,gtruth_directory,meta_file,eval_file,blacklist_file,optional_cache_file);
load(meta_file);
fprintf('-------------\n');
fprintf('Category\tAP\n');
for i=[1:5 196:200]
s = synsets(i).name;
if length(s) < 8
fprintf('%s\t\t%0.3f\n',s,ap(i));
else
fprintf('%s\t%0.3f\n',s,ap(i));
end
if i == 5
fprintf(' ... (190 categories)\n');
end
end
fprintf(' - - - - - - - - \n');
fprintf('Mean AP:\t %0.3f\n',mean(ap));
fprintf('Median AP:\t %0.3f\n',median(ap));
```
|
/content/code_sandbox/evaluation/demo_eval_det.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 471
|
```objective-c
function [cls_error clsloc_error] = eval_clsloc ( predict_file, gtruth_file, gtruth_dir, ...
meta_file, max_num_pred_per_image, ...
blacklist_file, optional_cache_file )
% Evaluate flat localization error
% - predict_file: each line is the predicted labels ( must be positive
% integers, seperated by white spaces ) followed by the detected location
% of that object for one image, sorted by confidence in descending order.
% <label(1)> <xmin(1)> <ymin(1)> <xmax(1)> <ymax(1)> <label(2)> <xmin(2)> <ymin(2)> <xmax(2)> <ymax(2)> ....
% The number of labels per line can vary, but not
% more than max_num_pred_per_image ( extra labels are ignored ).
% - gtruth_file: each line is the ground truth labels for the class
% - gtruth_dir: a path to the directory of ground truth information,
% e.g., ILSVRC2013_CLSLOC_bbox_val/
% - meta_file: information about the synsets
% - max_num_pred_per_image: default is 5 predictions
% - blacklist_file: list of images which aren't considered in evaluation
% considered in evaluation
% - optional_cache_file: to save the ground truth data and avoid
% loading from scratch again
if nargin < 4
meta_file = '../data/meta_clsloc.mat';
end
if nargin < 5
max_num_pred_per_image = 5;
end
if nargin < 6
blacklist_file = '../data/ILSVRC2013_clsloc_validation_blacklist.txt';
end
if nargin < 7
optional_cache_file = '';
end
bEvalLoc = nargout > 1;
bLoadXML = bEvalLoc;
if bEvalLoc && ~isempty(optional_cache_file) && exist(optional_cache_file,'file')
% fprintf('eval_clsloc :: loading cached ground truth\n');
% t = tic;
load(optional_cache_file);
% fprintf('eval_clsloc :: loading cached ground truth took %0.1f seconds\n',toc(t));
bLoadXML = false;
end
if bLoadXML
% fprintf('eval_clsloc :: loading ground truth\n');
% t = tic;
load (meta_file);
hash = make_hash(synsets);
% tic
gt = dir(sprintf('%s/*.xml',gtruth_dir));
for i=1:length(gt)
if toc > 60
% fprintf(' :: on %i of %i\n',...
% i,length(gt));
% tic;
end
filename = gt(i).name;
r = VOCreadrecxml(sprintf('%s/%s',gtruth_dir,filename),hash);
objs = rmfield(r.objects,{'class','bndbox'});
rec(i).objects = objs;
end
% fprintf(['eval_clsloc :: loading ground truth took %0.1f seconds\n'],toc(t));
if ~isempty(optional_cache_file)
% fprintf('eval_clsloc :: saving cache in %s\n',optional_cache_file);
save(optional_cache_file,'rec');
end
end
pred = dlmread(predict_file);
gt_labels = dlmread(gtruth_file);
n = size(gt_labels,2);
%% extra labels are ignored
if size(pred,2) > max_num_pred_per_image*5
pred = pred(:,1:max_num_pred_per_image*5);
end
assert(size(pred,1)==size(gt_labels,1));
num_guesses = size(pred,2)/5;
pred_labels = pred(:,1:5:end);
%pred_bbox = zeros(size(pred,1), num_guesses, 4);
%for i=1:5:size(pred,2)
% pred_labels = [ pred_labels, pred(:,i) ];
% for j=1:size(pred,1)
% pred_bbox(j,ceil(i/5),:) = pred(j,i+1:i+4);
% end
%end
% compute classification error
c = zeros(size(pred_labels,1),1);
for j=1:size(gt_labels,2) %for each ground truth label
x = gt_labels(:,j) * ones(1,size(pred_labels,2));
c = c + min( x ~= pred_labels, [], 2);
end
n = sum(gt_labels~=0,2);
cls_error = sum(c./n)/size(pred_labels,1);
if ~bEvalLoc
loc_error = 0;
return;
end
% compute localization error
blacklist = [];
blacklist_size = 0;
if exist('blacklist_file','var') && exist(blacklist_file,'file')
blacklist = dlmread(blacklist_file);
blacklist_size = length(blacklist);
fprintf('eval_clsloc :: blacklisted %i images\n',blacklist_size);
else
fprintf('eval_clsloc :: no blacklist\n');
end
blacklist_mask = zeros(size(gt_labels,1), 1);
blacklist_mask(blacklist) = 1;
t = tic;
e = zeros(size(pred_labels,1),1);
for i=1:size(pred,1)
if toc(t) > 60
fprintf(' eval_clsloc :: on %i of %i\n',i, ...
size(pred,1));
t = tic;
end
e(i) = 0;
if blacklist_mask(i) > 0
continue
end
for k=1:n % sum
for j=1:num_guesses % min
d_jk = (gt_labels(i,k) ~= pred_labels(i,j));
if d_jk == 0
box = pred(i,(j-1)*5+1+(1:4)); % j^th predicted box
ov_vector = compute_overlap(box,rec(i),gt_labels(i,k));
f_j = ( ov_vector < 0.50 );
else
f_j = 1;
end
d_jk = ones(1,numel(f_j)) * d_jk;
d(i,j) = min( max([f_j;d_jk]) );
end
e(i) = e(i) + min(d(i,:)); %% min over j
end
end
clsloc_error = sum(e./n)/(size(pred_labels,1) - blacklist_size);
```
|
/content/code_sandbox/evaluation/eval_clsloc.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,388
|
```objective-c
load('cache_groundtruth.mat');
load('/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/data/meta_clsloc.mat');
datasetName = 'ValSet';
datasetPath = '/data/vision/torralba/gigaSUN/deeplearning/dataset/ILSVRC2012';
load([datasetPath '/imageListVal.mat']);
ground_truth_file='../data/ILSVRC2014_clsloc_validation_ground_truth.txt';
gt_labels = dlmread(ground_truth_file);
categories = [];
for i=1:numel(synsets)
categories{synsets(i).ILSVRC2014_ID,1} = synsets(i).words;
categories{synsets(i).ILSVRC2014_ID,2} = synsets(i).WNID;
end
% figure
% for i=1:10
% %curClassIDX = find(cell2mat(imageList(:,2))==i);
% curClassIDX = find(gt_labels==i);
% for j=1:10
% imshow(imageList{curClassIDX(j),1});
% waitforbuttonpress
% end
% end
nImgs = 50000;
for i=1:nImgs
[a b c] = fileparts(imageList{i,1});
curPath = ['/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2012_img_val/' b c];
curImg = imread(curPath);
curObjects = rec(i);
imshow(curImg);
for j=1:numel(curObjects.objects)
curObjectID = curObjects.objects(1,j).label;
bbox = curObjects.objects(1,j).bbox;
rectangle('Position',[bbox(1) bbox(2) bbox(3)-bbox(1) bbox(4)-bbox(2)]);
text(bbox(1), bbox(2),categories{curObjectID},'BackgroundColor',[.7 .9 .7])
end
waitforbuttonpress
end
```
|
/content/code_sandbox/evaluation/showLocalizationGT.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 437
|
```objective-c
function class_str2node = get_class2node(hash,wnid)
class_str2node = hash.get(wnid);
end
```
|
/content/code_sandbox/evaluation/get_class2node.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 30
|
```objective-c
function ov_vector = compute_overlap(bb,gt_bbox,gt_label)
ov_vector = [];
for j=1:numel(gt_bbox.objects)
assert( ~isempty(gt_bbox.objects(j).label))
if( gt_label ~= 1001 && gt_bbox.objects(j).label ~= gt_label )
continue;
end
bbgt = gt_bbox.objects(j).bbox;
bi=[max(bb(1),bbgt(1)) max(bb(2),bbgt(2)) min(bb(3),bbgt(3)) min(bb(4),bbgt(4))];
iw=bi(3)-bi(1)+1;
ih=bi(4)-bi(2)+1;
ov = -1;
if iw>0 & ih>0
% compute overlap as area of intersection / area of union
ua=(bb(3)-bb(1)+1)*(bb(4)-bb(2)+1)+...
(bbgt(3)-bbgt(1)+1)*(bbgt(4)-bbgt(2)+1)-...
iw*ih;
ov=iw*ih/ua;
end
ov_vector = [ ov_vector ov ];
end
end
```
|
/content/code_sandbox/evaluation/compute_overlap.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 263
|
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge
function rec = VOCreadxml(path)
if length(path)>5&&strcmp(path(1:5),'http:')
xml=urlread(path)';
else
f=fopen(path,'r');
xml=fread(f,'*char')';
fclose(f);
end
rec=VOCxml2struct(xml);
```
|
/content/code_sandbox/evaluation/VOCreadxml.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 84
|
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge, with minor modifications for ILSVRC2013
function rec = VOCreadrecxml(path,hash)
x=VOCreadxml(path);
x=x.annotation;
rec.folder=x.folder;
rec.filename=x.filename;
rec.source.database=x.source.database;
%% rec.source.annotation=x.source.annotation;
%% rec.source.image=x.source.image;
rec.size.width=str2double(x.size.width);
rec.size.height=str2double(x.size.height);
rec.imgname=[x.folder x.filename];
rec.imgsize=str2double({x.size.width x.size.height});
rec.database=rec.source.database;
if isfield(x,'object')
for i=1:length(x.object)
rec.objects(i)=xmlobjtopas(x.object(i),hash);
end
else
rec.objects = [];
end
function p = xmlobjtopas(o,hash)
p.class=o.name;
p.label= get_class2node( hash, p.class );
p.bbox=str2double({o.bndbox.xmin o.bndbox.ymin o.bndbox.xmax o.bndbox.ymax});
p.bndbox.xmin=str2double(o.bndbox.xmin);
p.bndbox.ymin=str2double(o.bndbox.ymin);
p.bndbox.xmax=str2double(o.bndbox.xmax);
p.bndbox.ymax=str2double(o.bndbox.ymax);
```
|
/content/code_sandbox/evaluation/VOCreadrecxml.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 308
|
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge
function ap = VOCap(rec,prec)
mrec=[0 ; rec ; 1];
mpre=[0 ; prec ; 0];
for i=numel(mpre)-1:-1:1
mpre(i)=max(mpre(i),mpre(i+1));
end
i=find(mrec(2:end)~=mrec(1:end-1))+1;
ap=sum((mrec(i)-mrec(i-1)).*mpre(i));
```
|
/content/code_sandbox/evaluation/VOCap.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 118
|
```objective-c
function dict = make_hash(synsets)
dict = java.util.Hashtable;
for i = 1:numel(synsets)
dict.put(synsets(i).WNID, i);
end
```
|
/content/code_sandbox/evaluation/make_hash.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 42
|
```objective-c
% This code was originally written and distributed as part of the
% PASCAL VOC challenge
function res = VOCxml2struct(xml)
xml(xml==9|xml==10|xml==13)=[];
[res,xml]=parse(xml,1,[]);
function [res,ind]=parse(xml,ind,parent)
res=[];
if ~isempty(parent)&&xml(ind)~='<'
i=findchar(xml,ind,'<');
res=trim(xml(ind:i-1));
ind=i;
[tag,ind]=gettag(xml,i);
if ~strcmp(tag,['/' parent])
error('<%s> closed with <%s>',parent,tag);
end
else
while ind<=length(xml)
[tag,ind]=gettag(xml,ind);
if strcmp(tag,['/' parent])
return
else
[sub,ind]=parse(xml,ind,tag);
if isstruct(sub)
if isfield(res,tag)
n=length(res.(tag));
fn=fieldnames(sub);
for f=1:length(fn)
res.(tag)(n+1).(fn{f})=sub.(fn{f});
end
else
res.(tag)=sub;
end
else
if isfield(res,tag)
if ~iscell(res.(tag))
res.(tag)={res.(tag)};
end
res.(tag){end+1}=sub;
else
res.(tag)=sub;
end
end
end
end
end
function i = findchar(str,ind,chr)
i=[];
while ind<=length(str)
if str(ind)==chr
i=ind;
break
else
ind=ind+1;
end
end
function [tag,ind]=gettag(xml,ind)
if ind>length(xml)
tag=[];
elseif xml(ind)=='<'
i=findchar(xml,ind,'>');
if isempty(i)
error('incomplete tag');
end
tag=xml(ind+1:i-1);
ind=i+1;
else
error('expected tag');
end
function s = trim(s)
for i=1:numel(s)
if ~isspace(s(i))
s=s(i:end);
break
end
end
for i=numel(s):-1:1
if ~isspace(s(i))
s=s(1:i);
break
end
end
```
|
/content/code_sandbox/evaluation/VOCxml2struct.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 524
|
```objective-c
% this code is inspired by VOCevaldet in the PASVAL VOC devkit
% Note: this function has been significantly optimized since ILSVRC2013
function [ap recall precision] = eval_detection(predict_file,gtruth_dir,meta_file,...
eval_file,blacklist_file,optional_cache_file)
% Evaluate detection
% - predict_file: each line is a single predicted object in the
% format
% <image_id> <ILSVRC2014_DET_ID> <confidence> <xmin> <ymin> <xmax> <ymax>
% - gtruth_dir: a path to the directory of ground truth information,
% e.g., ILSVRC2014_DET_bbox_val/
% - meta_file: information about the synsets
% - eval_file: list of images to evaluate on
% - blacklist_file: list of image/category pairs which aren't
% considered in evaluation
% - optional_cache_file: to save the ground truth data and avoid
% loading from scratch again
if nargin < 3
meta_file = '../data/meta_det.mat';
end
if nargin < 4
eval_file = '../data/det_lists/val.txt';
end
if nargin < 5
blacklist_file = '../data/ILSVRC2014_det_validation_blacklist.txt';
end
if nargin < 6
optional_cache_file = '';
end
defaultIOUthr = 0.5;
pixelTolerance = 10;
load(meta_file);
hash = make_hash(synsets);
bLoadXML = true;
if ~isempty(optional_cache_file) && exist(optional_cache_file,'file')
fprintf('eval_detection :: loading cached ground truth\n');
t = tic;
load(optional_cache_file);
fprintf('eval_detection :: loading cached ground truth took %0.1f seconds\n',toc(t));
if exist('gt_obj_img_ids','var')
fprintf(['eval_detection :: loaded cache from 2014, ' ...
'recomputing\n']);
else
bLoadXML = false;
end
end
if bLoadXML
fprintf('eval_detection :: loading ground truth\n');
t = tic;
[img_basenames gt_img_ids] = textread(eval_file,'%s %d');
num_imgs = length(img_basenames);
gt_obj_labels = cell(1,num_imgs);
gt_obj_bboxes = cell(1,num_imgs);
gt_obj_thr = cell(1,num_imgs);
num_pos_per_class = [];
tic
for i=1:num_imgs
if toc > 60
fprintf(' :: on %i of %i\n',...
i,num_imgs);
tic;
end
rec = VOCreadxml(sprintf('%s/%s.xml',gtruth_dir, ...
img_basenames{i}));
if ~isfield(rec.annotation,'object')
continue;
end
for j=1:length(rec.annotation.object)
obj = rec.annotation.object(j);
c = get_class2node(hash, obj.name);
gt_obj_labels{i}(j) = c;
if length(num_pos_per_class) < c
num_pos_per_class(c) = 1;
else
num_pos_per_class(c) = num_pos_per_class(c) + 1;
end
b = obj.bndbox;
bb = str2double({b.xmin b.ymin b.xmax b.ymax});
gt_obj_bboxes{i}(:,j) = bb;
end
bb = gt_obj_bboxes{i};
gt_w = bb(4,:)-bb(2,:)+1;
gt_h = bb(3,:)-bb(1,:)+1;
thr = (gt_w.*gt_h)./((gt_w+pixelTolerance).*(gt_h+pixelTolerance));
gt_obj_thr{i} = min(defaultIOUthr,thr);
end
fprintf('eval_detection :: loading ground truth took %0.1f seconds\n',toc(t));
if ~isempty(optional_cache_file)
fprintf('eval_detection :: saving cache in %s\n',optional_cache_file);
save(optional_cache_file,'gt_img_ids','gt_obj_labels',...
'gt_obj_bboxes','gt_obj_thr','num_pos_per_class');
end
end
blacklist_img_id = [];
blacklist_label = [];
if ~isempty(blacklist_file) && exist(blacklist_file,'file')
[blacklist_img_id wnid] = textread(blacklist_file,'%d %s');
blacklist_label = zeros(length(wnid),1);
for i=1:length(wnid)
blacklist_label(i) = get_class2node(hash,wnid{i});
end
fprintf('eval_detection :: blacklisted %i image/object pairs\n',length(blacklist_label));
else
fprintf('eval_detection :: no blacklist\n');
end
fprintf('eval_detection :: loading predictions\n');
t = tic;
[img_ids obj_labels obj_confs xmin ymin xmax ymax] = ...
textread(predict_file,'%d %d %f %f %f %f %f');
obj_bboxes = [xmin ymin xmax ymax]';
fprintf('eval_detection :: loading predictions took %0.1f seconds\n',toc(t));
fprintf('eval_detection :: sorting predictions\n');
t = tic;
[img_ids ind] = sort(img_ids);
obj_confs = obj_confs(ind);
obj_labels = obj_labels(ind);
obj_bboxes = obj_bboxes(:,ind);
num_imgs = max(max(gt_img_ids),max(img_ids));
obj_labels_cell = cell(1,num_imgs);
obj_confs_cell = cell(1,num_imgs);
obj_bboxes_cell = cell(1,num_imgs);
start_i = 1;
id = img_ids(1);
tic
for i=1:length(img_ids)
if toc > 60
fprintf(' :: on %0.2fM of %0.2fM\n',...
i/10^6,length(img_ids)/10^6);
tic
end
if (i == length(img_ids)) || (img_ids(i+1) ~= id)
% i is the last element of this group
obj_labels_cell{id} = obj_labels(start_i:i)';
obj_confs_cell{id} = obj_confs(start_i:i)';
obj_bboxes_cell{id} = obj_bboxes(:,start_i:i);
if i < length(img_ids)
% start next group
id = img_ids(i+1);
start_i = i+1;
end
end
end
for i=1:num_imgs
[obj_confs_cell{i} ind] = sort(obj_confs_cell{i},'descend');
obj_labels_cell{i} = obj_labels_cell{i}(ind);
obj_bboxes_cell{i} = obj_bboxes_cell{i}(:,ind);
end
tp_cell = cell(1,num_imgs);
fp_cell = cell(1,num_imgs);
fprintf('eval_detection :: sorting predictions took %0.1f seconds\n', ...
toc(t));
fprintf('eval_detection :: accumulating\n');
num_classes = length(num_pos_per_class);
t = tic;
tic;
% iterate over images
for i=1:length(gt_img_ids)
if toc > 60
fprintf(' :: on %i of %i\n',...
i,length(gt_img_ids));
tic;
end
id = gt_img_ids(i);
gt_labels = gt_obj_labels{i};
gt_bboxes = gt_obj_bboxes{i};
gt_thr = gt_obj_thr{i};
num_gt_obj = length(gt_labels);
gt_detected = zeros(1,num_gt_obj);
bSameImg = blacklist_img_id == id;
blacklisted_obj = blacklist_label(bSameImg);
labels = obj_labels_cell{id};
bboxes = obj_bboxes_cell{id};
num_obj = length(labels);
tp = zeros(1,num_obj);
fp = zeros(1,num_obj);
for j=1:num_obj
if any(labels(j) == blacklisted_obj)
continue; % just ignore this detection
end
bb = bboxes(:,j);
ovmax = -inf;
kmax = -1;
for k=1:num_gt_obj
if labels(j) ~= gt_labels(k)
continue;
end
if gt_detected(k) > 0
continue;
end
bbgt = gt_bboxes(:,k);
bi=[max(bb(1),bbgt(1)) ; max(bb(2),bbgt(2)) ; min(bb(3),bbgt(3)) ; min(bb(4),bbgt(4))];
iw=bi(3)-bi(1)+1;
ih=bi(4)-bi(2)+1;
if iw>0 & ih>0
% compute overlap as area of intersection / area of union
ua=(bb(3)-bb(1)+1)*(bb(4)-bb(2)+1)+...
(bbgt(3)-bbgt(1)+1)*(bbgt(4)-bbgt(2)+1)-...
iw*ih;
ov=iw*ih/ua;
% makes sure that this object is detected according
% to its individual threshold
if ov >= gt_thr(k) && ov > ovmax
ovmax=ov;
kmax=k;
end
end
end
if kmax > 0
tp(j) = 1;
gt_detected(kmax) = 1;
else
fp(j) = 1;
end
end
% put back into global vector
tp_cell{id} = tp;
fp_cell{id} = fp;
for k=1:num_gt_obj
label = gt_labels(k);
% remove blacklisted objects from consideration as positive examples
if any(label == blacklisted_obj)
num_pos_per_class(label) = num_pos_per_class(label)-1;
end
end
end
fprintf('eval_detection :: accumulating took %0.1f seconds\n', ...
toc(t));
fprintf('eval_detection :: computing ap\n');
t = tic;
tp_all = [tp_cell{:}];
fp_all = [fp_cell{:}];
obj_labels = [obj_labels_cell{:}];
confs = [obj_confs_cell{:}];
[confs ind] = sort(confs,'descend');
tp_all = tp_all(ind);
fp_all = fp_all(ind);
obj_labels = obj_labels(ind);
for c=1:num_classes
% compute precision/recall
tp = cumsum(tp_all(obj_labels==c));
fp = cumsum(fp_all(obj_labels==c));
recall{c}=(tp/num_pos_per_class(c))';
precision{c}=(tp./(fp+tp))';
ap(c) =VOCap(recall{c},precision{c});
end
fprintf('eval_detection :: computing ap took %0.1f seconds\n', ...
toc(t));
```
|
/content/code_sandbox/evaluation/eval_detection.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 2,339
|
```shell
#!/usr/bin/env bash
cd $(dirname $0)
curl -O path_to_url
```
|
/content/code_sandbox/models/download.sh
|
shell
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 20
|
```objective-c
function [error_clsSet, error_locSet] = simpleEvaluation(pred_input)
max_num_pred_per_imageBound = 5;
gtruth_dir='/data/vision/torralba/deeplearning/imagenet_toolkit/val_bbox';
meta_file = '/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/data/meta_clsloc.mat';
gtruth_file='/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/data/ILSVRC2014_clsloc_validation_ground_truth.txt';
blacklist_file='/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/data/ILSVRC2014_clsloc_validation_blacklist.txt';
optional_cache_file = '/data/vision/torralba/deeplearning/imagenet_toolkit/ILSVRC2014_devkit/evaluation/cache_groundtruth.mat';
bEvalLoc = nargout > 1;
bLoadXML = bEvalLoc;
if bEvalLoc && ~isempty(optional_cache_file) && exist(optional_cache_file,'file')
% fprintf('eval_clsloc :: loading cached ground truth\n');
t = tic;
load(optional_cache_file);
% fprintf('eval_clsloc :: loading cached ground truth took %0.1f seconds\n',toc(t));
bLoadXML = false;
end
if bLoadXML
% fprintf('eval_clsloc :: loading ground truth\n');
% t = tic;
load (meta_file);
hash = make_hash(synsets);
% tic
gt = dir(sprintf('%s/*.xml',gtruth_dir));
for i=1:length(gt)
% if toc > 60
% fprintf(' :: on %i of %i\n',...
% i,length(gt));
% tic;
% end
filename = gt(i).name;
r = VOCreadrecxml(sprintf('%s/%s',gtruth_dir,filename),hash);
objs = rmfield(r.objects,{'class','bndbox'});
rec(i).objects = objs;
end
% fprintf(['eval_clsloc :: loading ground truth took %0.1f seconds\n'],toc(t));
if ~isempty(optional_cache_file)
% fprintf('eval_clsloc :: saving cache in %s\n',optional_cache_file);
save(optional_cache_file,'rec');
end
end
%pred = dlmread(predict_file);
% for i=1:num_predictions_per_image
% [error_cls(i) error_loc(i)] = eval_clsloc(pred_file,ground_truth_file,ground_truth_dir,...
% meta_file,i, blacklist_file,optional_cache_file);
% end
%
% disp('# guesses vs clsloc error vs cls-only error');
% disp([(1:num_predictions_per_image)',error_loc,error_cls]);
error_clsSet = zeros(max_num_pred_per_imageBound,1);
error_locSet = zeros(max_num_pred_per_imageBound,1);
for max_num_pred_per_image = 1:max_num_pred_per_imageBound
pred = pred_input;
gt_labels = dlmread(gtruth_file);
n = size(gt_labels,2);
%% extra labels are ignored
if size(pred_input,2) > max_num_pred_per_image*5
pred = pred_input(:,1:max_num_pred_per_image*5);
end
assert(size(pred,1)==size(gt_labels,1));
num_guesses = size(pred,2)/5;
pred_labels = pred(:,1:5:end);
%pred_bbox = zeros(size(pred,1), num_guesses, 4);
%for i=1:5:size(pred,2)
% pred_labels = [ pred_labels, pred(:,i) ];
% for j=1:size(pred,1)
% pred_bbox(j,ceil(i/5),:) = pred(j,i+1:i+4);
% end
%end
% compute classification error
c = zeros(size(pred_labels,1),1);
for j=1:size(gt_labels,2) %for each ground truth label
x = gt_labels(:,j) * ones(1,size(pred_labels,2));
c = c + min( x ~= pred_labels, [], 2);
end
n = sum(gt_labels~=0,2);
cls_error = sum(c./n)/size(pred_labels,1);
error_clsSet(max_num_pred_per_image) = cls_error;
if ~bEvalLoc
loc_error = 0;
return;
end
% compute localization error
blacklist = [];
blacklist_size = 0;
if exist('blacklist_file','var') && exist(blacklist_file,'file')
blacklist = dlmread(blacklist_file);
blacklist_size = length(blacklist);
% fprintf('eval_clsloc :: blacklisted %i images\n',blacklist_size);
else
% fprintf('eval_clsloc :: no blacklist\n');
end
blacklist_mask = zeros(size(gt_labels,1), 1);
blacklist_mask(blacklist) = 1;
t = tic;
e = zeros(size(pred_labels,1),1);
for i=1:size(pred,1)
if toc(t) > 60
% fprintf(' eval_clsloc :: on %i of %i\n',i, ...
% size(pred,1));
t = tic;
end
e(i) = 0;
if blacklist_mask(i) > 0
continue
end
for k=1:n % sum
for j=1:num_guesses % min
d_jk = (gt_labels(i,k) ~= pred_labels(i,j));
if d_jk == 0
box = pred(i,(j-1)*5+1+(1:4)); % j^th predicted box
ov_vector = compute_overlap(box,rec(i),gt_labels(i,k));
f_j = ( ov_vector < 0.50 );
else
f_j = 1;
end
d_jk = ones(1,numel(f_j)) * d_jk;
d(i,j) = min( max([f_j;d_jk]) );
end
e(i) = e(i) + min(d(i,:)); %% min over j
end
end
clsloc_error = sum(e./n)/(size(pred_labels,1) - blacklist_size);
error_locSet(max_num_pred_per_image) = clsloc_error;
end
```
|
/content/code_sandbox/evaluation/simpleEvaluation.m
|
objective-c
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,414
|
```unknown
name: "VGG_ILSVRC_16_layers"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
layers {
bottom: "data"
top: "conv1_1"
name: "conv1_1"
type: CONVOLUTION
convolution_param {
num_output: 64
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv1_1"
top: "conv1_1"
name: "relu1_1"
type: RELU
}
layers {
bottom: "conv1_1"
top: "conv1_2"
name: "conv1_2"
type: CONVOLUTION
convolution_param {
num_output: 64
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv1_2"
top: "conv1_2"
name: "relu1_2"
type: RELU
}
layers {
bottom: "conv1_2"
top: "pool1"
name: "pool1"
type: POOLING
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layers {
bottom: "pool1"
top: "conv2_1"
name: "conv2_1"
type: CONVOLUTION
convolution_param {
num_output: 128
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv2_1"
top: "conv2_1"
name: "relu2_1"
type: RELU
}
layers {
bottom: "conv2_1"
top: "conv2_2"
name: "conv2_2"
type: CONVOLUTION
convolution_param {
num_output: 128
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv2_2"
top: "conv2_2"
name: "relu2_2"
type: RELU
}
layers {
bottom: "conv2_2"
top: "pool2"
name: "pool2"
type: POOLING
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layers {
bottom: "pool2"
top: "conv3_1"
name: "conv3_1"
type: CONVOLUTION
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv3_1"
top: "conv3_1"
name: "relu3_1"
type: RELU
}
layers {
bottom: "conv3_1"
top: "conv3_2"
name: "conv3_2"
type: CONVOLUTION
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv3_2"
top: "conv3_2"
name: "relu3_2"
type: RELU
}
layers {
bottom: "conv3_2"
top: "conv3_3"
name: "conv3_3"
type: CONVOLUTION
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv3_3"
top: "conv3_3"
name: "relu3_3"
type: RELU
}
layers {
bottom: "conv3_3"
top: "pool3"
name: "pool3"
type: POOLING
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layers {
bottom: "pool3"
top: "conv4_1"
name: "conv4_1"
type: CONVOLUTION
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv4_1"
top: "conv4_1"
name: "relu4_1"
type: RELU
}
layers {
bottom: "conv4_1"
top: "conv4_2"
name: "conv4_2"
type: CONVOLUTION
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv4_2"
top: "conv4_2"
name: "relu4_2"
type: RELU
}
layers {
bottom: "conv4_2"
top: "conv4_3"
name: "conv4_3"
type: CONVOLUTION
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv4_3"
top: "conv4_3"
name: "relu4_3"
type: RELU
}
layers {
bottom: "conv4_3"
top: "pool4"
name: "pool4"
type: POOLING
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layers {
bottom: "pool4"
top: "conv5_1"
name: "conv5_1"
type: CONVOLUTION
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv5_1"
top: "conv5_1"
name: "relu5_1"
type: RELU
}
layers {
bottom: "conv5_1"
top: "conv5_2"
name: "conv5_2"
type: CONVOLUTION
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv5_2"
top: "conv5_2"
name: "relu5_2"
type: RELU
}
layers {
bottom: "conv5_2"
top: "conv5_3"
name: "conv5_3"
type: CONVOLUTION
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "conv5_3"
top: "conv5_3"
name: "relu5_3"
type: RELU
}
layers {
bottom: "conv5_3"
top: "CAM_conv"
name: "CAM_conv"
type: CONVOLUTION
convolution_param {
num_output: 1024
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
}
layers {
bottom: "CAM_conv"
top: "CAM_conv"
name: "CAM_relu"
type: RELU
}
layers {
name: "CAM_pool"
type: POOLING
bottom: "CAM_conv"
top: "CAM_pool"
pooling_param {
pool: AVE
kernel_size: 14
stride: 14
}
}
layers {
bottom: "CAM_pool"
top: "CAM_pool"
name: "CAM_dropout"
type: DROPOUT
dropout_param {
dropout_ratio: 0.5
}
}
layers {
name: "CAM_fc"
bottom: "CAM_pool"
top: "CAM_fc"
type: INNER_PRODUCT
inner_product_param {
num_output: 1000
}
blobs_lr: 1
weight_decay: 1
}
layers {
bottom: "CAM_fc"
top: "prob"
name: "prob"
type: SOFTMAX
}
```
|
/content/code_sandbox/models/deploy_vgg16CAM.prototxt
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 2,267
|
```unknown
name: "placesCNNobjectdiscoveryAverageSumDeepNoDropout"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 227
input_dim: 227
layers {
name: "conv1"
type: CONVOLUTION
bottom: "data"
top: "conv1"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 96
kernel_size: 11
stride: 4
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
}
layers {
name: "relu1"
type: RELU
bottom: "conv1"
top: "conv1"
}
layers {
name: "pool1"
type: POOLING
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layers {
name: "norm1"
type: LRN
bottom: "pool1"
top: "norm1"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layers {
name: "conv2"
type: CONVOLUTION
bottom: "norm1"
top: "conv2"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 256
pad: 2
kernel_size: 5
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu2"
type: RELU
bottom: "conv2"
top: "conv2"
}
layers {
name: "pool2"
type: POOLING
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layers {
name: "norm2"
type: LRN
bottom: "pool2"
top: "norm2"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layers {
name: "conv3"
type: CONVOLUTION
bottom: "norm2"
top: "conv3"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
}
layers {
name: "relu3"
type: RELU
bottom: "conv3"
top: "conv3"
}
layers {
name: "conv4"
type: CONVOLUTION
bottom: "conv3"
top: "conv4"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu4"
type: RELU
bottom: "conv4"
top: "conv4"
}
layers {
name: "conv5"
type: CONVOLUTION
bottom: "conv4"
top: "conv5"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu5"
type: RELU
bottom: "conv5"
top: "conv5"
}
layers {
name: "pool5"
type: POOLING
bottom: "conv5"
top: "pool5"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
}
}
layers {
name: "conv6"
type: CONVOLUTION
bottom: "pool5"
top: "conv6"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu6"
type: RELU
bottom: "conv6"
top: "conv6"
}
layers {
name: "conv7"
type: CONVOLUTION
bottom: "conv6"
top: "conv7"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu7"
type: RELU
bottom: "conv7"
top: "conv7"
}
layers {
name: "pool8_global"
type: POOLING
bottom: "conv7"
top: "pool8_global"
pooling_param {
pool: AVE
kernel_size: 11
stride: 11
}
}
layers {
name: "fc9"
type: INNER_PRODUCT
bottom: "pool8_global"
top: "fc9"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
inner_product_param {
num_output: 205
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
}
layers {
name: "prob"
type: SOFTMAX
bottom: "fc9"
top: "prob"
}
```
|
/content/code_sandbox/models/deploy_alexnetplusCAM_places205.prototxt
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,654
|
```unknown
net: "train_val_imagenet_googlenetCAM.prototxt"
test_iter: 1000
test_interval: 3000
base_lr: 0.001
lr_policy: "step"
gamma: 0.1
stepsize: 40000
display: 20
max_iter: 160000
momentum: 0.9
weight_decay: 0.0005
snapshot: 10000
snapshot_prefix: "CAMmodels/imagenet_googlenetCAM_train"
solver_mode: GPU
device_id: 1
```
|
/content/code_sandbox/models/solver_imagenet_googlenetCAM.prototxt
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 122
|
```unknown
name: "imagenetCNN_alexnetdeep"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 227
input_dim: 227
layers {
name: "conv1"
type: CONVOLUTION
bottom: "data"
top: "conv1"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 96
kernel_size: 11
stride: 4
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
}
layers {
name: "relu1"
type: RELU
bottom: "conv1"
top: "conv1"
}
layers {
name: "pool1"
type: POOLING
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layers {
name: "norm1"
type: LRN
bottom: "pool1"
top: "norm1"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layers {
name: "conv2"
type: CONVOLUTION
bottom: "norm1"
top: "conv2"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 256
pad: 2
kernel_size: 5
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu2"
type: RELU
bottom: "conv2"
top: "conv2"
}
layers {
name: "pool2"
type: POOLING
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layers {
name: "norm2"
type: LRN
bottom: "pool2"
top: "norm2"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layers {
name: "conv3"
type: CONVOLUTION
bottom: "norm2"
top: "conv3"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
}
layers {
name: "relu3"
type: RELU
bottom: "conv3"
top: "conv3"
}
layers {
name: "conv4"
type: CONVOLUTION
bottom: "conv3"
top: "conv4"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu4"
type: RELU
bottom: "conv4"
top: "conv4"
}
layers {
name: "conv5"
type: CONVOLUTION
bottom: "conv4"
top: "conv5"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu5"
type: RELU
bottom: "conv5"
top: "conv5"
}
layers {
name: "pool5"
type: POOLING
bottom: "conv5"
top: "pool5"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
}
}
layers {
name: "conv6"
type: CONVOLUTION
bottom: "pool5"
top: "conv6"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu6"
type: RELU
bottom: "conv6"
top: "conv6"
}
layers {
name: "conv7"
type: CONVOLUTION
bottom: "conv6"
top: "conv7"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 512
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layers {
name: "relu7"
type: RELU
bottom: "conv7"
top: "conv7"
}
layers {
name: "pool8_global"
type: POOLING
bottom: "conv7"
top: "pool8_global"
pooling_param {
pool: AVE
kernel_size: 11
stride: 11
}
}
layers {
name: "drop8"
type: DROPOUT
bottom: "pool8_global"
top: "pool8_global"
dropout_param {
dropout_ratio: 0.5
}
}
layers {
name: "fc9"
type: INNER_PRODUCT
bottom: "pool8_global"
top: "fc9"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
inner_product_param {
num_output: 1000
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 0
}
}
}
layers {
bottom: "fc9"
top: "prob"
name: "prob"
type: SOFTMAX
}
```
|
/content/code_sandbox/models/deploy_alexnetplusCAM_imagenet.prototxt
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 1,700
|
```unknown
name: "GoogleNet"
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
mirror: true
crop_size: 224
mean_value: 104
mean_value: 117
mean_value: 123
}
data_param {
source: "/data/vision/scratch/torralba/khosla/deep_train/imagenet_iter/ilsvrc12_train_lmdb"
batch_size: 64
backend: LMDB
}
}
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TEST
}
transform_param {
mirror: false
crop_size: 224
mean_value: 104
mean_value: 117
mean_value: 123
}
data_param {
source: "/data/vision/scratch/torralba/khosla/deep_train/imagenet_iter/ilsvrc12_val_lmdb"
batch_size: 50
backend: LMDB
}
}
layer {
name: "conv1/7x7_s2"
type: "Convolution"
bottom: "data"
top: "conv1/7x7_s2"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 3
kernel_size: 7
stride: 2
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "conv1/relu_7x7"
type: "ReLU"
bottom: "conv1/7x7_s2"
top: "conv1/7x7_s2"
}
layer {
name: "pool1/3x3_s2"
type: "Pooling"
bottom: "conv1/7x7_s2"
top: "pool1/3x3_s2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "pool1/norm1"
type: "LRN"
bottom: "pool1/3x3_s2"
top: "pool1/norm1"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layer {
name: "conv2/3x3_reduce"
type: "Convolution"
bottom: "pool1/norm1"
top: "conv2/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "conv2/relu_3x3_reduce"
type: "ReLU"
bottom: "conv2/3x3_reduce"
top: "conv2/3x3_reduce"
}
layer {
name: "conv2/3x3"
type: "Convolution"
bottom: "conv2/3x3_reduce"
top: "conv2/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 192
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "conv2/relu_3x3"
type: "ReLU"
bottom: "conv2/3x3"
top: "conv2/3x3"
}
layer {
name: "conv2/norm2"
type: "LRN"
bottom: "conv2/3x3"
top: "conv2/norm2"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layer {
name: "pool2/3x3_s2"
type: "Pooling"
bottom: "conv2/norm2"
top: "pool2/3x3_s2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "inception_3a/1x1"
type: "Convolution"
bottom: "pool2/3x3_s2"
top: "inception_3a/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_1x1"
type: "ReLU"
bottom: "inception_3a/1x1"
top: "inception_3a/1x1"
}
layer {
name: "inception_3a/3x3_reduce"
type: "Convolution"
bottom: "pool2/3x3_s2"
top: "inception_3a/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 96
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_3a/3x3_reduce"
top: "inception_3a/3x3_reduce"
}
layer {
name: "inception_3a/3x3"
type: "Convolution"
bottom: "inception_3a/3x3_reduce"
top: "inception_3a/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_3x3"
type: "ReLU"
bottom: "inception_3a/3x3"
top: "inception_3a/3x3"
}
layer {
name: "inception_3a/5x5_reduce"
type: "Convolution"
bottom: "pool2/3x3_s2"
top: "inception_3a/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 16
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_3a/5x5_reduce"
top: "inception_3a/5x5_reduce"
}
layer {
name: "inception_3a/5x5"
type: "Convolution"
bottom: "inception_3a/5x5_reduce"
top: "inception_3a/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_5x5"
type: "ReLU"
bottom: "inception_3a/5x5"
top: "inception_3a/5x5"
}
layer {
name: "inception_3a/pool"
type: "Pooling"
bottom: "pool2/3x3_s2"
top: "inception_3a/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_3a/pool_proj"
type: "Convolution"
bottom: "inception_3a/pool"
top: "inception_3a/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_pool_proj"
type: "ReLU"
bottom: "inception_3a/pool_proj"
top: "inception_3a/pool_proj"
}
layer {
name: "inception_3a/output"
type: "Concat"
bottom: "inception_3a/1x1"
bottom: "inception_3a/3x3"
bottom: "inception_3a/5x5"
bottom: "inception_3a/pool_proj"
top: "inception_3a/output"
}
layer {
name: "inception_3b/1x1"
type: "Convolution"
bottom: "inception_3a/output"
top: "inception_3b/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_1x1"
type: "ReLU"
bottom: "inception_3b/1x1"
top: "inception_3b/1x1"
}
layer {
name: "inception_3b/3x3_reduce"
type: "Convolution"
bottom: "inception_3a/output"
top: "inception_3b/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_3b/3x3_reduce"
top: "inception_3b/3x3_reduce"
}
layer {
name: "inception_3b/3x3"
type: "Convolution"
bottom: "inception_3b/3x3_reduce"
top: "inception_3b/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 192
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_3x3"
type: "ReLU"
bottom: "inception_3b/3x3"
top: "inception_3b/3x3"
}
layer {
name: "inception_3b/5x5_reduce"
type: "Convolution"
bottom: "inception_3a/output"
top: "inception_3b/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_3b/5x5_reduce"
top: "inception_3b/5x5_reduce"
}
layer {
name: "inception_3b/5x5"
type: "Convolution"
bottom: "inception_3b/5x5_reduce"
top: "inception_3b/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 96
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_5x5"
type: "ReLU"
bottom: "inception_3b/5x5"
top: "inception_3b/5x5"
}
layer {
name: "inception_3b/pool"
type: "Pooling"
bottom: "inception_3a/output"
top: "inception_3b/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_3b/pool_proj"
type: "Convolution"
bottom: "inception_3b/pool"
top: "inception_3b/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_pool_proj"
type: "ReLU"
bottom: "inception_3b/pool_proj"
top: "inception_3b/pool_proj"
}
layer {
name: "inception_3b/output"
type: "Concat"
bottom: "inception_3b/1x1"
bottom: "inception_3b/3x3"
bottom: "inception_3b/5x5"
bottom: "inception_3b/pool_proj"
top: "inception_3b/output"
}
layer {
name: "pool3/3x3_s2"
type: "Pooling"
bottom: "inception_3b/output"
top: "pool3/3x3_s2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "inception_4a/1x1"
type: "Convolution"
bottom: "pool3/3x3_s2"
top: "inception_4a/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 192
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_1x1"
type: "ReLU"
bottom: "inception_4a/1x1"
top: "inception_4a/1x1"
}
layer {
name: "inception_4a/3x3_reduce"
type: "Convolution"
bottom: "pool3/3x3_s2"
top: "inception_4a/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 96
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4a/3x3_reduce"
top: "inception_4a/3x3_reduce"
}
layer {
name: "inception_4a/3x3"
type: "Convolution"
bottom: "inception_4a/3x3_reduce"
top: "inception_4a/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 208
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_3x3"
type: "ReLU"
bottom: "inception_4a/3x3"
top: "inception_4a/3x3"
}
layer {
name: "inception_4a/5x5_reduce"
type: "Convolution"
bottom: "pool3/3x3_s2"
top: "inception_4a/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 16
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4a/5x5_reduce"
top: "inception_4a/5x5_reduce"
}
layer {
name: "inception_4a/5x5"
type: "Convolution"
bottom: "inception_4a/5x5_reduce"
top: "inception_4a/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 48
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_5x5"
type: "ReLU"
bottom: "inception_4a/5x5"
top: "inception_4a/5x5"
}
layer {
name: "inception_4a/pool"
type: "Pooling"
bottom: "pool3/3x3_s2"
top: "inception_4a/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4a/pool_proj"
type: "Convolution"
bottom: "inception_4a/pool"
top: "inception_4a/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_pool_proj"
type: "ReLU"
bottom: "inception_4a/pool_proj"
top: "inception_4a/pool_proj"
}
layer {
name: "inception_4a/output"
type: "Concat"
bottom: "inception_4a/1x1"
bottom: "inception_4a/3x3"
bottom: "inception_4a/5x5"
bottom: "inception_4a/pool_proj"
top: "inception_4a/output"
}
layer {
name: "inception_4b/1x1"
type: "Convolution"
bottom: "inception_4a/output"
top: "inception_4b/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 160
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_1x1"
type: "ReLU"
bottom: "inception_4b/1x1"
top: "inception_4b/1x1"
}
layer {
name: "inception_4b/3x3_reduce"
type: "Convolution"
bottom: "inception_4a/output"
top: "inception_4b/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 112
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4b/3x3_reduce"
top: "inception_4b/3x3_reduce"
}
layer {
name: "inception_4b/3x3"
type: "Convolution"
bottom: "inception_4b/3x3_reduce"
top: "inception_4b/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 224
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_3x3"
type: "ReLU"
bottom: "inception_4b/3x3"
top: "inception_4b/3x3"
}
layer {
name: "inception_4b/5x5_reduce"
type: "Convolution"
bottom: "inception_4a/output"
top: "inception_4b/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 24
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4b/5x5_reduce"
top: "inception_4b/5x5_reduce"
}
layer {
name: "inception_4b/5x5"
type: "Convolution"
bottom: "inception_4b/5x5_reduce"
top: "inception_4b/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_5x5"
type: "ReLU"
bottom: "inception_4b/5x5"
top: "inception_4b/5x5"
}
layer {
name: "inception_4b/pool"
type: "Pooling"
bottom: "inception_4a/output"
top: "inception_4b/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4b/pool_proj"
type: "Convolution"
bottom: "inception_4b/pool"
top: "inception_4b/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_pool_proj"
type: "ReLU"
bottom: "inception_4b/pool_proj"
top: "inception_4b/pool_proj"
}
layer {
name: "inception_4b/output"
type: "Concat"
bottom: "inception_4b/1x1"
bottom: "inception_4b/3x3"
bottom: "inception_4b/5x5"
bottom: "inception_4b/pool_proj"
top: "inception_4b/output"
}
layer {
name: "inception_4c/1x1"
type: "Convolution"
bottom: "inception_4b/output"
top: "inception_4c/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_1x1"
type: "ReLU"
bottom: "inception_4c/1x1"
top: "inception_4c/1x1"
}
layer {
name: "inception_4c/3x3_reduce"
type: "Convolution"
bottom: "inception_4b/output"
top: "inception_4c/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4c/3x3_reduce"
top: "inception_4c/3x3_reduce"
}
layer {
name: "inception_4c/3x3"
type: "Convolution"
bottom: "inception_4c/3x3_reduce"
top: "inception_4c/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_3x3"
type: "ReLU"
bottom: "inception_4c/3x3"
top: "inception_4c/3x3"
}
layer {
name: "inception_4c/5x5_reduce"
type: "Convolution"
bottom: "inception_4b/output"
top: "inception_4c/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 24
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4c/5x5_reduce"
top: "inception_4c/5x5_reduce"
}
layer {
name: "inception_4c/5x5"
type: "Convolution"
bottom: "inception_4c/5x5_reduce"
top: "inception_4c/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_5x5"
type: "ReLU"
bottom: "inception_4c/5x5"
top: "inception_4c/5x5"
}
layer {
name: "inception_4c/pool"
type: "Pooling"
bottom: "inception_4b/output"
top: "inception_4c/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4c/pool_proj"
type: "Convolution"
bottom: "inception_4c/pool"
top: "inception_4c/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_pool_proj"
type: "ReLU"
bottom: "inception_4c/pool_proj"
top: "inception_4c/pool_proj"
}
layer {
name: "inception_4c/output"
type: "Concat"
bottom: "inception_4c/1x1"
bottom: "inception_4c/3x3"
bottom: "inception_4c/5x5"
bottom: "inception_4c/pool_proj"
top: "inception_4c/output"
}
layer {
name: "inception_4d/1x1"
type: "Convolution"
bottom: "inception_4c/output"
top: "inception_4d/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 112
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_1x1"
type: "ReLU"
bottom: "inception_4d/1x1"
top: "inception_4d/1x1"
}
layer {
name: "inception_4d/3x3_reduce"
type: "Convolution"
bottom: "inception_4c/output"
top: "inception_4d/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 144
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4d/3x3_reduce"
top: "inception_4d/3x3_reduce"
}
layer {
name: "inception_4d/3x3"
type: "Convolution"
bottom: "inception_4d/3x3_reduce"
top: "inception_4d/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 288
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_3x3"
type: "ReLU"
bottom: "inception_4d/3x3"
top: "inception_4d/3x3"
}
layer {
name: "inception_4d/5x5_reduce"
type: "Convolution"
bottom: "inception_4c/output"
top: "inception_4d/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4d/5x5_reduce"
top: "inception_4d/5x5_reduce"
}
layer {
name: "inception_4d/5x5"
type: "Convolution"
bottom: "inception_4d/5x5_reduce"
top: "inception_4d/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_5x5"
type: "ReLU"
bottom: "inception_4d/5x5"
top: "inception_4d/5x5"
}
layer {
name: "inception_4d/pool"
type: "Pooling"
bottom: "inception_4c/output"
top: "inception_4d/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4d/pool_proj"
type: "Convolution"
bottom: "inception_4d/pool"
top: "inception_4d/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_pool_proj"
type: "ReLU"
bottom: "inception_4d/pool_proj"
top: "inception_4d/pool_proj"
}
layer {
name: "inception_4d/output"
type: "Concat"
bottom: "inception_4d/1x1"
bottom: "inception_4d/3x3"
bottom: "inception_4d/5x5"
bottom: "inception_4d/pool_proj"
top: "inception_4d/output"
}
layer {
name: "inception_4e/1x1"
type: "Convolution"
bottom: "inception_4d/output"
top: "inception_4e/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 256
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_1x1"
type: "ReLU"
bottom: "inception_4e/1x1"
top: "inception_4e/1x1"
}
layer {
name: "inception_4e/3x3_reduce"
type: "Convolution"
bottom: "inception_4d/output"
top: "inception_4e/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 160
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4e/3x3_reduce"
top: "inception_4e/3x3_reduce"
}
layer {
name: "inception_4e/3x3"
type: "Convolution"
bottom: "inception_4e/3x3_reduce"
top: "inception_4e/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 320
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_3x3"
type: "ReLU"
bottom: "inception_4e/3x3"
top: "inception_4e/3x3"
}
layer {
name: "inception_4e/5x5_reduce"
type: "Convolution"
bottom: "inception_4d/output"
top: "inception_4e/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4e/5x5_reduce"
top: "inception_4e/5x5_reduce"
}
layer {
name: "inception_4e/5x5"
type: "Convolution"
bottom: "inception_4e/5x5_reduce"
top: "inception_4e/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_5x5"
type: "ReLU"
bottom: "inception_4e/5x5"
top: "inception_4e/5x5"
}
layer {
name: "inception_4e/pool"
type: "Pooling"
bottom: "inception_4d/output"
top: "inception_4e/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4e/pool_proj"
type: "Convolution"
bottom: "inception_4e/pool"
top: "inception_4e/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_pool_proj"
type: "ReLU"
bottom: "inception_4e/pool_proj"
top: "inception_4e/pool_proj"
}
layer {
name: "inception_4e/output"
type: "Concat"
bottom: "inception_4e/1x1"
bottom: "inception_4e/3x3"
bottom: "inception_4e/5x5"
bottom: "inception_4e/pool_proj"
top: "inception_4e/output"
}
layer {
name: "CAM_conv"
type: "Convolution"
bottom: "inception_4e/output"
top: "CAM_conv"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 1024
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layer {
name: "CAM_relu"
type: "ReLU"
bottom: "CAM_conv"
top: "CAM_conv"
}
layer {
name: "CAM_pool"
type: "Pooling"
bottom: "CAM_conv"
top: "CAM_pool"
pooling_param {
pool: AVE
kernel_size: 14
stride: 14
}
}
layer {
name: "CAM_fc"
type: "InnerProduct"
bottom: "CAM_pool"
top: "CAM_fc"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
inner_product_param {
num_output: 1000
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0
}
}
}
layer {
name: "loss3/loss3"
type: "SoftmaxWithLoss"
bottom: "CAM_fc"
bottom: "label"
top: "loss3/loss3"
loss_weight: 1
}
layer {
name: "loss3/top-1"
type: "Accuracy"
bottom: "CAM_fc"
bottom: "label"
top: "loss3/top-1"
include {
phase: TEST
}
}
layer {
name: "loss3/top-5"
type: "Accuracy"
bottom: "CAM_fc"
bottom: "label"
top: "loss3/top-5"
include {
phase: TEST
}
accuracy_param {
top_k: 5
}
}
```
|
/content/code_sandbox/models/train_val_googlenetCAM.prototxt
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 11,561
|
```unknown
name: "GoogleNet"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
force_backward: true
layer {
name: "conv1/7x7_s2"
type: "Convolution"
bottom: "data"
top: "conv1/7x7_s2"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 3
kernel_size: 7
stride: 2
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "conv1/relu_7x7"
type: "ReLU"
bottom: "conv1/7x7_s2"
top: "conv1/7x7_s2"
}
layer {
name: "pool1/3x3_s2"
type: "Pooling"
bottom: "conv1/7x7_s2"
top: "pool1/3x3_s2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "pool1/norm1"
type: "LRN"
bottom: "pool1/3x3_s2"
top: "pool1/norm1"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layer {
name: "conv2/3x3_reduce"
type: "Convolution"
bottom: "pool1/norm1"
top: "conv2/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "conv2/relu_3x3_reduce"
type: "ReLU"
bottom: "conv2/3x3_reduce"
top: "conv2/3x3_reduce"
}
layer {
name: "conv2/3x3"
type: "Convolution"
bottom: "conv2/3x3_reduce"
top: "conv2/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 192
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "conv2/relu_3x3"
type: "ReLU"
bottom: "conv2/3x3"
top: "conv2/3x3"
}
layer {
name: "conv2/norm2"
type: "LRN"
bottom: "conv2/3x3"
top: "conv2/norm2"
lrn_param {
local_size: 5
alpha: 0.0001
beta: 0.75
}
}
layer {
name: "pool2/3x3_s2"
type: "Pooling"
bottom: "conv2/norm2"
top: "pool2/3x3_s2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "inception_3a/1x1"
type: "Convolution"
bottom: "pool2/3x3_s2"
top: "inception_3a/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_1x1"
type: "ReLU"
bottom: "inception_3a/1x1"
top: "inception_3a/1x1"
}
layer {
name: "inception_3a/3x3_reduce"
type: "Convolution"
bottom: "pool2/3x3_s2"
top: "inception_3a/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 96
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_3a/3x3_reduce"
top: "inception_3a/3x3_reduce"
}
layer {
name: "inception_3a/3x3"
type: "Convolution"
bottom: "inception_3a/3x3_reduce"
top: "inception_3a/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_3x3"
type: "ReLU"
bottom: "inception_3a/3x3"
top: "inception_3a/3x3"
}
layer {
name: "inception_3a/5x5_reduce"
type: "Convolution"
bottom: "pool2/3x3_s2"
top: "inception_3a/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 16
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_3a/5x5_reduce"
top: "inception_3a/5x5_reduce"
}
layer {
name: "inception_3a/5x5"
type: "Convolution"
bottom: "inception_3a/5x5_reduce"
top: "inception_3a/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_5x5"
type: "ReLU"
bottom: "inception_3a/5x5"
top: "inception_3a/5x5"
}
layer {
name: "inception_3a/pool"
type: "Pooling"
bottom: "pool2/3x3_s2"
top: "inception_3a/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_3a/pool_proj"
type: "Convolution"
bottom: "inception_3a/pool"
top: "inception_3a/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3a/relu_pool_proj"
type: "ReLU"
bottom: "inception_3a/pool_proj"
top: "inception_3a/pool_proj"
}
layer {
name: "inception_3a/output"
type: "Concat"
bottom: "inception_3a/1x1"
bottom: "inception_3a/3x3"
bottom: "inception_3a/5x5"
bottom: "inception_3a/pool_proj"
top: "inception_3a/output"
}
layer {
name: "inception_3b/1x1"
type: "Convolution"
bottom: "inception_3a/output"
top: "inception_3b/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_1x1"
type: "ReLU"
bottom: "inception_3b/1x1"
top: "inception_3b/1x1"
}
layer {
name: "inception_3b/3x3_reduce"
type: "Convolution"
bottom: "inception_3a/output"
top: "inception_3b/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_3b/3x3_reduce"
top: "inception_3b/3x3_reduce"
}
layer {
name: "inception_3b/3x3"
type: "Convolution"
bottom: "inception_3b/3x3_reduce"
top: "inception_3b/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 192
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_3x3"
type: "ReLU"
bottom: "inception_3b/3x3"
top: "inception_3b/3x3"
}
layer {
name: "inception_3b/5x5_reduce"
type: "Convolution"
bottom: "inception_3a/output"
top: "inception_3b/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_3b/5x5_reduce"
top: "inception_3b/5x5_reduce"
}
layer {
name: "inception_3b/5x5"
type: "Convolution"
bottom: "inception_3b/5x5_reduce"
top: "inception_3b/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 96
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_5x5"
type: "ReLU"
bottom: "inception_3b/5x5"
top: "inception_3b/5x5"
}
layer {
name: "inception_3b/pool"
type: "Pooling"
bottom: "inception_3a/output"
top: "inception_3b/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_3b/pool_proj"
type: "Convolution"
bottom: "inception_3b/pool"
top: "inception_3b/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_3b/relu_pool_proj"
type: "ReLU"
bottom: "inception_3b/pool_proj"
top: "inception_3b/pool_proj"
}
layer {
name: "inception_3b/output"
type: "Concat"
bottom: "inception_3b/1x1"
bottom: "inception_3b/3x3"
bottom: "inception_3b/5x5"
bottom: "inception_3b/pool_proj"
top: "inception_3b/output"
}
layer {
name: "pool3/3x3_s2"
type: "Pooling"
bottom: "inception_3b/output"
top: "pool3/3x3_s2"
pooling_param {
pool: MAX
kernel_size: 3
stride: 2
}
}
layer {
name: "inception_4a/1x1"
type: "Convolution"
bottom: "pool3/3x3_s2"
top: "inception_4a/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 192
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_1x1"
type: "ReLU"
bottom: "inception_4a/1x1"
top: "inception_4a/1x1"
}
layer {
name: "inception_4a/3x3_reduce"
type: "Convolution"
bottom: "pool3/3x3_s2"
top: "inception_4a/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 96
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4a/3x3_reduce"
top: "inception_4a/3x3_reduce"
}
layer {
name: "inception_4a/3x3"
type: "Convolution"
bottom: "inception_4a/3x3_reduce"
top: "inception_4a/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 208
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_3x3"
type: "ReLU"
bottom: "inception_4a/3x3"
top: "inception_4a/3x3"
}
layer {
name: "inception_4a/5x5_reduce"
type: "Convolution"
bottom: "pool3/3x3_s2"
top: "inception_4a/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 16
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4a/5x5_reduce"
top: "inception_4a/5x5_reduce"
}
layer {
name: "inception_4a/5x5"
type: "Convolution"
bottom: "inception_4a/5x5_reduce"
top: "inception_4a/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 48
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_5x5"
type: "ReLU"
bottom: "inception_4a/5x5"
top: "inception_4a/5x5"
}
layer {
name: "inception_4a/pool"
type: "Pooling"
bottom: "pool3/3x3_s2"
top: "inception_4a/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4a/pool_proj"
type: "Convolution"
bottom: "inception_4a/pool"
top: "inception_4a/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4a/relu_pool_proj"
type: "ReLU"
bottom: "inception_4a/pool_proj"
top: "inception_4a/pool_proj"
}
layer {
name: "inception_4a/output"
type: "Concat"
bottom: "inception_4a/1x1"
bottom: "inception_4a/3x3"
bottom: "inception_4a/5x5"
bottom: "inception_4a/pool_proj"
top: "inception_4a/output"
}
layer {
name: "inception_4b/1x1"
type: "Convolution"
bottom: "inception_4a/output"
top: "inception_4b/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 160
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_1x1"
type: "ReLU"
bottom: "inception_4b/1x1"
top: "inception_4b/1x1"
}
layer {
name: "inception_4b/3x3_reduce"
type: "Convolution"
bottom: "inception_4a/output"
top: "inception_4b/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 112
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4b/3x3_reduce"
top: "inception_4b/3x3_reduce"
}
layer {
name: "inception_4b/3x3"
type: "Convolution"
bottom: "inception_4b/3x3_reduce"
top: "inception_4b/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 224
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_3x3"
type: "ReLU"
bottom: "inception_4b/3x3"
top: "inception_4b/3x3"
}
layer {
name: "inception_4b/5x5_reduce"
type: "Convolution"
bottom: "inception_4a/output"
top: "inception_4b/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 24
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4b/5x5_reduce"
top: "inception_4b/5x5_reduce"
}
layer {
name: "inception_4b/5x5"
type: "Convolution"
bottom: "inception_4b/5x5_reduce"
top: "inception_4b/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_5x5"
type: "ReLU"
bottom: "inception_4b/5x5"
top: "inception_4b/5x5"
}
layer {
name: "inception_4b/pool"
type: "Pooling"
bottom: "inception_4a/output"
top: "inception_4b/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4b/pool_proj"
type: "Convolution"
bottom: "inception_4b/pool"
top: "inception_4b/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4b/relu_pool_proj"
type: "ReLU"
bottom: "inception_4b/pool_proj"
top: "inception_4b/pool_proj"
}
layer {
name: "inception_4b/output"
type: "Concat"
bottom: "inception_4b/1x1"
bottom: "inception_4b/3x3"
bottom: "inception_4b/5x5"
bottom: "inception_4b/pool_proj"
top: "inception_4b/output"
}
layer {
name: "inception_4c/1x1"
type: "Convolution"
bottom: "inception_4b/output"
top: "inception_4c/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_1x1"
type: "ReLU"
bottom: "inception_4c/1x1"
top: "inception_4c/1x1"
}
layer {
name: "inception_4c/3x3_reduce"
type: "Convolution"
bottom: "inception_4b/output"
top: "inception_4c/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4c/3x3_reduce"
top: "inception_4c/3x3_reduce"
}
layer {
name: "inception_4c/3x3"
type: "Convolution"
bottom: "inception_4c/3x3_reduce"
top: "inception_4c/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_3x3"
type: "ReLU"
bottom: "inception_4c/3x3"
top: "inception_4c/3x3"
}
layer {
name: "inception_4c/5x5_reduce"
type: "Convolution"
bottom: "inception_4b/output"
top: "inception_4c/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 24
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4c/5x5_reduce"
top: "inception_4c/5x5_reduce"
}
layer {
name: "inception_4c/5x5"
type: "Convolution"
bottom: "inception_4c/5x5_reduce"
top: "inception_4c/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_5x5"
type: "ReLU"
bottom: "inception_4c/5x5"
top: "inception_4c/5x5"
}
layer {
name: "inception_4c/pool"
type: "Pooling"
bottom: "inception_4b/output"
top: "inception_4c/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4c/pool_proj"
type: "Convolution"
bottom: "inception_4c/pool"
top: "inception_4c/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4c/relu_pool_proj"
type: "ReLU"
bottom: "inception_4c/pool_proj"
top: "inception_4c/pool_proj"
}
layer {
name: "inception_4c/output"
type: "Concat"
bottom: "inception_4c/1x1"
bottom: "inception_4c/3x3"
bottom: "inception_4c/5x5"
bottom: "inception_4c/pool_proj"
top: "inception_4c/output"
}
layer {
name: "inception_4d/1x1"
type: "Convolution"
bottom: "inception_4c/output"
top: "inception_4d/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 112
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_1x1"
type: "ReLU"
bottom: "inception_4d/1x1"
top: "inception_4d/1x1"
}
layer {
name: "inception_4d/3x3_reduce"
type: "Convolution"
bottom: "inception_4c/output"
top: "inception_4d/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 144
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4d/3x3_reduce"
top: "inception_4d/3x3_reduce"
}
layer {
name: "inception_4d/3x3"
type: "Convolution"
bottom: "inception_4d/3x3_reduce"
top: "inception_4d/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 288
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_3x3"
type: "ReLU"
bottom: "inception_4d/3x3"
top: "inception_4d/3x3"
}
layer {
name: "inception_4d/5x5_reduce"
type: "Convolution"
bottom: "inception_4c/output"
top: "inception_4d/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4d/5x5_reduce"
top: "inception_4d/5x5_reduce"
}
layer {
name: "inception_4d/5x5"
type: "Convolution"
bottom: "inception_4d/5x5_reduce"
top: "inception_4d/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_5x5"
type: "ReLU"
bottom: "inception_4d/5x5"
top: "inception_4d/5x5"
}
layer {
name: "inception_4d/pool"
type: "Pooling"
bottom: "inception_4c/output"
top: "inception_4d/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4d/pool_proj"
type: "Convolution"
bottom: "inception_4d/pool"
top: "inception_4d/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 64
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4d/relu_pool_proj"
type: "ReLU"
bottom: "inception_4d/pool_proj"
top: "inception_4d/pool_proj"
}
layer {
name: "inception_4d/output"
type: "Concat"
bottom: "inception_4d/1x1"
bottom: "inception_4d/3x3"
bottom: "inception_4d/5x5"
bottom: "inception_4d/pool_proj"
top: "inception_4d/output"
}
layer {
name: "inception_4e/1x1"
type: "Convolution"
bottom: "inception_4d/output"
top: "inception_4e/1x1"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 256
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_1x1"
type: "ReLU"
bottom: "inception_4e/1x1"
top: "inception_4e/1x1"
}
layer {
name: "inception_4e/3x3_reduce"
type: "Convolution"
bottom: "inception_4d/output"
top: "inception_4e/3x3_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 160
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.09
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_3x3_reduce"
type: "ReLU"
bottom: "inception_4e/3x3_reduce"
top: "inception_4e/3x3_reduce"
}
layer {
name: "inception_4e/3x3"
type: "Convolution"
bottom: "inception_4e/3x3_reduce"
top: "inception_4e/3x3"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 320
pad: 1
kernel_size: 3
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_3x3"
type: "ReLU"
bottom: "inception_4e/3x3"
top: "inception_4e/3x3"
}
layer {
name: "inception_4e/5x5_reduce"
type: "Convolution"
bottom: "inception_4d/output"
top: "inception_4e/5x5_reduce"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 32
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.2
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_5x5_reduce"
type: "ReLU"
bottom: "inception_4e/5x5_reduce"
top: "inception_4e/5x5_reduce"
}
layer {
name: "inception_4e/5x5"
type: "Convolution"
bottom: "inception_4e/5x5_reduce"
top: "inception_4e/5x5"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
pad: 2
kernel_size: 5
weight_filler {
type: "xavier"
std: 0.03
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_5x5"
type: "ReLU"
bottom: "inception_4e/5x5"
top: "inception_4e/5x5"
}
layer {
name: "inception_4e/pool"
type: "Pooling"
bottom: "inception_4d/output"
top: "inception_4e/pool"
pooling_param {
pool: MAX
kernel_size: 3
stride: 1
pad: 1
}
}
layer {
name: "inception_4e/pool_proj"
type: "Convolution"
bottom: "inception_4e/pool"
top: "inception_4e/pool_proj"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 128
kernel_size: 1
weight_filler {
type: "xavier"
std: 0.1
}
bias_filler {
type: "constant"
value: 0.2
}
}
}
layer {
name: "inception_4e/relu_pool_proj"
type: "ReLU"
bottom: "inception_4e/pool_proj"
top: "inception_4e/pool_proj"
}
layer {
name: "inception_4e/output"
type: "Concat"
bottom: "inception_4e/1x1"
bottom: "inception_4e/3x3"
bottom: "inception_4e/5x5"
bottom: "inception_4e/pool_proj"
top: "inception_4e/output"
}
layer {
name: "CAM_conv"
type: "Convolution"
bottom: "inception_4e/output"
top: "CAM_conv"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
convolution_param {
num_output: 1024
pad: 1
kernel_size: 3
group: 2
weight_filler {
type: "gaussian"
std: 0.01
}
bias_filler {
type: "constant"
value: 1
}
}
}
layer {
name: "CAM_relu"
type: "ReLU"
bottom: "CAM_conv"
top: "CAM_conv"
}
layer {
name: "CAM_pool"
type: "Pooling"
bottom: "CAM_conv"
top: "CAM_pool"
pooling_param {
pool: AVE
kernel_size: 14
stride: 14
}
}
layer {
name: "CAM_fc"
type: "InnerProduct"
bottom: "CAM_pool"
top: "CAM_fc"
param {
lr_mult: 1
decay_mult: 1
}
param {
lr_mult: 2
decay_mult: 0
}
inner_product_param {
num_output: 205
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
value: 0
}
}
}
layer {
name: "prob"
type: "Softmax"
bottom: "CAM_fc"
top: "prob"
}
```
|
/content/code_sandbox/models/deploy_googlenetCAM_places205.prototxt
|
unknown
| 2016-04-11T21:59:28
| 2024-08-12T19:22:17
|
CAM
|
zhoubolei/CAM
| 1,839
| 11,202
|
```css
div, ul, li {
margin: 0;
padding: 0;
}
ul, li {
list-style: none outside none;
}
/* layer begin */
.ios-select-widget-box.olay {
position: fixed;
z-index: 500;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.75);
}
.ios-select-widget-box.olay > div {
position: fixed;
z-index: 1000;
width: 100%;
height: 100%;
background-color: #f2f2f2;
bottom: 0;
left: 0;
visibility: visible;
}
.ios-select-widget-box header.iosselect-header {
height: 44px;
line-height: 44px;
background-color: #eee;
width: 100%;
z-index: 9999;
text-align: center;
}
.ios-select-widget-box header.iosselect-header a {
font-size: 16px;
color: #e94643;
text-decoration: none;
}
.ios-select-widget-box header.iosselect-header a.close {
float: left;
padding-left: 15px;
height: 44px;
line-height: 44px;
}
.ios-select-widget-box header.iosselect-header a.sure {
float: right;
padding-right: 15px;
height: 44px;
line-height: 44px;
}
.ios-select-widget-box {
padding-top: 44px;
}
.ios-select-widget-box .one-level-contain,
.ios-select-widget-box .two-level-contain,
.ios-select-widget-box .three-level-contain,
.ios-select-widget-box .four-level-contain,
.ios-select-widget-box .five-level-contain {
height: 100%;
overflow: hidden;
}
.ios-select-widget-box .iosselect-box {
overflow: hidden;
}
.ios-select-widget-box .iosselect-box > div {
display: block;
float: left;
}
.ios-select-widget-box ul {
background-color: #fff;
}
.ios-select-widget-box ul li {
font-size: 13px;
height: 35px;
line-height: 35px;
background-color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
color: #111;
opacity: .3;
}
.ios-select-widget-box ul li.at {
font-size: 16px;
opacity: 1;
}
.ios-select-widget-box ul li.side1 {
font-size: 15px;
opacity: .7;
}
.ios-select-widget-box ul li.side2 {
font-size: 14px;
opacity: .5;
}
.ios-select-widget-box.one-level-box .one-level-contain {
width: 100%;
}
.ios-select-widget-box.one-level-box .two-level-contain,
.ios-select-widget-box.one-level-box .three-level-contain,
.ios-select-widget-box.one-level-box .four-level-contain,
.ios-select-widget-box.one-level-box .five-level-contain,
.ios-select-widget-box.one-level-box .six-level-contain {
width: 0;
}
.ios-select-widget-box.two-level-box .one-level-contain,
.ios-select-widget-box.two-level-box .two-level-contain {
width: 50%;
}
.ios-select-widget-box.two-level-box .three-level-contain,
.ios-select-widget-box.two-level-box .four-level-contain,
.ios-select-widget-box.two-level-box .five-level-contain,
.ios-select-widget-box.two-level-box .six-level-contain {
width: 0;
}
.ios-select-widget-box.three-level-box .one-level-contain,
.ios-select-widget-box.three-level-box .two-level-contain {
width: 30%;
}
.ios-select-widget-box.three-level-box .three-level-contain {
width: 40%;
}
.ios-select-widget-box.three-level-box .four-level-contain
.ios-select-widget-box.three-level-box .five-level-contain,
.ios-select-widget-box.three-level-box .six-level-contain {
width: 0%;
}
.ios-select-widget-box.four-level-box .one-level-contain,
.ios-select-widget-box.four-level-box .two-level-contain,
.ios-select-widget-box.four-level-box .three-level-contain,
.ios-select-widget-box.four-level-box .four-level-contain {
width: 25%;
}
.ios-select-widget-box.four-level-box .five-level-contain,
.ios-select-widget-box.four-level-box .six-level-contain {
width: 0%;
}
.ios-select-widget-box.five-level-box .one-level-contain,
.ios-select-widget-box.five-level-box .two-level-contain,
.ios-select-widget-box.five-level-box .three-level-contain,
.ios-select-widget-box.five-level-box .four-level-contain,
.ios-select-widget-box.five-level-box .five-level-contain {
width: 20%;
}
.ios-select-widget-box.five-level-box .six-level-contain {
width: 0%;
}
.ios-select-widget-box.six-level-box .one-level-contain,
.ios-select-widget-box.six-level-box .two-level-contain,
.ios-select-widget-box.six-level-box .three-level-contain,
.ios-select-widget-box.six-level-box .four-level-contain,
.ios-select-widget-box.six-level-box .five-level-contain {
width: 16%;
}
.ios-select-widget-box.six-level-box .six-level-contain {
width: 20%;
}
.ios-select-widget-box .cover-area1 {
width: 100%;
border: none;
border-top: 1px solid #d9d9d9;
position: absolute;
top: 149px;
margin: 0;
height: 0;
}
.ios-select-widget-box .cover-area2 {
width: 100%;
border: none;
border-top: 1px solid #d9d9d9;
position: absolute;
top: 183px;
margin: 0;
height: 0;
}
.ios-select-widget-box #iosSelectTitle {
margin: 0;
padding: 0;
display: inline-block;
font-size: 16px;
font-weight: normal;
color: #333;
}
.ios-select-body-class {
overflow: hidden;
}
.ios-select-body-class body {
touch-action: none;
}
.ios-select-widget-box.olay > div > .ios-select-loading-box {
width: 100%;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0,0,0,.5);
display: none;
}
.ios-select-widget-box.olay > div > .ios-select-loading-box > .ios-select-loading {
width: 50px;
height: 50px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -25px;
margin-left: -25px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/your_sha256_hashE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hasheG1wLmRpZDo1OEMxMEI3NTI3MEIxMUU2ODVGMzhFNjYyMDIyOUFCMCI+your_sha256_hashyour_sha256_hashPSJ4bXAuZGlkOjU4QzEwQjczMjcwQjExRTY4NUYzOEU2NjIwMjI5QUIwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+GeWqMwAAA+BJREFUeNrMmVlsTGEUxyour_sha512_hashR/ycnn5l27rQz10l+mWlyl/+your_sha512_hash/eFaXFelwv286WZfKG2WL9SX5cFCuntBvAc/OoPD64HJ8EI5Q3tmW7whl4pAl/your_sha256_hashyour_sha256_hashoVf389+CW7Uk3ygNk/azghYIHDoCN/SDO4W6+your_sha256_hashkXO5DP4RuI8iPYqr4YmQbJN8+E4JlA1abAuUBbtZeU526O4khDWW3QdhK9TZWmAZd6/x3inw0UmdSZJ/pgSKlilGoMvTwoiTw/20k3p7yTyovRgScTNAvgrvFSbkVJuE+LU6GiXEefJHqfKefF5zgrMGVRnJZ4HEerryXjdzU1DWbB2BI10mRuPBej+1WhKsi8vLeDDXZRllwtvoBG8davNmS4gHUZyTQIWSrM1iQpyZptafo4QGabp9+JNmOijMY9MTtGWpEHe5PDHMGsz/DwQOUwI7XVYUZheP1ZVEAJbOFsGswTYR+your_sha256_hashaparUPpZTcEILCEjjGniCy9iMk3F9hImzCXcZqQKhOnLFShjbBX/your_sha512_hash/kXq0M1ZffF2F2uMNe+nJUD+your_sha256_hashUWEz6iyPedngLkY7ARDrQeb72GOz5roVY/eylMHvxflXjkpLoKHfZ2wmhJIkvcylUi9BAnTa9U9DD59CzQm/csaZv0cn0JbOeK4ye/xbfcE/your_sha256_hashmCC) no-repeat 0 0;
background-size: contain;
-webkit-animation: loading-keyframe 1s infinite linear;
animation: loading-keyframe 1s infinite linear;
}
.fadeInUp .layer{
-webkit-animation: fadeInUp .5s;
animation: fadeInUp .5s;
}
.fadeOutDown .layer{
-webkit-animation: fadeOutDown .5s!important;
animation: fadeOutDown .5s!important;
}
@-webkit-keyframes loading-keyframe {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@keyframes loading-keyframe {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0,100%,0);
}
to {
opacity: 1;
-webkit-transform: none;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0,100%,0);
}
to {
opacity: 1;
transform: none;
}
}
@-webkit-keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
}
}
@keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(0, 100%, 0);
}
}
```
|
/content/code_sandbox/src/iosSelect.css
|
css
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 2,765
|
```javascript
/**
* IosSelect
* @param {number} level 1 2 3 4 5 6 6
* @param {...Array} data [oneLevelData[, twoLevelData[, threeLevelData[, fourLevelData[, fiveLevelData[, sixLevelData]]]]]]
* @param {Object} options
* @param {string=} options.container
* @param {Function} options.callback
* @param {Function} options.fallback
* @param {Function} options.maskCallback
* @param {string=} options.title title
* @param {number=} options.itemHeight 35
* @param {number=} options.itemShowCount 73,5,7,93,5,7,97
* @param {number=} options.headerHeight 44
* @param {css=} options.cssUnit pxrem px
* @param {string=} options.addClassName
* @param {...Array=} options.relation [oneTwoRelation, twoThreeRelation, threeFourRelation, fourFiveRelation] [0, 0, 0, 0, 0, 0]
* @param {number=} options.relation.oneTwoRelation parentId
* @param {number=} options.relation.twoThreeRelation parentId
* @param {number=} options.relation.threeFourRelation parentId
* @param {number=} options.relation.fourFiveRelation parentId
* @param {number=} options.relation.fiveSixRelation parentId
* @param {string=} options.oneLevelId id
* @param {string=} options.twoLevelId id
* @param {string=} options.threeLevelId id
* @param {string=} options.fourLevelId id
* @param {string=} options.fiveLevelId id
* @param {string=} options.sixLevelId id
* @param {boolean=} options.showLoading true
* @param {boolean=} options.showAnimate css
*/
(function() {
/* modify by zhoushengmufc,based on iScroll v5.2.0 */
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (callback) { window.setTimeout(callback, 1000 / 60); };
var aF = (function () {
var eleStyle = document.createElement('div').style;
var verdors = ['a', 'webkitA', 'MozA', 'OA', 'msA'];
var endEvents = ['animationend', 'webkitAnimationEnd', 'animationend', 'oAnimationEnd', 'MSAnimationEnd'];
var animation;
for (var i = 0, len = verdors.length; i < len; i++) {
animation = verdors[i] + 'nimation';
if (animation in eleStyle) {
return endEvents[i];
}
}
return 'animationend';
}());
var utils = (function () {
var me = {};
var _elementStyle = document.createElement('div').style;
var _vendor = (function () {
var vendors = ['t', 'webkitT', 'MozT', 'msT', 'OT'],
transform,
i = 0,
l = vendors.length;
for ( ; i < l; i++ ) {
transform = vendors[i] + 'ransform';
if ( transform in _elementStyle ) return vendors[i].substr(0, vendors[i].length-1);
}
return false;
})();
function _prefixStyle (style) {
if ( _vendor === false ) return false;
if ( _vendor === '' ) return style;
return _vendor + style.charAt(0).toUpperCase() + style.substr(1);
}
me.getTime = Date.now || function getTime () { return new Date().getTime(); };
me.extend = function (target, obj) {
for ( var i in obj ) {
target[i] = obj[i];
}
};
me.addEvent = function (el, type, fn, capture) {
el.addEventListener(type, fn, !!capture);
};
me.removeEvent = function (el, type, fn, capture) {
el.removeEventListener(type, fn, !!capture);
};
me.prefixPointerEvent = function (pointerEvent) {
return window.MSPointerEvent ?
'MSPointer' + pointerEvent.charAt(7).toUpperCase() + pointerEvent.substr(8):
pointerEvent;
};
me.momentum = function (current, start, time, lowerMargin, wrapperSize, deceleration) {
var distance = current - start,
speed = Math.abs(distance) / time,
destination,
duration;
deceleration = deceleration === undefined ? 0.0006 : deceleration;
destination = current + ( speed * speed ) / ( 2 * deceleration ) * ( distance < 0 ? -1 : 1 );
duration = speed / deceleration;
if ( destination < lowerMargin ) {
destination = wrapperSize ? lowerMargin - ( wrapperSize / 2.5 * ( speed / 8 ) ) : lowerMargin;
distance = Math.abs(destination - current);
duration = distance / speed;
} else if ( destination > 0 ) {
destination = wrapperSize ? wrapperSize / 2.5 * ( speed / 8 ) : 0;
distance = Math.abs(current) + destination;
duration = distance / speed;
}
return {
destination: Math.round(destination),
duration: duration
};
};
var _transform = _prefixStyle('transform');
var isWechatDevTool = navigator.userAgent.toLowerCase().indexOf('wechatdevtools') > -1;
me.extend(me, {
hasTransform: _transform !== false,
hasPerspective: _prefixStyle('perspective') in _elementStyle,
hasTouch: 'ontouchstart' in window || isWechatDevTool,
hasPointer: !!(window.PointerEvent || window.MSPointerEvent), // IE10 is prefixed
hasTransition: _prefixStyle('transition') in _elementStyle
});
/*
This should find all Android browsers lower than build 535.19 (both stock browser and webview)
- galaxy S2 is ok
- 2.3.6 : `AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1`
- 4.0.4 : `AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30`
- galaxy S3 is badAndroid (stock brower, webview)
`AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30`
- galaxy S4 is badAndroid (stock brower, webview)
`AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30`
- galaxy S5 is OK
`AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36 (Chrome/)`
- galaxy S6 is OK
`AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36 (Chrome/)`
*/
me.isBadAndroid = (function() {
var appVersion = window.navigator.appVersion;
// Android browser is not a chrome browser.
if (/Android/.test(appVersion) && !(/Chrome\/\d/.test(appVersion))) {
var safariVersion = appVersion.match(/Safari\/(\d+.\d)/);
if(safariVersion && typeof safariVersion === "object" && safariVersion.length >= 2) {
return parseFloat(safariVersion[1]) < 535.19;
} else {
return true;
}
} else {
return false;
}
})();
me.extend(me.style = {}, {
transform: _transform,
transitionTimingFunction: _prefixStyle('transitionTimingFunction'),
transitionDuration: _prefixStyle('transitionDuration'),
transitionDelay: _prefixStyle('transitionDelay'),
transformOrigin: _prefixStyle('transformOrigin')
});
me.hasClass = function (e, c) {
var re = new RegExp("(^|\\s)" + c + "(\\s|$)");
return re.test(e.className);
};
me.addClass = function (e, c) {
if ( me.hasClass(e, c) ) {
return;
}
var newclass = e.className.split(' ');
newclass.push(c);
e.className = newclass.join(' ');
};
me.removeClass = function (e, c) {
if ( !me.hasClass(e, c) ) {
return;
}
var re = new RegExp("(^|\\s)" + c + "(\\s|$)", 'g');
e.className = e.className.replace(re, ' ');
};
me.offset = function (el) {
var left = -el.offsetLeft,
top = -el.offsetTop;
// jshint -W084
while (el = el.offsetParent) {
left -= el.offsetLeft;
top -= el.offsetTop;
}
// jshint +W084
return {
left: left,
top: top
};
};
me.preventDefaultException = function (el, exceptions) {
for ( var i in exceptions ) {
if ( exceptions[i].test(el[i]) ) {
return true;
}
}
return false;
};
me.extend(me.eventType = {}, {
touchstart: 1,
touchmove: 1,
touchend: 1,
mousedown: 2,
mousemove: 2,
mouseup: 2,
pointerdown: 3,
pointermove: 3,
pointerup: 3,
MSPointerDown: 3,
MSPointerMove: 3,
MSPointerUp: 3
});
me.extend(me.ease = {}, {
quadratic: {
style: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
fn: function (k) {
return k * ( 2 - k );
}
},
circular: {
style: 'cubic-bezier(0.1, 0.57, 0.1, 1)', // Not properly "circular" but this looks better, it should be (0.075, 0.82, 0.165, 1)
fn: function (k) {
return Math.sqrt( 1 - ( --k * k ) );
}
},
back: {
style: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
fn: function (k) {
var b = 4;
return ( k = k - 1 ) * k * ( ( b + 1 ) * k + b ) + 1;
}
},
bounce: {
style: '',
fn: function (k) {
if ( ( k /= 1 ) < ( 1 / 2.75 ) ) {
return 7.5625 * k * k;
} else if ( k < ( 2 / 2.75 ) ) {
return 7.5625 * ( k -= ( 1.5 / 2.75 ) ) * k + 0.75;
} else if ( k < ( 2.5 / 2.75 ) ) {
return 7.5625 * ( k -= ( 2.25 / 2.75 ) ) * k + 0.9375;
} else {
return 7.5625 * ( k -= ( 2.625 / 2.75 ) ) * k + 0.984375;
}
}
},
elastic: {
style: '',
fn: function (k) {
var f = 0.22,
e = 0.4;
if ( k === 0 ) { return 0; }
if ( k == 1 ) { return 1; }
return ( e * Math.pow( 2, - 10 * k ) * Math.sin( ( k - f / 4 ) * ( 2 * Math.PI ) / f ) + 1 );
}
}
});
me.tap = function (e, eventName) {
var ev = document.createEvent('Event');
ev.initEvent(eventName, true, true);
ev.pageX = e.pageX;
ev.pageY = e.pageY;
e.target.dispatchEvent(ev);
};
me.click = function (e) {
var target = e.target,
ev;
if ( !(/(SELECT|INPUT|TEXTAREA)/i).test(target.tagName) ) {
// path_to_url
// initMouseEvent is deprecated.
ev = document.createEvent(window.MouseEvent ? 'MouseEvents' : 'Event');
ev.initEvent('click', true, true);
ev.view = e.view || window;
ev.detail = 1;
ev.screenX = target.screenX || 0;
ev.screenY = target.screenY || 0;
ev.clientX = target.clientX || 0;
ev.clientY = target.clientY || 0;
ev.ctrlKey = !!e.ctrlKey;
ev.altKey = !!e.altKey;
ev.shiftKey = !!e.shiftKey;
ev.metaKey = !!e.metaKey;
ev.button = 0;
ev.relatedTarget = null;
ev._constructed = true;
target.dispatchEvent(ev);
}
};
return me;
})();
function IScrollForIosSelect (el, options) {
this.wrapper = typeof el == 'string' ? document.querySelector(el) : el;
this.scroller = this.wrapper.children[0];
this.scrollerStyle = this.scroller.style; // cache style for better performance
this.options = {
disablePointer: true,
disableTouch: !utils.hasTouch,
disableMouse: utils.hasTouch,
startX: 0,
startY: 0,
scrollY: true,
directionLockThreshold: 5,
momentum: true,
bounce: true,
bounceTime: 600,
bounceEasing: '',
preventDefault: true,
preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/ },
HWCompositing: true,
useTransition: true,
useTransform: true,
bindToWrapper: typeof window.onmousedown === "undefined"
};
for ( var i in options ) {
this.options[i] = options[i];
}
// Normalize options
this.translateZ = this.options.HWCompositing && utils.hasPerspective ? ' translateZ(0)' : '';
this.options.useTransition = utils.hasTransition && this.options.useTransition;
this.options.useTransform = utils.hasTransform && this.options.useTransform;
this.options.eventPassthrough = this.options.eventPassthrough === true ? 'vertical' : this.options.eventPassthrough;
this.options.preventDefault = !this.options.eventPassthrough && this.options.preventDefault;
// If you want eventPassthrough I have to lock one of the axes
this.options.scrollY = this.options.eventPassthrough == 'vertical' ? false : this.options.scrollY;
this.options.scrollX = this.options.eventPassthrough == 'horizontal' ? false : this.options.scrollX;
// With eventPassthrough we also need lockDirection mechanism
this.options.freeScroll = this.options.freeScroll && !this.options.eventPassthrough;
this.options.directionLockThreshold = this.options.eventPassthrough ? 0 : this.options.directionLockThreshold;
this.options.bounceEasing = typeof this.options.bounceEasing == 'string' ? utils.ease[this.options.bounceEasing] || utils.ease.circular : this.options.bounceEasing;
this.options.resizePolling = this.options.resizePolling === undefined ? 60 : this.options.resizePolling;
if ( this.options.tap === true ) {
this.options.tap = 'tap';
}
// path_to_url
if (!this.options.useTransition && !this.options.useTransform) {
if(!(/relative|absolute/i).test(this.scrollerStyle.position)) {
this.scrollerStyle.position = "relative";
}
}
if ( this.options.shrinkScrollbars == 'scale' ) {
this.options.useTransition = false;
}
this.options.invertWheelDirection = this.options.invertWheelDirection ? -1 : 1;
if ( this.options.probeType == 3 ) {
this.options.useTransition = false; }
this.x = 0;
this.y = 0;
this.directionX = 0;
this.directionY = 0;
this._events = {};
this._init();
this.refresh();
this.scrollTo(this.options.startX, this.options.startY);
this.enable();
}
IScrollForIosSelect.prototype = {
version: '1.0.0',
_init: function () {
this._initEvents();
},
destroy: function () {
this._initEvents(true);
clearTimeout(this.resizeTimeout);
this.resizeTimeout = null;
this._execEvent('destroy');
},
_transitionEnd: function (e) {
if ( e.target != this.scroller || !this.isInTransition ) {
return;
}
this._transitionTime();
if ( !this.resetPosition(this.options.bounceTime) ) {
this.isInTransition = false;
this._execEvent('scrollEnd');
}
},
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
// for button property
// path_to_url
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
if ( !this.enabled || (this.initiated && utils.eventType[e.type] !== this.initiated) ) {
return;
}
if ( this.options.preventDefault && !utils.isBadAndroid && !utils.preventDefaultException(e.target, this.options.preventDefaultException) ) {
e.preventDefault();
}
var point = e.touches ? e.touches[0] : e,
pos;
this.initiated = utils.eventType[e.type];
this.moved = false;
this.distX = 0;
this.distY = 0;
this.directionX = 0;
this.directionY = 0;
this.directionLocked = 0;
this.startTime = utils.getTime();
if ( this.options.useTransition && this.isInTransition ) {
this._transitionTime();
this.isInTransition = false;
pos = this.getComputedPosition();
this._translate(Math.round(pos.x), Math.round(pos.y));
this._execEvent('scrollEnd');
} else if ( !this.options.useTransition && this.isAnimating ) {
this.isAnimating = false;
this._execEvent('scrollEnd');
}
this.startX = this.x;
this.startY = this.y;
this.absStartX = this.x;
this.absStartY = this.y;
this.pointX = point.pageX;
this.pointY = point.pageY;
this._execEvent('beforeScrollStart');
},
_move: function (e) {
if ( !this.enabled || utils.eventType[e.type] !== this.initiated ) {
return;
}
if ( this.options.preventDefault ) { // increases performance on Android? TODO: check!
// e.preventDefault();
}
var point = e.touches ? e.touches[0] : e,
deltaX = point.pageX - this.pointX,
deltaY = point.pageY - this.pointY,
timestamp = utils.getTime(),
newX, newY,
absDistX, absDistY;
this.pointX = point.pageX;
this.pointY = point.pageY;
this.distX += deltaX;
this.distY += deltaY;
absDistX = Math.abs(this.distX);
absDistY = Math.abs(this.distY);
// We need to move at least 10 pixels for the scrolling to initiate
if ( timestamp - this.endTime > 300 && (absDistX < 10 && absDistY < 10) ) {
return;
}
// If you are scrolling in one direction lock the other
if ( !this.directionLocked && !this.options.freeScroll ) {
if ( absDistX > absDistY + this.options.directionLockThreshold ) {
this.directionLocked = 'h'; // lock horizontally
} else if ( absDistY >= absDistX + this.options.directionLockThreshold ) {
this.directionLocked = 'v'; // lock vertically
} else {
this.directionLocked = 'n'; // no lock
}
}
if ( this.directionLocked == 'h' ) {
if ( this.options.eventPassthrough == 'vertical' ) {
e.preventDefault();
} else if ( this.options.eventPassthrough == 'horizontal' ) {
this.initiated = false;
return;
}
deltaY = 0;
} else if ( this.directionLocked == 'v' ) {
if ( this.options.eventPassthrough == 'horizontal' ) {
e.preventDefault();
} else if ( this.options.eventPassthrough == 'vertical' ) {
this.initiated = false;
return;
}
deltaX = 0;
}
deltaX = this.hasHorizontalScroll ? deltaX : 0;
deltaY = this.hasVerticalScroll ? deltaY : 0;
newX = this.x + deltaX;
newY = this.y + deltaY;
// Slow down if outside of the boundaries
if ( newX > 0 || newX < this.maxScrollX ) {
newX = this.options.bounce ? this.x + deltaX / 3 : newX > 0 ? 0 : this.maxScrollX;
}
if ( newY > 0 || newY < this.maxScrollY ) {
newY = this.options.bounce ? this.y + deltaY / 3 : newY > 0 ? 0 : this.maxScrollY;
}
this.directionX = deltaX > 0 ? -1 : deltaX < 0 ? 1 : 0;
this.directionY = deltaY > 0 ? -1 : deltaY < 0 ? 1 : 0;
if ( !this.moved ) {
this._execEvent('scrollStart');
}
this.moved = true;
this._translate(newX, newY);
if ( timestamp - this.startTime > 300 ) {
this.startTime = timestamp;
this.startX = this.x;
this.startY = this.y;
if ( this.options.probeType == 1 ) {
this._execEvent('scroll');
}
}
if ( this.options.probeType > 1 ) {
this._execEvent('scroll');
}
},
_end: function (e) {
if ( !this.enabled || utils.eventType[e.type] !== this.initiated ) {
return;
}
if ( this.options.preventDefault && !utils.preventDefaultException(e.target, this.options.preventDefaultException) ) {
e.preventDefault();
}
var point = e.changedTouches ? e.changedTouches[0] : e,
momentumX,
momentumY,
duration = utils.getTime() - this.startTime,
newX = Math.round(this.x),
newY = Math.round(this.y),
distanceX = Math.abs(newX - this.startX),
distanceY = Math.abs(newY - this.startY),
time = 0,
easing = '';
this.isInTransition = 0;
this.initiated = 0;
this.endTime = utils.getTime();
// reset if we are outside of the boundaries
if ( this.resetPosition(this.options.bounceTime) ) {
return;
}
this.scrollTo(newX, newY); // ensures that the last position is rounded
// we scrolled less than 10 pixels
if ( !this.moved ) {
if ( this.options.tap ) {
utils.tap(e, this.options.tap);
}
if ( this.options.click ) {
utils.click(e);
}
this._execEvent('scrollCancel');
return;
}
if ( this._events.flick && duration < 200 && distanceX < 100 && distanceY < 100 ) {
this._execEvent('flick');
return;
}
// start momentum animation if needed
if ( this.options.momentum && duration < 300 ) {
momentumX = this.hasHorizontalScroll ? utils.momentum(this.x, this.startX, duration, this.maxScrollX, this.options.bounce ? this.wrapperWidth : 0, this.options.deceleration) : { destination: newX, duration: 0 };
momentumY = this.hasVerticalScroll ? utils.momentum(this.y, this.startY, duration, this.maxScrollY, this.options.bounce ? this.wrapperHeight : 0, this.options.deceleration) : { destination: newY, duration: 0 };
newX = momentumX.destination;
newY = momentumY.destination;
time = Math.max(momentumX.duration, momentumY.duration);
this.isInTransition = 1;
}
if ( this.options.snap ) {
var snap = this._nearestSnap(newX, newY);
this.currentPage = snap;
time = this.options.snapSpeed || Math.max(
Math.max(
Math.min(Math.abs(newX - snap.x), 1000),
Math.min(Math.abs(newY - snap.y), 1000)
), 300);
newX = snap.x;
newY = snap.y;
this.directionX = 0;
this.directionY = 0;
easing = this.options.bounceEasing;
}
if ( newX != this.x || newY != this.y ) {
// change easing function when scroller goes out of the boundaries
if ( newX > 0 || newX < this.maxScrollX || newY > 0 || newY < this.maxScrollY ) {
easing = utils.ease.quadratic;
}
this.scrollTo(newX, newY, time, easing);
return;
}
this._execEvent('scrollEnd');
},
_resize: function () {
var that = this;
clearTimeout(this.resizeTimeout);
this.resizeTimeout = setTimeout(function () {
that.refresh();
}, this.options.resizePolling);
},
resetPosition: function (time) {
var x = this.x,
y = this.y;
time = time || 0;
if ( !this.hasHorizontalScroll || this.x > 0 ) {
x = 0;
} else if ( this.x < this.maxScrollX ) {
x = this.maxScrollX;
}
if ( !this.hasVerticalScroll || this.y > 0 ) {
y = 0;
} else if ( this.y < this.maxScrollY ) {
y = this.maxScrollY;
}
if ( x == this.x && y == this.y ) {
return false;
}
this.scrollTo(x, y, time, this.options.bounceEasing);
return true;
},
disable: function () {
this.enabled = false;
},
enable: function () {
this.enabled = true;
},
refresh: function () {
var rf = this.wrapper.offsetHeight; // Force reflow
this.wrapperWidth = this.wrapper.clientWidth;
this.wrapperHeight = this.wrapper.clientHeight;
this.scrollerWidth = this.scroller.offsetWidth;
this.scrollerHeight = this.scroller.offsetHeight;
this.maxScrollX = this.wrapperWidth - this.scrollerWidth;
this.maxScrollY = this.wrapperHeight - this.scrollerHeight;
this.hasHorizontalScroll = this.options.scrollX && this.maxScrollX < 0;
this.hasVerticalScroll = this.options.scrollY && this.maxScrollY < 0;
if ( !this.hasHorizontalScroll ) {
this.maxScrollX = 0;
this.scrollerWidth = this.wrapperWidth;
}
if ( !this.hasVerticalScroll ) {
this.maxScrollY = 0;
this.scrollerHeight = this.wrapperHeight;
}
this.endTime = 0;
this.directionX = 0;
this.directionY = 0;
this.wrapperOffset = utils.offset(this.wrapper);
this._execEvent('refresh');
this.resetPosition();
},
on: function (type, fn) {
if ( !this._events[type] ) {
this._events[type] = [];
}
this._events[type].push(fn);
},
off: function (type, fn) {
if ( !this._events[type] ) {
return;
}
var index = this._events[type].indexOf(fn);
if ( index > -1 ) {
this._events[type].splice(index, 1);
}
},
_execEvent: function (type) {
if ( !this._events[type] ) {
return;
}
var i = 0,
l = this._events[type].length;
if ( !l ) {
return;
}
for ( ; i < l; i++ ) {
this._events[type][i].apply(this, [].slice.call(arguments, 1));
}
},
scrollTo: function (x, y, time, easing) {
easing = easing || utils.ease.circular;
this.isInTransition = this.options.useTransition && time > 0;
var transitionType = this.options.useTransition && easing.style;
if ( !time || transitionType ) {
if(transitionType) {
this._transitionTimingFunction(easing.style);
this._transitionTime(time);
}
this._translate(x, y);
} else {
this._animate(x, y, time, easing.fn);
}
},
scrollToElement: function (el, time, offsetX, offsetY, easing) {
el = el.nodeType ? el : this.scroller.querySelector(el);
if ( !el ) {
return;
}
var pos = utils.offset(el);
pos.left -= this.wrapperOffset.left;
pos.top -= this.wrapperOffset.top;
// if offsetX/Y are true we center the element to the screen
if ( offsetX === true ) {
offsetX = Math.round(el.offsetWidth / 2 - this.wrapper.offsetWidth / 2);
}
if ( offsetY === true ) {
offsetY = Math.round(el.offsetHeight / 2 - this.wrapper.offsetHeight / 2);
}
pos.left -= offsetX || 0;
pos.top -= offsetY || 0;
pos.left = pos.left > 0 ? 0 : pos.left < this.maxScrollX ? this.maxScrollX : pos.left;
pos.top = pos.top > 0 ? 0 : pos.top < this.maxScrollY ? this.maxScrollY : pos.top;
time = time === undefined || time === null || time === 'auto' ? Math.max(Math.abs(this.x-pos.left), Math.abs(this.y-pos.top)) : time;
this.scrollTo(pos.left, pos.top, time, easing);
},
_transitionTime: function (time) {
if (!this.options.useTransition) {
return;
}
time = time || 0;
var durationProp = utils.style.transitionDuration;
if(!durationProp) {
return;
}
this.scrollerStyle[durationProp] = time + 'ms';
if ( !time && utils.isBadAndroid ) {
this.scrollerStyle[durationProp] = '0.0001ms';
// remove 0.0001ms
var self = this;
rAF(function() {
if(self.scrollerStyle[durationProp] === '0.0001ms') {
self.scrollerStyle[durationProp] = '0s';
}
});
}
},
_transitionTimingFunction: function (easing) {
this.scrollerStyle[utils.style.transitionTimingFunction] = easing;
},
_translate: function (x, y) {
if ( this.options.useTransform ) {
this.scrollerStyle[utils.style.transform] = 'translate(' + x + 'px,' + y + 'px)' + this.translateZ;
} else {
x = Math.round(x);
y = Math.round(y);
this.scrollerStyle.left = x + 'px';
this.scrollerStyle.top = y + 'px';
}
this.x = x;
this.y = y;
},
_initEvents: function (remove) {
var eventType = remove ? utils.removeEvent : utils.addEvent,
target = this.options.bindToWrapper ? this.wrapper : window;
eventType(window, 'orientationchange', this);
eventType(window, 'resize', this);
if ( this.options.click ) {
eventType(this.wrapper, 'click', this, true);
}
if ( !this.options.disableMouse ) {
eventType(this.wrapper, 'mousedown', this);
eventType(target, 'mousemove', this);
eventType(target, 'mousecancel', this);
eventType(target, 'mouseup', this);
}
if ( utils.hasPointer && !this.options.disablePointer ) {
eventType(this.wrapper, utils.prefixPointerEvent('pointerdown'), this);
eventType(target, utils.prefixPointerEvent('pointermove'), this);
eventType(target, utils.prefixPointerEvent('pointercancel'), this);
eventType(target, utils.prefixPointerEvent('pointerup'), this);
}
if ( utils.hasTouch && !this.options.disableTouch ) {
eventType(this.wrapper, 'touchstart', this);
eventType(target, 'touchmove', this);
eventType(target, 'touchcancel', this);
eventType(target, 'touchend', this);
}
eventType(this.scroller, 'transitionend', this);
eventType(this.scroller, 'webkitTransitionEnd', this);
eventType(this.scroller, 'oTransitionEnd', this);
eventType(this.scroller, 'MSTransitionEnd', this);
},
getComputedPosition: function () {
var matrix = window.getComputedStyle(this.scroller, null),
x, y;
if ( this.options.useTransform ) {
matrix = matrix[utils.style.transform].split(')')[0].split(', ');
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}
return { x: x, y: y };
},
_animate: function (destX, destY, duration, easingFn) {
var that = this,
startX = this.x,
startY = this.y,
startTime = utils.getTime(),
destTime = startTime + duration;
function step () {
var now = utils.getTime(),
newX, newY,
easing;
if ( now >= destTime ) {
that.isAnimating = false;
that._translate(destX, destY);
if ( !that.resetPosition(that.options.bounceTime) ) {
that._execEvent('scrollEnd');
}
return;
}
now = ( now - startTime ) / duration;
easing = easingFn(now);
newX = ( destX - startX ) * easing + startX;
newY = ( destY - startY ) * easing + startY;
that._translate(newX, newY);
if ( that.isAnimating ) {
rAF(step);
}
if ( that.options.probeType == 3 ) {
that._execEvent('scroll');
}
}
this.isAnimating = true;
step();
},
handleEvent: function (e) {
switch ( e.type ) {
case 'touchstart':
case 'pointerdown':
case 'MSPointerDown':
case 'mousedown':
this._start(e);
break;
case 'touchmove':
case 'pointermove':
case 'MSPointerMove':
case 'mousemove':
this._move(e);
break;
case 'touchend':
case 'pointerup':
case 'MSPointerUp':
case 'mouseup':
case 'touchcancel':
case 'pointercancel':
case 'MSPointerCancel':
case 'mousecancel':
this._end(e);
break;
case 'orientationchange':
case 'resize':
this._resize();
break;
case 'transitionend':
case 'webkitTransitionEnd':
case 'oTransitionEnd':
case 'MSTransitionEnd':
this._transitionEnd(e);
break;
case 'click':
if ( this.enabled && !e._constructed ) {
e.preventDefault();
e.stopPropagation();
}
break;
}
}
};
IScrollForIosSelect.utils = utils;
var iosSelectUtil = {
isArray: function (arg1) {
return Object.prototype.toString.call(arg1) === '[object Array]';
},
isFunction: function (arg1) {
return typeof arg1 === 'function';
},
attrToData: function (dom, index) {
var obj = {};
for (var p in dom.dataset) {
obj[p] = dom.dataset[p];
}
obj['dom'] = dom;
obj['atindex'] = index;
return obj;
},
attrToHtml: function (obj) {
var html = '';
for (var p in obj) {
html += 'data-' + p + '="' + obj[p] + '"';
}
return html;
}
};
/*function preventEventFun(e) {
e.preventDefault();
}*/
// Layer
function Layer(html, opts) {
if (!(this instanceof Layer)) {
return new Layer(html, opts);
}
this.html = html;
this.opts = opts;
var el = document.createElement('div');
el.className = 'olay';
var layer_el = document.createElement('div');
layer_el.className = 'layer';
this.el = el;
this.layer_el = layer_el;
this.init();
}
Layer.prototype = {
init: function () {
this.layer_el.innerHTML = this.html;
if (this.opts.container && document.querySelector(this.opts.container)) {
document.querySelector(this.opts.container).appendChild(this.el);
}
else {
document.body.appendChild(this.el);
}
this.el.appendChild(this.layer_el);
this.el.style.height = Math.max(document.documentElement.getBoundingClientRect().height, window.innerHeight);
if (this.opts.className) {
this.el.className += ' ' + this.opts.className;
}
this.bindEvent();
var evt = document.createEvent('HTMLEvents');
evt.initEvent('IosSelectCreated', true, false);
this.el.dispatchEvent(evt);
},
bindEvent: function () {
var sureDom = this.el.querySelectorAll('.sure');
var closeDom = this.el.querySelectorAll('.close');
var self = this;
this.el.addEventListener('click', function(e) {
self.close();
self.opts.maskCallback && self.opts.maskCallback(e);
});
this.layer_el.addEventListener('click', function(e) {
e.stopPropagation();
});
Array.prototype.slice.call(sureDom).forEach(function (item, index) {
item.addEventListener('click', function () {
self.close();
});
});
Array.prototype.slice.call(closeDom).forEach(function (item, index) {
item.addEventListener('click', function (e) {
self.close();
self.opts.fallback && self.opts.fallback(e);
});
});
},
close: function () {
var self=this;
if (self.el) {
if (self.opts.showAnimate) {
self.el.className += ' fadeOutDown';
self.el.addEventListener(aF, function () {
self.removeDom();
});
}
else {
self.removeDom();
}
}
},
removeDom: function (){
var evt = document.createEvent('HTMLEvents');
evt.initEvent('IosSelectDestroyed', true, false);
this.el.dispatchEvent(evt);
this.el.parentNode.removeChild(this.el);
this.el = null;
if (document.documentElement.classList.contains('ios-select-body-class')) {
document.documentElement.classList.remove('ios-select-body-class');
/*document.body.removeEventListener('touchmove', preventEventFun, {
passive: false
});*/
}
}
}
function IosSelect(level, data, options) {
if (!iosSelectUtil.isArray(data) || data.length === 0) {
throw new TypeError('the data must be a non-empty array!');
return;
}
if ([1, 2, 3, 4, 5, 6].indexOf(level) == -1) {
throw new RangeError('the level parameter must be one of 1,2,3,4,5,6!');
return;
}
this.data = data;
this.level = level || 1;
this.options = options;
this.typeBox = 'one-level-box';
var boxClass = ['one', 'two', 'three', 'four', 'five', 'six'];
if (this.level <= 6 && this.level >= 1) {
this.typeBox = boxClass[parseInt(this.level) - 1] + '-level-box';
}
this.title = options.title || '';
this.options.itemHeight = options.itemHeight || 35;
this.options.itemShowCount = [3, 5, 7, 9].indexOf(options.itemShowCount) !== -1? options.itemShowCount: 7;
this.options.coverArea1Top = Math.floor(this.options.itemShowCount / 2);
this.options.coverArea2Top = Math.ceil(this.options.itemShowCount / 2);
this.options.headerHeight = options.headerHeight || 44;
this.options.relation = iosSelectUtil.isArray(this.options.relation)? this.options.relation: [];
this.options.oneTwoRelation = this.options.relation[0];
this.options.twoThreeRelation = this.options.relation[1];
this.options.threeFourRelation = this.options.relation[2];
this.options.fourFiveRelation = this.options.relation[3];
this.options.fiveSixRelation = this.options.relation[4];
if (this.options.cssUnit !== 'px' && this.options.cssUnit !== 'rem') {
this.options.cssUnit = 'px';
}
var self = this;
//
this.selectOneObj = {
id: self.options.oneLevelId
};
this.selectTwoObj = {
id: self.options.twoLevelId
};
this.selectThreeObj = {
id: self.options.threeLevelId
};
this.selectFourObj = {
id: self.options.fourLevelId
};
this.selectFiveObj = {
id: self.options.fiveLevelId
};
this.selectSixObj = {
id: self.options.sixLevelId
};
this.setBase();
this.init();
};
IosSelect.prototype = {
init: function () {
this.initLayer();
this.setLevelData(1, this.options.oneLevelId, this.options.twoLevelId, this.options.threeLevelId, this.options.fourLevelId, this.options.fiveLevelId, this.options.sixLevelId);
},
initLayer: function () {
var self = this;
var sureText = this.options.sureText || '';
var closeText = this.options.closeText || '';
var headerHeightCss = this.options.headerHeight + this.options.cssUnit;
var all_html = [
'<header style="height: ' + headerHeightCss + '; line-height: ' + headerHeightCss + '" class="iosselect-header">',
'<a style="height: ' + headerHeightCss + '; line-height: ' + headerHeightCss + '" href="javascript:void(0)" class="close">' + closeText + '</a>',
'<a style="height: ' + headerHeightCss + '; line-height: ' + headerHeightCss + '" href="javascript:void(0)" class="sure">' + sureText + '</a>',
'<h2 id="iosSelectTitle"></h2>',
'</header>',
'<section class="iosselect-box">',
'<div class="one-level-contain" id="oneLevelContain">',
'<ul class="select-one-level">',
'</ul>',
'</div>',
'<div class="two-level-contain" id="twoLevelContain">',
'<ul class="select-two-level">',
'</ul>',
'</div>',
'<div class="three-level-contain" id="threeLevelContain">',
'<ul class="select-three-level">',
'</ul>',
'</div>',
'<div class="four-level-contain" id="fourLevelContain">',
'<ul class="select-four-level">',
'</ul>',
'</div>',
'<div class="five-level-contain" id="fiveLevelContain">',
'<ul class="select-five-level">',
'</ul>',
'</div>',
'<div class="six-level-contain" id="sixLevelContain">',
'<ul class="select-six-level">',
'</ul>',
'</div>',
'</section>',
'<hr class="cover-area1"/>',
'<hr class="cover-area2"/>',
'<div class="ios-select-loading-box" id="iosSelectLoadingBox">',
'<div class="ios-select-loading"></div>',
'</div>'
].join('\r\n');
this.iosSelectLayer = new Layer(all_html, {
className: 'ios-select-widget-box ' + this.typeBox + (this.options.addClassName? ' ' + this.options.addClassName: '') + (this.options.showAnimate? ' fadeInUp': ''),
container: this.options.container || '',
showAnimate: this.options.showAnimate,
fallback: this.options.fallback,
maskCallback: this.options.maskCallback
});
this.iosSelectTitleDom = this.iosSelectLayer.el.querySelector('#iosSelectTitle');
this.iosSelectLoadingBoxDom = this.iosSelectLayer.el.querySelector('#iosSelectLoadingBox');
this.iosSelectTitleDom.innerHTML = this.title;
if (this.options.headerHeight && this.options.itemHeight) {
this.coverArea1Dom = this.iosSelectLayer.el.querySelector('.cover-area1');
this.coverArea1Dom.style.top = this.options.headerHeight + this.options.itemHeight * this.options.coverArea1Top + this.options.cssUnit;
this.coverArea2Dom = this.iosSelectLayer.el.querySelector('.cover-area2');
this.coverArea2Dom.style.top = this.options.headerHeight + this.options.itemHeight * this.options.coverArea2Top + this.options.cssUnit;
}
this.oneLevelContainDom = this.iosSelectLayer.el.querySelector('#oneLevelContain');
this.twoLevelContainDom = this.iosSelectLayer.el.querySelector('#twoLevelContain');
this.threeLevelContainDom = this.iosSelectLayer.el.querySelector('#threeLevelContain');
this.fourLevelContainDom = this.iosSelectLayer.el.querySelector('#fourLevelContain');
this.fiveLevelContainDom = this.iosSelectLayer.el.querySelector('#fiveLevelContain');
this.sixLevelContainDom = this.iosSelectLayer.el.querySelector('#sixLevelContain');
this.oneLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-one-level');
this.twoLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-two-level');
this.threeLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-three-level');
this.fourLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-four-level');
this.fiveLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-five-level');
this.sixLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-six-level');
this.iosSelectLayer.el.querySelector('.layer').style.height = this.options.itemHeight * this.options.itemShowCount + this.options.headerHeight + this.options.cssUnit;
this.oneLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
document.documentElement.classList.add('ios-select-body-class');
/*document.body.addEventListener('touchmove', preventEventFun, {
passive: false
});*/
this.scrollOne = new IScrollForIosSelect('#oneLevelContain', {
probeType: 3,
bounce: false
});
this.setScorllEvent(this.scrollOne, 1);
if (this.level >= 2) {
this.twoLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollTwo = new IScrollForIosSelect('#twoLevelContain', {
probeType: 3,
bounce: false
});
this.setScorllEvent(this.scrollTwo, 2);
}
if (this.level >= 3) {
this.threeLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollThree = new IScrollForIosSelect('#threeLevelContain', {
probeType: 3,
bounce: false
});
this.setScorllEvent(this.scrollThree, 3);
}
if (this.level >= 4) {
this.fourLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollFour = new IScrollForIosSelect('#fourLevelContain', {
probeType: 3,
bounce: false
});
this.setScorllEvent(this.scrollFour, 4);
}
if (this.level >= 5) {
this.fiveLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollFive = new IScrollForIosSelect('#fiveLevelContain', {
probeType: 3,
bounce: false
});
this.setScorllEvent(this.scrollFive, 5);
}
if (this.level >= 6) {
this.sixLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollSix = new IScrollForIosSelect('#sixLevelContain', {
probeType: 3,
bounce: false
});
this.setScorllEvent(this.scrollSix, 6);
}
//
this.selectBtnDom = this.iosSelectLayer.el.querySelector('.sure');
this.selectBtnDom.addEventListener('click', function (e) {
self.options.callback && self.options.callback(self.selectOneObj, self.selectTwoObj, self.selectThreeObj, self.selectFourObj, self.selectFiveObj, self.selectSixObj);
});
},
close: function() {
this.options.callback && this.options.callback(this.selectOneObj, this.selectTwoObj, this.selectThreeObj, this.selectFourObj, this.selectFiveObj, this.selectSixObj);
this.iosSelectLayer.close();
},
mapKeyByIndex: function (index) {
var self = this;
var map = {
index: 1,
levelContain: self.oneLevelContainDom,
relation: self.options.oneTwoRelation
};
if (index === 2) {
map = {
index: 2,
levelContain: self.twoLevelContainDom,
relation: self.options.twoThreeRelation
};
}
else if (index === 3) {
map = {
index: 3,
levelContain: self.threeLevelContainDom,
relation: self.options.threeFourRelation
};
}
else if (index === 4) {
map = {
index: 4,
levelContain: self.fourLevelContainDom,
relation: self.options.fourFiveRelation
};
}
else if (index === 5) {
map = {
index: 5,
levelContain: self.fiveLevelContainDom,
relation: self.options.fiveSixRelation
};
}
else if (index === 6) {
map = {
index: 6,
levelContain: self.sixLevelContainDom,
relation: 0
};
}
return map;
},
setScorllEvent: function (scrollInstance, index) {
var self = this;
var mapKey = self.mapKeyByIndex(index);
scrollInstance.on('scrollStart', function () {
self.toggleClassList(mapKey.levelContain);
});
scrollInstance.on('scroll', function () {
if (isNaN(this.y)) {
return;
}
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
plast = Math.round(pa) + 1;
self.toggleClassList(mapKey.levelContain);
self.changeClassName(mapKey.levelContain, plast);
});
scrollInstance.on('scrollEnd', function () {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
scrollInstance.scrollTo(0, -to, 0);
self.toggleClassList(mapKey.levelContain);
var pdom = self.changeClassName(mapKey.levelContain, plast);
var obj = iosSelectUtil.attrToData(pdom, plast);
self.setSelectObj(index, obj);
if (self.level > index) {
if ((mapKey.relation === 1 && iosSelectUtil.isArray(self.data[index])) || iosSelectUtil.isFunction(self.data[index])) {
self.setLevelData(index + 1, self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id, self.selectSixObj.id);
}
}
});
scrollInstance.on('scrollCancel', function () {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
scrollInstance.scrollTo(0, -to, 0);
self.toggleClassList(mapKey.levelContain);
var pdom = self.changeClassName(mapKey.levelContain, plast);
var obj = iosSelectUtil.attrToData(pdom, plast);
self.setSelectObj(index, obj);
if (self.level > index) {
if ((mapKey.relation === 1 && iosSelectUtil.isArray(self.data[index])) || iosSelectUtil.isFunction(self.data[index])) {
self.setLevelData(index + 1, self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id, self.selectSixObj.id);
}
}
});
},
loadingShow: function () {
this.options.showLoading && (this.iosSelectLoadingBoxDom.style.display = 'block');
},
loadingHide: function () {
this.iosSelectLoadingBoxDom.style.display = 'none';
},
mapRenderByIndex: function (index) {
var self = this;
var map = {
index: 1,
relation: 0,
levelUlContainDom: self.oneLevelUlContainDom,
scrollInstance: self.scrollOne,
levelContainDom: self.oneLevelContainDom
};
if (index === 2) {
map = {
index: 2,
relation: self.options.oneTwoRelation,
levelUlContainDom: self.twoLevelUlContainDom,
scrollInstance: self.scrollTwo,
levelContainDom: self.twoLevelContainDom
};
}
else if (index === 3) {
map = {
index: 3,
relation: self.options.twoThreeRelation,
levelUlContainDom: self.threeLevelUlContainDom,
scrollInstance: self.scrollThree,
levelContainDom: self.threeLevelContainDom
};
}
else if (index === 4) {
map = {
index: 4,
relation: self.options.threeFourRelation,
levelUlContainDom: self.fourLevelUlContainDom,
scrollInstance: self.scrollFour,
levelContainDom: self.fourLevelContainDom
};
}
else if (index === 5) {
map = {
index: 5,
relation: self.options.fourFiveRelation,
levelUlContainDom: self.fiveLevelUlContainDom,
scrollInstance: self.scrollFive,
levelContainDom: self.fiveLevelContainDom
};
}
else if (index === 6) {
map = {
index: 6,
relation: self.options.fiveSixRelation,
levelUlContainDom: self.sixLevelUlContainDom,
scrollInstance: self.scrollSix,
levelContainDom: self.sixLevelContainDom
};
}
return map;
},
getLevelData: function (index, oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId) {
var levelData = [];
var renderMap = this.mapRenderByIndex(index);
if (index === 1) {
levelData = this.data[0];
}
else if (renderMap.relation === 1) {
var pid = arguments[index - 1];
this.data[index - 1].forEach(function (v, i, o) {
if (v['parentId'] == pid) {
levelData.push(v);
}
});
}
else {
levelData = this.data[index - 1];
}
return levelData;
},
setLevelData: function (index, oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, sixLevelId) {
if (iosSelectUtil.isArray(this.data[index - 1])) {
var levelData = this.getLevelData(index, oneLevelId, twoLevelId, threeLevelId, fourLevelId);
this.renderLevel(index, oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, sixLevelId, levelData);
}
else if (iosSelectUtil.isFunction(this.data[index - 1])) {
this.loadingShow();
this.data[index - 1].apply(this, [oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId].slice(0, index - 1).concat(function (levelData) {
this.loadingHide();
this.renderLevel(index, oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, sixLevelId, levelData);
}.bind(this)));
}
else {
throw new Error('data format error');
}
},
renderLevel: function (index, oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, sixLevelId, levelData) {
var plast = 0;
var curLevelId = arguments[index];
var hasAtId = levelData.some(function (v, i, o) {
return v.id == curLevelId;
});
if (!hasAtId) {
curLevelId = levelData[0]['id'];
}
var tmpHtml = '';
var itemHeightStyle = this.options.itemHeight + this.options.cssUnit;
tmpHtml += this.getWhiteItem();
levelData.forEach(function (v, i, o) {
if (v.id == curLevelId) {
tmpHtml += '<li style="height: ' + itemHeightStyle + '; line-height: ' + itemHeightStyle +';"' + iosSelectUtil.attrToHtml(v) + ' class="at">' + v.value + '</li>';
plast = i + 1;
}
else {
tmpHtml += '<li style="height: ' + itemHeightStyle + '; line-height: ' + itemHeightStyle +';"' + iosSelectUtil.attrToHtml(v) + '>' + v.value + '</li>';
}
});
tmpHtml += this.getWhiteItem();
var renderMap = this.mapRenderByIndex(index);
renderMap.levelUlContainDom.innerHTML = tmpHtml;
renderMap.scrollInstance.refresh();
renderMap.scrollInstance.scrollToElement(':nth-child(' + plast + ')', 0);
var pdom = this.changeClassName(renderMap.levelContainDom, plast);
var obj = iosSelectUtil.attrToData(pdom, plast);
this.setSelectObj(index, obj);
if (this.level > index) {
this.setLevelData(index + 1, this.selectOneObj.id, this.selectTwoObj.id, this.selectThreeObj.id, this.selectFourObj.id, this.selectFiveObj.id, this.selectSixObj.id);
}
},
setSelectObj: function (index, obj) {
if (index === 1) {
this.selectOneObj = obj;
}
else if (index === 2) {
this.selectTwoObj = obj;
}
else if (index === 3) {
this.selectThreeObj = obj;
}
else if (index === 4) {
this.selectFourObj = obj;
}
else if (index === 5) {
this.selectFiveObj = obj;
}
else if (index === 6) {
this.selectSixObj = obj;
}
},
getWhiteItem: function () {
var whiteItemHtml = '';
var itemHeightStyle = this.options.itemHeight + this.options.cssUnit;
var itemLi = '<li style="height: ' + itemHeightStyle + '; line-height: ' + itemHeightStyle + '"></li>';
whiteItemHtml += itemLi;
if (this.options.itemShowCount > 3) {
whiteItemHtml += itemLi;
}
if (this.options.itemShowCount > 5) {
whiteItemHtml += itemLi;
}
if (this.options.itemShowCount > 7) {
whiteItemHtml += itemLi;
}
return whiteItemHtml;
},
changeClassName: function (levelContainDom, plast) {
var pdom;
if (this.options.itemShowCount === 3) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 1) + ')');
pdom.classList.add('at');
}
else if (this.options.itemShowCount === 5) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 2) + ')');
pdom.classList.add('at');
levelContainDom.querySelector('li:nth-child(' + (plast + 1) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 3) + ')').classList.add('side1');
}
else if (this.options.itemShowCount === 7) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 3) + ')');
pdom.classList.add('at');
levelContainDom.querySelector('li:nth-child(' + (plast + 2) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 1) + ')').classList.add('side2');
levelContainDom.querySelector('li:nth-child(' + (plast + 4) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 5) + ')').classList.add('side2');
}
else if (this.options.itemShowCount === 9) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 4) + ')');
pdom.classList.add('at');
levelContainDom.querySelector('li:nth-child(' + (plast + 3) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 2) + ')').classList.add('side2');
levelContainDom.querySelector('li:nth-child(' + (plast + 5) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 6) + ')').classList.add('side2');
}
return pdom;
},
setBase: function () {
if (this.options.cssUnit === 'rem') {
var dltDom = document.documentElement;
var dltStyle = window.getComputedStyle(dltDom, null);
var dltFontSize = dltStyle.fontSize;
try {
this.baseSize = /\d+(?:\.\d+)?/.exec(dltFontSize)[0];
}
catch(e) {
this.baseSize = 1;
}
}
else {
this.baseSize = 1;
}
},
toggleClassList: function (dom) {
Array.prototype.slice.call(dom.querySelectorAll('li')).forEach(function (v) {
if (v.classList.contains('at')) {
v.classList.remove('at');
}
else if (v.classList.contains('side1')) {
v.classList.remove('side1');
}
else if (v.classList.contains('side2')) {
v.classList.remove('side2');
}
})
}
}
if (typeof module != 'undefined' && module.exports) {
module.exports = IosSelect;
}
else if (typeof define == 'function' && define.amd) {
define(function () {
return IosSelect;
});
}
else {
window.IosSelect = IosSelect;
}
})();
```
|
/content/code_sandbox/src/iosSelect.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 14,587
|
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="selectDate">
<label></label>
<div class="pc-box">
<span data-year="" data-month="" data-date="" id="showDate"></span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var selectDateDom = $('#selectDate');
var showDateDom = $('#showDate');
//
var now = new Date();
var nowYear = now.getFullYear();
var nowMonth = now.getMonth() + 1;
var nowDate = now.getDate();
showDateDom.attr('data-year', nowYear);
showDateDom.attr('data-month', nowMonth);
showDateDom.attr('data-date', nowDate);
//
function formatYear (nowYear) {
var arr = [];
for (var i = nowYear - 5; i <= nowYear + 5; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
function formatMonth () {
var arr = [];
for (var i = 1; i <= 12; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
function formatDate (count) {
var arr = [];
for (var i = 1; i <= count; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
var yearData = function(callback) {
callback(formatYear(nowYear))
}
var monthData = function (year, callback) {
callback(formatMonth());
};
var dateData = function (year, month, callback) {
if (/^(1|3|5|7|8|10|12)$/.test(month)) {
callback(formatDate(31));
}
else if (/^(4|6|9|11)$/.test(month)) {
callback(formatDate(30));
}
else if (/^2$/.test(month)) {
if (year % 4 === 0 && year % 100 !==0 || year % 400 === 0) {
callback(formatDate(29));
}
else {
callback(formatDate(28));
}
}
else {
throw new Error('month is illegal');
}
};
var hourData = function(one, two, three, callback) {
var hours = [];
for (var i = 0,len = 24; i < len; i++) {
hours.push({
id: i,
value: i + ''
});
}
callback(hours);
};
var minuteData = function(one, two, three, four, callback) {
var minutes = [];
for (var i = 0, len = 60; i < len; i++) {
minutes.push({
id: i,
value: i + ''
});
}
callback(minutes);
};
selectDateDom.bind('click', function () {
var oneLevelId = showDateDom.attr('data-year');
var twoLevelId = showDateDom.attr('data-month');
var threeLevelId = showDateDom.attr('data-date');
var fourLevelId = showDateDom.attr('data-hour');
var fiveLevelId = showDateDom.attr('data-minute');
var iosSelect = new IosSelect(5,
[yearData, monthData, dateData, hourData, minuteData],
{
title: '',
itemHeight: 35,
itemShowCount: 9,
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
fourLevelId: fourLevelId,
fiveLevelId: fiveLevelId,
callback: function (selectOneObj, selectTwoObj, selectThreeObj, selectFourObj, selectFiveObj) {
showDateDom.attr('data-year', selectOneObj.id);
showDateDom.attr('data-month', selectTwoObj.id);
showDateDom.attr('data-date', selectThreeObj.id);
showDateDom.attr('data-hour', selectFourObj.id);
showDateDom.attr('data-minute', selectFiveObj.id);
showDateDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value + ' ' + selectFourObj.value + ' ' + selectFiveObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/five/time.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 1,174
|
```javascript
var suData = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', 'value': ''},
{'id': '10010', 'value': ''},
{'id': '10011', 'value': ''},
{'id': '10012', 'value': ''},
{'id': '10013', 'value': ''},
{'id': '10014', 'value': ''},
{'id': '10015', 'value': ''},
{'id': '10016', 'value': ''}
];
var weiData = [
{'id': '20001', 'value': ''},
{'id': '20002', 'value': ''},
{'id': '20003', 'value': ''},
{'id': '20004', 'value': ''},
{'id': '20005', 'value': ''},
{'id': '20006', 'value': ''},
{'id': '20007', 'value': ''},
{'id': '20008', 'value': ''},
{'id': '20009', 'value': ''},
{'id': '20010', 'value': ''},
{'id': '20011', 'value': ''},
{'id': '20012', 'value': ''},
{'id': '20013', 'value': ''},
{'id': '20014', 'value': ''},
{'id': '20015', 'value': ''},
{'id': '20016', 'value': ''}
];
```
|
/content/code_sandbox/demo/longbackgroud/data.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 427
|
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body style="height: 1500px;">
<a href="path_to_url"></a>
<div class="form-item item-line" style="margin-top:400px;">
<label></label>
<div class="pc-box">
<input type="hidden" name="su_id" id="suId" value="">
<input type="hidden" name="wei_id" id="weiId" value="">
<span id="showGeneral"></span>
</div>
</div>
</body>
<script src="data.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var showGeneralDom = document.querySelector('#showGeneral');
var suIdDom = document.querySelector('#suId');
var weiIdDom = document.querySelector('#weiId');
showGeneralDom.addEventListener('click', function () {
var suId = showGeneralDom.dataset['su_id'];
var suValue = showGeneralDom.dataset['su_value'];
var weiId = showGeneralDom.dataset['wei_id'];
var weiValue = showGeneralDom.dataset['wei_value'];
var sanguoSelect = new IosSelect(2,
[suData, weiData],
{
title: '',
itemHeight: 35,
oneLevelId: suId,
twoLevelId: weiId,
callback: function (selectOneObj, selectTwoObj) {
suIdDom.value = selectOneObj.id;
weiIdDom.value = selectTwoObj.id;
showGeneralDom.innerHTML = '' + selectOneObj.value + ' ' + selectTwoObj.value;
showGeneralDom.dataset['su_id'] = selectOneObj.id;
showGeneralDom.dataset['su_value'] = selectOneObj.value;
showGeneralDom.dataset['wei_id'] = selectTwoObj.id;
showGeneralDom.dataset['wei_value'] = selectTwoObj.value;
},
fallback: function () {
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/longbackgroud/sanguokill.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 587
|
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDisplay = {};
var classCache = {};
var cssNumber = {
'column-count': 1,
'columns': 1,
'font-weight': 1,
'line-height': 1,
'opacity': 1,
'z-index': 1,
'zoom': 1
};
var fragmentRE = /^\s*<(\w+|!)[^>]*>/;
var singleTagRE = /^<(\w+)\s*\/?>(?:<\/\1>|)$/;
var tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig;
var rootNodeRE = /^(?:body|html)$/i;
var capitalRE = /([A-Z])/g;
// special attributes that should be get/set via method calls
var methodAttributes = [
'val',
'css',
'html',
'text',
'data',
'width',
'height',
'offset'
];
var adjacencyOperators = [
'after',
'prepend',
'before',
'append'
];
var table = document.createElement('table');
var tableRow = document.createElement('tr');
var containers = {
'tr': document.createElement('tbody'),
'tbody': table,
'thead': table,
'tfoot': table,
'td': tableRow,
'th': tableRow,
'*': document.createElement('div')
};
var readyRE = /complete|loaded|interactive/;
var simpleSelectorRE = /^[\w-]*$/;
var class2type = {};
var toString = class2type.toString;
var zepto = {};
var camelize;
var uniq;
var tempParent = document.createElement('div');
var propMap = {
'tabindex': 'tabIndex',
'readonly': 'readOnly',
'for': 'htmlFor',
'class': 'className',
'maxlength': 'maxLength',
'cellspacing': 'cellSpacing',
'cellpadding': 'cellPadding',
'rowspan': 'rowSpan',
'colspan': 'colSpan',
'usemap': 'useMap',
'frameborder': 'frameBorder',
'contenteditable': 'contentEditable'
};
var isArray = Array.isArray || function (object) {
return object instanceof Array;
};
zepto.matches = function (element, selector) {
if (!selector || !element || element.nodeType !== 1)
return false;
var matchesSelector = element.webkitMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.matchesSelector;
if (matchesSelector)
return matchesSelector.call(element, selector);
// fall back to performing a selector:
var match;
var parent = element.parentNode;
var temp = !parent;
if (temp)
(parent = tempParent).appendChild(element);
match = ~zepto.qsa(parent, selector).indexOf(element);
temp && tempParent.removeChild(element);
return match;
};
function type(obj) {
return obj == null ? String(obj) : class2type[toString.call(obj)] || "object";
}
function isFunction(value) {
return type(value) == "function";
}
function isWindow(obj) {
return obj != null && obj == obj.window;
}
function isDocument(obj) {
return obj != null && obj.nodeType == obj.DOCUMENT_NODE;
}
function isObject(obj) {
return type(obj) == "object";
}
function isPlainObject(obj) {
return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype;
}
function likeArray(obj) {
return typeof obj.length == 'number';
}
function compact(array) {
return filter.call(array, function (item) {
return item != null;
});
}
function flatten(array) {
return array.length > 0 ? $.fn.concat.apply([], array) : array;
}
camelize = function (str) {
return str.replace(/-+(.)?/g, function (match, chr) {
return chr ? chr.toUpperCase() : '';
});
};
function dasherize(str) {
return str.replace(/::/g, '/').replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2').replace(/([a-z\d])([A-Z])/g, '$1_$2').replace(/_/g, '-').toLowerCase();
}
uniq = function (array) {
return filter.call(array, function (item, idx) {
return array.indexOf(item) == idx;
});
};
function classRE(name) {
return name in classCache ? classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)'));
}
function maybeAddPx(name, value) {
return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value;
}
function defaultDisplay(nodeName) {
var element;
var display;
if (!elementDisplay[nodeName]) {
element = document.createElement(nodeName);
document.body.appendChild(element);
display = getComputedStyle(element, '').getPropertyValue("display");
element.parentNode.removeChild(element);
display == "none" && (display = "block");
elementDisplay[nodeName] = display;
}
return elementDisplay[nodeName];
}
function children(element) {
return 'children' in element ? slice.call(element.children) : $.map(element.childNodes, function (node) {
if (node.nodeType == 1)
return node;
});
}
// `$.zepto.fragment` takes a html string and an optional tag name
// to generate DOM nodes nodes from the given html string.
// The generated DOM nodes are returned as an array.
// This function can be overriden in plugins for example to make
// it compatible with browsers that don't support the DOM fully.
zepto.fragment = function (html, name, properties) {
var dom;
var nodes;
var container;
// A special case optimization for a single tag
if (singleTagRE.test(html))
dom = $(document.createElement(RegExp.$1));
if (!dom) {
if (html.replace)
html = html.replace(tagExpanderRE, "<$1></$2>");
if (name === undefined)
name = fragmentRE.test(html) && RegExp.$1;
if (!(name in containers))
name = '*';
container = containers[name];
container.innerHTML = '' + html;
dom = $.each(slice.call(container.childNodes), function () {
container.removeChild(this);
});
}
if (isPlainObject(properties)) {
nodes = $(dom);
$.each(properties, function (key, value) {
if (methodAttributes.indexOf(key) > -1)
nodes[key](value);
else
nodes.attr(key, value);
});
}
return dom;
};
// `$.zepto.Z` swaps out the prototype of the given `dom` array
// of nodes with `$.fn` and thus supplying all the Zepto functions
// to the array. Note that `__proto__` is not supported on Internet
// Explorer. This method can be overriden in plugins.
zepto.Z = function (dom, selector) {
dom = dom || [];
dom.__proto__ = $.fn;
dom.selector = selector || '';
return dom;
};
// `$.zepto.isZ` should return `true` if the given object is a Zepto
// collection. This method can be overriden in plugins.
zepto.isZ = function (object) {
return object instanceof zepto.Z;
};
// `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
// takes a CSS selector and an optional context (and handles various
// special cases).
// This method can be overriden in plugins.
zepto.init = function (selector, context) {
var dom;
// If nothing given, return an empty Zepto collection
if (!selector)
return zepto.Z();
// Optimize for string selectors
else if (typeof selector == 'string') {
selector = selector.trim();
// If it's a html fragment, create nodes from it
// Note: In both Chrome 21 and Firefox 15, DOM error 12
// is thrown if the fragment doesn't begin with <
if (selector[0] == '<' && fragmentRE.test(selector))
dom = zepto.fragment(selector, RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// If it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// If a function is given, call it when the DOM is ready
else if (isFunction(selector))
return $(document).ready(selector);
// If a Zepto collection is given, just return it
else if (zepto.isZ(selector))
return selector;
else {
// normalize array if an array of nodes is given
if (isArray(selector))
dom = compact(selector);
// Wrap DOM nodes.
else if (isObject(selector))
dom = [
selector
], selector = null;
// If it's a html fragment, create nodes from it
else if (fragmentRE.test(selector))
dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// And last but no least, if it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// create a new Zepto collection from the nodes found
return zepto.Z(dom, selector);
};
// `$` will be the base `Zepto` object. When calling this
// function just call `$.zepto.init, which makes the implementation
// details of selecting nodes and creating Zepto collections
// patchable in plugins.
$ = function (selector, context) {
return zepto.init(selector, context);
};
function extend(target, source, deep) {
for (key in source)
if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {
if (isPlainObject(source[key]) && !isPlainObject(target[key]))
target[key] = {};
if (isArray(source[key]) && !isArray(target[key]))
target[key] = [];
extend(target[key], source[key], deep);
}
else if (source[key] !== undefined)
target[key] = source[key];
}
// Copy all but undefined properties from one or more
// objects to the `target` object.
$.extend = function (target) {
var deep;
var args = slice.call(arguments, 1);
if (typeof target == 'boolean') {
deep = target;
target = args.shift();
}
args.forEach(function (arg) {
extend(target, arg, deep);
});
return target;
};
// `$.zepto.qsa` is Zepto's CSS selector implementation which
// uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
// This method can be overriden in plugins.
zepto.qsa = function (element, selector) {
var found;
var maybeID = selector[0] == '#';
var maybeClass = !maybeID && selector[0] == '.';
var nameOnly = maybeID || maybeClass ? selector.slice(1) : selector; // Ensure that a 1 char tag name still gets checked
var isSimple = simpleSelectorRE.test(nameOnly);
return (isDocument(element) && isSimple && maybeID) ? ((found = element.getElementById(nameOnly)) ? [
found
] : []) : (element.nodeType !== 1 && element.nodeType !== 9) ? [] : slice.call(isSimple && !maybeID ? maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
element.getElementsByTagName(selector) : // Or a tag
element.querySelectorAll(selector) // Or it's not simple, and we need to query all
);
};
function filtered(nodes, selector) {
return selector == null ? $(nodes) : $(nodes).filter(selector);
}
$.contains = document.documentElement.contains ? function (parent, node) {
return parent !== node && parent.contains(node);
} : function (parent, node) {
while (node && (node = node.parentNode))
if (node === parent)
return true;
return false;
};
function funcArg(context, arg, idx, payload) {
return isFunction(arg) ? arg.call(context, idx, payload) : arg;
}
function setAttribute(node, name, value) {
value == null ? node.removeAttribute(name) : node.setAttribute(name, value);
}
// access className property while respecting SVGAnimatedString
function className(node, value) {
var klass = node.className || '';
var svg = klass && klass.baseVal !== undefined;
if (value === undefined)
return svg ? klass.baseVal : klass;
svg ? (klass.baseVal = value) : (node.className = value);
}
// "true" => true
// "false" => false
// "null" => null
// "42" => 42
// "42.5" => 42.5
// "08" => "08"
// JSON => parse if valid
// String => self
function deserializeValue(value) {
try {
return value ? value == "true" || (value == "false" ? false : value == "null" ? null : +value + "" == value ? +value : /^[\[\{]/.test(value) ? $.parseJSON(value) : value) : value;
}
catch (e) {
return value;
}
}
$.type = type;
$.isFunction = isFunction;
$.isWindow = isWindow;
$.isArray = isArray;
$.isPlainObject = isPlainObject;
$.isEmptyObject = function (obj) {
var name;
for (name in obj)
return false;
return true;
};
$.inArray = function (elem, array, i) {
return emptyArray.indexOf.call(array, elem, i);
};
$.camelCase = camelize;
$.trim = function (str) {
return str == null ? "" : String.prototype.trim.call(str);
};
// plugin compatibility
$.uuid = 0;
$.support = {};
$.expr = {};
$.map = function (elements, callback) {
var value;
var values = [];
var i;
var key;
if (likeArray(elements))
for (i = 0; i < elements.length; i++) {
value = callback(elements[i], i);
if (value != null)
values.push(value);
}
else
for (key in elements) {
value = callback(elements[key], key);
if (value != null)
values.push(value);
}
return flatten(values);
};
$.each = function (elements, callback) {
var i;
var key;
if (likeArray(elements)) {
for (i = 0; i < elements.length; i++)
if (callback.call(elements[i], i, elements[i]) === false)
return elements;
}
else {
for (key in elements)
if (callback.call(elements[key], key, elements[key]) === false)
return elements;
}
return elements;
};
$.grep = function (elements, callback) {
return filter.call(elements, callback);
};
if (window.JSON)
$.parseJSON = JSON.parse;
// Populate the class2type map
$.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
class2type["[object " + name + "]"] = name.toLowerCase();
});
// Define methods that will be available on all
// Zepto collections
$.fn = {
// Because a collection acts like an array
// copy over these useful array functions.
forEach: emptyArray.forEach,
reduce: emptyArray.reduce,
push: emptyArray.push,
sort: emptyArray.sort,
indexOf: emptyArray.indexOf,
concat: emptyArray.concat,
// `map` and `slice` in the jQuery API work differently
// from their array counterparts
map: function (fn) {
return $($.map(this, function (el, i) {
return fn.call(el, i, el);
}));
},
slice: function () {
return $(slice.apply(this, arguments));
},
ready: function (callback) {
// need to check if document.body exists for IE as that browser reports
// document ready when it hasn't yet created the body element
if (readyRE.test(document.readyState) && document.body)
callback($);
else
document.addEventListener('DOMContentLoaded', function () {
callback($);
}, false);
return this;
},
get: function (idx) {
return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length];
},
toArray: function () {
return this.get();
},
size: function () {
return this.length;
},
remove: function () {
return this.each(function () {
if (this.parentNode != null)
this.parentNode.removeChild(this);
});
},
each: function (callback) {
emptyArray.every.call(this, function (el, idx) {
return callback.call(el, idx, el) !== false;
});
return this;
},
filter: function (selector) {
if (isFunction(selector))
return this.not(this.not(selector));
return $(filter.call(this, function (element) {
return zepto.matches(element, selector);
}));
},
add: function (selector, context) {
return $(uniq(this.concat($(selector, context))));
},
is: function (selector) {
return this.length > 0 && zepto.matches(this[0], selector);
},
not: function (selector) {
var nodes = [];
if (isFunction(selector) && selector.call !== undefined)
this.each(function (idx) {
if (!selector.call(this, idx))
nodes.push(this);
});
else {
var excludes = typeof selector == 'string' ? this.filter(selector) : (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector);
this.forEach(function (el) {
if (excludes.indexOf(el) < 0)
nodes.push(el);
});
}
return $(nodes);
},
has: function (selector) {
return this.filter(function () {
return isObject(selector) ? $.contains(this, selector) : $(this).find(selector).size();
});
},
eq: function (idx) {
return idx === -1 ? this.slice(idx) : this.slice(idx, +idx + 1);
},
first: function () {
var el = this[0];
return el && !isObject(el) ? el : $(el);
},
last: function () {
var el = this[this.length - 1];
return el && !isObject(el) ? el : $(el);
},
find: function (selector) {
var result;
var $this = this;
if (!selector)
result = $();
else if (typeof selector == 'object')
result = $(selector).filter(function () {
var node = this;
return emptyArray.some.call($this, function (parent) {
return $.contains(parent, node);
});
});
else if (this.length == 1)
result = $(zepto.qsa(this[0], selector));
else
result = this.map(function () {
return zepto.qsa(this, selector);
});
return result;
},
closest: function (selector, context) {
var node = this[0];
var collection = false;
if (typeof selector == 'object')
collection = $(selector);
while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))
node = node !== context && !isDocument(node) && node.parentNode;
return $(node);
},
parents: function (selector) {
var ancestors = [];
var nodes = this;
while (nodes.length > 0)
nodes = $.map(nodes, function (node) {
if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {
ancestors.push(node);
return node;
}
});
return filtered(ancestors, selector);
},
parent: function (selector) {
return filtered(uniq(this.pluck('parentNode')), selector);
},
children: function (selector) {
return filtered(this.map(function () {
return children(this);
}), selector);
},
contents: function () {
return this.map(function () {
return slice.call(this.childNodes);
});
},
siblings: function (selector) {
return filtered(this.map(function (i, el) {
return filter.call(children(el.parentNode), function (child) {
return child !== el;
});
}), selector);
},
empty: function () {
return this.each(function () {
this.innerHTML = '';
});
},
// `pluck` is borrowed from Prototype.js
pluck: function (property) {
return $.map(this, function (el) {
return el[property];
});
},
show: function () {
return this.each(function () {
this.style.display == "none" && (this.style.display = '');
if (getComputedStyle(this, '').getPropertyValue("display") == "none")
this.style.display = defaultDisplay(this.nodeName);
});
},
replaceWith: function (newContent) {
return this.before(newContent).remove();
},
wrap: function (structure) {
var func = isFunction(structure);
if (this[0] && !func)
var dom = $(structure).get(0);
var clone = dom.parentNode || this.length > 1;
return this.each(function (index) {
$(this).wrapAll(func ? structure.call(this, index) : clone ? dom.cloneNode(true) : dom);
});
},
wrapAll: function (structure) {
if (this[0]) {
$(this[0]).before(structure = $(structure));
var children;
// drill down to the inmost element
while ((children = structure.children()).length)
structure = children.first();
$(structure).append(this);
}
return this;
},
wrapInner: function (structure) {
var func = isFunction(structure);
return this.each(function (index) {
var self = $(this);
var contents = self.contents();
var dom = func ? structure.call(this, index) : structure;
contents.length ? contents.wrapAll(dom) : self.append(dom);
});
},
unwrap: function () {
this.parent().each(function () {
$(this).replaceWith($(this).children());
});
return this;
},
clone: function () {
return this.map(function () {
return this.cloneNode(true);
});
},
hide: function () {
return this.css("display", "none");
},
toggle: function (setting) {
return this.each(function () {
var el = $(this)
;
(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide();
});
},
prev: function (selector) {
return $(this.pluck('previousElementSibling')).filter(selector || '*');
},
next: function (selector) {
return $(this.pluck('nextElementSibling')).filter(selector || '*');
},
html: function (html) {
return 0 in arguments ? this.each(function (idx) {
var originHtml = this.innerHTML;
$(this).empty().append(funcArg(this, html, idx, originHtml));
}) : (0 in this ? this[0].innerHTML : null);
},
text: function (text) {
return 0 in arguments ? this.each(function (idx) {
var newText = funcArg(this, text, idx, this.textContent);
this.textContent = newText == null ? '' : '' + newText;
}) : (0 in this ? this[0].textContent : null);
},
attr: function (name, value) {
var result;
return (typeof name == 'string' && !(1 in arguments)) ? (!this.length || this[0].nodeType !== 1 ? undefined : (!(result = this[0].getAttribute(name)) && name in this[0]) ? this[0][name] : result) : this.each(function (idx) {
if (this.nodeType !== 1)
return;
if (isObject(name))
for (key in name)
setAttribute(this, key, name[key]);
else
setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)));
});
},
removeAttr: function (name) {
return this.each(function () {
this.nodeType === 1 && name.split(' ').forEach(function (attribute) {
setAttribute(this, attribute);
}, this);
});
},
prop: function (name, value) {
name = propMap[name] || name;
return (1 in arguments) ? this.each(function (idx) {
this[name] = funcArg(this, value, idx, this[name]);
}) : (this[0] && this[0][name]);
},
data: function (name, value) {
var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase();
var data = (1 in arguments) ? this.attr(attrName, value) : this.attr(attrName);
return data !== null ? deserializeValue(data) : undefined;
},
val: function (value) {
return 0 in arguments ? this.each(function (idx) {
this.value = funcArg(this, value, idx, this.value);
}) : (this[0] && (this[0].multiple ? $(this[0]).find('option').filter(function () {
return this.selected;
}).pluck('value') : this[0].value));
},
offset: function (coordinates) {
if (coordinates)
return this.each(function (index) {
var $this = $(this);
var coords = funcArg(this, coordinates, index, $this.offset());
var parentOffset = $this.offsetParent().offset();
var props = {
top: coords.top - parentOffset.top,
left: coords.left - parentOffset.left
};
if ($this.css('position') == 'static')
props['position'] = 'relative';
$this.css(props);
});
if (!this.length)
return null;
var obj = this[0].getBoundingClientRect();
return {
left: obj.left + window.pageXOffset,
top: obj.top + window.pageYOffset,
width: Math.round(obj.width),
height: Math.round(obj.height)
};
},
css: function (property, value) {
if (arguments.length < 2) {
var computedStyle;
var element = this[0];
if (!element)
return;
computedStyle = getComputedStyle(element, '');
if (typeof property == 'string')
return element.style[camelize(property)] || computedStyle.getPropertyValue(property);
else if (isArray(property)) {
var props = {};
$.each(property, function (_, prop) {
props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop));
});
return props;
}
}
var css = '';
if (type(property) == 'string') {
if (!value && value !== 0)
this.each(function () {
this.style.removeProperty(dasherize(property));
});
else
css = dasherize(property) + ":" + maybeAddPx(property, value);
}
else {
for (key in property)
if (!property[key] && property[key] !== 0)
this.each(function () {
this.style.removeProperty(dasherize(key));
});
else
css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';';
}
return this.each(function () {
this.style.cssText += ';' + css;
});
},
index: function (element) {
return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0]);
},
hasClass: function (name) {
if (!name)
return false;
return emptyArray.some.call(this, function (el) {
return this.test(className(el));
}, classRE(name));
},
addClass: function (name) {
if (!name)
return this;
return this.each(function (idx) {
if (!('className' in this))
return;
classList = [];
var cls = className(this);
var newName = funcArg(this, name, idx, cls);
newName.split(/\s+/g).forEach(function (klass) {
if (!$(this).hasClass(klass))
classList.push(klass);
}, this);
classList.length && className(this, cls + (cls ? " " : "") + classList.join(" "));
});
},
removeClass: function (name) {
return this.each(function (idx) {
if (!('className' in this))
return;
if (name === undefined)
return className(this, '');
classList = className(this);
funcArg(this, name, idx, classList).split(/\s+/g).forEach(function (klass) {
classList = classList.replace(classRE(klass), " ");
});
className(this, classList.trim());
});
},
toggleClass: function (name, when) {
if (!name)
return this;
return this.each(function (idx) {
var $this = $(this);
var names = funcArg(this, name, idx, className(this));
names.split(/\s+/g).forEach(function (klass) {
(when === undefined ? !$this.hasClass(klass) : when) ? $this.addClass(klass) : $this.removeClass(klass);
});
});
},
scrollTop: function (value) {
if (!this.length)
return;
var hasScrollTop = 'scrollTop' in this[0];
if (value === undefined)
return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset;
return this.each(hasScrollTop ? function () {
this.scrollTop = value;
} : function () {
this.scrollTo(this.scrollX, value);
});
},
scrollLeft: function (value) {
if (!this.length)
return;
var hasScrollLeft = 'scrollLeft' in this[0];
if (value === undefined)
return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset;
return this.each(hasScrollLeft ? function () {
this.scrollLeft = value;
} : function () {
this.scrollTo(value, this.scrollY);
});
},
position: function () {
if (!this.length)
return;
var elem = this[0];
// Get *real* offsetParent
var offsetParent = this.offsetParent();
// Get correct offsets
var offset = this.offset();
var parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? {
top: 0,
left: 0
} : offsetParent.offset();
// Subtract element margins
// note: when an element has margin: auto the offsetLeft and marginLeft
// are the same in Safari causing offset.left to incorrectly be 0
offset.top -= parseFloat($(elem).css('margin-top')) || 0;
offset.left -= parseFloat($(elem).css('margin-left')) || 0;
// Add offsetParent borders
parentOffset.top += parseFloat($(offsetParent[0]).css('border-top-width')) || 0;
parentOffset.left += parseFloat($(offsetParent[0]).css('border-left-width')) || 0;
// Subtract the two offsets
return {
top: offset.top - parentOffset.top,
left: offset.left - parentOffset.left
};
},
offsetParent: function () {
return this.map(function () {
var parent = this.offsetParent || document.body;
while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
parent = parent.offsetParent;
return parent;
});
}
};
// for now
$.fn.detach = $.fn.remove
// Generate the `width` and `height` functions
;
[
'width',
'height'
].forEach(function (dimension) {
var dimensionProperty = dimension.replace(/./, function (m) {
return m[0].toUpperCase();
});
$.fn[dimension] = function (value) {
var offset;
var el = this[0];
if (value === undefined)
return isWindow(el) ? el['inner' + dimensionProperty] : isDocument(el) ? el.documentElement['scroll' + dimensionProperty] : (offset = this.offset()) && offset[dimension];
else
return this.each(function (idx) {
el = $(this);
el.css(dimension, funcArg(this, value, idx, el[dimension]()));
});
};
});
function traverseNode(node, fun) {
fun(node);
for (var i = 0, len = node.childNodes.length; i < len; i++)
traverseNode(node.childNodes[i], fun);
}
// Generate the `after`, `prepend`, `before`, `append`,
// `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.
adjacencyOperators.forEach(function (operator, operatorIndex) {
var inside = operatorIndex % 2; // => prepend, append
$.fn[operator] = function () {
// arguments can be nodes, arrays of nodes, Zepto objects and HTML strings
var argType;
var nodes = $.map(arguments, function (arg) {
argType = type(arg);
return argType == "object" || argType == "array" || arg == null ? arg : zepto.fragment(arg);
});
var parent;
var copyByClone = this.length > 1;
if (nodes.length < 1)
return this;
return this.each(function (_, target) {
parent = inside ? target : target.parentNode;
// convert all methods to a "before" operation
target = operatorIndex == 0 ? target.nextSibling : operatorIndex == 1 ? target.firstChild : operatorIndex == 2 ? target : null;
var parentInDocument = $.contains(document.documentElement, parent);
nodes.forEach(function (node) {
if (copyByClone)
node = node.cloneNode(true);
else if (!parent)
return $(node).remove();
parent.insertBefore(node, target);
if (parentInDocument)
traverseNode(node, function (el) {
if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' && (!el.type || el.type === 'text/javascript') && !el.src)
window['eval'].call(window, el.innerHTML);
});
});
});
};
// after => insertAfter
// prepend => prependTo
// before => insertBefore
// append => appendTo
$.fn[inside ? operator + 'To' : 'insert' + (operatorIndex ? 'Before' : 'After')] = function (html) {
$(html)[operator](this);
return this;
};
});
zepto.Z.prototype = $.fn;
// Export internal API functions in the `$.zepto` namespace
zepto.uniq = uniq;
zepto.deserializeValue = deserializeValue;
$.zepto = zepto;
return $;
})();
window.Zepto = Zepto;
window.$ === undefined && (window.$ = Zepto)
;
(function ($) {
var _zid = 1;
var undefined;
var slice = Array.prototype.slice;
var isFunction = $.isFunction;
var isString = function (obj) {
return typeof obj == 'string';
};
var handlers = {};
var specialEvents = {};
var focusinSupported = 'onfocusin' in window;
var focus = {
focus: 'focusin',
blur: 'focusout'
};
var hover = {
mouseenter: 'mouseover',
mouseleave: 'mouseout'
};
specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents';
function zid(element) {
return element._zid || (element._zid = _zid++);
}
function findHandlers(element, event, fn, selector) {
event = parse(event);
if (event.ns)
var matcher = matcherFor(event.ns);
return (handlers[zid(element)] || []).filter(function (handler) {
return handler && (!event.e || handler.e == event.e) && (!event.ns || matcher.test(handler.ns)) && (!fn || zid(handler.fn) === zid(fn)) && (!selector || handler.sel == selector);
});
}
function parse(event) {
var parts = ('' + event).split('.');
return {
e: parts[0],
ns: parts.slice(1).sort().join(' ')
};
}
function matcherFor(ns) {
return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)');
}
function eventCapture(handler, captureSetting) {
return handler.del && (!focusinSupported && (handler.e in focus)) || !!captureSetting;
}
function realEvent(type) {
return hover[type] || (focusinSupported && focus[type]) || type;
}
function add(element, events, fn, data, selector, delegator, capture) {
var id = zid(element);
var set = (handlers[id] || (handlers[id] = []));
events.split(/\s/).forEach(function (event) {
if (event == 'ready')
return $(document).ready(fn);
var handler = parse(event);
handler.fn = fn;
handler.sel = selector;
// emulate mouseenter, mouseleave
if (handler.e in hover)
fn = function (e) {
var related = e.relatedTarget;
if (!related || (related !== this && !$.contains(this, related)))
return handler.fn.apply(this, arguments);
};
handler.del = delegator;
var callback = delegator || fn;
handler.proxy = function (e) {
e = compatible(e);
if (e.isImmediatePropagationStopped())
return;
e.data = data;
var result = callback.apply(element, e._args == undefined ? [
e
] : [
e
].concat(e._args));
if (result === false)
e.preventDefault(), e.stopPropagation();
return result;
};
handler.i = set.length;
set.push(handler);
if ('addEventListener' in element)
element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
}
function remove(element, events, fn, selector, capture) {
var id = zid(element)
;
(events || '').split(/\s/).forEach(function (event) {
findHandlers(element, event, fn, selector).forEach(function (handler) {
delete handlers[id][handler.i];
if ('removeEventListener' in element)
element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
});
}
$.event = {
add: add,
remove: remove
};
$.proxy = function (fn, context) {
var args = (2 in arguments) && slice.call(arguments, 2);
if (isFunction(fn)) {
var proxyFn = function () {
return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments);
};
proxyFn._zid = zid(fn);
return proxyFn;
}
else if (isString(context)) {
if (args) {
args.unshift(fn[context], fn);
return $.proxy.apply(null, args);
}
else {
return $.proxy(fn[context], fn);
}
}
else {
throw new TypeError("expected function");
}
};
$.fn.bind = function (event, data, callback) {
return this.on(event, data, callback);
};
$.fn.unbind = function (event, callback) {
return this.off(event, callback);
};
$.fn.one = function (event, selector, data, callback) {
return this.on(event, selector, data, callback, 1);
};
var returnTrue = function () {
return true;
};
var returnFalse = function () {
return false;
};
var ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$)/;
var eventMethods = {
preventDefault: 'isDefaultPrevented',
stopImmediatePropagation: 'isImmediatePropagationStopped',
stopPropagation: 'isPropagationStopped'
};
function compatible(event, source) {
if (source || !event.isDefaultPrevented) {
source || (source = event);
$.each(eventMethods, function (name, predicate) {
var sourceMethod = source[name];
event[name] = function () {
this[predicate] = returnTrue;
return sourceMethod && sourceMethod.apply(source, arguments);
};
event[predicate] = returnFalse;
});
if (source.defaultPrevented !== undefined ? source.defaultPrevented : 'returnValue' in source ? source.returnValue === false : source.getPreventDefault && source.getPreventDefault())
event.isDefaultPrevented = returnTrue;
}
return event;
}
function createProxy(event) {
var key;
var proxy = {
originalEvent: event
};
for (key in event)
if (!ignoreProperties.test(key) && event[key] !== undefined)
proxy[key] = event[key];
return compatible(proxy, event);
}
$.fn.delegate = function (selector, event, callback) {
return this.on(event, selector, callback);
};
$.fn.undelegate = function (selector, event, callback) {
return this.off(event, selector, callback);
};
$.fn.live = function (event, callback) {
$(document.body).delegate(this.selector, event, callback);
return this;
};
$.fn.die = function (event, callback) {
$(document.body).undelegate(this.selector, event, callback);
return this;
};
$.fn.on = function (event, selector, data, callback, one) {
var autoRemove;
var delegator;
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.on(type, selector, data, fn, one);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = data, data = selector, selector = undefined;
if (isFunction(data) || data === false)
callback = data, data = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function (_, element) {
if (one)
autoRemove = function (e) {
remove(element, e.type, callback);
return callback.apply(this, arguments);
};
if (selector)
delegator = function (e) {
var evt;
var match = $(e.target).closest(selector, element).get(0);
if (match && match !== element) {
evt = $.extend(createProxy(e), {
currentTarget: match,
liveFired: element
});
return (autoRemove || callback).apply(match, [
evt
].concat(slice.call(arguments, 1)));
}
};
add(element, event, callback, data, selector, delegator || autoRemove);
});
};
$.fn.off = function (event, selector, callback) {
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.off(type, selector, fn);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = selector, selector = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function () {
remove(this, event, callback, selector);
});
};
$.fn.trigger = function (event, args) {
event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event);
event._args = args;
return this.each(function () {
// handle focus(), blur() by calling them directly
if (event.type in focus && typeof this[event.type] == "function")
this[event.type]();
// items in the collection might not be DOM elements
else if ('dispatchEvent' in this)
this.dispatchEvent(event);
else
$(this).triggerHandler(event, args);
});
};
// triggers event handlers on current element just as if an event occurred,
// doesn't trigger an actual event, doesn't bubble
$.fn.triggerHandler = function (event, args) {
var e;
var result;
this.each(function (i, element) {
e = createProxy(isString(event) ? $.Event(event) : event);
e._args = args;
e.target = element;
$.each(findHandlers(element, event.type || event), function (i, handler) {
result = handler.proxy(e);
if (e.isImmediatePropagationStopped())
return false;
});
});
return result;
}
// shortcut methods for `.bind(event, fn)` for each event type
;
('focusin focusout focus blur load resize scroll unload click dblclick ' + 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave ' + 'change select keydown keypress keyup error').split(' ').forEach(function (event) {
$.fn[event] = function (callback) {
return (0 in arguments) ? this.bind(event, callback) : this.trigger(event);
};
});
$.Event = function (type, props) {
if (!isString(type))
props = type, type = props.type;
var event = document.createEvent(specialEvents[type] || 'Events');
var bubbles = true;
if (props)
for (var name in props)
(name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]);
event.initEvent(type, bubbles, true);
return compatible(event);
};
})(Zepto)
;
(function ($) {
var jsonpID = 0;
var document = window.document;
var key;
var name;
var rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;
var scriptTypeRE = /^(?:text|application)\/javascript/i;
var xmlTypeRE = /^(?:text|application)\/xml/i;
var jsonType = 'application/json';
var htmlType = 'text/html';
var blankRE = /^\s*$/;
var originAnchor = document.createElement('a');
originAnchor.href = window.location.href;
// trigger a custom event and return false if it was cancelled
function triggerAndReturn(context, eventName, data) {
var event = $.Event(eventName);
$(context).trigger(event, data);
return !event.isDefaultPrevented();
}
// trigger an Ajax "global" event
function triggerGlobal(settings, context, eventName, data) {
if (settings.global)
return triggerAndReturn(context || document, eventName, data);
}
// Number of active Ajax requests
$.active = 0;
function ajaxStart(settings) {
if (settings.global && $.active++ === 0)
triggerGlobal(settings, null, 'ajaxStart');
}
function ajaxStop(settings) {
if (settings.global && !(--$.active))
triggerGlobal(settings, null, 'ajaxStop');
}
// triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable
function ajaxBeforeSend(xhr, settings) {
var context = settings.context;
if (settings.beforeSend.call(context, xhr, settings) === false || triggerGlobal(settings, context, 'ajaxBeforeSend', [
xhr,
settings
]) === false)
return false;
triggerGlobal(settings, context, 'ajaxSend', [
xhr,
settings
]);
}
function ajaxSuccess(data, xhr, settings, deferred) {
var context = settings.context;
var status = 'success';
settings.success.call(context, data, status, xhr);
if (deferred)
deferred.resolveWith(context, [
data,
status,
xhr
]);
triggerGlobal(settings, context, 'ajaxSuccess', [
xhr,
settings,
data
]);
ajaxComplete(status, xhr, settings);
}
// type: "timeout", "error", "abort", "parsererror"
function ajaxError(error, type, xhr, settings, deferred) {
var context = settings.context;
settings.error.call(context, xhr, type, error);
if (deferred)
deferred.rejectWith(context, [
xhr,
type,
error
]);
triggerGlobal(settings, context, 'ajaxError', [
xhr,
settings,
error || type
]);
ajaxComplete(type, xhr, settings);
}
// status: "success", "notmodified", "error", "timeout", "abort", "parsererror"
function ajaxComplete(status, xhr, settings) {
var context = settings.context;
settings.complete.call(context, xhr, status);
triggerGlobal(settings, context, 'ajaxComplete', [
xhr,
settings
]);
ajaxStop(settings);
}
// Empty function, used as default callback
function empty() {
}
$.ajaxJSONP = function (options, deferred) {
if (!('type' in options))
return $.ajax(options);
var _callbackName = options.jsonpCallback;
var callbackName = ($.isFunction(_callbackName) ? _callbackName() : _callbackName) || ('jsonp' + (++jsonpID));
var script = document.createElement('script');
var originalCallback = window[callbackName];
var responseData;
var abort = function (errorType) {
$(script).triggerHandler('error', errorType || 'abort');
};
var xhr = {
abort: abort
};
var abortTimeout;
if (deferred)
deferred.promise(xhr);
$(script).on('load error', function (e, errorType) {
clearTimeout(abortTimeout);
$(script).off().remove();
if (e.type == 'error' || !responseData) {
ajaxError(null, errorType || 'error', xhr, options, deferred);
}
else {
ajaxSuccess(responseData[0], xhr, options, deferred);
}
window[callbackName] = originalCallback;
if (responseData && $.isFunction(originalCallback))
originalCallback(responseData[0]);
originalCallback = responseData = undefined;
});
if (ajaxBeforeSend(xhr, options) === false) {
abort('abort');
return xhr;
}
window[callbackName] = function () {
responseData = arguments;
};
script.src = options.url.replace(/\?(.+)=\?/, '?$1=' + callbackName);
document.head.appendChild(script);
if (options.timeout > 0)
abortTimeout = setTimeout(function () {
abort('timeout');
}, options.timeout);
return xhr;
};
$.ajaxSettings = {
// Default type of request
type: 'GET',
// Callback that is executed before request
beforeSend: empty,
// Callback that is executed if the request succeeds
success: empty,
// Callback that is executed the the server drops error
error: empty,
// Callback that is executed on request complete (both: error and success)
complete: empty,
// The context for the callbacks
context: null,
// Whether to trigger "global" Ajax events
global: true,
// Transport
xhr: function () {
return new window.XMLHttpRequest();
},
// MIME types mapping
// IIS returns Javascript as "application/x-javascript"
accepts: {
script: 'text/javascript, application/javascript, application/x-javascript',
json: jsonType,
xml: 'application/xml, text/xml',
html: htmlType,
text: 'text/plain'
},
// Whether the request is to another domain
crossDomain: false,
// Default timeout
timeout: 0,
// Whether data should be serialized to string
processData: true,
// Whether the browser should be allowed to cache GET responses
cache: true
};
function mimeToDataType(mime) {
if (mime)
mime = mime.split(';', 2)[0];
return mime && (mime == htmlType ? 'html' : mime == jsonType ? 'json' : scriptTypeRE.test(mime) ? 'script' : xmlTypeRE.test(mime) && 'xml') || 'text';
}
function appendQuery(url, query) {
if (query == '')
return url;
return (url + '&' + query).replace(/[&?]{1,2}/, '?');
}
// serialize payload and append it to the URL for GET requests
function serializeData(options) {
if (options.processData && options.data && $.type(options.data) != "string")
options.data = $.param(options.data, options.traditional);
if (options.data && (!options.type || options.type.toUpperCase() == 'GET'))
options.url = appendQuery(options.url, options.data), options.data = undefined;
}
$.ajax = function (options) {
var settings = $.extend({}, options || {});
var deferred = $.Deferred && $.Deferred();
var urlAnchor;
for (key in $.ajaxSettings)
if (settings[key] === undefined)
settings[key] = $.ajaxSettings[key];
ajaxStart(settings);
if (!settings.crossDomain) {
urlAnchor = document.createElement('a');
urlAnchor.href = settings.url;
urlAnchor.href = urlAnchor.href;
settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host);
}
if (!settings.url)
settings.url = window.location.toString();
serializeData(settings);
var dataType = settings.dataType;
var hasPlaceholder = /\?.+=\?/.test(settings.url);
if (hasPlaceholder)
dataType = 'jsonp';
if (settings.cache === false || ((!options || options.cache !== true) && ('script' == dataType || 'jsonp' == dataType)))
settings.url = appendQuery(settings.url, '_=' + Date.now());
if ('jsonp' == dataType) {
if (!hasPlaceholder)
settings.url = appendQuery(settings.url, settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?');
return $.ajaxJSONP(settings, deferred);
}
var mime = settings.accepts[dataType];
var headers = {};
var setHeader = function (name, value) {
headers[name.toLowerCase()] = [
name,
value
];
};
var protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol;
var xhr = settings.xhr();
var nativeSetHeader = xhr.setRequestHeader;
var abortTimeout;
if (deferred)
deferred.promise(xhr);
if (!settings.crossDomain)
setHeader('X-Requested-With', 'XMLHttpRequest');
setHeader('Accept', mime || '*/*');
if (mime = settings.mimeType || mime) {
if (mime.indexOf(',') > -1)
mime = mime.split(',', 2)[0];
xhr.overrideMimeType && xhr.overrideMimeType(mime);
}
if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))
setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded');
if (settings.headers)
for (name in settings.headers)
setHeader(name, settings.headers[name]);
xhr.setRequestHeader = setHeader;
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
xhr.onreadystatechange = empty;
clearTimeout(abortTimeout);
var result;
var error = false;
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'));
result = xhr.responseText;
try {
// path_to_url
if (dataType == 'script')
(1, eval)(result);
else if (dataType == 'xml')
result = xhr.responseXML;
else if (dataType == 'json')
result = blankRE.test(result) ? null : $.parseJSON(result);
}
catch (e) {
error = e;
}
if (error)
ajaxError(error, 'parsererror', xhr, settings, deferred);
else
ajaxSuccess(result, xhr, settings, deferred);
}
else {
ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred);
}
}
};
if (ajaxBeforeSend(xhr, settings) === false) {
xhr.abort();
ajaxError(null, 'abort', xhr, settings, deferred);
return xhr;
}
if (settings.xhrFields)
for (name in settings.xhrFields)
xhr[name] = settings.xhrFields[name];
var async = 'async' in settings ? settings.async : true;
xhr.open(settings.type, settings.url, async, settings.username, settings.password);
for (name in headers)
nativeSetHeader.apply(xhr, headers[name]);
if (settings.timeout > 0)
abortTimeout = setTimeout(function () {
xhr.onreadystatechange = empty;
xhr.abort();
ajaxError(null, 'timeout', xhr, settings, deferred);
}, settings.timeout);
// avoid sending empty string (#319)
xhr.send(settings.data ? settings.data : null);
return xhr;
};
// handle optional data/success arguments
function parseArguments(url, data, success, dataType) {
if ($.isFunction(data))
dataType = success, success = data, data = undefined;
if (!$.isFunction(success))
dataType = success, success = undefined;
return {
url: url,
data: data,
success: success,
dataType: dataType
};
}
$.get = function (
/* url, data, success, dataType */ ) {
return $.ajax(parseArguments.apply(null, arguments));
};
$.post = function (
/* url, data, success, dataType */ ) {
var options = parseArguments.apply(null, arguments);
options.type = 'POST';
return $.ajax(options);
};
$.getJSON = function (
/* url, data, success */ ) {
var options = parseArguments.apply(null, arguments);
options.dataType = 'json';
return $.ajax(options);
};
$.fn.load = function (url, data, success) {
if (!this.length)
return this;
var self = this;
var parts = url.split(/\s/);
var selector;
var options = parseArguments(url, data, success);
var callback = options.success;
if (parts.length > 1)
options.url = parts[0], selector = parts[1];
options.success = function (response) {
self.html(selector ? $('<div>').html(response.replace(rscript, "")).find(selector) : response);
callback && callback.apply(self, arguments);
};
$.ajax(options);
return this;
};
var escape = encodeURIComponent;
function serialize(params, obj, traditional, scope) {
var type;
var array = $.isArray(obj);
var hash = $.isPlainObject(obj);
$.each(obj, function (key, value) {
type = $.type(value);
if (scope)
key = traditional ? scope : scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']';
// handle data in serializeArray() format
if (!scope && array)
params.add(value.name, value.value);
// recurse into nested objects
else if (type == "array" || (!traditional && type == "object"))
serialize(params, value, traditional, key);
else
params.add(key, value);
});
}
$.param = function (obj, traditional) {
var params = [];
params.add = function (key, value) {
if ($.isFunction(value))
value = value();
if (value == null)
value = "";
this.push(escape(key) + '=' + escape(value));
};
serialize(params, obj, traditional);
return params.join('&').replace(/%20/g, '+');
};
})(Zepto)
;
(function ($) {
$.fn.serializeArray = function () {
var name;
var type;
var result = [];
var add = function (value) {
if (value.forEach)
return value.forEach(add);
result.push({
name: name,
value: value
});
};
if (this[0])
$.each(this[0].elements, function (_, field) {
type = field.type, name = field.name;
if (name && field.nodeName.toLowerCase() != 'fieldset' && !field.disabled && type != 'submit' && type != 'reset' && type != 'button' && type != 'file' && ((type != 'radio' && type != 'checkbox') || field.checked))
add($(field).val());
});
return result;
};
$.fn.serialize = function () {
var result = [];
this.serializeArray().forEach(function (elm) {
result.push(encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value));
});
return result.join('&');
};
$.fn.submit = function (callback) {
if (0 in arguments)
this.bind('submit', callback);
else if (this.length) {
var event = $.Event('submit');
this.eq(0).trigger(event);
if (!event.isDefaultPrevented())
this.get(0).submit();
}
return this;
};
})(Zepto)
;
(function ($) {
// __proto__ doesn't exist on IE<11, so redefine
// the Z function to use object extension instead
if (!('__proto__' in {})) {
$.extend($.zepto, {
Z: function (dom, selector) {
dom = dom || [];
$.extend(dom, $.fn);
dom.selector = selector || '';
dom.__Z = true;
return dom;
},
// this is a kludge but works
isZ: function (object) {
return $.type(object) === 'array' && '__Z' in object;
}
});
}
// getComputedStyle shouldn't freak out when called
// without a valid element as argument
try {
getComputedStyle(undefined);
}
catch (e) {
var nativeGetComputedStyle = getComputedStyle;
window.getComputedStyle = function (element) {
try {
return nativeGetComputedStyle(element);
}
catch (e) {
return null;
}
};
}
})(Zepto);
```
|
/content/code_sandbox/demo/five/zepto.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 14,120
|
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="select_contact">
<label></label>
<div class="pc-box">
<input type="hidden" name="contact_province_code" data-id="0001" id="contact_province_code" value="" data-province-name="">
<input type="hidden" name="contact_city_code" id="contact_city_code" value="" data-city-name=""><span data-city-code="510100" data-province-code="510000" data-district-code="510105" id="show_contact"> </span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var iosProvinceData= function(callback){//callback
$.ajax({
url: 'areaData_v2.1.js',
dataType: 'json',
success:function(data,textStatus){
callback(data);
},
});
}
var iosCityData= function(province,callback){// provinceID
$.ajax({
url: 'areaData_v2.2.js?province='+province,
dataType: 'json',
success:function(data,textStatus){
callback(data);
},
});
}
var iosCountyData= function(province,city,callback){// provinceID,cityID
$.ajax({
url: 'areaData_v2.3.js?city='+city,
dataType: 'json',
success:function(data,textStatus){
callback(data);
},
});
}
var selectContactDom = $('#select_contact');
var showContactDom = $('#show_contact');
var contactProvinceCodeDom = $('#contact_province_code');
var contactCityCodeDom = $('#contact_city_code');
selectContactDom.bind('click', function () {
var sccode = showContactDom.attr('data-city-code');
var scname = showContactDom.attr('data-city-name');
var oneLevelId = showContactDom.attr('data-province-code');
var twoLevelId = showContactDom.attr('data-city-code');
var threeLevelId = showContactDom.attr('data-district-code');
var iosSelect = new IosSelect(3,
[iosProvinceData, iosCityData, iosCountyData],
{
title: '',
itemHeight: 35,
relation: [1, 1, 0, 0],
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
showLoading:true,
callback: function (selectOneObj, selectTwoObj, selectThreeObj) {
contactProvinceCodeDom.val(selectOneObj.id);
contactProvinceCodeDom.attr('data-province-name', selectOneObj.value);
contactCityCodeDom.val(selectTwoObj.id);
contactCityCodeDom.attr('data-city-name', selectTwoObj.value);
showContactDom.attr('data-province-code', selectOneObj.id);
showContactDom.attr('data-city-code', selectTwoObj.id);
showContactDom.attr('data-district-code', selectThreeObj.id);
showContactDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/ajax/area1.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 869
|
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDisplay = {};
var classCache = {};
var cssNumber = {
'column-count': 1,
'columns': 1,
'font-weight': 1,
'line-height': 1,
'opacity': 1,
'z-index': 1,
'zoom': 1
};
var fragmentRE = /^\s*<(\w+|!)[^>]*>/;
var singleTagRE = /^<(\w+)\s*\/?>(?:<\/\1>|)$/;
var tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig;
var rootNodeRE = /^(?:body|html)$/i;
var capitalRE = /([A-Z])/g;
// special attributes that should be get/set via method calls
var methodAttributes = [
'val',
'css',
'html',
'text',
'data',
'width',
'height',
'offset'
];
var adjacencyOperators = [
'after',
'prepend',
'before',
'append'
];
var table = document.createElement('table');
var tableRow = document.createElement('tr');
var containers = {
'tr': document.createElement('tbody'),
'tbody': table,
'thead': table,
'tfoot': table,
'td': tableRow,
'th': tableRow,
'*': document.createElement('div')
};
var readyRE = /complete|loaded|interactive/;
var simpleSelectorRE = /^[\w-]*$/;
var class2type = {};
var toString = class2type.toString;
var zepto = {};
var camelize;
var uniq;
var tempParent = document.createElement('div');
var propMap = {
'tabindex': 'tabIndex',
'readonly': 'readOnly',
'for': 'htmlFor',
'class': 'className',
'maxlength': 'maxLength',
'cellspacing': 'cellSpacing',
'cellpadding': 'cellPadding',
'rowspan': 'rowSpan',
'colspan': 'colSpan',
'usemap': 'useMap',
'frameborder': 'frameBorder',
'contenteditable': 'contentEditable'
};
var isArray = Array.isArray || function (object) {
return object instanceof Array;
};
zepto.matches = function (element, selector) {
if (!selector || !element || element.nodeType !== 1)
return false;
var matchesSelector = element.webkitMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.matchesSelector;
if (matchesSelector)
return matchesSelector.call(element, selector);
// fall back to performing a selector:
var match;
var parent = element.parentNode;
var temp = !parent;
if (temp)
(parent = tempParent).appendChild(element);
match = ~zepto.qsa(parent, selector).indexOf(element);
temp && tempParent.removeChild(element);
return match;
};
function type(obj) {
return obj == null ? String(obj) : class2type[toString.call(obj)] || "object";
}
function isFunction(value) {
return type(value) == "function";
}
function isWindow(obj) {
return obj != null && obj == obj.window;
}
function isDocument(obj) {
return obj != null && obj.nodeType == obj.DOCUMENT_NODE;
}
function isObject(obj) {
return type(obj) == "object";
}
function isPlainObject(obj) {
return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype;
}
function likeArray(obj) {
return typeof obj.length == 'number';
}
function compact(array) {
return filter.call(array, function (item) {
return item != null;
});
}
function flatten(array) {
return array.length > 0 ? $.fn.concat.apply([], array) : array;
}
camelize = function (str) {
return str.replace(/-+(.)?/g, function (match, chr) {
return chr ? chr.toUpperCase() : '';
});
};
function dasherize(str) {
return str.replace(/::/g, '/').replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2').replace(/([a-z\d])([A-Z])/g, '$1_$2').replace(/_/g, '-').toLowerCase();
}
uniq = function (array) {
return filter.call(array, function (item, idx) {
return array.indexOf(item) == idx;
});
};
function classRE(name) {
return name in classCache ? classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)'));
}
function maybeAddPx(name, value) {
return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value;
}
function defaultDisplay(nodeName) {
var element;
var display;
if (!elementDisplay[nodeName]) {
element = document.createElement(nodeName);
document.body.appendChild(element);
display = getComputedStyle(element, '').getPropertyValue("display");
element.parentNode.removeChild(element);
display == "none" && (display = "block");
elementDisplay[nodeName] = display;
}
return elementDisplay[nodeName];
}
function children(element) {
return 'children' in element ? slice.call(element.children) : $.map(element.childNodes, function (node) {
if (node.nodeType == 1)
return node;
});
}
// `$.zepto.fragment` takes a html string and an optional tag name
// to generate DOM nodes nodes from the given html string.
// The generated DOM nodes are returned as an array.
// This function can be overriden in plugins for example to make
// it compatible with browsers that don't support the DOM fully.
zepto.fragment = function (html, name, properties) {
var dom;
var nodes;
var container;
// A special case optimization for a single tag
if (singleTagRE.test(html))
dom = $(document.createElement(RegExp.$1));
if (!dom) {
if (html.replace)
html = html.replace(tagExpanderRE, "<$1></$2>");
if (name === undefined)
name = fragmentRE.test(html) && RegExp.$1;
if (!(name in containers))
name = '*';
container = containers[name];
container.innerHTML = '' + html;
dom = $.each(slice.call(container.childNodes), function () {
container.removeChild(this);
});
}
if (isPlainObject(properties)) {
nodes = $(dom);
$.each(properties, function (key, value) {
if (methodAttributes.indexOf(key) > -1)
nodes[key](value);
else
nodes.attr(key, value);
});
}
return dom;
};
// `$.zepto.Z` swaps out the prototype of the given `dom` array
// of nodes with `$.fn` and thus supplying all the Zepto functions
// to the array. Note that `__proto__` is not supported on Internet
// Explorer. This method can be overriden in plugins.
zepto.Z = function (dom, selector) {
dom = dom || [];
dom.__proto__ = $.fn;
dom.selector = selector || '';
return dom;
};
// `$.zepto.isZ` should return `true` if the given object is a Zepto
// collection. This method can be overriden in plugins.
zepto.isZ = function (object) {
return object instanceof zepto.Z;
};
// `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
// takes a CSS selector and an optional context (and handles various
// special cases).
// This method can be overriden in plugins.
zepto.init = function (selector, context) {
var dom;
// If nothing given, return an empty Zepto collection
if (!selector)
return zepto.Z();
// Optimize for string selectors
else if (typeof selector == 'string') {
selector = selector.trim();
// If it's a html fragment, create nodes from it
// Note: In both Chrome 21 and Firefox 15, DOM error 12
// is thrown if the fragment doesn't begin with <
if (selector[0] == '<' && fragmentRE.test(selector))
dom = zepto.fragment(selector, RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// If it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// If a function is given, call it when the DOM is ready
else if (isFunction(selector))
return $(document).ready(selector);
// If a Zepto collection is given, just return it
else if (zepto.isZ(selector))
return selector;
else {
// normalize array if an array of nodes is given
if (isArray(selector))
dom = compact(selector);
// Wrap DOM nodes.
else if (isObject(selector))
dom = [
selector
], selector = null;
// If it's a html fragment, create nodes from it
else if (fragmentRE.test(selector))
dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// And last but no least, if it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// create a new Zepto collection from the nodes found
return zepto.Z(dom, selector);
};
// `$` will be the base `Zepto` object. When calling this
// function just call `$.zepto.init, which makes the implementation
// details of selecting nodes and creating Zepto collections
// patchable in plugins.
$ = function (selector, context) {
return zepto.init(selector, context);
};
function extend(target, source, deep) {
for (key in source)
if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {
if (isPlainObject(source[key]) && !isPlainObject(target[key]))
target[key] = {};
if (isArray(source[key]) && !isArray(target[key]))
target[key] = [];
extend(target[key], source[key], deep);
}
else if (source[key] !== undefined)
target[key] = source[key];
}
// Copy all but undefined properties from one or more
// objects to the `target` object.
$.extend = function (target) {
var deep;
var args = slice.call(arguments, 1);
if (typeof target == 'boolean') {
deep = target;
target = args.shift();
}
args.forEach(function (arg) {
extend(target, arg, deep);
});
return target;
};
// `$.zepto.qsa` is Zepto's CSS selector implementation which
// uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
// This method can be overriden in plugins.
zepto.qsa = function (element, selector) {
var found;
var maybeID = selector[0] == '#';
var maybeClass = !maybeID && selector[0] == '.';
var nameOnly = maybeID || maybeClass ? selector.slice(1) : selector; // Ensure that a 1 char tag name still gets checked
var isSimple = simpleSelectorRE.test(nameOnly);
return (isDocument(element) && isSimple && maybeID) ? ((found = element.getElementById(nameOnly)) ? [
found
] : []) : (element.nodeType !== 1 && element.nodeType !== 9) ? [] : slice.call(isSimple && !maybeID ? maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
element.getElementsByTagName(selector) : // Or a tag
element.querySelectorAll(selector) // Or it's not simple, and we need to query all
);
};
function filtered(nodes, selector) {
return selector == null ? $(nodes) : $(nodes).filter(selector);
}
$.contains = document.documentElement.contains ? function (parent, node) {
return parent !== node && parent.contains(node);
} : function (parent, node) {
while (node && (node = node.parentNode))
if (node === parent)
return true;
return false;
};
function funcArg(context, arg, idx, payload) {
return isFunction(arg) ? arg.call(context, idx, payload) : arg;
}
function setAttribute(node, name, value) {
value == null ? node.removeAttribute(name) : node.setAttribute(name, value);
}
// access className property while respecting SVGAnimatedString
function className(node, value) {
var klass = node.className || '';
var svg = klass && klass.baseVal !== undefined;
if (value === undefined)
return svg ? klass.baseVal : klass;
svg ? (klass.baseVal = value) : (node.className = value);
}
// "true" => true
// "false" => false
// "null" => null
// "42" => 42
// "42.5" => 42.5
// "08" => "08"
// JSON => parse if valid
// String => self
function deserializeValue(value) {
try {
return value ? value == "true" || (value == "false" ? false : value == "null" ? null : +value + "" == value ? +value : /^[\[\{]/.test(value) ? $.parseJSON(value) : value) : value;
}
catch (e) {
return value;
}
}
$.type = type;
$.isFunction = isFunction;
$.isWindow = isWindow;
$.isArray = isArray;
$.isPlainObject = isPlainObject;
$.isEmptyObject = function (obj) {
var name;
for (name in obj)
return false;
return true;
};
$.inArray = function (elem, array, i) {
return emptyArray.indexOf.call(array, elem, i);
};
$.camelCase = camelize;
$.trim = function (str) {
return str == null ? "" : String.prototype.trim.call(str);
};
// plugin compatibility
$.uuid = 0;
$.support = {};
$.expr = {};
$.map = function (elements, callback) {
var value;
var values = [];
var i;
var key;
if (likeArray(elements))
for (i = 0; i < elements.length; i++) {
value = callback(elements[i], i);
if (value != null)
values.push(value);
}
else
for (key in elements) {
value = callback(elements[key], key);
if (value != null)
values.push(value);
}
return flatten(values);
};
$.each = function (elements, callback) {
var i;
var key;
if (likeArray(elements)) {
for (i = 0; i < elements.length; i++)
if (callback.call(elements[i], i, elements[i]) === false)
return elements;
}
else {
for (key in elements)
if (callback.call(elements[key], key, elements[key]) === false)
return elements;
}
return elements;
};
$.grep = function (elements, callback) {
return filter.call(elements, callback);
};
if (window.JSON)
$.parseJSON = JSON.parse;
// Populate the class2type map
$.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
class2type["[object " + name + "]"] = name.toLowerCase();
});
// Define methods that will be available on all
// Zepto collections
$.fn = {
// Because a collection acts like an array
// copy over these useful array functions.
forEach: emptyArray.forEach,
reduce: emptyArray.reduce,
push: emptyArray.push,
sort: emptyArray.sort,
indexOf: emptyArray.indexOf,
concat: emptyArray.concat,
// `map` and `slice` in the jQuery API work differently
// from their array counterparts
map: function (fn) {
return $($.map(this, function (el, i) {
return fn.call(el, i, el);
}));
},
slice: function () {
return $(slice.apply(this, arguments));
},
ready: function (callback) {
// need to check if document.body exists for IE as that browser reports
// document ready when it hasn't yet created the body element
if (readyRE.test(document.readyState) && document.body)
callback($);
else
document.addEventListener('DOMContentLoaded', function () {
callback($);
}, false);
return this;
},
get: function (idx) {
return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length];
},
toArray: function () {
return this.get();
},
size: function () {
return this.length;
},
remove: function () {
return this.each(function () {
if (this.parentNode != null)
this.parentNode.removeChild(this);
});
},
each: function (callback) {
emptyArray.every.call(this, function (el, idx) {
return callback.call(el, idx, el) !== false;
});
return this;
},
filter: function (selector) {
if (isFunction(selector))
return this.not(this.not(selector));
return $(filter.call(this, function (element) {
return zepto.matches(element, selector);
}));
},
add: function (selector, context) {
return $(uniq(this.concat($(selector, context))));
},
is: function (selector) {
return this.length > 0 && zepto.matches(this[0], selector);
},
not: function (selector) {
var nodes = [];
if (isFunction(selector) && selector.call !== undefined)
this.each(function (idx) {
if (!selector.call(this, idx))
nodes.push(this);
});
else {
var excludes = typeof selector == 'string' ? this.filter(selector) : (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector);
this.forEach(function (el) {
if (excludes.indexOf(el) < 0)
nodes.push(el);
});
}
return $(nodes);
},
has: function (selector) {
return this.filter(function () {
return isObject(selector) ? $.contains(this, selector) : $(this).find(selector).size();
});
},
eq: function (idx) {
return idx === -1 ? this.slice(idx) : this.slice(idx, +idx + 1);
},
first: function () {
var el = this[0];
return el && !isObject(el) ? el : $(el);
},
last: function () {
var el = this[this.length - 1];
return el && !isObject(el) ? el : $(el);
},
find: function (selector) {
var result;
var $this = this;
if (!selector)
result = $();
else if (typeof selector == 'object')
result = $(selector).filter(function () {
var node = this;
return emptyArray.some.call($this, function (parent) {
return $.contains(parent, node);
});
});
else if (this.length == 1)
result = $(zepto.qsa(this[0], selector));
else
result = this.map(function () {
return zepto.qsa(this, selector);
});
return result;
},
closest: function (selector, context) {
var node = this[0];
var collection = false;
if (typeof selector == 'object')
collection = $(selector);
while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))
node = node !== context && !isDocument(node) && node.parentNode;
return $(node);
},
parents: function (selector) {
var ancestors = [];
var nodes = this;
while (nodes.length > 0)
nodes = $.map(nodes, function (node) {
if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {
ancestors.push(node);
return node;
}
});
return filtered(ancestors, selector);
},
parent: function (selector) {
return filtered(uniq(this.pluck('parentNode')), selector);
},
children: function (selector) {
return filtered(this.map(function () {
return children(this);
}), selector);
},
contents: function () {
return this.map(function () {
return slice.call(this.childNodes);
});
},
siblings: function (selector) {
return filtered(this.map(function (i, el) {
return filter.call(children(el.parentNode), function (child) {
return child !== el;
});
}), selector);
},
empty: function () {
return this.each(function () {
this.innerHTML = '';
});
},
// `pluck` is borrowed from Prototype.js
pluck: function (property) {
return $.map(this, function (el) {
return el[property];
});
},
show: function () {
return this.each(function () {
this.style.display == "none" && (this.style.display = '');
if (getComputedStyle(this, '').getPropertyValue("display") == "none")
this.style.display = defaultDisplay(this.nodeName);
});
},
replaceWith: function (newContent) {
return this.before(newContent).remove();
},
wrap: function (structure) {
var func = isFunction(structure);
if (this[0] && !func)
var dom = $(structure).get(0);
var clone = dom.parentNode || this.length > 1;
return this.each(function (index) {
$(this).wrapAll(func ? structure.call(this, index) : clone ? dom.cloneNode(true) : dom);
});
},
wrapAll: function (structure) {
if (this[0]) {
$(this[0]).before(structure = $(structure));
var children;
// drill down to the inmost element
while ((children = structure.children()).length)
structure = children.first();
$(structure).append(this);
}
return this;
},
wrapInner: function (structure) {
var func = isFunction(structure);
return this.each(function (index) {
var self = $(this);
var contents = self.contents();
var dom = func ? structure.call(this, index) : structure;
contents.length ? contents.wrapAll(dom) : self.append(dom);
});
},
unwrap: function () {
this.parent().each(function () {
$(this).replaceWith($(this).children());
});
return this;
},
clone: function () {
return this.map(function () {
return this.cloneNode(true);
});
},
hide: function () {
return this.css("display", "none");
},
toggle: function (setting) {
return this.each(function () {
var el = $(this)
;
(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide();
});
},
prev: function (selector) {
return $(this.pluck('previousElementSibling')).filter(selector || '*');
},
next: function (selector) {
return $(this.pluck('nextElementSibling')).filter(selector || '*');
},
html: function (html) {
return 0 in arguments ? this.each(function (idx) {
var originHtml = this.innerHTML;
$(this).empty().append(funcArg(this, html, idx, originHtml));
}) : (0 in this ? this[0].innerHTML : null);
},
text: function (text) {
return 0 in arguments ? this.each(function (idx) {
var newText = funcArg(this, text, idx, this.textContent);
this.textContent = newText == null ? '' : '' + newText;
}) : (0 in this ? this[0].textContent : null);
},
attr: function (name, value) {
var result;
return (typeof name == 'string' && !(1 in arguments)) ? (!this.length || this[0].nodeType !== 1 ? undefined : (!(result = this[0].getAttribute(name)) && name in this[0]) ? this[0][name] : result) : this.each(function (idx) {
if (this.nodeType !== 1)
return;
if (isObject(name))
for (key in name)
setAttribute(this, key, name[key]);
else
setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)));
});
},
removeAttr: function (name) {
return this.each(function () {
this.nodeType === 1 && name.split(' ').forEach(function (attribute) {
setAttribute(this, attribute);
}, this);
});
},
prop: function (name, value) {
name = propMap[name] || name;
return (1 in arguments) ? this.each(function (idx) {
this[name] = funcArg(this, value, idx, this[name]);
}) : (this[0] && this[0][name]);
},
data: function (name, value) {
var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase();
var data = (1 in arguments) ? this.attr(attrName, value) : this.attr(attrName);
return data !== null ? deserializeValue(data) : undefined;
},
val: function (value) {
return 0 in arguments ? this.each(function (idx) {
this.value = funcArg(this, value, idx, this.value);
}) : (this[0] && (this[0].multiple ? $(this[0]).find('option').filter(function () {
return this.selected;
}).pluck('value') : this[0].value));
},
offset: function (coordinates) {
if (coordinates)
return this.each(function (index) {
var $this = $(this);
var coords = funcArg(this, coordinates, index, $this.offset());
var parentOffset = $this.offsetParent().offset();
var props = {
top: coords.top - parentOffset.top,
left: coords.left - parentOffset.left
};
if ($this.css('position') == 'static')
props['position'] = 'relative';
$this.css(props);
});
if (!this.length)
return null;
var obj = this[0].getBoundingClientRect();
return {
left: obj.left + window.pageXOffset,
top: obj.top + window.pageYOffset,
width: Math.round(obj.width),
height: Math.round(obj.height)
};
},
css: function (property, value) {
if (arguments.length < 2) {
var computedStyle;
var element = this[0];
if (!element)
return;
computedStyle = getComputedStyle(element, '');
if (typeof property == 'string')
return element.style[camelize(property)] || computedStyle.getPropertyValue(property);
else if (isArray(property)) {
var props = {};
$.each(property, function (_, prop) {
props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop));
});
return props;
}
}
var css = '';
if (type(property) == 'string') {
if (!value && value !== 0)
this.each(function () {
this.style.removeProperty(dasherize(property));
});
else
css = dasherize(property) + ":" + maybeAddPx(property, value);
}
else {
for (key in property)
if (!property[key] && property[key] !== 0)
this.each(function () {
this.style.removeProperty(dasherize(key));
});
else
css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';';
}
return this.each(function () {
this.style.cssText += ';' + css;
});
},
index: function (element) {
return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0]);
},
hasClass: function (name) {
if (!name)
return false;
return emptyArray.some.call(this, function (el) {
return this.test(className(el));
}, classRE(name));
},
addClass: function (name) {
if (!name)
return this;
return this.each(function (idx) {
if (!('className' in this))
return;
classList = [];
var cls = className(this);
var newName = funcArg(this, name, idx, cls);
newName.split(/\s+/g).forEach(function (klass) {
if (!$(this).hasClass(klass))
classList.push(klass);
}, this);
classList.length && className(this, cls + (cls ? " " : "") + classList.join(" "));
});
},
removeClass: function (name) {
return this.each(function (idx) {
if (!('className' in this))
return;
if (name === undefined)
return className(this, '');
classList = className(this);
funcArg(this, name, idx, classList).split(/\s+/g).forEach(function (klass) {
classList = classList.replace(classRE(klass), " ");
});
className(this, classList.trim());
});
},
toggleClass: function (name, when) {
if (!name)
return this;
return this.each(function (idx) {
var $this = $(this);
var names = funcArg(this, name, idx, className(this));
names.split(/\s+/g).forEach(function (klass) {
(when === undefined ? !$this.hasClass(klass) : when) ? $this.addClass(klass) : $this.removeClass(klass);
});
});
},
scrollTop: function (value) {
if (!this.length)
return;
var hasScrollTop = 'scrollTop' in this[0];
if (value === undefined)
return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset;
return this.each(hasScrollTop ? function () {
this.scrollTop = value;
} : function () {
this.scrollTo(this.scrollX, value);
});
},
scrollLeft: function (value) {
if (!this.length)
return;
var hasScrollLeft = 'scrollLeft' in this[0];
if (value === undefined)
return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset;
return this.each(hasScrollLeft ? function () {
this.scrollLeft = value;
} : function () {
this.scrollTo(value, this.scrollY);
});
},
position: function () {
if (!this.length)
return;
var elem = this[0];
// Get *real* offsetParent
var offsetParent = this.offsetParent();
// Get correct offsets
var offset = this.offset();
var parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? {
top: 0,
left: 0
} : offsetParent.offset();
// Subtract element margins
// note: when an element has margin: auto the offsetLeft and marginLeft
// are the same in Safari causing offset.left to incorrectly be 0
offset.top -= parseFloat($(elem).css('margin-top')) || 0;
offset.left -= parseFloat($(elem).css('margin-left')) || 0;
// Add offsetParent borders
parentOffset.top += parseFloat($(offsetParent[0]).css('border-top-width')) || 0;
parentOffset.left += parseFloat($(offsetParent[0]).css('border-left-width')) || 0;
// Subtract the two offsets
return {
top: offset.top - parentOffset.top,
left: offset.left - parentOffset.left
};
},
offsetParent: function () {
return this.map(function () {
var parent = this.offsetParent || document.body;
while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
parent = parent.offsetParent;
return parent;
});
}
};
// for now
$.fn.detach = $.fn.remove
// Generate the `width` and `height` functions
;
[
'width',
'height'
].forEach(function (dimension) {
var dimensionProperty = dimension.replace(/./, function (m) {
return m[0].toUpperCase();
});
$.fn[dimension] = function (value) {
var offset;
var el = this[0];
if (value === undefined)
return isWindow(el) ? el['inner' + dimensionProperty] : isDocument(el) ? el.documentElement['scroll' + dimensionProperty] : (offset = this.offset()) && offset[dimension];
else
return this.each(function (idx) {
el = $(this);
el.css(dimension, funcArg(this, value, idx, el[dimension]()));
});
};
});
function traverseNode(node, fun) {
fun(node);
for (var i = 0, len = node.childNodes.length; i < len; i++)
traverseNode(node.childNodes[i], fun);
}
// Generate the `after`, `prepend`, `before`, `append`,
// `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.
adjacencyOperators.forEach(function (operator, operatorIndex) {
var inside = operatorIndex % 2; // => prepend, append
$.fn[operator] = function () {
// arguments can be nodes, arrays of nodes, Zepto objects and HTML strings
var argType;
var nodes = $.map(arguments, function (arg) {
argType = type(arg);
return argType == "object" || argType == "array" || arg == null ? arg : zepto.fragment(arg);
});
var parent;
var copyByClone = this.length > 1;
if (nodes.length < 1)
return this;
return this.each(function (_, target) {
parent = inside ? target : target.parentNode;
// convert all methods to a "before" operation
target = operatorIndex == 0 ? target.nextSibling : operatorIndex == 1 ? target.firstChild : operatorIndex == 2 ? target : null;
var parentInDocument = $.contains(document.documentElement, parent);
nodes.forEach(function (node) {
if (copyByClone)
node = node.cloneNode(true);
else if (!parent)
return $(node).remove();
parent.insertBefore(node, target);
if (parentInDocument)
traverseNode(node, function (el) {
if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' && (!el.type || el.type === 'text/javascript') && !el.src)
window['eval'].call(window, el.innerHTML);
});
});
});
};
// after => insertAfter
// prepend => prependTo
// before => insertBefore
// append => appendTo
$.fn[inside ? operator + 'To' : 'insert' + (operatorIndex ? 'Before' : 'After')] = function (html) {
$(html)[operator](this);
return this;
};
});
zepto.Z.prototype = $.fn;
// Export internal API functions in the `$.zepto` namespace
zepto.uniq = uniq;
zepto.deserializeValue = deserializeValue;
$.zepto = zepto;
return $;
})();
window.Zepto = Zepto;
window.$ === undefined && (window.$ = Zepto)
;
(function ($) {
var _zid = 1;
var undefined;
var slice = Array.prototype.slice;
var isFunction = $.isFunction;
var isString = function (obj) {
return typeof obj == 'string';
};
var handlers = {};
var specialEvents = {};
var focusinSupported = 'onfocusin' in window;
var focus = {
focus: 'focusin',
blur: 'focusout'
};
var hover = {
mouseenter: 'mouseover',
mouseleave: 'mouseout'
};
specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents';
function zid(element) {
return element._zid || (element._zid = _zid++);
}
function findHandlers(element, event, fn, selector) {
event = parse(event);
if (event.ns)
var matcher = matcherFor(event.ns);
return (handlers[zid(element)] || []).filter(function (handler) {
return handler && (!event.e || handler.e == event.e) && (!event.ns || matcher.test(handler.ns)) && (!fn || zid(handler.fn) === zid(fn)) && (!selector || handler.sel == selector);
});
}
function parse(event) {
var parts = ('' + event).split('.');
return {
e: parts[0],
ns: parts.slice(1).sort().join(' ')
};
}
function matcherFor(ns) {
return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)');
}
function eventCapture(handler, captureSetting) {
return handler.del && (!focusinSupported && (handler.e in focus)) || !!captureSetting;
}
function realEvent(type) {
return hover[type] || (focusinSupported && focus[type]) || type;
}
function add(element, events, fn, data, selector, delegator, capture) {
var id = zid(element);
var set = (handlers[id] || (handlers[id] = []));
events.split(/\s/).forEach(function (event) {
if (event == 'ready')
return $(document).ready(fn);
var handler = parse(event);
handler.fn = fn;
handler.sel = selector;
// emulate mouseenter, mouseleave
if (handler.e in hover)
fn = function (e) {
var related = e.relatedTarget;
if (!related || (related !== this && !$.contains(this, related)))
return handler.fn.apply(this, arguments);
};
handler.del = delegator;
var callback = delegator || fn;
handler.proxy = function (e) {
e = compatible(e);
if (e.isImmediatePropagationStopped())
return;
e.data = data;
var result = callback.apply(element, e._args == undefined ? [
e
] : [
e
].concat(e._args));
if (result === false)
e.preventDefault(), e.stopPropagation();
return result;
};
handler.i = set.length;
set.push(handler);
if ('addEventListener' in element)
element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
}
function remove(element, events, fn, selector, capture) {
var id = zid(element)
;
(events || '').split(/\s/).forEach(function (event) {
findHandlers(element, event, fn, selector).forEach(function (handler) {
delete handlers[id][handler.i];
if ('removeEventListener' in element)
element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
});
}
$.event = {
add: add,
remove: remove
};
$.proxy = function (fn, context) {
var args = (2 in arguments) && slice.call(arguments, 2);
if (isFunction(fn)) {
var proxyFn = function () {
return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments);
};
proxyFn._zid = zid(fn);
return proxyFn;
}
else if (isString(context)) {
if (args) {
args.unshift(fn[context], fn);
return $.proxy.apply(null, args);
}
else {
return $.proxy(fn[context], fn);
}
}
else {
throw new TypeError("expected function");
}
};
$.fn.bind = function (event, data, callback) {
return this.on(event, data, callback);
};
$.fn.unbind = function (event, callback) {
return this.off(event, callback);
};
$.fn.one = function (event, selector, data, callback) {
return this.on(event, selector, data, callback, 1);
};
var returnTrue = function () {
return true;
};
var returnFalse = function () {
return false;
};
var ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$)/;
var eventMethods = {
preventDefault: 'isDefaultPrevented',
stopImmediatePropagation: 'isImmediatePropagationStopped',
stopPropagation: 'isPropagationStopped'
};
function compatible(event, source) {
if (source || !event.isDefaultPrevented) {
source || (source = event);
$.each(eventMethods, function (name, predicate) {
var sourceMethod = source[name];
event[name] = function () {
this[predicate] = returnTrue;
return sourceMethod && sourceMethod.apply(source, arguments);
};
event[predicate] = returnFalse;
});
if (source.defaultPrevented !== undefined ? source.defaultPrevented : 'returnValue' in source ? source.returnValue === false : source.getPreventDefault && source.getPreventDefault())
event.isDefaultPrevented = returnTrue;
}
return event;
}
function createProxy(event) {
var key;
var proxy = {
originalEvent: event
};
for (key in event)
if (!ignoreProperties.test(key) && event[key] !== undefined)
proxy[key] = event[key];
return compatible(proxy, event);
}
$.fn.delegate = function (selector, event, callback) {
return this.on(event, selector, callback);
};
$.fn.undelegate = function (selector, event, callback) {
return this.off(event, selector, callback);
};
$.fn.live = function (event, callback) {
$(document.body).delegate(this.selector, event, callback);
return this;
};
$.fn.die = function (event, callback) {
$(document.body).undelegate(this.selector, event, callback);
return this;
};
$.fn.on = function (event, selector, data, callback, one) {
var autoRemove;
var delegator;
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.on(type, selector, data, fn, one);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = data, data = selector, selector = undefined;
if (isFunction(data) || data === false)
callback = data, data = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function (_, element) {
if (one)
autoRemove = function (e) {
remove(element, e.type, callback);
return callback.apply(this, arguments);
};
if (selector)
delegator = function (e) {
var evt;
var match = $(e.target).closest(selector, element).get(0);
if (match && match !== element) {
evt = $.extend(createProxy(e), {
currentTarget: match,
liveFired: element
});
return (autoRemove || callback).apply(match, [
evt
].concat(slice.call(arguments, 1)));
}
};
add(element, event, callback, data, selector, delegator || autoRemove);
});
};
$.fn.off = function (event, selector, callback) {
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.off(type, selector, fn);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = selector, selector = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function () {
remove(this, event, callback, selector);
});
};
$.fn.trigger = function (event, args) {
event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event);
event._args = args;
return this.each(function () {
// handle focus(), blur() by calling them directly
if (event.type in focus && typeof this[event.type] == "function")
this[event.type]();
// items in the collection might not be DOM elements
else if ('dispatchEvent' in this)
this.dispatchEvent(event);
else
$(this).triggerHandler(event, args);
});
};
// triggers event handlers on current element just as if an event occurred,
// doesn't trigger an actual event, doesn't bubble
$.fn.triggerHandler = function (event, args) {
var e;
var result;
this.each(function (i, element) {
e = createProxy(isString(event) ? $.Event(event) : event);
e._args = args;
e.target = element;
$.each(findHandlers(element, event.type || event), function (i, handler) {
result = handler.proxy(e);
if (e.isImmediatePropagationStopped())
return false;
});
});
return result;
}
// shortcut methods for `.bind(event, fn)` for each event type
;
('focusin focusout focus blur load resize scroll unload click dblclick ' + 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave ' + 'change select keydown keypress keyup error').split(' ').forEach(function (event) {
$.fn[event] = function (callback) {
return (0 in arguments) ? this.bind(event, callback) : this.trigger(event);
};
});
$.Event = function (type, props) {
if (!isString(type))
props = type, type = props.type;
var event = document.createEvent(specialEvents[type] || 'Events');
var bubbles = true;
if (props)
for (var name in props)
(name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]);
event.initEvent(type, bubbles, true);
return compatible(event);
};
})(Zepto)
;
(function ($) {
var jsonpID = 0;
var document = window.document;
var key;
var name;
var rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;
var scriptTypeRE = /^(?:text|application)\/javascript/i;
var xmlTypeRE = /^(?:text|application)\/xml/i;
var jsonType = 'application/json';
var htmlType = 'text/html';
var blankRE = /^\s*$/;
var originAnchor = document.createElement('a');
originAnchor.href = window.location.href;
// trigger a custom event and return false if it was cancelled
function triggerAndReturn(context, eventName, data) {
var event = $.Event(eventName);
$(context).trigger(event, data);
return !event.isDefaultPrevented();
}
// trigger an Ajax "global" event
function triggerGlobal(settings, context, eventName, data) {
if (settings.global)
return triggerAndReturn(context || document, eventName, data);
}
// Number of active Ajax requests
$.active = 0;
function ajaxStart(settings) {
if (settings.global && $.active++ === 0)
triggerGlobal(settings, null, 'ajaxStart');
}
function ajaxStop(settings) {
if (settings.global && !(--$.active))
triggerGlobal(settings, null, 'ajaxStop');
}
// triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable
function ajaxBeforeSend(xhr, settings) {
var context = settings.context;
if (settings.beforeSend.call(context, xhr, settings) === false || triggerGlobal(settings, context, 'ajaxBeforeSend', [
xhr,
settings
]) === false)
return false;
triggerGlobal(settings, context, 'ajaxSend', [
xhr,
settings
]);
}
function ajaxSuccess(data, xhr, settings, deferred) {
var context = settings.context;
var status = 'success';
settings.success.call(context, data, status, xhr);
if (deferred)
deferred.resolveWith(context, [
data,
status,
xhr
]);
triggerGlobal(settings, context, 'ajaxSuccess', [
xhr,
settings,
data
]);
ajaxComplete(status, xhr, settings);
}
// type: "timeout", "error", "abort", "parsererror"
function ajaxError(error, type, xhr, settings, deferred) {
var context = settings.context;
settings.error.call(context, xhr, type, error);
if (deferred)
deferred.rejectWith(context, [
xhr,
type,
error
]);
triggerGlobal(settings, context, 'ajaxError', [
xhr,
settings,
error || type
]);
ajaxComplete(type, xhr, settings);
}
// status: "success", "notmodified", "error", "timeout", "abort", "parsererror"
function ajaxComplete(status, xhr, settings) {
var context = settings.context;
settings.complete.call(context, xhr, status);
triggerGlobal(settings, context, 'ajaxComplete', [
xhr,
settings
]);
ajaxStop(settings);
}
// Empty function, used as default callback
function empty() {
}
$.ajaxJSONP = function (options, deferred) {
if (!('type' in options))
return $.ajax(options);
var _callbackName = options.jsonpCallback;
var callbackName = ($.isFunction(_callbackName) ? _callbackName() : _callbackName) || ('jsonp' + (++jsonpID));
var script = document.createElement('script');
var originalCallback = window[callbackName];
var responseData;
var abort = function (errorType) {
$(script).triggerHandler('error', errorType || 'abort');
};
var xhr = {
abort: abort
};
var abortTimeout;
if (deferred)
deferred.promise(xhr);
$(script).on('load error', function (e, errorType) {
clearTimeout(abortTimeout);
$(script).off().remove();
if (e.type == 'error' || !responseData) {
ajaxError(null, errorType || 'error', xhr, options, deferred);
}
else {
ajaxSuccess(responseData[0], xhr, options, deferred);
}
window[callbackName] = originalCallback;
if (responseData && $.isFunction(originalCallback))
originalCallback(responseData[0]);
originalCallback = responseData = undefined;
});
if (ajaxBeforeSend(xhr, options) === false) {
abort('abort');
return xhr;
}
window[callbackName] = function () {
responseData = arguments;
};
script.src = options.url.replace(/\?(.+)=\?/, '?$1=' + callbackName);
document.head.appendChild(script);
if (options.timeout > 0)
abortTimeout = setTimeout(function () {
abort('timeout');
}, options.timeout);
return xhr;
};
$.ajaxSettings = {
// Default type of request
type: 'GET',
// Callback that is executed before request
beforeSend: empty,
// Callback that is executed if the request succeeds
success: empty,
// Callback that is executed the the server drops error
error: empty,
// Callback that is executed on request complete (both: error and success)
complete: empty,
// The context for the callbacks
context: null,
// Whether to trigger "global" Ajax events
global: true,
// Transport
xhr: function () {
return new window.XMLHttpRequest();
},
// MIME types mapping
// IIS returns Javascript as "application/x-javascript"
accepts: {
script: 'text/javascript, application/javascript, application/x-javascript',
json: jsonType,
xml: 'application/xml, text/xml',
html: htmlType,
text: 'text/plain'
},
// Whether the request is to another domain
crossDomain: false,
// Default timeout
timeout: 0,
// Whether data should be serialized to string
processData: true,
// Whether the browser should be allowed to cache GET responses
cache: true
};
function mimeToDataType(mime) {
if (mime)
mime = mime.split(';', 2)[0];
return mime && (mime == htmlType ? 'html' : mime == jsonType ? 'json' : scriptTypeRE.test(mime) ? 'script' : xmlTypeRE.test(mime) && 'xml') || 'text';
}
function appendQuery(url, query) {
if (query == '')
return url;
return (url + '&' + query).replace(/[&?]{1,2}/, '?');
}
// serialize payload and append it to the URL for GET requests
function serializeData(options) {
if (options.processData && options.data && $.type(options.data) != "string")
options.data = $.param(options.data, options.traditional);
if (options.data && (!options.type || options.type.toUpperCase() == 'GET'))
options.url = appendQuery(options.url, options.data), options.data = undefined;
}
$.ajax = function (options) {
var settings = $.extend({}, options || {});
var deferred = $.Deferred && $.Deferred();
var urlAnchor;
for (key in $.ajaxSettings)
if (settings[key] === undefined)
settings[key] = $.ajaxSettings[key];
ajaxStart(settings);
if (!settings.crossDomain) {
urlAnchor = document.createElement('a');
urlAnchor.href = settings.url;
urlAnchor.href = urlAnchor.href;
settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host);
}
if (!settings.url)
settings.url = window.location.toString();
serializeData(settings);
var dataType = settings.dataType;
var hasPlaceholder = /\?.+=\?/.test(settings.url);
if (hasPlaceholder)
dataType = 'jsonp';
if (settings.cache === false || ((!options || options.cache !== true) && ('script' == dataType || 'jsonp' == dataType)))
settings.url = appendQuery(settings.url, '_=' + Date.now());
if ('jsonp' == dataType) {
if (!hasPlaceholder)
settings.url = appendQuery(settings.url, settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?');
return $.ajaxJSONP(settings, deferred);
}
var mime = settings.accepts[dataType];
var headers = {};
var setHeader = function (name, value) {
headers[name.toLowerCase()] = [
name,
value
];
};
var protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol;
var xhr = settings.xhr();
var nativeSetHeader = xhr.setRequestHeader;
var abortTimeout;
if (deferred)
deferred.promise(xhr);
if (!settings.crossDomain)
setHeader('X-Requested-With', 'XMLHttpRequest');
setHeader('Accept', mime || '*/*');
if (mime = settings.mimeType || mime) {
if (mime.indexOf(',') > -1)
mime = mime.split(',', 2)[0];
xhr.overrideMimeType && xhr.overrideMimeType(mime);
}
if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))
setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded');
if (settings.headers)
for (name in settings.headers)
setHeader(name, settings.headers[name]);
xhr.setRequestHeader = setHeader;
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
xhr.onreadystatechange = empty;
clearTimeout(abortTimeout);
var result;
var error = false;
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'));
result = xhr.responseText;
try {
// path_to_url
if (dataType == 'script')
(1, eval)(result);
else if (dataType == 'xml')
result = xhr.responseXML;
else if (dataType == 'json')
result = blankRE.test(result) ? null : $.parseJSON(result);
}
catch (e) {
error = e;
}
if (error)
ajaxError(error, 'parsererror', xhr, settings, deferred);
else
ajaxSuccess(result, xhr, settings, deferred);
}
else {
ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred);
}
}
};
if (ajaxBeforeSend(xhr, settings) === false) {
xhr.abort();
ajaxError(null, 'abort', xhr, settings, deferred);
return xhr;
}
if (settings.xhrFields)
for (name in settings.xhrFields)
xhr[name] = settings.xhrFields[name];
var async = 'async' in settings ? settings.async : true;
xhr.open(settings.type, settings.url, async, settings.username, settings.password);
for (name in headers)
nativeSetHeader.apply(xhr, headers[name]);
if (settings.timeout > 0)
abortTimeout = setTimeout(function () {
xhr.onreadystatechange = empty;
xhr.abort();
ajaxError(null, 'timeout', xhr, settings, deferred);
}, settings.timeout);
// avoid sending empty string (#319)
xhr.send(settings.data ? settings.data : null);
return xhr;
};
// handle optional data/success arguments
function parseArguments(url, data, success, dataType) {
if ($.isFunction(data))
dataType = success, success = data, data = undefined;
if (!$.isFunction(success))
dataType = success, success = undefined;
return {
url: url,
data: data,
success: success,
dataType: dataType
};
}
$.get = function (
/* url, data, success, dataType */ ) {
return $.ajax(parseArguments.apply(null, arguments));
};
$.post = function (
/* url, data, success, dataType */ ) {
var options = parseArguments.apply(null, arguments);
options.type = 'POST';
return $.ajax(options);
};
$.getJSON = function (
/* url, data, success */ ) {
var options = parseArguments.apply(null, arguments);
options.dataType = 'json';
return $.ajax(options);
};
$.fn.load = function (url, data, success) {
if (!this.length)
return this;
var self = this;
var parts = url.split(/\s/);
var selector;
var options = parseArguments(url, data, success);
var callback = options.success;
if (parts.length > 1)
options.url = parts[0], selector = parts[1];
options.success = function (response) {
self.html(selector ? $('<div>').html(response.replace(rscript, "")).find(selector) : response);
callback && callback.apply(self, arguments);
};
$.ajax(options);
return this;
};
var escape = encodeURIComponent;
function serialize(params, obj, traditional, scope) {
var type;
var array = $.isArray(obj);
var hash = $.isPlainObject(obj);
$.each(obj, function (key, value) {
type = $.type(value);
if (scope)
key = traditional ? scope : scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']';
// handle data in serializeArray() format
if (!scope && array)
params.add(value.name, value.value);
// recurse into nested objects
else if (type == "array" || (!traditional && type == "object"))
serialize(params, value, traditional, key);
else
params.add(key, value);
});
}
$.param = function (obj, traditional) {
var params = [];
params.add = function (key, value) {
if ($.isFunction(value))
value = value();
if (value == null)
value = "";
this.push(escape(key) + '=' + escape(value));
};
serialize(params, obj, traditional);
return params.join('&').replace(/%20/g, '+');
};
})(Zepto)
;
(function ($) {
$.fn.serializeArray = function () {
var name;
var type;
var result = [];
var add = function (value) {
if (value.forEach)
return value.forEach(add);
result.push({
name: name,
value: value
});
};
if (this[0])
$.each(this[0].elements, function (_, field) {
type = field.type, name = field.name;
if (name && field.nodeName.toLowerCase() != 'fieldset' && !field.disabled && type != 'submit' && type != 'reset' && type != 'button' && type != 'file' && ((type != 'radio' && type != 'checkbox') || field.checked))
add($(field).val());
});
return result;
};
$.fn.serialize = function () {
var result = [];
this.serializeArray().forEach(function (elm) {
result.push(encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value));
});
return result.join('&');
};
$.fn.submit = function (callback) {
if (0 in arguments)
this.bind('submit', callback);
else if (this.length) {
var event = $.Event('submit');
this.eq(0).trigger(event);
if (!event.isDefaultPrevented())
this.get(0).submit();
}
return this;
};
})(Zepto)
;
(function ($) {
// __proto__ doesn't exist on IE<11, so redefine
// the Z function to use object extension instead
if (!('__proto__' in {})) {
$.extend($.zepto, {
Z: function (dom, selector) {
dom = dom || [];
$.extend(dom, $.fn);
dom.selector = selector || '';
dom.__Z = true;
return dom;
},
// this is a kludge but works
isZ: function (object) {
return $.type(object) === 'array' && '__Z' in object;
}
});
}
// getComputedStyle shouldn't freak out when called
// without a valid element as argument
try {
getComputedStyle(undefined);
}
catch (e) {
var nativeGetComputedStyle = getComputedStyle;
window.getComputedStyle = function (element) {
try {
return nativeGetComputedStyle(element);
}
catch (e) {
return null;
}
};
}
})(Zepto);
```
|
/content/code_sandbox/demo/ajax/zepto.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 14,120
|
```javascript
[
{"id":"110100","value":"","parentId":"110000"},
{"id":"120100","value":"","parentId":"120000"},
{"id":"130100","value":"","parentId":"130000"},
{"id":"130200","value":"","parentId":"130000"},
{"id":"130300","value":"","parentId":"130000"},
{"id":"130400","value":"","parentId":"130000"},
{"id":"130500","value":"","parentId":"130000"},
{"id":"130600","value":"","parentId":"130000"},
{"id":"130700","value":"","parentId":"130000"},
{"id":"130800","value":"","parentId":"130000"},
{"id":"130900","value":"","parentId":"130000"},
{"id":"131000","value":"","parentId":"130000"},
{"id":"131100","value":"","parentId":"130000"},
{"id":"140100","value":"","parentId":"140000"},
{"id":"140200","value":"","parentId":"140000"},
{"id":"140300","value":"","parentId":"140000"},
{"id":"140400","value":"","parentId":"140000"},
{"id":"140500","value":"","parentId":"140000"},
{"id":"140600","value":"","parentId":"140000"},
{"id":"140700","value":"","parentId":"140000"},
{"id":"140800","value":"","parentId":"140000"},
{"id":"140900","value":"","parentId":"140000"},
{"id":"141000","value":"","parentId":"140000"},
{"id":"141100","value":"","parentId":"140000"},
{"id":"150100","value":"","parentId":"150000"},
{"id":"150200","value":"","parentId":"150000"},
{"id":"150300","value":"","parentId":"150000"},
{"id":"150400","value":"","parentId":"150000"},
{"id":"150500","value":"","parentId":"150000"},
{"id":"150600","value":"","parentId":"150000"},
{"id":"150700","value":"","parentId":"150000"},
{"id":"150800","value":"","parentId":"150000"},
{"id":"150900","value":"","parentId":"150000"},
{"id":"152200","value":"","parentId":"150000"},
{"id":"152500","value":"","parentId":"150000"},
{"id":"152900","value":"","parentId":"150000"},
{"id":"210100","value":"","parentId":"210000"},
{"id":"210200","value":"","parentId":"210000"},
{"id":"210300","value":"","parentId":"210000"},
{"id":"210400","value":"","parentId":"210000"},
{"id":"210500","value":"","parentId":"210000"},
{"id":"210600","value":"","parentId":"210000"},
{"id":"210700","value":"","parentId":"210000"},
{"id":"210800","value":"","parentId":"210000"},
{"id":"210900","value":"","parentId":"210000"},
{"id":"211000","value":"","parentId":"210000"},
{"id":"211100","value":"","parentId":"210000"},
{"id":"211200","value":"","parentId":"210000"},
{"id":"211300","value":"","parentId":"210000"},
{"id":"211400","value":"","parentId":"210000"},
{"id":"220100","value":"","parentId":"220000"},
{"id":"220200","value":"","parentId":"220000"},
{"id":"220300","value":"","parentId":"220000"},
{"id":"220400","value":"","parentId":"220000"},
{"id":"220500","value":"","parentId":"220000"},
{"id":"220600","value":"","parentId":"220000"},
{"id":"220700","value":"","parentId":"220000"},
{"id":"220800","value":"","parentId":"220000"},
{"id":"222400","value":"","parentId":"220000"},
{"id":"230100","value":"","parentId":"230000"},
{"id":"230200","value":"","parentId":"230000"},
{"id":"230300","value":"","parentId":"230000"},
{"id":"230400","value":"","parentId":"230000"},
{"id":"230500","value":"","parentId":"230000"},
{"id":"230600","value":"","parentId":"230000"},
{"id":"230700","value":"","parentId":"230000"},
{"id":"230800","value":"","parentId":"230000"},
{"id":"230900","value":"","parentId":"230000"},
{"id":"231000","value":"","parentId":"230000"},
{"id":"231100","value":"","parentId":"230000"},
{"id":"231200","value":"","parentId":"230000"},
{"id":"232700","value":"","parentId":"230000"},
{"id":"310100","value":"","parentId":"310000"},
{"id":"320100","value":"","parentId":"320000"},
{"id":"320200","value":"","parentId":"320000"},
{"id":"320300","value":"","parentId":"320000"},
{"id":"320400","value":"","parentId":"320000"},
{"id":"320500","value":"","parentId":"320000"},
{"id":"320600","value":"","parentId":"320000"},
{"id":"320700","value":"","parentId":"320000"},
{"id":"320800","value":"","parentId":"320000"},
{"id":"320900","value":"","parentId":"320000"},
{"id":"321000","value":"","parentId":"320000"},
{"id":"321100","value":"","parentId":"320000"},
{"id":"321200","value":"","parentId":"320000"},
{"id":"321300","value":"","parentId":"320000"},
{"id":"330100","value":"","parentId":"330000"},
{"id":"330200","value":"","parentId":"330000"},
{"id":"330300","value":"","parentId":"330000"},
{"id":"330400","value":"","parentId":"330000"},
{"id":"330500","value":"","parentId":"330000"},
{"id":"330600","value":"","parentId":"330000"},
{"id":"330700","value":"","parentId":"330000"},
{"id":"330800","value":"","parentId":"330000"},
{"id":"330900","value":"","parentId":"330000"},
{"id":"331000","value":"","parentId":"330000"},
{"id":"331100","value":"","parentId":"330000"},
{"id":"340100","value":"","parentId":"340000"},
{"id":"340200","value":"","parentId":"340000"},
{"id":"340300","value":"","parentId":"340000"},
{"id":"340400","value":"","parentId":"340000"},
{"id":"340500","value":"","parentId":"340000"},
{"id":"340600","value":"","parentId":"340000"},
{"id":"340700","value":"","parentId":"340000"},
{"id":"340800","value":"","parentId":"340000"},
{"id":"341000","value":"","parentId":"340000"},
{"id":"341100","value":"","parentId":"340000"},
{"id":"341200","value":"","parentId":"340000"},
{"id":"341300","value":"","parentId":"340000"},
{"id":"341500","value":"","parentId":"340000"},
{"id":"341600","value":"","parentId":"340000"},
{"id":"341700","value":"","parentId":"340000"},
{"id":"341800","value":"","parentId":"340000"},
{"id":"350100","value":"","parentId":"350000"},
{"id":"350200","value":"","parentId":"350000"},
{"id":"350300","value":"","parentId":"350000"},
{"id":"350400","value":"","parentId":"350000"},
{"id":"350500","value":"","parentId":"350000"},
{"id":"350600","value":"","parentId":"350000"},
{"id":"350700","value":"","parentId":"350000"},
{"id":"350800","value":"","parentId":"350000"},
{"id":"350900","value":"","parentId":"350000"},
{"id":"360100","value":"","parentId":"360000"},
{"id":"360200","value":"","parentId":"360000"},
{"id":"360300","value":"","parentId":"360000"},
{"id":"360400","value":"","parentId":"360000"},
{"id":"360500","value":"","parentId":"360000"},
{"id":"360600","value":"","parentId":"360000"},
{"id":"360700","value":"","parentId":"360000"},
{"id":"360800","value":"","parentId":"360000"},
{"id":"360900","value":"","parentId":"360000"},
{"id":"361000","value":"","parentId":"360000"},
{"id":"361100","value":"","parentId":"360000"},
{"id":"370100","value":"","parentId":"370000"},
{"id":"370200","value":"","parentId":"370000"},
{"id":"370300","value":"","parentId":"370000"},
{"id":"370400","value":"","parentId":"370000"},
{"id":"370500","value":"","parentId":"370000"},
{"id":"370600","value":"","parentId":"370000"},
{"id":"370700","value":"","parentId":"370000"},
{"id":"370800","value":"","parentId":"370000"},
{"id":"370900","value":"","parentId":"370000"},
{"id":"371000","value":"","parentId":"370000"},
{"id":"371100","value":"","parentId":"370000"},
{"id":"371200","value":"","parentId":"370000"},
{"id":"371300","value":"","parentId":"370000"},
{"id":"371400","value":"","parentId":"370000"},
{"id":"371500","value":"","parentId":"370000"},
{"id":"371600","value":"","parentId":"370000"},
{"id":"371700","value":"","parentId":"370000"},
{"id":"410100","value":"","parentId":"410000"},
{"id":"410200","value":"","parentId":"410000"},
{"id":"410300","value":"","parentId":"410000"},
{"id":"410400","value":"","parentId":"410000"},
{"id":"410500","value":"","parentId":"410000"},
{"id":"410600","value":"","parentId":"410000"},
{"id":"410700","value":"","parentId":"410000"},
{"id":"410800","value":"","parentId":"410000"},
{"id":"410900","value":"","parentId":"410000"},
{"id":"411000","value":"","parentId":"410000"},
{"id":"411100","value":"","parentId":"410000"},
{"id":"411200","value":"","parentId":"410000"},
{"id":"411300","value":"","parentId":"410000"},
{"id":"411400","value":"","parentId":"410000"},
{"id":"411500","value":"","parentId":"410000"},
{"id":"411600","value":"","parentId":"410000"},
{"id":"411700","value":"","parentId":"410000"},
{"id":"419001","value":"","parentId":"410000"},
{"id":"420100","value":"","parentId":"420000"},
{"id":"420200","value":"","parentId":"420000"},
{"id":"420300","value":"","parentId":"420000"},
{"id":"420500","value":"","parentId":"420000"},
{"id":"420600","value":"","parentId":"420000"},
{"id":"420700","value":"","parentId":"420000"},
{"id":"420800","value":"","parentId":"420000"},
{"id":"420900","value":"","parentId":"420000"},
{"id":"421000","value":"","parentId":"420000"},
{"id":"421100","value":"","parentId":"420000"},
{"id":"421200","value":"","parentId":"420000"},
{"id":"421300","value":"","parentId":"420000"},
{"id":"422800","value":"","parentId":"420000"},
{"id":"429004","value":"","parentId":"420000"},
{"id":"429005","value":"","parentId":"420000"},
{"id":"429006","value":"","parentId":"420000"},
{"id":"429021","value":"","parentId":"420000"},
{"id":"430100","value":"","parentId":"430000"},
{"id":"430200","value":"","parentId":"430000"},
{"id":"430300","value":"","parentId":"430000"},
{"id":"430400","value":"","parentId":"430000"},
{"id":"430500","value":"","parentId":"430000"},
{"id":"430600","value":"","parentId":"430000"},
{"id":"430700","value":"","parentId":"430000"},
{"id":"430800","value":"","parentId":"430000"},
{"id":"430900","value":"","parentId":"430000"},
{"id":"431000","value":"","parentId":"430000"},
{"id":"431100","value":"","parentId":"430000"},
{"id":"431200","value":"","parentId":"430000"},
{"id":"431300","value":"","parentId":"430000"},
{"id":"433100","value":"","parentId":"430000"},
{"id":"440100","value":"","parentId":"440000"},
{"id":"440200","value":"","parentId":"440000"},
{"id":"440300","value":"","parentId":"440000"},
{"id":"440400","value":"","parentId":"440000"},
{"id":"440500","value":"","parentId":"440000"},
{"id":"440600","value":"","parentId":"440000"},
{"id":"440700","value":"","parentId":"440000"},
{"id":"440800","value":"","parentId":"440000"},
{"id":"440900","value":"","parentId":"440000"},
{"id":"441200","value":"","parentId":"440000"},
{"id":"441300","value":"","parentId":"440000"},
{"id":"441400","value":"","parentId":"440000"},
{"id":"441500","value":"","parentId":"440000"},
{"id":"441600","value":"","parentId":"440000"},
{"id":"441700","value":"","parentId":"440000"},
{"id":"441800","value":"","parentId":"440000"},
{"id":"441900","value":"","parentId":"440000"},
{"id":"442000","value":"","parentId":"440000"},
{"id":"445100","value":"","parentId":"440000"},
{"id":"445200","value":"","parentId":"440000"},
{"id":"445300","value":"","parentId":"440000"},
{"id":"450100","value":"","parentId":"450000"},
{"id":"450200","value":"","parentId":"450000"},
{"id":"450300","value":"","parentId":"450000"},
{"id":"450400","value":"","parentId":"450000"},
{"id":"450500","value":"","parentId":"450000"},
{"id":"450600","value":"","parentId":"450000"},
{"id":"450700","value":"","parentId":"450000"},
{"id":"450800","value":"","parentId":"450000"},
{"id":"450900","value":"","parentId":"450000"},
{"id":"451000","value":"","parentId":"450000"},
{"id":"451100","value":"","parentId":"450000"},
{"id":"451200","value":"","parentId":"450000"},
{"id":"451300","value":"","parentId":"450000"},
{"id":"451400","value":"","parentId":"450000"},
{"id":"460100","value":"","parentId":"460000"},
{"id":"460200","value":"","parentId":"460000"},
{"id":"460300","value":"","parentId":"460000"},
{"id":"469001","value":"","parentId":"460000"},
{"id":"469002","value":"","parentId":"460000"},
{"id":"469003","value":"","parentId":"460000"},
{"id":"469005","value":"","parentId":"460000"},
{"id":"469006","value":"","parentId":"460000"},
{"id":"469007","value":"","parentId":"460000"},
{"id":"469021","value":"","parentId":"460000"},
{"id":"469022","value":"","parentId":"460000"},
{"id":"469023","value":"","parentId":"460000"},
{"id":"469024","value":"","parentId":"460000"},
{"id":"469025","value":"","parentId":"460000"},
{"id":"469026","value":"","parentId":"460000"},
{"id":"469027","value":"","parentId":"460000"},
{"id":"469028","value":"","parentId":"460000"},
{"id":"469029","value":"","parentId":"460000"},
{"id":"469030","value":"","parentId":"460000"},
{"id":"500100","value":"","parentId":"500000"},
{"id":"510100","value":"","parentId":"510000"},
{"id":"510300","value":"","parentId":"510000"},
{"id":"510400","value":"","parentId":"510000"},
{"id":"510500","value":"","parentId":"510000"},
{"id":"510600","value":"","parentId":"510000"},
{"id":"510700","value":"","parentId":"510000"},
{"id":"510800","value":"","parentId":"510000"},
{"id":"510900","value":"","parentId":"510000"},
{"id":"511000","value":"","parentId":"510000"},
{"id":"511100","value":"","parentId":"510000"},
{"id":"511300","value":"","parentId":"510000"},
{"id":"511400","value":"","parentId":"510000"},
{"id":"511500","value":"","parentId":"510000"},
{"id":"511600","value":"","parentId":"510000"},
{"id":"511700","value":"","parentId":"510000"},
{"id":"511800","value":"","parentId":"510000"},
{"id":"511900","value":"","parentId":"510000"},
{"id":"512000","value":"","parentId":"510000"},
{"id":"513200","value":"","parentId":"510000"},
{"id":"513300","value":"","parentId":"510000"},
{"id":"513400","value":"","parentId":"510000"},
{"id":"520100","value":"","parentId":"520000"},
{"id":"520200","value":"","parentId":"520000"},
{"id":"520300","value":"","parentId":"520000"},
{"id":"520400","value":"","parentId":"520000"},
{"id":"522200","value":"","parentId":"520000"},
{"id":"522300","value":"","parentId":"520000"},
{"id":"522400","value":"","parentId":"520000"},
{"id":"522600","value":"","parentId":"520000"},
{"id":"522700","value":"","parentId":"520000"},
{"id":"530100","value":"","parentId":"530000"},
{"id":"530300","value":"","parentId":"530000"},
{"id":"530400","value":"","parentId":"530000"},
{"id":"530500","value":"","parentId":"530000"},
{"id":"530600","value":"","parentId":"530000"},
{"id":"530700","value":"","parentId":"530000"},
{"id":"530800","value":"","parentId":"530000"},
{"id":"530900","value":"","parentId":"530000"},
{"id":"532300","value":"","parentId":"530000"},
{"id":"532500","value":"","parentId":"530000"},
{"id":"532600","value":"","parentId":"530000"},
{"id":"532800","value":"","parentId":"530000"},
{"id":"532900","value":"","parentId":"530000"},
{"id":"533100","value":"","parentId":"530000"},
{"id":"533300","value":"","parentId":"530000"},
{"id":"533400","value":"","parentId":"530000"},
{"id":"540100","value":"","parentId":"540000"},
{"id":"542100","value":"","parentId":"540000"},
{"id":"542200","value":"","parentId":"540000"},
{"id":"542300","value":"","parentId":"540000"},
{"id":"542400","value":"","parentId":"540000"},
{"id":"542500","value":"","parentId":"540000"},
{"id":"542600","value":"","parentId":"540000"},
{"id":"610100","value":"","parentId":"610000"},
{"id":"610200","value":"","parentId":"610000"},
{"id":"610300","value":"","parentId":"610000"},
{"id":"610400","value":"","parentId":"610000"},
{"id":"610500","value":"","parentId":"610000"},
{"id":"610600","value":"","parentId":"610000"},
{"id":"610700","value":"","parentId":"610000"},
{"id":"610800","value":"","parentId":"610000"},
{"id":"610900","value":"","parentId":"610000"},
{"id":"611000","value":"","parentId":"610000"},
{"id":"620100","value":"","parentId":"620000"},
{"id":"620200","value":"","parentId":"620000"},
{"id":"620300","value":"","parentId":"620000"},
{"id":"620400","value":"","parentId":"620000"},
{"id":"620500","value":"","parentId":"620000"},
{"id":"620600","value":"","parentId":"620000"},
{"id":"620700","value":"","parentId":"620000"},
{"id":"620800","value":"","parentId":"620000"},
{"id":"620900","value":"","parentId":"620000"},
{"id":"621000","value":"","parentId":"620000"},
{"id":"621100","value":"","parentId":"620000"},
{"id":"621200","value":"","parentId":"620000"},
{"id":"622900","value":"","parentId":"620000"},
{"id":"623000","value":"","parentId":"620000"},
{"id":"630100","value":"","parentId":"630000"},
{"id":"632100","value":"","parentId":"630000"},
{"id":"632200","value":"","parentId":"630000"},
{"id":"632300","value":"","parentId":"630000"},
{"id":"632500","value":"","parentId":"630000"},
{"id":"632600","value":"","parentId":"630000"},
{"id":"632700","value":"","parentId":"630000"},
{"id":"632800","value":"","parentId":"630000"},
{"id":"640100","value":"","parentId":"640000"},
{"id":"640200","value":"","parentId":"640000"},
{"id":"640300","value":"","parentId":"640000"},
{"id":"640400","value":"","parentId":"640000"},
{"id":"640500","value":"","parentId":"640000"},
{"id":"650100","value":"","parentId":"650000"},
{"id":"650200","value":"","parentId":"650000"},
{"id":"652100","value":"","parentId":"650000"},
{"id":"652200","value":"","parentId":"650000"},
{"id":"652300","value":"","parentId":"650000"},
{"id":"652700","value":"","parentId":"650000"},
{"id":"652800","value":"","parentId":"650000"},
{"id":"652900","value":"","parentId":"650000"},
{"id":"653000","value":"","parentId":"650000"},
{"id":"653100","value":"","parentId":"650000"},
{"id":"653200","value":"","parentId":"650000"},
{"id":"654000","value":"","parentId":"650000"},
{"id":"654200","value":"","parentId":"650000"},
{"id":"654300","value":"","parentId":"650000"},
{"id":"659001","value":"","parentId":"650000"},
{"id":"659002","value":"","parentId":"650000"},
{"id":"659003","value":"","parentId":"650000"},
{"id":"659004","value":"","parentId":"650000"}
]
```
|
/content/code_sandbox/demo/ajax/areaData_v2.2.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 5,071
|
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="select_contact">
<label></label>
<div class="pc-box">
<input type="hidden" name="contact_province_code" data-id="0001" id="contact_province_code" value="" data-province-name="">
<input type="hidden" name="contact_city_code" id="contact_city_code" value="" data-city-name=""><span data-city-code="510100" data-province-code="510000" data-district-code="510105" id="show_contact"> </span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var iosProvinceData= function(callback){//callback
$.ajax({
url: 'areaData_v2.js',
dataType: 'script',
success:function(data,textStatus){
callback(iosProvinces);
},
});
}
var iosCityData= function(province,callback){// provinceID
$.ajax({
url: 'areaData_v2.js?province='+province,
dataType: 'script',
success:function(data,textStatus){
var datas=[];
for (var i = 0; i < iosCitys.length; i++) {
if (province==iosCitys[i]['parentId']) {
datas.push(iosCitys[i]);
}
}
callback(datas);
},
});
}
var iosCountyData= function(province,city,callback){// provinceID,cityID
$.ajax({
url: 'areaData_v2.js?city='+city,
dataType: 'script',
success:function(data,textStatus){
var datas=[];
for (var i = 0; i < iosCountys.length; i++) {
if (city==iosCountys[i]['parentId']) {
datas.push(iosCountys[i]);
}
}
callback(datas);
},
});
}
var selectContactDom = $('#select_contact');
var showContactDom = $('#show_contact');
var contactProvinceCodeDom = $('#contact_province_code');
var contactCityCodeDom = $('#contact_city_code');
selectContactDom.bind('click', function () {
var sccode = showContactDom.attr('data-city-code');
var scname = showContactDom.attr('data-city-name');
var oneLevelId = showContactDom.attr('data-province-code');
var twoLevelId = showContactDom.attr('data-city-code');
var threeLevelId = showContactDom.attr('data-district-code');
var iosSelect = new IosSelect(3,
[iosProvinceData, iosCityData, iosCountyData],
{
title: '',
itemHeight: 35,
relation: [1, 1, 0, 0],
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
showLoading:true,
callback: function (selectOneObj, selectTwoObj, selectThreeObj) {
contactProvinceCodeDom.val(selectOneObj.id);
contactProvinceCodeDom.attr('data-province-name', selectOneObj.value);
contactCityCodeDom.val(selectTwoObj.id);
contactCityCodeDom.attr('data-city-name', selectTwoObj.value);
showContactDom.attr('data-province-code', selectOneObj.id);
showContactDom.attr('data-city-code', selectTwoObj.id);
showContactDom.attr('data-district-code', selectThreeObj.id);
showContactDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/ajax/area.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 964
|
```javascript
//
var iosProvinces = [
/***************/
{'id': '110000', 'value': '', 'parentId': '0'},
{'id': '120000', 'value': '', 'parentId': '0'},
{'id': '130000', 'value': '', 'parentId': '0'},
{'id': '140000', 'value': '', 'parentId': '0'},
{'id': '150000', 'value': '', 'parentId': '0'},
/***************/
{'id': '210000', 'value': '', 'parentId': '0'},
{'id': '220000', 'value': '', 'parentId': '0'},
{'id': '230000', 'value': '', 'parentId': '0'},
/***************/
{'id': '310000', 'value': '', 'parentId': '0'},
{'id': '320000', 'value': '', 'parentId': '0'},
{'id': '330000', 'value': '', 'parentId': '0'},
{'id': '340000', 'value': '', 'parentId': '0'},
{'id': '350000', 'value': '', 'parentId': '0'},
{'id': '360000', 'value': '', 'parentId': '0'},
{'id': '370000', 'value': '', 'parentId': '0'},
/**********/
{'id': '410000', 'value': '', 'parentId': '0'},
{'id': '420000', 'value': '', 'parentId': '0'},
{'id': '430000', 'value': '', 'parentId': '0'},
{'id': '440000', 'value': '', 'parentId': '0'},
{'id': '450000', 'value': '', 'parentId': '0'},
{'id': '460000', 'value': '', 'parentId': '0'},
/**********/
{'id': '500000', 'value': '', 'parentId': '0'},
{'id': '510000', 'value': '', 'parentId': '0'},
{'id': '520000', 'value': '', 'parentId': '0'},
{'id': '530000', 'value': '', 'parentId': '0'},
{'id': '540000', 'value': '', 'parentId': '0'},
/**********/
{'id': '610000', 'value': '', 'parentId': '0'},
{'id': '620000', 'value': '', 'parentId': '0'},
{'id': '630000', 'value': '', 'parentId': '0'},
{'id': '640000', 'value': '', 'parentId': '0'},
{'id': '650000', 'value': '', 'parentId': '0'}
];
//
var iosCitys = [
/******************/
{"id":"110100","value":"","parentId":"110000"},
/******************/
{"id":"120100","value":"","parentId":"120000"},
/******************/
{"id":"130100","value":"","parentId":"130000"},
{"id":"130200","value":"","parentId":"130000"},
{"id":"130300","value":"","parentId":"130000"},
{"id":"130400","value":"","parentId":"130000"},
{"id":"130500","value":"","parentId":"130000"},
{"id":"130600","value":"","parentId":"130000"},
{"id":"130700","value":"","parentId":"130000"},
{"id":"130800","value":"","parentId":"130000"},
{"id":"130900","value":"","parentId":"130000"},
{"id":"131000","value":"","parentId":"130000"},
{"id":"131100","value":"","parentId":"130000"},
/******************/
{"id":"140100","value":"","parentId":"140000"},
{"id":"140200","value":"","parentId":"140000"},
{"id":"140300","value":"","parentId":"140000"},
{"id":"140400","value":"","parentId":"140000"},
{"id":"140500","value":"","parentId":"140000"},
{"id":"140600","value":"","parentId":"140000"},
{"id":"140700","value":"","parentId":"140000"},
{"id":"140800","value":"","parentId":"140000"},
{"id":"140900","value":"","parentId":"140000"},
{"id":"141000","value":"","parentId":"140000"},
{"id":"141100","value":"","parentId":"140000"},
/******************/
{"id":"150100","value":"","parentId":"150000"},
{"id":"150200","value":"","parentId":"150000"},
{"id":"150300","value":"","parentId":"150000"},
{"id":"150400","value":"","parentId":"150000"},
{"id":"150500","value":"","parentId":"150000"},
{"id":"150600","value":"","parentId":"150000"},
{"id":"150700","value":"","parentId":"150000"},
{"id":"150800","value":"","parentId":"150000"},
{"id":"150900","value":"","parentId":"150000"},
{"id":"152200","value":"","parentId":"150000"},
{"id":"152500","value":"","parentId":"150000"},
{"id":"152900","value":"","parentId":"150000"},
/******************/
{"id":"210100","value":"","parentId":"210000"},
{"id":"210200","value":"","parentId":"210000"},
{"id":"210300","value":"","parentId":"210000"},
{"id":"210400","value":"","parentId":"210000"},
{"id":"210500","value":"","parentId":"210000"},
{"id":"210600","value":"","parentId":"210000"},
{"id":"210700","value":"","parentId":"210000"},
{"id":"210800","value":"","parentId":"210000"},
{"id":"210900","value":"","parentId":"210000"},
{"id":"211000","value":"","parentId":"210000"},
{"id":"211100","value":"","parentId":"210000"},
{"id":"211200","value":"","parentId":"210000"},
{"id":"211300","value":"","parentId":"210000"},
{"id":"211400","value":"","parentId":"210000"},
/******************/
{"id":"220100","value":"","parentId":"220000"},
{"id":"220200","value":"","parentId":"220000"},
{"id":"220300","value":"","parentId":"220000"},
{"id":"220400","value":"","parentId":"220000"},
{"id":"220500","value":"","parentId":"220000"},
{"id":"220600","value":"","parentId":"220000"},
{"id":"220700","value":"","parentId":"220000"},
{"id":"220800","value":"","parentId":"220000"},
{"id":"222400","value":"","parentId":"220000"},
/******************/
{"id":"230100","value":"","parentId":"230000"},
{"id":"230200","value":"","parentId":"230000"},
{"id":"230300","value":"","parentId":"230000"},
{"id":"230400","value":"","parentId":"230000"},
{"id":"230500","value":"","parentId":"230000"},
{"id":"230600","value":"","parentId":"230000"},
{"id":"230700","value":"","parentId":"230000"},
{"id":"230800","value":"","parentId":"230000"},
{"id":"230900","value":"","parentId":"230000"},
{"id":"231000","value":"","parentId":"230000"},
{"id":"231100","value":"","parentId":"230000"},
{"id":"231200","value":"","parentId":"230000"},
{"id":"232700","value":"","parentId":"230000"},
/******************/
{"id":"310100","value":"","parentId":"310000"},
/******************/
{"id":"320100","value":"","parentId":"320000"},
{"id":"320200","value":"","parentId":"320000"},
{"id":"320300","value":"","parentId":"320000"},
{"id":"320400","value":"","parentId":"320000"},
{"id":"320500","value":"","parentId":"320000"},
{"id":"320600","value":"","parentId":"320000"},
{"id":"320700","value":"","parentId":"320000"},
{"id":"320800","value":"","parentId":"320000"},
{"id":"320900","value":"","parentId":"320000"},
{"id":"321000","value":"","parentId":"320000"},
{"id":"321100","value":"","parentId":"320000"},
{"id":"321200","value":"","parentId":"320000"},
{"id":"321300","value":"","parentId":"320000"},
/******************/
{"id":"330100","value":"","parentId":"330000"},
{"id":"330200","value":"","parentId":"330000"},
{"id":"330300","value":"","parentId":"330000"},
{"id":"330400","value":"","parentId":"330000"},
{"id":"330500","value":"","parentId":"330000"},
{"id":"330600","value":"","parentId":"330000"},
{"id":"330700","value":"","parentId":"330000"},
{"id":"330800","value":"","parentId":"330000"},
{"id":"330900","value":"","parentId":"330000"},
{"id":"331000","value":"","parentId":"330000"},
{"id":"331100","value":"","parentId":"330000"},
/******************/
{"id":"340100","value":"","parentId":"340000"},
{"id":"340200","value":"","parentId":"340000"},
{"id":"340300","value":"","parentId":"340000"},
{"id":"340400","value":"","parentId":"340000"},
{"id":"340500","value":"","parentId":"340000"},
{"id":"340600","value":"","parentId":"340000"},
{"id":"340700","value":"","parentId":"340000"},
{"id":"340800","value":"","parentId":"340000"},
{"id":"341000","value":"","parentId":"340000"},
{"id":"341100","value":"","parentId":"340000"},
{"id":"341200","value":"","parentId":"340000"},
{"id":"341300","value":"","parentId":"340000"},
{"id":"341500","value":"","parentId":"340000"},
{"id":"341600","value":"","parentId":"340000"},
{"id":"341700","value":"","parentId":"340000"},
{"id":"341800","value":"","parentId":"340000"},
/******************/
{"id":"350100","value":"","parentId":"350000"},
{"id":"350200","value":"","parentId":"350000"},
{"id":"350300","value":"","parentId":"350000"},
{"id":"350400","value":"","parentId":"350000"},
{"id":"350500","value":"","parentId":"350000"},
{"id":"350600","value":"","parentId":"350000"},
{"id":"350700","value":"","parentId":"350000"},
{"id":"350800","value":"","parentId":"350000"},
{"id":"350900","value":"","parentId":"350000"},
/******************/
{"id":"360100","value":"","parentId":"360000"},
{"id":"360200","value":"","parentId":"360000"},
{"id":"360300","value":"","parentId":"360000"},
{"id":"360400","value":"","parentId":"360000"},
{"id":"360500","value":"","parentId":"360000"},
{"id":"360600","value":"","parentId":"360000"},
{"id":"360700","value":"","parentId":"360000"},
{"id":"360800","value":"","parentId":"360000"},
{"id":"360900","value":"","parentId":"360000"},
{"id":"361000","value":"","parentId":"360000"},
{"id":"361100","value":"","parentId":"360000"},
/******************/
{"id":"370100","value":"","parentId":"370000"},
{"id":"370200","value":"","parentId":"370000"},
{"id":"370300","value":"","parentId":"370000"},
{"id":"370400","value":"","parentId":"370000"},
{"id":"370500","value":"","parentId":"370000"},
{"id":"370600","value":"","parentId":"370000"},
{"id":"370700","value":"","parentId":"370000"},
{"id":"370800","value":"","parentId":"370000"},
{"id":"370900","value":"","parentId":"370000"},
{"id":"371000","value":"","parentId":"370000"},
{"id":"371100","value":"","parentId":"370000"},
{"id":"371200","value":"","parentId":"370000"},
{"id":"371300","value":"","parentId":"370000"},
{"id":"371400","value":"","parentId":"370000"},
{"id":"371500","value":"","parentId":"370000"},
{"id":"371600","value":"","parentId":"370000"},
{"id":"371700","value":"","parentId":"370000"},
/******************/
{"id":"410100","value":"","parentId":"410000"},
{"id":"410200","value":"","parentId":"410000"},
{"id":"410300","value":"","parentId":"410000"},
{"id":"410400","value":"","parentId":"410000"},
{"id":"410500","value":"","parentId":"410000"},
{"id":"410600","value":"","parentId":"410000"},
{"id":"410700","value":"","parentId":"410000"},
{"id":"410800","value":"","parentId":"410000"},
{"id":"410900","value":"","parentId":"410000"},
{"id":"411000","value":"","parentId":"410000"},
{"id":"411100","value":"","parentId":"410000"},
{"id":"411200","value":"","parentId":"410000"},
{"id":"411300","value":"","parentId":"410000"},
{"id":"411400","value":"","parentId":"410000"},
{"id":"411500","value":"","parentId":"410000"},
{"id":"411600","value":"","parentId":"410000"},
{"id":"411700","value":"","parentId":"410000"},
/****/
{"id":"419001","value":"","parentId":"410000"},
/******************/
{"id":"420100","value":"","parentId":"420000"},
{"id":"420200","value":"","parentId":"420000"},
{"id":"420300","value":"","parentId":"420000"},
{"id":"420500","value":"","parentId":"420000"},
{"id":"420600","value":"","parentId":"420000"},
{"id":"420700","value":"","parentId":"420000"},
{"id":"420800","value":"","parentId":"420000"},
{"id":"420900","value":"","parentId":"420000"},
{"id":"421000","value":"","parentId":"420000"},
{"id":"421100","value":"","parentId":"420000"},
{"id":"421200","value":"","parentId":"420000"},
{"id":"421300","value":"","parentId":"420000"},
{"id":"422800","value":"","parentId":"420000"},
/****/
{"id":"429004","value":"","parentId":"420000"},
{"id":"429005","value":"","parentId":"420000"},
{"id":"429006","value":"","parentId":"420000"},
{"id":"429021","value":"","parentId":"420000"},
/******************/
{"id":"430100","value":"","parentId":"430000"},
{"id":"430200","value":"","parentId":"430000"},
{"id":"430300","value":"","parentId":"430000"},
{"id":"430400","value":"","parentId":"430000"},
{"id":"430500","value":"","parentId":"430000"},
{"id":"430600","value":"","parentId":"430000"},
{"id":"430700","value":"","parentId":"430000"},
{"id":"430800","value":"","parentId":"430000"},
{"id":"430900","value":"","parentId":"430000"},
{"id":"431000","value":"","parentId":"430000"},
{"id":"431100","value":"","parentId":"430000"},
{"id":"431200","value":"","parentId":"430000"},
{"id":"431300","value":"","parentId":"430000"},
{"id":"433100","value":"","parentId":"430000"},
/******************/
{"id":"440100","value":"","parentId":"440000"},
{"id":"440200","value":"","parentId":"440000"},
{"id":"440300","value":"","parentId":"440000"},
{"id":"440400","value":"","parentId":"440000"},
{"id":"440500","value":"","parentId":"440000"},
{"id":"440600","value":"","parentId":"440000"},
{"id":"440700","value":"","parentId":"440000"},
{"id":"440800","value":"","parentId":"440000"},
{"id":"440900","value":"","parentId":"440000"},
{"id":"441200","value":"","parentId":"440000"},
{"id":"441300","value":"","parentId":"440000"},
{"id":"441400","value":"","parentId":"440000"},
{"id":"441500","value":"","parentId":"440000"},
{"id":"441600","value":"","parentId":"440000"},
{"id":"441700","value":"","parentId":"440000"},
{"id":"441800","value":"","parentId":"440000"},
{"id":"441900","value":"","parentId":"440000"},
{"id":"442000","value":"","parentId":"440000"},
{"id":"445100","value":"","parentId":"440000"},
{"id":"445200","value":"","parentId":"440000"},
{"id":"445300","value":"","parentId":"440000"},
/******************/
{"id":"450100","value":"","parentId":"450000"},
{"id":"450200","value":"","parentId":"450000"},
{"id":"450300","value":"","parentId":"450000"},
{"id":"450400","value":"","parentId":"450000"},
{"id":"450500","value":"","parentId":"450000"},
{"id":"450600","value":"","parentId":"450000"},
{"id":"450700","value":"","parentId":"450000"},
{"id":"450800","value":"","parentId":"450000"},
{"id":"450900","value":"","parentId":"450000"},
{"id":"451000","value":"","parentId":"450000"},
{"id":"451100","value":"","parentId":"450000"},
{"id":"451200","value":"","parentId":"450000"},
{"id":"451300","value":"","parentId":"450000"},
{"id":"451400","value":"","parentId":"450000"},
/******************/
{"id":"460100","value":"","parentId":"460000"},
{"id":"460200","value":"","parentId":"460000"},
{"id":"460300","value":"","parentId":"460000"},
/****/
{"id":"469001","value":"","parentId":"460000"},
{"id":"469002","value":"","parentId":"460000"},
{"id":"469003","value":"","parentId":"460000"},
{"id":"469005","value":"","parentId":"460000"},
{"id":"469006","value":"","parentId":"460000"},
{"id":"469007","value":"","parentId":"460000"},
{"id":"469021","value":"","parentId":"460000"},
{"id":"469022","value":"","parentId":"460000"},
{"id":"469023","value":"","parentId":"460000"},
{"id":"469024","value":"","parentId":"460000"},
{"id":"469025","value":"","parentId":"460000"},
{"id":"469026","value":"","parentId":"460000"},
{"id":"469027","value":"","parentId":"460000"},
{"id":"469028","value":"","parentId":"460000"},
{"id":"469029","value":"","parentId":"460000"},
{"id":"469030","value":"","parentId":"460000"},
/******************/
{"id":"500100","value":"","parentId":"500000"},
/******************/
{"id":"510100","value":"","parentId":"510000"},
{"id":"510300","value":"","parentId":"510000"},
{"id":"510400","value":"","parentId":"510000"},
{"id":"510500","value":"","parentId":"510000"},
{"id":"510600","value":"","parentId":"510000"},
{"id":"510700","value":"","parentId":"510000"},
{"id":"510800","value":"","parentId":"510000"},
{"id":"510900","value":"","parentId":"510000"},
{"id":"511000","value":"","parentId":"510000"},
{"id":"511100","value":"","parentId":"510000"},
{"id":"511300","value":"","parentId":"510000"},
{"id":"511400","value":"","parentId":"510000"},
{"id":"511500","value":"","parentId":"510000"},
{"id":"511600","value":"","parentId":"510000"},
{"id":"511700","value":"","parentId":"510000"},
{"id":"511800","value":"","parentId":"510000"},
{"id":"511900","value":"","parentId":"510000"},
{"id":"512000","value":"","parentId":"510000"},
{"id":"513200","value":"","parentId":"510000"},
{"id":"513300","value":"","parentId":"510000"},
{"id":"513400","value":"","parentId":"510000"},
/******************/
{"id":"520100","value":"","parentId":"520000"},
{"id":"520200","value":"","parentId":"520000"},
{"id":"520300","value":"","parentId":"520000"},
{"id":"520400","value":"","parentId":"520000"},
{"id":"522200","value":"","parentId":"520000"},
{"id":"522300","value":"","parentId":"520000"},
{"id":"522400","value":"","parentId":"520000"},
{"id":"522600","value":"","parentId":"520000"},
{"id":"522700","value":"","parentId":"520000"},
/******************/
{"id":"530100","value":"","parentId":"530000"},
{"id":"530300","value":"","parentId":"530000"},
{"id":"530400","value":"","parentId":"530000"},
{"id":"530500","value":"","parentId":"530000"},
{"id":"530600","value":"","parentId":"530000"},
{"id":"530700","value":"","parentId":"530000"},
{"id":"530800","value":"","parentId":"530000"},
{"id":"530900","value":"","parentId":"530000"},
{"id":"532300","value":"","parentId":"530000"},
{"id":"532500","value":"","parentId":"530000"},
{"id":"532600","value":"","parentId":"530000"},
{"id":"532800","value":"","parentId":"530000"},
{"id":"532900","value":"","parentId":"530000"},
{"id":"533100","value":"","parentId":"530000"},
{"id":"533300","value":"","parentId":"530000"},
{"id":"533400","value":"","parentId":"530000"},
/******************/
{"id":"540100","value":"","parentId":"540000"},
{"id":"542100","value":"","parentId":"540000"},
{"id":"542200","value":"","parentId":"540000"},
{"id":"542300","value":"","parentId":"540000"},
{"id":"542400","value":"","parentId":"540000"},
{"id":"542500","value":"","parentId":"540000"},
{"id":"542600","value":"","parentId":"540000"},
/******************/
{"id":"610100","value":"","parentId":"610000"},
{"id":"610200","value":"","parentId":"610000"},
{"id":"610300","value":"","parentId":"610000"},
{"id":"610400","value":"","parentId":"610000"},
{"id":"610500","value":"","parentId":"610000"},
{"id":"610600","value":"","parentId":"610000"},
{"id":"610700","value":"","parentId":"610000"},
{"id":"610800","value":"","parentId":"610000"},
{"id":"610900","value":"","parentId":"610000"},
{"id":"611000","value":"","parentId":"610000"},
/******************/
{"id":"620100","value":"","parentId":"620000"},
{"id":"620200","value":"","parentId":"620000"},
{"id":"620300","value":"","parentId":"620000"},
{"id":"620400","value":"","parentId":"620000"},
{"id":"620500","value":"","parentId":"620000"},
{"id":"620600","value":"","parentId":"620000"},
{"id":"620700","value":"","parentId":"620000"},
{"id":"620800","value":"","parentId":"620000"},
{"id":"620900","value":"","parentId":"620000"},
{"id":"621000","value":"","parentId":"620000"},
{"id":"621100","value":"","parentId":"620000"},
{"id":"621200","value":"","parentId":"620000"},
{"id":"622900","value":"","parentId":"620000"},
{"id":"623000","value":"","parentId":"620000"},
/******************/
{"id":"630100","value":"","parentId":"630000"},
{"id":"632100","value":"","parentId":"630000"},
{"id":"632200","value":"","parentId":"630000"},
{"id":"632300","value":"","parentId":"630000"},
{"id":"632500","value":"","parentId":"630000"},
{"id":"632600","value":"","parentId":"630000"},
{"id":"632700","value":"","parentId":"630000"},
{"id":"632800","value":"","parentId":"630000"},
/******************/
{"id":"640100","value":"","parentId":"640000"},
{"id":"640200","value":"","parentId":"640000"},
{"id":"640300","value":"","parentId":"640000"},
{"id":"640400","value":"","parentId":"640000"},
{"id":"640500","value":"","parentId":"640000"},
/******************/
{"id":"650100","value":"","parentId":"650000"},
{"id":"650200","value":"","parentId":"650000"},
{"id":"652100","value":"","parentId":"650000"},
{"id":"652200","value":"","parentId":"650000"},
{"id":"652300","value":"","parentId":"650000"},
{"id":"652700","value":"","parentId":"650000"},
{"id":"652800","value":"","parentId":"650000"},
{"id":"652900","value":"","parentId":"650000"},
{"id":"653000","value":"","parentId":"650000"},
{"id":"653100","value":"","parentId":"650000"},
{"id":"653200","value":"","parentId":"650000"},
{"id":"654000","value":"","parentId":"650000"},
{"id":"654200","value":"","parentId":"650000"},
{"id":"654300","value":"","parentId":"650000"},
/******************/
{"id":"659001","value":"","parentId":"650000"},
{"id":"659002","value":"","parentId":"650000"},
{"id":"659003","value":"","parentId":"650000"},
{"id":"659004","value":"","parentId":"650000"}
];
//
var iosCountys = [
/******************/
{"id":"110101","value":"","parentId":"110100"},
{"id":"110102","value":"","parentId":"110100"},
{"id":"110105","value":"","parentId":"110100"},
{"id":"110106","value":"","parentId":"110100"},
{"id":"110107","value":"","parentId":"110100"},
{"id":"110108","value":"","parentId":"110100"},
{"id":"110109","value":"","parentId":"110100"},
{"id":"110111","value":"","parentId":"110100"},
{"id":"110112","value":"","parentId":"110100"},
{"id":"110113","value":"","parentId":"110100"},
{"id":"110114","value":"","parentId":"110100"},
{"id":"110115","value":"","parentId":"110100"},
{"id":"110116","value":"","parentId":"110100"},
{"id":"110117","value":"","parentId":"110100"},
{"id":"110228","value":"","parentId":"110100"},
{"id":"110229","value":"","parentId":"110100"},
/******************/
{"id":"120101","value":"","parentId":"120100"},
{"id":"120102","value":"","parentId":"120100"},
{"id":"120103","value":"","parentId":"120100"},
{"id":"120104","value":"","parentId":"120100"},
{"id":"120105","value":"","parentId":"120100"},
{"id":"120106","value":"","parentId":"120100"},
{"id":"120110","value":"","parentId":"120100"},
{"id":"120111","value":"","parentId":"120100"},
{"id":"120112","value":"","parentId":"120100"},
{"id":"120113","value":"","parentId":"120100"},
{"id":"120114","value":"","parentId":"120100"},
{"id":"120115","value":"","parentId":"120100"},
{"id":"120116","value":"","parentId":"120100"},
/******************/
{"id":"130102","value":"","parentId":"130100"},
{"id":"130103","value":"","parentId":"130100"},
{"id":"130104","value":"","parentId":"130100"},
{"id":"130105","value":"","parentId":"130100"},
{"id":"130107","value":"","parentId":"130100"},
{"id":"130108","value":"","parentId":"130100"},
{"id":"130121","value":"","parentId":"130100"},
{"id":"130123","value":"","parentId":"130100"},
{"id":"130124","value":"","parentId":"130100"},
{"id":"130125","value":"","parentId":"130100"},
{"id":"130126","value":"","parentId":"130100"},
{"id":"130127","value":"","parentId":"130100"},
{"id":"130128","value":"","parentId":"130100"},
{"id":"130129","value":"","parentId":"130100"},
{"id":"130130","value":"","parentId":"130100"},
{"id":"130131","value":"","parentId":"130100"},
{"id":"130132","value":"","parentId":"130100"},
{"id":"130133","value":"","parentId":"130100"},
{"id":"130181","value":"","parentId":"130100"},
{"id":"130182","value":"","parentId":"130100"},
{"id":"130183","value":"","parentId":"130100"},
{"id":"130184","value":"","parentId":"130100"},
{"id":"130185","value":"","parentId":"130100"},
/******************/
{"id":"130202","value":"","parentId":"130200"},
{"id":"130203","value":"","parentId":"130200"},
{"id":"130204","value":"","parentId":"130200"},
{"id":"130205","value":"","parentId":"130200"},
{"id":"130207","value":"","parentId":"130200"},
{"id":"130208","value":"","parentId":"130200"},
{"id":"130223","value":"","parentId":"130200"},
{"id":"130224","value":"","parentId":"130200"},
{"id":"130225","value":"","parentId":"130200"},
{"id":"130227","value":"","parentId":"130200"},
{"id":"130229","value":"","parentId":"130200"},
{"id":"130230","value":"","parentId":"130200"},
{"id":"130281","value":"","parentId":"130200"},
{"id":"130283","value":"","parentId":"130200"},
/******************/
{"id":"130302","value":"","parentId":"130300"},
{"id":"130303","value":"","parentId":"130300"},
{"id":"130304","value":"","parentId":"130300"},
{"id":"130321","value":"","parentId":"130300"},
{"id":"130322","value":"","parentId":"130300"},
{"id":"130323","value":"","parentId":"130300"},
{"id":"130324","value":"","parentId":"130300"},
/******************/
{"id":"130402","value":"","parentId":"130400"},
{"id":"130403","value":"","parentId":"130400"},
{"id":"130404","value":"","parentId":"130400"},
{"id":"130406","value":"","parentId":"130400"},
{"id":"130421","value":"","parentId":"130400"},
{"id":"130423","value":"","parentId":"130400"},
{"id":"130424","value":"","parentId":"130400"},
{"id":"130425","value":"","parentId":"130400"},
{"id":"130426","value":"","parentId":"130400"},
{"id":"130427","value":"","parentId":"130400"},
{"id":"130428","value":"","parentId":"130400"},
{"id":"130429","value":"","parentId":"130400"},
{"id":"130430","value":"","parentId":"130400"},
{"id":"130431","value":"","parentId":"130400"},
{"id":"130432","value":"","parentId":"130400"},
{"id":"130433","value":"","parentId":"130400"},
{"id":"130434","value":"","parentId":"130400"},
{"id":"130435","value":"","parentId":"130400"},
{"id":"130481","value":"","parentId":"130400"},
/******************/
{"id":"130502","value":"","parentId":"130500"},
{"id":"130503","value":"","parentId":"130500"},
{"id":"130521","value":"","parentId":"130500"},
{"id":"130522","value":"","parentId":"130500"},
{"id":"130523","value":"","parentId":"130500"},
{"id":"130524","value":"","parentId":"130500"},
{"id":"130525","value":"","parentId":"130500"},
{"id":"130526","value":"","parentId":"130500"},
{"id":"130527","value":"","parentId":"130500"},
{"id":"130528","value":"","parentId":"130500"},
{"id":"130529","value":"","parentId":"130500"},
{"id":"130530","value":"","parentId":"130500"},
{"id":"130531","value":"","parentId":"130500"},
{"id":"130532","value":"","parentId":"130500"},
{"id":"130533","value":"","parentId":"130500"},
{"id":"130534","value":"","parentId":"130500"},
{"id":"130535","value":"","parentId":"130500"},
{"id":"130581","value":"","parentId":"130500"},
{"id":"130582","value":"","parentId":"130500"},
/******************/
{"id":"130602","value":"","parentId":"130600"},
{"id":"130603","value":"","parentId":"130600"},
{"id":"130604","value":"","parentId":"130600"},
{"id":"130621","value":"","parentId":"130600"},
{"id":"130622","value":"","parentId":"130600"},
{"id":"130623","value":"","parentId":"130600"},
{"id":"130624","value":"","parentId":"130600"},
{"id":"130625","value":"","parentId":"130600"},
{"id":"130626","value":"","parentId":"130600"},
{"id":"130627","value":"","parentId":"130600"},
{"id":"130628","value":"","parentId":"130600"},
{"id":"130629","value":"","parentId":"130600"},
{"id":"130630","value":"","parentId":"130600"},
{"id":"130631","value":"","parentId":"130600"},
{"id":"130632","value":"","parentId":"130600"},
{"id":"130633","value":"","parentId":"130600"},
{"id":"130634","value":"","parentId":"130600"},
{"id":"130635","value":"","parentId":"130600"},
{"id":"130636","value":"","parentId":"130600"},
{"id":"130637","value":"","parentId":"130600"},
{"id":"130638","value":"","parentId":"130600"},
{"id":"130681","value":"","parentId":"130600"},
{"id":"130682","value":"","parentId":"130600"},
{"id":"130683","value":"","parentId":"130600"},
{"id":"130684","value":"","parentId":"130600"},
/******************/
{"id":"130702","value":"","parentId":"130700"},
{"id":"130703","value":"","parentId":"130700"},
{"id":"130705","value":"","parentId":"130700"},
{"id":"130706","value":"","parentId":"130700"},
{"id":"130721","value":"","parentId":"130700"},
{"id":"130722","value":"","parentId":"130700"},
{"id":"130723","value":"","parentId":"130700"},
{"id":"130724","value":"","parentId":"130700"},
{"id":"130725","value":"","parentId":"130700"},
{"id":"130726","value":"","parentId":"130700"},
{"id":"130727","value":"","parentId":"130700"},
{"id":"130728","value":"","parentId":"130700"},
{"id":"130729","value":"","parentId":"130700"},
{"id":"130730","value":"","parentId":"130700"},
{"id":"130731","value":"","parentId":"130700"},
{"id":"130732","value":"","parentId":"130700"},
{"id":"130733","value":"","parentId":"130700"},
/******************/
{"id":"130802","value":"","parentId":"130800"},
{"id":"130803","value":"","parentId":"130800"},
{"id":"130804","value":"","parentId":"130800"},
{"id":"130821","value":"","parentId":"130800"},
{"id":"130822","value":"","parentId":"130800"},
{"id":"130823","value":"","parentId":"130800"},
{"id":"130824","value":"","parentId":"130800"},
{"id":"130825","value":"","parentId":"130800"},
{"id":"130826","value":"","parentId":"130800"},
{"id":"130827","value":"","parentId":"130800"},
{"id":"130828","value":"","parentId":"130800"},
/******************/
{"id":"130902","value":"","parentId":"130900"},
{"id":"130903","value":"","parentId":"130900"},
{"id":"130921","value":"","parentId":"130900"},
{"id":"130922","value":"","parentId":"130900"},
{"id":"130923","value":"","parentId":"130900"},
{"id":"130924","value":"","parentId":"130900"},
{"id":"130925","value":"","parentId":"130900"},
{"id":"130926","value":"","parentId":"130900"},
{"id":"130927","value":"","parentId":"130900"},
{"id":"130928","value":"","parentId":"130900"},
{"id":"130929","value":"","parentId":"130900"},
{"id":"130930","value":"","parentId":"130900"},
{"id":"130981","value":"","parentId":"130900"},
{"id":"130982","value":"","parentId":"130900"},
{"id":"130983","value":"","parentId":"130900"},
{"id":"130984","value":"","parentId":"130900"},
/******************/
{"id":"131002","value":"","parentId":"131000"},
{"id":"131003","value":"","parentId":"131000"},
{"id":"131022","value":"","parentId":"131000"},
{"id":"131023","value":"","parentId":"131000"},
{"id":"131024","value":"","parentId":"131000"},
{"id":"131025","value":"","parentId":"131000"},
{"id":"131026","value":"","parentId":"131000"},
{"id":"131028","value":"","parentId":"131000"},
{"id":"131081","value":"","parentId":"131000"},
{"id":"131082","value":"","parentId":"131000"},
/******************/
{"id":"131102","value":"","parentId":"131100"},
{"id":"131121","value":"","parentId":"131100"},
{"id":"131122","value":"","parentId":"131100"},
{"id":"131123","value":"","parentId":"131100"},
{"id":"131124","value":"","parentId":"131100"},
{"id":"131125","value":"","parentId":"131100"},
{"id":"131126","value":"","parentId":"131100"},
{"id":"131127","value":"","parentId":"131100"},
{"id":"131128","value":"","parentId":"131100"},
{"id":"131181","value":"","parentId":"131100"},
{"id":"131182","value":"","parentId":"131100"},
/******************/
{"id":"140105","value":"","parentId":"140100"},
{"id":"140106","value":"","parentId":"140100"},
{"id":"140107","value":"","parentId":"140100"},
{"id":"140108","value":"","parentId":"140100"},
{"id":"140109","value":"","parentId":"140100"},
{"id":"140110","value":"","parentId":"140100"},
{"id":"140121","value":"","parentId":"140100"},
{"id":"140122","value":"","parentId":"140100"},
{"id":"140123","value":"","parentId":"140100"},
{"id":"140181","value":"","parentId":"140100"},
/******************/
{"id":"140202","value":"","parentId":"140200"},
{"id":"140203","value":"","parentId":"140200"},
{"id":"140211","value":"","parentId":"140200"},
{"id":"140212","value":"","parentId":"140200"},
{"id":"140221","value":"","parentId":"140200"},
{"id":"140222","value":"","parentId":"140200"},
{"id":"140223","value":"","parentId":"140200"},
{"id":"140224","value":"","parentId":"140200"},
{"id":"140225","value":"","parentId":"140200"},
{"id":"140226","value":"","parentId":"140200"},
{"id":"140227","value":"","parentId":"140200"},
/******************/
{"id":"140302","value":"","parentId":"140300"},
{"id":"140303","value":"","parentId":"140300"},
{"id":"140311","value":"","parentId":"140300"},
{"id":"140321","value":"","parentId":"140300"},
{"id":"140322","value":"","parentId":"140300"},
/******************/
{"id":"140402","value":"","parentId":"140400"},
{"id":"140411","value":"","parentId":"140400"},
{"id":"140421","value":"","parentId":"140400"},
{"id":"140423","value":"","parentId":"140400"},
{"id":"140424","value":"","parentId":"140400"},
{"id":"140425","value":"","parentId":"140400"},
{"id":"140426","value":"","parentId":"140400"},
{"id":"140427","value":"","parentId":"140400"},
{"id":"140428","value":"","parentId":"140400"},
{"id":"140429","value":"","parentId":"140400"},
{"id":"140430","value":"","parentId":"140400"},
{"id":"140431","value":"","parentId":"140400"},
{"id":"140481","value":"","parentId":"140400"},
/******************/
{"id":"140502","value":"","parentId":"140500"},
{"id":"140521","value":"","parentId":"140500"},
{"id":"140522","value":"","parentId":"140500"},
{"id":"140524","value":"","parentId":"140500"},
{"id":"140525","value":"","parentId":"140500"},
{"id":"140581","value":"","parentId":"140500"},
/******************/
{"id":"140602","value":"","parentId":"140600"},
{"id":"140603","value":"","parentId":"140600"},
{"id":"140621","value":"","parentId":"140600"},
{"id":"140622","value":"","parentId":"140600"},
{"id":"140623","value":"","parentId":"140600"},
{"id":"140624","value":"","parentId":"140600"},
/******************/
{"id":"140702","value":"","parentId":"140700"},
{"id":"140721","value":"","parentId":"140700"},
{"id":"140722","value":"","parentId":"140700"},
{"id":"140723","value":"","parentId":"140700"},
{"id":"140724","value":"","parentId":"140700"},
{"id":"140725","value":"","parentId":"140700"},
{"id":"140726","value":"","parentId":"140700"},
{"id":"140727","value":"","parentId":"140700"},
{"id":"140728","value":"","parentId":"140700"},
{"id":"140729","value":"","parentId":"140700"},
{"id":"140781","value":"","parentId":"140700"},
/******************/
{"id":"140802","value":"","parentId":"140800"},
{"id":"140821","value":"","parentId":"140800"},
{"id":"140822","value":"","parentId":"140800"},
{"id":"140823","value":"","parentId":"140800"},
{"id":"140824","value":"","parentId":"140800"},
{"id":"140825","value":"","parentId":"140800"},
{"id":"140826","value":"","parentId":"140800"},
{"id":"140827","value":"","parentId":"140800"},
{"id":"140828","value":"","parentId":"140800"},
{"id":"140829","value":"","parentId":"140800"},
{"id":"140830","value":"","parentId":"140800"},
{"id":"140881","value":"","parentId":"140800"},
{"id":"140882","value":"","parentId":"140800"},
/******************/
{"id":"140902","value":"","parentId":"140900"},
{"id":"140921","value":"","parentId":"140900"},
{"id":"140922","value":"","parentId":"140900"},
{"id":"140923","value":"","parentId":"140900"},
{"id":"140924","value":"","parentId":"140900"},
{"id":"140925","value":"","parentId":"140900"},
{"id":"140926","value":"","parentId":"140900"},
{"id":"140927","value":"","parentId":"140900"},
{"id":"140928","value":"","parentId":"140900"},
{"id":"140929","value":"","parentId":"140900"},
{"id":"140930","value":"","parentId":"140900"},
{"id":"140931","value":"","parentId":"140900"},
{"id":"140932","value":"","parentId":"140900"},
{"id":"140981","value":"","parentId":"140900"},
/******************/
{"id":"141002","value":"","parentId":"141000"},
{"id":"141021","value":"","parentId":"141000"},
{"id":"141022","value":"","parentId":"141000"},
{"id":"141023","value":"","parentId":"141000"},
{"id":"141024","value":"","parentId":"141000"},
{"id":"141025","value":"","parentId":"141000"},
{"id":"141026","value":"","parentId":"141000"},
{"id":"141027","value":"","parentId":"141000"},
{"id":"141028","value":"","parentId":"141000"},
{"id":"141029","value":"","parentId":"141000"},
{"id":"141030","value":"","parentId":"141000"},
{"id":"141031","value":"","parentId":"141000"},
{"id":"141032","value":"","parentId":"141000"},
{"id":"141033","value":"","parentId":"141000"},
{"id":"141034","value":"","parentId":"141000"},
{"id":"141081","value":"","parentId":"141000"},
{"id":"141082","value":"","parentId":"141000"},
/******************/
{"id":"141102","value":"","parentId":"141100"},
{"id":"141121","value":"","parentId":"141100"},
{"id":"141122","value":"","parentId":"141100"},
{"id":"141123","value":"","parentId":"141100"},
{"id":"141124","value":"","parentId":"141100"},
{"id":"141125","value":"","parentId":"141100"},
{"id":"141126","value":"","parentId":"141100"},
{"id":"141127","value":"","parentId":"141100"},
{"id":"141128","value":"","parentId":"141100"},
{"id":"141129","value":"","parentId":"141100"},
{"id":"141130","value":"","parentId":"141100"},
{"id":"141181","value":"","parentId":"141100"},
{"id":"141182","value":"","parentId":"141100"},
/******************/
{"id":"150102","value":"","parentId":"150100"},
{"id":"150103","value":"","parentId":"150100"},
{"id":"150104","value":"","parentId":"150100"},
{"id":"150105","value":"","parentId":"150100"},
{"id":"150121","value":"","parentId":"150100"},
{"id":"150122","value":"","parentId":"150100"},
{"id":"150123","value":"","parentId":"150100"},
{"id":"150124","value":"","parentId":"150100"},
{"id":"150125","value":"","parentId":"150100"},
/******************/
{"id":"150202","value":"","parentId":"150200"},
{"id":"150203","value":"","parentId":"150200"},
{"id":"150204","value":"","parentId":"150200"},
{"id":"150205","value":"","parentId":"150200"},
{"id":"150206","value":"","parentId":"150200"},
{"id":"150207","value":"","parentId":"150200"},
{"id":"150221","value":"","parentId":"150200"},
{"id":"150222","value":"","parentId":"150200"},
{"id":"150223","value":"","parentId":"150200"},
/******************/
{"id":"150302","value":"","parentId":"150300"},
{"id":"150303","value":"","parentId":"150300"},
{"id":"150304","value":"","parentId":"150300"},
/******************/
{"id":"150402","value":"","parentId":"150400"},
{"id":"150403","value":"","parentId":"150400"},
{"id":"150404","value":"","parentId":"150400"},
{"id":"150421","value":"","parentId":"150400"},
{"id":"150422","value":"","parentId":"150400"},
{"id":"150423","value":"","parentId":"150400"},
{"id":"150424","value":"","parentId":"150400"},
{"id":"150425","value":"","parentId":"150400"},
{"id":"150426","value":"","parentId":"150400"},
{"id":"150428","value":"","parentId":"150400"},
{"id":"150429","value":"","parentId":"150400"},
{"id":"150430","value":"","parentId":"150400"},
/******************/
{"id":"150502","value":"","parentId":"150500"},
{"id":"150521","value":"","parentId":"150500"},
{"id":"150522","value":"","parentId":"150500"},
{"id":"150523","value":"","parentId":"150500"},
{"id":"150524","value":"","parentId":"150500"},
{"id":"150525","value":"","parentId":"150500"},
{"id":"150526","value":"","parentId":"150500"},
{"id":"150581","value":"","parentId":"150500"},
/******************/
{"id":"150602","value":"","parentId":"150600"},
{"id":"150621","value":"","parentId":"150600"},
{"id":"150622","value":"","parentId":"150600"},
{"id":"150623","value":"","parentId":"150600"},
{"id":"150624","value":"","parentId":"150600"},
{"id":"150625","value":"","parentId":"150600"},
{"id":"150626","value":"","parentId":"150600"},
{"id":"150627","value":"","parentId":"150600"},
/******************/
{"id":"150702","value":"","parentId":"150700"},
{"id":"150721","value":"","parentId":"150700"},
{"id":"150722","value":"","parentId":"150700"},
{"id":"150723","value":"","parentId":"150700"},
{"id":"150724","value":"","parentId":"150700"},
{"id":"150725","value":"","parentId":"150700"},
{"id":"150726","value":"","parentId":"150700"},
{"id":"150727","value":"","parentId":"150700"},
{"id":"150781","value":"","parentId":"150700"},
{"id":"150782","value":"","parentId":"150700"},
{"id":"150783","value":"","parentId":"150700"},
{"id":"150784","value":"","parentId":"150700"},
{"id":"150785","value":"","parentId":"150700"},
/******************/
{"id":"150802","value":"","parentId":"150800"},
{"id":"150821","value":"","parentId":"150800"},
{"id":"150822","value":"","parentId":"150800"},
{"id":"150823","value":"","parentId":"150800"},
{"id":"150824","value":"","parentId":"150800"},
{"id":"150825","value":"","parentId":"150800"},
{"id":"150826","value":"","parentId":"150800"},
/******************/
{"id":"150902","value":"","parentId":"150900"},
{"id":"150921","value":"","parentId":"150900"},
{"id":"150922","value":"","parentId":"150900"},
{"id":"150923","value":"","parentId":"150900"},
{"id":"150924","value":"","parentId":"150900"},
{"id":"150925","value":"","parentId":"150900"},
{"id":"150926","value":"","parentId":"150900"},
{"id":"150927","value":"","parentId":"150900"},
{"id":"150928","value":"","parentId":"150900"},
{"id":"150929","value":"","parentId":"150900"},
{"id":"150981","value":"","parentId":"150900"},
/******************/
{"id":"152201","value":"","parentId":"152200"},
{"id":"152202","value":"","parentId":"152200"},
{"id":"152221","value":"","parentId":"152200"},
{"id":"152222","value":"","parentId":"152200"},
{"id":"152223","value":"","parentId":"152200"},
{"id":"152224","value":"","parentId":"152200"},
/******************/
{"id":"152501","value":"","parentId":"152500"},
{"id":"152502","value":"","parentId":"152500"},
{"id":"152522","value":"","parentId":"152500"},
{"id":"152523","value":"","parentId":"152500"},
{"id":"152524","value":"","parentId":"152500"},
{"id":"152525","value":"","parentId":"152500"},
{"id":"152526","value":"","parentId":"152500"},
{"id":"152527","value":"","parentId":"152500"},
{"id":"152528","value":"","parentId":"152500"},
{"id":"152529","value":"","parentId":"152500"},
{"id":"152530","value":"","parentId":"152500"},
{"id":"152531","value":"","parentId":"152500"},
/******************/
{"id":"152921","value":"","parentId":"152900"},
{"id":"152922","value":"","parentId":"152900"},
{"id":"152923","value":"","parentId":"152900"},
/******************/
{"id":"210102","value":"","parentId":"210100"},
{"id":"210103","value":"","parentId":"210100"},
{"id":"210104","value":"","parentId":"210100"},
{"id":"210105","value":"","parentId":"210100"},
{"id":"210106","value":"","parentId":"210100"},
{"id":"210111","value":"","parentId":"210100"},
{"id":"210112","value":"","parentId":"210100"},
{"id":"210113","value":"","parentId":"210100"},
{"id":"210114","value":"","parentId":"210100"},
{"id":"210122","value":"","parentId":"210100"},
{"id":"210123","value":"","parentId":"210100"},
{"id":"210124","value":"","parentId":"210100"},
{"id":"210181","value":"","parentId":"210100"},
/******************/
{"id":"210202","value":"","parentId":"210200"},
{"id":"210203","value":"","parentId":"210200"},
{"id":"210204","value":"","parentId":"210200"},
{"id":"210211","value":"","parentId":"210200"},
{"id":"210212","value":"","parentId":"210200"},
{"id":"210213","value":"","parentId":"210200"},
{"id":"210224","value":"","parentId":"210200"},
{"id":"210281","value":"","parentId":"210200"},
{"id":"210282","value":"","parentId":"210200"},
{"id":"210283","value":"","parentId":"210200"},
/******************/
{"id":"210302","value":"","parentId":"210300"},
{"id":"210303","value":"","parentId":"210300"},
{"id":"210304","value":"","parentId":"210300"},
{"id":"210311","value":"","parentId":"210300"},
{"id":"210321","value":"","parentId":"210300"},
{"id":"210323","value":"","parentId":"210300"},
{"id":"210381","value":"","parentId":"210300"},
/******************/
{"id":"210402","value":"","parentId":"210400"},
{"id":"210403","value":"","parentId":"210400"},
{"id":"210404","value":"","parentId":"210400"},
{"id":"210411","value":"","parentId":"210400"},
{"id":"210421","value":"","parentId":"210400"},
{"id":"210422","value":"","parentId":"210400"},
{"id":"210423","value":"","parentId":"210400"},
/******************/
{"id":"210502","value":"","parentId":"210500"},
{"id":"210503","value":"","parentId":"210500"},
{"id":"210504","value":"","parentId":"210500"},
{"id":"210505","value":"","parentId":"210500"},
{"id":"210521","value":"","parentId":"210500"},
{"id":"210522","value":"","parentId":"210500"},
/******************/
{"id":"210602","value":"","parentId":"210600"},
{"id":"210603","value":"","parentId":"210600"},
{"id":"210604","value":"","parentId":"210600"},
{"id":"210624","value":"","parentId":"210600"},
{"id":"210681","value":"","parentId":"210600"},
{"id":"210682","value":"","parentId":"210600"},
/******************/
{"id":"210702","value":"","parentId":"210700"},
{"id":"210703","value":"","parentId":"210700"},
{"id":"210711","value":"","parentId":"210700"},
{"id":"210726","value":"","parentId":"210700"},
{"id":"210727","value":"","parentId":"210700"},
{"id":"210781","value":"","parentId":"210700"},
{"id":"210782","value":"","parentId":"210700"},
/******************/
{"id":"210802","value":"","parentId":"210800"},
{"id":"210803","value":"","parentId":"210800"},
{"id":"210804","value":"","parentId":"210800"},
{"id":"210811","value":"","parentId":"210800"},
{"id":"210881","value":"","parentId":"210800"},
{"id":"210882","value":"","parentId":"210800"},
/******************/
{"id":"210902","value":"","parentId":"210900"},
{"id":"210903","value":"","parentId":"210900"},
{"id":"210904","value":"","parentId":"210900"},
{"id":"210905","value":"","parentId":"210900"},
{"id":"210911","value":"","parentId":"210900"},
{"id":"210921","value":"","parentId":"210900"},
{"id":"210922","value":"","parentId":"210900"},
/******************/
{"id":"211002","value":"","parentId":"211000"},
{"id":"211003","value":"","parentId":"211000"},
{"id":"211004","value":"","parentId":"211000"},
{"id":"211005","value":"","parentId":"211000"},
{"id":"211011","value":"","parentId":"211000"},
{"id":"211021","value":"","parentId":"211000"},
{"id":"211081","value":"","parentId":"211000"},
/******************/
{"id":"211102","value":"","parentId":"211100"},
{"id":"211103","value":"","parentId":"211100"},
{"id":"211121","value":"","parentId":"211100"},
{"id":"211122","value":"","parentId":"211100"},
/******************/
{"id":"211202","value":"","parentId":"211200"},
{"id":"211204","value":"","parentId":"211200"},
{"id":"211221","value":"","parentId":"211200"},
{"id":"211223","value":"","parentId":"211200"},
{"id":"211224","value":"","parentId":"211200"},
{"id":"211281","value":"","parentId":"211200"},
{"id":"211282","value":"","parentId":"211200"},
/******************/
{"id":"211302","value":"","parentId":"211300"},
{"id":"211303","value":"","parentId":"211300"},
{"id":"211321","value":"","parentId":"211300"},
{"id":"211322","value":"","parentId":"211300"},
{"id":"211324","value":"","parentId":"211300"},
{"id":"211381","value":"","parentId":"211300"},
{"id":"211382","value":"","parentId":"211300"},
/******************/
{"id":"211402","value":"","parentId":"211400"},
{"id":"211403","value":"","parentId":"211400"},
{"id":"211404","value":"","parentId":"211400"},
{"id":"211421","value":"","parentId":"211400"},
{"id":"211422","value":"","parentId":"211400"},
{"id":"211481","value":"","parentId":"211400"},
/******************/
{"id":"220102","value":"","parentId":"220100"},
{"id":"220103","value":"","parentId":"220100"},
{"id":"220104","value":"","parentId":"220100"},
{"id":"220105","value":"","parentId":"220100"},
{"id":"220106","value":"","parentId":"220100"},
{"id":"220112","value":"","parentId":"220100"},
{"id":"220122","value":"","parentId":"220100"},
{"id":"220181","value":"","parentId":"220100"},
{"id":"220182","value":"","parentId":"220100"},
{"id":"220183","value":"","parentId":"220100"},
/******************/
{"id":"220202","value":"","parentId":"220200"},
{"id":"220203","value":"","parentId":"220200"},
{"id":"220204","value":"","parentId":"220200"},
{"id":"220211","value":"","parentId":"220200"},
{"id":"220221","value":"","parentId":"220200"},
{"id":"220281","value":"","parentId":"220200"},
{"id":"220282","value":"","parentId":"220200"},
{"id":"220283","value":"","parentId":"220200"},
{"id":"220284","value":"","parentId":"220200"},
/******************/
{"id":"220302","value":"","parentId":"220300"},
{"id":"220303","value":"","parentId":"220300"},
{"id":"220322","value":"","parentId":"220300"},
{"id":"220323","value":"","parentId":"220300"},
{"id":"220381","value":"","parentId":"220300"},
{"id":"220382","value":"","parentId":"220300"},
/******************/
{"id":"220402","value":"","parentId":"220400"},
{"id":"220403","value":"","parentId":"220400"},
{"id":"220421","value":"","parentId":"220400"},
{"id":"220422","value":"","parentId":"220400"},
/******************/
{"id":"220502","value":"","parentId":"220500"},
{"id":"220503","value":"","parentId":"220500"},
{"id":"220521","value":"","parentId":"220500"},
{"id":"220523","value":"","parentId":"220500"},
{"id":"220524","value":"","parentId":"220500"},
{"id":"220581","value":"","parentId":"220500"},
{"id":"220582","value":"","parentId":"220500"},
/******************/
{"id":"220602","value":"","parentId":"220600"},
{"id":"220605","value":"","parentId":"220600"},
{"id":"220621","value":"","parentId":"220600"},
{"id":"220622","value":"","parentId":"220600"},
{"id":"220623","value":"","parentId":"220600"},
{"id":"220681","value":"","parentId":"220600"},
/******************/
{"id":"220702","value":"","parentId":"220700"},
{"id":"220721","value":"","parentId":"220700"},
{"id":"220722","value":"","parentId":"220700"},
{"id":"220723","value":"","parentId":"220700"},
{"id":"220724","value":"","parentId":"220700"},
/******************/
{"id":"220802","value":"","parentId":"220800"},
{"id":"220821","value":"","parentId":"220800"},
{"id":"220822","value":"","parentId":"220800"},
{"id":"220881","value":"","parentId":"220800"},
{"id":"220882","value":"","parentId":"220800"},
/******************/
{"id":"222401","value":"","parentId":"222400"},
{"id":"222402","value":"","parentId":"222400"},
{"id":"222403","value":"","parentId":"222400"},
{"id":"222404","value":"","parentId":"222400"},
{"id":"222405","value":"","parentId":"222400"},
{"id":"222406","value":"","parentId":"222400"},
{"id":"222424","value":"","parentId":"222400"},
{"id":"222426","value":"","parentId":"222400"},
/******************/
{"id":"230102","value":"","parentId":"230100"},
{"id":"230103","value":"","parentId":"230100"},
{"id":"230104","value":"","parentId":"230100"},
{"id":"230108","value":"","parentId":"230100"},
{"id":"230109","value":"","parentId":"230100"},
{"id":"230110","value":"","parentId":"230100"},
{"id":"230111","value":"","parentId":"230100"},
{"id":"230112","value":"","parentId":"230100"},
{"id":"230123","value":"","parentId":"230100"},
{"id":"230124","value":"","parentId":"230100"},
{"id":"230125","value":"","parentId":"230100"},
{"id":"230126","value":"","parentId":"230100"},
{"id":"230127","value":"","parentId":"230100"},
{"id":"230128","value":"","parentId":"230100"},
{"id":"230129","value":"","parentId":"230100"},
{"id":"230182","value":"","parentId":"230100"},
{"id":"230183","value":"","parentId":"230100"},
{"id":"230184","value":"","parentId":"230100"},
/******************/
{"id":"230202","value":"","parentId":"230200"},
{"id":"230203","value":"","parentId":"230200"},
{"id":"230204","value":"","parentId":"230200"},
{"id":"230205","value":"","parentId":"230200"},
{"id":"230206","value":"","parentId":"230200"},
{"id":"230207","value":"","parentId":"230200"},
{"id":"230208","value":"","parentId":"230200"},
{"id":"230221","value":"","parentId":"230200"},
{"id":"230223","value":"","parentId":"230200"},
{"id":"230224","value":"","parentId":"230200"},
{"id":"230225","value":"","parentId":"230200"},
{"id":"230227","value":"","parentId":"230200"},
{"id":"230229","value":"","parentId":"230200"},
{"id":"230230","value":"","parentId":"230200"},
{"id":"230231","value":"","parentId":"230200"},
{"id":"230281","value":"","parentId":"230200"},
/******************/
{"id":"230302","value":"","parentId":"230300"},
{"id":"230303","value":"","parentId":"230300"},
{"id":"230304","value":"","parentId":"230300"},
{"id":"230305","value":"","parentId":"230300"},
{"id":"230306","value":"","parentId":"230300"},
{"id":"230307","value":"","parentId":"230300"},
{"id":"230321","value":"","parentId":"230300"},
{"id":"230381","value":"","parentId":"230300"},
{"id":"230382","value":"","parentId":"230300"},
/******************/
{"id":"230402","value":"","parentId":"230400"},
{"id":"230403","value":"","parentId":"230400"},
{"id":"230404","value":"","parentId":"230400"},
{"id":"230405","value":"","parentId":"230400"},
{"id":"230406","value":"","parentId":"230400"},
{"id":"230407","value":"","parentId":"230400"},
{"id":"230421","value":"","parentId":"230400"},
{"id":"230422","value":"","parentId":"230400"},
/******************/
{"id":"230502","value":"","parentId":"230500"},
{"id":"230503","value":"","parentId":"230500"},
{"id":"230505","value":"","parentId":"230500"},
{"id":"230506","value":"","parentId":"230500"},
{"id":"230521","value":"","parentId":"230500"},
{"id":"230522","value":"","parentId":"230500"},
{"id":"230523","value":"","parentId":"230500"},
{"id":"230524","value":"","parentId":"230500"},
/******************/
{"id":"230602","value":"","parentId":"230600"},
{"id":"230603","value":"","parentId":"230600"},
{"id":"230604","value":"","parentId":"230600"},
{"id":"230605","value":"","parentId":"230600"},
{"id":"230606","value":"","parentId":"230600"},
{"id":"230621","value":"","parentId":"230600"},
{"id":"230622","value":"","parentId":"230600"},
{"id":"230623","value":"","parentId":"230600"},
{"id":"230624","value":"","parentId":"230600"},
/******************/
{"id":"230702","value":"","parentId":"230700"},
{"id":"230703","value":"","parentId":"230700"},
{"id":"230704","value":"","parentId":"230700"},
{"id":"230705","value":"","parentId":"230700"},
{"id":"230706","value":"","parentId":"230700"},
{"id":"230707","value":"","parentId":"230700"},
{"id":"230708","value":"","parentId":"230700"},
{"id":"230709","value":"","parentId":"230700"},
{"id":"230710","value":"","parentId":"230700"},
{"id":"230711","value":"","parentId":"230700"},
{"id":"230712","value":"","parentId":"230700"},
{"id":"230713","value":"","parentId":"230700"},
{"id":"230714","value":"","parentId":"230700"},
{"id":"230715","value":"","parentId":"230700"},
{"id":"230716","value":"","parentId":"230700"},
{"id":"230722","value":"","parentId":"230700"},
{"id":"230781","value":"","parentId":"230700"},
/******************/
{"id":"230803","value":"","parentId":"230800"},
{"id":"230804","value":"","parentId":"230800"},
{"id":"230805","value":"","parentId":"230800"},
{"id":"230811","value":"","parentId":"230800"},
{"id":"230822","value":"","parentId":"230800"},
{"id":"230826","value":"","parentId":"230800"},
{"id":"230828","value":"","parentId":"230800"},
{"id":"230833","value":"","parentId":"230800"},
{"id":"230881","value":"","parentId":"230800"},
{"id":"230882","value":"","parentId":"230800"},
/******************/
{"id":"230902","value":"","parentId":"230900"},
{"id":"230903","value":"","parentId":"230900"},
{"id":"230904","value":"","parentId":"230900"},
{"id":"230921","value":"","parentId":"230900"},
/******************/
{"id":"231002","value":"","parentId":"231000"},
{"id":"231003","value":"","parentId":"231000"},
{"id":"231004","value":"","parentId":"231000"},
{"id":"231005","value":"","parentId":"231000"},
{"id":"231024","value":"","parentId":"231000"},
{"id":"231025","value":"","parentId":"231000"},
{"id":"231081","value":"","parentId":"231000"},
{"id":"231083","value":"","parentId":"231000"},
{"id":"231084","value":"","parentId":"231000"},
{"id":"231085","value":"","parentId":"231000"},
/******************/
{"id":"231102","value":"","parentId":"231100"},
{"id":"231121","value":"","parentId":"231100"},
{"id":"231123","value":"","parentId":"231100"},
{"id":"231124","value":"","parentId":"231100"},
{"id":"231181","value":"","parentId":"231100"},
{"id":"231182","value":"","parentId":"231100"},
/******************/
{"id":"231202","value":"","parentId":"231200"},
{"id":"231221","value":"","parentId":"231200"},
{"id":"231222","value":"","parentId":"231200"},
{"id":"231223","value":"","parentId":"231200"},
{"id":"231224","value":"","parentId":"231200"},
{"id":"231225","value":"","parentId":"231200"},
{"id":"231226","value":"","parentId":"231200"},
{"id":"231281","value":"","parentId":"231200"},
{"id":"231282","value":"","parentId":"231200"},
{"id":"231283","value":"","parentId":"231200"},
/******************/
{"id":"232701","value":"","parentId":"232700"},
{"id":"232702","value":"","parentId":"232700"},
{"id":"232703","value":"","parentId":"232700"},
{"id":"232704","value":"","parentId":"232700"},
{"id":"232721","value":"","parentId":"232700"},
{"id":"232722","value":"","parentId":"232700"},
{"id":"232723","value":"","parentId":"232700"},
/******************/
{"id":"310101","value":"","parentId":"310100"},
{"id":"310104","value":"","parentId":"310100"},
{"id":"310105","value":"","parentId":"310100"},
{"id":"310106","value":"","parentId":"310100"},
{"id":"310107","value":"","parentId":"310100"},
{"id":"310108","value":"","parentId":"310100"},
{"id":"310109","value":"","parentId":"310100"},
{"id":"310110","value":"","parentId":"310100"},
{"id":"310112","value":"","parentId":"310100"},
{"id":"310113","value":"","parentId":"310100"},
{"id":"310114","value":"","parentId":"310100"},
{"id":"310115","value":"","parentId":"310100"},
{"id":"310116","value":"","parentId":"310100"},
{"id":"310117","value":"","parentId":"310100"},
{"id":"310118","value":"","parentId":"310100"},
{"id":"310120","value":"","parentId":"310100"},
{"id":"310230","value":"","parentId":"310100"},
/******************/
{"id":"320102","value":"","parentId":"320100"},
{"id":"320103","value":"","parentId":"320100"},
{"id":"320104","value":"","parentId":"320100"},
{"id":"320105","value":"","parentId":"320100"},
{"id":"320106","value":"","parentId":"320100"},
{"id":"320107","value":"","parentId":"320100"},
{"id":"320111","value":"","parentId":"320100"},
{"id":"320113","value":"","parentId":"320100"},
{"id":"320114","value":"","parentId":"320100"},
{"id":"320115","value":"","parentId":"320100"},
{"id":"320116","value":"","parentId":"320100"},
{"id":"320124","value":"","parentId":"320100"},
{"id":"320125","value":"","parentId":"320100"},
/******************/
{"id":"320202","value":"","parentId":"320200"},
{"id":"320203","value":"","parentId":"320200"},
{"id":"320204","value":"","parentId":"320200"},
{"id":"320205","value":"","parentId":"320200"},
{"id":"320206","value":"","parentId":"320200"},
{"id":"320211","value":"","parentId":"320200"},
{"id":"320281","value":"","parentId":"320200"},
{"id":"320282","value":"","parentId":"320200"},
/******************/
{"id":"320302","value":"","parentId":"320300"},
{"id":"320303","value":"","parentId":"320300"},
{"id":"320305","value":"","parentId":"320300"},
{"id":"320311","value":"","parentId":"320300"},
{"id":"320312","value":"","parentId":"320300"},
{"id":"320321","value":"","parentId":"320300"},
{"id":"320322","value":"","parentId":"320300"},
{"id":"320324","value":"","parentId":"320300"},
{"id":"320381","value":"","parentId":"320300"},
{"id":"320382","value":"","parentId":"320300"},
/******************/
{"id":"320402","value":"","parentId":"320400"},
{"id":"320404","value":"","parentId":"320400"},
{"id":"320405","value":"","parentId":"320400"},
{"id":"320411","value":"","parentId":"320400"},
{"id":"320412","value":"","parentId":"320400"},
{"id":"320481","value":"","parentId":"320400"},
{"id":"320482","value":"","parentId":"320400"},
/******************/
{"id":"320503","value":"","parentId":"320500"},
{"id":"320505","value":"","parentId":"320500"},
{"id":"320506","value":"","parentId":"320500"},
{"id":"320507","value":"","parentId":"320500"},
{"id":"320581","value":"","parentId":"320500"},
{"id":"320582","value":"","parentId":"320500"},
{"id":"320583","value":"","parentId":"320500"},
{"id":"320584","value":"","parentId":"320500"},
{"id":"320585","value":"","parentId":"320500"},
/******************/
{"id":"320602","value":"","parentId":"320600"},
{"id":"320611","value":"","parentId":"320600"},
{"id":"320612","value":"","parentId":"320600"},
{"id":"320621","value":"","parentId":"320600"},
{"id":"320623","value":"","parentId":"320600"},
{"id":"320681","value":"","parentId":"320600"},
{"id":"320682","value":"","parentId":"320600"},
{"id":"320684","value":"","parentId":"320600"},
/******************/
{"id":"320703","value":"","parentId":"320700"},
{"id":"320705","value":"","parentId":"320700"},
{"id":"320706","value":"","parentId":"320700"},
{"id":"320721","value":"","parentId":"320700"},
{"id":"320722","value":"","parentId":"320700"},
{"id":"320723","value":"","parentId":"320700"},
{"id":"320724","value":"","parentId":"320700"},
/******************/
{"id":"320802","value":"","parentId":"320800"},
{"id":"320803","value":"","parentId":"320800"},
{"id":"320804","value":"","parentId":"320800"},
{"id":"320811","value":"","parentId":"320800"},
{"id":"320826","value":"","parentId":"320800"},
{"id":"320829","value":"","parentId":"320800"},
{"id":"320830","value":"","parentId":"320800"},
{"id":"320831","value":"","parentId":"320800"},
/******************/
{"id":"320902","value":"","parentId":"320900"},
{"id":"320903","value":"","parentId":"320900"},
{"id":"320921","value":"","parentId":"320900"},
{"id":"320922","value":"","parentId":"320900"},
{"id":"320923","value":"","parentId":"320900"},
{"id":"320924","value":"","parentId":"320900"},
{"id":"320925","value":"","parentId":"320900"},
{"id":"320981","value":"","parentId":"320900"},
{"id":"320982","value":"","parentId":"320900"},
/******************/
{"id":"321002","value":"","parentId":"321000"},
{"id":"321003","value":"","parentId":"321000"},
{"id":"321023","value":"","parentId":"321000"},
{"id":"321081","value":"","parentId":"321000"},
{"id":"321084","value":"","parentId":"321000"},
{"id":"321088","value":"","parentId":"321000"},
/******************/
{"id":"321102","value":"","parentId":"321100"},
{"id":"321111","value":"","parentId":"321100"},
{"id":"321112","value":"","parentId":"321100"},
{"id":"321181","value":"","parentId":"321100"},
{"id":"321182","value":"","parentId":"321100"},
{"id":"321183","value":"","parentId":"321100"},
/******************/
{"id":"321202","value":"","parentId":"321200"},
{"id":"321203","value":"","parentId":"321200"},
{"id":"321281","value":"","parentId":"321200"},
{"id":"321282","value":"","parentId":"321200"},
{"id":"321283","value":"","parentId":"321200"},
{"id":"321284","value":"","parentId":"321200"},
/******************/
{"id":"321302","value":"","parentId":"321300"},
{"id":"321311","value":"","parentId":"321300"},
{"id":"321322","value":"","parentId":"321300"},
{"id":"321323","value":"","parentId":"321300"},
{"id":"321324","value":"","parentId":"321300"},
/******************/
{"id":"330102","value":"","parentId":"330100"},
{"id":"330103","value":"","parentId":"330100"},
{"id":"330104","value":"","parentId":"330100"},
{"id":"330105","value":"","parentId":"330100"},
{"id":"330106","value":"","parentId":"330100"},
{"id":"330108","value":"","parentId":"330100"},
{"id":"330109","value":"","parentId":"330100"},
{"id":"330110","value":"","parentId":"330100"},
{"id":"330122","value":"","parentId":"330100"},
{"id":"330127","value":"","parentId":"330100"},
{"id":"330182","value":"","parentId":"330100"},
{"id":"330183","value":"","parentId":"330100"},
{"id":"330185","value":"","parentId":"330100"},
/******************/
{"id":"330203","value":"","parentId":"330200"},
{"id":"330204","value":"","parentId":"330200"},
{"id":"330205","value":"","parentId":"330200"},
{"id":"330206","value":"","parentId":"330200"},
{"id":"330211","value":"","parentId":"330200"},
{"id":"330212","value":"","parentId":"330200"},
{"id":"330225","value":"","parentId":"330200"},
{"id":"330226","value":"","parentId":"330200"},
{"id":"330281","value":"","parentId":"330200"},
{"id":"330282","value":"","parentId":"330200"},
{"id":"330283","value":"","parentId":"330200"},
/******************/
{"id":"330302","value":"","parentId":"330300"},
{"id":"330303","value":"","parentId":"330300"},
{"id":"330304","value":"","parentId":"330300"},
{"id":"330322","value":"","parentId":"330300"},
{"id":"330324","value":"","parentId":"330300"},
{"id":"330326","value":"","parentId":"330300"},
{"id":"330327","value":"","parentId":"330300"},
{"id":"330328","value":"","parentId":"330300"},
{"id":"330329","value":"","parentId":"330300"},
{"id":"330381","value":"","parentId":"330300"},
{"id":"330382","value":"","parentId":"330300"},
/******************/
{"id":"330402","value":"","parentId":"330400"},
{"id":"330411","value":"","parentId":"330400"},
{"id":"330421","value":"","parentId":"330400"},
{"id":"330424","value":"","parentId":"330400"},
{"id":"330481","value":"","parentId":"330400"},
{"id":"330482","value":"","parentId":"330400"},
{"id":"330483","value":"","parentId":"330400"},
/******************/
{"id":"330502","value":"","parentId":"330500"},
{"id":"330503","value":"","parentId":"330500"},
{"id":"330521","value":"","parentId":"330500"},
{"id":"330522","value":"","parentId":"330500"},
{"id":"330523","value":"","parentId":"330500"},
/******************/
{"id":"330602","value":"","parentId":"330600"},
{"id":"330621","value":"","parentId":"330600"},
{"id":"330624","value":"","parentId":"330600"},
{"id":"330681","value":"","parentId":"330600"},
{"id":"330682","value":"","parentId":"330600"},
{"id":"330683","value":"","parentId":"330600"},
/******************/
{"id":"330702","value":"","parentId":"330700"},
{"id":"330703","value":"","parentId":"330700"},
{"id":"330723","value":"","parentId":"330700"},
{"id":"330726","value":"","parentId":"330700"},
{"id":"330727","value":"","parentId":"330700"},
{"id":"330781","value":"","parentId":"330700"},
{"id":"330782","value":"","parentId":"330700"},
{"id":"330783","value":"","parentId":"330700"},
{"id":"330784","value":"","parentId":"330700"},
/******************/
{"id":"330802","value":"","parentId":"330800"},
{"id":"330803","value":"","parentId":"330800"},
{"id":"330822","value":"","parentId":"330800"},
{"id":"330824","value":"","parentId":"330800"},
{"id":"330825","value":"","parentId":"330800"},
{"id":"330881","value":"","parentId":"330800"},
/******************/
{"id":"330902","value":"","parentId":"330900"},
{"id":"330903","value":"","parentId":"330900"},
{"id":"330921","value":"","parentId":"330900"},
{"id":"330922","value":"","parentId":"330900"},
/******************/
{"id":"331002","value":"","parentId":"331000"},
{"id":"331003","value":"","parentId":"331000"},
{"id":"331004","value":"","parentId":"331000"},
{"id":"331021","value":"","parentId":"331000"},
{"id":"331022","value":"","parentId":"331000"},
{"id":"331023","value":"","parentId":"331000"},
{"id":"331024","value":"","parentId":"331000"},
{"id":"331081","value":"","parentId":"331000"},
{"id":"331082","value":"","parentId":"331000"},
/******************/
{"id":"331102","value":"","parentId":"331100"},
{"id":"331121","value":"","parentId":"331100"},
{"id":"331122","value":"","parentId":"331100"},
{"id":"331123","value":"","parentId":"331100"},
{"id":"331124","value":"","parentId":"331100"},
{"id":"331125","value":"","parentId":"331100"},
{"id":"331126","value":"","parentId":"331100"},
{"id":"331127","value":"","parentId":"331100"},
{"id":"331181","value":"","parentId":"331100"},
/******************/
{"id":"340102","value":"","parentId":"340100"},
{"id":"340103","value":"","parentId":"340100"},
{"id":"340104","value":"","parentId":"340100"},
{"id":"340111","value":"","parentId":"340100"},
{"id":"340121","value":"","parentId":"340100"},
{"id":"340122","value":"","parentId":"340100"},
{"id":"340123","value":"","parentId":"340100"},
{"id":"340124","value":"","parentId":"340100"},
{"id":"340181","value":"","parentId":"340100"},
/******************/
{"id":"340202","value":"","parentId":"340200"},
{"id":"340203","value":"","parentId":"340200"},
{"id":"340207","value":"","parentId":"340200"},
{"id":"340208","value":"","parentId":"340200"},
{"id":"340221","value":"","parentId":"340200"},
{"id":"340222","value":"","parentId":"340200"},
{"id":"340223","value":"","parentId":"340200"},
{"id":"340225","value":"","parentId":"340200"},
/******************/
{"id":"340302","value":"","parentId":"340300"},
{"id":"340303","value":"","parentId":"340300"},
{"id":"340304","value":"","parentId":"340300"},
{"id":"340311","value":"","parentId":"340300"},
{"id":"340321","value":"","parentId":"340300"},
{"id":"340322","value":"","parentId":"340300"},
{"id":"340323","value":"","parentId":"340300"},
/******************/
{"id":"340402","value":"","parentId":"340400"},
{"id":"340403","value":"","parentId":"340400"},
{"id":"340404","value":"","parentId":"340400"},
{"id":"340405","value":"","parentId":"340400"},
{"id":"340406","value":"","parentId":"340400"},
{"id":"340421","value":"","parentId":"340400"},
/******************/
{"id":"340503","value":"","parentId":"340500"},
{"id":"340504","value":"","parentId":"340500"},
{"id":"340521","value":"","parentId":"340500"},
{"id":"340522","value":"","parentId":"340500"},
{"id":"340523","value":"","parentId":"340500"},
{"id":"340596","value":"","parentId":"340500"},
/******************/
{"id":"340602","value":"","parentId":"340600"},
{"id":"340603","value":"","parentId":"340600"},
{"id":"340604","value":"","parentId":"340600"},
{"id":"340621","value":"","parentId":"340600"},
/******************/
{"id":"340702","value":"","parentId":"340700"},
{"id":"340703","value":"","parentId":"340700"},
{"id":"340711","value":"","parentId":"340700"},
{"id":"340721","value":"","parentId":"340700"},
/******************/
{"id":"340802","value":"","parentId":"340800"},
{"id":"340803","value":"","parentId":"340800"},
{"id":"340811","value":"","parentId":"340800"},
{"id":"340822","value":"","parentId":"340800"},
{"id":"340823","value":"","parentId":"340800"},
{"id":"340824","value":"","parentId":"340800"},
{"id":"340825","value":"","parentId":"340800"},
{"id":"340826","value":"","parentId":"340800"},
{"id":"340827","value":"","parentId":"340800"},
{"id":"340828","value":"","parentId":"340800"},
{"id":"340881","value":"","parentId":"340800"},
/******************/
{"id":"341002","value":"","parentId":"341000"},
{"id":"341003","value":"","parentId":"341000"},
{"id":"341004","value":"","parentId":"341000"},
{"id":"341021","value":"","parentId":"341000"},
{"id":"341022","value":"","parentId":"341000"},
{"id":"341023","value":"","parentId":"341000"},
{"id":"341024","value":"","parentId":"341000"},
/******************/
{"id":"341102","value":"","parentId":"341100"},
{"id":"341103","value":"","parentId":"341100"},
{"id":"341122","value":"","parentId":"341100"},
{"id":"341124","value":"","parentId":"341100"},
{"id":"341125","value":"","parentId":"341100"},
{"id":"341126","value":"","parentId":"341100"},
{"id":"341181","value":"","parentId":"341100"},
{"id":"341182","value":"","parentId":"341100"},
/******************/
{"id":"341202","value":"","parentId":"341200"},
{"id":"341203","value":"","parentId":"341200"},
{"id":"341204","value":"","parentId":"341200"},
{"id":"341221","value":"","parentId":"341200"},
{"id":"341222","value":"","parentId":"341200"},
{"id":"341225","value":"","parentId":"341200"},
{"id":"341226","value":"","parentId":"341200"},
{"id":"341282","value":"","parentId":"341200"},
/******************/
{"id":"341302","value":"","parentId":"341300"},
{"id":"341321","value":"","parentId":"341300"},
{"id":"341322","value":"","parentId":"341300"},
{"id":"341323","value":"","parentId":"341300"},
{"id":"341324","value":"","parentId":"341300"},
/******************/
{"id":"341502","value":"","parentId":"341500"},
{"id":"341503","value":"","parentId":"341500"},
{"id":"341521","value":"","parentId":"341500"},
{"id":"341522","value":"","parentId":"341500"},
{"id":"341523","value":"","parentId":"341500"},
{"id":"341524","value":"","parentId":"341500"},
{"id":"341525","value":"","parentId":"341500"},
/******************/
{"id":"341602","value":"","parentId":"341600"},
{"id":"341621","value":"","parentId":"341600"},
{"id":"341622","value":"","parentId":"341600"},
{"id":"341623","value":"","parentId":"341600"},
/******************/
{"id":"341702","value":"","parentId":"341700"},
{"id":"341721","value":"","parentId":"341700"},
{"id":"341722","value":"","parentId":"341700"},
{"id":"341723","value":"","parentId":"341700"},
/******************/
{"id":"341802","value":"","parentId":"341800"},
{"id":"341821","value":"","parentId":"341800"},
{"id":"341822","value":"","parentId":"341800"},
{"id":"341823","value":"","parentId":"341800"},
{"id":"341824","value":"","parentId":"341800"},
{"id":"341825","value":"","parentId":"341800"},
{"id":"341881","value":"","parentId":"341800"},
/******************/
{"id":"350102","value":"","parentId":"350100"},
{"id":"350103","value":"","parentId":"350100"},
{"id":"350104","value":"","parentId":"350100"},
{"id":"350105","value":"","parentId":"350100"},
{"id":"350111","value":"","parentId":"350100"},
{"id":"350121","value":"","parentId":"350100"},
{"id":"350122","value":"","parentId":"350100"},
{"id":"350123","value":"","parentId":"350100"},
{"id":"350124","value":"","parentId":"350100"},
{"id":"350125","value":"","parentId":"350100"},
{"id":"350128","value":"","parentId":"350100"},
{"id":"350181","value":"","parentId":"350100"},
{"id":"350182","value":"","parentId":"350100"},
/******************/
{"id":"350203","value":"","parentId":"350200"},
{"id":"350205","value":"","parentId":"350200"},
{"id":"350206","value":"","parentId":"350200"},
{"id":"350211","value":"","parentId":"350200"},
{"id":"350212","value":"","parentId":"350200"},
{"id":"350213","value":"","parentId":"350200"},
/******************/
{"id":"350302","value":"","parentId":"350300"},
{"id":"350303","value":"","parentId":"350300"},
{"id":"350304","value":"","parentId":"350300"},
{"id":"350305","value":"","parentId":"350300"},
{"id":"350322","value":"","parentId":"350300"},
/******************/
{"id":"350402","value":"","parentId":"350400"},
{"id":"350403","value":"","parentId":"350400"},
{"id":"350421","value":"","parentId":"350400"},
{"id":"350423","value":"","parentId":"350400"},
{"id":"350424","value":"","parentId":"350400"},
{"id":"350425","value":"","parentId":"350400"},
{"id":"350426","value":"","parentId":"350400"},
{"id":"350427","value":"","parentId":"350400"},
{"id":"350428","value":"","parentId":"350400"},
{"id":"350429","value":"","parentId":"350400"},
{"id":"350430","value":"","parentId":"350400"},
{"id":"350481","value":"","parentId":"350400"},
/******************/
{"id":"350502","value":"","parentId":"350500"},
{"id":"350503","value":"","parentId":"350500"},
{"id":"350504","value":"","parentId":"350500"},
{"id":"350505","value":"","parentId":"350500"},
{"id":"350521","value":"","parentId":"350500"},
{"id":"350524","value":"","parentId":"350500"},
{"id":"350525","value":"","parentId":"350500"},
{"id":"350526","value":"","parentId":"350500"},
{"id":"350527","value":"","parentId":"350500"},
{"id":"350581","value":"","parentId":"350500"},
{"id":"350582","value":"","parentId":"350500"},
{"id":"350583","value":"","parentId":"350500"},
/******************/
{"id":"350602","value":"","parentId":"350600"},
{"id":"350603","value":"","parentId":"350600"},
{"id":"350622","value":"","parentId":"350600"},
{"id":"350623","value":"","parentId":"350600"},
{"id":"350624","value":"","parentId":"350600"},
{"id":"350625","value":"","parentId":"350600"},
{"id":"350626","value":"","parentId":"350600"},
{"id":"350627","value":"","parentId":"350600"},
{"id":"350628","value":"","parentId":"350600"},
{"id":"350629","value":"","parentId":"350600"},
{"id":"350681","value":"","parentId":"350600"},
/******************/
{"id":"350702","value":"","parentId":"350700"},
{"id":"350721","value":"","parentId":"350700"},
{"id":"350722","value":"","parentId":"350700"},
{"id":"350723","value":"","parentId":"350700"},
{"id":"350724","value":"","parentId":"350700"},
{"id":"350725","value":"","parentId":"350700"},
{"id":"350781","value":"","parentId":"350700"},
{"id":"350782","value":"","parentId":"350700"},
{"id":"350783","value":"","parentId":"350700"},
{"id":"350784","value":"","parentId":"350700"},
/******************/
{"id":"350802","value":"","parentId":"350800"},
{"id":"350821","value":"","parentId":"350800"},
{"id":"350822","value":"","parentId":"350800"},
{"id":"350823","value":"","parentId":"350800"},
{"id":"350824","value":"","parentId":"350800"},
{"id":"350825","value":"","parentId":"350800"},
{"id":"350881","value":"","parentId":"350800"},
/******************/
{"id":"350902","value":"","parentId":"350900"},
{"id":"350921","value":"","parentId":"350900"},
{"id":"350922","value":"","parentId":"350900"},
{"id":"350923","value":"","parentId":"350900"},
{"id":"350924","value":"","parentId":"350900"},
{"id":"350925","value":"","parentId":"350900"},
{"id":"350926","value":"","parentId":"350900"},
{"id":"350981","value":"","parentId":"350900"},
{"id":"350982","value":"","parentId":"350900"},
/******************/
{"id":"360102","value":"","parentId":"360100"},
{"id":"360103","value":"","parentId":"360100"},
{"id":"360104","value":"","parentId":"360100"},
{"id":"360105","value":"","parentId":"360100"},
{"id":"360111","value":"","parentId":"360100"},
{"id":"360121","value":"","parentId":"360100"},
{"id":"360122","value":"","parentId":"360100"},
{"id":"360123","value":"","parentId":"360100"},
{"id":"360124","value":"","parentId":"360100"},
/******************/
{"id":"360202","value":"","parentId":"360200"},
{"id":"360203","value":"","parentId":"360200"},
{"id":"360222","value":"","parentId":"360200"},
{"id":"360281","value":"","parentId":"360200"},
/******************/
{"id":"360302","value":"","parentId":"360300"},
{"id":"360313","value":"","parentId":"360300"},
{"id":"360321","value":"","parentId":"360300"},
{"id":"360322","value":"","parentId":"360300"},
{"id":"360323","value":"","parentId":"360300"},
/******************/
{"id":"360402","value":"","parentId":"360400"},
{"id":"360403","value":"","parentId":"360400"},
{"id":"360421","value":"","parentId":"360400"},
{"id":"360423","value":"","parentId":"360400"},
{"id":"360424","value":"","parentId":"360400"},
{"id":"360425","value":"","parentId":"360400"},
{"id":"360426","value":"","parentId":"360400"},
{"id":"360427","value":"","parentId":"360400"},
{"id":"360428","value":"","parentId":"360400"},
{"id":"360429","value":"","parentId":"360400"},
{"id":"360430","value":"","parentId":"360400"},
{"id":"360481","value":"","parentId":"360400"},
{"id":"360482","value":"","parentId":"360400"},
/******************/
{"id":"360502","value":"","parentId":"360500"},
{"id":"360521","value":"","parentId":"360500"},
/******************/
{"id":"360602","value":"","parentId":"360600"},
{"id":"360622","value":"","parentId":"360600"},
{"id":"360681","value":"","parentId":"360600"},
/******************/
{"id":"360702","value":"","parentId":"360700"},
{"id":"360721","value":"","parentId":"360700"},
{"id":"360722","value":"","parentId":"360700"},
{"id":"360723","value":"","parentId":"360700"},
{"id":"360724","value":"","parentId":"360700"},
{"id":"360725","value":"","parentId":"360700"},
{"id":"360726","value":"","parentId":"360700"},
{"id":"360727","value":"","parentId":"360700"},
{"id":"360728","value":"","parentId":"360700"},
{"id":"360729","value":"","parentId":"360700"},
{"id":"360730","value":"","parentId":"360700"},
{"id":"360731","value":"","parentId":"360700"},
{"id":"360732","value":"","parentId":"360700"},
{"id":"360733","value":"","parentId":"360700"},
{"id":"360734","value":"","parentId":"360700"},
{"id":"360735","value":"","parentId":"360700"},
{"id":"360781","value":"","parentId":"360700"},
{"id":"360782","value":"","parentId":"360700"},
/******************/
{"id":"360802","value":"","parentId":"360800"},
{"id":"360803","value":"","parentId":"360800"},
{"id":"360821","value":"","parentId":"360800"},
{"id":"360822","value":"","parentId":"360800"},
{"id":"360823","value":"","parentId":"360800"},
{"id":"360824","value":"","parentId":"360800"},
{"id":"360825","value":"","parentId":"360800"},
{"id":"360826","value":"","parentId":"360800"},
{"id":"360827","value":"","parentId":"360800"},
{"id":"360828","value":"","parentId":"360800"},
{"id":"360829","value":"","parentId":"360800"},
{"id":"360830","value":"","parentId":"360800"},
{"id":"360881","value":"","parentId":"360800"},
/******************/
{"id":"360902","value":"","parentId":"360900"},
{"id":"360921","value":"","parentId":"360900"},
{"id":"360922","value":"","parentId":"360900"},
{"id":"360923","value":"","parentId":"360900"},
{"id":"360924","value":"","parentId":"360900"},
{"id":"360925","value":"","parentId":"360900"},
{"id":"360926","value":"","parentId":"360900"},
{"id":"360981","value":"","parentId":"360900"},
{"id":"360982","value":"","parentId":"360900"},
{"id":"360983","value":"","parentId":"360900"},
/******************/
{"id":"361002","value":"","parentId":"361000"},
{"id":"361021","value":"","parentId":"361000"},
{"id":"361022","value":"","parentId":"361000"},
{"id":"361023","value":"","parentId":"361000"},
{"id":"361024","value":"","parentId":"361000"},
{"id":"361025","value":"","parentId":"361000"},
{"id":"361026","value":"","parentId":"361000"},
{"id":"361027","value":"","parentId":"361000"},
{"id":"361028","value":"","parentId":"361000"},
{"id":"361029","value":"","parentId":"361000"},
{"id":"361030","value":"","parentId":"361000"},
/******************/
{"id":"361102","value":"","parentId":"361100"},
{"id":"361121","value":"","parentId":"361100"},
{"id":"361122","value":"","parentId":"361100"},
{"id":"361123","value":"","parentId":"361100"},
{"id":"361124","value":"","parentId":"361100"},
{"id":"361125","value":"","parentId":"361100"},
{"id":"361126","value":"","parentId":"361100"},
{"id":"361127","value":"","parentId":"361100"},
{"id":"361128","value":"","parentId":"361100"},
{"id":"361129","value":"","parentId":"361100"},
{"id":"361130","value":"","parentId":"361100"},
{"id":"361181","value":"","parentId":"361100"},
/******************/
{"id":"370102","value":"","parentId":"370100"},
{"id":"370103","value":"","parentId":"370100"},
{"id":"370104","value":"","parentId":"370100"},
{"id":"370105","value":"","parentId":"370100"},
{"id":"370112","value":"","parentId":"370100"},
{"id":"370113","value":"","parentId":"370100"},
{"id":"370124","value":"","parentId":"370100"},
{"id":"370125","value":"","parentId":"370100"},
{"id":"370126","value":"","parentId":"370100"},
{"id":"370181","value":"","parentId":"370100"},
/******************/
{"id":"370202","value":"","parentId":"370200"},
{"id":"370203","value":"","parentId":"370200"},
{"id":"370205","value":"","parentId":"370200"},
{"id":"370211","value":"","parentId":"370200"},
{"id":"370212","value":"","parentId":"370200"},
{"id":"370213","value":"","parentId":"370200"},
{"id":"370214","value":"","parentId":"370200"},
{"id":"370281","value":"","parentId":"370200"},
{"id":"370282","value":"","parentId":"370200"},
{"id":"370283","value":"","parentId":"370200"},
{"id":"370284","value":"","parentId":"370200"},
{"id":"370285","value":"","parentId":"370200"},
/******************/
{"id":"370302","value":"","parentId":"370300"},
{"id":"370303","value":"","parentId":"370300"},
{"id":"370304","value":"","parentId":"370300"},
{"id":"370305","value":"","parentId":"370300"},
{"id":"370306","value":"","parentId":"370300"},
{"id":"370321","value":"","parentId":"370300"},
{"id":"370322","value":"","parentId":"370300"},
{"id":"370323","value":"","parentId":"370300"},
/******************/
{"id":"370402","value":"","parentId":"370400"},
{"id":"370403","value":"","parentId":"370400"},
{"id":"370404","value":"","parentId":"370400"},
{"id":"370405","value":"","parentId":"370400"},
{"id":"370406","value":"","parentId":"370400"},
{"id":"370481","value":"","parentId":"370400"},
/******************/
{"id":"370502","value":"","parentId":"370500"},
{"id":"370503","value":"","parentId":"370500"},
{"id":"370521","value":"","parentId":"370500"},
{"id":"370522","value":"","parentId":"370500"},
{"id":"370523","value":"","parentId":"370500"},
/******************/
{"id":"370602","value":"","parentId":"370600"},
{"id":"370611","value":"","parentId":"370600"},
{"id":"370612","value":"","parentId":"370600"},
{"id":"370613","value":"","parentId":"370600"},
{"id":"370634","value":"","parentId":"370600"},
{"id":"370681","value":"","parentId":"370600"},
{"id":"370682","value":"","parentId":"370600"},
{"id":"370683","value":"","parentId":"370600"},
{"id":"370684","value":"","parentId":"370600"},
{"id":"370685","value":"","parentId":"370600"},
{"id":"370686","value":"","parentId":"370600"},
{"id":"370687","value":"","parentId":"370600"},
/******************/
{"id":"370702","value":"","parentId":"370700"},
{"id":"370703","value":"","parentId":"370700"},
{"id":"370704","value":"","parentId":"370700"},
{"id":"370705","value":"","parentId":"370700"},
{"id":"370724","value":"","parentId":"370700"},
{"id":"370725","value":"","parentId":"370700"},
{"id":"370781","value":"","parentId":"370700"},
{"id":"370782","value":"","parentId":"370700"},
{"id":"370783","value":"","parentId":"370700"},
{"id":"370784","value":"","parentId":"370700"},
{"id":"370785","value":"","parentId":"370700"},
{"id":"370786","value":"","parentId":"370700"},
/******************/
{"id":"370802","value":"","parentId":"370800"},
{"id":"370811","value":"","parentId":"370800"},
{"id":"370826","value":"","parentId":"370800"},
{"id":"370827","value":"","parentId":"370800"},
{"id":"370828","value":"","parentId":"370800"},
{"id":"370829","value":"","parentId":"370800"},
{"id":"370830","value":"","parentId":"370800"},
{"id":"370831","value":"","parentId":"370800"},
{"id":"370832","value":"","parentId":"370800"},
{"id":"370881","value":"","parentId":"370800"},
{"id":"370882","value":"","parentId":"370800"},
{"id":"370883","value":"","parentId":"370800"},
/******************/
{"id":"370902","value":"","parentId":"370900"},
{"id":"370911","value":"","parentId":"370900"},
{"id":"370921","value":"","parentId":"370900"},
{"id":"370923","value":"","parentId":"370900"},
{"id":"370982","value":"","parentId":"370900"},
{"id":"370983","value":"","parentId":"370900"},
/******************/
{"id":"371002","value":"","parentId":"371000"},
{"id":"371081","value":"","parentId":"371000"},
{"id":"371082","value":"","parentId":"371000"},
{"id":"371083","value":"","parentId":"371000"},
/******************/
{"id":"371102","value":"","parentId":"371100"},
{"id":"371103","value":"","parentId":"371100"},
{"id":"371121","value":"","parentId":"371100"},
{"id":"371122","value":"","parentId":"371100"},
/******************/
{"id":"371202","value":"","parentId":"371200"},
{"id":"371203","value":"","parentId":"371200"},
/******************/
{"id":"371302","value":"","parentId":"371300"},
{"id":"371311","value":"","parentId":"371300"},
{"id":"371312","value":"","parentId":"371300"},
{"id":"371321","value":"","parentId":"371300"},
{"id":"371322","value":"","parentId":"371300"},
{"id":"371323","value":"","parentId":"371300"},
{"id":"371324","value":"","parentId":"371300"},
{"id":"371325","value":"","parentId":"371300"},
{"id":"371326","value":"","parentId":"371300"},
{"id":"371327","value":"","parentId":"371300"},
{"id":"371328","value":"","parentId":"371300"},
{"id":"371329","value":"","parentId":"371300"},
/******************/
{"id":"371402","value":"","parentId":"371400"},
{"id":"371421","value":"","parentId":"371400"},
{"id":"371422","value":"","parentId":"371400"},
{"id":"371423","value":"","parentId":"371400"},
{"id":"371424","value":"","parentId":"371400"},
{"id":"371425","value":"","parentId":"371400"},
{"id":"371426","value":"","parentId":"371400"},
{"id":"371427","value":"","parentId":"371400"},
{"id":"371428","value":"","parentId":"371400"},
{"id":"371481","value":"","parentId":"371400"},
{"id":"371482","value":"","parentId":"371400"},
/******************/
{"id":"371502","value":"","parentId":"371500"},
{"id":"371521","value":"","parentId":"371500"},
{"id":"371522","value":"","parentId":"371500"},
{"id":"371523","value":"","parentId":"371500"},
{"id":"371524","value":"","parentId":"371500"},
{"id":"371525","value":"","parentId":"371500"},
{"id":"371526","value":"","parentId":"371500"},
{"id":"371581","value":"","parentId":"371500"},
/******************/
{"id":"371602","value":"","parentId":"371600"},
{"id":"371621","value":"","parentId":"371600"},
{"id":"371622","value":"","parentId":"371600"},
{"id":"371623","value":"","parentId":"371600"},
{"id":"371624","value":"","parentId":"371600"},
{"id":"371625","value":"","parentId":"371600"},
{"id":"371626","value":"","parentId":"371600"},
/******************/
{"id":"371702","value":"","parentId":"371700"},
{"id":"371721","value":"","parentId":"371700"},
{"id":"371722","value":"","parentId":"371700"},
{"id":"371723","value":"","parentId":"371700"},
{"id":"371724","value":"","parentId":"371700"},
{"id":"371725","value":"","parentId":"371700"},
{"id":"371726","value":"","parentId":"371700"},
{"id":"371727","value":"","parentId":"371700"},
{"id":"371728","value":"","parentId":"371700"},
/******************/
{"id":"410102","value":"","parentId":"410100"},
{"id":"410103","value":"","parentId":"410100"},
{"id":"410104","value":"","parentId":"410100"},
{"id":"410105","value":"","parentId":"410100"},
{"id":"410106","value":"","parentId":"410100"},
{"id":"410108","value":"","parentId":"410100"},
{"id":"410122","value":"","parentId":"410100"},
{"id":"410181","value":"","parentId":"410100"},
{"id":"410182","value":"","parentId":"410100"},
{"id":"410183","value":"","parentId":"410100"},
{"id":"410184","value":"","parentId":"410100"},
{"id":"410185","value":"","parentId":"410100"},
/******************/
{"id":"410202","value":"","parentId":"410200"},
{"id":"410203","value":"","parentId":"410200"},
{"id":"410204","value":"","parentId":"410200"},
{"id":"410205","value":"","parentId":"410200"},
{"id":"410211","value":"","parentId":"410200"},
{"id":"410221","value":"","parentId":"410200"},
{"id":"410222","value":"","parentId":"410200"},
{"id":"410223","value":"","parentId":"410200"},
{"id":"410224","value":"","parentId":"410200"},
{"id":"410225","value":"","parentId":"410200"},
/******************/
{"id":"410302","value":"","parentId":"410300"},
{"id":"410303","value":"","parentId":"410300"},
{"id":"410304","value":"","parentId":"410300"},
{"id":"410305","value":"","parentId":"410300"},
{"id":"410306","value":"","parentId":"410300"},
{"id":"410311","value":"","parentId":"410300"},
{"id":"410322","value":"","parentId":"410300"},
{"id":"410323","value":"","parentId":"410300"},
{"id":"410324","value":"","parentId":"410300"},
{"id":"410325","value":"","parentId":"410300"},
{"id":"410326","value":"","parentId":"410300"},
{"id":"410327","value":"","parentId":"410300"},
{"id":"410328","value":"","parentId":"410300"},
{"id":"410329","value":"","parentId":"410300"},
{"id":"410381","value":"","parentId":"410300"},
/******************/
{"id":"410402","value":"","parentId":"410400"},
{"id":"410403","value":"","parentId":"410400"},
{"id":"410404","value":"","parentId":"410400"},
{"id":"410411","value":"","parentId":"410400"},
{"id":"410421","value":"","parentId":"410400"},
{"id":"410422","value":"","parentId":"410400"},
{"id":"410423","value":"","parentId":"410400"},
{"id":"410425","value":"","parentId":"410400"},
{"id":"410481","value":"","parentId":"410400"},
{"id":"410482","value":"","parentId":"410400"},
/******************/
{"id":"410502","value":"","parentId":"410500"},
{"id":"410503","value":"","parentId":"410500"},
{"id":"410505","value":"","parentId":"410500"},
{"id":"410506","value":"","parentId":"410500"},
{"id":"410522","value":"","parentId":"410500"},
{"id":"410523","value":"","parentId":"410500"},
{"id":"410526","value":"","parentId":"410500"},
{"id":"410527","value":"","parentId":"410500"},
{"id":"410581","value":"","parentId":"410500"},
/******************/
{"id":"410602","value":"","parentId":"410600"},
{"id":"410603","value":"","parentId":"410600"},
{"id":"410611","value":"","parentId":"410600"},
{"id":"410621","value":"","parentId":"410600"},
{"id":"410622","value":"","parentId":"410600"},
/******************/
{"id":"410702","value":"","parentId":"410700"},
{"id":"410703","value":"","parentId":"410700"},
{"id":"410704","value":"","parentId":"410700"},
{"id":"410711","value":"","parentId":"410700"},
{"id":"410721","value":"","parentId":"410700"},
{"id":"410724","value":"","parentId":"410700"},
{"id":"410725","value":"","parentId":"410700"},
{"id":"410726","value":"","parentId":"410700"},
{"id":"410727","value":"","parentId":"410700"},
{"id":"410728","value":"","parentId":"410700"},
{"id":"410781","value":"","parentId":"410700"},
{"id":"410782","value":"","parentId":"410700"},
/******************/
{"id":"410802","value":"","parentId":"410800"},
{"id":"410803","value":"","parentId":"410800"},
{"id":"410804","value":"","parentId":"410800"},
{"id":"410811","value":"","parentId":"410800"},
{"id":"410821","value":"","parentId":"410800"},
{"id":"410822","value":"","parentId":"410800"},
{"id":"410823","value":"","parentId":"410800"},
{"id":"410825","value":"","parentId":"410800"},
{"id":"410882","value":"","parentId":"410800"},
{"id":"410883","value":"","parentId":"410800"},
/******************/
{"id":"410902","value":"","parentId":"410900"},
{"id":"410922","value":"","parentId":"410900"},
{"id":"410923","value":"","parentId":"410900"},
{"id":"410926","value":"","parentId":"410900"},
{"id":"410927","value":"","parentId":"410900"},
{"id":"410928","value":"","parentId":"410900"},
/******************/
{"id":"411002","value":"","parentId":"411000"},
{"id":"411023","value":"","parentId":"411000"},
{"id":"411024","value":"","parentId":"411000"},
{"id":"411025","value":"","parentId":"411000"},
{"id":"411081","value":"","parentId":"411000"},
{"id":"411082","value":"","parentId":"411000"},
/******************/
{"id":"411102","value":"","parentId":"411100"},
{"id":"411103","value":"","parentId":"411100"},
{"id":"411104","value":"","parentId":"411100"},
{"id":"411121","value":"","parentId":"411100"},
{"id":"411122","value":"","parentId":"411100"},
/******************/
{"id":"411202","value":"","parentId":"411200"},
{"id":"411221","value":"","parentId":"411200"},
{"id":"411222","value":"","parentId":"411200"},
{"id":"411224","value":"","parentId":"411200"},
{"id":"411281","value":"","parentId":"411200"},
{"id":"411282","value":"","parentId":"411200"},
/******************/
{"id":"411302","value":"","parentId":"411300"},
{"id":"411303","value":"","parentId":"411300"},
{"id":"411321","value":"","parentId":"411300"},
{"id":"411322","value":"","parentId":"411300"},
{"id":"411323","value":"","parentId":"411300"},
{"id":"411324","value":"","parentId":"411300"},
{"id":"411325","value":"","parentId":"411300"},
{"id":"411326","value":"","parentId":"411300"},
{"id":"411327","value":"","parentId":"411300"},
{"id":"411328","value":"","parentId":"411300"},
{"id":"411329","value":"","parentId":"411300"},
{"id":"411330","value":"","parentId":"411300"},
{"id":"411381","value":"","parentId":"411300"},
/******************/
{"id":"411402","value":"","parentId":"411400"},
{"id":"411403","value":"","parentId":"411400"},
{"id":"411421","value":"","parentId":"411400"},
{"id":"411422","value":"","parentId":"411400"},
{"id":"411423","value":"","parentId":"411400"},
{"id":"411424","value":"","parentId":"411400"},
{"id":"411425","value":"","parentId":"411400"},
{"id":"411426","value":"","parentId":"411400"},
{"id":"411481","value":"","parentId":"411400"},
/******************/
{"id":"411502","value":"","parentId":"411500"},
{"id":"411503","value":"","parentId":"411500"},
{"id":"411521","value":"","parentId":"411500"},
{"id":"411522","value":"","parentId":"411500"},
{"id":"411523","value":"","parentId":"411500"},
{"id":"411524","value":"","parentId":"411500"},
{"id":"411525","value":"","parentId":"411500"},
{"id":"411526","value":"","parentId":"411500"},
{"id":"411527","value":"","parentId":"411500"},
{"id":"411528","value":"","parentId":"411500"},
/******************/
{"id":"411602","value":"","parentId":"411600"},
{"id":"411621","value":"","parentId":"411600"},
{"id":"411622","value":"","parentId":"411600"},
{"id":"411623","value":"","parentId":"411600"},
{"id":"411624","value":"","parentId":"411600"},
{"id":"411625","value":"","parentId":"411600"},
{"id":"411626","value":"","parentId":"411600"},
{"id":"411627","value":"","parentId":"411600"},
{"id":"411628","value":"","parentId":"411600"},
{"id":"411681","value":"","parentId":"411600"},
/******************/
{"id":"411702","value":"","parentId":"411700"},
{"id":"411721","value":"","parentId":"411700"},
{"id":"411722","value":"","parentId":"411700"},
{"id":"411723","value":"","parentId":"411700"},
{"id":"411724","value":"","parentId":"411700"},
{"id":"411725","value":"","parentId":"411700"},
{"id":"411726","value":"","parentId":"411700"},
{"id":"411727","value":"","parentId":"411700"},
{"id":"411728","value":"","parentId":"411700"},
{"id":"411729","value":"","parentId":"411700"},
/******************/
{"id":"419001","value":"","parentId":"419001"},
/******************/
{"id":"420102","value":"","parentId":"420100"},
{"id":"420103","value":"","parentId":"420100"},
{"id":"420104","value":"","parentId":"420100"},
{"id":"420105","value":"","parentId":"420100"},
{"id":"420106","value":"","parentId":"420100"},
{"id":"420107","value":"","parentId":"420100"},
{"id":"420111","value":"","parentId":"420100"},
{"id":"420112","value":"","parentId":"420100"},
{"id":"420113","value":"","parentId":"420100"},
{"id":"420114","value":"","parentId":"420100"},
{"id":"420115","value":"","parentId":"420100"},
{"id":"420116","value":"","parentId":"420100"},
{"id":"420117","value":"","parentId":"420100"},
/******************/
{"id":"420202","value":"","parentId":"420200"},
{"id":"420203","value":"","parentId":"420200"},
{"id":"420204","value":"","parentId":"420200"},
{"id":"420205","value":"","parentId":"420200"},
{"id":"420222","value":"","parentId":"420200"},
{"id":"420281","value":"","parentId":"420200"},
/******************/
{"id":"420302","value":"","parentId":"420300"},
{"id":"420303","value":"","parentId":"420300"},
{"id":"420321","value":"","parentId":"420300"},
{"id":"420322","value":"","parentId":"420300"},
{"id":"420323","value":"","parentId":"420300"},
{"id":"420324","value":"","parentId":"420300"},
{"id":"420325","value":"","parentId":"420300"},
{"id":"420381","value":"","parentId":"420300"},
/******************/
{"id":"420502","value":"","parentId":"420500"},
{"id":"420503","value":"","parentId":"420500"},
{"id":"420504","value":"","parentId":"420500"},
{"id":"420505","value":"","parentId":"420500"},
{"id":"420506","value":"","parentId":"420500"},
{"id":"420525","value":"","parentId":"420500"},
{"id":"420526","value":"","parentId":"420500"},
{"id":"420527","value":"","parentId":"420500"},
{"id":"420528","value":"","parentId":"420500"},
{"id":"420529","value":"","parentId":"420500"},
{"id":"420581","value":"","parentId":"420500"},
{"id":"420582","value":"","parentId":"420500"},
{"id":"420583","value":"","parentId":"420500"},
/******************/
{"id":"420602","value":"","parentId":"420600"},
{"id":"420606","value":"","parentId":"420600"},
{"id":"420607","value":"","parentId":"420600"},
{"id":"420624","value":"","parentId":"420600"},
{"id":"420625","value":"","parentId":"420600"},
{"id":"420626","value":"","parentId":"420600"},
{"id":"420682","value":"","parentId":"420600"},
{"id":"420683","value":"","parentId":"420600"},
{"id":"420684","value":"","parentId":"420600"},
/******************/
{"id":"420702","value":"","parentId":"420700"},
{"id":"420703","value":"","parentId":"420700"},
{"id":"420704","value":"","parentId":"420700"},
/******************/
{"id":"420802","value":"","parentId":"420800"},
{"id":"420804","value":"","parentId":"420800"},
{"id":"420821","value":"","parentId":"420800"},
{"id":"420822","value":"","parentId":"420800"},
{"id":"420881","value":"","parentId":"420800"},
/******************/
{"id":"420902","value":"","parentId":"420900"},
{"id":"420921","value":"","parentId":"420900"},
{"id":"420922","value":"","parentId":"420900"},
{"id":"420923","value":"","parentId":"420900"},
{"id":"420981","value":"","parentId":"420900"},
{"id":"420982","value":"","parentId":"420900"},
{"id":"420984","value":"","parentId":"420900"},
/******************/
{"id":"421002","value":"","parentId":"421000"},
{"id":"421003","value":"","parentId":"421000"},
{"id":"421022","value":"","parentId":"421000"},
{"id":"421023","value":"","parentId":"421000"},
{"id":"421024","value":"","parentId":"421000"},
{"id":"421081","value":"","parentId":"421000"},
{"id":"421083","value":"","parentId":"421000"},
{"id":"421087","value":"","parentId":"421000"},
/******************/
{"id":"421102","value":"","parentId":"421100"},
{"id":"421121","value":"","parentId":"421100"},
{"id":"421122","value":"","parentId":"421100"},
{"id":"421123","value":"","parentId":"421100"},
{"id":"421124","value":"","parentId":"421100"},
{"id":"421125","value":"","parentId":"421100"},
{"id":"421126","value":"","parentId":"421100"},
{"id":"421127","value":"","parentId":"421100"},
{"id":"421181","value":"","parentId":"421100"},
{"id":"421182","value":"","parentId":"421100"},
/******************/
{"id":"421202","value":"","parentId":"421200"},
{"id":"421221","value":"","parentId":"421200"},
{"id":"421222","value":"","parentId":"421200"},
{"id":"421223","value":"","parentId":"421200"},
{"id":"421224","value":"","parentId":"421200"},
{"id":"421281","value":"","parentId":"421200"},
/******************/
{"id":"421303","value":"","parentId":"421300"},
{"id":"421321","value":"","parentId":"421300"},
{"id":"421381","value":"","parentId":"421300"},
/******************/
{"id":"422801","value":"","parentId":"422800"},
{"id":"422802","value":"","parentId":"422800"},
{"id":"422822","value":"","parentId":"422800"},
{"id":"422823","value":"","parentId":"422800"},
{"id":"422825","value":"","parentId":"422800"},
{"id":"422826","value":"","parentId":"422800"},
{"id":"422827","value":"","parentId":"422800"},
{"id":"422828","value":"","parentId":"422800"},
/******************/
{"id":"429004","value":"","parentId":"429004"},
{"id":"429005","value":"","parentId":"429005"},
{"id":"429006","value":"","parentId":"429006"},
{"id":"429021","value":"","parentId":"429021"},
/******************/
{"id":"430102","value":"","parentId":"430100"},
{"id":"430103","value":"","parentId":"430100"},
{"id":"430104","value":"","parentId":"430100"},
{"id":"430105","value":"","parentId":"430100"},
{"id":"430111","value":"","parentId":"430100"},
{"id":"430112","value":"","parentId":"430100"},
{"id":"430121","value":"","parentId":"430100"},
{"id":"430124","value":"","parentId":"430100"},
{"id":"430181","value":"","parentId":"430100"},
/******************/
{"id":"430202","value":"","parentId":"430200"},
{"id":"430203","value":"","parentId":"430200"},
{"id":"430204","value":"","parentId":"430200"},
{"id":"430211","value":"","parentId":"430200"},
{"id":"430221","value":"","parentId":"430200"},
{"id":"430223","value":"","parentId":"430200"},
{"id":"430224","value":"","parentId":"430200"},
{"id":"430225","value":"","parentId":"430200"},
{"id":"430281","value":"","parentId":"430200"},
/******************/
{"id":"430302","value":"","parentId":"430300"},
{"id":"430304","value":"","parentId":"430300"},
{"id":"430321","value":"","parentId":"430300"},
{"id":"430381","value":"","parentId":"430300"},
{"id":"430382","value":"","parentId":"430300"},
/******************/
{"id":"430405","value":"","parentId":"430400"},
{"id":"430406","value":"","parentId":"430400"},
{"id":"430407","value":"","parentId":"430400"},
{"id":"430408","value":"","parentId":"430400"},
{"id":"430412","value":"","parentId":"430400"},
{"id":"430421","value":"","parentId":"430400"},
{"id":"430422","value":"","parentId":"430400"},
{"id":"430423","value":"","parentId":"430400"},
{"id":"430424","value":"","parentId":"430400"},
{"id":"430426","value":"","parentId":"430400"},
{"id":"430481","value":"","parentId":"430400"},
{"id":"430482","value":"","parentId":"430400"},
/******************/
{"id":"430502","value":"","parentId":"430500"},
{"id":"430503","value":"","parentId":"430500"},
{"id":"430511","value":"","parentId":"430500"},
{"id":"430521","value":"","parentId":"430500"},
{"id":"430522","value":"","parentId":"430500"},
{"id":"430523","value":"","parentId":"430500"},
{"id":"430524","value":"","parentId":"430500"},
{"id":"430525","value":"","parentId":"430500"},
{"id":"430527","value":"","parentId":"430500"},
{"id":"430528","value":"","parentId":"430500"},
{"id":"430529","value":"","parentId":"430500"},
{"id":"430581","value":"","parentId":"430500"},
/******************/
{"id":"430602","value":"","parentId":"430600"},
{"id":"430603","value":"","parentId":"430600"},
{"id":"430611","value":"","parentId":"430600"},
{"id":"430621","value":"","parentId":"430600"},
{"id":"430623","value":"","parentId":"430600"},
{"id":"430624","value":"","parentId":"430600"},
{"id":"430626","value":"","parentId":"430600"},
{"id":"430681","value":"","parentId":"430600"},
{"id":"430682","value":"","parentId":"430600"},
/******************/
{"id":"430702","value":"","parentId":"430700"},
{"id":"430703","value":"","parentId":"430700"},
{"id":"430721","value":"","parentId":"430700"},
{"id":"430722","value":"","parentId":"430700"},
{"id":"430723","value":"","parentId":"430700"},
{"id":"430724","value":"","parentId":"430700"},
{"id":"430725","value":"","parentId":"430700"},
{"id":"430726","value":"","parentId":"430700"},
{"id":"430781","value":"","parentId":"430700"},
/******************/
{"id":"430802","value":"","parentId":"430800"},
{"id":"430811","value":"","parentId":"430800"},
{"id":"430821","value":"","parentId":"430800"},
{"id":"430822","value":"","parentId":"430800"},
/******************/
{"id":"430902","value":"","parentId":"430900"},
{"id":"430903","value":"","parentId":"430900"},
{"id":"430921","value":"","parentId":"430900"},
{"id":"430922","value":"","parentId":"430900"},
{"id":"430923","value":"","parentId":"430900"},
{"id":"430981","value":"","parentId":"430900"},
/******************/
{"id":"431002","value":"","parentId":"431000"},
{"id":"431003","value":"","parentId":"431000"},
{"id":"431021","value":"","parentId":"431000"},
{"id":"431022","value":"","parentId":"431000"},
{"id":"431023","value":"","parentId":"431000"},
{"id":"431024","value":"","parentId":"431000"},
{"id":"431025","value":"","parentId":"431000"},
{"id":"431026","value":"","parentId":"431000"},
{"id":"431027","value":"","parentId":"431000"},
{"id":"431028","value":"","parentId":"431000"},
{"id":"431081","value":"","parentId":"431000"},
/******************/
{"id":"431102","value":"","parentId":"431100"},
{"id":"431103","value":"","parentId":"431100"},
{"id":"431121","value":"","parentId":"431100"},
{"id":"431122","value":"","parentId":"431100"},
{"id":"431123","value":"","parentId":"431100"},
{"id":"431124","value":"","parentId":"431100"},
{"id":"431125","value":"","parentId":"431100"},
{"id":"431126","value":"","parentId":"431100"},
{"id":"431127","value":"","parentId":"431100"},
{"id":"431128","value":"","parentId":"431100"},
{"id":"431129","value":"","parentId":"431100"},
/******************/
{"id":"431202","value":"","parentId":"431200"},
{"id":"431221","value":"","parentId":"431200"},
{"id":"431222","value":"","parentId":"431200"},
{"id":"431223","value":"","parentId":"431200"},
{"id":"431224","value":"","parentId":"431200"},
{"id":"431225","value":"","parentId":"431200"},
{"id":"431226","value":"","parentId":"431200"},
{"id":"431227","value":"","parentId":"431200"},
{"id":"431228","value":"","parentId":"431200"},
{"id":"431229","value":"","parentId":"431200"},
{"id":"431230","value":"","parentId":"431200"},
{"id":"431281","value":"","parentId":"431200"},
/******************/
{"id":"431302","value":"","parentId":"431300"},
{"id":"431321","value":"","parentId":"431300"},
{"id":"431322","value":"","parentId":"431300"},
{"id":"431381","value":"","parentId":"431300"},
{"id":"431382","value":"","parentId":"431300"},
/******************/
{"id":"433101","value":"","parentId":"433100"},
{"id":"433122","value":"","parentId":"433100"},
{"id":"433123","value":"","parentId":"433100"},
{"id":"433124","value":"","parentId":"433100"},
{"id":"433125","value":"","parentId":"433100"},
{"id":"433126","value":"","parentId":"433100"},
{"id":"433127","value":"","parentId":"433100"},
{"id":"433130","value":"","parentId":"433100"},
/******************/
{"id":"440103","value":"","parentId":"440100"},
{"id":"440104","value":"","parentId":"440100"},
{"id":"440105","value":"","parentId":"440100"},
{"id":"440106","value":"","parentId":"440100"},
{"id":"440111","value":"","parentId":"440100"},
{"id":"440112","value":"","parentId":"440100"},
{"id":"440113","value":"","parentId":"440100"},
{"id":"440114","value":"","parentId":"440100"},
{"id":"440115","value":"","parentId":"440100"},
{"id":"440116","value":"","parentId":"440100"},
{"id":"440183","value":"","parentId":"440100"},
{"id":"440184","value":"","parentId":"440100"},
/******************/
{"id":"440203","value":"","parentId":"440200"},
{"id":"440204","value":"","parentId":"440200"},
{"id":"440205","value":"","parentId":"440200"},
{"id":"440222","value":"","parentId":"440200"},
{"id":"440224","value":"","parentId":"440200"},
{"id":"440229","value":"","parentId":"440200"},
{"id":"440232","value":"","parentId":"440200"},
{"id":"440233","value":"","parentId":"440200"},
{"id":"440281","value":"","parentId":"440200"},
{"id":"440282","value":"","parentId":"440200"},
/******************/
{"id":"440303","value":"","parentId":"440300"},
{"id":"440304","value":"","parentId":"440300"},
{"id":"440305","value":"","parentId":"440300"},
{"id":"440306","value":"","parentId":"440300"},
{"id":"440307","value":"","parentId":"440300"},
{"id":"440308","value":"","parentId":"440300"},
/******************/
{"id":"440402","value":"","parentId":"440400"},
{"id":"440403","value":"","parentId":"440400"},
{"id":"440404","value":"","parentId":"440400"},
/******************/
{"id":"440507","value":"","parentId":"440500"},
{"id":"440511","value":"","parentId":"440500"},
{"id":"440512","value":"","parentId":"440500"},
{"id":"440513","value":"","parentId":"440500"},
{"id":"440514","value":"","parentId":"440500"},
{"id":"440515","value":"","parentId":"440500"},
{"id":"440523","value":"","parentId":"440500"},
/******************/
{"id":"440604","value":"","parentId":"440600"},
{"id":"440605","value":"","parentId":"440600"},
{"id":"440606","value":"","parentId":"440600"},
{"id":"440607","value":"","parentId":"440600"},
{"id":"440608","value":"","parentId":"440600"},
/******************/
{"id":"440703","value":"","parentId":"440700"},
{"id":"440704","value":"","parentId":"440700"},
{"id":"440705","value":"","parentId":"440700"},
{"id":"440781","value":"","parentId":"440700"},
{"id":"440783","value":"","parentId":"440700"},
{"id":"440784","value":"","parentId":"440700"},
{"id":"440785","value":"","parentId":"440700"},
/******************/
{"id":"440802","value":"","parentId":"440800"},
{"id":"440803","value":"","parentId":"440800"},
{"id":"440804","value":"","parentId":"440800"},
{"id":"440811","value":"","parentId":"440800"},
{"id":"440823","value":"","parentId":"440800"},
{"id":"440825","value":"","parentId":"440800"},
{"id":"440881","value":"","parentId":"440800"},
{"id":"440882","value":"","parentId":"440800"},
{"id":"440883","value":"","parentId":"440800"},
/******************/
{"id":"440902","value":"","parentId":"440900"},
{"id":"440903","value":"","parentId":"440900"},
{"id":"440923","value":"","parentId":"440900"},
{"id":"440981","value":"","parentId":"440900"},
{"id":"440982","value":"","parentId":"440900"},
{"id":"440983","value":"","parentId":"440900"},
/******************/
{"id":"441202","value":"","parentId":"441200"},
{"id":"441203","value":"","parentId":"441200"},
{"id":"441223","value":"","parentId":"441200"},
{"id":"441224","value":"","parentId":"441200"},
{"id":"441225","value":"","parentId":"441200"},
{"id":"441226","value":"","parentId":"441200"},
{"id":"441283","value":"","parentId":"441200"},
{"id":"441284","value":"","parentId":"441200"},
/******************/
{"id":"441302","value":"","parentId":"441300"},
{"id":"441303","value":"","parentId":"441300"},
{"id":"441322","value":"","parentId":"441300"},
{"id":"441323","value":"","parentId":"441300"},
{"id":"441324","value":"","parentId":"441300"},
/******************/
{"id":"441402","value":"","parentId":"441400"},
{"id":"441421","value":"","parentId":"441400"},
{"id":"441422","value":"","parentId":"441400"},
{"id":"441423","value":"","parentId":"441400"},
{"id":"441424","value":"","parentId":"441400"},
{"id":"441426","value":"","parentId":"441400"},
{"id":"441427","value":"","parentId":"441400"},
{"id":"441481","value":"","parentId":"441400"},
/******************/
{"id":"441502","value":"","parentId":"441500"},
{"id":"441521","value":"","parentId":"441500"},
{"id":"441523","value":"","parentId":"441500"},
{"id":"441581","value":"","parentId":"441500"},
/******************/
{"id":"441602","value":"","parentId":"441600"},
{"id":"441621","value":"","parentId":"441600"},
{"id":"441622","value":"","parentId":"441600"},
{"id":"441623","value":"","parentId":"441600"},
{"id":"441624","value":"","parentId":"441600"},
{"id":"441625","value":"","parentId":"441600"},
/******************/
{"id":"441702","value":"","parentId":"441700"},
{"id":"441721","value":"","parentId":"441700"},
{"id":"441723","value":"","parentId":"441700"},
{"id":"441781","value":"","parentId":"441700"},
/******************/
{"id":"441802","value":"","parentId":"441800"},
{"id":"441821","value":"","parentId":"441800"},
{"id":"441823","value":"","parentId":"441800"},
{"id":"441825","value":"","parentId":"441800"},
{"id":"441826","value":"","parentId":"441800"},
{"id":"441827","value":"","parentId":"441800"},
{"id":"441881","value":"","parentId":"441800"},
{"id":"441882","value":"","parentId":"441800"},
/******************/
{"id":"441901","value":"","parentId":"441900"},
/******************/
{"id":"442001","value":"","parentId":"442000"},
/******************/
{"id":"445102","value":"","parentId":"445100"},
{"id":"445121","value":"","parentId":"445100"},
{"id":"445122","value":"","parentId":"445100"},
/******************/
{"id":"445202","value":"","parentId":"445200"},
{"id":"445221","value":"","parentId":"445200"},
{"id":"445222","value":"","parentId":"445200"},
{"id":"445224","value":"","parentId":"445200"},
{"id":"445281","value":"","parentId":"445200"},
/******************/
{"id":"445302","value":"","parentId":"445300"},
{"id":"445321","value":"","parentId":"445300"},
{"id":"445322","value":"","parentId":"445300"},
{"id":"445323","value":"","parentId":"445300"},
{"id":"445381","value":"","parentId":"445300"},
/******************/
{"id":"450102","value":"","parentId":"450100"},
{"id":"450103","value":"","parentId":"450100"},
{"id":"450105","value":"","parentId":"450100"},
{"id":"450107","value":"","parentId":"450100"},
{"id":"450108","value":"","parentId":"450100"},
{"id":"450109","value":"","parentId":"450100"},
{"id":"450122","value":"","parentId":"450100"},
{"id":"450123","value":"","parentId":"450100"},
{"id":"450124","value":"","parentId":"450100"},
{"id":"450125","value":"","parentId":"450100"},
{"id":"450126","value":"","parentId":"450100"},
{"id":"450127","value":"","parentId":"450100"},
/******************/
{"id":"450202","value":"","parentId":"450200"},
{"id":"450203","value":"","parentId":"450200"},
{"id":"450204","value":"","parentId":"450200"},
{"id":"450205","value":"","parentId":"450200"},
{"id":"450221","value":"","parentId":"450200"},
{"id":"450222","value":"","parentId":"450200"},
{"id":"450223","value":"","parentId":"450200"},
{"id":"450224","value":"","parentId":"450200"},
{"id":"450225","value":"","parentId":"450200"},
{"id":"450226","value":"","parentId":"450200"},
/******************/
{"id":"450302","value":"","parentId":"450300"},
{"id":"450303","value":"","parentId":"450300"},
{"id":"450304","value":"","parentId":"450300"},
{"id":"450305","value":"","parentId":"450300"},
{"id":"450311","value":"","parentId":"450300"},
{"id":"450321","value":"","parentId":"450300"},
{"id":"450322","value":"","parentId":"450300"},
{"id":"450323","value":"","parentId":"450300"},
{"id":"450324","value":"","parentId":"450300"},
{"id":"450325","value":"","parentId":"450300"},
{"id":"450326","value":"","parentId":"450300"},
{"id":"450327","value":"","parentId":"450300"},
{"id":"450328","value":"","parentId":"450300"},
{"id":"450329","value":"","parentId":"450300"},
{"id":"450330","value":"","parentId":"450300"},
{"id":"450331","value":"","parentId":"450300"},
{"id":"450332","value":"","parentId":"450300"},
/******************/
{"id":"450403","value":"","parentId":"450400"},
{"id":"450404","value":"","parentId":"450400"},
{"id":"450405","value":"","parentId":"450400"},
{"id":"450421","value":"","parentId":"450400"},
{"id":"450422","value":"","parentId":"450400"},
{"id":"450423","value":"","parentId":"450400"},
{"id":"450481","value":"","parentId":"450400"},
/******************/
{"id":"450502","value":"","parentId":"450500"},
{"id":"450503","value":"","parentId":"450500"},
{"id":"450512","value":"","parentId":"450500"},
{"id":"450521","value":"","parentId":"450500"},
/******************/
{"id":"450602","value":"","parentId":"450600"},
{"id":"450603","value":"","parentId":"450600"},
{"id":"450621","value":"","parentId":"450600"},
{"id":"450681","value":"","parentId":"450600"},
/******************/
{"id":"450702","value":"","parentId":"450700"},
{"id":"450703","value":"","parentId":"450700"},
{"id":"450721","value":"","parentId":"450700"},
{"id":"450722","value":"","parentId":"450700"},
/******************/
{"id":"450802","value":"","parentId":"450800"},
{"id":"450803","value":"","parentId":"450800"},
{"id":"450804","value":"","parentId":"450800"},
{"id":"450821","value":"","parentId":"450800"},
{"id":"450881","value":"","parentId":"450800"},
/******************/
{"id":"450902","value":"","parentId":"450900"},
{"id":"450921","value":"","parentId":"450900"},
{"id":"450922","value":"","parentId":"450900"},
{"id":"450923","value":"","parentId":"450900"},
{"id":"450924","value":"","parentId":"450900"},
{"id":"450981","value":"","parentId":"450900"},
/******************/
{"id":"451002","value":"","parentId":"451000"},
{"id":"451021","value":"","parentId":"451000"},
{"id":"451022","value":"","parentId":"451000"},
{"id":"451023","value":"","parentId":"451000"},
{"id":"451024","value":"","parentId":"451000"},
{"id":"451025","value":"","parentId":"451000"},
{"id":"451026","value":"","parentId":"451000"},
{"id":"451027","value":"","parentId":"451000"},
{"id":"451028","value":"","parentId":"451000"},
{"id":"451029","value":"","parentId":"451000"},
{"id":"451030","value":"","parentId":"451000"},
{"id":"451031","value":"","parentId":"451000"},
/******************/
{"id":"451102","value":"","parentId":"451100"},
{"id":"451119","value":"","parentId":"451100"},
{"id":"451121","value":"","parentId":"451100"},
{"id":"451122","value":"","parentId":"451100"},
{"id":"451123","value":"","parentId":"451100"},
/******************/
{"id":"451202","value":"","parentId":"451200"},
{"id":"451221","value":"","parentId":"451200"},
{"id":"451222","value":"","parentId":"451200"},
{"id":"451223","value":"","parentId":"451200"},
{"id":"451224","value":"","parentId":"451200"},
{"id":"451225","value":"","parentId":"451200"},
{"id":"451226","value":"","parentId":"451200"},
{"id":"451227","value":"","parentId":"451200"},
{"id":"451228","value":"","parentId":"451200"},
{"id":"451229","value":"","parentId":"451200"},
{"id":"451281","value":"","parentId":"451200"},
/******************/
{"id":"451302","value":"","parentId":"451300"},
{"id":"451321","value":"","parentId":"451300"},
{"id":"451322","value":"","parentId":"451300"},
{"id":"451323","value":"","parentId":"451300"},
{"id":"451324","value":"","parentId":"451300"},
{"id":"451381","value":"","parentId":"451300"},
/******************/
{"id":"451402","value":"","parentId":"451400"},
{"id":"451421","value":"","parentId":"451400"},
{"id":"451422","value":"","parentId":"451400"},
{"id":"451423","value":"","parentId":"451400"},
{"id":"451424","value":"","parentId":"451400"},
{"id":"451425","value":"","parentId":"451400"},
{"id":"451481","value":"","parentId":"451400"},
/******************/
{"id":"460105","value":"","parentId":"460100"},
{"id":"460106","value":"","parentId":"460100"},
{"id":"460107","value":"","parentId":"460100"},
{"id":"460108","value":"","parentId":"460100"},
/******************/
{"id":"460201","value":"","parentId":"460200"},
/******************/
{"id":"460301","value":"","parentId":"460300"},
/******************/
{"id":"469001","value":"","parentId":"469001"},
{"id":"469002","value":"","parentId":"469002"},
{"id":"469003","value":"","parentId":"469003"},
{"id":"469005","value":"","parentId":"469005"},
{"id":"469006","value":"","parentId":"469006"},
{"id":"469007","value":"","parentId":"469007"},
{"id":"469021","value":"","parentId":"469021"},
{"id":"469022","value":"","parentId":"469022"},
{"id":"469023","value":"","parentId":"469023"},
{"id":"469024","value":"","parentId":"469024"},
{"id":"469025","value":"","parentId":"469025"},
{"id":"469026","value":"","parentId":"469026"},
{"id":"469027","value":"","parentId":"469027"},
{"id":"469028","value":"","parentId":"469028"},
{"id":"469029","value":"","parentId":"469029"},
{"id":"469030","value":"","parentId":"469030"},
/******************/
{"id":"500101","value":"","parentId":"500100"},
{"id":"500102","value":"","parentId":"500100"},
{"id":"500103","value":"","parentId":"500100"},
{"id":"500104","value":"","parentId":"500100"},
{"id":"500105","value":"","parentId":"500100"},
{"id":"500106","value":"","parentId":"500100"},
{"id":"500107","value":"","parentId":"500100"},
{"id":"500108","value":"","parentId":"500100"},
{"id":"500109","value":"","parentId":"500100"},
{"id":"500110","value":"","parentId":"500100"},
{"id":"500111","value":"","parentId":"500100"},
{"id":"500112","value":"","parentId":"500100"},
{"id":"500113","value":"","parentId":"500100"},
{"id":"500114","value":"","parentId":"500100"},
{"id":"500115","value":"","parentId":"500100"},
{"id":"500116","value":"","parentId":"500100"},
{"id":"500117","value":"","parentId":"500100"},
{"id":"500118","value":"","parentId":"500100"},
{"id":"500119","value":"","parentId":"500100"},
/******************/
{"id":"510104","value":"","parentId":"510100"},
{"id":"510105","value":"","parentId":"510100"},
{"id":"510106","value":"","parentId":"510100"},
{"id":"510107","value":"","parentId":"510100"},
{"id":"510108","value":"","parentId":"510100"},
{"id":"510112","value":"","parentId":"510100"},
{"id":"510113","value":"","parentId":"510100"},
{"id":"510114","value":"","parentId":"510100"},
{"id":"510115","value":"","parentId":"510100"},
{"id":"510121","value":"","parentId":"510100"},
{"id":"510122","value":"","parentId":"510100"},
{"id":"510124","value":"","parentId":"510100"},
{"id":"510129","value":"","parentId":"510100"},
{"id":"510131","value":"","parentId":"510100"},
{"id":"510132","value":"","parentId":"510100"},
{"id":"510181","value":"","parentId":"510100"},
{"id":"510182","value":"","parentId":"510100"},
{"id":"510183","value":"","parentId":"510100"},
{"id":"510184","value":"","parentId":"510100"},
/******************/
{"id":"510302","value":"","parentId":"510300"},
{"id":"510303","value":"","parentId":"510300"},
{"id":"510304","value":"","parentId":"510300"},
{"id":"510311","value":"","parentId":"510300"},
{"id":"510321","value":"","parentId":"510300"},
{"id":"510322","value":"","parentId":"510300"},
/******************/
{"id":"510402","value":"","parentId":"510400"},
{"id":"510403","value":"","parentId":"510400"},
{"id":"510411","value":"","parentId":"510400"},
{"id":"510421","value":"","parentId":"510400"},
{"id":"510422","value":"","parentId":"510400"},
/******************/
{"id":"510502","value":"","parentId":"510500"},
{"id":"510503","value":"","parentId":"510500"},
{"id":"510504","value":"","parentId":"510500"},
{"id":"510521","value":"","parentId":"510500"},
{"id":"510522","value":"","parentId":"510500"},
{"id":"510524","value":"","parentId":"510500"},
{"id":"510525","value":"","parentId":"510500"},
/******************/
{"id":"510603","value":"","parentId":"510600"},
{"id":"510623","value":"","parentId":"510600"},
{"id":"510626","value":"","parentId":"510600"},
{"id":"510681","value":"","parentId":"510600"},
{"id":"510682","value":"","parentId":"510600"},
{"id":"510683","value":"","parentId":"510600"},
/******************/
{"id":"510703","value":"","parentId":"510700"},
{"id":"510704","value":"","parentId":"510700"},
{"id":"510722","value":"","parentId":"510700"},
{"id":"510723","value":"","parentId":"510700"},
{"id":"510724","value":"","parentId":"510700"},
{"id":"510725","value":"","parentId":"510700"},
{"id":"510726","value":"","parentId":"510700"},
{"id":"510727","value":"","parentId":"510700"},
{"id":"510781","value":"","parentId":"510700"},
/******************/
{"id":"510802","value":"","parentId":"510800"},
{"id":"510811","value":"","parentId":"510800"},
{"id":"510812","value":"","parentId":"510800"},
{"id":"510821","value":"","parentId":"510800"},
{"id":"510822","value":"","parentId":"510800"},
{"id":"510823","value":"","parentId":"510800"},
{"id":"510824","value":"","parentId":"510800"},
/******************/
{"id":"510903","value":"","parentId":"510900"},
{"id":"510904","value":"","parentId":"510900"},
{"id":"510921","value":"","parentId":"510900"},
{"id":"510922","value":"","parentId":"510900"},
{"id":"510923","value":"","parentId":"510900"},
/******************/
{"id":"511002","value":"","parentId":"511000"},
{"id":"511011","value":"","parentId":"511000"},
{"id":"511024","value":"","parentId":"511000"},
{"id":"511025","value":"","parentId":"511000"},
{"id":"511028","value":"","parentId":"511000"},
/******************/
{"id":"511102","value":"","parentId":"511100"},
{"id":"511111","value":"","parentId":"511100"},
{"id":"511112","value":"","parentId":"511100"},
{"id":"511113","value":"","parentId":"511100"},
{"id":"511123","value":"","parentId":"511100"},
{"id":"511124","value":"","parentId":"511100"},
{"id":"511126","value":"","parentId":"511100"},
{"id":"511129","value":"","parentId":"511100"},
{"id":"511132","value":"","parentId":"511100"},
{"id":"511133","value":"","parentId":"511100"},
{"id":"511181","value":"","parentId":"511100"},
/******************/
{"id":"511302","value":"","parentId":"511300"},
{"id":"511303","value":"","parentId":"511300"},
{"id":"511304","value":"","parentId":"511300"},
{"id":"511321","value":"","parentId":"511300"},
{"id":"511322","value":"","parentId":"511300"},
{"id":"511323","value":"","parentId":"511300"},
{"id":"511324","value":"","parentId":"511300"},
{"id":"511325","value":"","parentId":"511300"},
{"id":"511381","value":"","parentId":"511300"},
/******************/
{"id":"511402","value":"","parentId":"511400"},
{"id":"511421","value":"","parentId":"511400"},
{"id":"511422","value":"","parentId":"511400"},
{"id":"511423","value":"","parentId":"511400"},
{"id":"511424","value":"","parentId":"511400"},
{"id":"511425","value":"","parentId":"511400"},
/******************/
{"id":"511502","value":"","parentId":"511500"},
{"id":"511521","value":"","parentId":"511500"},
{"id":"511522","value":"","parentId":"511500"},
{"id":"511523","value":"","parentId":"511500"},
{"id":"511524","value":"","parentId":"511500"},
{"id":"511525","value":"","parentId":"511500"},
{"id":"511526","value":"","parentId":"511500"},
{"id":"511527","value":"","parentId":"511500"},
{"id":"511528","value":"","parentId":"511500"},
{"id":"511529","value":"","parentId":"511500"},
/******************/
{"id":"511602","value":"","parentId":"511600"},
{"id":"511621","value":"","parentId":"511600"},
{"id":"511622","value":"","parentId":"511600"},
{"id":"511623","value":"","parentId":"511600"},
{"id":"511681","value":"","parentId":"511600"},
/******************/
{"id":"511702","value":"","parentId":"511700"},
{"id":"511721","value":"","parentId":"511700"},
{"id":"511722","value":"","parentId":"511700"},
{"id":"511723","value":"","parentId":"511700"},
{"id":"511724","value":"","parentId":"511700"},
{"id":"511725","value":"","parentId":"511700"},
{"id":"511781","value":"","parentId":"511700"},
/******************/
{"id":"511802","value":"","parentId":"511800"},
{"id":"511821","value":"","parentId":"511800"},
{"id":"511822","value":"","parentId":"511800"},
{"id":"511823","value":"","parentId":"511800"},
{"id":"511824","value":"","parentId":"511800"},
{"id":"511825","value":"","parentId":"511800"},
{"id":"511826","value":"","parentId":"511800"},
{"id":"511827","value":"","parentId":"511800"},
/******************/
{"id":"511902","value":"","parentId":"511900"},
{"id":"511921","value":"","parentId":"511900"},
{"id":"511922","value":"","parentId":"511900"},
{"id":"511923","value":"","parentId":"511900"},
/******************/
{"id":"512002","value":"","parentId":"512000"},
{"id":"512021","value":"","parentId":"512000"},
{"id":"512022","value":"","parentId":"512000"},
{"id":"512081","value":"","parentId":"512000"},
/******************/
{"id":"513221","value":"","parentId":"513200"},
{"id":"513222","value":"","parentId":"513200"},
{"id":"513223","value":"","parentId":"513200"},
{"id":"513224","value":"","parentId":"513200"},
{"id":"513225","value":"","parentId":"513200"},
{"id":"513226","value":"","parentId":"513200"},
{"id":"513227","value":"","parentId":"513200"},
{"id":"513228","value":"","parentId":"513200"},
{"id":"513229","value":"","parentId":"513200"},
{"id":"513230","value":"","parentId":"513200"},
{"id":"513231","value":"","parentId":"513200"},
{"id":"513232","value":"","parentId":"513200"},
{"id":"513233","value":"","parentId":"513200"},
/******************/
{"id":"513321","value":"","parentId":"513300"},
{"id":"513322","value":"","parentId":"513300"},
{"id":"513323","value":"","parentId":"513300"},
{"id":"513324","value":"","parentId":"513300"},
{"id":"513325","value":"","parentId":"513300"},
{"id":"513326","value":"","parentId":"513300"},
{"id":"513327","value":"","parentId":"513300"},
{"id":"513328","value":"","parentId":"513300"},
{"id":"513329","value":"","parentId":"513300"},
{"id":"513330","value":"","parentId":"513300"},
{"id":"513331","value":"","parentId":"513300"},
{"id":"513332","value":"","parentId":"513300"},
{"id":"513333","value":"","parentId":"513300"},
{"id":"513334","value":"","parentId":"513300"},
{"id":"513335","value":"","parentId":"513300"},
{"id":"513336","value":"","parentId":"513300"},
{"id":"513337","value":"","parentId":"513300"},
{"id":"513338","value":"","parentId":"513300"},
/******************/
{"id":"513401","value":"","parentId":"513400"},
{"id":"513422","value":"","parentId":"513400"},
{"id":"513423","value":"","parentId":"513400"},
{"id":"513424","value":"","parentId":"513400"},
{"id":"513425","value":"","parentId":"513400"},
{"id":"513426","value":"","parentId":"513400"},
{"id":"513427","value":"","parentId":"513400"},
{"id":"513428","value":"","parentId":"513400"},
{"id":"513429","value":"","parentId":"513400"},
{"id":"513430","value":"","parentId":"513400"},
{"id":"513431","value":"","parentId":"513400"},
{"id":"513432","value":"","parentId":"513400"},
{"id":"513433","value":"","parentId":"513400"},
{"id":"513434","value":"","parentId":"513400"},
{"id":"513435","value":"","parentId":"513400"},
{"id":"513436","value":"","parentId":"513400"},
{"id":"513437","value":"","parentId":"513400"},
/******************/
{"id":"520102","value":"","parentId":"520100"},
{"id":"520103","value":"","parentId":"520100"},
{"id":"520111","value":"","parentId":"520100"},
{"id":"520112","value":"","parentId":"520100"},
{"id":"520113","value":"","parentId":"520100"},
{"id":"520114","value":"","parentId":"520100"},
{"id":"520121","value":"","parentId":"520100"},
{"id":"520122","value":"","parentId":"520100"},
{"id":"520123","value":"","parentId":"520100"},
{"id":"520181","value":"","parentId":"520100"},
/******************/
{"id":"520201","value":"","parentId":"520200"},
{"id":"520203","value":"","parentId":"520200"},
{"id":"520221","value":"","parentId":"520200"},
{"id":"520222","value":"","parentId":"520200"},
/******************/
{"id":"520302","value":"","parentId":"520300"},
{"id":"520303","value":"","parentId":"520300"},
{"id":"520321","value":"","parentId":"520300"},
{"id":"520322","value":"","parentId":"520300"},
{"id":"520323","value":"","parentId":"520300"},
{"id":"520324","value":"","parentId":"520300"},
{"id":"520325","value":"","parentId":"520300"},
{"id":"520326","value":"","parentId":"520300"},
{"id":"520327","value":"","parentId":"520300"},
{"id":"520328","value":"","parentId":"520300"},
{"id":"520329","value":"","parentId":"520300"},
{"id":"520330","value":"","parentId":"520300"},
{"id":"520381","value":"","parentId":"520300"},
{"id":"520382","value":"","parentId":"520300"},
/******************/
{"id":"520402","value":"","parentId":"520400"},
{"id":"520421","value":"","parentId":"520400"},
{"id":"520422","value":"","parentId":"520400"},
{"id":"520423","value":"","parentId":"520400"},
{"id":"520424","value":"","parentId":"520400"},
{"id":"520425","value":"","parentId":"520400"},
/******************/
{"id":"522201","value":"","parentId":"522200"},
/******************/
{"id":"522301","value":"","parentId":"522300"},
{"id":"522322","value":"","parentId":"522300"},
{"id":"522323","value":"","parentId":"522300"},
{"id":"522324","value":"","parentId":"522300"},
{"id":"522325","value":"","parentId":"522300"},
{"id":"522326","value":"","parentId":"522300"},
{"id":"522327","value":"","parentId":"522300"},
{"id":"522328","value":"","parentId":"522300"},
/******************/
{"id":"522401","value":"","parentId":"522400"},
/******************/
{"id":"522601","value":"","parentId":"522600"},
{"id":"522622","value":"","parentId":"522600"},
{"id":"522623","value":"","parentId":"522600"},
{"id":"522624","value":"","parentId":"522600"},
{"id":"522625","value":"","parentId":"522600"},
{"id":"522626","value":"","parentId":"522600"},
{"id":"522627","value":"","parentId":"522600"},
{"id":"522628","value":"","parentId":"522600"},
{"id":"522629","value":"","parentId":"522600"},
{"id":"522630","value":"","parentId":"522600"},
{"id":"522631","value":"","parentId":"522600"},
{"id":"522632","value":"","parentId":"522600"},
{"id":"522633","value":"","parentId":"522600"},
{"id":"522634","value":"","parentId":"522600"},
{"id":"522635","value":"","parentId":"522600"},
{"id":"522636","value":"","parentId":"522600"},
/******************/
{"id":"522701","value":"","parentId":"522700"},
{"id":"522702","value":"","parentId":"522700"},
{"id":"522722","value":"","parentId":"522700"},
{"id":"522723","value":"","parentId":"522700"},
{"id":"522725","value":"","parentId":"522700"},
{"id":"522726","value":"","parentId":"522700"},
{"id":"522727","value":"","parentId":"522700"},
{"id":"522728","value":"","parentId":"522700"},
{"id":"522729","value":"","parentId":"522700"},
{"id":"522730","value":"","parentId":"522700"},
{"id":"522731","value":"","parentId":"522700"},
{"id":"522732","value":"","parentId":"522700"},
/******************/
{"id":"530102","value":"","parentId":"530100"},
{"id":"530103","value":"","parentId":"530100"},
{"id":"530111","value":"","parentId":"530100"},
{"id":"530112","value":"","parentId":"530100"},
{"id":"530113","value":"","parentId":"530100"},
{"id":"530121","value":"","parentId":"530100"},
{"id":"530122","value":"","parentId":"530100"},
{"id":"530124","value":"","parentId":"530100"},
{"id":"530125","value":"","parentId":"530100"},
{"id":"530126","value":"","parentId":"530100"},
{"id":"530127","value":"","parentId":"530100"},
{"id":"530128","value":"","parentId":"530100"},
{"id":"530129","value":"","parentId":"530100"},
{"id":"530181","value":"","parentId":"530100"},
/******************/
{"id":"530302","value":"","parentId":"530300"},
{"id":"530321","value":"","parentId":"530300"},
{"id":"530322","value":"","parentId":"530300"},
{"id":"530323","value":"","parentId":"530300"},
{"id":"530324","value":"","parentId":"530300"},
{"id":"530325","value":"","parentId":"530300"},
{"id":"530326","value":"","parentId":"530300"},
{"id":"530328","value":"","parentId":"530300"},
{"id":"530381","value":"","parentId":"530300"},
/******************/
{"id":"530402","value":"","parentId":"530400"},
{"id":"530421","value":"","parentId":"530400"},
{"id":"530422","value":"","parentId":"530400"},
{"id":"530423","value":"","parentId":"530400"},
{"id":"530424","value":"","parentId":"530400"},
{"id":"530425","value":"","parentId":"530400"},
{"id":"530426","value":"","parentId":"530400"},
{"id":"530427","value":"","parentId":"530400"},
{"id":"530428","value":"","parentId":"530400"},
/******************/
{"id":"530502","value":"","parentId":"530500"},
{"id":"530521","value":"","parentId":"530500"},
{"id":"530522","value":"","parentId":"530500"},
{"id":"530523","value":"","parentId":"530500"},
{"id":"530524","value":"","parentId":"530500"},
/******************/
{"id":"530602","value":"","parentId":"530600"},
{"id":"530621","value":"","parentId":"530600"},
{"id":"530622","value":"","parentId":"530600"},
{"id":"530623","value":"","parentId":"530600"},
{"id":"530624","value":"","parentId":"530600"},
{"id":"530625","value":"","parentId":"530600"},
{"id":"530626","value":"","parentId":"530600"},
{"id":"530627","value":"","parentId":"530600"},
{"id":"530628","value":"","parentId":"530600"},
{"id":"530629","value":"","parentId":"530600"},
{"id":"530630","value":"","parentId":"530600"},
/******************/
{"id":"530702","value":"","parentId":"530700"},
{"id":"530721","value":"","parentId":"530700"},
{"id":"530722","value":"","parentId":"530700"},
{"id":"530723","value":"","parentId":"530700"},
{"id":"530724","value":"","parentId":"530700"},
/******************/
{"id":"530802","value":"","parentId":"530800"},
{"id":"530821","value":"","parentId":"530800"},
{"id":"530822","value":"","parentId":"530800"},
{"id":"530823","value":"","parentId":"530800"},
{"id":"530824","value":"","parentId":"530800"},
{"id":"530825","value":"","parentId":"530800"},
{"id":"530826","value":"","parentId":"530800"},
{"id":"530827","value":"","parentId":"530800"},
{"id":"530828","value":"","parentId":"530800"},
{"id":"530829","value":"","parentId":"530800"},
/******************/
{"id":"530902","value":"","parentId":"530900"},
{"id":"530921","value":"","parentId":"530900"},
{"id":"530922","value":"","parentId":"530900"},
{"id":"530923","value":"","parentId":"530900"},
{"id":"530924","value":"","parentId":"530900"},
{"id":"530925","value":"","parentId":"530900"},
{"id":"530926","value":"","parentId":"530900"},
{"id":"530927","value":"","parentId":"530900"},
/******************/
{"id":"532301","value":"","parentId":"532300"},
{"id":"532322","value":"","parentId":"532300"},
{"id":"532323","value":"","parentId":"532300"},
{"id":"532324","value":"","parentId":"532300"},
{"id":"532325","value":"","parentId":"532300"},
{"id":"532326","value":"","parentId":"532300"},
{"id":"532327","value":"","parentId":"532300"},
{"id":"532328","value":"","parentId":"532300"},
{"id":"532329","value":"","parentId":"532300"},
{"id":"532331","value":"","parentId":"532300"},
/******************/
{"id":"532501","value":"","parentId":"532500"},
{"id":"532502","value":"","parentId":"532500"},
{"id":"532503","value":"","parentId":"532500"},
{"id":"532523","value":"","parentId":"532500"},
{"id":"532524","value":"","parentId":"532500"},
{"id":"532525","value":"","parentId":"532500"},
{"id":"532526","value":"","parentId":"532500"},
{"id":"532527","value":"","parentId":"532500"},
{"id":"532528","value":"","parentId":"532500"},
{"id":"532529","value":"","parentId":"532500"},
{"id":"532530","value":"","parentId":"532500"},
{"id":"532531","value":"","parentId":"532500"},
{"id":"532532","value":"","parentId":"532500"},
/******************/
{"id":"532621","value":"","parentId":"532600"},
{"id":"532622","value":"","parentId":"532600"},
{"id":"532623","value":"","parentId":"532600"},
{"id":"532624","value":"","parentId":"532600"},
{"id":"532625","value":"","parentId":"532600"},
{"id":"532626","value":"","parentId":"532600"},
{"id":"532627","value":"","parentId":"532600"},
{"id":"532628","value":"","parentId":"532600"},
/******************/
{"id":"532801","value":"","parentId":"532800"},
{"id":"532822","value":"","parentId":"532800"},
{"id":"532823","value":"","parentId":"532800"},
/******************/
{"id":"532901","value":"","parentId":"532900"},
{"id":"532922","value":"","parentId":"532900"},
{"id":"532923","value":"","parentId":"532900"},
{"id":"532924","value":"","parentId":"532900"},
{"id":"532925","value":"","parentId":"532900"},
{"id":"532926","value":"","parentId":"532900"},
{"id":"532927","value":"","parentId":"532900"},
{"id":"532928","value":"","parentId":"532900"},
{"id":"532929","value":"","parentId":"532900"},
{"id":"532930","value":"","parentId":"532900"},
{"id":"532931","value":"","parentId":"532900"},
{"id":"532932","value":"","parentId":"532900"},
/******************/
{"id":"533102","value":"","parentId":"533100"},
{"id":"533103","value":"","parentId":"533100"},
{"id":"533122","value":"","parentId":"533100"},
{"id":"533123","value":"","parentId":"533100"},
{"id":"533124","value":"","parentId":"533100"},
/******************/
{"id":"533321","value":"","parentId":"533300"},
{"id":"533323","value":"","parentId":"533300"},
{"id":"533324","value":"","parentId":"533300"},
{"id":"533325","value":"","parentId":"533300"},
/******************/
{"id":"533421","value":"","parentId":"533400"},
{"id":"533422","value":"","parentId":"533400"},
{"id":"533423","value":"","parentId":"533400"},
/******************/
{"id":"540102","value":"","parentId":"540100"},
{"id":"540121","value":"","parentId":"540100"},
{"id":"540122","value":"","parentId":"540100"},
{"id":"540123","value":"","parentId":"540100"},
{"id":"540124","value":"","parentId":"540100"},
{"id":"540125","value":"","parentId":"540100"},
{"id":"540126","value":"","parentId":"540100"},
{"id":"540127","value":"","parentId":"540100"},
/******************/
{"id":"542121","value":"","parentId":"542100"},
{"id":"542122","value":"","parentId":"542100"},
{"id":"542123","value":"","parentId":"542100"},
{"id":"542124","value":"","parentId":"542100"},
{"id":"542125","value":"","parentId":"542100"},
{"id":"542126","value":"","parentId":"542100"},
{"id":"542127","value":"","parentId":"542100"},
{"id":"542128","value":"","parentId":"542100"},
{"id":"542129","value":"","parentId":"542100"},
{"id":"542132","value":"","parentId":"542100"},
{"id":"542133","value":"","parentId":"542100"},
/******************/
{"id":"542221","value":"","parentId":"542200"},
{"id":"542222","value":"","parentId":"542200"},
{"id":"542223","value":"","parentId":"542200"},
{"id":"542224","value":"","parentId":"542200"},
{"id":"542225","value":"","parentId":"542200"},
{"id":"542226","value":"","parentId":"542200"},
{"id":"542227","value":"","parentId":"542200"},
{"id":"542228","value":"","parentId":"542200"},
{"id":"542229","value":"","parentId":"542200"},
{"id":"542231","value":"","parentId":"542200"},
{"id":"542232","value":"","parentId":"542200"},
{"id":"542233","value":"","parentId":"542200"},
/******************/
{"id":"542301","value":"","parentId":"542300"},
{"id":"542322","value":"","parentId":"542300"},
{"id":"542323","value":"","parentId":"542300"},
{"id":"542324","value":"","parentId":"542300"},
{"id":"542325","value":"","parentId":"542300"},
{"id":"542326","value":"","parentId":"542300"},
{"id":"542327","value":"","parentId":"542300"},
{"id":"542328","value":"","parentId":"542300"},
{"id":"542329","value":"","parentId":"542300"},
{"id":"542330","value":"","parentId":"542300"},
{"id":"542331","value":"","parentId":"542300"},
{"id":"542332","value":"","parentId":"542300"},
{"id":"542333","value":"","parentId":"542300"},
{"id":"542334","value":"","parentId":"542300"},
{"id":"542335","value":"","parentId":"542300"},
{"id":"542336","value":"","parentId":"542300"},
{"id":"542337","value":"","parentId":"542300"},
{"id":"542338","value":"","parentId":"542300"},
/******************/
{"id":"542421","value":"","parentId":"542400"},
{"id":"542422","value":"","parentId":"542400"},
{"id":"542423","value":"","parentId":"542400"},
{"id":"542424","value":"","parentId":"542400"},
{"id":"542425","value":"","parentId":"542400"},
{"id":"542426","value":"","parentId":"542400"},
{"id":"542427","value":"","parentId":"542400"},
{"id":"542428","value":"","parentId":"542400"},
{"id":"542429","value":"","parentId":"542400"},
{"id":"542430","value":"","parentId":"542400"},
/******************/
{"id":"542521","value":"","parentId":"542500"},
{"id":"542522","value":"","parentId":"542500"},
{"id":"542523","value":"","parentId":"542500"},
{"id":"542524","value":"","parentId":"542500"},
{"id":"542525","value":"","parentId":"542500"},
{"id":"542526","value":"","parentId":"542500"},
{"id":"542527","value":"","parentId":"542500"},
/******************/
{"id":"542621","value":"","parentId":"542600"},
{"id":"542622","value":"","parentId":"542600"},
{"id":"542623","value":"","parentId":"542600"},
{"id":"542624","value":"","parentId":"542600"},
{"id":"542625","value":"","parentId":"542600"},
{"id":"542626","value":"","parentId":"542600"},
{"id":"542627","value":"","parentId":"542600"},
/******************/
{"id":"610102","value":"","parentId":"610100"},
{"id":"610103","value":"","parentId":"610100"},
{"id":"610104","value":"","parentId":"610100"},
{"id":"610111","value":"","parentId":"610100"},
{"id":"610112","value":"","parentId":"610100"},
{"id":"610113","value":"","parentId":"610100"},
{"id":"610114","value":"","parentId":"610100"},
{"id":"610115","value":"","parentId":"610100"},
{"id":"610116","value":"","parentId":"610100"},
{"id":"610122","value":"","parentId":"610100"},
{"id":"610124","value":"","parentId":"610100"},
{"id":"610125","value":"","parentId":"610100"},
{"id":"610126","value":"","parentId":"610100"},
/******************/
{"id":"610202","value":"","parentId":"610200"},
{"id":"610203","value":"","parentId":"610200"},
{"id":"610204","value":"","parentId":"610200"},
{"id":"610222","value":"","parentId":"610200"},
/******************/
{"id":"610302","value":"","parentId":"610300"},
{"id":"610303","value":"","parentId":"610300"},
{"id":"610304","value":"","parentId":"610300"},
{"id":"610322","value":"","parentId":"610300"},
{"id":"610323","value":"","parentId":"610300"},
{"id":"610324","value":"","parentId":"610300"},
{"id":"610326","value":"","parentId":"610300"},
{"id":"610327","value":"","parentId":"610300"},
{"id":"610328","value":"","parentId":"610300"},
{"id":"610329","value":"","parentId":"610300"},
{"id":"610330","value":"","parentId":"610300"},
{"id":"610331","value":"","parentId":"610300"},
/******************/
{"id":"610402","value":"","parentId":"610400"},
{"id":"610403","value":"","parentId":"610400"},
{"id":"610404","value":"","parentId":"610400"},
{"id":"610422","value":"","parentId":"610400"},
{"id":"610423","value":"","parentId":"610400"},
{"id":"610424","value":"","parentId":"610400"},
{"id":"610425","value":"","parentId":"610400"},
{"id":"610426","value":"","parentId":"610400"},
{"id":"610427","value":"","parentId":"610400"},
{"id":"610428","value":"","parentId":"610400"},
{"id":"610429","value":"","parentId":"610400"},
{"id":"610430","value":"","parentId":"610400"},
{"id":"610431","value":"","parentId":"610400"},
{"id":"610481","value":"","parentId":"610400"},
/******************/
{"id":"610502","value":"","parentId":"610500"},
{"id":"610521","value":"","parentId":"610500"},
{"id":"610522","value":"","parentId":"610500"},
{"id":"610523","value":"","parentId":"610500"},
{"id":"610524","value":"","parentId":"610500"},
{"id":"610525","value":"","parentId":"610500"},
{"id":"610526","value":"","parentId":"610500"},
{"id":"610527","value":"","parentId":"610500"},
{"id":"610528","value":"","parentId":"610500"},
{"id":"610581","value":"","parentId":"610500"},
{"id":"610582","value":"","parentId":"610500"},
/******************/
{"id":"610602","value":"","parentId":"610600"},
{"id":"610621","value":"","parentId":"610600"},
{"id":"610622","value":"","parentId":"610600"},
{"id":"610623","value":"","parentId":"610600"},
{"id":"610624","value":"","parentId":"610600"},
{"id":"610625","value":"","parentId":"610600"},
{"id":"610626","value":"","parentId":"610600"},
{"id":"610627","value":"","parentId":"610600"},
{"id":"610628","value":"","parentId":"610600"},
{"id":"610629","value":"","parentId":"610600"},
{"id":"610630","value":"","parentId":"610600"},
{"id":"610631","value":"","parentId":"610600"},
{"id":"610632","value":"","parentId":"610600"},
/******************/
{"id":"610702","value":"","parentId":"610700"},
{"id":"610721","value":"","parentId":"610700"},
{"id":"610722","value":"","parentId":"610700"},
{"id":"610723","value":"","parentId":"610700"},
{"id":"610724","value":"","parentId":"610700"},
{"id":"610725","value":"","parentId":"610700"},
{"id":"610726","value":"","parentId":"610700"},
{"id":"610727","value":"","parentId":"610700"},
{"id":"610728","value":"","parentId":"610700"},
{"id":"610729","value":"","parentId":"610700"},
{"id":"610730","value":"","parentId":"610700"},
/******************/
{"id":"610802","value":"","parentId":"610800"},
{"id":"610821","value":"","parentId":"610800"},
{"id":"610822","value":"","parentId":"610800"},
{"id":"610823","value":"","parentId":"610800"},
{"id":"610824","value":"","parentId":"610800"},
{"id":"610825","value":"","parentId":"610800"},
{"id":"610826","value":"","parentId":"610800"},
{"id":"610827","value":"","parentId":"610800"},
{"id":"610828","value":"","parentId":"610800"},
{"id":"610829","value":"","parentId":"610800"},
{"id":"610830","value":"","parentId":"610800"},
{"id":"610831","value":"","parentId":"610800"},
/******************/
{"id":"610902","value":"","parentId":"610900"},
{"id":"610921","value":"","parentId":"610900"},
{"id":"610922","value":"","parentId":"610900"},
{"id":"610923","value":"","parentId":"610900"},
{"id":"610924","value":"","parentId":"610900"},
{"id":"610925","value":"","parentId":"610900"},
{"id":"610926","value":"","parentId":"610900"},
{"id":"610927","value":"","parentId":"610900"},
{"id":"610928","value":"","parentId":"610900"},
{"id":"610929","value":"","parentId":"610900"},
/******************/
{"id":"611002","value":"","parentId":"611000"},
{"id":"611021","value":"","parentId":"611000"},
{"id":"611022","value":"","parentId":"611000"},
{"id":"611023","value":"","parentId":"611000"},
{"id":"611024","value":"","parentId":"611000"},
{"id":"611025","value":"","parentId":"611000"},
{"id":"611026","value":"","parentId":"611000"},
/******************/
{"id":"620102","value":"","parentId":"620100"},
{"id":"620103","value":"","parentId":"620100"},
{"id":"620104","value":"","parentId":"620100"},
{"id":"620105","value":"","parentId":"620100"},
{"id":"620111","value":"","parentId":"620100"},
{"id":"620121","value":"","parentId":"620100"},
{"id":"620122","value":"","parentId":"620100"},
{"id":"620123","value":"","parentId":"620100"},
/******************/
{"id":"620201","value":"","parentId":"620200"},
/******************/
{"id":"620302","value":"","parentId":"620300"},
{"id":"620321","value":"","parentId":"620300"},
/******************/
{"id":"620402","value":"","parentId":"620400"},
{"id":"620403","value":"","parentId":"620400"},
{"id":"620421","value":"","parentId":"620400"},
{"id":"620422","value":"","parentId":"620400"},
{"id":"620423","value":"","parentId":"620400"},
/******************/
{"id":"620502","value":"","parentId":"620500"},
{"id":"620503","value":"","parentId":"620500"},
{"id":"620521","value":"","parentId":"620500"},
{"id":"620522","value":"","parentId":"620500"},
{"id":"620523","value":"","parentId":"620500"},
{"id":"620524","value":"","parentId":"620500"},
{"id":"620525","value":"","parentId":"620500"},
/******************/
{"id":"620602","value":"","parentId":"620600"},
{"id":"620621","value":"","parentId":"620600"},
{"id":"620622","value":"","parentId":"620600"},
{"id":"620623","value":"","parentId":"620600"},
/******************/
{"id":"620702","value":"","parentId":"620700"},
{"id":"620721","value":"","parentId":"620700"},
{"id":"620722","value":"","parentId":"620700"},
{"id":"620723","value":"","parentId":"620700"},
{"id":"620724","value":"","parentId":"620700"},
{"id":"620725","value":"","parentId":"620700"},
/******************/
{"id":"620802","value":"","parentId":"620800"},
{"id":"620821","value":"","parentId":"620800"},
{"id":"620822","value":"","parentId":"620800"},
{"id":"620823","value":"","parentId":"620800"},
{"id":"620824","value":"","parentId":"620800"},
{"id":"620825","value":"","parentId":"620800"},
{"id":"620826","value":"","parentId":"620800"},
/******************/
{"id":"620902","value":"","parentId":"620900"},
{"id":"620921","value":"","parentId":"620900"},
{"id":"620922","value":"","parentId":"620900"},
{"id":"620923","value":"","parentId":"620900"},
{"id":"620924","value":"","parentId":"620900"},
{"id":"620981","value":"","parentId":"620900"},
{"id":"620982","value":"","parentId":"620900"},
/******************/
{"id":"621002","value":"","parentId":"621000"},
{"id":"621021","value":"","parentId":"621000"},
{"id":"621022","value":"","parentId":"621000"},
{"id":"621023","value":"","parentId":"621000"},
{"id":"621024","value":"","parentId":"621000"},
{"id":"621025","value":"","parentId":"621000"},
{"id":"621026","value":"","parentId":"621000"},
{"id":"621027","value":"","parentId":"621000"},
/******************/
{"id":"621102","value":"","parentId":"621100"},
{"id":"621121","value":"","parentId":"621100"},
{"id":"621122","value":"","parentId":"621100"},
{"id":"621123","value":"","parentId":"621100"},
{"id":"621124","value":"","parentId":"621100"},
{"id":"621125","value":"","parentId":"621100"},
{"id":"621126","value":"","parentId":"621100"},
/******************/
{"id":"621202","value":"","parentId":"621200"},
{"id":"621221","value":"","parentId":"621200"},
{"id":"621222","value":"","parentId":"621200"},
{"id":"621223","value":"","parentId":"621200"},
{"id":"621224","value":"","parentId":"621200"},
{"id":"621225","value":"","parentId":"621200"},
{"id":"621226","value":"","parentId":"621200"},
{"id":"621227","value":"","parentId":"621200"},
{"id":"621228","value":"","parentId":"621200"},
/******************/
{"id":"622901","value":"","parentId":"622900"},
{"id":"622921","value":"","parentId":"622900"},
{"id":"622922","value":"","parentId":"622900"},
{"id":"622923","value":"","parentId":"622900"},
{"id":"622924","value":"","parentId":"622900"},
{"id":"622925","value":"","parentId":"622900"},
{"id":"622926","value":"","parentId":"622900"},
{"id":"622927","value":"","parentId":"622900"},
/******************/
{"id":"623001","value":"","parentId":"623000"},
{"id":"623021","value":"","parentId":"623000"},
{"id":"623022","value":"","parentId":"623000"},
{"id":"623023","value":"","parentId":"623000"},
{"id":"623024","value":"","parentId":"623000"},
{"id":"623025","value":"","parentId":"623000"},
{"id":"623026","value":"","parentId":"623000"},
{"id":"623027","value":"","parentId":"623000"},
/******************/
{"id":"630102","value":"","parentId":"630100"},
{"id":"630103","value":"","parentId":"630100"},
{"id":"630104","value":"","parentId":"630100"},
{"id":"630105","value":"","parentId":"630100"},
{"id":"630121","value":"","parentId":"630100"},
{"id":"630122","value":"","parentId":"630100"},
{"id":"630123","value":"","parentId":"630100"},
/******************/
{"id":"632121","value":"","parentId":"632100"},
{"id":"632122","value":"","parentId":"632100"},
{"id":"632123","value":"","parentId":"632100"},
{"id":"632126","value":"","parentId":"632100"},
{"id":"632127","value":"","parentId":"632100"},
{"id":"632128","value":"","parentId":"632100"},
/******************/
{"id":"632221","value":"","parentId":"632200"},
{"id":"632222","value":"","parentId":"632200"},
{"id":"632223","value":"","parentId":"632200"},
{"id":"632224","value":"","parentId":"632200"},
/******************/
{"id":"632321","value":"","parentId":"632300"},
{"id":"632322","value":"","parentId":"632300"},
{"id":"632323","value":"","parentId":"632300"},
{"id":"632324","value":"","parentId":"632300"},
/******************/
{"id":"632521","value":"","parentId":"632500"},
{"id":"632522","value":"","parentId":"632500"},
{"id":"632523","value":"","parentId":"632500"},
{"id":"632524","value":"","parentId":"632500"},
{"id":"632525","value":"","parentId":"632500"},
/******************/
{"id":"632621","value":"","parentId":"632600"},
{"id":"632622","value":"","parentId":"632600"},
{"id":"632623","value":"","parentId":"632600"},
{"id":"632624","value":"","parentId":"632600"},
{"id":"632625","value":"","parentId":"632600"},
{"id":"632626","value":"","parentId":"632600"},
/******************/
{"id":"632721","value":"","parentId":"632700"},
{"id":"632722","value":"","parentId":"632700"},
{"id":"632723","value":"","parentId":"632700"},
{"id":"632724","value":"","parentId":"632700"},
{"id":"632725","value":"","parentId":"632700"},
{"id":"632726","value":"","parentId":"632700"},
/******************/
{"id":"632801","value":"","parentId":"632800"},
{"id":"632802","value":"","parentId":"632800"},
{"id":"632821","value":"","parentId":"632800"},
{"id":"632822","value":"","parentId":"632800"},
{"id":"632823","value":"","parentId":"632800"},
/******************/
{"id":"640104","value":"","parentId":"640100"},
{"id":"640105","value":"","parentId":"640100"},
{"id":"640106","value":"","parentId":"640100"},
{"id":"640121","value":"","parentId":"640100"},
{"id":"640122","value":"","parentId":"640100"},
{"id":"640181","value":"","parentId":"640100"},
/******************/
{"id":"640202","value":"","parentId":"640200"},
{"id":"640205","value":"","parentId":"640200"},
{"id":"640221","value":"","parentId":"640200"},
/******************/
{"id":"640302","value":"","parentId":"640300"},
{"id":"640303","value":"","parentId":"640300"},
{"id":"640323","value":"","parentId":"640300"},
{"id":"640324","value":"","parentId":"640300"},
{"id":"640381","value":"","parentId":"640300"},
/******************/
{"id":"640402","value":"","parentId":"640400"},
{"id":"640422","value":"","parentId":"640400"},
{"id":"640423","value":"","parentId":"640400"},
{"id":"640424","value":"","parentId":"640400"},
{"id":"640425","value":"","parentId":"640400"},
/******************/
{"id":"640502","value":"","parentId":"640500"},
{"id":"640521","value":"","parentId":"640500"},
{"id":"640522","value":"","parentId":"640500"},
/******************/
{"id":"650102","value":"","parentId":"650100"},
{"id":"650103","value":"","parentId":"650100"},
{"id":"650104","value":"","parentId":"650100"},
{"id":"650105","value":"","parentId":"650100"},
{"id":"650106","value":"","parentId":"650100"},
{"id":"650107","value":"","parentId":"650100"},
{"id":"650109","value":"","parentId":"650100"},
{"id":"650121","value":"","parentId":"650100"},
/******************/
{"id":"650202","value":"","parentId":"650200"},
{"id":"650203","value":"","parentId":"650200"},
{"id":"650204","value":"","parentId":"650200"},
{"id":"650205","value":"","parentId":"650200"},
/******************/
{"id":"652101","value":"","parentId":"652100"},
{"id":"652122","value":"","parentId":"652100"},
{"id":"652123","value":"","parentId":"652100"},
/******************/
{"id":"652201","value":"","parentId":"652200"},
{"id":"652222","value":"","parentId":"652200"},
{"id":"652223","value":"","parentId":"652200"},
/******************/
{"id":"652301","value":"","parentId":"652300"},
{"id":"652302","value":"","parentId":"652300"},
{"id":"652323","value":"","parentId":"652300"},
{"id":"652324","value":"","parentId":"652300"},
{"id":"652325","value":"","parentId":"652300"},
{"id":"652327","value":"","parentId":"652300"},
{"id":"652328","value":"","parentId":"652300"},
/******************/
{"id":"652701","value":"","parentId":"652700"},
{"id":"652722","value":"","parentId":"652700"},
{"id":"652723","value":"","parentId":"652700"},
/******************/
{"id":"652801","value":"","parentId":"652800"},
{"id":"652822","value":"","parentId":"652800"},
{"id":"652823","value":"","parentId":"652800"},
{"id":"652824","value":"","parentId":"652800"},
{"id":"652825","value":"","parentId":"652800"},
{"id":"652826","value":"","parentId":"652800"},
{"id":"652827","value":"","parentId":"652800"},
{"id":"652828","value":"","parentId":"652800"},
{"id":"652829","value":"","parentId":"652800"},
/******************/
{"id":"652901","value":"","parentId":"652900"},
{"id":"652922","value":"","parentId":"652900"},
{"id":"652923","value":"","parentId":"652900"},
{"id":"652924","value":"","parentId":"652900"},
{"id":"652925","value":"","parentId":"652900"},
{"id":"652926","value":"","parentId":"652900"},
{"id":"652927","value":"","parentId":"652900"},
{"id":"652928","value":"","parentId":"652900"},
{"id":"652929","value":"","parentId":"652900"},
/******************/
{"id":"653001","value":"","parentId":"653000"},
{"id":"653022","value":"","parentId":"653000"},
{"id":"653023","value":"","parentId":"653000"},
{"id":"653024","value":"","parentId":"653000"},
/******************/
{"id":"653101","value":"","parentId":"653100"},
{"id":"653121","value":"","parentId":"653100"},
{"id":"653122","value":"","parentId":"653100"},
{"id":"653123","value":"","parentId":"653100"},
{"id":"653124","value":"","parentId":"653100"},
{"id":"653125","value":"","parentId":"653100"},
{"id":"653126","value":"","parentId":"653100"},
{"id":"653127","value":"","parentId":"653100"},
{"id":"653128","value":"","parentId":"653100"},
{"id":"653129","value":"","parentId":"653100"},
{"id":"653130","value":"","parentId":"653100"},
{"id":"653131","value":"","parentId":"653100"},
/******************/
{"id":"653201","value":"","parentId":"653200"},
{"id":"653221","value":"","parentId":"653200"},
{"id":"653222","value":"","parentId":"653200"},
{"id":"653223","value":"","parentId":"653200"},
{"id":"653224","value":"","parentId":"653200"},
{"id":"653225","value":"","parentId":"653200"},
{"id":"653226","value":"","parentId":"653200"},
{"id":"653227","value":"","parentId":"653200"},
/******************/
{"id":"654002","value":"","parentId":"654000"},
{"id":"654003","value":"","parentId":"654000"},
{"id":"654021","value":"","parentId":"654000"},
{"id":"654022","value":"","parentId":"654000"},
{"id":"654023","value":"","parentId":"654000"},
{"id":"654024","value":"","parentId":"654000"},
{"id":"654025","value":"","parentId":"654000"},
{"id":"654026","value":"","parentId":"654000"},
{"id":"654027","value":"","parentId":"654000"},
{"id":"654028","value":"","parentId":"654000"},
/******************/
{"id":"654201","value":"","parentId":"654200"},
{"id":"654202","value":"","parentId":"654200"},
{"id":"654221","value":"","parentId":"654200"},
{"id":"654223","value":"","parentId":"654200"},
{"id":"654224","value":"","parentId":"654200"},
{"id":"654225","value":"","parentId":"654200"},
{"id":"654226","value":"","parentId":"654200"},
/******************/
{"id":"654301","value":"","parentId":"654300"},
{"id":"654321","value":"","parentId":"654300"},
{"id":"654322","value":"","parentId":"654300"},
{"id":"654323","value":"","parentId":"654300"},
{"id":"654324","value":"","parentId":"654300"},
{"id":"654325","value":"","parentId":"654300"},
{"id":"654326","value":"","parentId":"654300"},
/******************/
{"id":"659001","value":"","parentId":"659001"},
{"id":"659002","value":"","parentId":"659002"},
{"id":"659003","value":"","parentId":"659003"},
{"id":"659004","value":"","parentId":"659004"}
];
```
|
/content/code_sandbox/demo/ajax/areaData_v2.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 46,689
|
```javascript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Mock=e():t.Mock=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return t[r].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){var r,a=n(1),o=n(3),u=n(5),l=n(20),i=n(23),s=n(25);"undefined"!=typeof window&&(r=n(27));/*!
Mock - &
path_to_url
mozhi.gyy@taobao.com nuysoft@gmail.com
*/
var c={Handler:a,Random:u,Util:o,XHR:r,RE:l,toJSONSchema:i,valid:s,heredoc:o.heredoc,setup:function(t){return r.setup(t)},_mocked:{}};c.version="1.0.0-beta2",r&&(r.Mock=c),c.mock=function(t,e,n){return 1===arguments.length?a.gen(t):(2===arguments.length&&(n=e,e=void 0),r&&(window.XMLHttpRequest=r),c._mocked[t+(e||"")]={rurl:t,rtype:e,template:n},c)},t.exports=c},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function(t,e,n){e=void 0==e?"":e+"",n=n||{},n={path:n.path||[Constant.GUID],templatePath:n.templatePath||[Constant.GUID++],currentContext:n.currentContext,templateCurrentContext:n.templateCurrentContext||t,root:n.root||n.currentContext,templateRoot:n.templateRoot||n.templateCurrentContext||t};var r,a=Parser.parse(e),o=Util.type(t);return Handler[o]?(r=Handler[o]({type:o,template:t,name:e,parsedName:e?e.replace(Constant.RE_KEY,"$1"):e,rule:a,context:n}),n.root||(n.root=r),r):t},Handler.extend({array:function(t){var e,n,r=[];if(0===t.template.length)return r;if(t.rule.parameters)if(1===t.rule.min&&void 0===t.rule.max)t.context.path.push(t.name),t.context.templatePath.push(t.name),r=Random.pick(Handler.gen(t.template,void 0,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})),t.context.path.pop(),t.context.templatePath.pop();else if(t.rule.parameters[2])t.template.__order_index=t.template.__order_index||0,t.context.path.push(t.name),t.context.templatePath.push(t.name),r=Handler.gen(t.template,void 0,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})[t.template.__order_index%t.template.length],t.template.__order_index+=+t.rule.parameters[2],t.context.path.pop(),t.context.templatePath.pop();else for(e=0;e<t.rule.count;e++)for(n=0;n<t.template.length;n++)t.context.path.push(r.length),t.context.templatePath.push(n),r.push(Handler.gen(t.template[n],r.length,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})),t.context.path.pop(),t.context.templatePath.pop();else for(e=0;e<t.template.length;e++)t.context.path.push(e),t.context.templatePath.push(e),r.push(Handler.gen(t.template[e],e,{path:t.context.path,templatePath:t.context.templatePath,currentContext:r,templateCurrentContext:t.template,root:t.context.root||r,templateRoot:t.context.templateRoot||t.template})),t.context.path.pop(),t.context.templatePath.pop();return r},object:function(t){var e,n,r,a,o,u,l={};if(void 0!=t.rule.min)for(e=Util.keys(t.template),e=Random.shuffle(e),e=e.slice(0,t.rule.count),u=0;u<e.length;u++)r=e[u],a=r.replace(Constant.RE_KEY,"$1"),t.context.path.push(a),t.context.templatePath.push(r),l[a]=Handler.gen(t.template[r],r,{path:t.context.path,templatePath:t.context.templatePath,currentContext:l,templateCurrentContext:t.template,root:t.context.root||l,templateRoot:t.context.templateRoot||t.template}),t.context.path.pop(),t.context.templatePath.pop();else{e=[],n=[];for(r in t.template)("function"==typeof t.template[r]?n:e).push(r);for(e=e.concat(n),u=0;u<e.length;u++)r=e[u],a=r.replace(Constant.RE_KEY,"$1"),t.context.path.push(a),t.context.templatePath.push(r),l[a]=Handler.gen(t.template[r],r,{path:t.context.path,templatePath:t.context.templatePath,currentContext:l,templateCurrentContext:t.template,root:t.context.root||l,templateRoot:t.context.templateRoot||t.template}),t.context.path.pop(),t.context.templatePath.pop(),o=r.match(Constant.RE_KEY),o&&o[2]&&"number"===Util.type(t.template[r])&&(t.template[r]+=parseInt(o[2],10))}return l},number:function(t){var e,n;if(t.rule.decimal){for(t.template+="",n=t.template.split("."),n[0]=t.rule.range?t.rule.count:n[0],n[1]=(n[1]||"").slice(0,t.rule.dcount);n[1].length<t.rule.dcount;)n[1]+=n[1].length<t.rule.dcount-1?Random.character("number"):Random.character("123456789");e=parseFloat(n.join("."),10)}else e=t.rule.range&&!t.rule.parameters[2]?t.rule.count:t.template;return e},"boolean":function(t){var e;return e=t.rule.parameters?Random.bool(t.rule.min,t.rule.max,t.template):t.template},string:function(t){var e,n,r,a,o="";if(t.template.length){for(void 0==t.rule.count&&(o+=t.template),e=0;e<t.rule.count;e++)o+=t.template;for(n=o.match(Constant.RE_PLACEHOLDER)||[],e=0;e<n.length;e++)if(r=n[e],/^\\/.test(r))n.splice(e--,1);else{if(a=Handler.placeholder(r,t.context.currentContext,t.context.templateCurrentContext,t),1===n.length&&r===o&&typeof a!=typeof o){o=a;break}o=o.replace(r,a)}}else o=t.rule.range?Random.string(t.rule.count):t.template;return o},"function":function(t){return t.template.call(t.context.currentContext,t)},regexp:function(t){for(var e=t.template.source,n=0;n<t.rule.count;n++)e+=t.template.source;return RE.Handler.gen(RE.Parser.parse(e))}}),Handler.extend({_all:function(){var t={};for(var e in Random)t[e.toLowerCase()]=e;return t},placeholder:function(placeholder,obj,templateContext,options){Constant.RE_PLACEHOLDER.exec("");var parts=Constant.RE_PLACEHOLDER.exec(placeholder),key=parts&&parts[1],lkey=key&&key.toLowerCase(),okey=this._all()[lkey],params=parts&&parts[2]||"",pathParts=this.splitPathToArray(key);try{params=eval("(function(){ return [].splice.call(arguments, 0 ) })("+params+")")}catch(error){params=parts[2].split(/,\s*/)}if(obj&&key in obj)return obj[key];if("/"===key.charAt(0)||pathParts.length>1)return this.getValueByKeyPath(key,options);if(templateContext&&"object"==typeof templateContext&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random||lkey in Random||okey in Random))return placeholder;for(var i=0;i<params.length;i++)Constant.RE_PLACEHOLDER.exec(""),Constant.RE_PLACEHOLDER.test(params[i])&&(params[i]=Handler.placeholder(params[i],obj,templateContext,options));var handle=Random[key]||Random[lkey]||Random[okey];switch(Util.type(handle)){case"array":return Random.pick(handle);case"function":handle.options=options;var re=handle.apply(Random,params);return void 0===re&&(re=""),delete handle.options,re}},getValueByKeyPath:function(t,e){var n=t,r=this.splitPathToArray(t),a=[];"/"===t.charAt(0)?a=[e.context.path[0]].concat(this.normalizePath(r)):r.length>1&&(a=e.context.path.slice(0),a.pop(),a=this.normalizePath(a.concat(r))),t=r[r.length-1];for(var o=e.context.root,u=e.context.templateRoot,l=1;l<a.length-1;l++)o=o[a[l]],u=u[a[l]];return o&&t in o?o[t]:u&&"object"==typeof u&&t in u&&n!==u[t]?(u[t]=Handler.gen(u[t],t,{currentContext:o,templateCurrentContext:u}),u[t]):void 0},normalizePath:function(t){for(var e=[],n=0;n<t.length;n++)switch(t[n]){case"..":e.pop();break;case".":break;default:e.push(t[n])}return e},splitPathToArray:function(t){var e=t.split(/\/+/);return e[e.length-1]||(e=e.slice(0,-1)),e[0]||(e=e.slice(1)),e}}),module.exports=Handler},function(t,e){t.exports={GUID:1,RE_KEY:/(.+)\|(?:\+(\d+)|([\+\-]?\d+-?[\+\-]?\d*)?(?:\.(\d+-?\d*))?)/,RE_RANGE:/([\+\-]?\d+)-?([\+\-]?\d+)?/,RE_PLACEHOLDER:/\\*@([^@#%&()\?\s]+)(?:\((.*?)\))?/g}},function(t,e){var n={};n.extend=function(){var t,e,r,a,o,u=arguments[0]||{},l=1,i=arguments.length;for(1===i&&(u=this,l=0);i>l;l++)if(t=arguments[l])for(e in t)r=u[e],a=t[e],u!==a&&void 0!==a&&(n.isArray(a)||n.isObject(a)?(n.isArray(a)&&(o=r&&n.isArray(r)?r:[]),n.isObject(a)&&(o=r&&n.isObject(r)?r:{}),u[e]=n.extend(o,a)):u[e]=a);return u},n.each=function(t,e,n){var r,a;if("number"===this.type(t))for(r=0;t>r;r++)e(r,r);else if(t.length===+t.length)for(r=0;r<t.length&&e.call(n,t[r],r,t)!==!1;r++);else for(a in t)if(e.call(n,t[a],a,t)===!1)break},n.type=function(t){return null===t||void 0===t?String(t):Object.prototype.toString.call(t).match(/\[object (\w+)\]/)[1].toLowerCase()},n.each("String Object Array RegExp Function".split(" "),function(t){n["is"+t]=function(e){return n.type(e)===t.toLowerCase()}}),n.isObjectOrArray=function(t){return n.isObject(t)||n.isArray(t)},n.isNumeric=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},n.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e},n.values=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},n.heredoc=function(t){return t.toString().replace(/^[^\/]+\/\*!?/,"").replace(/\*\/[^\/]+$/,"").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")},n.noop=function(){},t.exports=n},function(t,e,n){var r=n(2),a=n(5);t.exports={parse:function(t){t=void 0==t?"":t+"";var e=(t||"").match(r.RE_KEY),n=e&&e[3]&&e[3].match(r.RE_RANGE),o=n&&n[1]&&parseInt(n[1],10),u=n&&n[2]&&parseInt(n[2],10),l=n?n[2]?a.integer(o,u):parseInt(n[1],10):void 0,i=e&&e[4]&&e[4].match(r.RE_RANGE),s=i&&parseInt(i[1],10),c=i&&parseInt(i[2],10),h=i?!i[2]&&parseInt(i[1],10)||a.integer(s,c):void 0,p={parameters:e,range:n,min:o,max:u,count:l,decimal:i,dmin:s,dmax:c,dcount:h};for(var f in p)if(void 0!=p[f])return p;return{}}}},function(t,e,n){var r=n(3),a={extend:r.extend};a.extend(n(6)),a.extend(n(7)),a.extend(n(8)),a.extend(n(10)),a.extend(n(13)),a.extend(n(15)),a.extend(n(16)),a.extend(n(17)),a.extend(n(14)),a.extend(n(19)),t.exports=a},function(t,e){t.exports={"boolean":function(t,e,n){return void 0!==n?(t="undefined"==typeof t||isNaN(t)?1:parseInt(t,10),e="undefined"==typeof e||isNaN(e)?1:parseInt(e,10),Math.random()>1/(t+e)*t?!n:n):Math.random()>=.5},bool:function(t,e,n){return this["boolean"](t,e,n)},natural:function(t,e){return t="undefined"!=typeof t?parseInt(t,10):0,e="undefined"!=typeof e?parseInt(e,10):9007199254740992,Math.round(Math.random()*(e-t))+t},integer:function(t,e){return t="undefined"!=typeof t?parseInt(t,10):-9007199254740992,e="undefined"!=typeof e?parseInt(e,10):9007199254740992,Math.round(Math.random()*(e-t))+t},"int":function(t,e){return this.integer(t,e)},"float":function(t,e,n,r){n=void 0===n?0:n,n=Math.max(Math.min(n,17),0),r=void 0===r?17:r,r=Math.max(Math.min(r,17),0);for(var a=this.integer(t,e)+".",o=0,u=this.natural(n,r);u>o;o++)a+=u-1>o?this.character("number"):this.character("123456789");return parseFloat(a,10)},character:function(t){var e={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",symbol:"!@#$%^&*()[]"};return e.alpha=e.lower+e.upper,e.undefined=e.lower+e.upper+e.number+e.symbol,t=e[(""+t).toLowerCase()]||t,t.charAt(this.natural(0,t.length-1))},"char":function(t){return this.character(t)},string:function(t,e,n){var r;switch(arguments.length){case 0:r=this.natural(3,7);break;case 1:r=t,t=void 0;break;case 2:"string"==typeof arguments[0]?r=e:(r=this.natural(t,e),t=void 0);break;case 3:r=this.natural(e,n)}for(var a="",o=0;r>o;o++)a+=this.character(t);return a},str:function(){return this.string.apply(this,arguments)},range:function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=arguments[2]||1,t=+t,e=+e,n=+n;for(var r=Math.max(Math.ceil((e-t)/n),0),a=0,o=new Array(r);r>a;)o[a++]=t,t+=n;return o}}},function(t,e){var n={yyyy:"getFullYear",yy:function(t){return(""+t.getFullYear()).slice(2)},y:"yy",MM:function(t){var e=t.getMonth()+1;return 10>e?"0"+e:e},M:function(t){return t.getMonth()+1},dd:function(t){var e=t.getDate();return 10>e?"0"+e:e},d:"getDate",HH:function(t){var e=t.getHours();return 10>e?"0"+e:e},H:"getHours",hh:function(t){var e=t.getHours()%12;return 10>e?"0"+e:e},h:function(t){return t.getHours()%12},mm:function(t){var e=t.getMinutes();return 10>e?"0"+e:e},m:"getMinutes",ss:function(t){var e=t.getSeconds();return 10>e?"0"+e:e},s:"getSeconds",SS:function(t){var e=t.getMilliseconds();return 10>e&&"00"+e||100>e&&"0"+e||e},S:"getMilliseconds",A:function(t){return t.getHours()<12?"AM":"PM"},a:function(t){return t.getHours()<12?"am":"pm"},T:"getTime"};t.exports={_patternLetters:n,_rformat:new RegExp(function(){var t=[];for(var e in n)t.push(e);return"("+t.join("|")+")"}(),"g"),_formatDate:function(t,e){return e.replace(this._rformat,function r(e,a){return"function"==typeof n[a]?n[a](t):n[a]in n?r(e,n[a]):t[n[a]]()})},_randomDate:function(t,e){return t=void 0===t?new Date(0):t,e=void 0===e?new Date:e,new Date(Math.random()*(e.getTime()-t.getTime()))},date:function(t){return t=t||"yyyy-MM-dd",this._formatDate(this._randomDate(),t)},time:function(t){return t=t||"HH:mm:ss",this._formatDate(this._randomDate(),t)},datetime:function(t){return t=t||"yyyy-MM-dd HH:mm:ss",this._formatDate(this._randomDate(),t)},now:function(t,e){1===arguments.length&&(/year|month|day|hour|minute|second|week/.test(t)||(e=t,t="")),t=(t||"").toLowerCase(),e=e||"yyyy-MM-dd HH:mm:ss";var n=new Date;switch(t){case"year":n.setMonth(0);case"month":n.setDate(1);case"week":case"day":n.setHours(0);case"hour":n.setMinutes(0);case"minute":n.setSeconds(0);case"second":n.setMilliseconds(0)}switch(t){case"week":n.setDate(n.getDate()-n.getDay())}return this._formatDate(n,e)}}},function(t,e,n){(function(t){t.exports={_adSize:["300x250","250x250","240x400","336x280","180x150","720x300","468x60","234x60","88x31","120x90","120x60","120x240","125x125","728x90","160x600","120x600","300x600"],_screenSize:["320x200","320x240","640x480","800x480","800x480","1024x600","1024x768","1280x800","1440x900","1920x1200","2560x1600"],_videoSize:["720x480","768x576","1280x720","1920x1080"],image:function(t,e,n,r,a){return 4===arguments.length&&(a=r,r=void 0),3===arguments.length&&(a=n,n=void 0),t||(t=this.pick(this._adSize)),e&&~e.indexOf("#")&&(e=e.slice(1)),n&&~n.indexOf("#")&&(n=n.slice(1)),"path_to_url"+t+(e?"/"+e:"")+(n?"/"+n:"")+(r?"."+r:"")+(a?"&text="+a:"")},img:function(){return this.image.apply(this,arguments)},_brandColors:{"4ormat":"#fb0a2a","500px":"#02adea","About.me (blue)":"#00405d","About.me (yellow)":"#ffcc33",Addvocate:"#ff6138",Adobe:"#ff0000",Aim:"#fcd20b",Amazon:"#e47911",Android:"#a4c639","Angie's List":"#7fbb00",AOL:"#0060a3",Atlassian:"#003366",Behance:"#053eff","Big Cartel":"#97b538",bitly:"#ee6123",Blogger:"#fc4f08",Boeing:"#0039a6","Booking.com":"#003580",Carbonmade:"#613854",Cheddar:"#ff7243","Code School":"#3d4944",Delicious:"#205cc0",Dell:"#3287c1",Designmoo:"#e54a4f",Deviantart:"#4e6252","Designer News":"#2d72da",Devour:"#fd0001",DEWALT:"#febd17","Disqus (blue)":"#59a3fc","Disqus (orange)":"#db7132",Dribbble:"#ea4c89",Dropbox:"#3d9ae8",Drupal:"#0c76ab",Dunked:"#2a323a",eBay:"#89c507",Ember:"#f05e1b",Engadget:"#00bdf6",Envato:"#528036",Etsy:"#eb6d20",Evernote:"#5ba525","Fab.com":"#dd0017",Facebook:"#3b5998",Firefox:"#e66000","Flickr (blue)":"#0063dc","Flickr (pink)":"#ff0084",Forrst:"#5b9a68",Foursquare:"#25a0ca",Garmin:"#007cc3",GetGlue:"#2d75a2",Gimmebar:"#f70078",GitHub:"#171515","Google Blue":"#0140ca","Google Green":"#16a61e","Google Red":"#dd1812","Google Yellow":"#fcca03","Google+":"#dd4b39",Grooveshark:"#f77f00",Groupon:"#82b548","Hacker News":"#ff6600",HelloWallet:"#0085ca","Heroku (light)":"#c7c5e6","Heroku (dark)":"#6567a5",HootSuite:"#003366",Houzz:"#73ba37",HTML5:"#ec6231",IKEA:"#ffcc33",IMDb:"#f3ce13",Instagram:"#3f729b",Intel:"#0071c5",Intuit:"#365ebf",Kickstarter:"#76cc1e",kippt:"#e03500",Kodery:"#00af81",LastFM:"#c3000d",LinkedIn:"#0e76a8",Livestream:"#cf0005",Lumo:"#576396",Mixpanel:"#a086d3",Meetup:"#e51937",Nokia:"#183693",NVIDIA:"#76b900",Opera:"#cc0f16",Path:"#e41f11","PayPal (dark)":"#1e477a","PayPal (light)":"#3b7bbf",Pinboard:"#0000e6",Pinterest:"#c8232c",PlayStation:"#665cbe",Pocket:"#ee4056",Prezi:"#318bff",Pusha:"#0f71b4",Quora:"#a82400","QUOTE.fm":"#66ceff",Rdio:"#008fd5",Readability:"#9c0000","Red Hat":"#cc0000",Resource:"#7eb400",Rockpack:"#0ba6ab",Roon:"#62b0d9",RSS:"#ee802f",Salesforce:"#1798c1",Samsung:"#0c4da2",Shopify:"#96bf48",Skype:"#00aff0",Snagajob:"#f47a20",Softonic:"#008ace",SoundCloud:"#ff7700","Space Box":"#f86960",Spotify:"#81b71a",Sprint:"#fee100",Squarespace:"#121212",StackOverflow:"#ef8236",Staples:"#cc0000","Status Chart":"#d7584f",Stripe:"#008cdd",StudyBlue:"#00afe1",StumbleUpon:"#f74425","T-Mobile":"#ea0a8e",Technorati:"#40a800","The Next Web":"#ef4423",Treehouse:"#5cb868",Trulia:"#5eab1f",Tumblr:"#34526f","Twitch.tv":"#6441a5",Twitter:"#00acee",TYPO3:"#ff8700",Ubuntu:"#dd4814",Ustream:"#3388ff",Verizon:"#ef1d1d",Vimeo:"#86c9ef",Vine:"#00a478",Virb:"#06afd8","Virgin Media":"#cc0000",Wooga:"#5b009c","WordPress (blue)":"#21759b","WordPress (orange)":"#d54e21","WordPress (grey)":"#464646",Wunderlist:"#2b88d9",XBOX:"#9bc848",XING:"#126567","Yahoo!":"#720e9e",Yandex:"#ffcc00",Yelp:"#c41200",YouTube:"#c4302b",Zalongo:"#5498dc",Zendesk:"#78a300",Zerply:"#9dcc7a",Zootool:"#5e8b1d"},_brandNames:function(){var t=[];for(var e in this._brandColors)t.push(e);return t},dataImage:function(e,n){var r;if("undefined"!=typeof document)r=document.createElement("canvas");else{var a=t.require("canvas");r=new a}var o=r&&r.getContext&&r.getContext("2d");if(!r||!o)return"";e||(e=this.pick(this._adSize)),n=void 0!==n?n:e,e=e.split("x");var u=parseInt(e[0],10),l=parseInt(e[1],10),i=this._brandColors[this.pick(this._brandNames())],s="#FFF",c=14,h="sans-serif";return r.width=u,r.height=l,o.textAlign="center",o.textBaseline="middle",o.fillStyle=i,o.fillRect(0,0,u,l),o.fillStyle=s,o.font="bold "+c+"px "+h,o.fillText(n,u/2,l/2,u),r.toDataURL("image/png")}}}).call(e,n(9)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){var r=n(11),a=n(12);t.exports={color:function(t){return t||a[t]?a[t].nicer:this.hex()},hex:function(){var t=this._goldenRatioColor(),e=r.hsv2rgb(t),n=r.rgb2hex(e[0],e[1],e[2]);return n},rgb:function(){var t=this._goldenRatioColor(),e=r.hsv2rgb(t);return"rgb("+parseInt(e[0],10)+", "+parseInt(e[1],10)+", "+parseInt(e[2],10)+")"},rgba:function(){var t=this._goldenRatioColor(),e=r.hsv2rgb(t);return"rgba("+parseInt(e[0],10)+", "+parseInt(e[1],10)+", "+parseInt(e[2],10)+", "+Math.random().toFixed(2)+")"},hsl:function(){var t=this._goldenRatioColor(),e=r.hsv2hsl(t);return"hsl("+parseInt(e[0],10)+", "+parseInt(e[1],10)+", "+parseInt(e[2],10)+")"},_goldenRatioColor:function(t,e){return this._goldenRatio=.618033988749895,this._hue=this._hue||Math.random(),this._hue+=this._goldenRatio,this._hue%=1,"number"!=typeof t&&(t=.5),"number"!=typeof e&&(e=.95),[360*this._hue,100*t,100*e]}}},function(t,e){t.exports={rgb2hsl:function(t){var e,n,r,a=t[0]/255,o=t[1]/255,u=t[2]/255,l=Math.min(a,o,u),i=Math.max(a,o,u),s=i-l;return i==l?e=0:a==i?e=(o-u)/s:o==i?e=2+(u-a)/s:u==i&&(e=4+(a-o)/s),e=Math.min(60*e,360),0>e&&(e+=360),r=(l+i)/2,n=i==l?0:.5>=r?s/(i+l):s/(2-i-l),[e,100*n,100*r]},rgb2hsv:function(t){var e,n,r,a=t[0],o=t[1],u=t[2],l=Math.min(a,o,u),i=Math.max(a,o,u),s=i-l;return n=0===i?0:s/i*1e3/10,i==l?e=0:a==i?e=(o-u)/s:o==i?e=2+(u-a)/s:u==i&&(e=4+(a-o)/s),e=Math.min(60*e,360),0>e&&(e+=360),r=i/255*1e3/10,[e,n,r]},hsl2rgb:function(t){var e,n,r,a,o,u=t[0]/360,l=t[1]/100,i=t[2]/100;if(0===l)return o=255*i,[o,o,o];n=.5>i?i*(1+l):i+l-i*l,e=2*i-n,a=[0,0,0];for(var s=0;3>s;s++)r=u+1/3*-(s-1),0>r&&r++,r>1&&r--,o=1>6*r?e+6*(n-e)*r:1>2*r?n:2>3*r?e+(n-e)*(2/3-r)*6:e,a[s]=255*o;return a},hsl2hsv:function(t){var e,n,r=t[0],a=t[1]/100,o=t[2]/100;return o*=2,a*=1>=o?o:2-o,n=(o+a)/2,e=2*a/(o+a),[r,100*e,100*n]},hsv2rgb:function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,a=Math.floor(e)%6,o=e-Math.floor(e),u=255*r*(1-n),l=255*r*(1-n*o),i=255*r*(1-n*(1-o));switch(r=255*r,a){case 0:return[r,i,u];case 1:return[l,r,u];case 2:return[u,r,i];case 3:return[u,l,r];case 4:return[i,u,r];case 5:return[r,u,l]}},hsv2hsl:function(t){var e,n,r=t[0],a=t[1]/100,o=t[2]/100;return n=(2-a)*o,e=a*o,e/=1>=n?n:2-n,n/=2,[r,100*e,100*n]},rgb2hex:function(t,e,n){return"#"+((256+t<<8|e)<<8|n).toString(16).slice(1)},hex2rgb:function(t){return t="0x"+t.slice(1).replace(t.length>4?t:/./g,"$&$&")|0,[t>>16,t>>8&255,255&t]}}},function(t,e){t.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function(t,e,n){function r(t,e,n,r){return void 0===n?a.natural(t,e):void 0===r?n:a.natural(parseInt(n,10),parseInt(r,10))}var a=n(6),o=n(14);t.exports={paragraph:function(t,e){for(var n=r(3,7,t,e),a=[],o=0;n>o;o++)a.push(this.sentence());return a.join(" ")},cparagraph:function(t,e){for(var n=r(3,7,t,e),a=[],o=0;n>o;o++)a.push(this.csentence());return a.join("")},sentence:function(t,e){for(var n=r(12,18,t,e),a=[],u=0;n>u;u++)a.push(this.word());return o.capitalize(a.join(" "))+"."},csentence:function(t,e){for(var n=r(12,18,t,e),a=[],o=0;n>o;o++)a.push(this.cword());return a.join("")+""},word:function(t,e){for(var n=r(3,10,t,e),o="",u=0;n>u;u++)o+=a.character("lower");return o},cword:function(t,e,n){var r,a="";switch(arguments.length){case 0:t=a,r=1;break;case 1:"string"==typeof arguments[0]?r=1:(r=t,t=a);break;case 2:"string"==typeof arguments[0]?r=e:(r=this.natural(t,e),t=a);break;case 3:r=this.natural(e,n)}for(var o="",u=0;r>u;u++)o+=t.charAt(this.natural(0,t.length-1));return o},title:function(t,e){for(var n=r(3,7,t,e),a=[],o=0;n>o;o++)a.push(this.capitalize(this.word()));return a.join(" ")},ctitle:function(t,e){for(var n=r(3,7,t,e),a=[],o=0;n>o;o++)a.push(this.cword());return a.join("")}}},function(t,e){t.exports={capitalize:function(t){return(t+"").charAt(0).toUpperCase()+(t+"").substr(1)},upper:function(t){return(t+"").toUpperCase()},lower:function(t){return(t+"").toLowerCase()},pick:function(t,e,n){switch(t=t||[],arguments.length){case 1:return t[this.natural(0,t.length-1)];case 2:n=e;case 3:return this.shuffle(t,e,n)}},shuffle:function(t,e,n){t=t||[];for(var r=t.slice(0),a=[],o=0,u=r.length,l=0;u>l;l++)o=this.natural(0,r.length-1),a.push(r[o]),r.splice(o,1);switch(arguments.length){case 0:case 1:return a;case 2:n=e;case 3:return e=parseInt(e,10),n=parseInt(n,10),a.slice(0,this.natural(e,n))}},order:function n(t){n.cache=n.cache||{},arguments.length>1&&(t=[].slice.call(arguments,0));var e=n.options,r=e.context.templatePath.join("."),a=n.cache[r]=n.cache[r]||{index:0,array:t};return a.array[a.index++%a.array.length]}}},function(t,e){t.exports={first:function(){var t=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(t)},last:function(){var t=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(t)},name:function(t){return this.first()+" "+(t?this.first()+" ":"")+this.last()},cfirst:function(){var t=" ".split(" ");return this.pick(t)},clast:function(){var t=" ".split(" ");return this.pick(t)},cname:function(){return this.cfirst()+this.clast()}}},function(t,e){t.exports={url:function(t,e){return(t||this.protocol())+"://"+(e||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(t){return this.word()+"."+(t||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn . . tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(t){return this.character("lower")+"."+this.word()+"@"+(t||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function(t,e,n){var r=n(18),a=["","","","","","",""];t.exports={region:function(){return this.pick(a)},province:function(){return this.pick(r).name},city:function(t){var e=this.pick(r),n=this.pick(e.children);return t?[e.name,n.name].join(" "):n.name},county:function(t){var e=this.pick(r),n=this.pick(e.children),a=this.pick(n.children)||{name:"-"};return t?[e.name,n.name,a.name].join(" "):a.name},zip:function(t){for(var e="",n=0;(t||6)>n;n++)e+=this.natural(0,9);return e}}},function(t,e){function n(t){for(var e,n={},r=0;r<t.length;r++)e=t[r],e&&e.id&&(n[e.id]=e);for(var a=[],o=0;o<t.length;o++)if(e=t[o])if(void 0!=e.pid||void 0!=e.parentId){var u=n[e.pid]||n[e.parentId];u&&(u.children||(u.children=[]),u.children.push(e))}else a.push(e);return a}var r={110000:"",110100:"",110101:"",110102:"",110105:"",110106:"",110107:"",110108:"",110109:"",110111:"",110112:"",110113:"",110114:"",110115:"",110116:"",110117:"",110228:"",110229:"",110230:"",120000:"",120100:"",120101:"",120102:"",120103:"",120104:"",120105:"",120106:"",120110:"",120111:"",120112:"",120113:"",120114:"",120115:"",120116:"",120221:"",120223:"",120225:"",120226:"",130000:"",130100:"",130102:"",130103:"",130104:"",130105:"",130107:"",130108:"",130121:"",130123:"",130124:"",130125:"",130126:"",130127:"",130128:"",130129:"",130130:"",130131:"",130132:"",130133:"",130181:"",130182:"",130183:"",130184:"",130185:"",130186:"",130200:"",130202:"",130203:"",130204:"",130205:"",130207:"",130208:"",130223:"",130224:"",130225:"",130227:"",130229:"",130230:"",130281:"",130283:"",130284:"",130300:"",130302:"",130303:"",130304:"",130321:"",130322:"",130323:"",130324:"",130398:"",130400:"",130402:"",130403:"",130404:"",130406:"",130421:"",130423:"",130424:"",130425:"",130426:"",130427:"",130428:"",130429:"",130430:"",130431:"",130432:"",130433:"",130434:"",130435:"",130481:"",130482:"",130500:"",130502:"",130503:"",130521:"",130522:"",130523:"",130524:"",130525:"",130526:"",130527:"",130528:"",130529:"",130530:"",130531:"",130532:"",130533:"",130534:"",130535:"",130581:"",130582:"",130583:"",130600:"",130602:"",130603:"",130604:"",130621:"",130622:"",130623:"",130624:"",130625:"",130626:"",130627:"",130628:"",130629:"",130630:"",130631:"",130632:"",130633:"",130634:"",130635:"",130636:"",130637:"",130638:"",130681:"",130682:"",130683:"",130684:"",130699:"",130700:"",130702:"",130703:"",130705:"",130706:"",130721:"",130722:"",130723:"",130724:"",130725:"",130726:"",130727:"",130728:"",130729:"",130730:"",130731:"",130732:"",130733:"",130734:"",130800:"",130802:"",130803:"",130804:"",130821:"",130822:"",130823:"",130824:"",130825:"",130826:"",130827:"",130828:"",130829:"",130900:"",130902:"",130903:"",130921:"",130922:"",130923:"",130924:"",130925:"",130926:"",130927:"",130928:"",130929:"",130930:"",130981:"",130982:"",130983:"",130984:"",130985:"",131000:"",131002:"",131003:"",131022:"",131023:"",131024:"",131025:"",131026:"",131028:"",131081:"",131082:"",131083:"",131100:"",131102:"",131121:"",131122:"",131123:"",131124:"",131125:"",131126:"",131127:"",131128:"",131181:"",131182:"",131183:"",140000:"",140100:"",140105:"",140106:"",140107:"",140108:"",140109:"",140110:"",140121:"",140122:"",140123:"",140181:"",140182:"",140200:"",140202:"",140203:"",140211:"",140212:"",140221:"",140222:"",140223:"",140224:"",140225:"",140226:"",140227:"",140228:"",140300:"",140302:"",140303:"",140311:"",140321:"",140322:"",140323:"",140400:"",140421:"",140423:"",140424:"",140425:"",140426:"",140427:"",140428:"",140429:"",140430:"",140431:"",140481:"",140482:"",140483:"",140485:"",140500:"",140502:"",140521:"",140522:"",140524:"",140525:"",140581:"",140582:"",140600:"",140602:"",140603:"",140621:"",140622:"",140623:"",140624:"",140625:"",140700:"",140702:"",140721:"",140722:"",140723:"",140724:"",140725:"",140726:"",140727:"",140728:"",140729:"",140781:"",140782:"",140800:"",140802:"",140821:"",140822:"",140823:"",140824:"",140825:"",140826:"",140827:"",140828:"",140829:"",140830:"",140881:"",140882:"",140883:"",140900:"",140902:"",140921:"",140922:"",140923:"",140924:"",140925:"",140926:"",140927:"",140928:"",140929:"",140930:"",140931:"",140932:"",140981:"",140982:"",141000:"",141002:"",141021:"",141022:"",141023:"",141024:"",141025:"",141026:"",141027:"",141028:"",141029:"",141030:"",141031:"",141032:"",141033:"",141034:"",141081:"",141082:"",141083:"",141100:"",141102:"",141121:"",141122:"",141123:"",141124:"",141125:"",141126:"",141127:"",141128:"",141129:"",141130:"",141181:"",141182:"",141183:"",150000:"",150100:"",150102:"",150103:"",150104:"",150105:"",150121:"",150122:"",150123:"",150124:"",150125:"",150126:"",
150200:"",150202:"",150203:"",150204:"",150205:"",150206:"",150207:"",150221:"",150222:"",150223:"",150224:"",150300:"",150302:"",150303:"",150304:"",150305:"",150400:"",150402:"",150403:"",150404:"",150421:"",150422:"",150423:"",150424:"",150425:"",150426:"",150428:"",150429:"",150430:"",150431:"",150500:"",150502:"",150521:"",150522:"",150523:"",150524:"",150525:"",150526:"",150581:"",150582:"",150600:"",150602:"",150621:"",150622:"",150623:"",150624:"",150625:"",150626:"",150627:"",150628:"",150700:"",150702:"",150703:"",150721:"",150722:"",150723:"",150724:"",150725:"",150726:"",150727:"",150781:"",150782:"",150783:"",150784:"",150785:"",150786:"",150800:"",150802:"",150821:"",150822:"",150823:"",150824:"",150825:"",150826:"",150827:"",150900:"",150902:"",150921:"",150922:"",150923:"",150924:"",150925:"",150926:"",150927:"",150928:"",150929:"",150981:"",150982:"",152200:"",152201:"",152202:"",152221:"",152222:"",152223:"",152224:"",152225:"",152500:"",152501:"",152502:"",152522:"",152523:"",152524:"",152525:"",152526:"",152527:"",152528:"",152529:"",152530:"",152531:"",152532:"",152900:"",152921:"",152922:"",152923:"",152924:"",210000:"",210100:"",210102:"",210103:"",210104:"",210105:"",210106:"",210111:"",210112:"",210113:"",210114:"",210122:"",210123:"",210124:"",210181:"",210184:"",210185:"",210200:"",210202:"",210203:"",210204:"",210211:"",210212:"",210213:"",210224:"",210281:"",210282:"",210283:"",210298:"",210300:"",210302:"",210303:"",210304:"",210311:"",210321:"",210323:"",210381:"",210382:"",210400:"",210402:"",210403:"",210404:"",210411:"",210421:"",210422:"",210423:"",210424:"",210500:"",210502:"",210503:"",210504:"",210505:"",210521:"",210522:"",210523:"",210600:"",210602:"",210603:"",210604:"",210624:"",210681:"",210682:"",210683:"",210700:"",210702:"",210703:"",210711:"",210726:"",210727:"",210781:"",210782:"",210783:"",210800:"",210802:"",210803:"",210804:"",210811:"",210881:"",210882:"",210883:"",210900:"",210902:"",210903:"",210904:"",210905:"",210911:"",210921:"",210922:"",210923:"",211000:"",211002:"",211003:"",211004:"",211005:"",211011:"",211021:"",211081:"",211082:"",211100:"",211102:"",211103:"",211121:"",211122:"",211123:"",211200:"",211202:"",211204:"",211221:"",211223:"",211224:"",211281:"",211282:"",211283:"",211300:"",211302:"",211303:"",211321:"",211322:"",211324:"",211381:"",211382:"",211383:"",211400:"",211402:"",211403:"",211404:"",211421:"",211422:"",211481:"",211482:"",220000:"",220100:"",220102:"",220103:"",220104:"",220105:"",220106:"",220112:"",220122:"",220181:"",220182:"",220183:"",220188:"",220200:"",220202:"",220203:"",220204:"",220211:"",220221:"",220281:"",220282:"",220283:"",220284:"",220285:"",220300:"",220302:"",220303:"",220322:"",220323:"",220381:"",220382:"",220383:"",220400:"",220402:"",220403:"",220421:"",220422:"",220423:"",220500:"",220502:"",220503:"",220521:"",220523:"",220524:"",220581:"",220582:"",220583:"",220600:"",220602:"",220621:"",220622:"",220623:"",220625:"",220681:"",220682:"",220700:"",220702:"",220721:"",220722:"",220723:"",220724:"",220725:"",220800:"",220802:"",220821:"",220822:"",220881:"",220882:"",220883:"",222400:"",222401:"",222402:"",222403:"",222404:"",222405:"",222406:"",222424:"",222426:"",222427:"",230000:"",230100:"",230102:"",230103:"",230104:"",230106:"",230108:"",230109:"",230111:"",230123:"",230124:"",230125:"",230126:"",230127:"",230128:"",230129:"",230181:"",230182:"",230183:"",230184:"",230186:"",230200:"",230202:"",230203:"",230204:"",230205:"",230206:"",230207:"",230208:"",230221:"",230223:"",230224:"",230225:"",230227:"",230229:"",230230:"",230231:"",230281:"",230282:"",230300:"",230302:"",230303:"",230304:"",230305:"",230306:"",230307:"",230321:"",230381:"",230382:"",230383:"",230400:"",230402:"",230403:"",230404:"",230405:"",230406:"",230407:"",230421:"",230422:"",230423:"",230500:"",230502:"",230503:"",230505:"",230506:"",230521:"",230522:"",230523:"",230524:"",230525:"",230600:"",230602:"",230603:"",230604:"",230605:"",230606:"",230621:"",230622:"",230623:"",230624:"",230625:"",230700:"",230702:"",230703:"",230704:"",230705:"",230706:"",230707:"",230708:"",230709:"",230710:"",230711:"",230712:"",230713:"",230714:"",230715:"",230716:"",230722:"",230781:"",230782:"",230800:"",230803:"",230804:"",230805:"",230811:"",230822:"",230826:"",230828:"",230833:"",230881:"",230882:"",230883:"",230900:"",230902:"",230903:"",230904:"",230921:"",230922:"",231000:"",231002:"",231003:"",231004:"",231005:"",231024:"",231025:"",231081:"",231083:"",231084:"",231085:"",231086:"",231100:"",231102:"",231121:"",231123:"",231124:"",231181:"",231182:"",231183:"",231200:"",231202:"",231221:"",231222:"",231223:"",231224:"",231225:"",231226:"",231281:"",231282:"",231283:"",231284:"",232700:"",232702:"",232703:"",232704:"",232721:"",232722:"",232723:"",232724:"",232725:"",310000:"",310100:"",310101:"",310104:"",310105:"",310106:"",310107:"",310108:"",310109:"",310110:"",310112:"",310113:"",310114:"",310115:"",310116:"",310117:"",310118:"",310120:"",310230:"",310231:"",320000:"",320100:"",320102:"",320104:"",320105:"",320106:"",320111:"",320113:"",320114:"",320115:"",320116:"",320124:"",320125:"",320126:"",320200:"",320202:"",320203:"",320204:"",320205:"",320206:"",320211:"",320281:"",320282:"",320297:"",320300:"",320302:"",320303:"",320305:"",320311:"",320321:"",320322:"",320323:"",320324:"",320381:"",320382:"",320383:"",320400:"",320402:"",320404:"",320405:"",320411:"",320412:"",320481:"",320482:"",320483:"",320500:"",320505:"",320506:"",320507:"",320508:"",320581:"",320582:"",320583:"",320584:"",320585:"",320596:"",320600:"",320602:"",320611:"",320612:"",320621:"",320623:"",320681:"",320682:"",320684:"",320694:"",320700:"",320703:"",320705:"",320706:"",320721:"",320722:"",320723:"",320724:"",320725:"",320800:"",320802:"",320803:"",320804:"",320811:"",320826:"",320829:"",320830:"",320831:"",320832:"",320900:"",320902:"",320903:"",320921:"",320922:"",320923:"",320924:"",320925:"",320981:"",320982:"",320983:"",321000:"",321002:"",321003:"",321023:"",321081:"",321084:"",321088:"",321093:"",321100:"",321102:"",321111:"",321112:"",321181:"",321182:"",321183:"",321184:"",321200:"",321202:"",321203:"",321281:"",321282:"",321283:"",321284:"",321285:"",321300:"",321302:"",321311:"",321322:"",321323:"",321324:"",321325:"",330000:"",330100:"",330102:"",330103:"",330104:"",330105:"",330106:"",330108:"",330109:"",330110:"",330122:"",330127:"",330182:"",330183:"",330185:"",330186:"",330200:"",330203:"",330204:"",330205:"",330206:"",330211:"",330212:"",330225:"",330226:"",330281:"",330282:"",330283:"",330284:"",330300:"",330302:"",330303:"",330304:"",330322:"",330324:"",330326:"",330327:"",330328:"",330329:"",330381:"",330382:"",330383:"",330400:"",330402:"",330411:"",330421:"",330424:"",330481:"",330482:"",330483:"",330484:"",330500:"",330502:"",330503:"",330521:"",330522:"",330523:"",330524:"",330600:"",330602:"",330621:"",330624:"",330681:"",330682:"",330683:"",330684:"",330700:"",330702:"",330703:"",330723:"",330726:"",330727:"",330781:"",330782:"",330783:"",330784:"",330785:"",330800:"",330802:"",330803:"",330822:"",330824:"",330825:"",330881:"",330882:"",330900:"",330902:"",330903:"",330921:"",330922:"",330923:"",331000:"",331002:"",331003:"",331004:"",331021:"",331022:"",331023:"",331024:"",331081:"",331082:"",331083:"",331100:"",331102:"",331121:"",331122:"",331123:"",331124:"",331125:"",331126:"",331127:"",331181:"",331182:"",340000:"",340100:"",340102:"",340103:"",340104:"",340111:"",340121:"",340122:"",340123:"",340192:"",340200:"",340202:"",340203:"",340207:"",340208:"",340221:"",340222:"",340223:"",340224:"",340300:"",340302:"",340303:"",340304:"",340311:"",340321:"",340322:"",340323:"",340324:"",340400:"",340402:"",340403:"",340404:"",340405:"",340406:"",340421:"",340422:"",340500:"",340503:"",340504:"",340506:"",340521:"",340522:"",340600:"",340602:"",340603:"",340604:"",340621:"",340622:"",340700:"",340702:"",340703:"",340711:"",340721:"",340722:"",340800:"",340802:"",340803:"",340811:"",340822:"",340823:"",340824:"",340825:"",340826:"",340827:"",340828:"",340881:"",340882:"",341000:"",341002:"",341003:"",341004:"",341021:"",341022:"",341023:"",341024:"",341025:"",341100:"",341102:"",341103:"",341122:"",341124:"",341125:"",341126:"",341181:"",341182:"",341183:"",341200:"",341202:"",341203:"",341204:"",341221:"",341222:"",341225:"",341226:"",341282:"",341283:"",341300:"",341302:"",341321:"",341322:"",341323:"",341324:"",341325:"",341400:"",341421:"",341422:"",341423:"",341424:"",341500:"",341502:"",341503:"",341521:"",341522:"",341523:"",341524:"",341525:"",341526:"",341600:"",341602:"",341621:"",341622:"",341623:"",341624:"",341700:"",341702:"",341721:"",341722:"",341723:"",341724:"",341800:"",341802:"",341821:"",341822:"",341823:"",341824:"",341825:"",341881:"",341882:"",350000:"",350100:"",350102:"",350103:"",350104:"",350105:"",350111:"",350121:"",350122:"",350123:"",350124:"",350125:"",350128:"",350181:"",350182:"",350183:"",350200:"",350203:"",350205:"",350206:"",350211:"",350212:"",350213:"",350214:"",350300:"",350302:"",350303:"",350304:"",350305:"",350322:"",350323:"",350400:"",350402:"",350403:"",350421:"",350423:"",350424:"",350425:"",350426:"",350427:"",350428:"",350429:"",350430:"",350481:"",350482:"",350500:"",350502:"",350503:"",350504:"",350505:"",350521:"",350524:"",350525:"",350526:"",350527:"",350581:"",350582:"",350583:"",350584:"",350600:"",350602:"",350603:"",350622:"",350623:"",350624:"",350625:"",350626:"",350627:"",350628:"",350629:"",350681:"",350682:"",350700:"",350702:"",350721:"",350722:"",350723:"",350724:"",350725:"",350781:"",350782:"",350783:"",350784:"",350785:"",350800:"",350802:"",350821:"",350822:"",350823:"",350824:"",350825:"",350881:"",350882:"",350900:"",350902:"",350921:"",350922:"",350923:"",350924:"",350925:"",350926:"",350981:"",350982:"",350983:"",360000:"",360100:"",360102:"",360103:"",360104:"",360105:"",360111:"",360121:"",360122:"",360123:"",360124:"",360128:"",360200:"",360202:"",360203:"",360222:"",360281:"",360282:"",360300:"",360302:"",360313:"",360321:"",360322:"",360323:"",360324:"",360400:"",360402:"",360403:"",360421:"",360423:"",360424:"",360425:"",360426:"",360427:"",360428:"",360429:"",360430:"",360481:"",360482:"",360483:"",360500:"",360502:"",360521:"",360522:"",360600:"",360602:"",360622:"",360681:"",360682:"",360700:"",360702:"",360721:"",360722:"",360723:"",360724:"",360725:"",360726:"",360727:"",360728:"",360729:"",360730:"",360731:"",360732:"",360733:"",360734:"",360735:"",360781:"",360782:"",360783:"",360800:"",360802:"",360803:"",360821:"",360822:"",360823:"",360824:"",360825:"",360826:"",360827:"",360828:"",360829:"",360830:"",360881:"",360882:"",360900:"",360902:"",360921:"",360922:"",360923:"",360924:"",360925:"",360926:"",360981:"",360982:"",360983:"",360984:"",361000:"",361002:"",361021:"",361022:"",361023:"",361024:"",361025:"",361026:"",361027:"",361028:"",361029:"",361030:"",361031:"",361100:"",361102:"",361121:"",361122:"",361123:"",361124:"",361125:"",361126:"",361127:"",361128:"",361129:"",361130:"",361181:"",361182:"",370000:"",370100:"",370102:"",370103:"",370104:"",370105:"",370112:"",370113:"",370124:"",370125:"",370126:"",370181:"",370182:"",370200:"",370202:"",370203:"",370211:"",370212:"",370213:"",370214:"",370281:"",370282:"",370283:"",370285:"",370286:"",370300:"",370302:"",370303:"",370304:"",370305:"",370306:"",370321:"",370322:"",370323:"",370324:"",370400:"",370402:"",370403:"",370404:"",370405:"",370406:"",370481:"",370482:"",370500:"",370502:"",370503:"",370521:"",370522:"",370523:"",370591:"",370600:"",370602:"",370611:"",370612:"",370613:"",370634:"",370681:"",370682:"",370683:"",370684:"",370685:"",370686:"",370687:"",370688:"",370700:"",370702:"",370703:"",370704:"",370705:"",370724:"",370725:"",370781:"",370782:"",370783:"",370784:"",370785:"",370786:"",370787:"",370800:"",370802:"",370811:"",370826:"",370827:"",370828:"",370829:"",370830:"",370831:"",370832:"",370881:"",370882:"",370883:"",370884:"",370900:"",370902:"",370903:"",370921:"",370923:"",370982:"",370983:"",370984:"",371000:"",371002:"",371081:"",371082:"",371083:"",371084:"",371100:"",371102:"",371103:"",371121:"",371122:"",371123:"",371200:"",371202:"",371203:"",371204:"",371300:"",371302:"",371311:"",371312:"",371321:"",371322:"",371323:"",371324:"",371325:"",371326:"",371327:"",371328:"",371329:"",371330:"",371400:"",371402:"",371421:"",371422:"",371423:"",371424:"",371425:"",371426:"",371427:"",371428:"",371481:"",371482:"",371483:"",371500:"",371502:"",371521:"",371522:"",371523:"",371524:"",371525:"",371526:"",371581:"",371582:"",371600:"",371602:"",371621:"",371622:"",371623:"",371624:"",371625:"",371626:"",371627:"",371700:"",371702:"",371721:"",371722:"",371723:"",371724:"",371725:"",371726:"",371727:"",371728:"",371729:"",410000:"",410100:"",410102:"",410103:"",410104:"",410105:"",410106:"",410108:"",410122:"",410181:"",410182:"",410183:"",410184:"",410185:"",410188:"",410200:"",410202:"",410203:"",410204:"",410205:"",410211:"",410221:"",410222:"",410223:"",410224:"",410225:"",410226:"",410300:"",410302:"",410303:"",410304:"",410305:"",410306:"",410307:"",410322:"",410323:"",410324:"",410325:"",410326:"",410327:"",410328:"",410329:"",410381:"",410400:"",410402:"",410403:"",410404:"",410411:"",410421:"",410422:"",410423:"",410425:"",410481:"",410482:"",410483:"",410500:"",410502:"",410503:"",410505:"",410506:"",410522:"",410523:"",410526:"",410527:"",410581:"",410582:"",410600:"",410602:"",410603:"",410611:"",410621:"",410622:"",410623:"",410700:"",410702:"",410703:"",410704:"",410711:"",410721:"",410724:"",410725:"",410726:"",410727:"",410728:"",410781:"",410782:"",410783:"",410800:"",410802:"",410803:"",410804:"",410811:"",410821:"",410822:"",410823:"",410825:"",410881:"",410882:"",410883:"",410884:"",410900:"",410902:"",410922:"",410923:"",410926:"",410927:"",410928:"",410929:"",411000:"",411002:"",411023:"",411024:"",411025:"",411081:"",411082:"",411083:"",411100:"",411102:"",411103:"",411104:"",411121:"",411122:"",411123:"",411200:"",411202:"",411221:"",411222:"",411224:"",411281:"",411282:"",411283:"",411300:"",411302:"",411303:"",411321:"",411322:"",411323:"",411324:"",411325:"",411326:"",411327:"",411328:"",411329:"",411330:"",411381:"",411382:"",411400:"",411402:"",411403:"",411421:"",411422:"",411423:"",411424:"",411425:"",411426:"",411481:"",411482:"",411500:"",411502:"",411503:"",411521:"",411522:"",411523:"",411524:"",411525:"",411526:"",411527:"",411528:"",411529:"",411600:"",411602:"",411621:"",411622:"",411623:"",411624:"",411625:"",411626:"",411627:"",411628:"",411681:"",411682:"",411700:"",411702:"",411721:"",411722:"",411723:"",411724:"",411725:"",411726:"",411727:"",411728:"",411729:"",411730:"",420000:"",420100:"",420102:"",420103:"",420104:"",420105:"",420106:"",420107:"",420111:"",420112:"",420113:"",420114:"",420115:"",420116:"",420117:"",420118:"",420200:"",420202:"",420203:"",420204:"",420205:"",420222:"",420281:"",420282:"",420300:"",420302:"",420303:"",420321:"",420322:"",420323:"",420324:"",420325:"",420381:"",420383:"",420500:"",420502:"",420503:"",420504:"",420505:"",420506:"",420525:"",420526:"",420527:"",420528:"",420529:"",420581:"",420582:"",420583:"",420584:"",420600:"",420602:"",420606:"",420607:"",420624:"",420625:"",420626:"",420682:"",420683:"",420684:"",420685:"",420700:"",420702:"",420703:"",420704:"",420705:"",420800:"",420802:"",420804:"",420821:"",420822:"",420881:"",420882:"",420900:"",420902:"",420921:"",420922:"",420923:"",420981:"",420982:"",420984:"",420985:"",421000:"",421002:"",421003:"",421022:"",421023:"",421024:"",421081:"",421083:"",421087:"",421088:"",421100:"",421102:"",421121:"",421122:"",421123:"",421124:"",421125:"",421126:"",421127:"",421181:"",421182:"",421183:"",421200:"",421202:"",421221:"",421222:"",421223:"",421224:"",421281:"",421283:"",421300:"",421302:"",421321:"",421381:"",421382:"",422800:"",422801:"",422802:"",422822:"",422823:"",422825:"",422826:"",422827:"",422828:"",422829:"",429004:"",429005:"",429006:"",429021:"",430000:"",430100:"",430102:"",430103:"",430104:"",430105:"",430111:"",430121:"",430122:"",430124:"",430181:"",430182:"",430200:"",430202:"",430203:"",430204:"",430211:"",430221:"",430223:"",430224:"",430225:"",430281:"",430282:"",430300:"",430302:"",430304:"",430321:"",430381:"",430382:"",430383:"",430400:"",430405:"",430406:"",430407:"",430408:"",430412:"",430421:"",430422:"",430423:"",430424:"",430426:"",430481:"",430482:"",430483:"",430500:"",430502:"",430503:"",430511:"",430521:"",430522:"",430523:"",430524:"",430525:"",430527:"",430528:"",430529:"",430581:"",430582:"",430600:"",430602:"",430603:"",430611:"",430621:"",430623:"",430624:"",430626:"",430681:"",430682:"",430683:"",430700:"",430702:"",430703:"",430721:"",430722:"",430723:"",430724:"",430725:"",430726:"",430781:"",430782:"",430800:"",430802:"",430811:"",430821:"",430822:"",430823:"",430900:"",430902:"",430903:"",430921:"",430922:"",430923:"",430981:"",430982:"",431000:"",431002:"",431003:"",431021:"",431022:"",431023:"",431024:"",431025:"",431026:"",431027:"",431028:"",431081:"",431082:"",431100:"",431102:"",431103:"",431121:"",431122:"",431123:"",431124:"",431125:"",431126:"",431127:"",431128:"",431129:"",431130:"",431200:"",431202:"",431221:"",431222:"",431223:"",431224:"",431225:"",431226:"",431227:"",431228:"",431229:"",431230:"",431281:"",431282:"",431300:"",431302:"",431321:"",431322:"",431381:"",431382:"",431383:"",433100:"",433101:"",433122:"",433123:"",433124:"",433125:"",433126:"",433127:"",433130:"",433131:"",440000:"",440100:"",440103:"",440104:"",440105:"",440106:"",440111:"",440112:"",440113:"",440114:"",440115:"",440116:"",440183:"",440184:"",440189:"",440200:"",440203:"",440204:"",440205:"",440222:"",440224:"",440229:"",440232:"",440233:"",440281:"",440282:"",440283:"",440300:"",440303:"",440304:"",440305:"",440306:"",440307:"",440308:"",440309:"",440320:"",440321:"",440322:"",440323:"",440400:"",440402:"",440403:"",440404:"",440488:"",440500:"",440507:"",440511:"",440512:"",440513:"",440514:"",440515:"",440523:"",440524:"",440600:"",440604:"",440605:"",440606:"",440607:"",440608:"",440609:"",440700:"",440703:"",440704:"",440705:"",440781:"",440783:"",440784:"",440785:"",440786:"",440800:"",440802:"",440803:"",440804:"",440811:"",440823:"",440825:"",440881:"",440882:"",440883:"",440884:"",440900:"",440902:"",440903:"",440923:"",440981:"",440982:"",440983:"",440984:"",441200:"",441202:"",441203:"",441223:"",441224:"",441225:"",441226:"",441283:"",441284:"",441285:"",441300:"",441302:"",441303:"",441322:"",441323:"",441324:"",441325:"",441400:"",441402:"",441421:"",441422:"",441423:"",441424:"",441426:"",441427:"",441481:"",441482:"",441500:"",441502:"",441521:"",441523:"",441581:"",441582:"",441600:"",441602:"",441621:"",441622:"",441623:"",441624:"",441625:"",441626:"",441700:"",441702:"",441721:"",441723:"",441781:"",441782:"",441800:"",441802:"",441821:"",441823:"",441825:"",441826:"",441827:"",441881:"",441882:"",441883:"",441900:"",442000:"",442101:"",445100:"",445102:"",445121:"",445122:"",445186:"",445200:"",445202:"",445221:"",445222:"",445224:"",445281:"",445285:"",445300:"",445302:"",445321:"",445322:"",445323:"",445381:"",445382:"",450000:"",450100:"",450102:"",450103:"",450105:"",450107:"",450108:"",450109:"",450122:"",450123:"",450124:"",450125:"",450126:"",450127:"",450128:"",450200:"",450202:"",450203:"",450204:"",450205:"",450221:"",450222:"",450223:"",450224:"",450225:"",450226:"",450227:"",450300:"",450302:"",450303:"",450304:"",450305:"",450311:"",450321:"",450322:"",450323:"",450324:"",450325:"",450326:"",450327:"",450328:"",450329:"",450330:"",450331:"",450332:"",450333:"",450400:"",450403:"",450405:"",450406:"",450421:"",450422:"",450423:"",450481:"",450482:"",450500:"",450502:"",450503:"",450512:"",450521:"",450522:"",450600:"",450602:"",450603:"",450621:"",450681:"",450682:"",450700:"",450702:"",450703:"",450721:"",450722:"",450723:"",450800:"",450802:"",450803:"",450804:"",450821:"",450881:"",450882:"",450900:"",450902:"",450903:"",450921:"",450922:"",450923:"",450924:"",450981:"",450982:"",451000:"",451002:"",451021:"",451022:"",451023:"",451024:"",451025:"",451026:"",451027:"",451028:"",451029:"",451030:"",451031:"",451032:"",451100:"",451102:"",451119:"",451121:"",451122:"",451123:"",451124:"",451200:"",451202:"",451221:"",451222:"",451223:"",451224:"",451225:"",451226:"",451227:"",451228:"",451229:"",451281:"",451282:"",451300:"",451302:"",451321:"",451322:"",451323:"",451324:"",451381:"",451382:"",451400:"",451402:"",451421:"",451422:"",451423:"",451424:"",451425:"",451481:"",451482:"",460000:"",460100:"",460105:"",460106:"",460107:"",460108:"",460109:"",460200:"",460300:"",460321:"",460322:"",460323:"",469001:"",469002:"",469003:"",469005:"",469006:"",469007:"",469025:"",469026:"",469027:"",469028:"",469030:"",469031:"",469033:"",469034:"",469035:"",469036:"",471005:"",500000:"",500100:"",500101:"",500102:"",500103:"",500104:"",500105:"",500106:"",500107:"",500108:"",500109:"",500110:"",500111:"",500112:"",500113:"",500114:"",500115:"",500222:"",500223:"",500224:"",500225:"",500226:"",500227:"",500228:"",500229:"",500230:"",500231:"",500232:"",500233:"",500234:"",500235:"",500236:"",500237:"",500238:"",500240:"",500241:"",500242:"",500243:"",500381:"",500382:"",500383:"",500384:"",500385:"",510000:"",510100:"",510104:"",510105:"",510106:"",510107:"",510108:"",510112:"",510113:"",510114:"",510115:"",510121:"",510122:"",510124:"",510129:"",510131:"",510132:"",510181:"",510182:"",510183:"",510184:"",510185:"",510300:"",510302:"",510303:"",510304:"",510311:"",510321:"",510322:"",510323:"",510400:"",510402:"",510403:"",510411:"",510421:"",510422:"",510423:"",510500:"",510502:"",510503:"",510504:"",510521:"",510522:"",510524:"",510525:"",510526:"",510600:"",510603:"",510623:"",510626:"",510681:"",510682:"",510683:"",510684:"",510700:"",510703:"",510704:"",510722:"",510723:"",510724:"",510725:"",510726:"",510727:"",510781:"",510782:"",510800:"",510802:"",510811:"",510812:"",510821:"",510822:"",510823:"",510824:"",510825:"",510900:"",510903:"",510904:"",510921:"",510922:"",510923:"",510924:"",511000:"",511002:"",511011:"",511024:"",511025:"",511028:"",511029:"",511100:"",511102:"",511111:"",511112:"",511113:"",511123:"",511124:"",511126:"",511129:"",511132:"",511133:"",511181:"",511182:"",511300:"",511302:"",511303:"",511304:"",511321:"",511322:"",511323:"",511324:"",511325:"",511381:"",511382:"",511400:"",511402:"",511421:"",511422:"",511423:"",511424:"",511425:"",511426:"",511500:"",511502:"",511521:"",511522:"",511523:"",511524:"",511525:"",511526:"",511527:"",511528:"",511529:"",511530:"",511600:"",511602:"",511603:"",511621:"",511622:"",511623:"",511681:"",511683:"",511700:"",511702:"",511721:"",511722:"",511723:"",511724:"",511725:"",511781:"",511782:"",511800:"",511802:"",511821:"",511822:"",511823:"",511824:"",511825:"",511826:"",511827:"",511828:"",511900:"",511902:"",511903:"",511921:"",511922:"",511923:"",511924:"",512000:"",512002:"",512021:"",512022:"",512081:"",512082:"",513200:"",513221:"",513222:"",513223:"",513224:"",513225:"",513226:"",513227:"",513228:"",513229:"",513230:"",513231:"",513232:"",513233:"",513234:"",513300:"",513321:"",513322:"",513323:"",513324:"",513325:"",513326:"",513327:"",513328:"",513329:"",513330:"",513331:"",513332:"",513333:"",513334:"",513335:"",513336:"",513337:"",513338:"",513339:"",513400:"",513401:"",513422:"",513423:"",513424:"",513425:"",513426:"",513427:"",513428:"",513429:"",513430:"",513431:"",513432:"",513433:"",513434:"",513435:"",513436:"",513437:"",513438:"",520000:"",520100:"",520102:"",520103:"",520111:"",520112:"",520113:"",520121:"",520122:"",520123:"",520151:"",520181:"",520182:"",520200:"",520201:"",520203:"",520221:"",520222:"",520223:"",520300:"",520302:"",520303:"",520321:"",520322:"",520323:"",520324:"",520325:"",520326:"",520327:"",520328:"",520329:"",520330:"",520381:"",520382:"",520383:"",520400:"",520402:"",520421:"",520422:"",520423:"",520424:"",520425:"",520426:"",522200:"",522201:"",522222:"",522223:"",522224:"",522225:"",522226:"",522227:"",522228:"",522229:"",522230:"",522231:"",522300:"",522301:"",522322:"",522323:"",
522324:"",522325:"",522326:"",522327:"",522328:"",522329:"",522400:"",522401:"",522422:"",522423:"",522424:"",522425:"",522426:"",522427:"",522428:"",522429:"",522600:"",522601:"",522622:"",522623:"",522624:"",522625:"",522626:"",522627:"",522628:"",522629:"",522630:"",522631:"",522632:"",522633:"",522634:"",522635:"",522636:"",522637:"",522700:"",522701:"",522702:"",522722:"",522723:"",522725:"",522726:"",522727:"",522728:"",522729:"",522730:"",522731:"",522732:"",522733:"",530000:"",530100:"",530102:"",530103:"",530111:"",530112:"",530113:"",530121:"",530122:"",530124:"",530125:"",530126:"",530127:"",530128:"",530129:"",530181:"",530182:"",530300:"",530302:"",530321:"",530322:"",530323:"",530324:"",530325:"",530326:"",530328:"",530381:"",530382:"",530400:"",530402:"",530421:"",530422:"",530423:"",530424:"",530425:"",530426:"",530427:"",530428:"",530429:"",530500:"",530502:"",530521:"",530522:"",530523:"",530524:"",530525:"",530600:"",530602:"",530621:"",530622:"",530623:"",530624:"",530625:"",530626:"",530627:"",530628:"",530629:"",530630:"",530631:"",530700:"",530702:"",530721:"",530722:"",530723:"",530724:"",530725:"",530800:"",530802:"",530821:"",530822:"",530823:"",530824:"",530825:"",530826:"",530827:"",530828:"",530829:"",530830:"",530900:"",530902:"",530921:"",530922:"",530923:"",530924:"",530925:"",530926:"",530927:"",530928:"",532300:"",532301:"",532322:"",532323:"",532324:"",532325:"",532326:"",532327:"",532328:"",532329:"",532331:"",532332:"",532500:"",532501:"",532502:"",532522:"",532523:"",532524:"",532525:"",532526:"",532527:"",532528:"",532529:"",532530:"",532531:"",532532:"",532533:"",532600:"",532621:"",532622:"",532623:"",532624:"",532625:"",532626:"",532627:"",532628:"",532629:"",532800:"",532801:"",532822:"",532823:"",532824:"",532900:"",532901:"",532922:"",532923:"",532924:"",532925:"",532926:"",532927:"",532928:"",532929:"",532930:"",532931:"",532932:"",532933:"",533100:"",533102:"",533103:"",533122:"",533123:"",533124:"",533125:"",533300:"",533321:"",533323:"",533324:"",533325:"",533326:"",533400:"",533421:"",533422:"",533423:"",533424:"",540000:"",540100:"",540102:"",540121:"",540122:"",540123:"",540124:"",540125:"",540126:"",540127:"",540128:"",542100:"",542121:"",542122:"",542123:"",542124:"",542125:"",542126:"",542127:"",542128:"",542129:"",542132:"",542133:"",542134:"",542200:"",542221:"",542222:"",542223:"",542224:"",542225:"",542226:"",542227:"",542228:"",542229:"",542231:"",542232:"",542233:"",542234:"",542300:"",542301:"",542322:"",542323:"",542324:"",542325:"",542326:"",542327:"",542328:"",542329:"",542330:"",542331:"",542332:"",542333:"",542334:"",542335:"",542336:"",542337:"",542338:"",542339:"",542400:"",542421:"",542422:"",542423:"",542424:"",542425:"",542426:"",542427:"",542428:"",542429:"",542430:"",542431:"",542432:"",542500:"",542521:"",542522:"",542523:"",542524:"",542525:"",542526:"",542527:"",542528:"",542600:"",542621:"",542622:"",542623:"",542624:"",542625:"",542626:"",542627:"",542628:"",610000:"",610100:"",610102:"",610103:"",610104:"",610111:"",610112:"",610113:"",610114:"",610115:"",610116:"",610122:"",610124:"",610125:"",610126:"",610127:"",610200:"",610202:"",610203:"",610204:"",610222:"",610223:"",610300:"",610302:"",610303:"",610304:"",610322:"",610323:"",610324:"",610326:"",610327:"",610328:"",610329:"",610330:"",610331:"",610332:"",610400:"",610402:"",610403:"",610404:"",610422:"",610423:"",610424:"",610425:"",610426:"",610427:"",610428:"",610429:"",610430:"",610431:"",610481:"",610482:"",610500:"",610502:"",610521:"",610522:"",610523:"",610524:"",610525:"",610526:"",610527:"",610528:"",610581:"",610582:"",610583:"",610600:"",610602:"",610621:"",610622:"",610623:"",610624:"",610625:"",610626:"",610627:"",610628:"",610629:"",610630:"",610631:"",610632:"",610633:"",610700:"",610702:"",610721:"",610722:"",610723:"",610724:"",610725:"",610726:"",610727:"",610728:"",610729:"",610730:"",610731:"",610800:"",610802:"",610821:"",610822:"",610823:"",610824:"",610825:"",610826:"",610827:"",610828:"",610829:"",610830:"",610831:"",610832:"",610900:"",610902:"",610921:"",610922:"",610923:"",610924:"",610925:"",610926:"",610927:"",610928:"",610929:"",610930:"",611000:"",611002:"",611021:"",611022:"",611023:"",611024:"",611025:"",611026:"",611027:"",620000:"",620100:"",620102:"",620103:"",620104:"",620105:"",620111:"",620121:"",620122:"",620123:"",620124:"",620200:"",620300:"",620302:"",620321:"",620322:"",620400:"",620402:"",620403:"",620421:"",620422:"",620423:"",620424:"",620500:"",620502:"",620503:"",620521:"",620522:"",620523:"",620524:"",620525:"",620526:"",620600:"",620602:"",620621:"",620622:"",620623:"",620624:"",620700:"",620702:"",620721:"",620722:"",620723:"",620724:"",620725:"",620726:"",620800:"",620802:"",620821:"",620822:"",620823:"",620824:"",620825:"",620826:"",620827:"",620900:"",620902:"",620921:"",620922:"",620923:"",620924:"",620981:"",620982:"",620983:"",621000:"",621002:"",621021:"",621022:"",621023:"",621024:"",621025:"",621026:"",621027:"",621028:"",621100:"",621102:"",621121:"",621122:"",621123:"",621124:"",621125:"",621126:"",621127:"",621200:"",621202:"",621221:"",621222:"",621223:"",621224:"",621225:"",621226:"",621227:"",621228:"",621229:"",622900:"",622901:"",622921:"",622922:"",622923:"",622924:"",622925:"",622926:"",622927:"",622928:"",623000:"",623001:"",623021:"",623022:"",623023:"",623024:"",623025:"",623026:"",623027:"",623028:"",630000:"",630100:"",630102:"",630103:"",630104:"",630105:"",630121:"",630122:"",630123:"",630124:"",632100:"",632121:"",632122:"",632123:"",632126:"",632127:"",632128:"",632129:"",632200:"",632221:"",632222:"",632223:"",632224:"",632225:"",632300:"",632321:"",632322:"",632323:"",632324:"",632325:"",632500:"",632521:"",632522:"",632523:"",632524:"",632525:"",632526:"",632600:"",632621:"",632622:"",632623:"",632624:"",632625:"",632626:"",632627:"",632700:"",632721:"",632722:"",632723:"",632724:"",632725:"",632726:"",632727:"",632800:"",632801:"",632802:"",632821:"",632822:"",632823:"",632824:"",640000:"",640100:"",640104:"",640105:"",640106:"",640121:"",640122:"",640181:"",640182:"",640200:"",640202:"",640205:"",640221:"",640222:"",640300:"",640302:"",640303:"",640323:"",640324:"",640381:"",640382:"",640400:"",640402:"",640422:"",640423:"",640424:"",640425:"",640426:"",640500:"",640502:"",640521:"",640522:"",640523:"",650000:"",650100:"",650102:"",650103:"",650104:"",650105:"",650106:"",650107:"",650109:"",650121:"",650122:"",650200:"",650202:"",650203:"",650204:"",650205:"",650206:"",652100:"",652101:"",652122:"",652123:"",652124:"",652200:"",652201:"",652222:"",652223:"",652224:"",652300:"",652301:"",652302:"",652323:"",652324:"",652325:"",652327:"",652328:"",652329:"",652700:"",652701:"",652702:"",652722:"",652723:"",652724:"",652800:"",652801:"",652822:"",652823:"",652824:"",652825:"",652826:"",652827:"",652828:"",652829:"",652830:"",652900:"",652901:"",652922:"",652923:"",652924:"",652925:"",652926:"",652927:"",652928:"",652929:"",652930:"",653000:"",653001:"",653022:"",653023:"",653024:"",653025:"",653100:"",653101:"",653121:"",653122:"",653123:"",653124:"",653125:"",653126:"",653127:"",653128:"",653129:"",653130:"",653131:"",653132:"",653200:"",653201:"",653221:"",653222:"",653223:"",653224:"",653225:"",653226:"",653227:"",653228:"",654000:"",654002:"",654003:"",654021:"",654022:"",654023:"",654024:"",654025:"",654026:"",654027:"",654028:"",654029:"",654200:"",654201:"",654202:"",654221:"",654223:"",654224:"",654225:"",654226:"",654227:"",654300:"",654301:"",654321:"",654322:"",654323:"",654324:"",654325:"",654326:"",654327:"",659001:"",659002:"",659003:"",659004:"",710000:"",710100:"",710101:"",710102:"",710103:"",710104:"",710105:"",710106:"",710107:"",710108:"",710109:"",710110:"",710111:"",710112:"",710113:"",710200:"",710201:"",710202:"",710203:"",710204:"",710205:"",710206:"",710207:"",710208:"",710209:"",710210:"",710211:"",710212:"",710241:"",710242:"",710243:"",710244:"",710245:"",710246:"",710247:"",710248:"",710249:"",710250:"",710251:"",710252:"",710253:"",710254:"",710255:"",710256:"",710257:"",710258:"",710259:"",710260:"",710261:"",710262:"",710263:"",710264:"",710265:"",710266:"",710267:"",710268:"",710300:"",710301:"",710302:"",710303:"",710304:"",710305:"",710306:"",710307:"",710339:"",710340:"",710341:"",710342:"",710343:"",710344:"",710345:"",710346:"",710347:"",710348:"",710349:"",710350:"",710351:"",710352:"",710353:"",710354:"",710355:"",710356:"",710357:"",710358:"",710359:"",710360:"",710361:"",710362:"",710363:"",710364:"",710365:"",710366:"",710367:"",710368:"",710369:"",710400:"",710401:"",710402:"",710403:"",710404:"",710405:"",710406:"",710407:"",710408:"",710409:"",710431:"",710432:"",710433:"",710434:"",710435:"",710436:"",710437:"",710438:"",710439:"",710440:"",710441:"",710442:"",710443:"",710444:"",710445:"",710446:"",710447:"",710448:"",710449:"",710450:"",710451:"",710500:"",710507:"",710508:"",710509:"",710510:"",710511:"",710512:"",710600:"",710614:"",710615:"",710616:"",710617:"",710618:"",710619:"",710620:"",710621:"",710622:"",710623:"",710624:"",710625:"",710626:"",710700:"",710701:"",710702:"",710703:"",710704:"",710705:"",710706:"",710707:"",710708:"",710800:"",710801:"",710802:"",710803:"",710804:"",710900:"",710901:"",710902:"",710903:"",711100:"",711130:"",711131:"",711132:"",711133:"",711134:"",711135:"",711136:"",711137:"",711138:"",711139:"",711140:"",711141:"",711142:"",711143:"",711144:"",711145:"",711146:"",711147:"",711148:"",711149:"",711150:"",711151:"",711152:"",711153:"",711154:"",711155:"",711156:"",711157:"",711158:"",711200:"",711214:"",711215:"",711216:"",711217:"",711218:"",711219:"",711220:"",711221:"",711222:"",711223:"",711224:"",711225:"",711226:"",711300:"",711314:"",711315:"",711316:"",711317:"",711318:"",711319:"",711320:"",711321:"",711322:"",711323:"",711324:"",711325:"",711326:"",711400:"",711414:"",711415:"",711416:"",711417:"",711418:"",711419:"",711420:"",711421:"",711422:"",711423:"",711424:"",711425:"",711426:"",711500:"",711519:"",711520:"",711521:"",711522:"",711523:"",711524:"",711525:"",711526:"",711527:"",711528:"",711529:"",711530:"",711531:"",711532:"",711533:"",711534:"",711535:"",711536:"",711700:"",711727:"",711728:"",711729:"",711730:"",711731:"",711732:"",711733:"",711734:"",711735:"",711736:"",711737:"",711738:"",711739:"",711740:"",711741:"",711742:"",711743:"",711744:"",711745:"",711746:"",711747:"",711748:"",711749:"",711750:"",711751:"",711752:"",711900:"",711919:"",711920:"",711921:"",711922:"",711923:"",711924:"",711925:"",711926:"",711927:"",711928:"",711929:"",711930:"",711931:"",711932:"",711933:"",711934:"",711935:"",711936:"",712100:"",712121:"",712122:"",712123:"",712124:"",712125:"",712126:"",712127:"",712128:"",712129:"",712130:"",712131:"",712132:"",712133:"",712134:"",712135:"",712136:"",712137:"",712138:"",712139:"",712140:"",712400:"",712434:"",712435:"",712436:"",712437:"",712438:"",712439:"",712440:"",712441:"",712442:"",712443:"",712444:"",712445:"",712446:"",712447:"",712448:"",712449:"",712450:"",712451:"",712452:"",712453:"",712454:"",712455:"",712456:"",712457:"",712458:"",712459:"",712460:"",712461:"",712462:"",712463:"",712464:"",712465:"",712466:"",712500:"",712517:"",712518:"",712519:"",712520:"",712521:"",712522:"",712523:"",712524:"",712525:"",712526:"",712527:"",712528:"",712529:"",712530:"",712531:"",712532:"",712600:"",712615:"",712616:"",712617:"",712618:"",712619:"",712620:"",712621:"",712622:"",712623:"",712624:"",712625:"",712626:"",712627:"",712628:"",712700:"",712707:"",712708:"",712709:"",712710:"",712711:"",712712:"",712800:"",712805:"",712806:"",712807:"",712808:"",810000:"",810100:"",810101:"",810102:"",810103:"",810104:"",810200:"",810201:"",810202:"",810203:"",810204:"",810205:"",810300:"",810301:"",810302:"",810303:"",810304:"",810305:"",810306:"",810307:"",810308:"",810309:"",820000:"",820100:"",820200:"",990000:"",990100:""},a=function(){var t=[];for(var e in r){var a="0000"===e.slice(2,6)?void 0:"00"==e.slice(4,6)?e.slice(0,2)+"0000":e.slice(0,4)+"00";t.push({id:e,pid:a,name:r[e]})}return n(t)}();t.exports=a},function(t,e,n){var r=n(18);t.exports={d4:function(){return this.natural(1,4)},d6:function(){return this.natural(1,6)},d8:function(){return this.natural(1,8)},d12:function(){return this.natural(1,12)},d20:function(){return this.natural(1,20)},d100:function(){return this.natural(1,100)},guid:function(){var t="abcdefABCDEF1234567890",e=this.string(t,8)+"-"+this.string(t,4)+"-"+this.string(t,4)+"-"+this.string(t,4)+"-"+this.string(t,12);return e},uuid:function(){return this.guid()},id:function(){var t,e=0,n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],a=["1","0","X","9","8","7","6","5","4","3","2"];t=this.pick(r).id+this.date("yyyyMMdd")+this.string("number",3);for(var o=0;o<t.length;o++)e+=t[o]*n[o];return t+=a[e%11]},increment:function(){var t=0;return function(e){return t+=+e||1}}(),inc:function(t){return this.increment(t)}}},function(t,e,n){var r=n(21),a=n(22);t.exports={Parser:r,Handler:a}},function(t,e){function n(t){this.type=t,this.offset=n.offset(),this.text=n.text()}function r(t,e){n.call(this,"alternate"),this.left=t,this.right=e}function a(t){n.call(this,"match"),this.body=t.filter(Boolean)}function o(t,e){n.call(this,t),this.body=e}function u(t){o.call(this,"capture-group"),this.index=y[this.offset]||(y[this.offset]=x++),this.body=t}function l(t,e){n.call(this,"quantified"),this.body=t,this.quantifier=e}function i(t,e){n.call(this,"quantifier"),this.min=t,this.max=e,this.greedy=!0}function s(t,e){n.call(this,"charset"),this.invert=t,this.body=e}function c(t,e){n.call(this,"range"),this.start=t,this.end=e}function h(t){n.call(this,"literal"),this.body=t,this.escaped=this.body!=this.text}function p(t){n.call(this,"unicode"),this.code=t.toUpperCase()}function f(t){n.call(this,"hex"),this.code=t.toUpperCase()}function d(t){n.call(this,"octal"),this.code=t.toUpperCase()}function m(t){n.call(this,"back-reference"),this.code=t.toUpperCase()}function g(t){n.call(this,"control-character"),this.code=t.toUpperCase()}var v=function(){function t(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}function e(t,e,n,r,a){function o(t,e){function n(t){function e(t){return t.charCodeAt(0).toString(16).toUpperCase()}return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(t){return"\\x0"+e(t)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(t){return"\\x"+e(t)}).replace(/[\u0180-\u0FFF]/g,function(t){return"\\u0"+e(t)}).replace(/[\u1080-\uFFFF]/g,function(t){return"\\u"+e(t)})}var r,a;switch(t.length){case 0:r="end of input";break;case 1:r=t[0];break;default:r=t.slice(0,-1).join(", ")+" or "+t[t.length-1]}return a=e?'"'+n(e)+'"':"end of input","Expected "+r+" but "+a+" found."}this.expected=t,this.found=e,this.offset=n,this.line=r,this.column=a,this.name="SyntaxError",this.message=o(t,e)}function v(t){function v(){return t.substring(Qn,Zn)}function x(){return Qn}function y(e){function n(e,n,r){var a,o;for(a=n;r>a;a++)o=t.charAt(a),"\n"===o?(e.seenCR||e.line++,e.column=1,e.seenCR=!1):"\r"===o||"\u2028"===o||"\u2029"===o?(e.line++,e.column=1,e.seenCR=!0):(e.column++,e.seenCR=!1)}return tr!==e&&(tr>e&&(tr=0,er={line:1,column:1,seenCR:!1}),n(er,tr,e),tr=e),er}function b(t){nr>Zn||(Zn>nr&&(nr=Zn,rr=[]),rr.push(t))}function w(t){var e=0;for(t.sort();e<t.length;)t[e-1]===t[e]?t.splice(e,1):e++}function C(){var e,n,r,a,o;return e=Zn,n=k(),null!==n?(r=Zn,124===t.charCodeAt(Zn)?(a=Et,Zn++):(a=null,0===ar&&b(At)),null!==a?(o=C(),null!==o?(a=[a,o],r=a):(Zn=r,r=kt)):(Zn=r,r=kt),null===r&&(r=Rt),null!==r?(Qn=e,n=_t(n,r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}function k(){var t,e,n,r,a;if(t=Zn,e=E(),null===e&&(e=Rt),null!==e)if(n=Zn,ar++,r=M(),ar--,null===r?n=Rt:(Zn=n,n=kt),null!==n){for(r=[],a=_(),null===a&&(a=R());null!==a;)r.push(a),a=_(),null===a&&(a=R());null!==r?(a=A(),null===a&&(a=Rt),null!==a?(Qn=t,e=Mt(e,r,a),null===e?(Zn=t,t=e):t=e):(Zn=t,t=kt)):(Zn=t,t=kt)}else Zn=t,t=kt;else Zn=t,t=kt;return t}function R(){var t;return t=I(),null===t&&(t=B(),null===t&&(t=Y())),t}function E(){var e,n;return e=Zn,94===t.charCodeAt(Zn)?(n=Pt,Zn++):(n=null,0===ar&&b(St)),null!==n&&(Qn=e,n=Tt()),null===n?(Zn=e,e=n):e=n,e}function A(){var e,n;return e=Zn,36===t.charCodeAt(Zn)?(n=Ht,Zn++):(n=null,0===ar&&b(Dt)),null!==n&&(Qn=e,n=qt()),null===n?(Zn=e,e=n):e=n,e}function _(){var t,e,n;return t=Zn,e=R(),null!==e?(n=M(),null!==n?(Qn=t,e=Ft(e,n),null===e?(Zn=t,t=e):t=e):(Zn=t,t=kt)):(Zn=t,t=kt),t}function M(){var t,e,n;return ar++,t=Zn,e=P(),null!==e?(n=L(),null===n&&(n=Rt),null!==n?(Qn=t,e=Ot(e,n),null===e?(Zn=t,t=e):t=e):(Zn=t,t=kt)):(Zn=t,t=kt),ar--,null===t&&(e=null,0===ar&&b(Lt)),t}function P(){var t;return t=S(),null===t&&(t=T(),null===t&&(t=H(),null===t&&(t=D(),null===t&&(t=q(),null===t&&(t=F()))))),t}function S(){var e,n,r,a,o,u;return e=Zn,123===t.charCodeAt(Zn)?(n=It,Zn++):(n=null,0===ar&&b(jt)),null!==n?(r=O(),null!==r?(44===t.charCodeAt(Zn)?(a=Nt,Zn++):(a=null,0===ar&&b(zt)),null!==a?(o=O(),null!==o?(125===t.charCodeAt(Zn)?(u=Ut,Zn++):(u=null,0===ar&&b(Bt)),null!==u?(Qn=e,n=Gt(r,o),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt),e}function T(){var e,n,r,a;return e=Zn,123===t.charCodeAt(Zn)?(n=It,Zn++):(n=null,0===ar&&b(jt)),null!==n?(r=O(),null!==r?(t.substr(Zn,2)===Xt?(a=Xt,Zn+=2):(a=null,0===ar&&b(Kt)),null!==a?(Qn=e,n=Wt(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt),e}function H(){var e,n,r,a;return e=Zn,123===t.charCodeAt(Zn)?(n=It,Zn++):(n=null,0===ar&&b(jt)),null!==n?(r=O(),null!==r?(125===t.charCodeAt(Zn)?(a=Ut,Zn++):(a=null,0===ar&&b(Bt)),null!==a?(Qn=e,n=Yt(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt),e}function D(){var e,n;return e=Zn,43===t.charCodeAt(Zn)?(n=Jt,Zn++):(n=null,0===ar&&b($t)),null!==n&&(Qn=e,n=Vt()),null===n?(Zn=e,e=n):e=n,e}function q(){var e,n;return e=Zn,42===t.charCodeAt(Zn)?(n=Zt,Zn++):(n=null,0===ar&&b(Qt)),null!==n&&(Qn=e,n=te()),null===n?(Zn=e,e=n):e=n,e}function F(){var e,n;return e=Zn,63===t.charCodeAt(Zn)?(n=ee,Zn++):(n=null,0===ar&&b(ne)),null!==n&&(Qn=e,n=re()),null===n?(Zn=e,e=n):e=n,e}function L(){var e;return 63===t.charCodeAt(Zn)?(e=ee,Zn++):(e=null,0===ar&&b(ne)),e}function O(){var e,n,r;if(e=Zn,n=[],ae.test(t.charAt(Zn))?(r=t.charAt(Zn),Zn++):(r=null,0===ar&&b(oe)),null!==r)for(;null!==r;)n.push(r),ae.test(t.charAt(Zn))?(r=t.charAt(Zn),Zn++):(r=null,0===ar&&b(oe));else n=kt;return null!==n&&(Qn=e,n=ue(n)),null===n?(Zn=e,e=n):e=n,e}function I(){var e,n,r,a;return e=Zn,40===t.charCodeAt(Zn)?(n=le,Zn++):(n=null,0===ar&&b(ie)),null!==n?(r=z(),null===r&&(r=U(),null===r&&(r=N(),null===r&&(r=j()))),null!==r?(41===t.charCodeAt(Zn)?(a=se,Zn++):(a=null,0===ar&&b(ce)),null!==a?(Qn=e,n=he(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt),e}function j(){var t,e;return t=Zn,e=C(),null!==e&&(Qn=t,e=pe(e)),null===e?(Zn=t,t=e):t=e,t}function N(){var e,n,r;return e=Zn,t.substr(Zn,2)===fe?(n=fe,Zn+=2):(n=null,0===ar&&b(de)),null!==n?(r=C(),null!==r?(Qn=e,n=me(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}function z(){var e,n,r;return e=Zn,t.substr(Zn,2)===ge?(n=ge,Zn+=2):(n=null,0===ar&&b(ve)),null!==n?(r=C(),null!==r?(Qn=e,n=xe(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}function U(){var e,n,r;return e=Zn,t.substr(Zn,2)===ye?(n=ye,Zn+=2):(n=null,0===ar&&b(be)),null!==n?(r=C(),null!==r?(Qn=e,n=we(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}function B(){var e,n,r,a,o;if(ar++,e=Zn,91===t.charCodeAt(Zn)?(n=ke,Zn++):(n=null,0===ar&&b(Re)),null!==n)if(94===t.charCodeAt(Zn)?(r=Pt,Zn++):(r=null,0===ar&&b(St)),null===r&&(r=Rt),null!==r){for(a=[],o=G(),null===o&&(o=X());null!==o;)a.push(o),o=G(),null===o&&(o=X());null!==a?(93===t.charCodeAt(Zn)?(o=Ee,Zn++):(o=null,0===ar&&b(Ae)),null!==o?(Qn=e,n=_e(r,a),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt)}else Zn=e,e=kt;else Zn=e,e=kt;return ar--,null===e&&(n=null,0===ar&&b(Ce)),e}function G(){var e,n,r,a;return ar++,e=Zn,n=X(),null!==n?(45===t.charCodeAt(Zn)?(r=Pe,Zn++):(r=null,0===ar&&b(Se)),null!==r?(a=X(),null!==a?(Qn=e,n=Te(n,a),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt)):(Zn=e,e=kt),ar--,null===e&&(n=null,0===ar&&b(Me)),e}function X(){var t,e;return ar++,t=W(),null===t&&(t=K()),ar--,null===t&&(e=null,0===ar&&b(He)),t}function K(){var e,n;return e=Zn,De.test(t.charAt(Zn))?(n=t.charAt(Zn),Zn++):(n=null,0===ar&&b(qe)),null!==n&&(Qn=e,n=Fe(n)),null===n?(Zn=e,e=n):e=n,e}function W(){var t;return t=Z(),null===t&&(t=pt(),null===t&&(t=et(),null===t&&(t=nt(),null===t&&(t=rt(),null===t&&(t=at(),null===t&&(t=ot(),null===t&&(t=ut(),null===t&&(t=lt(),null===t&&(t=it(),null===t&&(t=st(),null===t&&(t=ct(),null===t&&(t=ht(),null===t&&(t=dt(),null===t&&(t=mt(),null===t&&(t=gt(),null===t&&(t=vt(),null===t&&(t=xt()))))))))))))))))),t}function Y(){var t;return t=J(),null===t&&(t=V(),null===t&&(t=$())),t}function J(){var e,n;return e=Zn,46===t.charCodeAt(Zn)?(n=Le,Zn++):(n=null,0===ar&&b(Oe)),null!==n&&(Qn=e,n=Ie()),null===n?(Zn=e,e=n):e=n,e}function $(){var e,n;return ar++,e=Zn,Ne.test(t.charAt(Zn))?(n=t.charAt(Zn),Zn++):(n=null,0===ar&&b(ze)),null!==n&&(Qn=e,n=Fe(n)),null===n?(Zn=e,e=n):e=n,ar--,null===e&&(n=null,0===ar&&b(je)),e}function V(){var t;return t=Q(),null===t&&(t=tt(),null===t&&(t=pt(),null===t&&(t=et(),null===t&&(t=nt(),null===t&&(t=rt(),null===t&&(t=at(),null===t&&(t=ot(),null===t&&(t=ut(),null===t&&(t=lt(),null===t&&(t=it(),null===t&&(t=st(),null===t&&(t=ct(),null===t&&(t=ht(),null===t&&(t=ft(),null===t&&(t=dt(),null===t&&(t=mt(),null===t&&(t=gt(),null===t&&(t=vt(),null===t&&(t=xt()))))))))))))))))))),t}function Z(){var e,n;return e=Zn,t.substr(Zn,2)===Ue?(n=Ue,Zn+=2):(n=null,0===ar&&b(Be)),null!==n&&(Qn=e,n=Ge()),null===n?(Zn=e,e=n):e=n,e}function Q(){var e,n;return e=Zn,t.substr(Zn,2)===Ue?(n=Ue,Zn+=2):(n=null,0===ar&&b(Be)),null!==n&&(Qn=e,n=Xe()),null===n?(Zn=e,e=n):e=n,e}function tt(){var e,n;return e=Zn,t.substr(Zn,2)===Ke?(n=Ke,Zn+=2):(n=null,0===ar&&b(We)),null!==n&&(Qn=e,n=Ye()),null===n?(Zn=e,e=n):e=n,e}function et(){var e,n;return e=Zn,t.substr(Zn,2)===Je?(n=Je,Zn+=2):(n=null,0===ar&&b($e)),null!==n&&(Qn=e,n=Ve()),null===n?(Zn=e,e=n):e=n,e}function nt(){var e,n;return e=Zn,t.substr(Zn,2)===Ze?(n=Ze,Zn+=2):(n=null,0===ar&&b(Qe)),null!==n&&(Qn=e,n=tn()),null===n?(Zn=e,e=n):e=n,e}function rt(){var e,n;return e=Zn,t.substr(Zn,2)===en?(n=en,Zn+=2):(n=null,0===ar&&b(nn)),null!==n&&(Qn=e,n=rn()),null===n?(Zn=e,e=n):e=n,e}function at(){var e,n;return e=Zn,t.substr(Zn,2)===an?(n=an,Zn+=2):(n=null,0===ar&&b(on)),null!==n&&(Qn=e,n=un()),null===n?(Zn=e,e=n):e=n,e}function ot(){var e,n;return e=Zn,t.substr(Zn,2)===ln?(n=ln,Zn+=2):(n=null,0===ar&&b(sn)),null!==n&&(Qn=e,n=cn()),null===n?(Zn=e,e=n):e=n,e}function ut(){var e,n;return e=Zn,t.substr(Zn,2)===hn?(n=hn,Zn+=2):(n=null,0===ar&&b(pn)),null!==n&&(Qn=e,n=fn()),null===n?(Zn=e,e=n):e=n,e}function lt(){var e,n;return e=Zn,t.substr(Zn,2)===dn?(n=dn,Zn+=2):(n=null,0===ar&&b(mn)),null!==n&&(Qn=e,n=gn()),null===n?(Zn=e,e=n):e=n,e}function it(){var e,n;return e=Zn,t.substr(Zn,2)===vn?(n=vn,Zn+=2):(n=null,0===ar&&b(xn)),null!==n&&(Qn=e,n=yn()),null===n?(Zn=e,e=n):e=n,e}function st(){var e,n;return e=Zn,t.substr(Zn,2)===bn?(n=bn,Zn+=2):(n=null,0===ar&&b(wn)),null!==n&&(Qn=e,n=Cn()),null===n?(Zn=e,e=n):e=n,e}function ct(){var e,n;return e=Zn,t.substr(Zn,2)===kn?(n=kn,Zn+=2):(n=null,0===ar&&b(Rn)),null!==n&&(Qn=e,n=En()),null===n?(Zn=e,e=n):e=n,e}function ht(){var e,n;return e=Zn,t.substr(Zn,2)===An?(n=An,Zn+=2):(n=null,0===ar&&b(_n)),null!==n&&(Qn=e,n=Mn()),null===n?(Zn=e,e=n):e=n,e}function pt(){var e,n,r;return e=Zn,t.substr(Zn,2)===Pn?(n=Pn,Zn+=2):(n=null,0===ar&&b(Sn)),null!==n?(t.length>Zn?(r=t.charAt(Zn),Zn++):(r=null,0===ar&&b(Tn)),null!==r?(Qn=e,n=Hn(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}function ft(){var e,n,r;return e=Zn,92===t.charCodeAt(Zn)?(n=Dn,Zn++):(n=null,0===ar&&b(qn)),null!==n?(Fn.test(t.charAt(Zn))?(r=t.charAt(Zn),Zn++):(r=null,0===ar&&b(Ln)),null!==r?(Qn=e,n=On(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}function dt(){var e,n,r,a;if(e=Zn,t.substr(Zn,2)===In?(n=In,Zn+=2):(n=null,0===ar&&b(jn)),null!==n){if(r=[],Nn.test(t.charAt(Zn))?(a=t.charAt(Zn),Zn++):(a=null,0===ar&&b(zn)),null!==a)for(;null!==a;)r.push(a),Nn.test(t.charAt(Zn))?(a=t.charAt(Zn),Zn++):(a=null,0===ar&&b(zn));else r=kt;null!==r?(Qn=e,n=Un(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)}else Zn=e,e=kt;return e}function mt(){var e,n,r,a;if(e=Zn,t.substr(Zn,2)===Bn?(n=Bn,Zn+=2):(n=null,0===ar&&b(Gn)),null!==n){if(r=[],Xn.test(t.charAt(Zn))?(a=t.charAt(Zn),Zn++):(a=null,0===ar&&b(Kn)),null!==a)for(;null!==a;)r.push(a),Xn.test(t.charAt(Zn))?(a=t.charAt(Zn),Zn++):(a=null,0===ar&&b(Kn));else r=kt;null!==r?(Qn=e,n=Wn(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)}else Zn=e,e=kt;return e}function gt(){var e,n,r,a;if(e=Zn,t.substr(Zn,2)===Yn?(n=Yn,Zn+=2):(n=null,0===ar&&b(Jn)),null!==n){if(r=[],Xn.test(t.charAt(Zn))?(a=t.charAt(Zn),Zn++):(a=null,0===ar&&b(Kn)),null!==a)for(;null!==a;)r.push(a),Xn.test(t.charAt(Zn))?(a=t.charAt(Zn),Zn++):(a=null,0===ar&&b(Kn));else r=kt;null!==r?(Qn=e,n=$n(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)}else Zn=e,e=kt;return e}function vt(){var e,n;return e=Zn,t.substr(Zn,2)===In?(n=In,Zn+=2):(n=null,0===ar&&b(jn)),null!==n&&(Qn=e,n=Vn()),null===n?(Zn=e,e=n):e=n,e}function xt(){var e,n,r;return e=Zn,92===t.charCodeAt(Zn)?(n=Dn,Zn++):(n=null,0===ar&&b(qn)),null!==n?(t.length>Zn?(r=t.charAt(Zn),Zn++):(r=null,0===ar&&b(Tn)),null!==r?(Qn=e,n=Fe(r),null===n?(Zn=e,e=n):e=n):(Zn=e,e=kt)):(Zn=e,e=kt),e}var yt,bt=arguments.length>1?arguments[1]:{},wt={regexp:C},Ct=C,kt=null,Rt="",Et="|",At='"|"',_t=function(t,e){return e?new r(t,e[1]):t},Mt=function(t,e,n){return new a([t].concat(e).concat([n]))},Pt="^",St='"^"',Tt=function(){return new n("start")},Ht="$",Dt='"$"',qt=function(){return new n("end")},Ft=function(t,e){return new l(t,e)},Lt="Quantifier",Ot=function(t,e){return e&&(t.greedy=!1),t},It="{",jt='"{"',Nt=",",zt='","',Ut="}",Bt='"}"',Gt=function(t,e){return new i(t,e)},Xt=",}",Kt='",}"',Wt=function(t){return new i(t,1/0)},Yt=function(t){return new i(t,t)},Jt="+",$t='"+"',Vt=function(){return new i(1,1/0)},Zt="*",Qt='"*"',te=function(){return new i(0,1/0)},ee="?",ne='"?"',re=function(){return new i(0,1)},ae=/^[0-9]/,oe="[0-9]",ue=function(t){return+t.join("")},le="(",ie='"("',se=")",ce='")"',he=function(t){return t},pe=function(t){return new u(t)},fe="?:",de='"?:"',me=function(t){return new o("non-capture-group",t)},ge="?=",ve='"?="',xe=function(t){return new o("positive-lookahead",t)},ye="?!",be='"?!"',we=function(t){return new o("negative-lookahead",t)},Ce="CharacterSet",ke="[",Re='"["',Ee="]",Ae='"]"',_e=function(t,e){return new s(!!t,e)},Me="CharacterRange",Pe="-",Se='"-"',Te=function(t,e){return new c(t,e)},He="Character",De=/^[^\\\]]/,qe="[^\\\\\\]]",Fe=function(t){return new h(t)},Le=".",Oe='"."',Ie=function(){return new n("any-character")},je="Literal",Ne=/^[^|\\\/.[()?+*$\^]/,ze="[^|\\\\\\/.[()?+*$\\^]",Ue="\\b",Be='"\\\\b"',Ge=function(){return new n("backspace")},Xe=function(){return new n("word-boundary")},Ke="\\B",We='"\\\\B"',Ye=function(){return new n("non-word-boundary")},Je="\\d",$e='"\\\\d"',Ve=function(){return new n("digit")},Ze="\\D",Qe='"\\\\D"',tn=function(){return new n("non-digit")},en="\\f",nn='"\\\\f"',rn=function(){return new n("form-feed")},an="\\n",on='"\\\\n"',un=function(){return new n("line-feed")},ln="\\r",sn='"\\\\r"',cn=function(){return new n("carriage-return")},hn="\\s",pn='"\\\\s"',fn=function(){return new n("white-space")},dn="\\S",mn='"\\\\S"',gn=function(){return new n("non-white-space")},vn="\\t",xn='"\\\\t"',yn=function(){return new n("tab")},bn="\\v",wn='"\\\\v"',Cn=function(){return new n("vertical-tab")},kn="\\w",Rn='"\\\\w"',En=function(){return new n("word")},An="\\W",_n='"\\\\W"',Mn=function(){
return new n("non-word")},Pn="\\c",Sn='"\\\\c"',Tn="any character",Hn=function(t){return new g(t)},Dn="\\",qn='"\\\\"',Fn=/^[1-9]/,Ln="[1-9]",On=function(t){return new m(t)},In="\\0",jn='"\\\\0"',Nn=/^[0-7]/,zn="[0-7]",Un=function(t){return new d(t.join(""))},Bn="\\x",Gn='"\\\\x"',Xn=/^[0-9a-fA-F]/,Kn="[0-9a-fA-F]",Wn=function(t){return new f(t.join(""))},Yn="\\u",Jn='"\\\\u"',$n=function(t){return new p(t.join(""))},Vn=function(){return new n("null-character")},Zn=0,Qn=0,tr=0,er={line:1,column:1,seenCR:!1},nr=0,rr=[],ar=0;if("startRule"in bt){if(!(bt.startRule in wt))throw new Error("Can't start parsing from rule \""+bt.startRule+'".');Ct=wt[bt.startRule]}if(n.offset=x,n.text=v,yt=Ct(),null!==yt&&Zn===t.length)return yt;throw w(rr),Qn=Math.max(Zn,nr),new e(rr,Qn<t.length?t.charAt(Qn):null,Qn,y(Qn).line,y(Qn).column)}return t(e,Error),{SyntaxError:e,parse:v}}(),x=1,y={};t.exports=v},function(t,e,n){function r(t,e){for(var n="",r=t;e>=r;r++)n+=String.fromCharCode(r);return n}var a=n(3),o=n(5),u={extend:a.extend},l=r(97,122),i=r(65,90),s=r(48,57),c=r(32,47)+r(58,64)+r(91,96)+r(123,126),h=r(32,126),p=" \f\n\r \x0B\u2028\u2029",f={"\\w":l+i+s+"_","\\W":c.replace("_",""),"\\s":p,"\\S":function(){for(var t=h,e=0;e<p.length;e++)t=t.replace(p[e],"");return t}(),"\\d":s,"\\D":l+i+c};u.gen=function(t,e,n){return n=n||{guid:1},u[t.type]?u[t.type](t,e,n):u.token(t,e,n)},u.extend({token:function(t,e,n){switch(t.type){case"start":case"end":return"";case"any-character":return o.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return o.pick(s.split(""));case"non-digit":return o.pick((l+i+c).split(""));case"form-feed":break;case"line-feed":return t.body||t.text;case"carriage-return":break;case"white-space":return o.pick(p.split(""));case"non-white-space":return o.pick((l+i+s).split(""));case"tab":break;case"vertical-tab":break;case"word":return o.pick((l+i+s).split(""));case"non-word":return o.pick(c.replace("_","").split(""));case"null-character":}return t.body||t.text},alternate:function(t,e,n){return this.gen(o["boolean"]()?t.left:t.right,e,n)},match:function(t,e,n){e="";for(var r=0;r<t.body.length;r++)e+=this.gen(t.body[r],e,n);return e},"capture-group":function(t,e,n){return e=this.gen(t.body,e,n),n[n.guid++]=e,e},"non-capture-group":function(t,e,n){return this.gen(t.body,e,n)},"positive-lookahead":function(t,e,n){return this.gen(t.body,e,n)},"negative-lookahead":function(t,e,n){return""},quantified:function(t,e,n){e="";for(var r=this.quantifier(t.quantifier),a=0;r>a;a++)e+=this.gen(t.body,e,n);return e},quantifier:function(t,e,n){var r=Math.max(t.min,0),a=isFinite(t.max)?t.max:r+o.integer(3,7);return o.integer(r,a)},charset:function(t,e,n){if(t.invert)return this["invert-charset"](t,e,n);var r=o.pick(t.body);return this.gen(r,e,n)},"invert-charset":function(t,e,n){for(var r,a=h,u=0;u<t.body.length;u++)switch(r=t.body[u],r.type){case"literal":a=a.replace(r.body,"");break;case"range":for(var l=this.gen(r.start,e,n).charCodeAt(),i=this.gen(r.end,e,n).charCodeAt(),s=l;i>=s;s++)a=a.replace(String.fromCharCode(s),"");default:var c=f[r.text];if(c)for(var p=0;p<=c.length;p++)a=a.replace(c[p],"")}return o.pick(a.split(""))},range:function(t,e,n){var r=this.gen(t.start,e,n).charCodeAt(),a=this.gen(t.end,e,n).charCodeAt();return String.fromCharCode(o.integer(r,a))},literal:function(t,e,n){return t.escaped?t.body:t.text},unicode:function(t,e,n){return String.fromCharCode(parseInt(t.code,16))},hex:function(t,e,n){return String.fromCharCode(parseInt(t.code,16))},octal:function(t,e,n){return String.fromCharCode(parseInt(t.code,8))},"back-reference":function(t,e,n){return n[t.code]||""},CONTROL_CHARACTER_MAP:function(){for(var t="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),e="\x00 \b \n \x0B \f \r ".split(" "),n={},r=0;r<t.length;r++)n[t[r]]=e[r];return n}(),"control-character":function(t,e,n){return this.CONTROL_CHARACTER_MAP[t.code]}}),t.exports=u},function(t,e,n){t.exports=n(24)},function(t,e,n){function r(t,e,n){n=n||[];var l={name:"string"==typeof e?e.replace(a.RE_KEY,"$1"):e,template:t,type:o.type(t),rule:u.parse(e)};switch(l.path=n.slice(0),l.path.push(void 0===e?"ROOT":l.name),l.type){case"array":l.items=[],o.each(t,function(t,e){l.items.push(r(t,e,l.path))});break;case"object":l.properties=[],o.each(t,function(t,e){l.properties.push(r(t,e,l.path))})}return l}var a=n(2),o=n(3),u=n(4);t.exports=r},function(t,e,n){t.exports=n(26)},function(t,e,n){function r(t,e){for(var n=o(t),r=u.diff(n,e),a=0;a<r.length;a++);return r}var a=n(3),o=n(23),u={diff:function(t,e,n){var r=[];return this.name(t,e,n,r)&&this.type(t,e,n,r)&&(this.value(t,e,n,r),this.properties(t,e,n,r),this.items(t,e,n,r)),r},name:function(t,e,n,r){var a=r.length;return l.equal("name",t.path,n+"",t.name+"",r),r.length!==a?!1:!0},type:function(t,e,n,r){var o=r.length;return l.equal("type",t.path,a.type(e),t.type,r),r.length!==o?!1:!0},value:function(t,e,n,r){var o=r.length,u=t.rule,i=a.type(t.template);if("object"!==i&&"array"!==i){if(!t.rule.parameters)return void l.equal("value",t.path,e,t.template,r);switch(i){case"number":var s=(e+"").split(".");s[0]=+s[0],void 0!==u.min&&void 0!==u.max&&(l.greaterThanOrEqualTo("value",t.path,s[0],u.min,r),l.lessThanOrEqualTo("value",t.path,s[0],u.max,r)),void 0!==u.min&&void 0===u.max&&l.equal("value",t.path,s[0],u.min,r,"[value] "+n),u.decimal&&(void 0!==u.dmin&&void 0!==u.dmax&&(l.greaterThanOrEqualTo("value",t.path,s[1].length,u.dmin,r),l.lessThanOrEqualTo("value",t.path,s[1].length,u.dmax,r)),void 0!==u.dmin&&void 0===u.dmax&&l.equal("value",t.path,s[1].length,u.dmin,r));break;case"boolean":break;case"string":var c=e.match(new RegExp(t.template,"g"));c=c?c.length:c,void 0!==u.min&&void 0!==u.max&&(l.greaterThanOrEqualTo("value",t.path,c,u.min,r),l.lessThanOrEqualTo("value",t.path,c,u.max,r)),void 0!==u.min&&void 0===u.max&&l.equal("value",t.path,c,u.min,r)}return r.length!==o?!1:!0}},properties:function(t,e,n,r){var o=r.length,u=t.rule,i=a.keys(e);if(t.properties){if(t.rule.parameters?(void 0!==u.min&&void 0!==u.max&&(l.greaterThanOrEqualTo("properties length",t.path,i.length,u.min,r),l.lessThanOrEqualTo("properties length",t.path,i.length,u.max,r)),void 0!==u.min&&void 0===u.max&&l.equal("properties length",t.path,i.length,u.min,r)):l.equal("properties length",t.path,i.length,t.properties.length,r),r.length!==o)return!1;for(var s=0;s<i.length;s++)r.push.apply(r,this.diff(t.properties[s],e[i[s]],i[s]));return r.length!==o?!1:!0}},items:function(t,e,n,r){var a=r.length;if(t.items){var o=t.rule;if(t.rule.parameters?(void 0!==o.min&&void 0!==o.max&&(l.greaterThanOrEqualTo("items",t.path,e.length,o.min*t.items.length,r,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),l.lessThanOrEqualTo("items",t.path,e.length,o.max*t.items.length,r,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),void 0!==o.min&&void 0===o.max&&l.equal("items length",t.path,e.length,o.min*t.items.length,r)):l.equal("items length",t.path,e.length,t.items.length,r),r.length!==a)return!1;for(var u=0;u<e.length;u++)r.push.apply(r,this.diff(t.items[u%t.items.length],e[u],u%t.items.length));return r.length!==a?!1:!0}}},l={message:function(t){return(t.message||"[{utype}] Expect {path}'{ltype} is {action} {expected}, but is {actual}").replace("{utype}",t.type.toUpperCase()).replace("{ltype}",t.type.toLowerCase()).replace("{path}",a.isArray(t.path)&&t.path.join(".")||t.path).replace("{action}",t.action).replace("{expected}",t.expected).replace("{actual}",t.actual)},equal:function(t,e,n,r,a,o){if(n===r)return!0;var u={path:e,type:t,actual:n,expected:r,action:"equal to",message:o};return u.message=l.message(u),a.push(u),!1},notEqual:function(t,e,n,r,a,o){if(n!==r)return!0;var u={path:e,type:t,actual:n,expected:r,action:"not equal to",message:o};return u.message=l.message(u),a.push(u),!1},greaterThan:function(t,e,n,r,a,o){if(n>r)return!0;var u={path:e,type:t,actual:n,expected:r,action:"greater than",message:o};return u.message=l.message(u),a.push(u),!1},lessThan:function(t,e,n,r,a,o){if(r>n)return!0;var u={path:e,type:t,actual:n,expected:r,action:"less to",message:o};return u.message=l.message(u),a.push(u),!1},greaterThanOrEqualTo:function(t,e,n,r,a,o){if(n>=r)return!0;var u={path:e,type:t,actual:n,expected:r,action:"greater than or equal to",message:o};return u.message=l.message(u),a.push(u),!1},lessThanOrEqualTo:function(t,e,n,r,a,o){if(r>=n)return!0;var u={path:e,type:t,actual:n,expected:r,action:"less than or equal to",message:o};return u.message=l.message(u),a.push(u),!1}};r.Diff=u,r.Assert=l,t.exports=r},function(t,e,n){t.exports=n(28)},function(t,e,n){function r(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}function a(){function t(){try{return new window._XMLHttpRequest}catch(t){}}function e(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}var n=function(){var t=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,e=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,n=location.href,r=e.exec(n.toLowerCase())||[];return t.test(r[1])}();return window.ActiveXObject?!n&&t()||e():t()}function o(t){function e(t,e){return"string"===l.type(t)?t===e:"regexp"===l.type(t)?t.test(e):void 0}for(var n in r.Mock._mocked){var a=r.Mock._mocked[n];if((!a.rurl||e(a.rurl,t.url))&&(!a.rtype||e(a.rtype,t.type.toLowerCase())))return a}}function u(t,e){return l.isFunction(t.template)?t.template(e):r.Mock.mock(t.template)}var l=n(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch(i){window.Event=function(t,e,n,r){var a=document.createEvent("CustomEvent");return a.initCustomEvent(t,e,n,r),a}}var s={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c="readystatechange loadstart progress abort error load timeout loadend".split(" "),h="readyState responseURL status statusText responseType response responseText responseXML".split(" "),p={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};r._settings={timeout:"10-100"},r.setup=function(t){return l.extend(r._settings,t),r._settings},l.extend(r,s),l.extend(r.prototype,s),r.prototype.mock=!0,r.prototype.match=!1,l.extend(r.prototype,{open:function(t,e,n,u,i){function s(t){for(var e=0,n=h.length;n>e;e++)try{p[h[e]]=d[h[e]]}catch(r){}p.dispatchEvent(new Event(t.type))}var p=this;l.extend(this.custom,{method:t,url:e,async:"boolean"==typeof n?n:!0,username:u,password:i,options:{url:e,type:t}}),this.custom.timeout=function(t){if("number"==typeof t)return t;if("string"==typeof t&&!~t.indexOf("-"))return parseInt(t,10);if("string"==typeof t&&~t.indexOf("-")){var e=t.split("-"),n=parseInt(e[0],10),r=parseInt(e[1],10);return Math.round(Math.random()*(r-n))+n}}(r._settings.timeout);var f=o(this.custom.options);if(!f){var d=a();this.custom.xhr=d;for(var m=0;m<c.length;m++)d.addEventListener(c[m],s);return void(u?d.open(t,e,n,u,i):d.open(t,e,n))}this.match=!0,this.custom.template=f,this.readyState=r.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(t,e){if(!this.match)return void this.custom.xhr.setRequestHeader(t,e);var n=this.custom.requestHeaders;n[t]?n[t]+=","+e:n[t]=e},timeout:0,withCredentials:!1,upload:{},send:function(t){function e(){n.readyState=r.HEADERS_RECEIVED,n.dispatchEvent(new Event("readystatechange")),n.readyState=r.LOADING,n.dispatchEvent(new Event("readystatechange")),n.status=200,n.statusText=p[200],n.responseText=JSON.stringify(u(n.custom.template,n.custom.options),null,4),n.readyState=r.DONE,n.dispatchEvent(new Event("readystatechange")),n.dispatchEvent(new Event("load")),n.dispatchEvent(new Event("loadend"))}var n=this;return this.custom.options.body=t,this.match?(this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),void(this.custom.async?setTimeout(e,this.custom.timeout):e())):void this.custom.xhr.send(t)},abort:function(){return this.match?(this.readyState=r.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),void this.dispatchEvent(new Event("error",!1,!1,this))):void this.custom.xhr.abort()}}),l.extend(r.prototype,{responseURL:"",status:r.UNSENT,statusText:"",getResponseHeader:function(t){return this.match?this.custom.responseHeaders[t.toLowerCase()]:this.custom.xhr.getResponseHeader(t)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var t=this.custom.responseHeaders,e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+": "+t[n]+"\r\n");return e},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),l.extend(r.prototype,{addEventListene:function(t,e){var n=this.custom.events;n[t]||(n[t]=[]),n[t].push(e)},removeEventListener:function(t,e){for(var n=this.custom.events[t]||[],r=0;r<n.length;r++)n[r]===e&&n.splice(r--,1)},dispatchEvent:function(t){for(var e=this.custom.events[t.type]||[],n=0;n<e.length;n++)e[n].call(this,t);var r="on"+t.type;this[r]&&this[r](t)}}),t.exports=r}])});
```
|
/content/code_sandbox/demo/ajax/mock.min.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 32,198
|
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="select_contact">
<label></label>
<div class="pc-box">
<input type="hidden" name="contact_province_code" data-id="0001" id="contact_province_code" value="" data-province-name="">
<input type="hidden" name="contact_city_code" id="contact_city_code" value="" data-city-name=""><span data-city-code="510100" data-province-code="510000" data-district-code="510105" id="show_contact"> </span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="mock.min.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
// mock.jsajax
Mock.mock(/area\.php$/, function(){
return [
{"id": "110000", "value": "", "parentId": "0"},
{"id": "120000", "value": "", "parentId": "0"},
{"id": "130000", "value": "", "parentId": "0"}
];
});
// mock.jsajax
Mock.mock(/area\.php\?province=\d+$/, function(options){
var data=[
{"id":"110100","value":"","parentId":"110000"},
{"id":"120100","value":"","parentId":"120000"},
{"id":"130100","value":"","parentId":"130000"},
{"id":"130200","value":"","parentId":"130000"},
{"id":"130300","value":"","parentId":"130000"},
{"id":"130400","value":"","parentId":"130000"},
{"id":"130500","value":"","parentId":"130000"},
{"id":"130600","value":"","parentId":"130000"},
{"id":"130700","value":"","parentId":"130000"},
{"id":"130800","value":"","parentId":"130000"},
{"id":"130900","value":"","parentId":"130000"},
{"id":"131000","value":"","parentId":"130000"},
{"id":"131100","value":"","parentId":"130000"}
];
var province=options.url.replace(/\D+/,'');
var result=[];
for (var i = 0; i < data.length; i++) {
if (data[i].parentId==province) {
result.push(data[i]);
}
}
return result;
});
// mock.jsajax
Mock.mock(/area\.php\?province=\d+&city=\d+$/, function(options){
var data = [
{"id":"110101","value":"","parentId":"110100"},
{"id":"110102","value":"","parentId":"110100"},
{"id":"110105","value":"","parentId":"110100"},
{"id":"110106","value":"","parentId":"110100"},
{"id":"110107","value":"","parentId":"110100"},
{"id":"110108","value":"","parentId":"110100"},
{"id":"110109","value":"","parentId":"110100"},
{"id":"110111","value":"","parentId":"110100"},
{"id":"110112","value":"","parentId":"110100"},
{"id":"110113","value":"","parentId":"110100"},
{"id":"110114","value":"","parentId":"110100"},
{"id":"110115","value":"","parentId":"110100"},
{"id":"110116","value":"","parentId":"110100"},
{"id":"110117","value":"","parentId":"110100"},
{"id":"110228","value":"","parentId":"110100"},
{"id":"110229","value":"","parentId":"110100"},
{"id":"120101","value":"","parentId":"120100"},
{"id":"120102","value":"","parentId":"120100"},
{"id":"120103","value":"","parentId":"120100"},
{"id":"120104","value":"","parentId":"120100"},
{"id":"120105","value":"","parentId":"120100"},
{"id":"120106","value":"","parentId":"120100"},
{"id":"120110","value":"","parentId":"120100"},
{"id":"120111","value":"","parentId":"120100"},
{"id":"120112","value":"","parentId":"120100"},
{"id":"120113","value":"","parentId":"120100"},
{"id":"120114","value":"","parentId":"120100"},
{"id":"120115","value":"","parentId":"120100"},
{"id":"120116","value":"","parentId":"120100"},
{"id":"130102","value":"","parentId":"130100"},
{"id":"130103","value":"","parentId":"130100"},
{"id":"130104","value":"","parentId":"130100"},
{"id":"130105","value":"","parentId":"130100"},
{"id":"130107","value":"","parentId":"130100"},
{"id":"130108","value":"","parentId":"130100"},
{"id":"130121","value":"","parentId":"130100"},
{"id":"130123","value":"","parentId":"130100"},
{"id":"130124","value":"","parentId":"130100"},
{"id":"130125","value":"","parentId":"130100"},
{"id":"130126","value":"","parentId":"130100"},
{"id":"130127","value":"","parentId":"130100"},
{"id":"130128","value":"","parentId":"130100"},
{"id":"130129","value":"","parentId":"130100"},
{"id":"130130","value":"","parentId":"130100"},
{"id":"130131","value":"","parentId":"130100"},
{"id":"130132","value":"","parentId":"130100"},
{"id":"130133","value":"","parentId":"130100"},
{"id":"130181","value":"","parentId":"130100"},
{"id":"130182","value":"","parentId":"130100"},
{"id":"130183","value":"","parentId":"130100"},
{"id":"130184","value":"","parentId":"130100"},
{"id":"130185","value":"","parentId":"130100"},
{"id":"130202","value":"","parentId":"130200"},
{"id":"130203","value":"","parentId":"130200"},
{"id":"130204","value":"","parentId":"130200"},
{"id":"130205","value":"","parentId":"130200"},
{"id":"130207","value":"","parentId":"130200"},
{"id":"130208","value":"","parentId":"130200"},
{"id":"130223","value":"","parentId":"130200"},
{"id":"130224","value":"","parentId":"130200"},
{"id":"130225","value":"","parentId":"130200"},
{"id":"130227","value":"","parentId":"130200"},
{"id":"130229","value":"","parentId":"130200"},
{"id":"130230","value":"","parentId":"130200"},
{"id":"130281","value":"","parentId":"130200"},
{"id":"130283","value":"","parentId":"130200"},
{"id":"130302","value":"","parentId":"130300"},
{"id":"130303","value":"","parentId":"130300"},
{"id":"130304","value":"","parentId":"130300"},
{"id":"130321","value":"","parentId":"130300"},
{"id":"130322","value":"","parentId":"130300"},
{"id":"130323","value":"","parentId":"130300"},
{"id":"130324","value":"","parentId":"130300"},
{"id":"130402","value":"","parentId":"130400"},
{"id":"130403","value":"","parentId":"130400"},
{"id":"130404","value":"","parentId":"130400"},
{"id":"130406","value":"","parentId":"130400"},
{"id":"130421","value":"","parentId":"130400"},
{"id":"130423","value":"","parentId":"130400"},
{"id":"130424","value":"","parentId":"130400"},
{"id":"130425","value":"","parentId":"130400"},
{"id":"130426","value":"","parentId":"130400"},
{"id":"130427","value":"","parentId":"130400"},
{"id":"130428","value":"","parentId":"130400"},
{"id":"130429","value":"","parentId":"130400"},
{"id":"130430","value":"","parentId":"130400"},
{"id":"130431","value":"","parentId":"130400"},
{"id":"130432","value":"","parentId":"130400"},
{"id":"130433","value":"","parentId":"130400"},
{"id":"130434","value":"","parentId":"130400"},
{"id":"130435","value":"","parentId":"130400"},
{"id":"130481","value":"","parentId":"130400"},
{"id":"130502","value":"","parentId":"130500"},
{"id":"130503","value":"","parentId":"130500"},
{"id":"130521","value":"","parentId":"130500"},
{"id":"130522","value":"","parentId":"130500"},
{"id":"130523","value":"","parentId":"130500"},
{"id":"130524","value":"","parentId":"130500"},
{"id":"130525","value":"","parentId":"130500"},
{"id":"130526","value":"","parentId":"130500"},
{"id":"130527","value":"","parentId":"130500"},
{"id":"130528","value":"","parentId":"130500"},
{"id":"130529","value":"","parentId":"130500"},
{"id":"130530","value":"","parentId":"130500"},
{"id":"130531","value":"","parentId":"130500"},
{"id":"130532","value":"","parentId":"130500"},
{"id":"130533","value":"","parentId":"130500"},
{"id":"130534","value":"","parentId":"130500"},
{"id":"130535","value":"","parentId":"130500"},
{"id":"130581","value":"","parentId":"130500"},
{"id":"130582","value":"","parentId":"130500"},
{"id":"130602","value":"","parentId":"130600"},
{"id":"130603","value":"","parentId":"130600"},
{"id":"130604","value":"","parentId":"130600"},
{"id":"130621","value":"","parentId":"130600"},
{"id":"130622","value":"","parentId":"130600"},
{"id":"130623","value":"","parentId":"130600"},
{"id":"130624","value":"","parentId":"130600"},
{"id":"130625","value":"","parentId":"130600"},
{"id":"130626","value":"","parentId":"130600"},
{"id":"130627","value":"","parentId":"130600"},
{"id":"130628","value":"","parentId":"130600"},
{"id":"130629","value":"","parentId":"130600"},
{"id":"130630","value":"","parentId":"130600"},
{"id":"130631","value":"","parentId":"130600"},
{"id":"130632","value":"","parentId":"130600"},
{"id":"130633","value":"","parentId":"130600"},
{"id":"130634","value":"","parentId":"130600"},
{"id":"130635","value":"","parentId":"130600"},
{"id":"130636","value":"","parentId":"130600"},
{"id":"130637","value":"","parentId":"130600"},
{"id":"130638","value":"","parentId":"130600"},
{"id":"130681","value":"","parentId":"130600"},
{"id":"130682","value":"","parentId":"130600"},
{"id":"130683","value":"","parentId":"130600"},
{"id":"130684","value":"","parentId":"130600"},
{"id":"130702","value":"","parentId":"130700"},
{"id":"130703","value":"","parentId":"130700"},
{"id":"130705","value":"","parentId":"130700"},
{"id":"130706","value":"","parentId":"130700"},
{"id":"130721","value":"","parentId":"130700"},
{"id":"130722","value":"","parentId":"130700"},
{"id":"130723","value":"","parentId":"130700"},
{"id":"130724","value":"","parentId":"130700"},
{"id":"130725","value":"","parentId":"130700"},
{"id":"130726","value":"","parentId":"130700"},
{"id":"130727","value":"","parentId":"130700"},
{"id":"130728","value":"","parentId":"130700"},
{"id":"130729","value":"","parentId":"130700"},
{"id":"130730","value":"","parentId":"130700"},
{"id":"130731","value":"","parentId":"130700"},
{"id":"130732","value":"","parentId":"130700"},
{"id":"130733","value":"","parentId":"130700"},
{"id":"130802","value":"","parentId":"130800"},
{"id":"130803","value":"","parentId":"130800"},
{"id":"130804","value":"","parentId":"130800"},
{"id":"130821","value":"","parentId":"130800"},
{"id":"130822","value":"","parentId":"130800"},
{"id":"130823","value":"","parentId":"130800"},
{"id":"130824","value":"","parentId":"130800"},
{"id":"130825","value":"","parentId":"130800"},
{"id":"130826","value":"","parentId":"130800"},
{"id":"130827","value":"","parentId":"130800"},
{"id":"130828","value":"","parentId":"130800"},
{"id":"130902","value":"","parentId":"130900"},
{"id":"130903","value":"","parentId":"130900"},
{"id":"130921","value":"","parentId":"130900"},
{"id":"130922","value":"","parentId":"130900"},
{"id":"130923","value":"","parentId":"130900"},
{"id":"130924","value":"","parentId":"130900"},
{"id":"130925","value":"","parentId":"130900"},
{"id":"130926","value":"","parentId":"130900"},
{"id":"130927","value":"","parentId":"130900"},
{"id":"130928","value":"","parentId":"130900"},
{"id":"130929","value":"","parentId":"130900"},
{"id":"130930","value":"","parentId":"130900"},
{"id":"130981","value":"","parentId":"130900"},
{"id":"130982","value":"","parentId":"130900"},
{"id":"130983","value":"","parentId":"130900"},
{"id":"130984","value":"","parentId":"130900"},
{"id":"131002","value":"","parentId":"131000"},
{"id":"131003","value":"","parentId":"131000"},
{"id":"131022","value":"","parentId":"131000"},
{"id":"131023","value":"","parentId":"131000"},
{"id":"131024","value":"","parentId":"131000"},
{"id":"131025","value":"","parentId":"131000"},
{"id":"131026","value":"","parentId":"131000"},
{"id":"131028","value":"","parentId":"131000"},
{"id":"131081","value":"","parentId":"131000"},
{"id":"131082","value":"","parentId":"131000"},
{"id":"131102","value":"","parentId":"131100"},
{"id":"131121","value":"","parentId":"131100"},
{"id":"131122","value":"","parentId":"131100"},
{"id":"131123","value":"","parentId":"131100"},
{"id":"131124","value":"","parentId":"131100"},
{"id":"131125","value":"","parentId":"131100"},
{"id":"131126","value":"","parentId":"131100"},
{"id":"131127","value":"","parentId":"131100"},
{"id":"131128","value":"","parentId":"131100"},
{"id":"131181","value":"","parentId":"131100"},
{"id":"131182","value":"","parentId":"131100"}
];
var city=options.url.replace(/[^&]+&city=/,'');
var result=[];
for (var i = 0; i < data.length; i++) {
if (data[i].parentId==city) {
result.push(data[i]);
}
}
return result;
});
var areaData1= function(callback){// callback
$.ajax({
url: './area.php',
dataType: 'json',
success:function(data,textStatus){
callback(data);
},
});
}
var areaData2= function(province,callback){// provinceID,callback
$.ajax({
url: './area.php?province='+province,
dataType: 'json',
success:function(data,textStatus){
callback(data);
},
});
}
var areaData3= function(province,city,callback){// provinceID,cityID,callback
$.ajax({
url: './area.php?province='+province+'&city='+city,
dataType: 'json',
success:function(data,textStatus){
callback(data);
},
});
}
var selectContactDom = $('#select_contact');
var showContactDom = $('#show_contact');
var contactProvinceCodeDom = $('#contact_province_code');
var contactCityCodeDom = $('#contact_city_code');
selectContactDom.bind('click', function () {
var sccode = showContactDom.attr('data-city-code');
var scname = showContactDom.attr('data-city-name');
var oneLevelId = showContactDom.attr('data-province-code');
var twoLevelId = showContactDom.attr('data-city-code');
var threeLevelId = showContactDom.attr('data-district-code');
var iosSelect = new IosSelect(3,
[areaData1, areaData2, areaData3],
{
title: '',
itemHeight: 35,
relation: [1, 1, 0, 0],
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
showLoading:true,
callback: function (selectOneObj, selectTwoObj, selectThreeObj) {
contactProvinceCodeDom.val(selectOneObj.id);
contactProvinceCodeDom.attr('data-province-name', selectOneObj.value);
contactCityCodeDom.val(selectTwoObj.id);
contactCityCodeDom.attr('data-city-name', selectTwoObj.value);
showContactDom.attr('data-province-code', selectOneObj.id);
showContactDom.attr('data-city-code', selectTwoObj.id);
showContactDom.attr('data-district-code', selectThreeObj.id);
showContactDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/ajax/area2.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 4,128
|
```javascript
[
{"id":"110101","value":"","parentId":"110100"},
{"id":"110102","value":"","parentId":"110100"},
{"id":"110105","value":"","parentId":"110100"},
{"id":"110106","value":"","parentId":"110100"},
{"id":"110107","value":"","parentId":"110100"},
{"id":"110108","value":"","parentId":"110100"},
{"id":"110109","value":"","parentId":"110100"},
{"id":"110111","value":"","parentId":"110100"},
{"id":"110112","value":"","parentId":"110100"},
{"id":"110113","value":"","parentId":"110100"},
{"id":"110114","value":"","parentId":"110100"},
{"id":"110115","value":"","parentId":"110100"},
{"id":"110116","value":"","parentId":"110100"},
{"id":"110117","value":"","parentId":"110100"},
{"id":"110228","value":"","parentId":"110100"},
{"id":"110229","value":"","parentId":"110100"},
{"id":"120101","value":"","parentId":"120100"},
{"id":"120102","value":"","parentId":"120100"},
{"id":"120103","value":"","parentId":"120100"},
{"id":"120104","value":"","parentId":"120100"},
{"id":"120105","value":"","parentId":"120100"},
{"id":"120106","value":"","parentId":"120100"},
{"id":"120110","value":"","parentId":"120100"},
{"id":"120111","value":"","parentId":"120100"},
{"id":"120112","value":"","parentId":"120100"},
{"id":"120113","value":"","parentId":"120100"},
{"id":"120114","value":"","parentId":"120100"},
{"id":"120115","value":"","parentId":"120100"},
{"id":"120116","value":"","parentId":"120100"},
{"id":"130102","value":"","parentId":"130100"},
{"id":"130103","value":"","parentId":"130100"},
{"id":"130104","value":"","parentId":"130100"},
{"id":"130105","value":"","parentId":"130100"},
{"id":"130107","value":"","parentId":"130100"},
{"id":"130108","value":"","parentId":"130100"},
{"id":"130121","value":"","parentId":"130100"},
{"id":"130123","value":"","parentId":"130100"},
{"id":"130124","value":"","parentId":"130100"},
{"id":"130125","value":"","parentId":"130100"},
{"id":"130126","value":"","parentId":"130100"},
{"id":"130127","value":"","parentId":"130100"},
{"id":"130128","value":"","parentId":"130100"},
{"id":"130129","value":"","parentId":"130100"},
{"id":"130130","value":"","parentId":"130100"},
{"id":"130131","value":"","parentId":"130100"},
{"id":"130132","value":"","parentId":"130100"},
{"id":"130133","value":"","parentId":"130100"},
{"id":"130181","value":"","parentId":"130100"},
{"id":"130182","value":"","parentId":"130100"},
{"id":"130183","value":"","parentId":"130100"},
{"id":"130184","value":"","parentId":"130100"},
{"id":"130185","value":"","parentId":"130100"},
{"id":"130202","value":"","parentId":"130200"},
{"id":"130203","value":"","parentId":"130200"},
{"id":"130204","value":"","parentId":"130200"},
{"id":"130205","value":"","parentId":"130200"},
{"id":"130207","value":"","parentId":"130200"},
{"id":"130208","value":"","parentId":"130200"},
{"id":"130223","value":"","parentId":"130200"},
{"id":"130224","value":"","parentId":"130200"},
{"id":"130225","value":"","parentId":"130200"},
{"id":"130227","value":"","parentId":"130200"},
{"id":"130229","value":"","parentId":"130200"},
{"id":"130230","value":"","parentId":"130200"},
{"id":"130281","value":"","parentId":"130200"},
{"id":"130283","value":"","parentId":"130200"},
{"id":"130302","value":"","parentId":"130300"},
{"id":"130303","value":"","parentId":"130300"},
{"id":"130304","value":"","parentId":"130300"},
{"id":"130321","value":"","parentId":"130300"},
{"id":"130322","value":"","parentId":"130300"},
{"id":"130323","value":"","parentId":"130300"},
{"id":"130324","value":"","parentId":"130300"},
{"id":"130402","value":"","parentId":"130400"},
{"id":"130403","value":"","parentId":"130400"},
{"id":"130404","value":"","parentId":"130400"},
{"id":"130406","value":"","parentId":"130400"},
{"id":"130421","value":"","parentId":"130400"},
{"id":"130423","value":"","parentId":"130400"},
{"id":"130424","value":"","parentId":"130400"},
{"id":"130425","value":"","parentId":"130400"},
{"id":"130426","value":"","parentId":"130400"},
{"id":"130427","value":"","parentId":"130400"},
{"id":"130428","value":"","parentId":"130400"},
{"id":"130429","value":"","parentId":"130400"},
{"id":"130430","value":"","parentId":"130400"},
{"id":"130431","value":"","parentId":"130400"},
{"id":"130432","value":"","parentId":"130400"},
{"id":"130433","value":"","parentId":"130400"},
{"id":"130434","value":"","parentId":"130400"},
{"id":"130435","value":"","parentId":"130400"},
{"id":"130481","value":"","parentId":"130400"},
{"id":"130502","value":"","parentId":"130500"},
{"id":"130503","value":"","parentId":"130500"},
{"id":"130521","value":"","parentId":"130500"},
{"id":"130522","value":"","parentId":"130500"},
{"id":"130523","value":"","parentId":"130500"},
{"id":"130524","value":"","parentId":"130500"},
{"id":"130525","value":"","parentId":"130500"},
{"id":"130526","value":"","parentId":"130500"},
{"id":"130527","value":"","parentId":"130500"},
{"id":"130528","value":"","parentId":"130500"},
{"id":"130529","value":"","parentId":"130500"},
{"id":"130530","value":"","parentId":"130500"},
{"id":"130531","value":"","parentId":"130500"},
{"id":"130532","value":"","parentId":"130500"},
{"id":"130533","value":"","parentId":"130500"},
{"id":"130534","value":"","parentId":"130500"},
{"id":"130535","value":"","parentId":"130500"},
{"id":"130581","value":"","parentId":"130500"},
{"id":"130582","value":"","parentId":"130500"},
{"id":"130602","value":"","parentId":"130600"},
{"id":"130603","value":"","parentId":"130600"},
{"id":"130604","value":"","parentId":"130600"},
{"id":"130621","value":"","parentId":"130600"},
{"id":"130622","value":"","parentId":"130600"},
{"id":"130623","value":"","parentId":"130600"},
{"id":"130624","value":"","parentId":"130600"},
{"id":"130625","value":"","parentId":"130600"},
{"id":"130626","value":"","parentId":"130600"},
{"id":"130627","value":"","parentId":"130600"},
{"id":"130628","value":"","parentId":"130600"},
{"id":"130629","value":"","parentId":"130600"},
{"id":"130630","value":"","parentId":"130600"},
{"id":"130631","value":"","parentId":"130600"},
{"id":"130632","value":"","parentId":"130600"},
{"id":"130633","value":"","parentId":"130600"},
{"id":"130634","value":"","parentId":"130600"},
{"id":"130635","value":"","parentId":"130600"},
{"id":"130636","value":"","parentId":"130600"},
{"id":"130637","value":"","parentId":"130600"},
{"id":"130638","value":"","parentId":"130600"},
{"id":"130681","value":"","parentId":"130600"},
{"id":"130682","value":"","parentId":"130600"},
{"id":"130683","value":"","parentId":"130600"},
{"id":"130684","value":"","parentId":"130600"},
{"id":"130702","value":"","parentId":"130700"},
{"id":"130703","value":"","parentId":"130700"},
{"id":"130705","value":"","parentId":"130700"},
{"id":"130706","value":"","parentId":"130700"},
{"id":"130721","value":"","parentId":"130700"},
{"id":"130722","value":"","parentId":"130700"},
{"id":"130723","value":"","parentId":"130700"},
{"id":"130724","value":"","parentId":"130700"},
{"id":"130725","value":"","parentId":"130700"},
{"id":"130726","value":"","parentId":"130700"},
{"id":"130727","value":"","parentId":"130700"},
{"id":"130728","value":"","parentId":"130700"},
{"id":"130729","value":"","parentId":"130700"},
{"id":"130730","value":"","parentId":"130700"},
{"id":"130731","value":"","parentId":"130700"},
{"id":"130732","value":"","parentId":"130700"},
{"id":"130733","value":"","parentId":"130700"},
{"id":"130802","value":"","parentId":"130800"},
{"id":"130803","value":"","parentId":"130800"},
{"id":"130804","value":"","parentId":"130800"},
{"id":"130821","value":"","parentId":"130800"},
{"id":"130822","value":"","parentId":"130800"},
{"id":"130823","value":"","parentId":"130800"},
{"id":"130824","value":"","parentId":"130800"},
{"id":"130825","value":"","parentId":"130800"},
{"id":"130826","value":"","parentId":"130800"},
{"id":"130827","value":"","parentId":"130800"},
{"id":"130828","value":"","parentId":"130800"},
{"id":"130902","value":"","parentId":"130900"},
{"id":"130903","value":"","parentId":"130900"},
{"id":"130921","value":"","parentId":"130900"},
{"id":"130922","value":"","parentId":"130900"},
{"id":"130923","value":"","parentId":"130900"},
{"id":"130924","value":"","parentId":"130900"},
{"id":"130925","value":"","parentId":"130900"},
{"id":"130926","value":"","parentId":"130900"},
{"id":"130927","value":"","parentId":"130900"},
{"id":"130928","value":"","parentId":"130900"},
{"id":"130929","value":"","parentId":"130900"},
{"id":"130930","value":"","parentId":"130900"},
{"id":"130981","value":"","parentId":"130900"},
{"id":"130982","value":"","parentId":"130900"},
{"id":"130983","value":"","parentId":"130900"},
{"id":"130984","value":"","parentId":"130900"},
{"id":"131002","value":"","parentId":"131000"},
{"id":"131003","value":"","parentId":"131000"},
{"id":"131022","value":"","parentId":"131000"},
{"id":"131023","value":"","parentId":"131000"},
{"id":"131024","value":"","parentId":"131000"},
{"id":"131025","value":"","parentId":"131000"},
{"id":"131026","value":"","parentId":"131000"},
{"id":"131028","value":"","parentId":"131000"},
{"id":"131081","value":"","parentId":"131000"},
{"id":"131082","value":"","parentId":"131000"},
{"id":"131102","value":"","parentId":"131100"},
{"id":"131121","value":"","parentId":"131100"},
{"id":"131122","value":"","parentId":"131100"},
{"id":"131123","value":"","parentId":"131100"},
{"id":"131124","value":"","parentId":"131100"},
{"id":"131125","value":"","parentId":"131100"},
{"id":"131126","value":"","parentId":"131100"},
{"id":"131127","value":"","parentId":"131100"},
{"id":"131128","value":"","parentId":"131100"},
{"id":"131181","value":"","parentId":"131100"},
{"id":"131182","value":"","parentId":"131100"},
{"id":"140105","value":"","parentId":"140100"},
{"id":"140106","value":"","parentId":"140100"},
{"id":"140107","value":"","parentId":"140100"},
{"id":"140108","value":"","parentId":"140100"},
{"id":"140109","value":"","parentId":"140100"},
{"id":"140110","value":"","parentId":"140100"},
{"id":"140121","value":"","parentId":"140100"},
{"id":"140122","value":"","parentId":"140100"},
{"id":"140123","value":"","parentId":"140100"},
{"id":"140181","value":"","parentId":"140100"},
{"id":"140202","value":"","parentId":"140200"},
{"id":"140203","value":"","parentId":"140200"},
{"id":"140211","value":"","parentId":"140200"},
{"id":"140212","value":"","parentId":"140200"},
{"id":"140221","value":"","parentId":"140200"},
{"id":"140222","value":"","parentId":"140200"},
{"id":"140223","value":"","parentId":"140200"},
{"id":"140224","value":"","parentId":"140200"},
{"id":"140225","value":"","parentId":"140200"},
{"id":"140226","value":"","parentId":"140200"},
{"id":"140227","value":"","parentId":"140200"},
{"id":"140302","value":"","parentId":"140300"},
{"id":"140303","value":"","parentId":"140300"},
{"id":"140311","value":"","parentId":"140300"},
{"id":"140321","value":"","parentId":"140300"},
{"id":"140322","value":"","parentId":"140300"},
{"id":"140402","value":"","parentId":"140400"},
{"id":"140411","value":"","parentId":"140400"},
{"id":"140421","value":"","parentId":"140400"},
{"id":"140423","value":"","parentId":"140400"},
{"id":"140424","value":"","parentId":"140400"},
{"id":"140425","value":"","parentId":"140400"},
{"id":"140426","value":"","parentId":"140400"},
{"id":"140427","value":"","parentId":"140400"},
{"id":"140428","value":"","parentId":"140400"},
{"id":"140429","value":"","parentId":"140400"},
{"id":"140430","value":"","parentId":"140400"},
{"id":"140431","value":"","parentId":"140400"},
{"id":"140481","value":"","parentId":"140400"},
{"id":"140502","value":"","parentId":"140500"},
{"id":"140521","value":"","parentId":"140500"},
{"id":"140522","value":"","parentId":"140500"},
{"id":"140524","value":"","parentId":"140500"},
{"id":"140525","value":"","parentId":"140500"},
{"id":"140581","value":"","parentId":"140500"},
{"id":"140602","value":"","parentId":"140600"},
{"id":"140603","value":"","parentId":"140600"},
{"id":"140621","value":"","parentId":"140600"},
{"id":"140622","value":"","parentId":"140600"},
{"id":"140623","value":"","parentId":"140600"},
{"id":"140624","value":"","parentId":"140600"},
{"id":"140702","value":"","parentId":"140700"},
{"id":"140721","value":"","parentId":"140700"},
{"id":"140722","value":"","parentId":"140700"},
{"id":"140723","value":"","parentId":"140700"},
{"id":"140724","value":"","parentId":"140700"},
{"id":"140725","value":"","parentId":"140700"},
{"id":"140726","value":"","parentId":"140700"},
{"id":"140727","value":"","parentId":"140700"},
{"id":"140728","value":"","parentId":"140700"},
{"id":"140729","value":"","parentId":"140700"},
{"id":"140781","value":"","parentId":"140700"},
{"id":"140802","value":"","parentId":"140800"},
{"id":"140821","value":"","parentId":"140800"},
{"id":"140822","value":"","parentId":"140800"},
{"id":"140823","value":"","parentId":"140800"},
{"id":"140824","value":"","parentId":"140800"},
{"id":"140825","value":"","parentId":"140800"},
{"id":"140826","value":"","parentId":"140800"},
{"id":"140827","value":"","parentId":"140800"},
{"id":"140828","value":"","parentId":"140800"},
{"id":"140829","value":"","parentId":"140800"},
{"id":"140830","value":"","parentId":"140800"},
{"id":"140881","value":"","parentId":"140800"},
{"id":"140882","value":"","parentId":"140800"},
{"id":"140902","value":"","parentId":"140900"},
{"id":"140921","value":"","parentId":"140900"},
{"id":"140922","value":"","parentId":"140900"},
{"id":"140923","value":"","parentId":"140900"},
{"id":"140924","value":"","parentId":"140900"},
{"id":"140925","value":"","parentId":"140900"},
{"id":"140926","value":"","parentId":"140900"},
{"id":"140927","value":"","parentId":"140900"},
{"id":"140928","value":"","parentId":"140900"},
{"id":"140929","value":"","parentId":"140900"},
{"id":"140930","value":"","parentId":"140900"},
{"id":"140931","value":"","parentId":"140900"},
{"id":"140932","value":"","parentId":"140900"},
{"id":"140981","value":"","parentId":"140900"},
{"id":"141002","value":"","parentId":"141000"},
{"id":"141021","value":"","parentId":"141000"},
{"id":"141022","value":"","parentId":"141000"},
{"id":"141023","value":"","parentId":"141000"},
{"id":"141024","value":"","parentId":"141000"},
{"id":"141025","value":"","parentId":"141000"},
{"id":"141026","value":"","parentId":"141000"},
{"id":"141027","value":"","parentId":"141000"},
{"id":"141028","value":"","parentId":"141000"},
{"id":"141029","value":"","parentId":"141000"},
{"id":"141030","value":"","parentId":"141000"},
{"id":"141031","value":"","parentId":"141000"},
{"id":"141032","value":"","parentId":"141000"},
{"id":"141033","value":"","parentId":"141000"},
{"id":"141034","value":"","parentId":"141000"},
{"id":"141081","value":"","parentId":"141000"},
{"id":"141082","value":"","parentId":"141000"},
{"id":"141102","value":"","parentId":"141100"},
{"id":"141121","value":"","parentId":"141100"},
{"id":"141122","value":"","parentId":"141100"},
{"id":"141123","value":"","parentId":"141100"},
{"id":"141124","value":"","parentId":"141100"},
{"id":"141125","value":"","parentId":"141100"},
{"id":"141126","value":"","parentId":"141100"},
{"id":"141127","value":"","parentId":"141100"},
{"id":"141128","value":"","parentId":"141100"},
{"id":"141129","value":"","parentId":"141100"},
{"id":"141130","value":"","parentId":"141100"},
{"id":"141181","value":"","parentId":"141100"},
{"id":"141182","value":"","parentId":"141100"},
{"id":"150102","value":"","parentId":"150100"},
{"id":"150103","value":"","parentId":"150100"},
{"id":"150104","value":"","parentId":"150100"},
{"id":"150105","value":"","parentId":"150100"},
{"id":"150121","value":"","parentId":"150100"},
{"id":"150122","value":"","parentId":"150100"},
{"id":"150123","value":"","parentId":"150100"},
{"id":"150124","value":"","parentId":"150100"},
{"id":"150125","value":"","parentId":"150100"},
{"id":"150202","value":"","parentId":"150200"},
{"id":"150203","value":"","parentId":"150200"},
{"id":"150204","value":"","parentId":"150200"},
{"id":"150205","value":"","parentId":"150200"},
{"id":"150206","value":"","parentId":"150200"},
{"id":"150207","value":"","parentId":"150200"},
{"id":"150221","value":"","parentId":"150200"},
{"id":"150222","value":"","parentId":"150200"},
{"id":"150223","value":"","parentId":"150200"},
{"id":"150302","value":"","parentId":"150300"},
{"id":"150303","value":"","parentId":"150300"},
{"id":"150304","value":"","parentId":"150300"},
{"id":"150402","value":"","parentId":"150400"},
{"id":"150403","value":"","parentId":"150400"},
{"id":"150404","value":"","parentId":"150400"},
{"id":"150421","value":"","parentId":"150400"},
{"id":"150422","value":"","parentId":"150400"},
{"id":"150423","value":"","parentId":"150400"},
{"id":"150424","value":"","parentId":"150400"},
{"id":"150425","value":"","parentId":"150400"},
{"id":"150426","value":"","parentId":"150400"},
{"id":"150428","value":"","parentId":"150400"},
{"id":"150429","value":"","parentId":"150400"},
{"id":"150430","value":"","parentId":"150400"},
{"id":"150502","value":"","parentId":"150500"},
{"id":"150521","value":"","parentId":"150500"},
{"id":"150522","value":"","parentId":"150500"},
{"id":"150523","value":"","parentId":"150500"},
{"id":"150524","value":"","parentId":"150500"},
{"id":"150525","value":"","parentId":"150500"},
{"id":"150526","value":"","parentId":"150500"},
{"id":"150581","value":"","parentId":"150500"},
{"id":"150602","value":"","parentId":"150600"},
{"id":"150621","value":"","parentId":"150600"},
{"id":"150622","value":"","parentId":"150600"},
{"id":"150623","value":"","parentId":"150600"},
{"id":"150624","value":"","parentId":"150600"},
{"id":"150625","value":"","parentId":"150600"},
{"id":"150626","value":"","parentId":"150600"},
{"id":"150627","value":"","parentId":"150600"},
{"id":"150702","value":"","parentId":"150700"},
{"id":"150721","value":"","parentId":"150700"},
{"id":"150722","value":"","parentId":"150700"},
{"id":"150723","value":"","parentId":"150700"},
{"id":"150724","value":"","parentId":"150700"},
{"id":"150725","value":"","parentId":"150700"},
{"id":"150726","value":"","parentId":"150700"},
{"id":"150727","value":"","parentId":"150700"},
{"id":"150781","value":"","parentId":"150700"},
{"id":"150782","value":"","parentId":"150700"},
{"id":"150783","value":"","parentId":"150700"},
{"id":"150784","value":"","parentId":"150700"},
{"id":"150785","value":"","parentId":"150700"},
{"id":"150802","value":"","parentId":"150800"},
{"id":"150821","value":"","parentId":"150800"},
{"id":"150822","value":"","parentId":"150800"},
{"id":"150823","value":"","parentId":"150800"},
{"id":"150824","value":"","parentId":"150800"},
{"id":"150825","value":"","parentId":"150800"},
{"id":"150826","value":"","parentId":"150800"},
{"id":"150902","value":"","parentId":"150900"},
{"id":"150921","value":"","parentId":"150900"},
{"id":"150922","value":"","parentId":"150900"},
{"id":"150923","value":"","parentId":"150900"},
{"id":"150924","value":"","parentId":"150900"},
{"id":"150925","value":"","parentId":"150900"},
{"id":"150926","value":"","parentId":"150900"},
{"id":"150927","value":"","parentId":"150900"},
{"id":"150928","value":"","parentId":"150900"},
{"id":"150929","value":"","parentId":"150900"},
{"id":"150981","value":"","parentId":"150900"},
{"id":"152201","value":"","parentId":"152200"},
{"id":"152202","value":"","parentId":"152200"},
{"id":"152221","value":"","parentId":"152200"},
{"id":"152222","value":"","parentId":"152200"},
{"id":"152223","value":"","parentId":"152200"},
{"id":"152224","value":"","parentId":"152200"},
{"id":"152501","value":"","parentId":"152500"},
{"id":"152502","value":"","parentId":"152500"},
{"id":"152522","value":"","parentId":"152500"},
{"id":"152523","value":"","parentId":"152500"},
{"id":"152524","value":"","parentId":"152500"},
{"id":"152525","value":"","parentId":"152500"},
{"id":"152526","value":"","parentId":"152500"},
{"id":"152527","value":"","parentId":"152500"},
{"id":"152528","value":"","parentId":"152500"},
{"id":"152529","value":"","parentId":"152500"},
{"id":"152530","value":"","parentId":"152500"},
{"id":"152531","value":"","parentId":"152500"},
{"id":"152921","value":"","parentId":"152900"},
{"id":"152922","value":"","parentId":"152900"},
{"id":"152923","value":"","parentId":"152900"},
{"id":"210102","value":"","parentId":"210100"},
{"id":"210103","value":"","parentId":"210100"},
{"id":"210104","value":"","parentId":"210100"},
{"id":"210105","value":"","parentId":"210100"},
{"id":"210106","value":"","parentId":"210100"},
{"id":"210111","value":"","parentId":"210100"},
{"id":"210112","value":"","parentId":"210100"},
{"id":"210113","value":"","parentId":"210100"},
{"id":"210114","value":"","parentId":"210100"},
{"id":"210122","value":"","parentId":"210100"},
{"id":"210123","value":"","parentId":"210100"},
{"id":"210124","value":"","parentId":"210100"},
{"id":"210181","value":"","parentId":"210100"},
{"id":"210202","value":"","parentId":"210200"},
{"id":"210203","value":"","parentId":"210200"},
{"id":"210204","value":"","parentId":"210200"},
{"id":"210211","value":"","parentId":"210200"},
{"id":"210212","value":"","parentId":"210200"},
{"id":"210213","value":"","parentId":"210200"},
{"id":"210224","value":"","parentId":"210200"},
{"id":"210281","value":"","parentId":"210200"},
{"id":"210282","value":"","parentId":"210200"},
{"id":"210283","value":"","parentId":"210200"},
{"id":"210302","value":"","parentId":"210300"},
{"id":"210303","value":"","parentId":"210300"},
{"id":"210304","value":"","parentId":"210300"},
{"id":"210311","value":"","parentId":"210300"},
{"id":"210321","value":"","parentId":"210300"},
{"id":"210323","value":"","parentId":"210300"},
{"id":"210381","value":"","parentId":"210300"},
{"id":"210402","value":"","parentId":"210400"},
{"id":"210403","value":"","parentId":"210400"},
{"id":"210404","value":"","parentId":"210400"},
{"id":"210411","value":"","parentId":"210400"},
{"id":"210421","value":"","parentId":"210400"},
{"id":"210422","value":"","parentId":"210400"},
{"id":"210423","value":"","parentId":"210400"},
{"id":"210502","value":"","parentId":"210500"},
{"id":"210503","value":"","parentId":"210500"},
{"id":"210504","value":"","parentId":"210500"},
{"id":"210505","value":"","parentId":"210500"},
{"id":"210521","value":"","parentId":"210500"},
{"id":"210522","value":"","parentId":"210500"},
{"id":"210602","value":"","parentId":"210600"},
{"id":"210603","value":"","parentId":"210600"},
{"id":"210604","value":"","parentId":"210600"},
{"id":"210624","value":"","parentId":"210600"},
{"id":"210681","value":"","parentId":"210600"},
{"id":"210682","value":"","parentId":"210600"},
{"id":"210702","value":"","parentId":"210700"},
{"id":"210703","value":"","parentId":"210700"},
{"id":"210711","value":"","parentId":"210700"},
{"id":"210726","value":"","parentId":"210700"},
{"id":"210727","value":"","parentId":"210700"},
{"id":"210781","value":"","parentId":"210700"},
{"id":"210782","value":"","parentId":"210700"},
{"id":"210802","value":"","parentId":"210800"},
{"id":"210803","value":"","parentId":"210800"},
{"id":"210804","value":"","parentId":"210800"},
{"id":"210811","value":"","parentId":"210800"},
{"id":"210881","value":"","parentId":"210800"},
{"id":"210882","value":"","parentId":"210800"},
{"id":"210902","value":"","parentId":"210900"},
{"id":"210903","value":"","parentId":"210900"},
{"id":"210904","value":"","parentId":"210900"},
{"id":"210905","value":"","parentId":"210900"},
{"id":"210911","value":"","parentId":"210900"},
{"id":"210921","value":"","parentId":"210900"},
{"id":"210922","value":"","parentId":"210900"},
{"id":"211002","value":"","parentId":"211000"},
{"id":"211003","value":"","parentId":"211000"},
{"id":"211004","value":"","parentId":"211000"},
{"id":"211005","value":"","parentId":"211000"},
{"id":"211011","value":"","parentId":"211000"},
{"id":"211021","value":"","parentId":"211000"},
{"id":"211081","value":"","parentId":"211000"},
{"id":"211102","value":"","parentId":"211100"},
{"id":"211103","value":"","parentId":"211100"},
{"id":"211121","value":"","parentId":"211100"},
{"id":"211122","value":"","parentId":"211100"},
{"id":"211202","value":"","parentId":"211200"},
{"id":"211204","value":"","parentId":"211200"},
{"id":"211221","value":"","parentId":"211200"},
{"id":"211223","value":"","parentId":"211200"},
{"id":"211224","value":"","parentId":"211200"},
{"id":"211281","value":"","parentId":"211200"},
{"id":"211282","value":"","parentId":"211200"},
{"id":"211302","value":"","parentId":"211300"},
{"id":"211303","value":"","parentId":"211300"},
{"id":"211321","value":"","parentId":"211300"},
{"id":"211322","value":"","parentId":"211300"},
{"id":"211324","value":"","parentId":"211300"},
{"id":"211381","value":"","parentId":"211300"},
{"id":"211382","value":"","parentId":"211300"},
{"id":"211402","value":"","parentId":"211400"},
{"id":"211403","value":"","parentId":"211400"},
{"id":"211404","value":"","parentId":"211400"},
{"id":"211421","value":"","parentId":"211400"},
{"id":"211422","value":"","parentId":"211400"},
{"id":"211481","value":"","parentId":"211400"},
{"id":"220102","value":"","parentId":"220100"},
{"id":"220103","value":"","parentId":"220100"},
{"id":"220104","value":"","parentId":"220100"},
{"id":"220105","value":"","parentId":"220100"},
{"id":"220106","value":"","parentId":"220100"},
{"id":"220112","value":"","parentId":"220100"},
{"id":"220122","value":"","parentId":"220100"},
{"id":"220181","value":"","parentId":"220100"},
{"id":"220182","value":"","parentId":"220100"},
{"id":"220183","value":"","parentId":"220100"},
{"id":"220202","value":"","parentId":"220200"},
{"id":"220203","value":"","parentId":"220200"},
{"id":"220204","value":"","parentId":"220200"},
{"id":"220211","value":"","parentId":"220200"},
{"id":"220221","value":"","parentId":"220200"},
{"id":"220281","value":"","parentId":"220200"},
{"id":"220282","value":"","parentId":"220200"},
{"id":"220283","value":"","parentId":"220200"},
{"id":"220284","value":"","parentId":"220200"},
{"id":"220302","value":"","parentId":"220300"},
{"id":"220303","value":"","parentId":"220300"},
{"id":"220322","value":"","parentId":"220300"},
{"id":"220323","value":"","parentId":"220300"},
{"id":"220381","value":"","parentId":"220300"},
{"id":"220382","value":"","parentId":"220300"},
{"id":"220402","value":"","parentId":"220400"},
{"id":"220403","value":"","parentId":"220400"},
{"id":"220421","value":"","parentId":"220400"},
{"id":"220422","value":"","parentId":"220400"},
{"id":"220502","value":"","parentId":"220500"},
{"id":"220503","value":"","parentId":"220500"},
{"id":"220521","value":"","parentId":"220500"},
{"id":"220523","value":"","parentId":"220500"},
{"id":"220524","value":"","parentId":"220500"},
{"id":"220581","value":"","parentId":"220500"},
{"id":"220582","value":"","parentId":"220500"},
{"id":"220602","value":"","parentId":"220600"},
{"id":"220605","value":"","parentId":"220600"},
{"id":"220621","value":"","parentId":"220600"},
{"id":"220622","value":"","parentId":"220600"},
{"id":"220623","value":"","parentId":"220600"},
{"id":"220681","value":"","parentId":"220600"},
{"id":"220702","value":"","parentId":"220700"},
{"id":"220721","value":"","parentId":"220700"},
{"id":"220722","value":"","parentId":"220700"},
{"id":"220723","value":"","parentId":"220700"},
{"id":"220724","value":"","parentId":"220700"},
{"id":"220802","value":"","parentId":"220800"},
{"id":"220821","value":"","parentId":"220800"},
{"id":"220822","value":"","parentId":"220800"},
{"id":"220881","value":"","parentId":"220800"},
{"id":"220882","value":"","parentId":"220800"},
{"id":"222401","value":"","parentId":"222400"},
{"id":"222402","value":"","parentId":"222400"},
{"id":"222403","value":"","parentId":"222400"},
{"id":"222404","value":"","parentId":"222400"},
{"id":"222405","value":"","parentId":"222400"},
{"id":"222406","value":"","parentId":"222400"},
{"id":"222424","value":"","parentId":"222400"},
{"id":"222426","value":"","parentId":"222400"},
{"id":"230102","value":"","parentId":"230100"},
{"id":"230103","value":"","parentId":"230100"},
{"id":"230104","value":"","parentId":"230100"},
{"id":"230108","value":"","parentId":"230100"},
{"id":"230109","value":"","parentId":"230100"},
{"id":"230110","value":"","parentId":"230100"},
{"id":"230111","value":"","parentId":"230100"},
{"id":"230112","value":"","parentId":"230100"},
{"id":"230123","value":"","parentId":"230100"},
{"id":"230124","value":"","parentId":"230100"},
{"id":"230125","value":"","parentId":"230100"},
{"id":"230126","value":"","parentId":"230100"},
{"id":"230127","value":"","parentId":"230100"},
{"id":"230128","value":"","parentId":"230100"},
{"id":"230129","value":"","parentId":"230100"},
{"id":"230182","value":"","parentId":"230100"},
{"id":"230183","value":"","parentId":"230100"},
{"id":"230184","value":"","parentId":"230100"},
{"id":"230202","value":"","parentId":"230200"},
{"id":"230203","value":"","parentId":"230200"},
{"id":"230204","value":"","parentId":"230200"},
{"id":"230205","value":"","parentId":"230200"},
{"id":"230206","value":"","parentId":"230200"},
{"id":"230207","value":"","parentId":"230200"},
{"id":"230208","value":"","parentId":"230200"},
{"id":"230221","value":"","parentId":"230200"},
{"id":"230223","value":"","parentId":"230200"},
{"id":"230224","value":"","parentId":"230200"},
{"id":"230225","value":"","parentId":"230200"},
{"id":"230227","value":"","parentId":"230200"},
{"id":"230229","value":"","parentId":"230200"},
{"id":"230230","value":"","parentId":"230200"},
{"id":"230231","value":"","parentId":"230200"},
{"id":"230281","value":"","parentId":"230200"},
{"id":"230302","value":"","parentId":"230300"},
{"id":"230303","value":"","parentId":"230300"},
{"id":"230304","value":"","parentId":"230300"},
{"id":"230305","value":"","parentId":"230300"},
{"id":"230306","value":"","parentId":"230300"},
{"id":"230307","value":"","parentId":"230300"},
{"id":"230321","value":"","parentId":"230300"},
{"id":"230381","value":"","parentId":"230300"},
{"id":"230382","value":"","parentId":"230300"},
{"id":"230402","value":"","parentId":"230400"},
{"id":"230403","value":"","parentId":"230400"},
{"id":"230404","value":"","parentId":"230400"},
{"id":"230405","value":"","parentId":"230400"},
{"id":"230406","value":"","parentId":"230400"},
{"id":"230407","value":"","parentId":"230400"},
{"id":"230421","value":"","parentId":"230400"},
{"id":"230422","value":"","parentId":"230400"},
{"id":"230502","value":"","parentId":"230500"},
{"id":"230503","value":"","parentId":"230500"},
{"id":"230505","value":"","parentId":"230500"},
{"id":"230506","value":"","parentId":"230500"},
{"id":"230521","value":"","parentId":"230500"},
{"id":"230522","value":"","parentId":"230500"},
{"id":"230523","value":"","parentId":"230500"},
{"id":"230524","value":"","parentId":"230500"},
{"id":"230602","value":"","parentId":"230600"},
{"id":"230603","value":"","parentId":"230600"},
{"id":"230604","value":"","parentId":"230600"},
{"id":"230605","value":"","parentId":"230600"},
{"id":"230606","value":"","parentId":"230600"},
{"id":"230621","value":"","parentId":"230600"},
{"id":"230622","value":"","parentId":"230600"},
{"id":"230623","value":"","parentId":"230600"},
{"id":"230624","value":"","parentId":"230600"},
{"id":"230702","value":"","parentId":"230700"},
{"id":"230703","value":"","parentId":"230700"},
{"id":"230704","value":"","parentId":"230700"},
{"id":"230705","value":"","parentId":"230700"},
{"id":"230706","value":"","parentId":"230700"},
{"id":"230707","value":"","parentId":"230700"},
{"id":"230708","value":"","parentId":"230700"},
{"id":"230709","value":"","parentId":"230700"},
{"id":"230710","value":"","parentId":"230700"},
{"id":"230711","value":"","parentId":"230700"},
{"id":"230712","value":"","parentId":"230700"},
{"id":"230713","value":"","parentId":"230700"},
{"id":"230714","value":"","parentId":"230700"},
{"id":"230715","value":"","parentId":"230700"},
{"id":"230716","value":"","parentId":"230700"},
{"id":"230722","value":"","parentId":"230700"},
{"id":"230781","value":"","parentId":"230700"},
{"id":"230803","value":"","parentId":"230800"},
{"id":"230804","value":"","parentId":"230800"},
{"id":"230805","value":"","parentId":"230800"},
{"id":"230811","value":"","parentId":"230800"},
{"id":"230822","value":"","parentId":"230800"},
{"id":"230826","value":"","parentId":"230800"},
{"id":"230828","value":"","parentId":"230800"},
{"id":"230833","value":"","parentId":"230800"},
{"id":"230881","value":"","parentId":"230800"},
{"id":"230882","value":"","parentId":"230800"},
{"id":"230902","value":"","parentId":"230900"},
{"id":"230903","value":"","parentId":"230900"},
{"id":"230904","value":"","parentId":"230900"},
{"id":"230921","value":"","parentId":"230900"},
{"id":"231002","value":"","parentId":"231000"},
{"id":"231003","value":"","parentId":"231000"},
{"id":"231004","value":"","parentId":"231000"},
{"id":"231005","value":"","parentId":"231000"},
{"id":"231024","value":"","parentId":"231000"},
{"id":"231025","value":"","parentId":"231000"},
{"id":"231081","value":"","parentId":"231000"},
{"id":"231083","value":"","parentId":"231000"},
{"id":"231084","value":"","parentId":"231000"},
{"id":"231085","value":"","parentId":"231000"},
{"id":"231102","value":"","parentId":"231100"},
{"id":"231121","value":"","parentId":"231100"},
{"id":"231123","value":"","parentId":"231100"},
{"id":"231124","value":"","parentId":"231100"},
{"id":"231181","value":"","parentId":"231100"},
{"id":"231182","value":"","parentId":"231100"},
{"id":"231202","value":"","parentId":"231200"},
{"id":"231221","value":"","parentId":"231200"},
{"id":"231222","value":"","parentId":"231200"},
{"id":"231223","value":"","parentId":"231200"},
{"id":"231224","value":"","parentId":"231200"},
{"id":"231225","value":"","parentId":"231200"},
{"id":"231226","value":"","parentId":"231200"},
{"id":"231281","value":"","parentId":"231200"},
{"id":"231282","value":"","parentId":"231200"},
{"id":"231283","value":"","parentId":"231200"},
{"id":"232701","value":"","parentId":"232700"},
{"id":"232702","value":"","parentId":"232700"},
{"id":"232703","value":"","parentId":"232700"},
{"id":"232704","value":"","parentId":"232700"},
{"id":"232721","value":"","parentId":"232700"},
{"id":"232722","value":"","parentId":"232700"},
{"id":"232723","value":"","parentId":"232700"},
{"id":"310101","value":"","parentId":"310100"},
{"id":"310104","value":"","parentId":"310100"},
{"id":"310105","value":"","parentId":"310100"},
{"id":"310106","value":"","parentId":"310100"},
{"id":"310107","value":"","parentId":"310100"},
{"id":"310108","value":"","parentId":"310100"},
{"id":"310109","value":"","parentId":"310100"},
{"id":"310110","value":"","parentId":"310100"},
{"id":"310112","value":"","parentId":"310100"},
{"id":"310113","value":"","parentId":"310100"},
{"id":"310114","value":"","parentId":"310100"},
{"id":"310115","value":"","parentId":"310100"},
{"id":"310116","value":"","parentId":"310100"},
{"id":"310117","value":"","parentId":"310100"},
{"id":"310118","value":"","parentId":"310100"},
{"id":"310120","value":"","parentId":"310100"},
{"id":"310230","value":"","parentId":"310100"},
{"id":"320102","value":"","parentId":"320100"},
{"id":"320103","value":"","parentId":"320100"},
{"id":"320104","value":"","parentId":"320100"},
{"id":"320105","value":"","parentId":"320100"},
{"id":"320106","value":"","parentId":"320100"},
{"id":"320107","value":"","parentId":"320100"},
{"id":"320111","value":"","parentId":"320100"},
{"id":"320113","value":"","parentId":"320100"},
{"id":"320114","value":"","parentId":"320100"},
{"id":"320115","value":"","parentId":"320100"},
{"id":"320116","value":"","parentId":"320100"},
{"id":"320124","value":"","parentId":"320100"},
{"id":"320125","value":"","parentId":"320100"},
{"id":"320202","value":"","parentId":"320200"},
{"id":"320203","value":"","parentId":"320200"},
{"id":"320204","value":"","parentId":"320200"},
{"id":"320205","value":"","parentId":"320200"},
{"id":"320206","value":"","parentId":"320200"},
{"id":"320211","value":"","parentId":"320200"},
{"id":"320281","value":"","parentId":"320200"},
{"id":"320282","value":"","parentId":"320200"},
{"id":"320302","value":"","parentId":"320300"},
{"id":"320303","value":"","parentId":"320300"},
{"id":"320305","value":"","parentId":"320300"},
{"id":"320311","value":"","parentId":"320300"},
{"id":"320312","value":"","parentId":"320300"},
{"id":"320321","value":"","parentId":"320300"},
{"id":"320322","value":"","parentId":"320300"},
{"id":"320324","value":"","parentId":"320300"},
{"id":"320381","value":"","parentId":"320300"},
{"id":"320382","value":"","parentId":"320300"},
{"id":"320402","value":"","parentId":"320400"},
{"id":"320404","value":"","parentId":"320400"},
{"id":"320405","value":"","parentId":"320400"},
{"id":"320411","value":"","parentId":"320400"},
{"id":"320412","value":"","parentId":"320400"},
{"id":"320481","value":"","parentId":"320400"},
{"id":"320482","value":"","parentId":"320400"},
{"id":"320503","value":"","parentId":"320500"},
{"id":"320505","value":"","parentId":"320500"},
{"id":"320506","value":"","parentId":"320500"},
{"id":"320507","value":"","parentId":"320500"},
{"id":"320581","value":"","parentId":"320500"},
{"id":"320582","value":"","parentId":"320500"},
{"id":"320583","value":"","parentId":"320500"},
{"id":"320584","value":"","parentId":"320500"},
{"id":"320585","value":"","parentId":"320500"},
{"id":"320602","value":"","parentId":"320600"},
{"id":"320611","value":"","parentId":"320600"},
{"id":"320612","value":"","parentId":"320600"},
{"id":"320621","value":"","parentId":"320600"},
{"id":"320623","value":"","parentId":"320600"},
{"id":"320681","value":"","parentId":"320600"},
{"id":"320682","value":"","parentId":"320600"},
{"id":"320684","value":"","parentId":"320600"},
{"id":"320703","value":"","parentId":"320700"},
{"id":"320705","value":"","parentId":"320700"},
{"id":"320706","value":"","parentId":"320700"},
{"id":"320721","value":"","parentId":"320700"},
{"id":"320722","value":"","parentId":"320700"},
{"id":"320723","value":"","parentId":"320700"},
{"id":"320724","value":"","parentId":"320700"},
{"id":"320802","value":"","parentId":"320800"},
{"id":"320803","value":"","parentId":"320800"},
{"id":"320804","value":"","parentId":"320800"},
{"id":"320811","value":"","parentId":"320800"},
{"id":"320826","value":"","parentId":"320800"},
{"id":"320829","value":"","parentId":"320800"},
{"id":"320830","value":"","parentId":"320800"},
{"id":"320831","value":"","parentId":"320800"},
{"id":"320902","value":"","parentId":"320900"},
{"id":"320903","value":"","parentId":"320900"},
{"id":"320921","value":"","parentId":"320900"},
{"id":"320922","value":"","parentId":"320900"},
{"id":"320923","value":"","parentId":"320900"},
{"id":"320924","value":"","parentId":"320900"},
{"id":"320925","value":"","parentId":"320900"},
{"id":"320981","value":"","parentId":"320900"},
{"id":"320982","value":"","parentId":"320900"},
{"id":"321002","value":"","parentId":"321000"},
{"id":"321003","value":"","parentId":"321000"},
{"id":"321023","value":"","parentId":"321000"},
{"id":"321081","value":"","parentId":"321000"},
{"id":"321084","value":"","parentId":"321000"},
{"id":"321088","value":"","parentId":"321000"},
{"id":"321102","value":"","parentId":"321100"},
{"id":"321111","value":"","parentId":"321100"},
{"id":"321112","value":"","parentId":"321100"},
{"id":"321181","value":"","parentId":"321100"},
{"id":"321182","value":"","parentId":"321100"},
{"id":"321183","value":"","parentId":"321100"},
{"id":"321202","value":"","parentId":"321200"},
{"id":"321203","value":"","parentId":"321200"},
{"id":"321281","value":"","parentId":"321200"},
{"id":"321282","value":"","parentId":"321200"},
{"id":"321283","value":"","parentId":"321200"},
{"id":"321284","value":"","parentId":"321200"},
{"id":"321302","value":"","parentId":"321300"},
{"id":"321311","value":"","parentId":"321300"},
{"id":"321322","value":"","parentId":"321300"},
{"id":"321323","value":"","parentId":"321300"},
{"id":"321324","value":"","parentId":"321300"},
{"id":"330102","value":"","parentId":"330100"},
{"id":"330103","value":"","parentId":"330100"},
{"id":"330104","value":"","parentId":"330100"},
{"id":"330105","value":"","parentId":"330100"},
{"id":"330106","value":"","parentId":"330100"},
{"id":"330108","value":"","parentId":"330100"},
{"id":"330109","value":"","parentId":"330100"},
{"id":"330110","value":"","parentId":"330100"},
{"id":"330122","value":"","parentId":"330100"},
{"id":"330127","value":"","parentId":"330100"},
{"id":"330182","value":"","parentId":"330100"},
{"id":"330183","value":"","parentId":"330100"},
{"id":"330185","value":"","parentId":"330100"},
{"id":"330203","value":"","parentId":"330200"},
{"id":"330204","value":"","parentId":"330200"},
{"id":"330205","value":"","parentId":"330200"},
{"id":"330206","value":"","parentId":"330200"},
{"id":"330211","value":"","parentId":"330200"},
{"id":"330212","value":"","parentId":"330200"},
{"id":"330225","value":"","parentId":"330200"},
{"id":"330226","value":"","parentId":"330200"},
{"id":"330281","value":"","parentId":"330200"},
{"id":"330282","value":"","parentId":"330200"},
{"id":"330283","value":"","parentId":"330200"},
{"id":"330302","value":"","parentId":"330300"},
{"id":"330303","value":"","parentId":"330300"},
{"id":"330304","value":"","parentId":"330300"},
{"id":"330322","value":"","parentId":"330300"},
{"id":"330324","value":"","parentId":"330300"},
{"id":"330326","value":"","parentId":"330300"},
{"id":"330327","value":"","parentId":"330300"},
{"id":"330328","value":"","parentId":"330300"},
{"id":"330329","value":"","parentId":"330300"},
{"id":"330381","value":"","parentId":"330300"},
{"id":"330382","value":"","parentId":"330300"},
{"id":"330402","value":"","parentId":"330400"},
{"id":"330411","value":"","parentId":"330400"},
{"id":"330421","value":"","parentId":"330400"},
{"id":"330424","value":"","parentId":"330400"},
{"id":"330481","value":"","parentId":"330400"},
{"id":"330482","value":"","parentId":"330400"},
{"id":"330483","value":"","parentId":"330400"},
{"id":"330502","value":"","parentId":"330500"},
{"id":"330503","value":"","parentId":"330500"},
{"id":"330521","value":"","parentId":"330500"},
{"id":"330522","value":"","parentId":"330500"},
{"id":"330523","value":"","parentId":"330500"},
{"id":"330602","value":"","parentId":"330600"},
{"id":"330621","value":"","parentId":"330600"},
{"id":"330624","value":"","parentId":"330600"},
{"id":"330681","value":"","parentId":"330600"},
{"id":"330682","value":"","parentId":"330600"},
{"id":"330683","value":"","parentId":"330600"},
{"id":"330702","value":"","parentId":"330700"},
{"id":"330703","value":"","parentId":"330700"},
{"id":"330723","value":"","parentId":"330700"},
{"id":"330726","value":"","parentId":"330700"},
{"id":"330727","value":"","parentId":"330700"},
{"id":"330781","value":"","parentId":"330700"},
{"id":"330782","value":"","parentId":"330700"},
{"id":"330783","value":"","parentId":"330700"},
{"id":"330784","value":"","parentId":"330700"},
{"id":"330802","value":"","parentId":"330800"},
{"id":"330803","value":"","parentId":"330800"},
{"id":"330822","value":"","parentId":"330800"},
{"id":"330824","value":"","parentId":"330800"},
{"id":"330825","value":"","parentId":"330800"},
{"id":"330881","value":"","parentId":"330800"},
{"id":"330902","value":"","parentId":"330900"},
{"id":"330903","value":"","parentId":"330900"},
{"id":"330921","value":"","parentId":"330900"},
{"id":"330922","value":"","parentId":"330900"},
{"id":"331002","value":"","parentId":"331000"},
{"id":"331003","value":"","parentId":"331000"},
{"id":"331004","value":"","parentId":"331000"},
{"id":"331021","value":"","parentId":"331000"},
{"id":"331022","value":"","parentId":"331000"},
{"id":"331023","value":"","parentId":"331000"},
{"id":"331024","value":"","parentId":"331000"},
{"id":"331081","value":"","parentId":"331000"},
{"id":"331082","value":"","parentId":"331000"},
{"id":"331102","value":"","parentId":"331100"},
{"id":"331121","value":"","parentId":"331100"},
{"id":"331122","value":"","parentId":"331100"},
{"id":"331123","value":"","parentId":"331100"},
{"id":"331124","value":"","parentId":"331100"},
{"id":"331125","value":"","parentId":"331100"},
{"id":"331126","value":"","parentId":"331100"},
{"id":"331127","value":"","parentId":"331100"},
{"id":"331181","value":"","parentId":"331100"},
{"id":"340102","value":"","parentId":"340100"},
{"id":"340103","value":"","parentId":"340100"},
{"id":"340104","value":"","parentId":"340100"},
{"id":"340111","value":"","parentId":"340100"},
{"id":"340121","value":"","parentId":"340100"},
{"id":"340122","value":"","parentId":"340100"},
{"id":"340123","value":"","parentId":"340100"},
{"id":"340124","value":"","parentId":"340100"},
{"id":"340181","value":"","parentId":"340100"},
{"id":"340202","value":"","parentId":"340200"},
{"id":"340203","value":"","parentId":"340200"},
{"id":"340207","value":"","parentId":"340200"},
{"id":"340208","value":"","parentId":"340200"},
{"id":"340221","value":"","parentId":"340200"},
{"id":"340222","value":"","parentId":"340200"},
{"id":"340223","value":"","parentId":"340200"},
{"id":"340225","value":"","parentId":"340200"},
{"id":"340302","value":"","parentId":"340300"},
{"id":"340303","value":"","parentId":"340300"},
{"id":"340304","value":"","parentId":"340300"},
{"id":"340311","value":"","parentId":"340300"},
{"id":"340321","value":"","parentId":"340300"},
{"id":"340322","value":"","parentId":"340300"},
{"id":"340323","value":"","parentId":"340300"},
{"id":"340402","value":"","parentId":"340400"},
{"id":"340403","value":"","parentId":"340400"},
{"id":"340404","value":"","parentId":"340400"},
{"id":"340405","value":"","parentId":"340400"},
{"id":"340406","value":"","parentId":"340400"},
{"id":"340421","value":"","parentId":"340400"},
{"id":"340503","value":"","parentId":"340500"},
{"id":"340504","value":"","parentId":"340500"},
{"id":"340521","value":"","parentId":"340500"},
{"id":"340522","value":"","parentId":"340500"},
{"id":"340523","value":"","parentId":"340500"},
{"id":"340596","value":"","parentId":"340500"},
{"id":"340602","value":"","parentId":"340600"},
{"id":"340603","value":"","parentId":"340600"},
{"id":"340604","value":"","parentId":"340600"},
{"id":"340621","value":"","parentId":"340600"},
{"id":"340702","value":"","parentId":"340700"},
{"id":"340703","value":"","parentId":"340700"},
{"id":"340711","value":"","parentId":"340700"},
{"id":"340721","value":"","parentId":"340700"},
{"id":"340802","value":"","parentId":"340800"},
{"id":"340803","value":"","parentId":"340800"},
{"id":"340811","value":"","parentId":"340800"},
{"id":"340822","value":"","parentId":"340800"},
{"id":"340823","value":"","parentId":"340800"},
{"id":"340824","value":"","parentId":"340800"},
{"id":"340825","value":"","parentId":"340800"},
{"id":"340826","value":"","parentId":"340800"},
{"id":"340827","value":"","parentId":"340800"},
{"id":"340828","value":"","parentId":"340800"},
{"id":"340881","value":"","parentId":"340800"},
{"id":"341002","value":"","parentId":"341000"},
{"id":"341003","value":"","parentId":"341000"},
{"id":"341004","value":"","parentId":"341000"},
{"id":"341021","value":"","parentId":"341000"},
{"id":"341022","value":"","parentId":"341000"},
{"id":"341023","value":"","parentId":"341000"},
{"id":"341024","value":"","parentId":"341000"},
{"id":"341102","value":"","parentId":"341100"},
{"id":"341103","value":"","parentId":"341100"},
{"id":"341122","value":"","parentId":"341100"},
{"id":"341124","value":"","parentId":"341100"},
{"id":"341125","value":"","parentId":"341100"},
{"id":"341126","value":"","parentId":"341100"},
{"id":"341181","value":"","parentId":"341100"},
{"id":"341182","value":"","parentId":"341100"},
{"id":"341202","value":"","parentId":"341200"},
{"id":"341203","value":"","parentId":"341200"},
{"id":"341204","value":"","parentId":"341200"},
{"id":"341221","value":"","parentId":"341200"},
{"id":"341222","value":"","parentId":"341200"},
{"id":"341225","value":"","parentId":"341200"},
{"id":"341226","value":"","parentId":"341200"},
{"id":"341282","value":"","parentId":"341200"},
{"id":"341302","value":"","parentId":"341300"},
{"id":"341321","value":"","parentId":"341300"},
{"id":"341322","value":"","parentId":"341300"},
{"id":"341323","value":"","parentId":"341300"},
{"id":"341324","value":"","parentId":"341300"},
{"id":"341502","value":"","parentId":"341500"},
{"id":"341503","value":"","parentId":"341500"},
{"id":"341521","value":"","parentId":"341500"},
{"id":"341522","value":"","parentId":"341500"},
{"id":"341523","value":"","parentId":"341500"},
{"id":"341524","value":"","parentId":"341500"},
{"id":"341525","value":"","parentId":"341500"},
{"id":"341602","value":"","parentId":"341600"},
{"id":"341621","value":"","parentId":"341600"},
{"id":"341622","value":"","parentId":"341600"},
{"id":"341623","value":"","parentId":"341600"},
{"id":"341702","value":"","parentId":"341700"},
{"id":"341721","value":"","parentId":"341700"},
{"id":"341722","value":"","parentId":"341700"},
{"id":"341723","value":"","parentId":"341700"},
{"id":"341802","value":"","parentId":"341800"},
{"id":"341821","value":"","parentId":"341800"},
{"id":"341822","value":"","parentId":"341800"},
{"id":"341823","value":"","parentId":"341800"},
{"id":"341824","value":"","parentId":"341800"},
{"id":"341825","value":"","parentId":"341800"},
{"id":"341881","value":"","parentId":"341800"},
{"id":"350102","value":"","parentId":"350100"},
{"id":"350103","value":"","parentId":"350100"},
{"id":"350104","value":"","parentId":"350100"},
{"id":"350105","value":"","parentId":"350100"},
{"id":"350111","value":"","parentId":"350100"},
{"id":"350121","value":"","parentId":"350100"},
{"id":"350122","value":"","parentId":"350100"},
{"id":"350123","value":"","parentId":"350100"},
{"id":"350124","value":"","parentId":"350100"},
{"id":"350125","value":"","parentId":"350100"},
{"id":"350128","value":"","parentId":"350100"},
{"id":"350181","value":"","parentId":"350100"},
{"id":"350182","value":"","parentId":"350100"},
{"id":"350203","value":"","parentId":"350200"},
{"id":"350205","value":"","parentId":"350200"},
{"id":"350206","value":"","parentId":"350200"},
{"id":"350211","value":"","parentId":"350200"},
{"id":"350212","value":"","parentId":"350200"},
{"id":"350213","value":"","parentId":"350200"},
{"id":"350302","value":"","parentId":"350300"},
{"id":"350303","value":"","parentId":"350300"},
{"id":"350304","value":"","parentId":"350300"},
{"id":"350305","value":"","parentId":"350300"},
{"id":"350322","value":"","parentId":"350300"},
{"id":"350402","value":"","parentId":"350400"},
{"id":"350403","value":"","parentId":"350400"},
{"id":"350421","value":"","parentId":"350400"},
{"id":"350423","value":"","parentId":"350400"},
{"id":"350424","value":"","parentId":"350400"},
{"id":"350425","value":"","parentId":"350400"},
{"id":"350426","value":"","parentId":"350400"},
{"id":"350427","value":"","parentId":"350400"},
{"id":"350428","value":"","parentId":"350400"},
{"id":"350429","value":"","parentId":"350400"},
{"id":"350430","value":"","parentId":"350400"},
{"id":"350481","value":"","parentId":"350400"},
{"id":"350502","value":"","parentId":"350500"},
{"id":"350503","value":"","parentId":"350500"},
{"id":"350504","value":"","parentId":"350500"},
{"id":"350505","value":"","parentId":"350500"},
{"id":"350521","value":"","parentId":"350500"},
{"id":"350524","value":"","parentId":"350500"},
{"id":"350525","value":"","parentId":"350500"},
{"id":"350526","value":"","parentId":"350500"},
{"id":"350527","value":"","parentId":"350500"},
{"id":"350581","value":"","parentId":"350500"},
{"id":"350582","value":"","parentId":"350500"},
{"id":"350583","value":"","parentId":"350500"},
{"id":"350602","value":"","parentId":"350600"},
{"id":"350603","value":"","parentId":"350600"},
{"id":"350622","value":"","parentId":"350600"},
{"id":"350623","value":"","parentId":"350600"},
{"id":"350624","value":"","parentId":"350600"},
{"id":"350625","value":"","parentId":"350600"},
{"id":"350626","value":"","parentId":"350600"},
{"id":"350627","value":"","parentId":"350600"},
{"id":"350628","value":"","parentId":"350600"},
{"id":"350629","value":"","parentId":"350600"},
{"id":"350681","value":"","parentId":"350600"},
{"id":"350702","value":"","parentId":"350700"},
{"id":"350721","value":"","parentId":"350700"},
{"id":"350722","value":"","parentId":"350700"},
{"id":"350723","value":"","parentId":"350700"},
{"id":"350724","value":"","parentId":"350700"},
{"id":"350725","value":"","parentId":"350700"},
{"id":"350781","value":"","parentId":"350700"},
{"id":"350782","value":"","parentId":"350700"},
{"id":"350783","value":"","parentId":"350700"},
{"id":"350784","value":"","parentId":"350700"},
{"id":"350802","value":"","parentId":"350800"},
{"id":"350821","value":"","parentId":"350800"},
{"id":"350822","value":"","parentId":"350800"},
{"id":"350823","value":"","parentId":"350800"},
{"id":"350824","value":"","parentId":"350800"},
{"id":"350825","value":"","parentId":"350800"},
{"id":"350881","value":"","parentId":"350800"},
{"id":"350902","value":"","parentId":"350900"},
{"id":"350921","value":"","parentId":"350900"},
{"id":"350922","value":"","parentId":"350900"},
{"id":"350923","value":"","parentId":"350900"},
{"id":"350924","value":"","parentId":"350900"},
{"id":"350925","value":"","parentId":"350900"},
{"id":"350926","value":"","parentId":"350900"},
{"id":"350981","value":"","parentId":"350900"},
{"id":"350982","value":"","parentId":"350900"},
{"id":"360102","value":"","parentId":"360100"},
{"id":"360103","value":"","parentId":"360100"},
{"id":"360104","value":"","parentId":"360100"},
{"id":"360105","value":"","parentId":"360100"},
{"id":"360111","value":"","parentId":"360100"},
{"id":"360121","value":"","parentId":"360100"},
{"id":"360122","value":"","parentId":"360100"},
{"id":"360123","value":"","parentId":"360100"},
{"id":"360124","value":"","parentId":"360100"},
{"id":"360202","value":"","parentId":"360200"},
{"id":"360203","value":"","parentId":"360200"},
{"id":"360222","value":"","parentId":"360200"},
{"id":"360281","value":"","parentId":"360200"},
{"id":"360302","value":"","parentId":"360300"},
{"id":"360313","value":"","parentId":"360300"},
{"id":"360321","value":"","parentId":"360300"},
{"id":"360322","value":"","parentId":"360300"},
{"id":"360323","value":"","parentId":"360300"},
{"id":"360402","value":"","parentId":"360400"},
{"id":"360403","value":"","parentId":"360400"},
{"id":"360421","value":"","parentId":"360400"},
{"id":"360423","value":"","parentId":"360400"},
{"id":"360424","value":"","parentId":"360400"},
{"id":"360425","value":"","parentId":"360400"},
{"id":"360426","value":"","parentId":"360400"},
{"id":"360427","value":"","parentId":"360400"},
{"id":"360428","value":"","parentId":"360400"},
{"id":"360429","value":"","parentId":"360400"},
{"id":"360430","value":"","parentId":"360400"},
{"id":"360481","value":"","parentId":"360400"},
{"id":"360482","value":"","parentId":"360400"},
{"id":"360502","value":"","parentId":"360500"},
{"id":"360521","value":"","parentId":"360500"},
{"id":"360602","value":"","parentId":"360600"},
{"id":"360622","value":"","parentId":"360600"},
{"id":"360681","value":"","parentId":"360600"},
{"id":"360702","value":"","parentId":"360700"},
{"id":"360721","value":"","parentId":"360700"},
{"id":"360722","value":"","parentId":"360700"},
{"id":"360723","value":"","parentId":"360700"},
{"id":"360724","value":"","parentId":"360700"},
{"id":"360725","value":"","parentId":"360700"},
{"id":"360726","value":"","parentId":"360700"},
{"id":"360727","value":"","parentId":"360700"},
{"id":"360728","value":"","parentId":"360700"},
{"id":"360729","value":"","parentId":"360700"},
{"id":"360730","value":"","parentId":"360700"},
{"id":"360731","value":"","parentId":"360700"},
{"id":"360732","value":"","parentId":"360700"},
{"id":"360733","value":"","parentId":"360700"},
{"id":"360734","value":"","parentId":"360700"},
{"id":"360735","value":"","parentId":"360700"},
{"id":"360781","value":"","parentId":"360700"},
{"id":"360782","value":"","parentId":"360700"},
{"id":"360802","value":"","parentId":"360800"},
{"id":"360803","value":"","parentId":"360800"},
{"id":"360821","value":"","parentId":"360800"},
{"id":"360822","value":"","parentId":"360800"},
{"id":"360823","value":"","parentId":"360800"},
{"id":"360824","value":"","parentId":"360800"},
{"id":"360825","value":"","parentId":"360800"},
{"id":"360826","value":"","parentId":"360800"},
{"id":"360827","value":"","parentId":"360800"},
{"id":"360828","value":"","parentId":"360800"},
{"id":"360829","value":"","parentId":"360800"},
{"id":"360830","value":"","parentId":"360800"},
{"id":"360881","value":"","parentId":"360800"},
{"id":"360902","value":"","parentId":"360900"},
{"id":"360921","value":"","parentId":"360900"},
{"id":"360922","value":"","parentId":"360900"},
{"id":"360923","value":"","parentId":"360900"},
{"id":"360924","value":"","parentId":"360900"},
{"id":"360925","value":"","parentId":"360900"},
{"id":"360926","value":"","parentId":"360900"},
{"id":"360981","value":"","parentId":"360900"},
{"id":"360982","value":"","parentId":"360900"},
{"id":"360983","value":"","parentId":"360900"},
{"id":"361002","value":"","parentId":"361000"},
{"id":"361021","value":"","parentId":"361000"},
{"id":"361022","value":"","parentId":"361000"},
{"id":"361023","value":"","parentId":"361000"},
{"id":"361024","value":"","parentId":"361000"},
{"id":"361025","value":"","parentId":"361000"},
{"id":"361026","value":"","parentId":"361000"},
{"id":"361027","value":"","parentId":"361000"},
{"id":"361028","value":"","parentId":"361000"},
{"id":"361029","value":"","parentId":"361000"},
{"id":"361030","value":"","parentId":"361000"},
{"id":"361102","value":"","parentId":"361100"},
{"id":"361121","value":"","parentId":"361100"},
{"id":"361122","value":"","parentId":"361100"},
{"id":"361123","value":"","parentId":"361100"},
{"id":"361124","value":"","parentId":"361100"},
{"id":"361125","value":"","parentId":"361100"},
{"id":"361126","value":"","parentId":"361100"},
{"id":"361127","value":"","parentId":"361100"},
{"id":"361128","value":"","parentId":"361100"},
{"id":"361129","value":"","parentId":"361100"},
{"id":"361130","value":"","parentId":"361100"},
{"id":"361181","value":"","parentId":"361100"},
{"id":"370102","value":"","parentId":"370100"},
{"id":"370103","value":"","parentId":"370100"},
{"id":"370104","value":"","parentId":"370100"},
{"id":"370105","value":"","parentId":"370100"},
{"id":"370112","value":"","parentId":"370100"},
{"id":"370113","value":"","parentId":"370100"},
{"id":"370124","value":"","parentId":"370100"},
{"id":"370125","value":"","parentId":"370100"},
{"id":"370126","value":"","parentId":"370100"},
{"id":"370181","value":"","parentId":"370100"},
{"id":"370202","value":"","parentId":"370200"},
{"id":"370203","value":"","parentId":"370200"},
{"id":"370205","value":"","parentId":"370200"},
{"id":"370211","value":"","parentId":"370200"},
{"id":"370212","value":"","parentId":"370200"},
{"id":"370213","value":"","parentId":"370200"},
{"id":"370214","value":"","parentId":"370200"},
{"id":"370281","value":"","parentId":"370200"},
{"id":"370282","value":"","parentId":"370200"},
{"id":"370283","value":"","parentId":"370200"},
{"id":"370284","value":"","parentId":"370200"},
{"id":"370285","value":"","parentId":"370200"},
{"id":"370302","value":"","parentId":"370300"},
{"id":"370303","value":"","parentId":"370300"},
{"id":"370304","value":"","parentId":"370300"},
{"id":"370305","value":"","parentId":"370300"},
{"id":"370306","value":"","parentId":"370300"},
{"id":"370321","value":"","parentId":"370300"},
{"id":"370322","value":"","parentId":"370300"},
{"id":"370323","value":"","parentId":"370300"},
{"id":"370402","value":"","parentId":"370400"},
{"id":"370403","value":"","parentId":"370400"},
{"id":"370404","value":"","parentId":"370400"},
{"id":"370405","value":"","parentId":"370400"},
{"id":"370406","value":"","parentId":"370400"},
{"id":"370481","value":"","parentId":"370400"},
{"id":"370502","value":"","parentId":"370500"},
{"id":"370503","value":"","parentId":"370500"},
{"id":"370521","value":"","parentId":"370500"},
{"id":"370522","value":"","parentId":"370500"},
{"id":"370523","value":"","parentId":"370500"},
{"id":"370602","value":"","parentId":"370600"},
{"id":"370611","value":"","parentId":"370600"},
{"id":"370612","value":"","parentId":"370600"},
{"id":"370613","value":"","parentId":"370600"},
{"id":"370634","value":"","parentId":"370600"},
{"id":"370681","value":"","parentId":"370600"},
{"id":"370682","value":"","parentId":"370600"},
{"id":"370683","value":"","parentId":"370600"},
{"id":"370684","value":"","parentId":"370600"},
{"id":"370685","value":"","parentId":"370600"},
{"id":"370686","value":"","parentId":"370600"},
{"id":"370687","value":"","parentId":"370600"},
{"id":"370702","value":"","parentId":"370700"},
{"id":"370703","value":"","parentId":"370700"},
{"id":"370704","value":"","parentId":"370700"},
{"id":"370705","value":"","parentId":"370700"},
{"id":"370724","value":"","parentId":"370700"},
{"id":"370725","value":"","parentId":"370700"},
{"id":"370781","value":"","parentId":"370700"},
{"id":"370782","value":"","parentId":"370700"},
{"id":"370783","value":"","parentId":"370700"},
{"id":"370784","value":"","parentId":"370700"},
{"id":"370785","value":"","parentId":"370700"},
{"id":"370786","value":"","parentId":"370700"},
{"id":"370802","value":"","parentId":"370800"},
{"id":"370811","value":"","parentId":"370800"},
{"id":"370826","value":"","parentId":"370800"},
{"id":"370827","value":"","parentId":"370800"},
{"id":"370828","value":"","parentId":"370800"},
{"id":"370829","value":"","parentId":"370800"},
{"id":"370830","value":"","parentId":"370800"},
{"id":"370831","value":"","parentId":"370800"},
{"id":"370832","value":"","parentId":"370800"},
{"id":"370881","value":"","parentId":"370800"},
{"id":"370882","value":"","parentId":"370800"},
{"id":"370883","value":"","parentId":"370800"},
{"id":"370902","value":"","parentId":"370900"},
{"id":"370911","value":"","parentId":"370900"},
{"id":"370921","value":"","parentId":"370900"},
{"id":"370923","value":"","parentId":"370900"},
{"id":"370982","value":"","parentId":"370900"},
{"id":"370983","value":"","parentId":"370900"},
{"id":"371002","value":"","parentId":"371000"},
{"id":"371081","value":"","parentId":"371000"},
{"id":"371082","value":"","parentId":"371000"},
{"id":"371083","value":"","parentId":"371000"},
{"id":"371102","value":"","parentId":"371100"},
{"id":"371103","value":"","parentId":"371100"},
{"id":"371121","value":"","parentId":"371100"},
{"id":"371122","value":"","parentId":"371100"},
{"id":"371202","value":"","parentId":"371200"},
{"id":"371203","value":"","parentId":"371200"},
{"id":"371302","value":"","parentId":"371300"},
{"id":"371311","value":"","parentId":"371300"},
{"id":"371312","value":"","parentId":"371300"},
{"id":"371321","value":"","parentId":"371300"},
{"id":"371322","value":"","parentId":"371300"},
{"id":"371323","value":"","parentId":"371300"},
{"id":"371324","value":"","parentId":"371300"},
{"id":"371325","value":"","parentId":"371300"},
{"id":"371326","value":"","parentId":"371300"},
{"id":"371327","value":"","parentId":"371300"},
{"id":"371328","value":"","parentId":"371300"},
{"id":"371329","value":"","parentId":"371300"},
{"id":"371402","value":"","parentId":"371400"},
{"id":"371421","value":"","parentId":"371400"},
{"id":"371422","value":"","parentId":"371400"},
{"id":"371423","value":"","parentId":"371400"},
{"id":"371424","value":"","parentId":"371400"},
{"id":"371425","value":"","parentId":"371400"},
{"id":"371426","value":"","parentId":"371400"},
{"id":"371427","value":"","parentId":"371400"},
{"id":"371428","value":"","parentId":"371400"},
{"id":"371481","value":"","parentId":"371400"},
{"id":"371482","value":"","parentId":"371400"},
{"id":"371502","value":"","parentId":"371500"},
{"id":"371521","value":"","parentId":"371500"},
{"id":"371522","value":"","parentId":"371500"},
{"id":"371523","value":"","parentId":"371500"},
{"id":"371524","value":"","parentId":"371500"},
{"id":"371525","value":"","parentId":"371500"},
{"id":"371526","value":"","parentId":"371500"},
{"id":"371581","value":"","parentId":"371500"},
{"id":"371602","value":"","parentId":"371600"},
{"id":"371621","value":"","parentId":"371600"},
{"id":"371622","value":"","parentId":"371600"},
{"id":"371623","value":"","parentId":"371600"},
{"id":"371624","value":"","parentId":"371600"},
{"id":"371625","value":"","parentId":"371600"},
{"id":"371626","value":"","parentId":"371600"},
{"id":"371702","value":"","parentId":"371700"},
{"id":"371721","value":"","parentId":"371700"},
{"id":"371722","value":"","parentId":"371700"},
{"id":"371723","value":"","parentId":"371700"},
{"id":"371724","value":"","parentId":"371700"},
{"id":"371725","value":"","parentId":"371700"},
{"id":"371726","value":"","parentId":"371700"},
{"id":"371727","value":"","parentId":"371700"},
{"id":"371728","value":"","parentId":"371700"},
{"id":"410102","value":"","parentId":"410100"},
{"id":"410103","value":"","parentId":"410100"},
{"id":"410104","value":"","parentId":"410100"},
{"id":"410105","value":"","parentId":"410100"},
{"id":"410106","value":"","parentId":"410100"},
{"id":"410108","value":"","parentId":"410100"},
{"id":"410122","value":"","parentId":"410100"},
{"id":"410181","value":"","parentId":"410100"},
{"id":"410182","value":"","parentId":"410100"},
{"id":"410183","value":"","parentId":"410100"},
{"id":"410184","value":"","parentId":"410100"},
{"id":"410185","value":"","parentId":"410100"},
{"id":"410202","value":"","parentId":"410200"},
{"id":"410203","value":"","parentId":"410200"},
{"id":"410204","value":"","parentId":"410200"},
{"id":"410205","value":"","parentId":"410200"},
{"id":"410211","value":"","parentId":"410200"},
{"id":"410221","value":"","parentId":"410200"},
{"id":"410222","value":"","parentId":"410200"},
{"id":"410223","value":"","parentId":"410200"},
{"id":"410224","value":"","parentId":"410200"},
{"id":"410225","value":"","parentId":"410200"},
{"id":"410302","value":"","parentId":"410300"},
{"id":"410303","value":"","parentId":"410300"},
{"id":"410304","value":"","parentId":"410300"},
{"id":"410305","value":"","parentId":"410300"},
{"id":"410306","value":"","parentId":"410300"},
{"id":"410311","value":"","parentId":"410300"},
{"id":"410322","value":"","parentId":"410300"},
{"id":"410323","value":"","parentId":"410300"},
{"id":"410324","value":"","parentId":"410300"},
{"id":"410325","value":"","parentId":"410300"},
{"id":"410326","value":"","parentId":"410300"},
{"id":"410327","value":"","parentId":"410300"},
{"id":"410328","value":"","parentId":"410300"},
{"id":"410329","value":"","parentId":"410300"},
{"id":"410381","value":"","parentId":"410300"},
{"id":"410402","value":"","parentId":"410400"},
{"id":"410403","value":"","parentId":"410400"},
{"id":"410404","value":"","parentId":"410400"},
{"id":"410411","value":"","parentId":"410400"},
{"id":"410421","value":"","parentId":"410400"},
{"id":"410422","value":"","parentId":"410400"},
{"id":"410423","value":"","parentId":"410400"},
{"id":"410425","value":"","parentId":"410400"},
{"id":"410481","value":"","parentId":"410400"},
{"id":"410482","value":"","parentId":"410400"},
{"id":"410502","value":"","parentId":"410500"},
{"id":"410503","value":"","parentId":"410500"},
{"id":"410505","value":"","parentId":"410500"},
{"id":"410506","value":"","parentId":"410500"},
{"id":"410522","value":"","parentId":"410500"},
{"id":"410523","value":"","parentId":"410500"},
{"id":"410526","value":"","parentId":"410500"},
{"id":"410527","value":"","parentId":"410500"},
{"id":"410581","value":"","parentId":"410500"},
{"id":"410602","value":"","parentId":"410600"},
{"id":"410603","value":"","parentId":"410600"},
{"id":"410611","value":"","parentId":"410600"},
{"id":"410621","value":"","parentId":"410600"},
{"id":"410622","value":"","parentId":"410600"},
{"id":"410702","value":"","parentId":"410700"},
{"id":"410703","value":"","parentId":"410700"},
{"id":"410704","value":"","parentId":"410700"},
{"id":"410711","value":"","parentId":"410700"},
{"id":"410721","value":"","parentId":"410700"},
{"id":"410724","value":"","parentId":"410700"},
{"id":"410725","value":"","parentId":"410700"},
{"id":"410726","value":"","parentId":"410700"},
{"id":"410727","value":"","parentId":"410700"},
{"id":"410728","value":"","parentId":"410700"},
{"id":"410781","value":"","parentId":"410700"},
{"id":"410782","value":"","parentId":"410700"},
{"id":"410802","value":"","parentId":"410800"},
{"id":"410803","value":"","parentId":"410800"},
{"id":"410804","value":"","parentId":"410800"},
{"id":"410811","value":"","parentId":"410800"},
{"id":"410821","value":"","parentId":"410800"},
{"id":"410822","value":"","parentId":"410800"},
{"id":"410823","value":"","parentId":"410800"},
{"id":"410825","value":"","parentId":"410800"},
{"id":"410882","value":"","parentId":"410800"},
{"id":"410883","value":"","parentId":"410800"},
{"id":"410902","value":"","parentId":"410900"},
{"id":"410922","value":"","parentId":"410900"},
{"id":"410923","value":"","parentId":"410900"},
{"id":"410926","value":"","parentId":"410900"},
{"id":"410927","value":"","parentId":"410900"},
{"id":"410928","value":"","parentId":"410900"},
{"id":"411002","value":"","parentId":"411000"},
{"id":"411023","value":"","parentId":"411000"},
{"id":"411024","value":"","parentId":"411000"},
{"id":"411025","value":"","parentId":"411000"},
{"id":"411081","value":"","parentId":"411000"},
{"id":"411082","value":"","parentId":"411000"},
{"id":"411102","value":"","parentId":"411100"},
{"id":"411103","value":"","parentId":"411100"},
{"id":"411104","value":"","parentId":"411100"},
{"id":"411121","value":"","parentId":"411100"},
{"id":"411122","value":"","parentId":"411100"},
{"id":"411202","value":"","parentId":"411200"},
{"id":"411221","value":"","parentId":"411200"},
{"id":"411222","value":"","parentId":"411200"},
{"id":"411224","value":"","parentId":"411200"},
{"id":"411281","value":"","parentId":"411200"},
{"id":"411282","value":"","parentId":"411200"},
{"id":"411302","value":"","parentId":"411300"},
{"id":"411303","value":"","parentId":"411300"},
{"id":"411321","value":"","parentId":"411300"},
{"id":"411322","value":"","parentId":"411300"},
{"id":"411323","value":"","parentId":"411300"},
{"id":"411324","value":"","parentId":"411300"},
{"id":"411325","value":"","parentId":"411300"},
{"id":"411326","value":"","parentId":"411300"},
{"id":"411327","value":"","parentId":"411300"},
{"id":"411328","value":"","parentId":"411300"},
{"id":"411329","value":"","parentId":"411300"},
{"id":"411330","value":"","parentId":"411300"},
{"id":"411381","value":"","parentId":"411300"},
{"id":"411402","value":"","parentId":"411400"},
{"id":"411403","value":"","parentId":"411400"},
{"id":"411421","value":"","parentId":"411400"},
{"id":"411422","value":"","parentId":"411400"},
{"id":"411423","value":"","parentId":"411400"},
{"id":"411424","value":"","parentId":"411400"},
{"id":"411425","value":"","parentId":"411400"},
{"id":"411426","value":"","parentId":"411400"},
{"id":"411481","value":"","parentId":"411400"},
{"id":"411502","value":"","parentId":"411500"},
{"id":"411503","value":"","parentId":"411500"},
{"id":"411521","value":"","parentId":"411500"},
{"id":"411522","value":"","parentId":"411500"},
{"id":"411523","value":"","parentId":"411500"},
{"id":"411524","value":"","parentId":"411500"},
{"id":"411525","value":"","parentId":"411500"},
{"id":"411526","value":"","parentId":"411500"},
{"id":"411527","value":"","parentId":"411500"},
{"id":"411528","value":"","parentId":"411500"},
{"id":"411602","value":"","parentId":"411600"},
{"id":"411621","value":"","parentId":"411600"},
{"id":"411622","value":"","parentId":"411600"},
{"id":"411623","value":"","parentId":"411600"},
{"id":"411624","value":"","parentId":"411600"},
{"id":"411625","value":"","parentId":"411600"},
{"id":"411626","value":"","parentId":"411600"},
{"id":"411627","value":"","parentId":"411600"},
{"id":"411628","value":"","parentId":"411600"},
{"id":"411681","value":"","parentId":"411600"},
{"id":"411702","value":"","parentId":"411700"},
{"id":"411721","value":"","parentId":"411700"},
{"id":"411722","value":"","parentId":"411700"},
{"id":"411723","value":"","parentId":"411700"},
{"id":"411724","value":"","parentId":"411700"},
{"id":"411725","value":"","parentId":"411700"},
{"id":"411726","value":"","parentId":"411700"},
{"id":"411727","value":"","parentId":"411700"},
{"id":"411728","value":"","parentId":"411700"},
{"id":"411729","value":"","parentId":"411700"},
{"id":"419001","value":"","parentId":"419001"},
{"id":"420102","value":"","parentId":"420100"},
{"id":"420103","value":"","parentId":"420100"},
{"id":"420104","value":"","parentId":"420100"},
{"id":"420105","value":"","parentId":"420100"},
{"id":"420106","value":"","parentId":"420100"},
{"id":"420107","value":"","parentId":"420100"},
{"id":"420111","value":"","parentId":"420100"},
{"id":"420112","value":"","parentId":"420100"},
{"id":"420113","value":"","parentId":"420100"},
{"id":"420114","value":"","parentId":"420100"},
{"id":"420115","value":"","parentId":"420100"},
{"id":"420116","value":"","parentId":"420100"},
{"id":"420117","value":"","parentId":"420100"},
{"id":"420202","value":"","parentId":"420200"},
{"id":"420203","value":"","parentId":"420200"},
{"id":"420204","value":"","parentId":"420200"},
{"id":"420205","value":"","parentId":"420200"},
{"id":"420222","value":"","parentId":"420200"},
{"id":"420281","value":"","parentId":"420200"},
{"id":"420302","value":"","parentId":"420300"},
{"id":"420303","value":"","parentId":"420300"},
{"id":"420321","value":"","parentId":"420300"},
{"id":"420322","value":"","parentId":"420300"},
{"id":"420323","value":"","parentId":"420300"},
{"id":"420324","value":"","parentId":"420300"},
{"id":"420325","value":"","parentId":"420300"},
{"id":"420381","value":"","parentId":"420300"},
{"id":"420502","value":"","parentId":"420500"},
{"id":"420503","value":"","parentId":"420500"},
{"id":"420504","value":"","parentId":"420500"},
{"id":"420505","value":"","parentId":"420500"},
{"id":"420506","value":"","parentId":"420500"},
{"id":"420525","value":"","parentId":"420500"},
{"id":"420526","value":"","parentId":"420500"},
{"id":"420527","value":"","parentId":"420500"},
{"id":"420528","value":"","parentId":"420500"},
{"id":"420529","value":"","parentId":"420500"},
{"id":"420581","value":"","parentId":"420500"},
{"id":"420582","value":"","parentId":"420500"},
{"id":"420583","value":"","parentId":"420500"},
{"id":"420602","value":"","parentId":"420600"},
{"id":"420606","value":"","parentId":"420600"},
{"id":"420607","value":"","parentId":"420600"},
{"id":"420624","value":"","parentId":"420600"},
{"id":"420625","value":"","parentId":"420600"},
{"id":"420626","value":"","parentId":"420600"},
{"id":"420682","value":"","parentId":"420600"},
{"id":"420683","value":"","parentId":"420600"},
{"id":"420684","value":"","parentId":"420600"},
{"id":"420702","value":"","parentId":"420700"},
{"id":"420703","value":"","parentId":"420700"},
{"id":"420704","value":"","parentId":"420700"},
{"id":"420802","value":"","parentId":"420800"},
{"id":"420804","value":"","parentId":"420800"},
{"id":"420821","value":"","parentId":"420800"},
{"id":"420822","value":"","parentId":"420800"},
{"id":"420881","value":"","parentId":"420800"},
{"id":"420902","value":"","parentId":"420900"},
{"id":"420921","value":"","parentId":"420900"},
{"id":"420922","value":"","parentId":"420900"},
{"id":"420923","value":"","parentId":"420900"},
{"id":"420981","value":"","parentId":"420900"},
{"id":"420982","value":"","parentId":"420900"},
{"id":"420984","value":"","parentId":"420900"},
{"id":"421002","value":"","parentId":"421000"},
{"id":"421003","value":"","parentId":"421000"},
{"id":"421022","value":"","parentId":"421000"},
{"id":"421023","value":"","parentId":"421000"},
{"id":"421024","value":"","parentId":"421000"},
{"id":"421081","value":"","parentId":"421000"},
{"id":"421083","value":"","parentId":"421000"},
{"id":"421087","value":"","parentId":"421000"},
{"id":"421102","value":"","parentId":"421100"},
{"id":"421121","value":"","parentId":"421100"},
{"id":"421122","value":"","parentId":"421100"},
{"id":"421123","value":"","parentId":"421100"},
{"id":"421124","value":"","parentId":"421100"},
{"id":"421125","value":"","parentId":"421100"},
{"id":"421126","value":"","parentId":"421100"},
{"id":"421127","value":"","parentId":"421100"},
{"id":"421181","value":"","parentId":"421100"},
{"id":"421182","value":"","parentId":"421100"},
{"id":"421202","value":"","parentId":"421200"},
{"id":"421221","value":"","parentId":"421200"},
{"id":"421222","value":"","parentId":"421200"},
{"id":"421223","value":"","parentId":"421200"},
{"id":"421224","value":"","parentId":"421200"},
{"id":"421281","value":"","parentId":"421200"},
{"id":"421303","value":"","parentId":"421300"},
{"id":"421321","value":"","parentId":"421300"},
{"id":"421381","value":"","parentId":"421300"},
{"id":"422801","value":"","parentId":"422800"},
{"id":"422802","value":"","parentId":"422800"},
{"id":"422822","value":"","parentId":"422800"},
{"id":"422823","value":"","parentId":"422800"},
{"id":"422825","value":"","parentId":"422800"},
{"id":"422826","value":"","parentId":"422800"},
{"id":"422827","value":"","parentId":"422800"},
{"id":"422828","value":"","parentId":"422800"},
{"id":"429004","value":"","parentId":"429004"},
{"id":"429005","value":"","parentId":"429005"},
{"id":"429006","value":"","parentId":"429006"},
{"id":"429021","value":"","parentId":"429021"},
{"id":"430102","value":"","parentId":"430100"},
{"id":"430103","value":"","parentId":"430100"},
{"id":"430104","value":"","parentId":"430100"},
{"id":"430105","value":"","parentId":"430100"},
{"id":"430111","value":"","parentId":"430100"},
{"id":"430112","value":"","parentId":"430100"},
{"id":"430121","value":"","parentId":"430100"},
{"id":"430124","value":"","parentId":"430100"},
{"id":"430181","value":"","parentId":"430100"},
{"id":"430202","value":"","parentId":"430200"},
{"id":"430203","value":"","parentId":"430200"},
{"id":"430204","value":"","parentId":"430200"},
{"id":"430211","value":"","parentId":"430200"},
{"id":"430221","value":"","parentId":"430200"},
{"id":"430223","value":"","parentId":"430200"},
{"id":"430224","value":"","parentId":"430200"},
{"id":"430225","value":"","parentId":"430200"},
{"id":"430281","value":"","parentId":"430200"},
{"id":"430302","value":"","parentId":"430300"},
{"id":"430304","value":"","parentId":"430300"},
{"id":"430321","value":"","parentId":"430300"},
{"id":"430381","value":"","parentId":"430300"},
{"id":"430382","value":"","parentId":"430300"},
{"id":"430405","value":"","parentId":"430400"},
{"id":"430406","value":"","parentId":"430400"},
{"id":"430407","value":"","parentId":"430400"},
{"id":"430408","value":"","parentId":"430400"},
{"id":"430412","value":"","parentId":"430400"},
{"id":"430421","value":"","parentId":"430400"},
{"id":"430422","value":"","parentId":"430400"},
{"id":"430423","value":"","parentId":"430400"},
{"id":"430424","value":"","parentId":"430400"},
{"id":"430426","value":"","parentId":"430400"},
{"id":"430481","value":"","parentId":"430400"},
{"id":"430482","value":"","parentId":"430400"},
{"id":"430502","value":"","parentId":"430500"},
{"id":"430503","value":"","parentId":"430500"},
{"id":"430511","value":"","parentId":"430500"},
{"id":"430521","value":"","parentId":"430500"},
{"id":"430522","value":"","parentId":"430500"},
{"id":"430523","value":"","parentId":"430500"},
{"id":"430524","value":"","parentId":"430500"},
{"id":"430525","value":"","parentId":"430500"},
{"id":"430527","value":"","parentId":"430500"},
{"id":"430528","value":"","parentId":"430500"},
{"id":"430529","value":"","parentId":"430500"},
{"id":"430581","value":"","parentId":"430500"},
{"id":"430602","value":"","parentId":"430600"},
{"id":"430603","value":"","parentId":"430600"},
{"id":"430611","value":"","parentId":"430600"},
{"id":"430621","value":"","parentId":"430600"},
{"id":"430623","value":"","parentId":"430600"},
{"id":"430624","value":"","parentId":"430600"},
{"id":"430626","value":"","parentId":"430600"},
{"id":"430681","value":"","parentId":"430600"},
{"id":"430682","value":"","parentId":"430600"},
{"id":"430702","value":"","parentId":"430700"},
{"id":"430703","value":"","parentId":"430700"},
{"id":"430721","value":"","parentId":"430700"},
{"id":"430722","value":"","parentId":"430700"},
{"id":"430723","value":"","parentId":"430700"},
{"id":"430724","value":"","parentId":"430700"},
{"id":"430725","value":"","parentId":"430700"},
{"id":"430726","value":"","parentId":"430700"},
{"id":"430781","value":"","parentId":"430700"},
{"id":"430802","value":"","parentId":"430800"},
{"id":"430811","value":"","parentId":"430800"},
{"id":"430821","value":"","parentId":"430800"},
{"id":"430822","value":"","parentId":"430800"},
{"id":"430902","value":"","parentId":"430900"},
{"id":"430903","value":"","parentId":"430900"},
{"id":"430921","value":"","parentId":"430900"},
{"id":"430922","value":"","parentId":"430900"},
{"id":"430923","value":"","parentId":"430900"},
{"id":"430981","value":"","parentId":"430900"},
{"id":"431002","value":"","parentId":"431000"},
{"id":"431003","value":"","parentId":"431000"},
{"id":"431021","value":"","parentId":"431000"},
{"id":"431022","value":"","parentId":"431000"},
{"id":"431023","value":"","parentId":"431000"},
{"id":"431024","value":"","parentId":"431000"},
{"id":"431025","value":"","parentId":"431000"},
{"id":"431026","value":"","parentId":"431000"},
{"id":"431027","value":"","parentId":"431000"},
{"id":"431028","value":"","parentId":"431000"},
{"id":"431081","value":"","parentId":"431000"},
{"id":"431102","value":"","parentId":"431100"},
{"id":"431103","value":"","parentId":"431100"},
{"id":"431121","value":"","parentId":"431100"},
{"id":"431122","value":"","parentId":"431100"},
{"id":"431123","value":"","parentId":"431100"},
{"id":"431124","value":"","parentId":"431100"},
{"id":"431125","value":"","parentId":"431100"},
{"id":"431126","value":"","parentId":"431100"},
{"id":"431127","value":"","parentId":"431100"},
{"id":"431128","value":"","parentId":"431100"},
{"id":"431129","value":"","parentId":"431100"},
{"id":"431202","value":"","parentId":"431200"},
{"id":"431221","value":"","parentId":"431200"},
{"id":"431222","value":"","parentId":"431200"},
{"id":"431223","value":"","parentId":"431200"},
{"id":"431224","value":"","parentId":"431200"},
{"id":"431225","value":"","parentId":"431200"},
{"id":"431226","value":"","parentId":"431200"},
{"id":"431227","value":"","parentId":"431200"},
{"id":"431228","value":"","parentId":"431200"},
{"id":"431229","value":"","parentId":"431200"},
{"id":"431230","value":"","parentId":"431200"},
{"id":"431281","value":"","parentId":"431200"},
{"id":"431302","value":"","parentId":"431300"},
{"id":"431321","value":"","parentId":"431300"},
{"id":"431322","value":"","parentId":"431300"},
{"id":"431381","value":"","parentId":"431300"},
{"id":"431382","value":"","parentId":"431300"},
{"id":"433101","value":"","parentId":"433100"},
{"id":"433122","value":"","parentId":"433100"},
{"id":"433123","value":"","parentId":"433100"},
{"id":"433124","value":"","parentId":"433100"},
{"id":"433125","value":"","parentId":"433100"},
{"id":"433126","value":"","parentId":"433100"},
{"id":"433127","value":"","parentId":"433100"},
{"id":"433130","value":"","parentId":"433100"},
{"id":"440103","value":"","parentId":"440100"},
{"id":"440104","value":"","parentId":"440100"},
{"id":"440105","value":"","parentId":"440100"},
{"id":"440106","value":"","parentId":"440100"},
{"id":"440111","value":"","parentId":"440100"},
{"id":"440112","value":"","parentId":"440100"},
{"id":"440113","value":"","parentId":"440100"},
{"id":"440114","value":"","parentId":"440100"},
{"id":"440115","value":"","parentId":"440100"},
{"id":"440116","value":"","parentId":"440100"},
{"id":"440183","value":"","parentId":"440100"},
{"id":"440184","value":"","parentId":"440100"},
{"id":"440203","value":"","parentId":"440200"},
{"id":"440204","value":"","parentId":"440200"},
{"id":"440205","value":"","parentId":"440200"},
{"id":"440222","value":"","parentId":"440200"},
{"id":"440224","value":"","parentId":"440200"},
{"id":"440229","value":"","parentId":"440200"},
{"id":"440232","value":"","parentId":"440200"},
{"id":"440233","value":"","parentId":"440200"},
{"id":"440281","value":"","parentId":"440200"},
{"id":"440282","value":"","parentId":"440200"},
{"id":"440303","value":"","parentId":"440300"},
{"id":"440304","value":"","parentId":"440300"},
{"id":"440305","value":"","parentId":"440300"},
{"id":"440306","value":"","parentId":"440300"},
{"id":"440307","value":"","parentId":"440300"},
{"id":"440308","value":"","parentId":"440300"},
{"id":"440402","value":"","parentId":"440400"},
{"id":"440403","value":"","parentId":"440400"},
{"id":"440404","value":"","parentId":"440400"},
{"id":"440507","value":"","parentId":"440500"},
{"id":"440511","value":"","parentId":"440500"},
{"id":"440512","value":"","parentId":"440500"},
{"id":"440513","value":"","parentId":"440500"},
{"id":"440514","value":"","parentId":"440500"},
{"id":"440515","value":"","parentId":"440500"},
{"id":"440523","value":"","parentId":"440500"},
{"id":"440604","value":"","parentId":"440600"},
{"id":"440605","value":"","parentId":"440600"},
{"id":"440606","value":"","parentId":"440600"},
{"id":"440607","value":"","parentId":"440600"},
{"id":"440608","value":"","parentId":"440600"},
{"id":"440703","value":"","parentId":"440700"},
{"id":"440704","value":"","parentId":"440700"},
{"id":"440705","value":"","parentId":"440700"},
{"id":"440781","value":"","parentId":"440700"},
{"id":"440783","value":"","parentId":"440700"},
{"id":"440784","value":"","parentId":"440700"},
{"id":"440785","value":"","parentId":"440700"},
{"id":"440802","value":"","parentId":"440800"},
{"id":"440803","value":"","parentId":"440800"},
{"id":"440804","value":"","parentId":"440800"},
{"id":"440811","value":"","parentId":"440800"},
{"id":"440823","value":"","parentId":"440800"},
{"id":"440825","value":"","parentId":"440800"},
{"id":"440881","value":"","parentId":"440800"},
{"id":"440882","value":"","parentId":"440800"},
{"id":"440883","value":"","parentId":"440800"},
{"id":"440902","value":"","parentId":"440900"},
{"id":"440903","value":"","parentId":"440900"},
{"id":"440923","value":"","parentId":"440900"},
{"id":"440981","value":"","parentId":"440900"},
{"id":"440982","value":"","parentId":"440900"},
{"id":"440983","value":"","parentId":"440900"},
{"id":"441202","value":"","parentId":"441200"},
{"id":"441203","value":"","parentId":"441200"},
{"id":"441223","value":"","parentId":"441200"},
{"id":"441224","value":"","parentId":"441200"},
{"id":"441225","value":"","parentId":"441200"},
{"id":"441226","value":"","parentId":"441200"},
{"id":"441283","value":"","parentId":"441200"},
{"id":"441284","value":"","parentId":"441200"},
{"id":"441302","value":"","parentId":"441300"},
{"id":"441303","value":"","parentId":"441300"},
{"id":"441322","value":"","parentId":"441300"},
{"id":"441323","value":"","parentId":"441300"},
{"id":"441324","value":"","parentId":"441300"},
{"id":"441402","value":"","parentId":"441400"},
{"id":"441421","value":"","parentId":"441400"},
{"id":"441422","value":"","parentId":"441400"},
{"id":"441423","value":"","parentId":"441400"},
{"id":"441424","value":"","parentId":"441400"},
{"id":"441426","value":"","parentId":"441400"},
{"id":"441427","value":"","parentId":"441400"},
{"id":"441481","value":"","parentId":"441400"},
{"id":"441502","value":"","parentId":"441500"},
{"id":"441521","value":"","parentId":"441500"},
{"id":"441523","value":"","parentId":"441500"},
{"id":"441581","value":"","parentId":"441500"},
{"id":"441602","value":"","parentId":"441600"},
{"id":"441621","value":"","parentId":"441600"},
{"id":"441622","value":"","parentId":"441600"},
{"id":"441623","value":"","parentId":"441600"},
{"id":"441624","value":"","parentId":"441600"},
{"id":"441625","value":"","parentId":"441600"},
{"id":"441702","value":"","parentId":"441700"},
{"id":"441721","value":"","parentId":"441700"},
{"id":"441723","value":"","parentId":"441700"},
{"id":"441781","value":"","parentId":"441700"},
{"id":"441802","value":"","parentId":"441800"},
{"id":"441821","value":"","parentId":"441800"},
{"id":"441823","value":"","parentId":"441800"},
{"id":"441825","value":"","parentId":"441800"},
{"id":"441826","value":"","parentId":"441800"},
{"id":"441827","value":"","parentId":"441800"},
{"id":"441881","value":"","parentId":"441800"},
{"id":"441882","value":"","parentId":"441800"},
{"id":"441901","value":"","parentId":"441900"},
{"id":"442001","value":"","parentId":"442000"},
{"id":"445102","value":"","parentId":"445100"},
{"id":"445121","value":"","parentId":"445100"},
{"id":"445122","value":"","parentId":"445100"},
{"id":"445202","value":"","parentId":"445200"},
{"id":"445221","value":"","parentId":"445200"},
{"id":"445222","value":"","parentId":"445200"},
{"id":"445224","value":"","parentId":"445200"},
{"id":"445281","value":"","parentId":"445200"},
{"id":"445302","value":"","parentId":"445300"},
{"id":"445321","value":"","parentId":"445300"},
{"id":"445322","value":"","parentId":"445300"},
{"id":"445323","value":"","parentId":"445300"},
{"id":"445381","value":"","parentId":"445300"},
{"id":"450102","value":"","parentId":"450100"},
{"id":"450103","value":"","parentId":"450100"},
{"id":"450105","value":"","parentId":"450100"},
{"id":"450107","value":"","parentId":"450100"},
{"id":"450108","value":"","parentId":"450100"},
{"id":"450109","value":"","parentId":"450100"},
{"id":"450122","value":"","parentId":"450100"},
{"id":"450123","value":"","parentId":"450100"},
{"id":"450124","value":"","parentId":"450100"},
{"id":"450125","value":"","parentId":"450100"},
{"id":"450126","value":"","parentId":"450100"},
{"id":"450127","value":"","parentId":"450100"},
{"id":"450202","value":"","parentId":"450200"},
{"id":"450203","value":"","parentId":"450200"},
{"id":"450204","value":"","parentId":"450200"},
{"id":"450205","value":"","parentId":"450200"},
{"id":"450221","value":"","parentId":"450200"},
{"id":"450222","value":"","parentId":"450200"},
{"id":"450223","value":"","parentId":"450200"},
{"id":"450224","value":"","parentId":"450200"},
{"id":"450225","value":"","parentId":"450200"},
{"id":"450226","value":"","parentId":"450200"},
{"id":"450302","value":"","parentId":"450300"},
{"id":"450303","value":"","parentId":"450300"},
{"id":"450304","value":"","parentId":"450300"},
{"id":"450305","value":"","parentId":"450300"},
{"id":"450311","value":"","parentId":"450300"},
{"id":"450321","value":"","parentId":"450300"},
{"id":"450322","value":"","parentId":"450300"},
{"id":"450323","value":"","parentId":"450300"},
{"id":"450324","value":"","parentId":"450300"},
{"id":"450325","value":"","parentId":"450300"},
{"id":"450326","value":"","parentId":"450300"},
{"id":"450327","value":"","parentId":"450300"},
{"id":"450328","value":"","parentId":"450300"},
{"id":"450329","value":"","parentId":"450300"},
{"id":"450330","value":"","parentId":"450300"},
{"id":"450331","value":"","parentId":"450300"},
{"id":"450332","value":"","parentId":"450300"},
{"id":"450403","value":"","parentId":"450400"},
{"id":"450404","value":"","parentId":"450400"},
{"id":"450405","value":"","parentId":"450400"},
{"id":"450421","value":"","parentId":"450400"},
{"id":"450422","value":"","parentId":"450400"},
{"id":"450423","value":"","parentId":"450400"},
{"id":"450481","value":"","parentId":"450400"},
{"id":"450502","value":"","parentId":"450500"},
{"id":"450503","value":"","parentId":"450500"},
{"id":"450512","value":"","parentId":"450500"},
{"id":"450521","value":"","parentId":"450500"},
{"id":"450602","value":"","parentId":"450600"},
{"id":"450603","value":"","parentId":"450600"},
{"id":"450621","value":"","parentId":"450600"},
{"id":"450681","value":"","parentId":"450600"},
{"id":"450702","value":"","parentId":"450700"},
{"id":"450703","value":"","parentId":"450700"},
{"id":"450721","value":"","parentId":"450700"},
{"id":"450722","value":"","parentId":"450700"},
{"id":"450802","value":"","parentId":"450800"},
{"id":"450803","value":"","parentId":"450800"},
{"id":"450804","value":"","parentId":"450800"},
{"id":"450821","value":"","parentId":"450800"},
{"id":"450881","value":"","parentId":"450800"},
{"id":"450902","value":"","parentId":"450900"},
{"id":"450921","value":"","parentId":"450900"},
{"id":"450922","value":"","parentId":"450900"},
{"id":"450923","value":"","parentId":"450900"},
{"id":"450924","value":"","parentId":"450900"},
{"id":"450981","value":"","parentId":"450900"},
{"id":"451002","value":"","parentId":"451000"},
{"id":"451021","value":"","parentId":"451000"},
{"id":"451022","value":"","parentId":"451000"},
{"id":"451023","value":"","parentId":"451000"},
{"id":"451024","value":"","parentId":"451000"},
{"id":"451025","value":"","parentId":"451000"},
{"id":"451026","value":"","parentId":"451000"},
{"id":"451027","value":"","parentId":"451000"},
{"id":"451028","value":"","parentId":"451000"},
{"id":"451029","value":"","parentId":"451000"},
{"id":"451030","value":"","parentId":"451000"},
{"id":"451031","value":"","parentId":"451000"},
{"id":"451102","value":"","parentId":"451100"},
{"id":"451119","value":"","parentId":"451100"},
{"id":"451121","value":"","parentId":"451100"},
{"id":"451122","value":"","parentId":"451100"},
{"id":"451123","value":"","parentId":"451100"},
{"id":"451202","value":"","parentId":"451200"},
{"id":"451221","value":"","parentId":"451200"},
{"id":"451222","value":"","parentId":"451200"},
{"id":"451223","value":"","parentId":"451200"},
{"id":"451224","value":"","parentId":"451200"},
{"id":"451225","value":"","parentId":"451200"},
{"id":"451226","value":"","parentId":"451200"},
{"id":"451227","value":"","parentId":"451200"},
{"id":"451228","value":"","parentId":"451200"},
{"id":"451229","value":"","parentId":"451200"},
{"id":"451281","value":"","parentId":"451200"},
{"id":"451302","value":"","parentId":"451300"},
{"id":"451321","value":"","parentId":"451300"},
{"id":"451322","value":"","parentId":"451300"},
{"id":"451323","value":"","parentId":"451300"},
{"id":"451324","value":"","parentId":"451300"},
{"id":"451381","value":"","parentId":"451300"},
{"id":"451402","value":"","parentId":"451400"},
{"id":"451421","value":"","parentId":"451400"},
{"id":"451422","value":"","parentId":"451400"},
{"id":"451423","value":"","parentId":"451400"},
{"id":"451424","value":"","parentId":"451400"},
{"id":"451425","value":"","parentId":"451400"},
{"id":"451481","value":"","parentId":"451400"},
{"id":"460105","value":"","parentId":"460100"},
{"id":"460106","value":"","parentId":"460100"},
{"id":"460107","value":"","parentId":"460100"},
{"id":"460108","value":"","parentId":"460100"},
{"id":"460201","value":"","parentId":"460200"},
{"id":"460301","value":"","parentId":"460300"},
{"id":"469001","value":"","parentId":"469001"},
{"id":"469002","value":"","parentId":"469002"},
{"id":"469003","value":"","parentId":"469003"},
{"id":"469005","value":"","parentId":"469005"},
{"id":"469006","value":"","parentId":"469006"},
{"id":"469007","value":"","parentId":"469007"},
{"id":"469021","value":"","parentId":"469021"},
{"id":"469022","value":"","parentId":"469022"},
{"id":"469023","value":"","parentId":"469023"},
{"id":"469024","value":"","parentId":"469024"},
{"id":"469025","value":"","parentId":"469025"},
{"id":"469026","value":"","parentId":"469026"},
{"id":"469027","value":"","parentId":"469027"},
{"id":"469028","value":"","parentId":"469028"},
{"id":"469029","value":"","parentId":"469029"},
{"id":"469030","value":"","parentId":"469030"},
{"id":"500101","value":"","parentId":"500100"},
{"id":"500102","value":"","parentId":"500100"},
{"id":"500103","value":"","parentId":"500100"},
{"id":"500104","value":"","parentId":"500100"},
{"id":"500105","value":"","parentId":"500100"},
{"id":"500106","value":"","parentId":"500100"},
{"id":"500107","value":"","parentId":"500100"},
{"id":"500108","value":"","parentId":"500100"},
{"id":"500109","value":"","parentId":"500100"},
{"id":"500110","value":"","parentId":"500100"},
{"id":"500111","value":"","parentId":"500100"},
{"id":"500112","value":"","parentId":"500100"},
{"id":"500113","value":"","parentId":"500100"},
{"id":"500114","value":"","parentId":"500100"},
{"id":"500115","value":"","parentId":"500100"},
{"id":"500116","value":"","parentId":"500100"},
{"id":"500117","value":"","parentId":"500100"},
{"id":"500118","value":"","parentId":"500100"},
{"id":"500119","value":"","parentId":"500100"},
{"id":"510104","value":"","parentId":"510100"},
{"id":"510105","value":"","parentId":"510100"},
{"id":"510106","value":"","parentId":"510100"},
{"id":"510107","value":"","parentId":"510100"},
{"id":"510108","value":"","parentId":"510100"},
{"id":"510112","value":"","parentId":"510100"},
{"id":"510113","value":"","parentId":"510100"},
{"id":"510114","value":"","parentId":"510100"},
{"id":"510115","value":"","parentId":"510100"},
{"id":"510121","value":"","parentId":"510100"},
{"id":"510122","value":"","parentId":"510100"},
{"id":"510124","value":"","parentId":"510100"},
{"id":"510129","value":"","parentId":"510100"},
{"id":"510131","value":"","parentId":"510100"},
{"id":"510132","value":"","parentId":"510100"},
{"id":"510181","value":"","parentId":"510100"},
{"id":"510182","value":"","parentId":"510100"},
{"id":"510183","value":"","parentId":"510100"},
{"id":"510184","value":"","parentId":"510100"},
{"id":"510302","value":"","parentId":"510300"},
{"id":"510303","value":"","parentId":"510300"},
{"id":"510304","value":"","parentId":"510300"},
{"id":"510311","value":"","parentId":"510300"},
{"id":"510321","value":"","parentId":"510300"},
{"id":"510322","value":"","parentId":"510300"},
{"id":"510402","value":"","parentId":"510400"},
{"id":"510403","value":"","parentId":"510400"},
{"id":"510411","value":"","parentId":"510400"},
{"id":"510421","value":"","parentId":"510400"},
{"id":"510422","value":"","parentId":"510400"},
{"id":"510502","value":"","parentId":"510500"},
{"id":"510503","value":"","parentId":"510500"},
{"id":"510504","value":"","parentId":"510500"},
{"id":"510521","value":"","parentId":"510500"},
{"id":"510522","value":"","parentId":"510500"},
{"id":"510524","value":"","parentId":"510500"},
{"id":"510525","value":"","parentId":"510500"},
{"id":"510603","value":"","parentId":"510600"},
{"id":"510623","value":"","parentId":"510600"},
{"id":"510626","value":"","parentId":"510600"},
{"id":"510681","value":"","parentId":"510600"},
{"id":"510682","value":"","parentId":"510600"},
{"id":"510683","value":"","parentId":"510600"},
{"id":"510703","value":"","parentId":"510700"},
{"id":"510704","value":"","parentId":"510700"},
{"id":"510722","value":"","parentId":"510700"},
{"id":"510723","value":"","parentId":"510700"},
{"id":"510724","value":"","parentId":"510700"},
{"id":"510725","value":"","parentId":"510700"},
{"id":"510726","value":"","parentId":"510700"},
{"id":"510727","value":"","parentId":"510700"},
{"id":"510781","value":"","parentId":"510700"},
{"id":"510802","value":"","parentId":"510800"},
{"id":"510811","value":"","parentId":"510800"},
{"id":"510812","value":"","parentId":"510800"},
{"id":"510821","value":"","parentId":"510800"},
{"id":"510822","value":"","parentId":"510800"},
{"id":"510823","value":"","parentId":"510800"},
{"id":"510824","value":"","parentId":"510800"},
{"id":"510903","value":"","parentId":"510900"},
{"id":"510904","value":"","parentId":"510900"},
{"id":"510921","value":"","parentId":"510900"},
{"id":"510922","value":"","parentId":"510900"},
{"id":"510923","value":"","parentId":"510900"},
{"id":"511002","value":"","parentId":"511000"},
{"id":"511011","value":"","parentId":"511000"},
{"id":"511024","value":"","parentId":"511000"},
{"id":"511025","value":"","parentId":"511000"},
{"id":"511028","value":"","parentId":"511000"},
{"id":"511102","value":"","parentId":"511100"},
{"id":"511111","value":"","parentId":"511100"},
{"id":"511112","value":"","parentId":"511100"},
{"id":"511113","value":"","parentId":"511100"},
{"id":"511123","value":"","parentId":"511100"},
{"id":"511124","value":"","parentId":"511100"},
{"id":"511126","value":"","parentId":"511100"},
{"id":"511129","value":"","parentId":"511100"},
{"id":"511132","value":"","parentId":"511100"},
{"id":"511133","value":"","parentId":"511100"},
{"id":"511181","value":"","parentId":"511100"},
{"id":"511302","value":"","parentId":"511300"},
{"id":"511303","value":"","parentId":"511300"},
{"id":"511304","value":"","parentId":"511300"},
{"id":"511321","value":"","parentId":"511300"},
{"id":"511322","value":"","parentId":"511300"},
{"id":"511323","value":"","parentId":"511300"},
{"id":"511324","value":"","parentId":"511300"},
{"id":"511325","value":"","parentId":"511300"},
{"id":"511381","value":"","parentId":"511300"},
{"id":"511402","value":"","parentId":"511400"},
{"id":"511421","value":"","parentId":"511400"},
{"id":"511422","value":"","parentId":"511400"},
{"id":"511423","value":"","parentId":"511400"},
{"id":"511424","value":"","parentId":"511400"},
{"id":"511425","value":"","parentId":"511400"},
{"id":"511502","value":"","parentId":"511500"},
{"id":"511521","value":"","parentId":"511500"},
{"id":"511522","value":"","parentId":"511500"},
{"id":"511523","value":"","parentId":"511500"},
{"id":"511524","value":"","parentId":"511500"},
{"id":"511525","value":"","parentId":"511500"},
{"id":"511526","value":"","parentId":"511500"},
{"id":"511527","value":"","parentId":"511500"},
{"id":"511528","value":"","parentId":"511500"},
{"id":"511529","value":"","parentId":"511500"},
{"id":"511602","value":"","parentId":"511600"},
{"id":"511621","value":"","parentId":"511600"},
{"id":"511622","value":"","parentId":"511600"},
{"id":"511623","value":"","parentId":"511600"},
{"id":"511681","value":"","parentId":"511600"},
{"id":"511702","value":"","parentId":"511700"},
{"id":"511721","value":"","parentId":"511700"},
{"id":"511722","value":"","parentId":"511700"},
{"id":"511723","value":"","parentId":"511700"},
{"id":"511724","value":"","parentId":"511700"},
{"id":"511725","value":"","parentId":"511700"},
{"id":"511781","value":"","parentId":"511700"},
{"id":"511802","value":"","parentId":"511800"},
{"id":"511821","value":"","parentId":"511800"},
{"id":"511822","value":"","parentId":"511800"},
{"id":"511823","value":"","parentId":"511800"},
{"id":"511824","value":"","parentId":"511800"},
{"id":"511825","value":"","parentId":"511800"},
{"id":"511826","value":"","parentId":"511800"},
{"id":"511827","value":"","parentId":"511800"},
{"id":"511902","value":"","parentId":"511900"},
{"id":"511921","value":"","parentId":"511900"},
{"id":"511922","value":"","parentId":"511900"},
{"id":"511923","value":"","parentId":"511900"},
{"id":"512002","value":"","parentId":"512000"},
{"id":"512021","value":"","parentId":"512000"},
{"id":"512022","value":"","parentId":"512000"},
{"id":"512081","value":"","parentId":"512000"},
{"id":"513221","value":"","parentId":"513200"},
{"id":"513222","value":"","parentId":"513200"},
{"id":"513223","value":"","parentId":"513200"},
{"id":"513224","value":"","parentId":"513200"},
{"id":"513225","value":"","parentId":"513200"},
{"id":"513226","value":"","parentId":"513200"},
{"id":"513227","value":"","parentId":"513200"},
{"id":"513228","value":"","parentId":"513200"},
{"id":"513229","value":"","parentId":"513200"},
{"id":"513230","value":"","parentId":"513200"},
{"id":"513231","value":"","parentId":"513200"},
{"id":"513232","value":"","parentId":"513200"},
{"id":"513233","value":"","parentId":"513200"},
{"id":"513321","value":"","parentId":"513300"},
{"id":"513322","value":"","parentId":"513300"},
{"id":"513323","value":"","parentId":"513300"},
{"id":"513324","value":"","parentId":"513300"},
{"id":"513325","value":"","parentId":"513300"},
{"id":"513326","value":"","parentId":"513300"},
{"id":"513327","value":"","parentId":"513300"},
{"id":"513328","value":"","parentId":"513300"},
{"id":"513329","value":"","parentId":"513300"},
{"id":"513330","value":"","parentId":"513300"},
{"id":"513331","value":"","parentId":"513300"},
{"id":"513332","value":"","parentId":"513300"},
{"id":"513333","value":"","parentId":"513300"},
{"id":"513334","value":"","parentId":"513300"},
{"id":"513335","value":"","parentId":"513300"},
{"id":"513336","value":"","parentId":"513300"},
{"id":"513337","value":"","parentId":"513300"},
{"id":"513338","value":"","parentId":"513300"},
{"id":"513401","value":"","parentId":"513400"},
{"id":"513422","value":"","parentId":"513400"},
{"id":"513423","value":"","parentId":"513400"},
{"id":"513424","value":"","parentId":"513400"},
{"id":"513425","value":"","parentId":"513400"},
{"id":"513426","value":"","parentId":"513400"},
{"id":"513427","value":"","parentId":"513400"},
{"id":"513428","value":"","parentId":"513400"},
{"id":"513429","value":"","parentId":"513400"},
{"id":"513430","value":"","parentId":"513400"},
{"id":"513431","value":"","parentId":"513400"},
{"id":"513432","value":"","parentId":"513400"},
{"id":"513433","value":"","parentId":"513400"},
{"id":"513434","value":"","parentId":"513400"},
{"id":"513435","value":"","parentId":"513400"},
{"id":"513436","value":"","parentId":"513400"},
{"id":"513437","value":"","parentId":"513400"},
{"id":"520102","value":"","parentId":"520100"},
{"id":"520103","value":"","parentId":"520100"},
{"id":"520111","value":"","parentId":"520100"},
{"id":"520112","value":"","parentId":"520100"},
{"id":"520113","value":"","parentId":"520100"},
{"id":"520114","value":"","parentId":"520100"},
{"id":"520121","value":"","parentId":"520100"},
{"id":"520122","value":"","parentId":"520100"},
{"id":"520123","value":"","parentId":"520100"},
{"id":"520181","value":"","parentId":"520100"},
{"id":"520201","value":"","parentId":"520200"},
{"id":"520203","value":"","parentId":"520200"},
{"id":"520221","value":"","parentId":"520200"},
{"id":"520222","value":"","parentId":"520200"},
{"id":"520302","value":"","parentId":"520300"},
{"id":"520303","value":"","parentId":"520300"},
{"id":"520321","value":"","parentId":"520300"},
{"id":"520322","value":"","parentId":"520300"},
{"id":"520323","value":"","parentId":"520300"},
{"id":"520324","value":"","parentId":"520300"},
{"id":"520325","value":"","parentId":"520300"},
{"id":"520326","value":"","parentId":"520300"},
{"id":"520327","value":"","parentId":"520300"},
{"id":"520328","value":"","parentId":"520300"},
{"id":"520329","value":"","parentId":"520300"},
{"id":"520330","value":"","parentId":"520300"},
{"id":"520381","value":"","parentId":"520300"},
{"id":"520382","value":"","parentId":"520300"},
{"id":"520402","value":"","parentId":"520400"},
{"id":"520421","value":"","parentId":"520400"},
{"id":"520422","value":"","parentId":"520400"},
{"id":"520423","value":"","parentId":"520400"},
{"id":"520424","value":"","parentId":"520400"},
{"id":"520425","value":"","parentId":"520400"},
{"id":"522201","value":"","parentId":"522200"},
{"id":"522301","value":"","parentId":"522300"},
{"id":"522322","value":"","parentId":"522300"},
{"id":"522323","value":"","parentId":"522300"},
{"id":"522324","value":"","parentId":"522300"},
{"id":"522325","value":"","parentId":"522300"},
{"id":"522326","value":"","parentId":"522300"},
{"id":"522327","value":"","parentId":"522300"},
{"id":"522328","value":"","parentId":"522300"},
{"id":"522401","value":"","parentId":"522400"},
{"id":"522601","value":"","parentId":"522600"},
{"id":"522622","value":"","parentId":"522600"},
{"id":"522623","value":"","parentId":"522600"},
{"id":"522624","value":"","parentId":"522600"},
{"id":"522625","value":"","parentId":"522600"},
{"id":"522626","value":"","parentId":"522600"},
{"id":"522627","value":"","parentId":"522600"},
{"id":"522628","value":"","parentId":"522600"},
{"id":"522629","value":"","parentId":"522600"},
{"id":"522630","value":"","parentId":"522600"},
{"id":"522631","value":"","parentId":"522600"},
{"id":"522632","value":"","parentId":"522600"},
{"id":"522633","value":"","parentId":"522600"},
{"id":"522634","value":"","parentId":"522600"},
{"id":"522635","value":"","parentId":"522600"},
{"id":"522636","value":"","parentId":"522600"},
{"id":"522701","value":"","parentId":"522700"},
{"id":"522702","value":"","parentId":"522700"},
{"id":"522722","value":"","parentId":"522700"},
{"id":"522723","value":"","parentId":"522700"},
{"id":"522725","value":"","parentId":"522700"},
{"id":"522726","value":"","parentId":"522700"},
{"id":"522727","value":"","parentId":"522700"},
{"id":"522728","value":"","parentId":"522700"},
{"id":"522729","value":"","parentId":"522700"},
{"id":"522730","value":"","parentId":"522700"},
{"id":"522731","value":"","parentId":"522700"},
{"id":"522732","value":"","parentId":"522700"},
{"id":"530102","value":"","parentId":"530100"},
{"id":"530103","value":"","parentId":"530100"},
{"id":"530111","value":"","parentId":"530100"},
{"id":"530112","value":"","parentId":"530100"},
{"id":"530113","value":"","parentId":"530100"},
{"id":"530121","value":"","parentId":"530100"},
{"id":"530122","value":"","parentId":"530100"},
{"id":"530124","value":"","parentId":"530100"},
{"id":"530125","value":"","parentId":"530100"},
{"id":"530126","value":"","parentId":"530100"},
{"id":"530127","value":"","parentId":"530100"},
{"id":"530128","value":"","parentId":"530100"},
{"id":"530129","value":"","parentId":"530100"},
{"id":"530181","value":"","parentId":"530100"},
{"id":"530302","value":"","parentId":"530300"},
{"id":"530321","value":"","parentId":"530300"},
{"id":"530322","value":"","parentId":"530300"},
{"id":"530323","value":"","parentId":"530300"},
{"id":"530324","value":"","parentId":"530300"},
{"id":"530325","value":"","parentId":"530300"},
{"id":"530326","value":"","parentId":"530300"},
{"id":"530328","value":"","parentId":"530300"},
{"id":"530381","value":"","parentId":"530300"},
{"id":"530402","value":"","parentId":"530400"},
{"id":"530421","value":"","parentId":"530400"},
{"id":"530422","value":"","parentId":"530400"},
{"id":"530423","value":"","parentId":"530400"},
{"id":"530424","value":"","parentId":"530400"},
{"id":"530425","value":"","parentId":"530400"},
{"id":"530426","value":"","parentId":"530400"},
{"id":"530427","value":"","parentId":"530400"},
{"id":"530428","value":"","parentId":"530400"},
{"id":"530502","value":"","parentId":"530500"},
{"id":"530521","value":"","parentId":"530500"},
{"id":"530522","value":"","parentId":"530500"},
{"id":"530523","value":"","parentId":"530500"},
{"id":"530524","value":"","parentId":"530500"},
{"id":"530602","value":"","parentId":"530600"},
{"id":"530621","value":"","parentId":"530600"},
{"id":"530622","value":"","parentId":"530600"},
{"id":"530623","value":"","parentId":"530600"},
{"id":"530624","value":"","parentId":"530600"},
{"id":"530625","value":"","parentId":"530600"},
{"id":"530626","value":"","parentId":"530600"},
{"id":"530627","value":"","parentId":"530600"},
{"id":"530628","value":"","parentId":"530600"},
{"id":"530629","value":"","parentId":"530600"},
{"id":"530630","value":"","parentId":"530600"},
{"id":"530702","value":"","parentId":"530700"},
{"id":"530721","value":"","parentId":"530700"},
{"id":"530722","value":"","parentId":"530700"},
{"id":"530723","value":"","parentId":"530700"},
{"id":"530724","value":"","parentId":"530700"},
{"id":"530802","value":"","parentId":"530800"},
{"id":"530821","value":"","parentId":"530800"},
{"id":"530822","value":"","parentId":"530800"},
{"id":"530823","value":"","parentId":"530800"},
{"id":"530824","value":"","parentId":"530800"},
{"id":"530825","value":"","parentId":"530800"},
{"id":"530826","value":"","parentId":"530800"},
{"id":"530827","value":"","parentId":"530800"},
{"id":"530828","value":"","parentId":"530800"},
{"id":"530829","value":"","parentId":"530800"},
{"id":"530902","value":"","parentId":"530900"},
{"id":"530921","value":"","parentId":"530900"},
{"id":"530922","value":"","parentId":"530900"},
{"id":"530923","value":"","parentId":"530900"},
{"id":"530924","value":"","parentId":"530900"},
{"id":"530925","value":"","parentId":"530900"},
{"id":"530926","value":"","parentId":"530900"},
{"id":"530927","value":"","parentId":"530900"},
{"id":"532301","value":"","parentId":"532300"},
{"id":"532322","value":"","parentId":"532300"},
{"id":"532323","value":"","parentId":"532300"},
{"id":"532324","value":"","parentId":"532300"},
{"id":"532325","value":"","parentId":"532300"},
{"id":"532326","value":"","parentId":"532300"},
{"id":"532327","value":"","parentId":"532300"},
{"id":"532328","value":"","parentId":"532300"},
{"id":"532329","value":"","parentId":"532300"},
{"id":"532331","value":"","parentId":"532300"},
{"id":"532501","value":"","parentId":"532500"},
{"id":"532502","value":"","parentId":"532500"},
{"id":"532503","value":"","parentId":"532500"},
{"id":"532523","value":"","parentId":"532500"},
{"id":"532524","value":"","parentId":"532500"},
{"id":"532525","value":"","parentId":"532500"},
{"id":"532526","value":"","parentId":"532500"},
{"id":"532527","value":"","parentId":"532500"},
{"id":"532528","value":"","parentId":"532500"},
{"id":"532529","value":"","parentId":"532500"},
{"id":"532530","value":"","parentId":"532500"},
{"id":"532531","value":"","parentId":"532500"},
{"id":"532532","value":"","parentId":"532500"},
{"id":"532621","value":"","parentId":"532600"},
{"id":"532622","value":"","parentId":"532600"},
{"id":"532623","value":"","parentId":"532600"},
{"id":"532624","value":"","parentId":"532600"},
{"id":"532625","value":"","parentId":"532600"},
{"id":"532626","value":"","parentId":"532600"},
{"id":"532627","value":"","parentId":"532600"},
{"id":"532628","value":"","parentId":"532600"},
{"id":"532801","value":"","parentId":"532800"},
{"id":"532822","value":"","parentId":"532800"},
{"id":"532823","value":"","parentId":"532800"},
{"id":"532901","value":"","parentId":"532900"},
{"id":"532922","value":"","parentId":"532900"},
{"id":"532923","value":"","parentId":"532900"},
{"id":"532924","value":"","parentId":"532900"},
{"id":"532925","value":"","parentId":"532900"},
{"id":"532926","value":"","parentId":"532900"},
{"id":"532927","value":"","parentId":"532900"},
{"id":"532928","value":"","parentId":"532900"},
{"id":"532929","value":"","parentId":"532900"},
{"id":"532930","value":"","parentId":"532900"},
{"id":"532931","value":"","parentId":"532900"},
{"id":"532932","value":"","parentId":"532900"},
{"id":"533102","value":"","parentId":"533100"},
{"id":"533103","value":"","parentId":"533100"},
{"id":"533122","value":"","parentId":"533100"},
{"id":"533123","value":"","parentId":"533100"},
{"id":"533124","value":"","parentId":"533100"},
{"id":"533321","value":"","parentId":"533300"},
{"id":"533323","value":"","parentId":"533300"},
{"id":"533324","value":"","parentId":"533300"},
{"id":"533325","value":"","parentId":"533300"},
{"id":"533421","value":"","parentId":"533400"},
{"id":"533422","value":"","parentId":"533400"},
{"id":"533423","value":"","parentId":"533400"},
{"id":"540102","value":"","parentId":"540100"},
{"id":"540121","value":"","parentId":"540100"},
{"id":"540122","value":"","parentId":"540100"},
{"id":"540123","value":"","parentId":"540100"},
{"id":"540124","value":"","parentId":"540100"},
{"id":"540125","value":"","parentId":"540100"},
{"id":"540126","value":"","parentId":"540100"},
{"id":"540127","value":"","parentId":"540100"},
{"id":"542121","value":"","parentId":"542100"},
{"id":"542122","value":"","parentId":"542100"},
{"id":"542123","value":"","parentId":"542100"},
{"id":"542124","value":"","parentId":"542100"},
{"id":"542125","value":"","parentId":"542100"},
{"id":"542126","value":"","parentId":"542100"},
{"id":"542127","value":"","parentId":"542100"},
{"id":"542128","value":"","parentId":"542100"},
{"id":"542129","value":"","parentId":"542100"},
{"id":"542132","value":"","parentId":"542100"},
{"id":"542133","value":"","parentId":"542100"},
{"id":"542221","value":"","parentId":"542200"},
{"id":"542222","value":"","parentId":"542200"},
{"id":"542223","value":"","parentId":"542200"},
{"id":"542224","value":"","parentId":"542200"},
{"id":"542225","value":"","parentId":"542200"},
{"id":"542226","value":"","parentId":"542200"},
{"id":"542227","value":"","parentId":"542200"},
{"id":"542228","value":"","parentId":"542200"},
{"id":"542229","value":"","parentId":"542200"},
{"id":"542231","value":"","parentId":"542200"},
{"id":"542232","value":"","parentId":"542200"},
{"id":"542233","value":"","parentId":"542200"},
{"id":"542301","value":"","parentId":"542300"},
{"id":"542322","value":"","parentId":"542300"},
{"id":"542323","value":"","parentId":"542300"},
{"id":"542324","value":"","parentId":"542300"},
{"id":"542325","value":"","parentId":"542300"},
{"id":"542326","value":"","parentId":"542300"},
{"id":"542327","value":"","parentId":"542300"},
{"id":"542328","value":"","parentId":"542300"},
{"id":"542329","value":"","parentId":"542300"},
{"id":"542330","value":"","parentId":"542300"},
{"id":"542331","value":"","parentId":"542300"},
{"id":"542332","value":"","parentId":"542300"},
{"id":"542333","value":"","parentId":"542300"},
{"id":"542334","value":"","parentId":"542300"},
{"id":"542335","value":"","parentId":"542300"},
{"id":"542336","value":"","parentId":"542300"},
{"id":"542337","value":"","parentId":"542300"},
{"id":"542338","value":"","parentId":"542300"},
{"id":"542421","value":"","parentId":"542400"},
{"id":"542422","value":"","parentId":"542400"},
{"id":"542423","value":"","parentId":"542400"},
{"id":"542424","value":"","parentId":"542400"},
{"id":"542425","value":"","parentId":"542400"},
{"id":"542426","value":"","parentId":"542400"},
{"id":"542427","value":"","parentId":"542400"},
{"id":"542428","value":"","parentId":"542400"},
{"id":"542429","value":"","parentId":"542400"},
{"id":"542430","value":"","parentId":"542400"},
{"id":"542521","value":"","parentId":"542500"},
{"id":"542522","value":"","parentId":"542500"},
{"id":"542523","value":"","parentId":"542500"},
{"id":"542524","value":"","parentId":"542500"},
{"id":"542525","value":"","parentId":"542500"},
{"id":"542526","value":"","parentId":"542500"},
{"id":"542527","value":"","parentId":"542500"},
{"id":"542621","value":"","parentId":"542600"},
{"id":"542622","value":"","parentId":"542600"},
{"id":"542623","value":"","parentId":"542600"},
{"id":"542624","value":"","parentId":"542600"},
{"id":"542625","value":"","parentId":"542600"},
{"id":"542626","value":"","parentId":"542600"},
{"id":"542627","value":"","parentId":"542600"},
{"id":"610102","value":"","parentId":"610100"},
{"id":"610103","value":"","parentId":"610100"},
{"id":"610104","value":"","parentId":"610100"},
{"id":"610111","value":"","parentId":"610100"},
{"id":"610112","value":"","parentId":"610100"},
{"id":"610113","value":"","parentId":"610100"},
{"id":"610114","value":"","parentId":"610100"},
{"id":"610115","value":"","parentId":"610100"},
{"id":"610116","value":"","parentId":"610100"},
{"id":"610122","value":"","parentId":"610100"},
{"id":"610124","value":"","parentId":"610100"},
{"id":"610125","value":"","parentId":"610100"},
{"id":"610126","value":"","parentId":"610100"},
{"id":"610202","value":"","parentId":"610200"},
{"id":"610203","value":"","parentId":"610200"},
{"id":"610204","value":"","parentId":"610200"},
{"id":"610222","value":"","parentId":"610200"},
{"id":"610302","value":"","parentId":"610300"},
{"id":"610303","value":"","parentId":"610300"},
{"id":"610304","value":"","parentId":"610300"},
{"id":"610322","value":"","parentId":"610300"},
{"id":"610323","value":"","parentId":"610300"},
{"id":"610324","value":"","parentId":"610300"},
{"id":"610326","value":"","parentId":"610300"},
{"id":"610327","value":"","parentId":"610300"},
{"id":"610328","value":"","parentId":"610300"},
{"id":"610329","value":"","parentId":"610300"},
{"id":"610330","value":"","parentId":"610300"},
{"id":"610331","value":"","parentId":"610300"},
{"id":"610402","value":"","parentId":"610400"},
{"id":"610403","value":"","parentId":"610400"},
{"id":"610404","value":"","parentId":"610400"},
{"id":"610422","value":"","parentId":"610400"},
{"id":"610423","value":"","parentId":"610400"},
{"id":"610424","value":"","parentId":"610400"},
{"id":"610425","value":"","parentId":"610400"},
{"id":"610426","value":"","parentId":"610400"},
{"id":"610427","value":"","parentId":"610400"},
{"id":"610428","value":"","parentId":"610400"},
{"id":"610429","value":"","parentId":"610400"},
{"id":"610430","value":"","parentId":"610400"},
{"id":"610431","value":"","parentId":"610400"},
{"id":"610481","value":"","parentId":"610400"},
{"id":"610502","value":"","parentId":"610500"},
{"id":"610521","value":"","parentId":"610500"},
{"id":"610522","value":"","parentId":"610500"},
{"id":"610523","value":"","parentId":"610500"},
{"id":"610524","value":"","parentId":"610500"},
{"id":"610525","value":"","parentId":"610500"},
{"id":"610526","value":"","parentId":"610500"},
{"id":"610527","value":"","parentId":"610500"},
{"id":"610528","value":"","parentId":"610500"},
{"id":"610581","value":"","parentId":"610500"},
{"id":"610582","value":"","parentId":"610500"},
{"id":"610602","value":"","parentId":"610600"},
{"id":"610621","value":"","parentId":"610600"},
{"id":"610622","value":"","parentId":"610600"},
{"id":"610623","value":"","parentId":"610600"},
{"id":"610624","value":"","parentId":"610600"},
{"id":"610625","value":"","parentId":"610600"},
{"id":"610626","value":"","parentId":"610600"},
{"id":"610627","value":"","parentId":"610600"},
{"id":"610628","value":"","parentId":"610600"},
{"id":"610629","value":"","parentId":"610600"},
{"id":"610630","value":"","parentId":"610600"},
{"id":"610631","value":"","parentId":"610600"},
{"id":"610632","value":"","parentId":"610600"},
{"id":"610702","value":"","parentId":"610700"},
{"id":"610721","value":"","parentId":"610700"},
{"id":"610722","value":"","parentId":"610700"},
{"id":"610723","value":"","parentId":"610700"},
{"id":"610724","value":"","parentId":"610700"},
{"id":"610725","value":"","parentId":"610700"},
{"id":"610726","value":"","parentId":"610700"},
{"id":"610727","value":"","parentId":"610700"},
{"id":"610728","value":"","parentId":"610700"},
{"id":"610729","value":"","parentId":"610700"},
{"id":"610730","value":"","parentId":"610700"},
{"id":"610802","value":"","parentId":"610800"},
{"id":"610821","value":"","parentId":"610800"},
{"id":"610822","value":"","parentId":"610800"},
{"id":"610823","value":"","parentId":"610800"},
{"id":"610824","value":"","parentId":"610800"},
{"id":"610825","value":"","parentId":"610800"},
{"id":"610826","value":"","parentId":"610800"},
{"id":"610827","value":"","parentId":"610800"},
{"id":"610828","value":"","parentId":"610800"},
{"id":"610829","value":"","parentId":"610800"},
{"id":"610830","value":"","parentId":"610800"},
{"id":"610831","value":"","parentId":"610800"},
{"id":"610902","value":"","parentId":"610900"},
{"id":"610921","value":"","parentId":"610900"},
{"id":"610922","value":"","parentId":"610900"},
{"id":"610923","value":"","parentId":"610900"},
{"id":"610924","value":"","parentId":"610900"},
{"id":"610925","value":"","parentId":"610900"},
{"id":"610926","value":"","parentId":"610900"},
{"id":"610927","value":"","parentId":"610900"},
{"id":"610928","value":"","parentId":"610900"},
{"id":"610929","value":"","parentId":"610900"},
{"id":"611002","value":"","parentId":"611000"},
{"id":"611021","value":"","parentId":"611000"},
{"id":"611022","value":"","parentId":"611000"},
{"id":"611023","value":"","parentId":"611000"},
{"id":"611024","value":"","parentId":"611000"},
{"id":"611025","value":"","parentId":"611000"},
{"id":"611026","value":"","parentId":"611000"},
{"id":"620102","value":"","parentId":"620100"},
{"id":"620103","value":"","parentId":"620100"},
{"id":"620104","value":"","parentId":"620100"},
{"id":"620105","value":"","parentId":"620100"},
{"id":"620111","value":"","parentId":"620100"},
{"id":"620121","value":"","parentId":"620100"},
{"id":"620122","value":"","parentId":"620100"},
{"id":"620123","value":"","parentId":"620100"},
{"id":"620201","value":"","parentId":"620200"},
{"id":"620302","value":"","parentId":"620300"},
{"id":"620321","value":"","parentId":"620300"},
{"id":"620402","value":"","parentId":"620400"},
{"id":"620403","value":"","parentId":"620400"},
{"id":"620421","value":"","parentId":"620400"},
{"id":"620422","value":"","parentId":"620400"},
{"id":"620423","value":"","parentId":"620400"},
{"id":"620502","value":"","parentId":"620500"},
{"id":"620503","value":"","parentId":"620500"},
{"id":"620521","value":"","parentId":"620500"},
{"id":"620522","value":"","parentId":"620500"},
{"id":"620523","value":"","parentId":"620500"},
{"id":"620524","value":"","parentId":"620500"},
{"id":"620525","value":"","parentId":"620500"},
{"id":"620602","value":"","parentId":"620600"},
{"id":"620621","value":"","parentId":"620600"},
{"id":"620622","value":"","parentId":"620600"},
{"id":"620623","value":"","parentId":"620600"},
{"id":"620702","value":"","parentId":"620700"},
{"id":"620721","value":"","parentId":"620700"},
{"id":"620722","value":"","parentId":"620700"},
{"id":"620723","value":"","parentId":"620700"},
{"id":"620724","value":"","parentId":"620700"},
{"id":"620725","value":"","parentId":"620700"},
{"id":"620802","value":"","parentId":"620800"},
{"id":"620821","value":"","parentId":"620800"},
{"id":"620822","value":"","parentId":"620800"},
{"id":"620823","value":"","parentId":"620800"},
{"id":"620824","value":"","parentId":"620800"},
{"id":"620825","value":"","parentId":"620800"},
{"id":"620826","value":"","parentId":"620800"},
{"id":"620902","value":"","parentId":"620900"},
{"id":"620921","value":"","parentId":"620900"},
{"id":"620922","value":"","parentId":"620900"},
{"id":"620923","value":"","parentId":"620900"},
{"id":"620924","value":"","parentId":"620900"},
{"id":"620981","value":"","parentId":"620900"},
{"id":"620982","value":"","parentId":"620900"},
{"id":"621002","value":"","parentId":"621000"},
{"id":"621021","value":"","parentId":"621000"},
{"id":"621022","value":"","parentId":"621000"},
{"id":"621023","value":"","parentId":"621000"},
{"id":"621024","value":"","parentId":"621000"},
{"id":"621025","value":"","parentId":"621000"},
{"id":"621026","value":"","parentId":"621000"},
{"id":"621027","value":"","parentId":"621000"},
{"id":"621102","value":"","parentId":"621100"},
{"id":"621121","value":"","parentId":"621100"},
{"id":"621122","value":"","parentId":"621100"},
{"id":"621123","value":"","parentId":"621100"},
{"id":"621124","value":"","parentId":"621100"},
{"id":"621125","value":"","parentId":"621100"},
{"id":"621126","value":"","parentId":"621100"},
{"id":"621202","value":"","parentId":"621200"},
{"id":"621221","value":"","parentId":"621200"},
{"id":"621222","value":"","parentId":"621200"},
{"id":"621223","value":"","parentId":"621200"},
{"id":"621224","value":"","parentId":"621200"},
{"id":"621225","value":"","parentId":"621200"},
{"id":"621226","value":"","parentId":"621200"},
{"id":"621227","value":"","parentId":"621200"},
{"id":"621228","value":"","parentId":"621200"},
{"id":"622901","value":"","parentId":"622900"},
{"id":"622921","value":"","parentId":"622900"},
{"id":"622922","value":"","parentId":"622900"},
{"id":"622923","value":"","parentId":"622900"},
{"id":"622924","value":"","parentId":"622900"},
{"id":"622925","value":"","parentId":"622900"},
{"id":"622926","value":"","parentId":"622900"},
{"id":"622927","value":"","parentId":"622900"},
{"id":"623001","value":"","parentId":"623000"},
{"id":"623021","value":"","parentId":"623000"},
{"id":"623022","value":"","parentId":"623000"},
{"id":"623023","value":"","parentId":"623000"},
{"id":"623024","value":"","parentId":"623000"},
{"id":"623025","value":"","parentId":"623000"},
{"id":"623026","value":"","parentId":"623000"},
{"id":"623027","value":"","parentId":"623000"},
{"id":"630102","value":"","parentId":"630100"},
{"id":"630103","value":"","parentId":"630100"},
{"id":"630104","value":"","parentId":"630100"},
{"id":"630105","value":"","parentId":"630100"},
{"id":"630121","value":"","parentId":"630100"},
{"id":"630122","value":"","parentId":"630100"},
{"id":"630123","value":"","parentId":"630100"},
{"id":"632121","value":"","parentId":"632100"},
{"id":"632122","value":"","parentId":"632100"},
{"id":"632123","value":"","parentId":"632100"},
{"id":"632126","value":"","parentId":"632100"},
{"id":"632127","value":"","parentId":"632100"},
{"id":"632128","value":"","parentId":"632100"},
{"id":"632221","value":"","parentId":"632200"},
{"id":"632222","value":"","parentId":"632200"},
{"id":"632223","value":"","parentId":"632200"},
{"id":"632224","value":"","parentId":"632200"},
{"id":"632321","value":"","parentId":"632300"},
{"id":"632322","value":"","parentId":"632300"},
{"id":"632323","value":"","parentId":"632300"},
{"id":"632324","value":"","parentId":"632300"},
{"id":"632521","value":"","parentId":"632500"},
{"id":"632522","value":"","parentId":"632500"},
{"id":"632523","value":"","parentId":"632500"},
{"id":"632524","value":"","parentId":"632500"},
{"id":"632525","value":"","parentId":"632500"},
{"id":"632621","value":"","parentId":"632600"},
{"id":"632622","value":"","parentId":"632600"},
{"id":"632623","value":"","parentId":"632600"},
{"id":"632624","value":"","parentId":"632600"},
{"id":"632625","value":"","parentId":"632600"},
{"id":"632626","value":"","parentId":"632600"},
{"id":"632721","value":"","parentId":"632700"},
{"id":"632722","value":"","parentId":"632700"},
{"id":"632723","value":"","parentId":"632700"},
{"id":"632724","value":"","parentId":"632700"},
{"id":"632725","value":"","parentId":"632700"},
{"id":"632726","value":"","parentId":"632700"},
{"id":"632801","value":"","parentId":"632800"},
{"id":"632802","value":"","parentId":"632800"},
{"id":"632821","value":"","parentId":"632800"},
{"id":"632822","value":"","parentId":"632800"},
{"id":"632823","value":"","parentId":"632800"},
{"id":"640104","value":"","parentId":"640100"},
{"id":"640105","value":"","parentId":"640100"},
{"id":"640106","value":"","parentId":"640100"},
{"id":"640121","value":"","parentId":"640100"},
{"id":"640122","value":"","parentId":"640100"},
{"id":"640181","value":"","parentId":"640100"},
{"id":"640202","value":"","parentId":"640200"},
{"id":"640205","value":"","parentId":"640200"},
{"id":"640221","value":"","parentId":"640200"},
{"id":"640302","value":"","parentId":"640300"},
{"id":"640303","value":"","parentId":"640300"},
{"id":"640323","value":"","parentId":"640300"},
{"id":"640324","value":"","parentId":"640300"},
{"id":"640381","value":"","parentId":"640300"},
{"id":"640402","value":"","parentId":"640400"},
{"id":"640422","value":"","parentId":"640400"},
{"id":"640423","value":"","parentId":"640400"},
{"id":"640424","value":"","parentId":"640400"},
{"id":"640425","value":"","parentId":"640400"},
{"id":"640502","value":"","parentId":"640500"},
{"id":"640521","value":"","parentId":"640500"},
{"id":"640522","value":"","parentId":"640500"},
{"id":"650102","value":"","parentId":"650100"},
{"id":"650103","value":"","parentId":"650100"},
{"id":"650104","value":"","parentId":"650100"},
{"id":"650105","value":"","parentId":"650100"},
{"id":"650106","value":"","parentId":"650100"},
{"id":"650107","value":"","parentId":"650100"},
{"id":"650109","value":"","parentId":"650100"},
{"id":"650121","value":"","parentId":"650100"},
{"id":"650202","value":"","parentId":"650200"},
{"id":"650203","value":"","parentId":"650200"},
{"id":"650204","value":"","parentId":"650200"},
{"id":"650205","value":"","parentId":"650200"},
{"id":"652101","value":"","parentId":"652100"},
{"id":"652122","value":"","parentId":"652100"},
{"id":"652123","value":"","parentId":"652100"},
{"id":"652201","value":"","parentId":"652200"},
{"id":"652222","value":"","parentId":"652200"},
{"id":"652223","value":"","parentId":"652200"},
{"id":"652301","value":"","parentId":"652300"},
{"id":"652302","value":"","parentId":"652300"},
{"id":"652323","value":"","parentId":"652300"},
{"id":"652324","value":"","parentId":"652300"},
{"id":"652325","value":"","parentId":"652300"},
{"id":"652327","value":"","parentId":"652300"},
{"id":"652328","value":"","parentId":"652300"},
{"id":"652701","value":"","parentId":"652700"},
{"id":"652722","value":"","parentId":"652700"},
{"id":"652723","value":"","parentId":"652700"},
{"id":"652801","value":"","parentId":"652800"},
{"id":"652822","value":"","parentId":"652800"},
{"id":"652823","value":"","parentId":"652800"},
{"id":"652824","value":"","parentId":"652800"},
{"id":"652825","value":"","parentId":"652800"},
{"id":"652826","value":"","parentId":"652800"},
{"id":"652827","value":"","parentId":"652800"},
{"id":"652828","value":"","parentId":"652800"},
{"id":"652829","value":"","parentId":"652800"},
{"id":"652901","value":"","parentId":"652900"},
{"id":"652922","value":"","parentId":"652900"},
{"id":"652923","value":"","parentId":"652900"},
{"id":"652924","value":"","parentId":"652900"},
{"id":"652925","value":"","parentId":"652900"},
{"id":"652926","value":"","parentId":"652900"},
{"id":"652927","value":"","parentId":"652900"},
{"id":"652928","value":"","parentId":"652900"},
{"id":"652929","value":"","parentId":"652900"},
{"id":"653001","value":"","parentId":"653000"},
{"id":"653022","value":"","parentId":"653000"},
{"id":"653023","value":"","parentId":"653000"},
{"id":"653024","value":"","parentId":"653000"},
{"id":"653101","value":"","parentId":"653100"},
{"id":"653121","value":"","parentId":"653100"},
{"id":"653122","value":"","parentId":"653100"},
{"id":"653123","value":"","parentId":"653100"},
{"id":"653124","value":"","parentId":"653100"},
{"id":"653125","value":"","parentId":"653100"},
{"id":"653126","value":"","parentId":"653100"},
{"id":"653127","value":"","parentId":"653100"},
{"id":"653128","value":"","parentId":"653100"},
{"id":"653129","value":"","parentId":"653100"},
{"id":"653130","value":"","parentId":"653100"},
{"id":"653131","value":"","parentId":"653100"},
{"id":"653201","value":"","parentId":"653200"},
{"id":"653221","value":"","parentId":"653200"},
{"id":"653222","value":"","parentId":"653200"},
{"id":"653223","value":"","parentId":"653200"},
{"id":"653224","value":"","parentId":"653200"},
{"id":"653225","value":"","parentId":"653200"},
{"id":"653226","value":"","parentId":"653200"},
{"id":"653227","value":"","parentId":"653200"},
{"id":"654002","value":"","parentId":"654000"},
{"id":"654003","value":"","parentId":"654000"},
{"id":"654021","value":"","parentId":"654000"},
{"id":"654022","value":"","parentId":"654000"},
{"id":"654023","value":"","parentId":"654000"},
{"id":"654024","value":"","parentId":"654000"},
{"id":"654025","value":"","parentId":"654000"},
{"id":"654026","value":"","parentId":"654000"},
{"id":"654027","value":"","parentId":"654000"},
{"id":"654028","value":"","parentId":"654000"},
{"id":"654201","value":"","parentId":"654200"},
{"id":"654202","value":"","parentId":"654200"},
{"id":"654221","value":"","parentId":"654200"},
{"id":"654223","value":"","parentId":"654200"},
{"id":"654224","value":"","parentId":"654200"},
{"id":"654225","value":"","parentId":"654200"},
{"id":"654226","value":"","parentId":"654200"},
{"id":"654301","value":"","parentId":"654300"},
{"id":"654321","value":"","parentId":"654300"},
{"id":"654322","value":"","parentId":"654300"},
{"id":"654323","value":"","parentId":"654300"},
{"id":"654324","value":"","parentId":"654300"},
{"id":"654325","value":"","parentId":"654300"},
{"id":"654326","value":"","parentId":"654300"},
{"id":"659001","value":"","parentId":"659001"},
{"id":"659002","value":"","parentId":"659002"},
{"id":"659003","value":"","parentId":"659003"},
{"id":"659004","value":"","parentId":"659004"}
]
```
|
/content/code_sandbox/demo/ajax/areaData_v2.3.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 39,511
|
```javascript
[
{"id": "110000", "value": "", "parentId": "0"},
{"id": "120000", "value": "", "parentId": "0"},
{"id": "130000", "value": "", "parentId": "0"},
{"id": "140000", "value": "", "parentId": "0"},
{"id": "150000", "value": "", "parentId": "0"},
{"id": "210000", "value": "", "parentId": "0"},
{"id": "220000", "value": "", "parentId": "0"},
{"id": "230000", "value": "", "parentId": "0"},
{"id": "310000", "value": "", "parentId": "0"},
{"id": "320000", "value": "", "parentId": "0"},
{"id": "330000", "value": "", "parentId": "0"},
{"id": "340000", "value": "", "parentId": "0"},
{"id": "350000", "value": "", "parentId": "0"},
{"id": "360000", "value": "", "parentId": "0"},
{"id": "370000", "value": "", "parentId": "0"},
{"id": "410000", "value": "", "parentId": "0"},
{"id": "420000", "value": "", "parentId": "0"},
{"id": "430000", "value": "", "parentId": "0"},
{"id": "440000", "value": "", "parentId": "0"},
{"id": "450000", "value": "", "parentId": "0"},
{"id": "460000", "value": "", "parentId": "0"},
{"id": "500000", "value": "", "parentId": "0"},
{"id": "510000", "value": "", "parentId": "0"},
{"id": "520000", "value": "", "parentId": "0"},
{"id": "530000", "value": "", "parentId": "0"},
{"id": "540000", "value": "", "parentId": "0"},
{"id": "610000", "value": "", "parentId": "0"},
{"id": "620000", "value": "", "parentId": "0"},
{"id": "630000", "value": "", "parentId": "0"},
{"id": "640000", "value": "", "parentId": "0"},
{"id": "650000", "value": "", "parentId": "0"}
]
```
|
/content/code_sandbox/demo/ajax/areaData_v2.1.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 561
|
```javascript
/*
* @Author: william
* @Date: 2017-07-19 15:04:04
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-19 21:56:54
*/
define(function (require, exports, module) {
var angular = require('angular');
var asyncLoader = require('angular-async-loader');
require('angular-ui-router');
var app = angular.module('app', ['ui.router']);
// initialze app module for angular-async-loader
asyncLoader.configure(app);
module.exports = app;
});
```
|
/content/code_sandbox/demo/ajax/angular/app.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 135
|
```javascript
/*
* @Author: william
* @Date: 2017-07-19 15:04:38
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-20 08:44:58
*/
define(function (require) {
var app = require('./app');
app.run(['$state', '$stateParams', '$rootScope', function ($state, $stateParams, $rootScope) {
$rootScope.$state = $state;
$rootScope.$stateParams = $stateParams;
}]);
app.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/home');
$stateProvider
.state('home', {
url: '/home',
templateUrl: 'home/home.html',
// new attribute for ajax load controller
controllerUrl: 'home/homeCtrl',
controller: 'homeCtrl'
})
.state('components', {
url: '/components',
templateUrl: 'components/components.html',
// new attribute for ajax load controller
controllerUrl: 'components/componentsCtrl',
controller: 'componentsCtrl'
});
}]);
});
```
|
/content/code_sandbox/demo/ajax/angular/app-routes.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 254
|
```javascript
/*
* @Author: william
* @Date: 2017-07-19 15:04:19
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-20 08:47:39
*/
require.config({
baseUrl:'/iosselect/demo/ajax/angular/',
map:{
'*': {
'css': 'assets/requirecss/css'
}
},
paths:{
'angular':'assets/angular/angular.min',
'angular-ui-router':'assets/angular-ui-router/angular-ui-router.min',
'angular-async-loader':'assets/angular-async-loader/angular-async-loader.min',
'IosSelect':'assets/IosSelect/iosSelect',
},
shim:{
'angular':{exports:'angular'},
'angular-ui-router':{deps:['angular']},
'angular-async-loader':{deps:['angular']},
'IosSelect':{deps:['css!assets/IosSelect/iosSelect.css']}
}
});
require(['angular','./app-routes'],function(angular){
angular.element(document).ready(function(){
angular.bootstrap(document,['app']);
angular.element(document).find('html').addClass('ng-app');
});
});
```
|
/content/code_sandbox/demo/ajax/angular/bootstrap.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 258
|
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
<body>
<p>
Router: $state = {{$state.current.name}}
</p>
<p>
Navigate Menu: <a ui-sref="home">Home</a> | <a ui-sref="components">UI Components</a>
</p>
<div style="border:1px solid #ccc; min-height:200px; padding:20px;">
<div ui-view></div>
</div>
<script src="assets/requirejs/require.js"></script>
<script src="bootstrap.js"></script>
</body>
</html>
```
|
/content/code_sandbox/demo/ajax/angular/index.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 181
|
```javascript
define(function(){if("undefined"==typeof window)return{load:function(a,b,c){c()}};var a=document.getElementsByTagName("head")[0],b=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/)||0,c=!1,d=!0;b[1]||b[7]?c=parseInt(b[1])<6||parseInt(b[7])<=9:b[2]||b[8]?d=!1:b[4]&&(c=parseInt(b[4])<18);var e={};e.pluginBuilder="./css-builder";var f,g,h,i=function(){f=document.createElement("style"),a.appendChild(f),g=f.styleSheet||f.sheet},j=0,k=[],l=function(a){g.addImport(a),f.onload=function(){m()},j++,31==j&&(i(),j=0)},m=function(){h();var a=k.shift();return a?(h=a[1],void l(a[0])):void(h=null)},n=function(a,b){if(g&&g.addImport||i(),g&&g.addImport)h?k.push([a,b]):(l(a),h=b);else{f.textContent='@import "'+a+'";';var c=setInterval(function(){try{f.sheet.cssRules,clearInterval(c),b()}catch(a){}},10)}},o=function(b,c){var e=document.createElement("link");if(e.type="text/css",e.rel="stylesheet",d)e.onload=function(){e.onload=function(){},setTimeout(c,7)};else var f=setInterval(function(){for(var a=0;a<document.styleSheets.length;a++){var b=document.styleSheets[a];if(b.href==e.href)return clearInterval(f),c()}},10);e.href=b,a.appendChild(e)};return e.normalize=function(a,b){return".css"==a.substr(a.length-4,4)&&(a=a.substr(0,a.length-4)),b(a)},e.load=function(a,b,d,e){(c?n:o)(b.toUrl(a+".css"),d)},e});
```
|
/content/code_sandbox/demo/ajax/angular/assets/requirecss/css.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 470
|
```javascript
!function(){function e(e){function r(e){return"string"==typeof e&&(e=[e]),["$q",function(r){var n=r.defer();return t(e,function(){n.resolve(arguments)}),n.promise}]}function n(e){function n(e,r){e.controllerUrl&&r.push(e.controllerUrl),e.dependencies&&("string"==typeof e.dependencies?r.push(e.dependencies):[].push.apply(r,e.dependencies))}var o=[];if(n(e,o),e.hasOwnProperty("views")&&Object.keys(e.views).forEach(function(r){n(e.views[r],o)}),o.length>0){var t=e.resolve||{};t.$dummy=r(o),e.resolve=t}return e}var o="1.3.2",t=function(){if("function"==typeof require)return"function"==typeof require.async?require.async:require;if("object"==typeof seajs&&"function"==typeof seajs.use)return seajs.use;if("object"==typeof System&&"function"==typeof System.amdRequire)return System.amdRequire;throw new Error("No amd/cmd module loader found.")}();return{VERSION:o,configure:function(r){r.provider("ngProviders",["$controllerProvider","$compileProvider","$filterProvider","$provide","$injector",function(e,r,n,o,t){this.$get=function(){return{$controllerProvider:e,$compileProvider:r,$filterProvider:n,$provide:o,$injector:t}}}]),r.run(["ngProviders","$injector",function(n,o){var t=n.$controllerProvider,i=n.$compileProvider,u=n.$filterProvider,c=n.$provide;r.useModule=function(t){var i=e.module(t);if(i.requires)for(var u=0;u<i.requires.length;u++)r.useModule(i.requires[u]);return e.forEach(i._invokeQueue,function(e){var r=n[e[0]]||o.get(e[0]);r[e[1]].apply(r,e[2])}),e.forEach(i._configBlocks,function(e){var r=n.$injector.get(e[0]);r[e[1]].apply(r,e[2])}),e.forEach(i._runBlocks,function(e){o.invoke(e)}),r},r.value=function(e,n){return c.value(e,n),r},r.constant=function(e,n){return c.constant(e,n),r},r.factory=function(e,n){return c.factory(e,n),r},r.service=function(e,n){return c.service(e,n),r},r.filter=function(e,n){return u.register(e,n),r},r.directive=function(e,n){return i.directive(e,n),r},r.controller=function(e,n){return t.register(e,n),r},r.decorator=function(e,n){return c.decorator(e,n),r},r.provider=function(e,n){return c.provider(e,n),r},r.get=function(e){return o.get(e)}}]),r.requires&&-1!==r.requires.indexOf("ngRoute")&&r.config(["$routeProvider",function(e){var r=e.when;e.when=function(o,t){return r.call(e,o,n(t))}}]),r.requires&&-1!==r.requires.indexOf("ui.router")&&r.config(["$stateProvider",function(e){var r=e.state;e.state=function(o,t){return r.call(e,o,n(t))}}])}}}"function"==typeof define&&define.amd?define(["angular"],function(r){return e(r)}):window.asyncLoader=e(window.angular)}();
```
|
/content/code_sandbox/demo/ajax/angular/assets/angular-async-loader/angular-async-loader.min.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 719
|
```php
<?php
/**
* @Author: william
* @Date: 2017-06-30 09:17:00
* @Last Modified by: pengweifu
* @Last Modified time: 2017-06-30 09:25:16
*/
/**
*
*/
header('Access-Control-Allow-Origin:*');
$province=$_GET['province'];
$city=$_GET['city'];
$provinceStr='[
{"id": "110000", "value": "", "parentId": "0"},
{"id": "120000", "value": "", "parentId": "0"},
{"id": "130000", "value": "", "parentId": "0"},
{"id": "140000", "value": "", "parentId": "0"},
{"id": "150000", "value": "", "parentId": "0"},
{"id": "210000", "value": "", "parentId": "0"},
{"id": "220000", "value": "", "parentId": "0"},
{"id": "230000", "value": "", "parentId": "0"},
{"id": "310000", "value": "", "parentId": "0"},
{"id": "320000", "value": "", "parentId": "0"},
{"id": "330000", "value": "", "parentId": "0"},
{"id": "340000", "value": "", "parentId": "0"},
{"id": "350000", "value": "", "parentId": "0"},
{"id": "360000", "value": "", "parentId": "0"},
{"id": "370000", "value": "", "parentId": "0"},
{"id": "410000", "value": "", "parentId": "0"},
{"id": "420000", "value": "", "parentId": "0"},
{"id": "430000", "value": "", "parentId": "0"},
{"id": "440000", "value": "", "parentId": "0"},
{"id": "450000", "value": "", "parentId": "0"},
{"id": "460000", "value": "", "parentId": "0"},
{"id": "500000", "value": "", "parentId": "0"},
{"id": "510000", "value": "", "parentId": "0"},
{"id": "520000", "value": "", "parentId": "0"},
{"id": "530000", "value": "", "parentId": "0"},
{"id": "540000", "value": "", "parentId": "0"},
{"id": "610000", "value": "", "parentId": "0"},
{"id": "620000", "value": "", "parentId": "0"},
{"id": "630000", "value": "", "parentId": "0"},
{"id": "640000", "value": "", "parentId": "0"},
{"id": "650000", "value": "", "parentId": "0"}
]';
$cityStr='[
{"id":"110100","value":"","parentId":"110000"},
{"id":"120100","value":"","parentId":"120000"},
{"id":"130100","value":"","parentId":"130000"},
{"id":"130200","value":"","parentId":"130000"},
{"id":"130300","value":"","parentId":"130000"},
{"id":"130400","value":"","parentId":"130000"},
{"id":"130500","value":"","parentId":"130000"},
{"id":"130600","value":"","parentId":"130000"},
{"id":"130700","value":"","parentId":"130000"},
{"id":"130800","value":"","parentId":"130000"},
{"id":"130900","value":"","parentId":"130000"},
{"id":"131000","value":"","parentId":"130000"},
{"id":"131100","value":"","parentId":"130000"},
{"id":"140100","value":"","parentId":"140000"},
{"id":"140200","value":"","parentId":"140000"},
{"id":"140300","value":"","parentId":"140000"},
{"id":"140400","value":"","parentId":"140000"},
{"id":"140500","value":"","parentId":"140000"},
{"id":"140600","value":"","parentId":"140000"},
{"id":"140700","value":"","parentId":"140000"},
{"id":"140800","value":"","parentId":"140000"},
{"id":"140900","value":"","parentId":"140000"},
{"id":"141000","value":"","parentId":"140000"},
{"id":"141100","value":"","parentId":"140000"},
{"id":"150100","value":"","parentId":"150000"},
{"id":"150200","value":"","parentId":"150000"},
{"id":"150300","value":"","parentId":"150000"},
{"id":"150400","value":"","parentId":"150000"},
{"id":"150500","value":"","parentId":"150000"},
{"id":"150600","value":"","parentId":"150000"},
{"id":"150700","value":"","parentId":"150000"},
{"id":"150800","value":"","parentId":"150000"},
{"id":"150900","value":"","parentId":"150000"},
{"id":"152200","value":"","parentId":"150000"},
{"id":"152500","value":"","parentId":"150000"},
{"id":"152900","value":"","parentId":"150000"},
{"id":"210100","value":"","parentId":"210000"},
{"id":"210200","value":"","parentId":"210000"},
{"id":"210300","value":"","parentId":"210000"},
{"id":"210400","value":"","parentId":"210000"},
{"id":"210500","value":"","parentId":"210000"},
{"id":"210600","value":"","parentId":"210000"},
{"id":"210700","value":"","parentId":"210000"},
{"id":"210800","value":"","parentId":"210000"},
{"id":"210900","value":"","parentId":"210000"},
{"id":"211000","value":"","parentId":"210000"},
{"id":"211100","value":"","parentId":"210000"},
{"id":"211200","value":"","parentId":"210000"},
{"id":"211300","value":"","parentId":"210000"},
{"id":"211400","value":"","parentId":"210000"},
{"id":"220100","value":"","parentId":"220000"},
{"id":"220200","value":"","parentId":"220000"},
{"id":"220300","value":"","parentId":"220000"},
{"id":"220400","value":"","parentId":"220000"},
{"id":"220500","value":"","parentId":"220000"},
{"id":"220600","value":"","parentId":"220000"},
{"id":"220700","value":"","parentId":"220000"},
{"id":"220800","value":"","parentId":"220000"},
{"id":"222400","value":"","parentId":"220000"},
{"id":"230100","value":"","parentId":"230000"},
{"id":"230200","value":"","parentId":"230000"},
{"id":"230300","value":"","parentId":"230000"},
{"id":"230400","value":"","parentId":"230000"},
{"id":"230500","value":"","parentId":"230000"},
{"id":"230600","value":"","parentId":"230000"},
{"id":"230700","value":"","parentId":"230000"},
{"id":"230800","value":"","parentId":"230000"},
{"id":"230900","value":"","parentId":"230000"},
{"id":"231000","value":"","parentId":"230000"},
{"id":"231100","value":"","parentId":"230000"},
{"id":"231200","value":"","parentId":"230000"},
{"id":"232700","value":"","parentId":"230000"},
{"id":"310100","value":"","parentId":"310000"},
{"id":"320100","value":"","parentId":"320000"},
{"id":"320200","value":"","parentId":"320000"},
{"id":"320300","value":"","parentId":"320000"},
{"id":"320400","value":"","parentId":"320000"},
{"id":"320500","value":"","parentId":"320000"},
{"id":"320600","value":"","parentId":"320000"},
{"id":"320700","value":"","parentId":"320000"},
{"id":"320800","value":"","parentId":"320000"},
{"id":"320900","value":"","parentId":"320000"},
{"id":"321000","value":"","parentId":"320000"},
{"id":"321100","value":"","parentId":"320000"},
{"id":"321200","value":"","parentId":"320000"},
{"id":"321300","value":"","parentId":"320000"},
{"id":"330100","value":"","parentId":"330000"},
{"id":"330200","value":"","parentId":"330000"},
{"id":"330300","value":"","parentId":"330000"},
{"id":"330400","value":"","parentId":"330000"},
{"id":"330500","value":"","parentId":"330000"},
{"id":"330600","value":"","parentId":"330000"},
{"id":"330700","value":"","parentId":"330000"},
{"id":"330800","value":"","parentId":"330000"},
{"id":"330900","value":"","parentId":"330000"},
{"id":"331000","value":"","parentId":"330000"},
{"id":"331100","value":"","parentId":"330000"},
{"id":"340100","value":"","parentId":"340000"},
{"id":"340200","value":"","parentId":"340000"},
{"id":"340300","value":"","parentId":"340000"},
{"id":"340400","value":"","parentId":"340000"},
{"id":"340500","value":"","parentId":"340000"},
{"id":"340600","value":"","parentId":"340000"},
{"id":"340700","value":"","parentId":"340000"},
{"id":"340800","value":"","parentId":"340000"},
{"id":"341000","value":"","parentId":"340000"},
{"id":"341100","value":"","parentId":"340000"},
{"id":"341200","value":"","parentId":"340000"},
{"id":"341300","value":"","parentId":"340000"},
{"id":"341500","value":"","parentId":"340000"},
{"id":"341600","value":"","parentId":"340000"},
{"id":"341700","value":"","parentId":"340000"},
{"id":"341800","value":"","parentId":"340000"},
{"id":"350100","value":"","parentId":"350000"},
{"id":"350200","value":"","parentId":"350000"},
{"id":"350300","value":"","parentId":"350000"},
{"id":"350400","value":"","parentId":"350000"},
{"id":"350500","value":"","parentId":"350000"},
{"id":"350600","value":"","parentId":"350000"},
{"id":"350700","value":"","parentId":"350000"},
{"id":"350800","value":"","parentId":"350000"},
{"id":"350900","value":"","parentId":"350000"},
{"id":"360100","value":"","parentId":"360000"},
{"id":"360200","value":"","parentId":"360000"},
{"id":"360300","value":"","parentId":"360000"},
{"id":"360400","value":"","parentId":"360000"},
{"id":"360500","value":"","parentId":"360000"},
{"id":"360600","value":"","parentId":"360000"},
{"id":"360700","value":"","parentId":"360000"},
{"id":"360800","value":"","parentId":"360000"},
{"id":"360900","value":"","parentId":"360000"},
{"id":"361000","value":"","parentId":"360000"},
{"id":"361100","value":"","parentId":"360000"},
{"id":"370100","value":"","parentId":"370000"},
{"id":"370200","value":"","parentId":"370000"},
{"id":"370300","value":"","parentId":"370000"},
{"id":"370400","value":"","parentId":"370000"},
{"id":"370500","value":"","parentId":"370000"},
{"id":"370600","value":"","parentId":"370000"},
{"id":"370700","value":"","parentId":"370000"},
{"id":"370800","value":"","parentId":"370000"},
{"id":"370900","value":"","parentId":"370000"},
{"id":"371000","value":"","parentId":"370000"},
{"id":"371100","value":"","parentId":"370000"},
{"id":"371200","value":"","parentId":"370000"},
{"id":"371300","value":"","parentId":"370000"},
{"id":"371400","value":"","parentId":"370000"},
{"id":"371500","value":"","parentId":"370000"},
{"id":"371600","value":"","parentId":"370000"},
{"id":"371700","value":"","parentId":"370000"},
{"id":"410100","value":"","parentId":"410000"},
{"id":"410200","value":"","parentId":"410000"},
{"id":"410300","value":"","parentId":"410000"},
{"id":"410400","value":"","parentId":"410000"},
{"id":"410500","value":"","parentId":"410000"},
{"id":"410600","value":"","parentId":"410000"},
{"id":"410700","value":"","parentId":"410000"},
{"id":"410800","value":"","parentId":"410000"},
{"id":"410900","value":"","parentId":"410000"},
{"id":"411000","value":"","parentId":"410000"},
{"id":"411100","value":"","parentId":"410000"},
{"id":"411200","value":"","parentId":"410000"},
{"id":"411300","value":"","parentId":"410000"},
{"id":"411400","value":"","parentId":"410000"},
{"id":"411500","value":"","parentId":"410000"},
{"id":"411600","value":"","parentId":"410000"},
{"id":"411700","value":"","parentId":"410000"},
{"id":"419001","value":"","parentId":"410000"},
{"id":"420100","value":"","parentId":"420000"},
{"id":"420200","value":"","parentId":"420000"},
{"id":"420300","value":"","parentId":"420000"},
{"id":"420500","value":"","parentId":"420000"},
{"id":"420600","value":"","parentId":"420000"},
{"id":"420700","value":"","parentId":"420000"},
{"id":"420800","value":"","parentId":"420000"},
{"id":"420900","value":"","parentId":"420000"},
{"id":"421000","value":"","parentId":"420000"},
{"id":"421100","value":"","parentId":"420000"},
{"id":"421200","value":"","parentId":"420000"},
{"id":"421300","value":"","parentId":"420000"},
{"id":"422800","value":"","parentId":"420000"},
{"id":"429004","value":"","parentId":"420000"},
{"id":"429005","value":"","parentId":"420000"},
{"id":"429006","value":"","parentId":"420000"},
{"id":"429021","value":"","parentId":"420000"},
{"id":"430100","value":"","parentId":"430000"},
{"id":"430200","value":"","parentId":"430000"},
{"id":"430300","value":"","parentId":"430000"},
{"id":"430400","value":"","parentId":"430000"},
{"id":"430500","value":"","parentId":"430000"},
{"id":"430600","value":"","parentId":"430000"},
{"id":"430700","value":"","parentId":"430000"},
{"id":"430800","value":"","parentId":"430000"},
{"id":"430900","value":"","parentId":"430000"},
{"id":"431000","value":"","parentId":"430000"},
{"id":"431100","value":"","parentId":"430000"},
{"id":"431200","value":"","parentId":"430000"},
{"id":"431300","value":"","parentId":"430000"},
{"id":"433100","value":"","parentId":"430000"},
{"id":"440100","value":"","parentId":"440000"},
{"id":"440200","value":"","parentId":"440000"},
{"id":"440300","value":"","parentId":"440000"},
{"id":"440400","value":"","parentId":"440000"},
{"id":"440500","value":"","parentId":"440000"},
{"id":"440600","value":"","parentId":"440000"},
{"id":"440700","value":"","parentId":"440000"},
{"id":"440800","value":"","parentId":"440000"},
{"id":"440900","value":"","parentId":"440000"},
{"id":"441200","value":"","parentId":"440000"},
{"id":"441300","value":"","parentId":"440000"},
{"id":"441400","value":"","parentId":"440000"},
{"id":"441500","value":"","parentId":"440000"},
{"id":"441600","value":"","parentId":"440000"},
{"id":"441700","value":"","parentId":"440000"},
{"id":"441800","value":"","parentId":"440000"},
{"id":"441900","value":"","parentId":"440000"},
{"id":"442000","value":"","parentId":"440000"},
{"id":"445100","value":"","parentId":"440000"},
{"id":"445200","value":"","parentId":"440000"},
{"id":"445300","value":"","parentId":"440000"},
{"id":"450100","value":"","parentId":"450000"},
{"id":"450200","value":"","parentId":"450000"},
{"id":"450300","value":"","parentId":"450000"},
{"id":"450400","value":"","parentId":"450000"},
{"id":"450500","value":"","parentId":"450000"},
{"id":"450600","value":"","parentId":"450000"},
{"id":"450700","value":"","parentId":"450000"},
{"id":"450800","value":"","parentId":"450000"},
{"id":"450900","value":"","parentId":"450000"},
{"id":"451000","value":"","parentId":"450000"},
{"id":"451100","value":"","parentId":"450000"},
{"id":"451200","value":"","parentId":"450000"},
{"id":"451300","value":"","parentId":"450000"},
{"id":"451400","value":"","parentId":"450000"},
{"id":"460100","value":"","parentId":"460000"},
{"id":"460200","value":"","parentId":"460000"},
{"id":"460300","value":"","parentId":"460000"},
{"id":"469001","value":"","parentId":"460000"},
{"id":"469002","value":"","parentId":"460000"},
{"id":"469003","value":"","parentId":"460000"},
{"id":"469005","value":"","parentId":"460000"},
{"id":"469006","value":"","parentId":"460000"},
{"id":"469007","value":"","parentId":"460000"},
{"id":"469021","value":"","parentId":"460000"},
{"id":"469022","value":"","parentId":"460000"},
{"id":"469023","value":"","parentId":"460000"},
{"id":"469024","value":"","parentId":"460000"},
{"id":"469025","value":"","parentId":"460000"},
{"id":"469026","value":"","parentId":"460000"},
{"id":"469027","value":"","parentId":"460000"},
{"id":"469028","value":"","parentId":"460000"},
{"id":"469029","value":"","parentId":"460000"},
{"id":"469030","value":"","parentId":"460000"},
{"id":"500100","value":"","parentId":"500000"},
{"id":"510100","value":"","parentId":"510000"},
{"id":"510300","value":"","parentId":"510000"},
{"id":"510400","value":"","parentId":"510000"},
{"id":"510500","value":"","parentId":"510000"},
{"id":"510600","value":"","parentId":"510000"},
{"id":"510700","value":"","parentId":"510000"},
{"id":"510800","value":"","parentId":"510000"},
{"id":"510900","value":"","parentId":"510000"},
{"id":"511000","value":"","parentId":"510000"},
{"id":"511100","value":"","parentId":"510000"},
{"id":"511300","value":"","parentId":"510000"},
{"id":"511400","value":"","parentId":"510000"},
{"id":"511500","value":"","parentId":"510000"},
{"id":"511600","value":"","parentId":"510000"},
{"id":"511700","value":"","parentId":"510000"},
{"id":"511800","value":"","parentId":"510000"},
{"id":"511900","value":"","parentId":"510000"},
{"id":"512000","value":"","parentId":"510000"},
{"id":"513200","value":"","parentId":"510000"},
{"id":"513300","value":"","parentId":"510000"},
{"id":"513400","value":"","parentId":"510000"},
{"id":"520100","value":"","parentId":"520000"},
{"id":"520200","value":"","parentId":"520000"},
{"id":"520300","value":"","parentId":"520000"},
{"id":"520400","value":"","parentId":"520000"},
{"id":"522200","value":"","parentId":"520000"},
{"id":"522300","value":"","parentId":"520000"},
{"id":"522400","value":"","parentId":"520000"},
{"id":"522600","value":"","parentId":"520000"},
{"id":"522700","value":"","parentId":"520000"},
{"id":"530100","value":"","parentId":"530000"},
{"id":"530300","value":"","parentId":"530000"},
{"id":"530400","value":"","parentId":"530000"},
{"id":"530500","value":"","parentId":"530000"},
{"id":"530600","value":"","parentId":"530000"},
{"id":"530700","value":"","parentId":"530000"},
{"id":"530800","value":"","parentId":"530000"},
{"id":"530900","value":"","parentId":"530000"},
{"id":"532300","value":"","parentId":"530000"},
{"id":"532500","value":"","parentId":"530000"},
{"id":"532600","value":"","parentId":"530000"},
{"id":"532800","value":"","parentId":"530000"},
{"id":"532900","value":"","parentId":"530000"},
{"id":"533100","value":"","parentId":"530000"},
{"id":"533300","value":"","parentId":"530000"},
{"id":"533400","value":"","parentId":"530000"},
{"id":"540100","value":"","parentId":"540000"},
{"id":"542100","value":"","parentId":"540000"},
{"id":"542200","value":"","parentId":"540000"},
{"id":"542300","value":"","parentId":"540000"},
{"id":"542400","value":"","parentId":"540000"},
{"id":"542500","value":"","parentId":"540000"},
{"id":"542600","value":"","parentId":"540000"},
{"id":"610100","value":"","parentId":"610000"},
{"id":"610200","value":"","parentId":"610000"},
{"id":"610300","value":"","parentId":"610000"},
{"id":"610400","value":"","parentId":"610000"},
{"id":"610500","value":"","parentId":"610000"},
{"id":"610600","value":"","parentId":"610000"},
{"id":"610700","value":"","parentId":"610000"},
{"id":"610800","value":"","parentId":"610000"},
{"id":"610900","value":"","parentId":"610000"},
{"id":"611000","value":"","parentId":"610000"},
{"id":"620100","value":"","parentId":"620000"},
{"id":"620200","value":"","parentId":"620000"},
{"id":"620300","value":"","parentId":"620000"},
{"id":"620400","value":"","parentId":"620000"},
{"id":"620500","value":"","parentId":"620000"},
{"id":"620600","value":"","parentId":"620000"},
{"id":"620700","value":"","parentId":"620000"},
{"id":"620800","value":"","parentId":"620000"},
{"id":"620900","value":"","parentId":"620000"},
{"id":"621000","value":"","parentId":"620000"},
{"id":"621100","value":"","parentId":"620000"},
{"id":"621200","value":"","parentId":"620000"},
{"id":"622900","value":"","parentId":"620000"},
{"id":"623000","value":"","parentId":"620000"},
{"id":"630100","value":"","parentId":"630000"},
{"id":"632100","value":"","parentId":"630000"},
{"id":"632200","value":"","parentId":"630000"},
{"id":"632300","value":"","parentId":"630000"},
{"id":"632500","value":"","parentId":"630000"},
{"id":"632600","value":"","parentId":"630000"},
{"id":"632700","value":"","parentId":"630000"},
{"id":"632800","value":"","parentId":"630000"},
{"id":"640100","value":"","parentId":"640000"},
{"id":"640200","value":"","parentId":"640000"},
{"id":"640300","value":"","parentId":"640000"},
{"id":"640400","value":"","parentId":"640000"},
{"id":"640500","value":"","parentId":"640000"},
{"id":"650100","value":"","parentId":"650000"},
{"id":"650200","value":"","parentId":"650000"},
{"id":"652100","value":"","parentId":"650000"},
{"id":"652200","value":"","parentId":"650000"},
{"id":"652300","value":"","parentId":"650000"},
{"id":"652700","value":"","parentId":"650000"},
{"id":"652800","value":"","parentId":"650000"},
{"id":"652900","value":"","parentId":"650000"},
{"id":"653000","value":"","parentId":"650000"},
{"id":"653100","value":"","parentId":"650000"},
{"id":"653200","value":"","parentId":"650000"},
{"id":"654000","value":"","parentId":"650000"},
{"id":"654200","value":"","parentId":"650000"},
{"id":"654300","value":"","parentId":"650000"},
{"id":"659001","value":"","parentId":"650000"},
{"id":"659002","value":"","parentId":"650000"},
{"id":"659003","value":"","parentId":"650000"},
{"id":"659004","value":"","parentId":"650000"}
]';
$districtStr='[
{"id":"110101","value":"","parentId":"110100"},
{"id":"110102","value":"","parentId":"110100"},
{"id":"110105","value":"","parentId":"110100"},
{"id":"110106","value":"","parentId":"110100"},
{"id":"110107","value":"","parentId":"110100"},
{"id":"110108","value":"","parentId":"110100"},
{"id":"110109","value":"","parentId":"110100"},
{"id":"110111","value":"","parentId":"110100"},
{"id":"110112","value":"","parentId":"110100"},
{"id":"110113","value":"","parentId":"110100"},
{"id":"110114","value":"","parentId":"110100"},
{"id":"110115","value":"","parentId":"110100"},
{"id":"110116","value":"","parentId":"110100"},
{"id":"110117","value":"","parentId":"110100"},
{"id":"110228","value":"","parentId":"110100"},
{"id":"110229","value":"","parentId":"110100"},
{"id":"120101","value":"","parentId":"120100"},
{"id":"120102","value":"","parentId":"120100"},
{"id":"120103","value":"","parentId":"120100"},
{"id":"120104","value":"","parentId":"120100"},
{"id":"120105","value":"","parentId":"120100"},
{"id":"120106","value":"","parentId":"120100"},
{"id":"120110","value":"","parentId":"120100"},
{"id":"120111","value":"","parentId":"120100"},
{"id":"120112","value":"","parentId":"120100"},
{"id":"120113","value":"","parentId":"120100"},
{"id":"120114","value":"","parentId":"120100"},
{"id":"120115","value":"","parentId":"120100"},
{"id":"120116","value":"","parentId":"120100"},
{"id":"130102","value":"","parentId":"130100"},
{"id":"130103","value":"","parentId":"130100"},
{"id":"130104","value":"","parentId":"130100"},
{"id":"130105","value":"","parentId":"130100"},
{"id":"130107","value":"","parentId":"130100"},
{"id":"130108","value":"","parentId":"130100"},
{"id":"130121","value":"","parentId":"130100"},
{"id":"130123","value":"","parentId":"130100"},
{"id":"130124","value":"","parentId":"130100"},
{"id":"130125","value":"","parentId":"130100"},
{"id":"130126","value":"","parentId":"130100"},
{"id":"130127","value":"","parentId":"130100"},
{"id":"130128","value":"","parentId":"130100"},
{"id":"130129","value":"","parentId":"130100"},
{"id":"130130","value":"","parentId":"130100"},
{"id":"130131","value":"","parentId":"130100"},
{"id":"130132","value":"","parentId":"130100"},
{"id":"130133","value":"","parentId":"130100"},
{"id":"130181","value":"","parentId":"130100"},
{"id":"130182","value":"","parentId":"130100"},
{"id":"130183","value":"","parentId":"130100"},
{"id":"130184","value":"","parentId":"130100"},
{"id":"130185","value":"","parentId":"130100"},
{"id":"130202","value":"","parentId":"130200"},
{"id":"130203","value":"","parentId":"130200"},
{"id":"130204","value":"","parentId":"130200"},
{"id":"130205","value":"","parentId":"130200"},
{"id":"130207","value":"","parentId":"130200"},
{"id":"130208","value":"","parentId":"130200"},
{"id":"130223","value":"","parentId":"130200"},
{"id":"130224","value":"","parentId":"130200"},
{"id":"130225","value":"","parentId":"130200"},
{"id":"130227","value":"","parentId":"130200"},
{"id":"130229","value":"","parentId":"130200"},
{"id":"130230","value":"","parentId":"130200"},
{"id":"130281","value":"","parentId":"130200"},
{"id":"130283","value":"","parentId":"130200"},
{"id":"130302","value":"","parentId":"130300"},
{"id":"130303","value":"","parentId":"130300"},
{"id":"130304","value":"","parentId":"130300"},
{"id":"130321","value":"","parentId":"130300"},
{"id":"130322","value":"","parentId":"130300"},
{"id":"130323","value":"","parentId":"130300"},
{"id":"130324","value":"","parentId":"130300"},
{"id":"130402","value":"","parentId":"130400"},
{"id":"130403","value":"","parentId":"130400"},
{"id":"130404","value":"","parentId":"130400"},
{"id":"130406","value":"","parentId":"130400"},
{"id":"130421","value":"","parentId":"130400"},
{"id":"130423","value":"","parentId":"130400"},
{"id":"130424","value":"","parentId":"130400"},
{"id":"130425","value":"","parentId":"130400"},
{"id":"130426","value":"","parentId":"130400"},
{"id":"130427","value":"","parentId":"130400"},
{"id":"130428","value":"","parentId":"130400"},
{"id":"130429","value":"","parentId":"130400"},
{"id":"130430","value":"","parentId":"130400"},
{"id":"130431","value":"","parentId":"130400"},
{"id":"130432","value":"","parentId":"130400"},
{"id":"130433","value":"","parentId":"130400"},
{"id":"130434","value":"","parentId":"130400"},
{"id":"130435","value":"","parentId":"130400"},
{"id":"130481","value":"","parentId":"130400"},
{"id":"130502","value":"","parentId":"130500"},
{"id":"130503","value":"","parentId":"130500"},
{"id":"130521","value":"","parentId":"130500"},
{"id":"130522","value":"","parentId":"130500"},
{"id":"130523","value":"","parentId":"130500"},
{"id":"130524","value":"","parentId":"130500"},
{"id":"130525","value":"","parentId":"130500"},
{"id":"130526","value":"","parentId":"130500"},
{"id":"130527","value":"","parentId":"130500"},
{"id":"130528","value":"","parentId":"130500"},
{"id":"130529","value":"","parentId":"130500"},
{"id":"130530","value":"","parentId":"130500"},
{"id":"130531","value":"","parentId":"130500"},
{"id":"130532","value":"","parentId":"130500"},
{"id":"130533","value":"","parentId":"130500"},
{"id":"130534","value":"","parentId":"130500"},
{"id":"130535","value":"","parentId":"130500"},
{"id":"130581","value":"","parentId":"130500"},
{"id":"130582","value":"","parentId":"130500"},
{"id":"130602","value":"","parentId":"130600"},
{"id":"130603","value":"","parentId":"130600"},
{"id":"130604","value":"","parentId":"130600"},
{"id":"130621","value":"","parentId":"130600"},
{"id":"130622","value":"","parentId":"130600"},
{"id":"130623","value":"","parentId":"130600"},
{"id":"130624","value":"","parentId":"130600"},
{"id":"130625","value":"","parentId":"130600"},
{"id":"130626","value":"","parentId":"130600"},
{"id":"130627","value":"","parentId":"130600"},
{"id":"130628","value":"","parentId":"130600"},
{"id":"130629","value":"","parentId":"130600"},
{"id":"130630","value":"","parentId":"130600"},
{"id":"130631","value":"","parentId":"130600"},
{"id":"130632","value":"","parentId":"130600"},
{"id":"130633","value":"","parentId":"130600"},
{"id":"130634","value":"","parentId":"130600"},
{"id":"130635","value":"","parentId":"130600"},
{"id":"130636","value":"","parentId":"130600"},
{"id":"130637","value":"","parentId":"130600"},
{"id":"130638","value":"","parentId":"130600"},
{"id":"130681","value":"","parentId":"130600"},
{"id":"130682","value":"","parentId":"130600"},
{"id":"130683","value":"","parentId":"130600"},
{"id":"130684","value":"","parentId":"130600"},
{"id":"130702","value":"","parentId":"130700"},
{"id":"130703","value":"","parentId":"130700"},
{"id":"130705","value":"","parentId":"130700"},
{"id":"130706","value":"","parentId":"130700"},
{"id":"130721","value":"","parentId":"130700"},
{"id":"130722","value":"","parentId":"130700"},
{"id":"130723","value":"","parentId":"130700"},
{"id":"130724","value":"","parentId":"130700"},
{"id":"130725","value":"","parentId":"130700"},
{"id":"130726","value":"","parentId":"130700"},
{"id":"130727","value":"","parentId":"130700"},
{"id":"130728","value":"","parentId":"130700"},
{"id":"130729","value":"","parentId":"130700"},
{"id":"130730","value":"","parentId":"130700"},
{"id":"130731","value":"","parentId":"130700"},
{"id":"130732","value":"","parentId":"130700"},
{"id":"130733","value":"","parentId":"130700"},
{"id":"130802","value":"","parentId":"130800"},
{"id":"130803","value":"","parentId":"130800"},
{"id":"130804","value":"","parentId":"130800"},
{"id":"130821","value":"","parentId":"130800"},
{"id":"130822","value":"","parentId":"130800"},
{"id":"130823","value":"","parentId":"130800"},
{"id":"130824","value":"","parentId":"130800"},
{"id":"130825","value":"","parentId":"130800"},
{"id":"130826","value":"","parentId":"130800"},
{"id":"130827","value":"","parentId":"130800"},
{"id":"130828","value":"","parentId":"130800"},
{"id":"130902","value":"","parentId":"130900"},
{"id":"130903","value":"","parentId":"130900"},
{"id":"130921","value":"","parentId":"130900"},
{"id":"130922","value":"","parentId":"130900"},
{"id":"130923","value":"","parentId":"130900"},
{"id":"130924","value":"","parentId":"130900"},
{"id":"130925","value":"","parentId":"130900"},
{"id":"130926","value":"","parentId":"130900"},
{"id":"130927","value":"","parentId":"130900"},
{"id":"130928","value":"","parentId":"130900"},
{"id":"130929","value":"","parentId":"130900"},
{"id":"130930","value":"","parentId":"130900"},
{"id":"130981","value":"","parentId":"130900"},
{"id":"130982","value":"","parentId":"130900"},
{"id":"130983","value":"","parentId":"130900"},
{"id":"130984","value":"","parentId":"130900"},
{"id":"131002","value":"","parentId":"131000"},
{"id":"131003","value":"","parentId":"131000"},
{"id":"131022","value":"","parentId":"131000"},
{"id":"131023","value":"","parentId":"131000"},
{"id":"131024","value":"","parentId":"131000"},
{"id":"131025","value":"","parentId":"131000"},
{"id":"131026","value":"","parentId":"131000"},
{"id":"131028","value":"","parentId":"131000"},
{"id":"131081","value":"","parentId":"131000"},
{"id":"131082","value":"","parentId":"131000"},
{"id":"131102","value":"","parentId":"131100"},
{"id":"131121","value":"","parentId":"131100"},
{"id":"131122","value":"","parentId":"131100"},
{"id":"131123","value":"","parentId":"131100"},
{"id":"131124","value":"","parentId":"131100"},
{"id":"131125","value":"","parentId":"131100"},
{"id":"131126","value":"","parentId":"131100"},
{"id":"131127","value":"","parentId":"131100"},
{"id":"131128","value":"","parentId":"131100"},
{"id":"131181","value":"","parentId":"131100"},
{"id":"131182","value":"","parentId":"131100"},
{"id":"140105","value":"","parentId":"140100"},
{"id":"140106","value":"","parentId":"140100"},
{"id":"140107","value":"","parentId":"140100"},
{"id":"140108","value":"","parentId":"140100"},
{"id":"140109","value":"","parentId":"140100"},
{"id":"140110","value":"","parentId":"140100"},
{"id":"140121","value":"","parentId":"140100"},
{"id":"140122","value":"","parentId":"140100"},
{"id":"140123","value":"","parentId":"140100"},
{"id":"140181","value":"","parentId":"140100"},
{"id":"140202","value":"","parentId":"140200"},
{"id":"140203","value":"","parentId":"140200"},
{"id":"140211","value":"","parentId":"140200"},
{"id":"140212","value":"","parentId":"140200"},
{"id":"140221","value":"","parentId":"140200"},
{"id":"140222","value":"","parentId":"140200"},
{"id":"140223","value":"","parentId":"140200"},
{"id":"140224","value":"","parentId":"140200"},
{"id":"140225","value":"","parentId":"140200"},
{"id":"140226","value":"","parentId":"140200"},
{"id":"140227","value":"","parentId":"140200"},
{"id":"140302","value":"","parentId":"140300"},
{"id":"140303","value":"","parentId":"140300"},
{"id":"140311","value":"","parentId":"140300"},
{"id":"140321","value":"","parentId":"140300"},
{"id":"140322","value":"","parentId":"140300"},
{"id":"140402","value":"","parentId":"140400"},
{"id":"140411","value":"","parentId":"140400"},
{"id":"140421","value":"","parentId":"140400"},
{"id":"140423","value":"","parentId":"140400"},
{"id":"140424","value":"","parentId":"140400"},
{"id":"140425","value":"","parentId":"140400"},
{"id":"140426","value":"","parentId":"140400"},
{"id":"140427","value":"","parentId":"140400"},
{"id":"140428","value":"","parentId":"140400"},
{"id":"140429","value":"","parentId":"140400"},
{"id":"140430","value":"","parentId":"140400"},
{"id":"140431","value":"","parentId":"140400"},
{"id":"140481","value":"","parentId":"140400"},
{"id":"140502","value":"","parentId":"140500"},
{"id":"140521","value":"","parentId":"140500"},
{"id":"140522","value":"","parentId":"140500"},
{"id":"140524","value":"","parentId":"140500"},
{"id":"140525","value":"","parentId":"140500"},
{"id":"140581","value":"","parentId":"140500"},
{"id":"140602","value":"","parentId":"140600"},
{"id":"140603","value":"","parentId":"140600"},
{"id":"140621","value":"","parentId":"140600"},
{"id":"140622","value":"","parentId":"140600"},
{"id":"140623","value":"","parentId":"140600"},
{"id":"140624","value":"","parentId":"140600"},
{"id":"140702","value":"","parentId":"140700"},
{"id":"140721","value":"","parentId":"140700"},
{"id":"140722","value":"","parentId":"140700"},
{"id":"140723","value":"","parentId":"140700"},
{"id":"140724","value":"","parentId":"140700"},
{"id":"140725","value":"","parentId":"140700"},
{"id":"140726","value":"","parentId":"140700"},
{"id":"140727","value":"","parentId":"140700"},
{"id":"140728","value":"","parentId":"140700"},
{"id":"140729","value":"","parentId":"140700"},
{"id":"140781","value":"","parentId":"140700"},
{"id":"140802","value":"","parentId":"140800"},
{"id":"140821","value":"","parentId":"140800"},
{"id":"140822","value":"","parentId":"140800"},
{"id":"140823","value":"","parentId":"140800"},
{"id":"140824","value":"","parentId":"140800"},
{"id":"140825","value":"","parentId":"140800"},
{"id":"140826","value":"","parentId":"140800"},
{"id":"140827","value":"","parentId":"140800"},
{"id":"140828","value":"","parentId":"140800"},
{"id":"140829","value":"","parentId":"140800"},
{"id":"140830","value":"","parentId":"140800"},
{"id":"140881","value":"","parentId":"140800"},
{"id":"140882","value":"","parentId":"140800"},
{"id":"140902","value":"","parentId":"140900"},
{"id":"140921","value":"","parentId":"140900"},
{"id":"140922","value":"","parentId":"140900"},
{"id":"140923","value":"","parentId":"140900"},
{"id":"140924","value":"","parentId":"140900"},
{"id":"140925","value":"","parentId":"140900"},
{"id":"140926","value":"","parentId":"140900"},
{"id":"140927","value":"","parentId":"140900"},
{"id":"140928","value":"","parentId":"140900"},
{"id":"140929","value":"","parentId":"140900"},
{"id":"140930","value":"","parentId":"140900"},
{"id":"140931","value":"","parentId":"140900"},
{"id":"140932","value":"","parentId":"140900"},
{"id":"140981","value":"","parentId":"140900"},
{"id":"141002","value":"","parentId":"141000"},
{"id":"141021","value":"","parentId":"141000"},
{"id":"141022","value":"","parentId":"141000"},
{"id":"141023","value":"","parentId":"141000"},
{"id":"141024","value":"","parentId":"141000"},
{"id":"141025","value":"","parentId":"141000"},
{"id":"141026","value":"","parentId":"141000"},
{"id":"141027","value":"","parentId":"141000"},
{"id":"141028","value":"","parentId":"141000"},
{"id":"141029","value":"","parentId":"141000"},
{"id":"141030","value":"","parentId":"141000"},
{"id":"141031","value":"","parentId":"141000"},
{"id":"141032","value":"","parentId":"141000"},
{"id":"141033","value":"","parentId":"141000"},
{"id":"141034","value":"","parentId":"141000"},
{"id":"141081","value":"","parentId":"141000"},
{"id":"141082","value":"","parentId":"141000"},
{"id":"141102","value":"","parentId":"141100"},
{"id":"141121","value":"","parentId":"141100"},
{"id":"141122","value":"","parentId":"141100"},
{"id":"141123","value":"","parentId":"141100"},
{"id":"141124","value":"","parentId":"141100"},
{"id":"141125","value":"","parentId":"141100"},
{"id":"141126","value":"","parentId":"141100"},
{"id":"141127","value":"","parentId":"141100"},
{"id":"141128","value":"","parentId":"141100"},
{"id":"141129","value":"","parentId":"141100"},
{"id":"141130","value":"","parentId":"141100"},
{"id":"141181","value":"","parentId":"141100"},
{"id":"141182","value":"","parentId":"141100"},
{"id":"150102","value":"","parentId":"150100"},
{"id":"150103","value":"","parentId":"150100"},
{"id":"150104","value":"","parentId":"150100"},
{"id":"150105","value":"","parentId":"150100"},
{"id":"150121","value":"","parentId":"150100"},
{"id":"150122","value":"","parentId":"150100"},
{"id":"150123","value":"","parentId":"150100"},
{"id":"150124","value":"","parentId":"150100"},
{"id":"150125","value":"","parentId":"150100"},
{"id":"150202","value":"","parentId":"150200"},
{"id":"150203","value":"","parentId":"150200"},
{"id":"150204","value":"","parentId":"150200"},
{"id":"150205","value":"","parentId":"150200"},
{"id":"150206","value":"","parentId":"150200"},
{"id":"150207","value":"","parentId":"150200"},
{"id":"150221","value":"","parentId":"150200"},
{"id":"150222","value":"","parentId":"150200"},
{"id":"150223","value":"","parentId":"150200"},
{"id":"150302","value":"","parentId":"150300"},
{"id":"150303","value":"","parentId":"150300"},
{"id":"150304","value":"","parentId":"150300"},
{"id":"150402","value":"","parentId":"150400"},
{"id":"150403","value":"","parentId":"150400"},
{"id":"150404","value":"","parentId":"150400"},
{"id":"150421","value":"","parentId":"150400"},
{"id":"150422","value":"","parentId":"150400"},
{"id":"150423","value":"","parentId":"150400"},
{"id":"150424","value":"","parentId":"150400"},
{"id":"150425","value":"","parentId":"150400"},
{"id":"150426","value":"","parentId":"150400"},
{"id":"150428","value":"","parentId":"150400"},
{"id":"150429","value":"","parentId":"150400"},
{"id":"150430","value":"","parentId":"150400"},
{"id":"150502","value":"","parentId":"150500"},
{"id":"150521","value":"","parentId":"150500"},
{"id":"150522","value":"","parentId":"150500"},
{"id":"150523","value":"","parentId":"150500"},
{"id":"150524","value":"","parentId":"150500"},
{"id":"150525","value":"","parentId":"150500"},
{"id":"150526","value":"","parentId":"150500"},
{"id":"150581","value":"","parentId":"150500"},
{"id":"150602","value":"","parentId":"150600"},
{"id":"150621","value":"","parentId":"150600"},
{"id":"150622","value":"","parentId":"150600"},
{"id":"150623","value":"","parentId":"150600"},
{"id":"150624","value":"","parentId":"150600"},
{"id":"150625","value":"","parentId":"150600"},
{"id":"150626","value":"","parentId":"150600"},
{"id":"150627","value":"","parentId":"150600"},
{"id":"150702","value":"","parentId":"150700"},
{"id":"150721","value":"","parentId":"150700"},
{"id":"150722","value":"","parentId":"150700"},
{"id":"150723","value":"","parentId":"150700"},
{"id":"150724","value":"","parentId":"150700"},
{"id":"150725","value":"","parentId":"150700"},
{"id":"150726","value":"","parentId":"150700"},
{"id":"150727","value":"","parentId":"150700"},
{"id":"150781","value":"","parentId":"150700"},
{"id":"150782","value":"","parentId":"150700"},
{"id":"150783","value":"","parentId":"150700"},
{"id":"150784","value":"","parentId":"150700"},
{"id":"150785","value":"","parentId":"150700"},
{"id":"150802","value":"","parentId":"150800"},
{"id":"150821","value":"","parentId":"150800"},
{"id":"150822","value":"","parentId":"150800"},
{"id":"150823","value":"","parentId":"150800"},
{"id":"150824","value":"","parentId":"150800"},
{"id":"150825","value":"","parentId":"150800"},
{"id":"150826","value":"","parentId":"150800"},
{"id":"150902","value":"","parentId":"150900"},
{"id":"150921","value":"","parentId":"150900"},
{"id":"150922","value":"","parentId":"150900"},
{"id":"150923","value":"","parentId":"150900"},
{"id":"150924","value":"","parentId":"150900"},
{"id":"150925","value":"","parentId":"150900"},
{"id":"150926","value":"","parentId":"150900"},
{"id":"150927","value":"","parentId":"150900"},
{"id":"150928","value":"","parentId":"150900"},
{"id":"150929","value":"","parentId":"150900"},
{"id":"150981","value":"","parentId":"150900"},
{"id":"152201","value":"","parentId":"152200"},
{"id":"152202","value":"","parentId":"152200"},
{"id":"152221","value":"","parentId":"152200"},
{"id":"152222","value":"","parentId":"152200"},
{"id":"152223","value":"","parentId":"152200"},
{"id":"152224","value":"","parentId":"152200"},
{"id":"152501","value":"","parentId":"152500"},
{"id":"152502","value":"","parentId":"152500"},
{"id":"152522","value":"","parentId":"152500"},
{"id":"152523","value":"","parentId":"152500"},
{"id":"152524","value":"","parentId":"152500"},
{"id":"152525","value":"","parentId":"152500"},
{"id":"152526","value":"","parentId":"152500"},
{"id":"152527","value":"","parentId":"152500"},
{"id":"152528","value":"","parentId":"152500"},
{"id":"152529","value":"","parentId":"152500"},
{"id":"152530","value":"","parentId":"152500"},
{"id":"152531","value":"","parentId":"152500"},
{"id":"152921","value":"","parentId":"152900"},
{"id":"152922","value":"","parentId":"152900"},
{"id":"152923","value":"","parentId":"152900"},
{"id":"210102","value":"","parentId":"210100"},
{"id":"210103","value":"","parentId":"210100"},
{"id":"210104","value":"","parentId":"210100"},
{"id":"210105","value":"","parentId":"210100"},
{"id":"210106","value":"","parentId":"210100"},
{"id":"210111","value":"","parentId":"210100"},
{"id":"210112","value":"","parentId":"210100"},
{"id":"210113","value":"","parentId":"210100"},
{"id":"210114","value":"","parentId":"210100"},
{"id":"210122","value":"","parentId":"210100"},
{"id":"210123","value":"","parentId":"210100"},
{"id":"210124","value":"","parentId":"210100"},
{"id":"210181","value":"","parentId":"210100"},
{"id":"210202","value":"","parentId":"210200"},
{"id":"210203","value":"","parentId":"210200"},
{"id":"210204","value":"","parentId":"210200"},
{"id":"210211","value":"","parentId":"210200"},
{"id":"210212","value":"","parentId":"210200"},
{"id":"210213","value":"","parentId":"210200"},
{"id":"210224","value":"","parentId":"210200"},
{"id":"210281","value":"","parentId":"210200"},
{"id":"210282","value":"","parentId":"210200"},
{"id":"210283","value":"","parentId":"210200"},
{"id":"210302","value":"","parentId":"210300"},
{"id":"210303","value":"","parentId":"210300"},
{"id":"210304","value":"","parentId":"210300"},
{"id":"210311","value":"","parentId":"210300"},
{"id":"210321","value":"","parentId":"210300"},
{"id":"210323","value":"","parentId":"210300"},
{"id":"210381","value":"","parentId":"210300"},
{"id":"210402","value":"","parentId":"210400"},
{"id":"210403","value":"","parentId":"210400"},
{"id":"210404","value":"","parentId":"210400"},
{"id":"210411","value":"","parentId":"210400"},
{"id":"210421","value":"","parentId":"210400"},
{"id":"210422","value":"","parentId":"210400"},
{"id":"210423","value":"","parentId":"210400"},
{"id":"210502","value":"","parentId":"210500"},
{"id":"210503","value":"","parentId":"210500"},
{"id":"210504","value":"","parentId":"210500"},
{"id":"210505","value":"","parentId":"210500"},
{"id":"210521","value":"","parentId":"210500"},
{"id":"210522","value":"","parentId":"210500"},
{"id":"210602","value":"","parentId":"210600"},
{"id":"210603","value":"","parentId":"210600"},
{"id":"210604","value":"","parentId":"210600"},
{"id":"210624","value":"","parentId":"210600"},
{"id":"210681","value":"","parentId":"210600"},
{"id":"210682","value":"","parentId":"210600"},
{"id":"210702","value":"","parentId":"210700"},
{"id":"210703","value":"","parentId":"210700"},
{"id":"210711","value":"","parentId":"210700"},
{"id":"210726","value":"","parentId":"210700"},
{"id":"210727","value":"","parentId":"210700"},
{"id":"210781","value":"","parentId":"210700"},
{"id":"210782","value":"","parentId":"210700"},
{"id":"210802","value":"","parentId":"210800"},
{"id":"210803","value":"","parentId":"210800"},
{"id":"210804","value":"","parentId":"210800"},
{"id":"210811","value":"","parentId":"210800"},
{"id":"210881","value":"","parentId":"210800"},
{"id":"210882","value":"","parentId":"210800"},
{"id":"210902","value":"","parentId":"210900"},
{"id":"210903","value":"","parentId":"210900"},
{"id":"210904","value":"","parentId":"210900"},
{"id":"210905","value":"","parentId":"210900"},
{"id":"210911","value":"","parentId":"210900"},
{"id":"210921","value":"","parentId":"210900"},
{"id":"210922","value":"","parentId":"210900"},
{"id":"211002","value":"","parentId":"211000"},
{"id":"211003","value":"","parentId":"211000"},
{"id":"211004","value":"","parentId":"211000"},
{"id":"211005","value":"","parentId":"211000"},
{"id":"211011","value":"","parentId":"211000"},
{"id":"211021","value":"","parentId":"211000"},
{"id":"211081","value":"","parentId":"211000"},
{"id":"211102","value":"","parentId":"211100"},
{"id":"211103","value":"","parentId":"211100"},
{"id":"211121","value":"","parentId":"211100"},
{"id":"211122","value":"","parentId":"211100"},
{"id":"211202","value":"","parentId":"211200"},
{"id":"211204","value":"","parentId":"211200"},
{"id":"211221","value":"","parentId":"211200"},
{"id":"211223","value":"","parentId":"211200"},
{"id":"211224","value":"","parentId":"211200"},
{"id":"211281","value":"","parentId":"211200"},
{"id":"211282","value":"","parentId":"211200"},
{"id":"211302","value":"","parentId":"211300"},
{"id":"211303","value":"","parentId":"211300"},
{"id":"211321","value":"","parentId":"211300"},
{"id":"211322","value":"","parentId":"211300"},
{"id":"211324","value":"","parentId":"211300"},
{"id":"211381","value":"","parentId":"211300"},
{"id":"211382","value":"","parentId":"211300"},
{"id":"211402","value":"","parentId":"211400"},
{"id":"211403","value":"","parentId":"211400"},
{"id":"211404","value":"","parentId":"211400"},
{"id":"211421","value":"","parentId":"211400"},
{"id":"211422","value":"","parentId":"211400"},
{"id":"211481","value":"","parentId":"211400"},
{"id":"220102","value":"","parentId":"220100"},
{"id":"220103","value":"","parentId":"220100"},
{"id":"220104","value":"","parentId":"220100"},
{"id":"220105","value":"","parentId":"220100"},
{"id":"220106","value":"","parentId":"220100"},
{"id":"220112","value":"","parentId":"220100"},
{"id":"220122","value":"","parentId":"220100"},
{"id":"220181","value":"","parentId":"220100"},
{"id":"220182","value":"","parentId":"220100"},
{"id":"220183","value":"","parentId":"220100"},
{"id":"220202","value":"","parentId":"220200"},
{"id":"220203","value":"","parentId":"220200"},
{"id":"220204","value":"","parentId":"220200"},
{"id":"220211","value":"","parentId":"220200"},
{"id":"220221","value":"","parentId":"220200"},
{"id":"220281","value":"","parentId":"220200"},
{"id":"220282","value":"","parentId":"220200"},
{"id":"220283","value":"","parentId":"220200"},
{"id":"220284","value":"","parentId":"220200"},
{"id":"220302","value":"","parentId":"220300"},
{"id":"220303","value":"","parentId":"220300"},
{"id":"220322","value":"","parentId":"220300"},
{"id":"220323","value":"","parentId":"220300"},
{"id":"220381","value":"","parentId":"220300"},
{"id":"220382","value":"","parentId":"220300"},
{"id":"220402","value":"","parentId":"220400"},
{"id":"220403","value":"","parentId":"220400"},
{"id":"220421","value":"","parentId":"220400"},
{"id":"220422","value":"","parentId":"220400"},
{"id":"220502","value":"","parentId":"220500"},
{"id":"220503","value":"","parentId":"220500"},
{"id":"220521","value":"","parentId":"220500"},
{"id":"220523","value":"","parentId":"220500"},
{"id":"220524","value":"","parentId":"220500"},
{"id":"220581","value":"","parentId":"220500"},
{"id":"220582","value":"","parentId":"220500"},
{"id":"220602","value":"","parentId":"220600"},
{"id":"220605","value":"","parentId":"220600"},
{"id":"220621","value":"","parentId":"220600"},
{"id":"220622","value":"","parentId":"220600"},
{"id":"220623","value":"","parentId":"220600"},
{"id":"220681","value":"","parentId":"220600"},
{"id":"220702","value":"","parentId":"220700"},
{"id":"220721","value":"","parentId":"220700"},
{"id":"220722","value":"","parentId":"220700"},
{"id":"220723","value":"","parentId":"220700"},
{"id":"220724","value":"","parentId":"220700"},
{"id":"220802","value":"","parentId":"220800"},
{"id":"220821","value":"","parentId":"220800"},
{"id":"220822","value":"","parentId":"220800"},
{"id":"220881","value":"","parentId":"220800"},
{"id":"220882","value":"","parentId":"220800"},
{"id":"222401","value":"","parentId":"222400"},
{"id":"222402","value":"","parentId":"222400"},
{"id":"222403","value":"","parentId":"222400"},
{"id":"222404","value":"","parentId":"222400"},
{"id":"222405","value":"","parentId":"222400"},
{"id":"222406","value":"","parentId":"222400"},
{"id":"222424","value":"","parentId":"222400"},
{"id":"222426","value":"","parentId":"222400"},
{"id":"230102","value":"","parentId":"230100"},
{"id":"230103","value":"","parentId":"230100"},
{"id":"230104","value":"","parentId":"230100"},
{"id":"230108","value":"","parentId":"230100"},
{"id":"230109","value":"","parentId":"230100"},
{"id":"230110","value":"","parentId":"230100"},
{"id":"230111","value":"","parentId":"230100"},
{"id":"230112","value":"","parentId":"230100"},
{"id":"230123","value":"","parentId":"230100"},
{"id":"230124","value":"","parentId":"230100"},
{"id":"230125","value":"","parentId":"230100"},
{"id":"230126","value":"","parentId":"230100"},
{"id":"230127","value":"","parentId":"230100"},
{"id":"230128","value":"","parentId":"230100"},
{"id":"230129","value":"","parentId":"230100"},
{"id":"230182","value":"","parentId":"230100"},
{"id":"230183","value":"","parentId":"230100"},
{"id":"230184","value":"","parentId":"230100"},
{"id":"230202","value":"","parentId":"230200"},
{"id":"230203","value":"","parentId":"230200"},
{"id":"230204","value":"","parentId":"230200"},
{"id":"230205","value":"","parentId":"230200"},
{"id":"230206","value":"","parentId":"230200"},
{"id":"230207","value":"","parentId":"230200"},
{"id":"230208","value":"","parentId":"230200"},
{"id":"230221","value":"","parentId":"230200"},
{"id":"230223","value":"","parentId":"230200"},
{"id":"230224","value":"","parentId":"230200"},
{"id":"230225","value":"","parentId":"230200"},
{"id":"230227","value":"","parentId":"230200"},
{"id":"230229","value":"","parentId":"230200"},
{"id":"230230","value":"","parentId":"230200"},
{"id":"230231","value":"","parentId":"230200"},
{"id":"230281","value":"","parentId":"230200"},
{"id":"230302","value":"","parentId":"230300"},
{"id":"230303","value":"","parentId":"230300"},
{"id":"230304","value":"","parentId":"230300"},
{"id":"230305","value":"","parentId":"230300"},
{"id":"230306","value":"","parentId":"230300"},
{"id":"230307","value":"","parentId":"230300"},
{"id":"230321","value":"","parentId":"230300"},
{"id":"230381","value":"","parentId":"230300"},
{"id":"230382","value":"","parentId":"230300"},
{"id":"230402","value":"","parentId":"230400"},
{"id":"230403","value":"","parentId":"230400"},
{"id":"230404","value":"","parentId":"230400"},
{"id":"230405","value":"","parentId":"230400"},
{"id":"230406","value":"","parentId":"230400"},
{"id":"230407","value":"","parentId":"230400"},
{"id":"230421","value":"","parentId":"230400"},
{"id":"230422","value":"","parentId":"230400"},
{"id":"230502","value":"","parentId":"230500"},
{"id":"230503","value":"","parentId":"230500"},
{"id":"230505","value":"","parentId":"230500"},
{"id":"230506","value":"","parentId":"230500"},
{"id":"230521","value":"","parentId":"230500"},
{"id":"230522","value":"","parentId":"230500"},
{"id":"230523","value":"","parentId":"230500"},
{"id":"230524","value":"","parentId":"230500"},
{"id":"230602","value":"","parentId":"230600"},
{"id":"230603","value":"","parentId":"230600"},
{"id":"230604","value":"","parentId":"230600"},
{"id":"230605","value":"","parentId":"230600"},
{"id":"230606","value":"","parentId":"230600"},
{"id":"230621","value":"","parentId":"230600"},
{"id":"230622","value":"","parentId":"230600"},
{"id":"230623","value":"","parentId":"230600"},
{"id":"230624","value":"","parentId":"230600"},
{"id":"230702","value":"","parentId":"230700"},
{"id":"230703","value":"","parentId":"230700"},
{"id":"230704","value":"","parentId":"230700"},
{"id":"230705","value":"","parentId":"230700"},
{"id":"230706","value":"","parentId":"230700"},
{"id":"230707","value":"","parentId":"230700"},
{"id":"230708","value":"","parentId":"230700"},
{"id":"230709","value":"","parentId":"230700"},
{"id":"230710","value":"","parentId":"230700"},
{"id":"230711","value":"","parentId":"230700"},
{"id":"230712","value":"","parentId":"230700"},
{"id":"230713","value":"","parentId":"230700"},
{"id":"230714","value":"","parentId":"230700"},
{"id":"230715","value":"","parentId":"230700"},
{"id":"230716","value":"","parentId":"230700"},
{"id":"230722","value":"","parentId":"230700"},
{"id":"230781","value":"","parentId":"230700"},
{"id":"230803","value":"","parentId":"230800"},
{"id":"230804","value":"","parentId":"230800"},
{"id":"230805","value":"","parentId":"230800"},
{"id":"230811","value":"","parentId":"230800"},
{"id":"230822","value":"","parentId":"230800"},
{"id":"230826","value":"","parentId":"230800"},
{"id":"230828","value":"","parentId":"230800"},
{"id":"230833","value":"","parentId":"230800"},
{"id":"230881","value":"","parentId":"230800"},
{"id":"230882","value":"","parentId":"230800"},
{"id":"230902","value":"","parentId":"230900"},
{"id":"230903","value":"","parentId":"230900"},
{"id":"230904","value":"","parentId":"230900"},
{"id":"230921","value":"","parentId":"230900"},
{"id":"231002","value":"","parentId":"231000"},
{"id":"231003","value":"","parentId":"231000"},
{"id":"231004","value":"","parentId":"231000"},
{"id":"231005","value":"","parentId":"231000"},
{"id":"231024","value":"","parentId":"231000"},
{"id":"231025","value":"","parentId":"231000"},
{"id":"231081","value":"","parentId":"231000"},
{"id":"231083","value":"","parentId":"231000"},
{"id":"231084","value":"","parentId":"231000"},
{"id":"231085","value":"","parentId":"231000"},
{"id":"231102","value":"","parentId":"231100"},
{"id":"231121","value":"","parentId":"231100"},
{"id":"231123","value":"","parentId":"231100"},
{"id":"231124","value":"","parentId":"231100"},
{"id":"231181","value":"","parentId":"231100"},
{"id":"231182","value":"","parentId":"231100"},
{"id":"231202","value":"","parentId":"231200"},
{"id":"231221","value":"","parentId":"231200"},
{"id":"231222","value":"","parentId":"231200"},
{"id":"231223","value":"","parentId":"231200"},
{"id":"231224","value":"","parentId":"231200"},
{"id":"231225","value":"","parentId":"231200"},
{"id":"231226","value":"","parentId":"231200"},
{"id":"231281","value":"","parentId":"231200"},
{"id":"231282","value":"","parentId":"231200"},
{"id":"231283","value":"","parentId":"231200"},
{"id":"232701","value":"","parentId":"232700"},
{"id":"232702","value":"","parentId":"232700"},
{"id":"232703","value":"","parentId":"232700"},
{"id":"232704","value":"","parentId":"232700"},
{"id":"232721","value":"","parentId":"232700"},
{"id":"232722","value":"","parentId":"232700"},
{"id":"232723","value":"","parentId":"232700"},
{"id":"310101","value":"","parentId":"310100"},
{"id":"310104","value":"","parentId":"310100"},
{"id":"310105","value":"","parentId":"310100"},
{"id":"310106","value":"","parentId":"310100"},
{"id":"310107","value":"","parentId":"310100"},
{"id":"310108","value":"","parentId":"310100"},
{"id":"310109","value":"","parentId":"310100"},
{"id":"310110","value":"","parentId":"310100"},
{"id":"310112","value":"","parentId":"310100"},
{"id":"310113","value":"","parentId":"310100"},
{"id":"310114","value":"","parentId":"310100"},
{"id":"310115","value":"","parentId":"310100"},
{"id":"310116","value":"","parentId":"310100"},
{"id":"310117","value":"","parentId":"310100"},
{"id":"310118","value":"","parentId":"310100"},
{"id":"310120","value":"","parentId":"310100"},
{"id":"310230","value":"","parentId":"310100"},
{"id":"320102","value":"","parentId":"320100"},
{"id":"320103","value":"","parentId":"320100"},
{"id":"320104","value":"","parentId":"320100"},
{"id":"320105","value":"","parentId":"320100"},
{"id":"320106","value":"","parentId":"320100"},
{"id":"320107","value":"","parentId":"320100"},
{"id":"320111","value":"","parentId":"320100"},
{"id":"320113","value":"","parentId":"320100"},
{"id":"320114","value":"","parentId":"320100"},
{"id":"320115","value":"","parentId":"320100"},
{"id":"320116","value":"","parentId":"320100"},
{"id":"320124","value":"","parentId":"320100"},
{"id":"320125","value":"","parentId":"320100"},
{"id":"320202","value":"","parentId":"320200"},
{"id":"320203","value":"","parentId":"320200"},
{"id":"320204","value":"","parentId":"320200"},
{"id":"320205","value":"","parentId":"320200"},
{"id":"320206","value":"","parentId":"320200"},
{"id":"320211","value":"","parentId":"320200"},
{"id":"320281","value":"","parentId":"320200"},
{"id":"320282","value":"","parentId":"320200"},
{"id":"320302","value":"","parentId":"320300"},
{"id":"320303","value":"","parentId":"320300"},
{"id":"320305","value":"","parentId":"320300"},
{"id":"320311","value":"","parentId":"320300"},
{"id":"320312","value":"","parentId":"320300"},
{"id":"320321","value":"","parentId":"320300"},
{"id":"320322","value":"","parentId":"320300"},
{"id":"320324","value":"","parentId":"320300"},
{"id":"320381","value":"","parentId":"320300"},
{"id":"320382","value":"","parentId":"320300"},
{"id":"320402","value":"","parentId":"320400"},
{"id":"320404","value":"","parentId":"320400"},
{"id":"320405","value":"","parentId":"320400"},
{"id":"320411","value":"","parentId":"320400"},
{"id":"320412","value":"","parentId":"320400"},
{"id":"320481","value":"","parentId":"320400"},
{"id":"320482","value":"","parentId":"320400"},
{"id":"320503","value":"","parentId":"320500"},
{"id":"320505","value":"","parentId":"320500"},
{"id":"320506","value":"","parentId":"320500"},
{"id":"320507","value":"","parentId":"320500"},
{"id":"320581","value":"","parentId":"320500"},
{"id":"320582","value":"","parentId":"320500"},
{"id":"320583","value":"","parentId":"320500"},
{"id":"320584","value":"","parentId":"320500"},
{"id":"320585","value":"","parentId":"320500"},
{"id":"320602","value":"","parentId":"320600"},
{"id":"320611","value":"","parentId":"320600"},
{"id":"320612","value":"","parentId":"320600"},
{"id":"320621","value":"","parentId":"320600"},
{"id":"320623","value":"","parentId":"320600"},
{"id":"320681","value":"","parentId":"320600"},
{"id":"320682","value":"","parentId":"320600"},
{"id":"320684","value":"","parentId":"320600"},
{"id":"320703","value":"","parentId":"320700"},
{"id":"320705","value":"","parentId":"320700"},
{"id":"320706","value":"","parentId":"320700"},
{"id":"320721","value":"","parentId":"320700"},
{"id":"320722","value":"","parentId":"320700"},
{"id":"320723","value":"","parentId":"320700"},
{"id":"320724","value":"","parentId":"320700"},
{"id":"320802","value":"","parentId":"320800"},
{"id":"320803","value":"","parentId":"320800"},
{"id":"320804","value":"","parentId":"320800"},
{"id":"320811","value":"","parentId":"320800"},
{"id":"320826","value":"","parentId":"320800"},
{"id":"320829","value":"","parentId":"320800"},
{"id":"320830","value":"","parentId":"320800"},
{"id":"320831","value":"","parentId":"320800"},
{"id":"320902","value":"","parentId":"320900"},
{"id":"320903","value":"","parentId":"320900"},
{"id":"320921","value":"","parentId":"320900"},
{"id":"320922","value":"","parentId":"320900"},
{"id":"320923","value":"","parentId":"320900"},
{"id":"320924","value":"","parentId":"320900"},
{"id":"320925","value":"","parentId":"320900"},
{"id":"320981","value":"","parentId":"320900"},
{"id":"320982","value":"","parentId":"320900"},
{"id":"321002","value":"","parentId":"321000"},
{"id":"321003","value":"","parentId":"321000"},
{"id":"321023","value":"","parentId":"321000"},
{"id":"321081","value":"","parentId":"321000"},
{"id":"321084","value":"","parentId":"321000"},
{"id":"321088","value":"","parentId":"321000"},
{"id":"321102","value":"","parentId":"321100"},
{"id":"321111","value":"","parentId":"321100"},
{"id":"321112","value":"","parentId":"321100"},
{"id":"321181","value":"","parentId":"321100"},
{"id":"321182","value":"","parentId":"321100"},
{"id":"321183","value":"","parentId":"321100"},
{"id":"321202","value":"","parentId":"321200"},
{"id":"321203","value":"","parentId":"321200"},
{"id":"321281","value":"","parentId":"321200"},
{"id":"321282","value":"","parentId":"321200"},
{"id":"321283","value":"","parentId":"321200"},
{"id":"321284","value":"","parentId":"321200"},
{"id":"321302","value":"","parentId":"321300"},
{"id":"321311","value":"","parentId":"321300"},
{"id":"321322","value":"","parentId":"321300"},
{"id":"321323","value":"","parentId":"321300"},
{"id":"321324","value":"","parentId":"321300"},
{"id":"330102","value":"","parentId":"330100"},
{"id":"330103","value":"","parentId":"330100"},
{"id":"330104","value":"","parentId":"330100"},
{"id":"330105","value":"","parentId":"330100"},
{"id":"330106","value":"","parentId":"330100"},
{"id":"330108","value":"","parentId":"330100"},
{"id":"330109","value":"","parentId":"330100"},
{"id":"330110","value":"","parentId":"330100"},
{"id":"330122","value":"","parentId":"330100"},
{"id":"330127","value":"","parentId":"330100"},
{"id":"330182","value":"","parentId":"330100"},
{"id":"330183","value":"","parentId":"330100"},
{"id":"330185","value":"","parentId":"330100"},
{"id":"330203","value":"","parentId":"330200"},
{"id":"330204","value":"","parentId":"330200"},
{"id":"330205","value":"","parentId":"330200"},
{"id":"330206","value":"","parentId":"330200"},
{"id":"330211","value":"","parentId":"330200"},
{"id":"330212","value":"","parentId":"330200"},
{"id":"330225","value":"","parentId":"330200"},
{"id":"330226","value":"","parentId":"330200"},
{"id":"330281","value":"","parentId":"330200"},
{"id":"330282","value":"","parentId":"330200"},
{"id":"330283","value":"","parentId":"330200"},
{"id":"330302","value":"","parentId":"330300"},
{"id":"330303","value":"","parentId":"330300"},
{"id":"330304","value":"","parentId":"330300"},
{"id":"330322","value":"","parentId":"330300"},
{"id":"330324","value":"","parentId":"330300"},
{"id":"330326","value":"","parentId":"330300"},
{"id":"330327","value":"","parentId":"330300"},
{"id":"330328","value":"","parentId":"330300"},
{"id":"330329","value":"","parentId":"330300"},
{"id":"330381","value":"","parentId":"330300"},
{"id":"330382","value":"","parentId":"330300"},
{"id":"330402","value":"","parentId":"330400"},
{"id":"330411","value":"","parentId":"330400"},
{"id":"330421","value":"","parentId":"330400"},
{"id":"330424","value":"","parentId":"330400"},
{"id":"330481","value":"","parentId":"330400"},
{"id":"330482","value":"","parentId":"330400"},
{"id":"330483","value":"","parentId":"330400"},
{"id":"330502","value":"","parentId":"330500"},
{"id":"330503","value":"","parentId":"330500"},
{"id":"330521","value":"","parentId":"330500"},
{"id":"330522","value":"","parentId":"330500"},
{"id":"330523","value":"","parentId":"330500"},
{"id":"330602","value":"","parentId":"330600"},
{"id":"330621","value":"","parentId":"330600"},
{"id":"330624","value":"","parentId":"330600"},
{"id":"330681","value":"","parentId":"330600"},
{"id":"330682","value":"","parentId":"330600"},
{"id":"330683","value":"","parentId":"330600"},
{"id":"330702","value":"","parentId":"330700"},
{"id":"330703","value":"","parentId":"330700"},
{"id":"330723","value":"","parentId":"330700"},
{"id":"330726","value":"","parentId":"330700"},
{"id":"330727","value":"","parentId":"330700"},
{"id":"330781","value":"","parentId":"330700"},
{"id":"330782","value":"","parentId":"330700"},
{"id":"330783","value":"","parentId":"330700"},
{"id":"330784","value":"","parentId":"330700"},
{"id":"330802","value":"","parentId":"330800"},
{"id":"330803","value":"","parentId":"330800"},
{"id":"330822","value":"","parentId":"330800"},
{"id":"330824","value":"","parentId":"330800"},
{"id":"330825","value":"","parentId":"330800"},
{"id":"330881","value":"","parentId":"330800"},
{"id":"330902","value":"","parentId":"330900"},
{"id":"330903","value":"","parentId":"330900"},
{"id":"330921","value":"","parentId":"330900"},
{"id":"330922","value":"","parentId":"330900"},
{"id":"331002","value":"","parentId":"331000"},
{"id":"331003","value":"","parentId":"331000"},
{"id":"331004","value":"","parentId":"331000"},
{"id":"331021","value":"","parentId":"331000"},
{"id":"331022","value":"","parentId":"331000"},
{"id":"331023","value":"","parentId":"331000"},
{"id":"331024","value":"","parentId":"331000"},
{"id":"331081","value":"","parentId":"331000"},
{"id":"331082","value":"","parentId":"331000"},
{"id":"331102","value":"","parentId":"331100"},
{"id":"331121","value":"","parentId":"331100"},
{"id":"331122","value":"","parentId":"331100"},
{"id":"331123","value":"","parentId":"331100"},
{"id":"331124","value":"","parentId":"331100"},
{"id":"331125","value":"","parentId":"331100"},
{"id":"331126","value":"","parentId":"331100"},
{"id":"331127","value":"","parentId":"331100"},
{"id":"331181","value":"","parentId":"331100"},
{"id":"340102","value":"","parentId":"340100"},
{"id":"340103","value":"","parentId":"340100"},
{"id":"340104","value":"","parentId":"340100"},
{"id":"340111","value":"","parentId":"340100"},
{"id":"340121","value":"","parentId":"340100"},
{"id":"340122","value":"","parentId":"340100"},
{"id":"340123","value":"","parentId":"340100"},
{"id":"340124","value":"","parentId":"340100"},
{"id":"340181","value":"","parentId":"340100"},
{"id":"340202","value":"","parentId":"340200"},
{"id":"340203","value":"","parentId":"340200"},
{"id":"340207","value":"","parentId":"340200"},
{"id":"340208","value":"","parentId":"340200"},
{"id":"340221","value":"","parentId":"340200"},
{"id":"340222","value":"","parentId":"340200"},
{"id":"340223","value":"","parentId":"340200"},
{"id":"340225","value":"","parentId":"340200"},
{"id":"340302","value":"","parentId":"340300"},
{"id":"340303","value":"","parentId":"340300"},
{"id":"340304","value":"","parentId":"340300"},
{"id":"340311","value":"","parentId":"340300"},
{"id":"340321","value":"","parentId":"340300"},
{"id":"340322","value":"","parentId":"340300"},
{"id":"340323","value":"","parentId":"340300"},
{"id":"340402","value":"","parentId":"340400"},
{"id":"340403","value":"","parentId":"340400"},
{"id":"340404","value":"","parentId":"340400"},
{"id":"340405","value":"","parentId":"340400"},
{"id":"340406","value":"","parentId":"340400"},
{"id":"340421","value":"","parentId":"340400"},
{"id":"340503","value":"","parentId":"340500"},
{"id":"340504","value":"","parentId":"340500"},
{"id":"340521","value":"","parentId":"340500"},
{"id":"340522","value":"","parentId":"340500"},
{"id":"340523","value":"","parentId":"340500"},
{"id":"340596","value":"","parentId":"340500"},
{"id":"340602","value":"","parentId":"340600"},
{"id":"340603","value":"","parentId":"340600"},
{"id":"340604","value":"","parentId":"340600"},
{"id":"340621","value":"","parentId":"340600"},
{"id":"340702","value":"","parentId":"340700"},
{"id":"340703","value":"","parentId":"340700"},
{"id":"340711","value":"","parentId":"340700"},
{"id":"340721","value":"","parentId":"340700"},
{"id":"340802","value":"","parentId":"340800"},
{"id":"340803","value":"","parentId":"340800"},
{"id":"340811","value":"","parentId":"340800"},
{"id":"340822","value":"","parentId":"340800"},
{"id":"340823","value":"","parentId":"340800"},
{"id":"340824","value":"","parentId":"340800"},
{"id":"340825","value":"","parentId":"340800"},
{"id":"340826","value":"","parentId":"340800"},
{"id":"340827","value":"","parentId":"340800"},
{"id":"340828","value":"","parentId":"340800"},
{"id":"340881","value":"","parentId":"340800"},
{"id":"341002","value":"","parentId":"341000"},
{"id":"341003","value":"","parentId":"341000"},
{"id":"341004","value":"","parentId":"341000"},
{"id":"341021","value":"","parentId":"341000"},
{"id":"341022","value":"","parentId":"341000"},
{"id":"341023","value":"","parentId":"341000"},
{"id":"341024","value":"","parentId":"341000"},
{"id":"341102","value":"","parentId":"341100"},
{"id":"341103","value":"","parentId":"341100"},
{"id":"341122","value":"","parentId":"341100"},
{"id":"341124","value":"","parentId":"341100"},
{"id":"341125","value":"","parentId":"341100"},
{"id":"341126","value":"","parentId":"341100"},
{"id":"341181","value":"","parentId":"341100"},
{"id":"341182","value":"","parentId":"341100"},
{"id":"341202","value":"","parentId":"341200"},
{"id":"341203","value":"","parentId":"341200"},
{"id":"341204","value":"","parentId":"341200"},
{"id":"341221","value":"","parentId":"341200"},
{"id":"341222","value":"","parentId":"341200"},
{"id":"341225","value":"","parentId":"341200"},
{"id":"341226","value":"","parentId":"341200"},
{"id":"341282","value":"","parentId":"341200"},
{"id":"341302","value":"","parentId":"341300"},
{"id":"341321","value":"","parentId":"341300"},
{"id":"341322","value":"","parentId":"341300"},
{"id":"341323","value":"","parentId":"341300"},
{"id":"341324","value":"","parentId":"341300"},
{"id":"341502","value":"","parentId":"341500"},
{"id":"341503","value":"","parentId":"341500"},
{"id":"341521","value":"","parentId":"341500"},
{"id":"341522","value":"","parentId":"341500"},
{"id":"341523","value":"","parentId":"341500"},
{"id":"341524","value":"","parentId":"341500"},
{"id":"341525","value":"","parentId":"341500"},
{"id":"341602","value":"","parentId":"341600"},
{"id":"341621","value":"","parentId":"341600"},
{"id":"341622","value":"","parentId":"341600"},
{"id":"341623","value":"","parentId":"341600"},
{"id":"341702","value":"","parentId":"341700"},
{"id":"341721","value":"","parentId":"341700"},
{"id":"341722","value":"","parentId":"341700"},
{"id":"341723","value":"","parentId":"341700"},
{"id":"341802","value":"","parentId":"341800"},
{"id":"341821","value":"","parentId":"341800"},
{"id":"341822","value":"","parentId":"341800"},
{"id":"341823","value":"","parentId":"341800"},
{"id":"341824","value":"","parentId":"341800"},
{"id":"341825","value":"","parentId":"341800"},
{"id":"341881","value":"","parentId":"341800"},
{"id":"350102","value":"","parentId":"350100"},
{"id":"350103","value":"","parentId":"350100"},
{"id":"350104","value":"","parentId":"350100"},
{"id":"350105","value":"","parentId":"350100"},
{"id":"350111","value":"","parentId":"350100"},
{"id":"350121","value":"","parentId":"350100"},
{"id":"350122","value":"","parentId":"350100"},
{"id":"350123","value":"","parentId":"350100"},
{"id":"350124","value":"","parentId":"350100"},
{"id":"350125","value":"","parentId":"350100"},
{"id":"350128","value":"","parentId":"350100"},
{"id":"350181","value":"","parentId":"350100"},
{"id":"350182","value":"","parentId":"350100"},
{"id":"350203","value":"","parentId":"350200"},
{"id":"350205","value":"","parentId":"350200"},
{"id":"350206","value":"","parentId":"350200"},
{"id":"350211","value":"","parentId":"350200"},
{"id":"350212","value":"","parentId":"350200"},
{"id":"350213","value":"","parentId":"350200"},
{"id":"350302","value":"","parentId":"350300"},
{"id":"350303","value":"","parentId":"350300"},
{"id":"350304","value":"","parentId":"350300"},
{"id":"350305","value":"","parentId":"350300"},
{"id":"350322","value":"","parentId":"350300"},
{"id":"350402","value":"","parentId":"350400"},
{"id":"350403","value":"","parentId":"350400"},
{"id":"350421","value":"","parentId":"350400"},
{"id":"350423","value":"","parentId":"350400"},
{"id":"350424","value":"","parentId":"350400"},
{"id":"350425","value":"","parentId":"350400"},
{"id":"350426","value":"","parentId":"350400"},
{"id":"350427","value":"","parentId":"350400"},
{"id":"350428","value":"","parentId":"350400"},
{"id":"350429","value":"","parentId":"350400"},
{"id":"350430","value":"","parentId":"350400"},
{"id":"350481","value":"","parentId":"350400"},
{"id":"350502","value":"","parentId":"350500"},
{"id":"350503","value":"","parentId":"350500"},
{"id":"350504","value":"","parentId":"350500"},
{"id":"350505","value":"","parentId":"350500"},
{"id":"350521","value":"","parentId":"350500"},
{"id":"350524","value":"","parentId":"350500"},
{"id":"350525","value":"","parentId":"350500"},
{"id":"350526","value":"","parentId":"350500"},
{"id":"350527","value":"","parentId":"350500"},
{"id":"350581","value":"","parentId":"350500"},
{"id":"350582","value":"","parentId":"350500"},
{"id":"350583","value":"","parentId":"350500"},
{"id":"350602","value":"","parentId":"350600"},
{"id":"350603","value":"","parentId":"350600"},
{"id":"350622","value":"","parentId":"350600"},
{"id":"350623","value":"","parentId":"350600"},
{"id":"350624","value":"","parentId":"350600"},
{"id":"350625","value":"","parentId":"350600"},
{"id":"350626","value":"","parentId":"350600"},
{"id":"350627","value":"","parentId":"350600"},
{"id":"350628","value":"","parentId":"350600"},
{"id":"350629","value":"","parentId":"350600"},
{"id":"350681","value":"","parentId":"350600"},
{"id":"350702","value":"","parentId":"350700"},
{"id":"350721","value":"","parentId":"350700"},
{"id":"350722","value":"","parentId":"350700"},
{"id":"350723","value":"","parentId":"350700"},
{"id":"350724","value":"","parentId":"350700"},
{"id":"350725","value":"","parentId":"350700"},
{"id":"350781","value":"","parentId":"350700"},
{"id":"350782","value":"","parentId":"350700"},
{"id":"350783","value":"","parentId":"350700"},
{"id":"350784","value":"","parentId":"350700"},
{"id":"350802","value":"","parentId":"350800"},
{"id":"350821","value":"","parentId":"350800"},
{"id":"350822","value":"","parentId":"350800"},
{"id":"350823","value":"","parentId":"350800"},
{"id":"350824","value":"","parentId":"350800"},
{"id":"350825","value":"","parentId":"350800"},
{"id":"350881","value":"","parentId":"350800"},
{"id":"350902","value":"","parentId":"350900"},
{"id":"350921","value":"","parentId":"350900"},
{"id":"350922","value":"","parentId":"350900"},
{"id":"350923","value":"","parentId":"350900"},
{"id":"350924","value":"","parentId":"350900"},
{"id":"350925","value":"","parentId":"350900"},
{"id":"350926","value":"","parentId":"350900"},
{"id":"350981","value":"","parentId":"350900"},
{"id":"350982","value":"","parentId":"350900"},
{"id":"360102","value":"","parentId":"360100"},
{"id":"360103","value":"","parentId":"360100"},
{"id":"360104","value":"","parentId":"360100"},
{"id":"360105","value":"","parentId":"360100"},
{"id":"360111","value":"","parentId":"360100"},
{"id":"360121","value":"","parentId":"360100"},
{"id":"360122","value":"","parentId":"360100"},
{"id":"360123","value":"","parentId":"360100"},
{"id":"360124","value":"","parentId":"360100"},
{"id":"360202","value":"","parentId":"360200"},
{"id":"360203","value":"","parentId":"360200"},
{"id":"360222","value":"","parentId":"360200"},
{"id":"360281","value":"","parentId":"360200"},
{"id":"360302","value":"","parentId":"360300"},
{"id":"360313","value":"","parentId":"360300"},
{"id":"360321","value":"","parentId":"360300"},
{"id":"360322","value":"","parentId":"360300"},
{"id":"360323","value":"","parentId":"360300"},
{"id":"360402","value":"","parentId":"360400"},
{"id":"360403","value":"","parentId":"360400"},
{"id":"360421","value":"","parentId":"360400"},
{"id":"360423","value":"","parentId":"360400"},
{"id":"360424","value":"","parentId":"360400"},
{"id":"360425","value":"","parentId":"360400"},
{"id":"360426","value":"","parentId":"360400"},
{"id":"360427","value":"","parentId":"360400"},
{"id":"360428","value":"","parentId":"360400"},
{"id":"360429","value":"","parentId":"360400"},
{"id":"360430","value":"","parentId":"360400"},
{"id":"360481","value":"","parentId":"360400"},
{"id":"360482","value":"","parentId":"360400"},
{"id":"360502","value":"","parentId":"360500"},
{"id":"360521","value":"","parentId":"360500"},
{"id":"360602","value":"","parentId":"360600"},
{"id":"360622","value":"","parentId":"360600"},
{"id":"360681","value":"","parentId":"360600"},
{"id":"360702","value":"","parentId":"360700"},
{"id":"360721","value":"","parentId":"360700"},
{"id":"360722","value":"","parentId":"360700"},
{"id":"360723","value":"","parentId":"360700"},
{"id":"360724","value":"","parentId":"360700"},
{"id":"360725","value":"","parentId":"360700"},
{"id":"360726","value":"","parentId":"360700"},
{"id":"360727","value":"","parentId":"360700"},
{"id":"360728","value":"","parentId":"360700"},
{"id":"360729","value":"","parentId":"360700"},
{"id":"360730","value":"","parentId":"360700"},
{"id":"360731","value":"","parentId":"360700"},
{"id":"360732","value":"","parentId":"360700"},
{"id":"360733","value":"","parentId":"360700"},
{"id":"360734","value":"","parentId":"360700"},
{"id":"360735","value":"","parentId":"360700"},
{"id":"360781","value":"","parentId":"360700"},
{"id":"360782","value":"","parentId":"360700"},
{"id":"360802","value":"","parentId":"360800"},
{"id":"360803","value":"","parentId":"360800"},
{"id":"360821","value":"","parentId":"360800"},
{"id":"360822","value":"","parentId":"360800"},
{"id":"360823","value":"","parentId":"360800"},
{"id":"360824","value":"","parentId":"360800"},
{"id":"360825","value":"","parentId":"360800"},
{"id":"360826","value":"","parentId":"360800"},
{"id":"360827","value":"","parentId":"360800"},
{"id":"360828","value":"","parentId":"360800"},
{"id":"360829","value":"","parentId":"360800"},
{"id":"360830","value":"","parentId":"360800"},
{"id":"360881","value":"","parentId":"360800"},
{"id":"360902","value":"","parentId":"360900"},
{"id":"360921","value":"","parentId":"360900"},
{"id":"360922","value":"","parentId":"360900"},
{"id":"360923","value":"","parentId":"360900"},
{"id":"360924","value":"","parentId":"360900"},
{"id":"360925","value":"","parentId":"360900"},
{"id":"360926","value":"","parentId":"360900"},
{"id":"360981","value":"","parentId":"360900"},
{"id":"360982","value":"","parentId":"360900"},
{"id":"360983","value":"","parentId":"360900"},
{"id":"361002","value":"","parentId":"361000"},
{"id":"361021","value":"","parentId":"361000"},
{"id":"361022","value":"","parentId":"361000"},
{"id":"361023","value":"","parentId":"361000"},
{"id":"361024","value":"","parentId":"361000"},
{"id":"361025","value":"","parentId":"361000"},
{"id":"361026","value":"","parentId":"361000"},
{"id":"361027","value":"","parentId":"361000"},
{"id":"361028","value":"","parentId":"361000"},
{"id":"361029","value":"","parentId":"361000"},
{"id":"361030","value":"","parentId":"361000"},
{"id":"361102","value":"","parentId":"361100"},
{"id":"361121","value":"","parentId":"361100"},
{"id":"361122","value":"","parentId":"361100"},
{"id":"361123","value":"","parentId":"361100"},
{"id":"361124","value":"","parentId":"361100"},
{"id":"361125","value":"","parentId":"361100"},
{"id":"361126","value":"","parentId":"361100"},
{"id":"361127","value":"","parentId":"361100"},
{"id":"361128","value":"","parentId":"361100"},
{"id":"361129","value":"","parentId":"361100"},
{"id":"361130","value":"","parentId":"361100"},
{"id":"361181","value":"","parentId":"361100"},
{"id":"370102","value":"","parentId":"370100"},
{"id":"370103","value":"","parentId":"370100"},
{"id":"370104","value":"","parentId":"370100"},
{"id":"370105","value":"","parentId":"370100"},
{"id":"370112","value":"","parentId":"370100"},
{"id":"370113","value":"","parentId":"370100"},
{"id":"370124","value":"","parentId":"370100"},
{"id":"370125","value":"","parentId":"370100"},
{"id":"370126","value":"","parentId":"370100"},
{"id":"370181","value":"","parentId":"370100"},
{"id":"370202","value":"","parentId":"370200"},
{"id":"370203","value":"","parentId":"370200"},
{"id":"370205","value":"","parentId":"370200"},
{"id":"370211","value":"","parentId":"370200"},
{"id":"370212","value":"","parentId":"370200"},
{"id":"370213","value":"","parentId":"370200"},
{"id":"370214","value":"","parentId":"370200"},
{"id":"370281","value":"","parentId":"370200"},
{"id":"370282","value":"","parentId":"370200"},
{"id":"370283","value":"","parentId":"370200"},
{"id":"370284","value":"","parentId":"370200"},
{"id":"370285","value":"","parentId":"370200"},
{"id":"370302","value":"","parentId":"370300"},
{"id":"370303","value":"","parentId":"370300"},
{"id":"370304","value":"","parentId":"370300"},
{"id":"370305","value":"","parentId":"370300"},
{"id":"370306","value":"","parentId":"370300"},
{"id":"370321","value":"","parentId":"370300"},
{"id":"370322","value":"","parentId":"370300"},
{"id":"370323","value":"","parentId":"370300"},
{"id":"370402","value":"","parentId":"370400"},
{"id":"370403","value":"","parentId":"370400"},
{"id":"370404","value":"","parentId":"370400"},
{"id":"370405","value":"","parentId":"370400"},
{"id":"370406","value":"","parentId":"370400"},
{"id":"370481","value":"","parentId":"370400"},
{"id":"370502","value":"","parentId":"370500"},
{"id":"370503","value":"","parentId":"370500"},
{"id":"370521","value":"","parentId":"370500"},
{"id":"370522","value":"","parentId":"370500"},
{"id":"370523","value":"","parentId":"370500"},
{"id":"370602","value":"","parentId":"370600"},
{"id":"370611","value":"","parentId":"370600"},
{"id":"370612","value":"","parentId":"370600"},
{"id":"370613","value":"","parentId":"370600"},
{"id":"370634","value":"","parentId":"370600"},
{"id":"370681","value":"","parentId":"370600"},
{"id":"370682","value":"","parentId":"370600"},
{"id":"370683","value":"","parentId":"370600"},
{"id":"370684","value":"","parentId":"370600"},
{"id":"370685","value":"","parentId":"370600"},
{"id":"370686","value":"","parentId":"370600"},
{"id":"370687","value":"","parentId":"370600"},
{"id":"370702","value":"","parentId":"370700"},
{"id":"370703","value":"","parentId":"370700"},
{"id":"370704","value":"","parentId":"370700"},
{"id":"370705","value":"","parentId":"370700"},
{"id":"370724","value":"","parentId":"370700"},
{"id":"370725","value":"","parentId":"370700"},
{"id":"370781","value":"","parentId":"370700"},
{"id":"370782","value":"","parentId":"370700"},
{"id":"370783","value":"","parentId":"370700"},
{"id":"370784","value":"","parentId":"370700"},
{"id":"370785","value":"","parentId":"370700"},
{"id":"370786","value":"","parentId":"370700"},
{"id":"370802","value":"","parentId":"370800"},
{"id":"370811","value":"","parentId":"370800"},
{"id":"370826","value":"","parentId":"370800"},
{"id":"370827","value":"","parentId":"370800"},
{"id":"370828","value":"","parentId":"370800"},
{"id":"370829","value":"","parentId":"370800"},
{"id":"370830","value":"","parentId":"370800"},
{"id":"370831","value":"","parentId":"370800"},
{"id":"370832","value":"","parentId":"370800"},
{"id":"370881","value":"","parentId":"370800"},
{"id":"370882","value":"","parentId":"370800"},
{"id":"370883","value":"","parentId":"370800"},
{"id":"370902","value":"","parentId":"370900"},
{"id":"370911","value":"","parentId":"370900"},
{"id":"370921","value":"","parentId":"370900"},
{"id":"370923","value":"","parentId":"370900"},
{"id":"370982","value":"","parentId":"370900"},
{"id":"370983","value":"","parentId":"370900"},
{"id":"371002","value":"","parentId":"371000"},
{"id":"371081","value":"","parentId":"371000"},
{"id":"371082","value":"","parentId":"371000"},
{"id":"371083","value":"","parentId":"371000"},
{"id":"371102","value":"","parentId":"371100"},
{"id":"371103","value":"","parentId":"371100"},
{"id":"371121","value":"","parentId":"371100"},
{"id":"371122","value":"","parentId":"371100"},
{"id":"371202","value":"","parentId":"371200"},
{"id":"371203","value":"","parentId":"371200"},
{"id":"371302","value":"","parentId":"371300"},
{"id":"371311","value":"","parentId":"371300"},
{"id":"371312","value":"","parentId":"371300"},
{"id":"371321","value":"","parentId":"371300"},
{"id":"371322","value":"","parentId":"371300"},
{"id":"371323","value":"","parentId":"371300"},
{"id":"371324","value":"","parentId":"371300"},
{"id":"371325","value":"","parentId":"371300"},
{"id":"371326","value":"","parentId":"371300"},
{"id":"371327","value":"","parentId":"371300"},
{"id":"371328","value":"","parentId":"371300"},
{"id":"371329","value":"","parentId":"371300"},
{"id":"371402","value":"","parentId":"371400"},
{"id":"371421","value":"","parentId":"371400"},
{"id":"371422","value":"","parentId":"371400"},
{"id":"371423","value":"","parentId":"371400"},
{"id":"371424","value":"","parentId":"371400"},
{"id":"371425","value":"","parentId":"371400"},
{"id":"371426","value":"","parentId":"371400"},
{"id":"371427","value":"","parentId":"371400"},
{"id":"371428","value":"","parentId":"371400"},
{"id":"371481","value":"","parentId":"371400"},
{"id":"371482","value":"","parentId":"371400"},
{"id":"371502","value":"","parentId":"371500"},
{"id":"371521","value":"","parentId":"371500"},
{"id":"371522","value":"","parentId":"371500"},
{"id":"371523","value":"","parentId":"371500"},
{"id":"371524","value":"","parentId":"371500"},
{"id":"371525","value":"","parentId":"371500"},
{"id":"371526","value":"","parentId":"371500"},
{"id":"371581","value":"","parentId":"371500"},
{"id":"371602","value":"","parentId":"371600"},
{"id":"371621","value":"","parentId":"371600"},
{"id":"371622","value":"","parentId":"371600"},
{"id":"371623","value":"","parentId":"371600"},
{"id":"371624","value":"","parentId":"371600"},
{"id":"371625","value":"","parentId":"371600"},
{"id":"371626","value":"","parentId":"371600"},
{"id":"371702","value":"","parentId":"371700"},
{"id":"371721","value":"","parentId":"371700"},
{"id":"371722","value":"","parentId":"371700"},
{"id":"371723","value":"","parentId":"371700"},
{"id":"371724","value":"","parentId":"371700"},
{"id":"371725","value":"","parentId":"371700"},
{"id":"371726","value":"","parentId":"371700"},
{"id":"371727","value":"","parentId":"371700"},
{"id":"371728","value":"","parentId":"371700"},
{"id":"410102","value":"","parentId":"410100"},
{"id":"410103","value":"","parentId":"410100"},
{"id":"410104","value":"","parentId":"410100"},
{"id":"410105","value":"","parentId":"410100"},
{"id":"410106","value":"","parentId":"410100"},
{"id":"410108","value":"","parentId":"410100"},
{"id":"410122","value":"","parentId":"410100"},
{"id":"410181","value":"","parentId":"410100"},
{"id":"410182","value":"","parentId":"410100"},
{"id":"410183","value":"","parentId":"410100"},
{"id":"410184","value":"","parentId":"410100"},
{"id":"410185","value":"","parentId":"410100"},
{"id":"410202","value":"","parentId":"410200"},
{"id":"410203","value":"","parentId":"410200"},
{"id":"410204","value":"","parentId":"410200"},
{"id":"410205","value":"","parentId":"410200"},
{"id":"410211","value":"","parentId":"410200"},
{"id":"410221","value":"","parentId":"410200"},
{"id":"410222","value":"","parentId":"410200"},
{"id":"410223","value":"","parentId":"410200"},
{"id":"410224","value":"","parentId":"410200"},
{"id":"410225","value":"","parentId":"410200"},
{"id":"410302","value":"","parentId":"410300"},
{"id":"410303","value":"","parentId":"410300"},
{"id":"410304","value":"","parentId":"410300"},
{"id":"410305","value":"","parentId":"410300"},
{"id":"410306","value":"","parentId":"410300"},
{"id":"410311","value":"","parentId":"410300"},
{"id":"410322","value":"","parentId":"410300"},
{"id":"410323","value":"","parentId":"410300"},
{"id":"410324","value":"","parentId":"410300"},
{"id":"410325","value":"","parentId":"410300"},
{"id":"410326","value":"","parentId":"410300"},
{"id":"410327","value":"","parentId":"410300"},
{"id":"410328","value":"","parentId":"410300"},
{"id":"410329","value":"","parentId":"410300"},
{"id":"410381","value":"","parentId":"410300"},
{"id":"410402","value":"","parentId":"410400"},
{"id":"410403","value":"","parentId":"410400"},
{"id":"410404","value":"","parentId":"410400"},
{"id":"410411","value":"","parentId":"410400"},
{"id":"410421","value":"","parentId":"410400"},
{"id":"410422","value":"","parentId":"410400"},
{"id":"410423","value":"","parentId":"410400"},
{"id":"410425","value":"","parentId":"410400"},
{"id":"410481","value":"","parentId":"410400"},
{"id":"410482","value":"","parentId":"410400"},
{"id":"410502","value":"","parentId":"410500"},
{"id":"410503","value":"","parentId":"410500"},
{"id":"410505","value":"","parentId":"410500"},
{"id":"410506","value":"","parentId":"410500"},
{"id":"410522","value":"","parentId":"410500"},
{"id":"410523","value":"","parentId":"410500"},
{"id":"410526","value":"","parentId":"410500"},
{"id":"410527","value":"","parentId":"410500"},
{"id":"410581","value":"","parentId":"410500"},
{"id":"410602","value":"","parentId":"410600"},
{"id":"410603","value":"","parentId":"410600"},
{"id":"410611","value":"","parentId":"410600"},
{"id":"410621","value":"","parentId":"410600"},
{"id":"410622","value":"","parentId":"410600"},
{"id":"410702","value":"","parentId":"410700"},
{"id":"410703","value":"","parentId":"410700"},
{"id":"410704","value":"","parentId":"410700"},
{"id":"410711","value":"","parentId":"410700"},
{"id":"410721","value":"","parentId":"410700"},
{"id":"410724","value":"","parentId":"410700"},
{"id":"410725","value":"","parentId":"410700"},
{"id":"410726","value":"","parentId":"410700"},
{"id":"410727","value":"","parentId":"410700"},
{"id":"410728","value":"","parentId":"410700"},
{"id":"410781","value":"","parentId":"410700"},
{"id":"410782","value":"","parentId":"410700"},
{"id":"410802","value":"","parentId":"410800"},
{"id":"410803","value":"","parentId":"410800"},
{"id":"410804","value":"","parentId":"410800"},
{"id":"410811","value":"","parentId":"410800"},
{"id":"410821","value":"","parentId":"410800"},
{"id":"410822","value":"","parentId":"410800"},
{"id":"410823","value":"","parentId":"410800"},
{"id":"410825","value":"","parentId":"410800"},
{"id":"410882","value":"","parentId":"410800"},
{"id":"410883","value":"","parentId":"410800"},
{"id":"410902","value":"","parentId":"410900"},
{"id":"410922","value":"","parentId":"410900"},
{"id":"410923","value":"","parentId":"410900"},
{"id":"410926","value":"","parentId":"410900"},
{"id":"410927","value":"","parentId":"410900"},
{"id":"410928","value":"","parentId":"410900"},
{"id":"411002","value":"","parentId":"411000"},
{"id":"411023","value":"","parentId":"411000"},
{"id":"411024","value":"","parentId":"411000"},
{"id":"411025","value":"","parentId":"411000"},
{"id":"411081","value":"","parentId":"411000"},
{"id":"411082","value":"","parentId":"411000"},
{"id":"411102","value":"","parentId":"411100"},
{"id":"411103","value":"","parentId":"411100"},
{"id":"411104","value":"","parentId":"411100"},
{"id":"411121","value":"","parentId":"411100"},
{"id":"411122","value":"","parentId":"411100"},
{"id":"411202","value":"","parentId":"411200"},
{"id":"411221","value":"","parentId":"411200"},
{"id":"411222","value":"","parentId":"411200"},
{"id":"411224","value":"","parentId":"411200"},
{"id":"411281","value":"","parentId":"411200"},
{"id":"411282","value":"","parentId":"411200"},
{"id":"411302","value":"","parentId":"411300"},
{"id":"411303","value":"","parentId":"411300"},
{"id":"411321","value":"","parentId":"411300"},
{"id":"411322","value":"","parentId":"411300"},
{"id":"411323","value":"","parentId":"411300"},
{"id":"411324","value":"","parentId":"411300"},
{"id":"411325","value":"","parentId":"411300"},
{"id":"411326","value":"","parentId":"411300"},
{"id":"411327","value":"","parentId":"411300"},
{"id":"411328","value":"","parentId":"411300"},
{"id":"411329","value":"","parentId":"411300"},
{"id":"411330","value":"","parentId":"411300"},
{"id":"411381","value":"","parentId":"411300"},
{"id":"411402","value":"","parentId":"411400"},
{"id":"411403","value":"","parentId":"411400"},
{"id":"411421","value":"","parentId":"411400"},
{"id":"411422","value":"","parentId":"411400"},
{"id":"411423","value":"","parentId":"411400"},
{"id":"411424","value":"","parentId":"411400"},
{"id":"411425","value":"","parentId":"411400"},
{"id":"411426","value":"","parentId":"411400"},
{"id":"411481","value":"","parentId":"411400"},
{"id":"411502","value":"","parentId":"411500"},
{"id":"411503","value":"","parentId":"411500"},
{"id":"411521","value":"","parentId":"411500"},
{"id":"411522","value":"","parentId":"411500"},
{"id":"411523","value":"","parentId":"411500"},
{"id":"411524","value":"","parentId":"411500"},
{"id":"411525","value":"","parentId":"411500"},
{"id":"411526","value":"","parentId":"411500"},
{"id":"411527","value":"","parentId":"411500"},
{"id":"411528","value":"","parentId":"411500"},
{"id":"411602","value":"","parentId":"411600"},
{"id":"411621","value":"","parentId":"411600"},
{"id":"411622","value":"","parentId":"411600"},
{"id":"411623","value":"","parentId":"411600"},
{"id":"411624","value":"","parentId":"411600"},
{"id":"411625","value":"","parentId":"411600"},
{"id":"411626","value":"","parentId":"411600"},
{"id":"411627","value":"","parentId":"411600"},
{"id":"411628","value":"","parentId":"411600"},
{"id":"411681","value":"","parentId":"411600"},
{"id":"411702","value":"","parentId":"411700"},
{"id":"411721","value":"","parentId":"411700"},
{"id":"411722","value":"","parentId":"411700"},
{"id":"411723","value":"","parentId":"411700"},
{"id":"411724","value":"","parentId":"411700"},
{"id":"411725","value":"","parentId":"411700"},
{"id":"411726","value":"","parentId":"411700"},
{"id":"411727","value":"","parentId":"411700"},
{"id":"411728","value":"","parentId":"411700"},
{"id":"411729","value":"","parentId":"411700"},
{"id":"419001","value":"","parentId":"419001"},
{"id":"420102","value":"","parentId":"420100"},
{"id":"420103","value":"","parentId":"420100"},
{"id":"420104","value":"","parentId":"420100"},
{"id":"420105","value":"","parentId":"420100"},
{"id":"420106","value":"","parentId":"420100"},
{"id":"420107","value":"","parentId":"420100"},
{"id":"420111","value":"","parentId":"420100"},
{"id":"420112","value":"","parentId":"420100"},
{"id":"420113","value":"","parentId":"420100"},
{"id":"420114","value":"","parentId":"420100"},
{"id":"420115","value":"","parentId":"420100"},
{"id":"420116","value":"","parentId":"420100"},
{"id":"420117","value":"","parentId":"420100"},
{"id":"420202","value":"","parentId":"420200"},
{"id":"420203","value":"","parentId":"420200"},
{"id":"420204","value":"","parentId":"420200"},
{"id":"420205","value":"","parentId":"420200"},
{"id":"420222","value":"","parentId":"420200"},
{"id":"420281","value":"","parentId":"420200"},
{"id":"420302","value":"","parentId":"420300"},
{"id":"420303","value":"","parentId":"420300"},
{"id":"420321","value":"","parentId":"420300"},
{"id":"420322","value":"","parentId":"420300"},
{"id":"420323","value":"","parentId":"420300"},
{"id":"420324","value":"","parentId":"420300"},
{"id":"420325","value":"","parentId":"420300"},
{"id":"420381","value":"","parentId":"420300"},
{"id":"420502","value":"","parentId":"420500"},
{"id":"420503","value":"","parentId":"420500"},
{"id":"420504","value":"","parentId":"420500"},
{"id":"420505","value":"","parentId":"420500"},
{"id":"420506","value":"","parentId":"420500"},
{"id":"420525","value":"","parentId":"420500"},
{"id":"420526","value":"","parentId":"420500"},
{"id":"420527","value":"","parentId":"420500"},
{"id":"420528","value":"","parentId":"420500"},
{"id":"420529","value":"","parentId":"420500"},
{"id":"420581","value":"","parentId":"420500"},
{"id":"420582","value":"","parentId":"420500"},
{"id":"420583","value":"","parentId":"420500"},
{"id":"420602","value":"","parentId":"420600"},
{"id":"420606","value":"","parentId":"420600"},
{"id":"420607","value":"","parentId":"420600"},
{"id":"420624","value":"","parentId":"420600"},
{"id":"420625","value":"","parentId":"420600"},
{"id":"420626","value":"","parentId":"420600"},
{"id":"420682","value":"","parentId":"420600"},
{"id":"420683","value":"","parentId":"420600"},
{"id":"420684","value":"","parentId":"420600"},
{"id":"420702","value":"","parentId":"420700"},
{"id":"420703","value":"","parentId":"420700"},
{"id":"420704","value":"","parentId":"420700"},
{"id":"420802","value":"","parentId":"420800"},
{"id":"420804","value":"","parentId":"420800"},
{"id":"420821","value":"","parentId":"420800"},
{"id":"420822","value":"","parentId":"420800"},
{"id":"420881","value":"","parentId":"420800"},
{"id":"420902","value":"","parentId":"420900"},
{"id":"420921","value":"","parentId":"420900"},
{"id":"420922","value":"","parentId":"420900"},
{"id":"420923","value":"","parentId":"420900"},
{"id":"420981","value":"","parentId":"420900"},
{"id":"420982","value":"","parentId":"420900"},
{"id":"420984","value":"","parentId":"420900"},
{"id":"421002","value":"","parentId":"421000"},
{"id":"421003","value":"","parentId":"421000"},
{"id":"421022","value":"","parentId":"421000"},
{"id":"421023","value":"","parentId":"421000"},
{"id":"421024","value":"","parentId":"421000"},
{"id":"421081","value":"","parentId":"421000"},
{"id":"421083","value":"","parentId":"421000"},
{"id":"421087","value":"","parentId":"421000"},
{"id":"421102","value":"","parentId":"421100"},
{"id":"421121","value":"","parentId":"421100"},
{"id":"421122","value":"","parentId":"421100"},
{"id":"421123","value":"","parentId":"421100"},
{"id":"421124","value":"","parentId":"421100"},
{"id":"421125","value":"","parentId":"421100"},
{"id":"421126","value":"","parentId":"421100"},
{"id":"421127","value":"","parentId":"421100"},
{"id":"421181","value":"","parentId":"421100"},
{"id":"421182","value":"","parentId":"421100"},
{"id":"421202","value":"","parentId":"421200"},
{"id":"421221","value":"","parentId":"421200"},
{"id":"421222","value":"","parentId":"421200"},
{"id":"421223","value":"","parentId":"421200"},
{"id":"421224","value":"","parentId":"421200"},
{"id":"421281","value":"","parentId":"421200"},
{"id":"421303","value":"","parentId":"421300"},
{"id":"421321","value":"","parentId":"421300"},
{"id":"421381","value":"","parentId":"421300"},
{"id":"422801","value":"","parentId":"422800"},
{"id":"422802","value":"","parentId":"422800"},
{"id":"422822","value":"","parentId":"422800"},
{"id":"422823","value":"","parentId":"422800"},
{"id":"422825","value":"","parentId":"422800"},
{"id":"422826","value":"","parentId":"422800"},
{"id":"422827","value":"","parentId":"422800"},
{"id":"422828","value":"","parentId":"422800"},
{"id":"429004","value":"","parentId":"429004"},
{"id":"429005","value":"","parentId":"429005"},
{"id":"429006","value":"","parentId":"429006"},
{"id":"429021","value":"","parentId":"429021"},
{"id":"430102","value":"","parentId":"430100"},
{"id":"430103","value":"","parentId":"430100"},
{"id":"430104","value":"","parentId":"430100"},
{"id":"430105","value":"","parentId":"430100"},
{"id":"430111","value":"","parentId":"430100"},
{"id":"430112","value":"","parentId":"430100"},
{"id":"430121","value":"","parentId":"430100"},
{"id":"430124","value":"","parentId":"430100"},
{"id":"430181","value":"","parentId":"430100"},
{"id":"430202","value":"","parentId":"430200"},
{"id":"430203","value":"","parentId":"430200"},
{"id":"430204","value":"","parentId":"430200"},
{"id":"430211","value":"","parentId":"430200"},
{"id":"430221","value":"","parentId":"430200"},
{"id":"430223","value":"","parentId":"430200"},
{"id":"430224","value":"","parentId":"430200"},
{"id":"430225","value":"","parentId":"430200"},
{"id":"430281","value":"","parentId":"430200"},
{"id":"430302","value":"","parentId":"430300"},
{"id":"430304","value":"","parentId":"430300"},
{"id":"430321","value":"","parentId":"430300"},
{"id":"430381","value":"","parentId":"430300"},
{"id":"430382","value":"","parentId":"430300"},
{"id":"430405","value":"","parentId":"430400"},
{"id":"430406","value":"","parentId":"430400"},
{"id":"430407","value":"","parentId":"430400"},
{"id":"430408","value":"","parentId":"430400"},
{"id":"430412","value":"","parentId":"430400"},
{"id":"430421","value":"","parentId":"430400"},
{"id":"430422","value":"","parentId":"430400"},
{"id":"430423","value":"","parentId":"430400"},
{"id":"430424","value":"","parentId":"430400"},
{"id":"430426","value":"","parentId":"430400"},
{"id":"430481","value":"","parentId":"430400"},
{"id":"430482","value":"","parentId":"430400"},
{"id":"430502","value":"","parentId":"430500"},
{"id":"430503","value":"","parentId":"430500"},
{"id":"430511","value":"","parentId":"430500"},
{"id":"430521","value":"","parentId":"430500"},
{"id":"430522","value":"","parentId":"430500"},
{"id":"430523","value":"","parentId":"430500"},
{"id":"430524","value":"","parentId":"430500"},
{"id":"430525","value":"","parentId":"430500"},
{"id":"430527","value":"","parentId":"430500"},
{"id":"430528","value":"","parentId":"430500"},
{"id":"430529","value":"","parentId":"430500"},
{"id":"430581","value":"","parentId":"430500"},
{"id":"430602","value":"","parentId":"430600"},
{"id":"430603","value":"","parentId":"430600"},
{"id":"430611","value":"","parentId":"430600"},
{"id":"430621","value":"","parentId":"430600"},
{"id":"430623","value":"","parentId":"430600"},
{"id":"430624","value":"","parentId":"430600"},
{"id":"430626","value":"","parentId":"430600"},
{"id":"430681","value":"","parentId":"430600"},
{"id":"430682","value":"","parentId":"430600"},
{"id":"430702","value":"","parentId":"430700"},
{"id":"430703","value":"","parentId":"430700"},
{"id":"430721","value":"","parentId":"430700"},
{"id":"430722","value":"","parentId":"430700"},
{"id":"430723","value":"","parentId":"430700"},
{"id":"430724","value":"","parentId":"430700"},
{"id":"430725","value":"","parentId":"430700"},
{"id":"430726","value":"","parentId":"430700"},
{"id":"430781","value":"","parentId":"430700"},
{"id":"430802","value":"","parentId":"430800"},
{"id":"430811","value":"","parentId":"430800"},
{"id":"430821","value":"","parentId":"430800"},
{"id":"430822","value":"","parentId":"430800"},
{"id":"430902","value":"","parentId":"430900"},
{"id":"430903","value":"","parentId":"430900"},
{"id":"430921","value":"","parentId":"430900"},
{"id":"430922","value":"","parentId":"430900"},
{"id":"430923","value":"","parentId":"430900"},
{"id":"430981","value":"","parentId":"430900"},
{"id":"431002","value":"","parentId":"431000"},
{"id":"431003","value":"","parentId":"431000"},
{"id":"431021","value":"","parentId":"431000"},
{"id":"431022","value":"","parentId":"431000"},
{"id":"431023","value":"","parentId":"431000"},
{"id":"431024","value":"","parentId":"431000"},
{"id":"431025","value":"","parentId":"431000"},
{"id":"431026","value":"","parentId":"431000"},
{"id":"431027","value":"","parentId":"431000"},
{"id":"431028","value":"","parentId":"431000"},
{"id":"431081","value":"","parentId":"431000"},
{"id":"431102","value":"","parentId":"431100"},
{"id":"431103","value":"","parentId":"431100"},
{"id":"431121","value":"","parentId":"431100"},
{"id":"431122","value":"","parentId":"431100"},
{"id":"431123","value":"","parentId":"431100"},
{"id":"431124","value":"","parentId":"431100"},
{"id":"431125","value":"","parentId":"431100"},
{"id":"431126","value":"","parentId":"431100"},
{"id":"431127","value":"","parentId":"431100"},
{"id":"431128","value":"","parentId":"431100"},
{"id":"431129","value":"","parentId":"431100"},
{"id":"431202","value":"","parentId":"431200"},
{"id":"431221","value":"","parentId":"431200"},
{"id":"431222","value":"","parentId":"431200"},
{"id":"431223","value":"","parentId":"431200"},
{"id":"431224","value":"","parentId":"431200"},
{"id":"431225","value":"","parentId":"431200"},
{"id":"431226","value":"","parentId":"431200"},
{"id":"431227","value":"","parentId":"431200"},
{"id":"431228","value":"","parentId":"431200"},
{"id":"431229","value":"","parentId":"431200"},
{"id":"431230","value":"","parentId":"431200"},
{"id":"431281","value":"","parentId":"431200"},
{"id":"431302","value":"","parentId":"431300"},
{"id":"431321","value":"","parentId":"431300"},
{"id":"431322","value":"","parentId":"431300"},
{"id":"431381","value":"","parentId":"431300"},
{"id":"431382","value":"","parentId":"431300"},
{"id":"433101","value":"","parentId":"433100"},
{"id":"433122","value":"","parentId":"433100"},
{"id":"433123","value":"","parentId":"433100"},
{"id":"433124","value":"","parentId":"433100"},
{"id":"433125","value":"","parentId":"433100"},
{"id":"433126","value":"","parentId":"433100"},
{"id":"433127","value":"","parentId":"433100"},
{"id":"433130","value":"","parentId":"433100"},
{"id":"440103","value":"","parentId":"440100"},
{"id":"440104","value":"","parentId":"440100"},
{"id":"440105","value":"","parentId":"440100"},
{"id":"440106","value":"","parentId":"440100"},
{"id":"440111","value":"","parentId":"440100"},
{"id":"440112","value":"","parentId":"440100"},
{"id":"440113","value":"","parentId":"440100"},
{"id":"440114","value":"","parentId":"440100"},
{"id":"440115","value":"","parentId":"440100"},
{"id":"440116","value":"","parentId":"440100"},
{"id":"440183","value":"","parentId":"440100"},
{"id":"440184","value":"","parentId":"440100"},
{"id":"440203","value":"","parentId":"440200"},
{"id":"440204","value":"","parentId":"440200"},
{"id":"440205","value":"","parentId":"440200"},
{"id":"440222","value":"","parentId":"440200"},
{"id":"440224","value":"","parentId":"440200"},
{"id":"440229","value":"","parentId":"440200"},
{"id":"440232","value":"","parentId":"440200"},
{"id":"440233","value":"","parentId":"440200"},
{"id":"440281","value":"","parentId":"440200"},
{"id":"440282","value":"","parentId":"440200"},
{"id":"440303","value":"","parentId":"440300"},
{"id":"440304","value":"","parentId":"440300"},
{"id":"440305","value":"","parentId":"440300"},
{"id":"440306","value":"","parentId":"440300"},
{"id":"440307","value":"","parentId":"440300"},
{"id":"440308","value":"","parentId":"440300"},
{"id":"440402","value":"","parentId":"440400"},
{"id":"440403","value":"","parentId":"440400"},
{"id":"440404","value":"","parentId":"440400"},
{"id":"440507","value":"","parentId":"440500"},
{"id":"440511","value":"","parentId":"440500"},
{"id":"440512","value":"","parentId":"440500"},
{"id":"440513","value":"","parentId":"440500"},
{"id":"440514","value":"","parentId":"440500"},
{"id":"440515","value":"","parentId":"440500"},
{"id":"440523","value":"","parentId":"440500"},
{"id":"440604","value":"","parentId":"440600"},
{"id":"440605","value":"","parentId":"440600"},
{"id":"440606","value":"","parentId":"440600"},
{"id":"440607","value":"","parentId":"440600"},
{"id":"440608","value":"","parentId":"440600"},
{"id":"440703","value":"","parentId":"440700"},
{"id":"440704","value":"","parentId":"440700"},
{"id":"440705","value":"","parentId":"440700"},
{"id":"440781","value":"","parentId":"440700"},
{"id":"440783","value":"","parentId":"440700"},
{"id":"440784","value":"","parentId":"440700"},
{"id":"440785","value":"","parentId":"440700"},
{"id":"440802","value":"","parentId":"440800"},
{"id":"440803","value":"","parentId":"440800"},
{"id":"440804","value":"","parentId":"440800"},
{"id":"440811","value":"","parentId":"440800"},
{"id":"440823","value":"","parentId":"440800"},
{"id":"440825","value":"","parentId":"440800"},
{"id":"440881","value":"","parentId":"440800"},
{"id":"440882","value":"","parentId":"440800"},
{"id":"440883","value":"","parentId":"440800"},
{"id":"440902","value":"","parentId":"440900"},
{"id":"440903","value":"","parentId":"440900"},
{"id":"440923","value":"","parentId":"440900"},
{"id":"440981","value":"","parentId":"440900"},
{"id":"440982","value":"","parentId":"440900"},
{"id":"440983","value":"","parentId":"440900"},
{"id":"441202","value":"","parentId":"441200"},
{"id":"441203","value":"","parentId":"441200"},
{"id":"441223","value":"","parentId":"441200"},
{"id":"441224","value":"","parentId":"441200"},
{"id":"441225","value":"","parentId":"441200"},
{"id":"441226","value":"","parentId":"441200"},
{"id":"441283","value":"","parentId":"441200"},
{"id":"441284","value":"","parentId":"441200"},
{"id":"441302","value":"","parentId":"441300"},
{"id":"441303","value":"","parentId":"441300"},
{"id":"441322","value":"","parentId":"441300"},
{"id":"441323","value":"","parentId":"441300"},
{"id":"441324","value":"","parentId":"441300"},
{"id":"441402","value":"","parentId":"441400"},
{"id":"441421","value":"","parentId":"441400"},
{"id":"441422","value":"","parentId":"441400"},
{"id":"441423","value":"","parentId":"441400"},
{"id":"441424","value":"","parentId":"441400"},
{"id":"441426","value":"","parentId":"441400"},
{"id":"441427","value":"","parentId":"441400"},
{"id":"441481","value":"","parentId":"441400"},
{"id":"441502","value":"","parentId":"441500"},
{"id":"441521","value":"","parentId":"441500"},
{"id":"441523","value":"","parentId":"441500"},
{"id":"441581","value":"","parentId":"441500"},
{"id":"441602","value":"","parentId":"441600"},
{"id":"441621","value":"","parentId":"441600"},
{"id":"441622","value":"","parentId":"441600"},
{"id":"441623","value":"","parentId":"441600"},
{"id":"441624","value":"","parentId":"441600"},
{"id":"441625","value":"","parentId":"441600"},
{"id":"441702","value":"","parentId":"441700"},
{"id":"441721","value":"","parentId":"441700"},
{"id":"441723","value":"","parentId":"441700"},
{"id":"441781","value":"","parentId":"441700"},
{"id":"441802","value":"","parentId":"441800"},
{"id":"441821","value":"","parentId":"441800"},
{"id":"441823","value":"","parentId":"441800"},
{"id":"441825","value":"","parentId":"441800"},
{"id":"441826","value":"","parentId":"441800"},
{"id":"441827","value":"","parentId":"441800"},
{"id":"441881","value":"","parentId":"441800"},
{"id":"441882","value":"","parentId":"441800"},
{"id":"441901","value":"","parentId":"441900"},
{"id":"442001","value":"","parentId":"442000"},
{"id":"445102","value":"","parentId":"445100"},
{"id":"445121","value":"","parentId":"445100"},
{"id":"445122","value":"","parentId":"445100"},
{"id":"445202","value":"","parentId":"445200"},
{"id":"445221","value":"","parentId":"445200"},
{"id":"445222","value":"","parentId":"445200"},
{"id":"445224","value":"","parentId":"445200"},
{"id":"445281","value":"","parentId":"445200"},
{"id":"445302","value":"","parentId":"445300"},
{"id":"445321","value":"","parentId":"445300"},
{"id":"445322","value":"","parentId":"445300"},
{"id":"445323","value":"","parentId":"445300"},
{"id":"445381","value":"","parentId":"445300"},
{"id":"450102","value":"","parentId":"450100"},
{"id":"450103","value":"","parentId":"450100"},
{"id":"450105","value":"","parentId":"450100"},
{"id":"450107","value":"","parentId":"450100"},
{"id":"450108","value":"","parentId":"450100"},
{"id":"450109","value":"","parentId":"450100"},
{"id":"450122","value":"","parentId":"450100"},
{"id":"450123","value":"","parentId":"450100"},
{"id":"450124","value":"","parentId":"450100"},
{"id":"450125","value":"","parentId":"450100"},
{"id":"450126","value":"","parentId":"450100"},
{"id":"450127","value":"","parentId":"450100"},
{"id":"450202","value":"","parentId":"450200"},
{"id":"450203","value":"","parentId":"450200"},
{"id":"450204","value":"","parentId":"450200"},
{"id":"450205","value":"","parentId":"450200"},
{"id":"450221","value":"","parentId":"450200"},
{"id":"450222","value":"","parentId":"450200"},
{"id":"450223","value":"","parentId":"450200"},
{"id":"450224","value":"","parentId":"450200"},
{"id":"450225","value":"","parentId":"450200"},
{"id":"450226","value":"","parentId":"450200"},
{"id":"450302","value":"","parentId":"450300"},
{"id":"450303","value":"","parentId":"450300"},
{"id":"450304","value":"","parentId":"450300"},
{"id":"450305","value":"","parentId":"450300"},
{"id":"450311","value":"","parentId":"450300"},
{"id":"450321","value":"","parentId":"450300"},
{"id":"450322","value":"","parentId":"450300"},
{"id":"450323","value":"","parentId":"450300"},
{"id":"450324","value":"","parentId":"450300"},
{"id":"450325","value":"","parentId":"450300"},
{"id":"450326","value":"","parentId":"450300"},
{"id":"450327","value":"","parentId":"450300"},
{"id":"450328","value":"","parentId":"450300"},
{"id":"450329","value":"","parentId":"450300"},
{"id":"450330","value":"","parentId":"450300"},
{"id":"450331","value":"","parentId":"450300"},
{"id":"450332","value":"","parentId":"450300"},
{"id":"450403","value":"","parentId":"450400"},
{"id":"450404","value":"","parentId":"450400"},
{"id":"450405","value":"","parentId":"450400"},
{"id":"450421","value":"","parentId":"450400"},
{"id":"450422","value":"","parentId":"450400"},
{"id":"450423","value":"","parentId":"450400"},
{"id":"450481","value":"","parentId":"450400"},
{"id":"450502","value":"","parentId":"450500"},
{"id":"450503","value":"","parentId":"450500"},
{"id":"450512","value":"","parentId":"450500"},
{"id":"450521","value":"","parentId":"450500"},
{"id":"450602","value":"","parentId":"450600"},
{"id":"450603","value":"","parentId":"450600"},
{"id":"450621","value":"","parentId":"450600"},
{"id":"450681","value":"","parentId":"450600"},
{"id":"450702","value":"","parentId":"450700"},
{"id":"450703","value":"","parentId":"450700"},
{"id":"450721","value":"","parentId":"450700"},
{"id":"450722","value":"","parentId":"450700"},
{"id":"450802","value":"","parentId":"450800"},
{"id":"450803","value":"","parentId":"450800"},
{"id":"450804","value":"","parentId":"450800"},
{"id":"450821","value":"","parentId":"450800"},
{"id":"450881","value":"","parentId":"450800"},
{"id":"450902","value":"","parentId":"450900"},
{"id":"450921","value":"","parentId":"450900"},
{"id":"450922","value":"","parentId":"450900"},
{"id":"450923","value":"","parentId":"450900"},
{"id":"450924","value":"","parentId":"450900"},
{"id":"450981","value":"","parentId":"450900"},
{"id":"451002","value":"","parentId":"451000"},
{"id":"451021","value":"","parentId":"451000"},
{"id":"451022","value":"","parentId":"451000"},
{"id":"451023","value":"","parentId":"451000"},
{"id":"451024","value":"","parentId":"451000"},
{"id":"451025","value":"","parentId":"451000"},
{"id":"451026","value":"","parentId":"451000"},
{"id":"451027","value":"","parentId":"451000"},
{"id":"451028","value":"","parentId":"451000"},
{"id":"451029","value":"","parentId":"451000"},
{"id":"451030","value":"","parentId":"451000"},
{"id":"451031","value":"","parentId":"451000"},
{"id":"451102","value":"","parentId":"451100"},
{"id":"451119","value":"","parentId":"451100"},
{"id":"451121","value":"","parentId":"451100"},
{"id":"451122","value":"","parentId":"451100"},
{"id":"451123","value":"","parentId":"451100"},
{"id":"451202","value":"","parentId":"451200"},
{"id":"451221","value":"","parentId":"451200"},
{"id":"451222","value":"","parentId":"451200"},
{"id":"451223","value":"","parentId":"451200"},
{"id":"451224","value":"","parentId":"451200"},
{"id":"451225","value":"","parentId":"451200"},
{"id":"451226","value":"","parentId":"451200"},
{"id":"451227","value":"","parentId":"451200"},
{"id":"451228","value":"","parentId":"451200"},
{"id":"451229","value":"","parentId":"451200"},
{"id":"451281","value":"","parentId":"451200"},
{"id":"451302","value":"","parentId":"451300"},
{"id":"451321","value":"","parentId":"451300"},
{"id":"451322","value":"","parentId":"451300"},
{"id":"451323","value":"","parentId":"451300"},
{"id":"451324","value":"","parentId":"451300"},
{"id":"451381","value":"","parentId":"451300"},
{"id":"451402","value":"","parentId":"451400"},
{"id":"451421","value":"","parentId":"451400"},
{"id":"451422","value":"","parentId":"451400"},
{"id":"451423","value":"","parentId":"451400"},
{"id":"451424","value":"","parentId":"451400"},
{"id":"451425","value":"","parentId":"451400"},
{"id":"451481","value":"","parentId":"451400"},
{"id":"460105","value":"","parentId":"460100"},
{"id":"460106","value":"","parentId":"460100"},
{"id":"460107","value":"","parentId":"460100"},
{"id":"460108","value":"","parentId":"460100"},
{"id":"460201","value":"","parentId":"460200"},
{"id":"460301","value":"","parentId":"460300"},
{"id":"469001","value":"","parentId":"469001"},
{"id":"469002","value":"","parentId":"469002"},
{"id":"469003","value":"","parentId":"469003"},
{"id":"469005","value":"","parentId":"469005"},
{"id":"469006","value":"","parentId":"469006"},
{"id":"469007","value":"","parentId":"469007"},
{"id":"469021","value":"","parentId":"469021"},
{"id":"469022","value":"","parentId":"469022"},
{"id":"469023","value":"","parentId":"469023"},
{"id":"469024","value":"","parentId":"469024"},
{"id":"469025","value":"","parentId":"469025"},
{"id":"469026","value":"","parentId":"469026"},
{"id":"469027","value":"","parentId":"469027"},
{"id":"469028","value":"","parentId":"469028"},
{"id":"469029","value":"","parentId":"469029"},
{"id":"469030","value":"","parentId":"469030"},
{"id":"500101","value":"","parentId":"500100"},
{"id":"500102","value":"","parentId":"500100"},
{"id":"500103","value":"","parentId":"500100"},
{"id":"500104","value":"","parentId":"500100"},
{"id":"500105","value":"","parentId":"500100"},
{"id":"500106","value":"","parentId":"500100"},
{"id":"500107","value":"","parentId":"500100"},
{"id":"500108","value":"","parentId":"500100"},
{"id":"500109","value":"","parentId":"500100"},
{"id":"500110","value":"","parentId":"500100"},
{"id":"500111","value":"","parentId":"500100"},
{"id":"500112","value":"","parentId":"500100"},
{"id":"500113","value":"","parentId":"500100"},
{"id":"500114","value":"","parentId":"500100"},
{"id":"500115","value":"","parentId":"500100"},
{"id":"500116","value":"","parentId":"500100"},
{"id":"500117","value":"","parentId":"500100"},
{"id":"500118","value":"","parentId":"500100"},
{"id":"500119","value":"","parentId":"500100"},
{"id":"510104","value":"","parentId":"510100"},
{"id":"510105","value":"","parentId":"510100"},
{"id":"510106","value":"","parentId":"510100"},
{"id":"510107","value":"","parentId":"510100"},
{"id":"510108","value":"","parentId":"510100"},
{"id":"510112","value":"","parentId":"510100"},
{"id":"510113","value":"","parentId":"510100"},
{"id":"510114","value":"","parentId":"510100"},
{"id":"510115","value":"","parentId":"510100"},
{"id":"510121","value":"","parentId":"510100"},
{"id":"510122","value":"","parentId":"510100"},
{"id":"510124","value":"","parentId":"510100"},
{"id":"510129","value":"","parentId":"510100"},
{"id":"510131","value":"","parentId":"510100"},
{"id":"510132","value":"","parentId":"510100"},
{"id":"510181","value":"","parentId":"510100"},
{"id":"510182","value":"","parentId":"510100"},
{"id":"510183","value":"","parentId":"510100"},
{"id":"510184","value":"","parentId":"510100"},
{"id":"510302","value":"","parentId":"510300"},
{"id":"510303","value":"","parentId":"510300"},
{"id":"510304","value":"","parentId":"510300"},
{"id":"510311","value":"","parentId":"510300"},
{"id":"510321","value":"","parentId":"510300"},
{"id":"510322","value":"","parentId":"510300"},
{"id":"510402","value":"","parentId":"510400"},
{"id":"510403","value":"","parentId":"510400"},
{"id":"510411","value":"","parentId":"510400"},
{"id":"510421","value":"","parentId":"510400"},
{"id":"510422","value":"","parentId":"510400"},
{"id":"510502","value":"","parentId":"510500"},
{"id":"510503","value":"","parentId":"510500"},
{"id":"510504","value":"","parentId":"510500"},
{"id":"510521","value":"","parentId":"510500"},
{"id":"510522","value":"","parentId":"510500"},
{"id":"510524","value":"","parentId":"510500"},
{"id":"510525","value":"","parentId":"510500"},
{"id":"510603","value":"","parentId":"510600"},
{"id":"510623","value":"","parentId":"510600"},
{"id":"510626","value":"","parentId":"510600"},
{"id":"510681","value":"","parentId":"510600"},
{"id":"510682","value":"","parentId":"510600"},
{"id":"510683","value":"","parentId":"510600"},
{"id":"510703","value":"","parentId":"510700"},
{"id":"510704","value":"","parentId":"510700"},
{"id":"510722","value":"","parentId":"510700"},
{"id":"510723","value":"","parentId":"510700"},
{"id":"510724","value":"","parentId":"510700"},
{"id":"510725","value":"","parentId":"510700"},
{"id":"510726","value":"","parentId":"510700"},
{"id":"510727","value":"","parentId":"510700"},
{"id":"510781","value":"","parentId":"510700"},
{"id":"510802","value":"","parentId":"510800"},
{"id":"510811","value":"","parentId":"510800"},
{"id":"510812","value":"","parentId":"510800"},
{"id":"510821","value":"","parentId":"510800"},
{"id":"510822","value":"","parentId":"510800"},
{"id":"510823","value":"","parentId":"510800"},
{"id":"510824","value":"","parentId":"510800"},
{"id":"510903","value":"","parentId":"510900"},
{"id":"510904","value":"","parentId":"510900"},
{"id":"510921","value":"","parentId":"510900"},
{"id":"510922","value":"","parentId":"510900"},
{"id":"510923","value":"","parentId":"510900"},
{"id":"511002","value":"","parentId":"511000"},
{"id":"511011","value":"","parentId":"511000"},
{"id":"511024","value":"","parentId":"511000"},
{"id":"511025","value":"","parentId":"511000"},
{"id":"511028","value":"","parentId":"511000"},
{"id":"511102","value":"","parentId":"511100"},
{"id":"511111","value":"","parentId":"511100"},
{"id":"511112","value":"","parentId":"511100"},
{"id":"511113","value":"","parentId":"511100"},
{"id":"511123","value":"","parentId":"511100"},
{"id":"511124","value":"","parentId":"511100"},
{"id":"511126","value":"","parentId":"511100"},
{"id":"511129","value":"","parentId":"511100"},
{"id":"511132","value":"","parentId":"511100"},
{"id":"511133","value":"","parentId":"511100"},
{"id":"511181","value":"","parentId":"511100"},
{"id":"511302","value":"","parentId":"511300"},
{"id":"511303","value":"","parentId":"511300"},
{"id":"511304","value":"","parentId":"511300"},
{"id":"511321","value":"","parentId":"511300"},
{"id":"511322","value":"","parentId":"511300"},
{"id":"511323","value":"","parentId":"511300"},
{"id":"511324","value":"","parentId":"511300"},
{"id":"511325","value":"","parentId":"511300"},
{"id":"511381","value":"","parentId":"511300"},
{"id":"511402","value":"","parentId":"511400"},
{"id":"511421","value":"","parentId":"511400"},
{"id":"511422","value":"","parentId":"511400"},
{"id":"511423","value":"","parentId":"511400"},
{"id":"511424","value":"","parentId":"511400"},
{"id":"511425","value":"","parentId":"511400"},
{"id":"511502","value":"","parentId":"511500"},
{"id":"511521","value":"","parentId":"511500"},
{"id":"511522","value":"","parentId":"511500"},
{"id":"511523","value":"","parentId":"511500"},
{"id":"511524","value":"","parentId":"511500"},
{"id":"511525","value":"","parentId":"511500"},
{"id":"511526","value":"","parentId":"511500"},
{"id":"511527","value":"","parentId":"511500"},
{"id":"511528","value":"","parentId":"511500"},
{"id":"511529","value":"","parentId":"511500"},
{"id":"511602","value":"","parentId":"511600"},
{"id":"511621","value":"","parentId":"511600"},
{"id":"511622","value":"","parentId":"511600"},
{"id":"511623","value":"","parentId":"511600"},
{"id":"511681","value":"","parentId":"511600"},
{"id":"511702","value":"","parentId":"511700"},
{"id":"511721","value":"","parentId":"511700"},
{"id":"511722","value":"","parentId":"511700"},
{"id":"511723","value":"","parentId":"511700"},
{"id":"511724","value":"","parentId":"511700"},
{"id":"511725","value":"","parentId":"511700"},
{"id":"511781","value":"","parentId":"511700"},
{"id":"511802","value":"","parentId":"511800"},
{"id":"511821","value":"","parentId":"511800"},
{"id":"511822","value":"","parentId":"511800"},
{"id":"511823","value":"","parentId":"511800"},
{"id":"511824","value":"","parentId":"511800"},
{"id":"511825","value":"","parentId":"511800"},
{"id":"511826","value":"","parentId":"511800"},
{"id":"511827","value":"","parentId":"511800"},
{"id":"511902","value":"","parentId":"511900"},
{"id":"511921","value":"","parentId":"511900"},
{"id":"511922","value":"","parentId":"511900"},
{"id":"511923","value":"","parentId":"511900"},
{"id":"512002","value":"","parentId":"512000"},
{"id":"512021","value":"","parentId":"512000"},
{"id":"512022","value":"","parentId":"512000"},
{"id":"512081","value":"","parentId":"512000"},
{"id":"513221","value":"","parentId":"513200"},
{"id":"513222","value":"","parentId":"513200"},
{"id":"513223","value":"","parentId":"513200"},
{"id":"513224","value":"","parentId":"513200"},
{"id":"513225","value":"","parentId":"513200"},
{"id":"513226","value":"","parentId":"513200"},
{"id":"513227","value":"","parentId":"513200"},
{"id":"513228","value":"","parentId":"513200"},
{"id":"513229","value":"","parentId":"513200"},
{"id":"513230","value":"","parentId":"513200"},
{"id":"513231","value":"","parentId":"513200"},
{"id":"513232","value":"","parentId":"513200"},
{"id":"513233","value":"","parentId":"513200"},
{"id":"513321","value":"","parentId":"513300"},
{"id":"513322","value":"","parentId":"513300"},
{"id":"513323","value":"","parentId":"513300"},
{"id":"513324","value":"","parentId":"513300"},
{"id":"513325","value":"","parentId":"513300"},
{"id":"513326","value":"","parentId":"513300"},
{"id":"513327","value":"","parentId":"513300"},
{"id":"513328","value":"","parentId":"513300"},
{"id":"513329","value":"","parentId":"513300"},
{"id":"513330","value":"","parentId":"513300"},
{"id":"513331","value":"","parentId":"513300"},
{"id":"513332","value":"","parentId":"513300"},
{"id":"513333","value":"","parentId":"513300"},
{"id":"513334","value":"","parentId":"513300"},
{"id":"513335","value":"","parentId":"513300"},
{"id":"513336","value":"","parentId":"513300"},
{"id":"513337","value":"","parentId":"513300"},
{"id":"513338","value":"","parentId":"513300"},
{"id":"513401","value":"","parentId":"513400"},
{"id":"513422","value":"","parentId":"513400"},
{"id":"513423","value":"","parentId":"513400"},
{"id":"513424","value":"","parentId":"513400"},
{"id":"513425","value":"","parentId":"513400"},
{"id":"513426","value":"","parentId":"513400"},
{"id":"513427","value":"","parentId":"513400"},
{"id":"513428","value":"","parentId":"513400"},
{"id":"513429","value":"","parentId":"513400"},
{"id":"513430","value":"","parentId":"513400"},
{"id":"513431","value":"","parentId":"513400"},
{"id":"513432","value":"","parentId":"513400"},
{"id":"513433","value":"","parentId":"513400"},
{"id":"513434","value":"","parentId":"513400"},
{"id":"513435","value":"","parentId":"513400"},
{"id":"513436","value":"","parentId":"513400"},
{"id":"513437","value":"","parentId":"513400"},
{"id":"520102","value":"","parentId":"520100"},
{"id":"520103","value":"","parentId":"520100"},
{"id":"520111","value":"","parentId":"520100"},
{"id":"520112","value":"","parentId":"520100"},
{"id":"520113","value":"","parentId":"520100"},
{"id":"520114","value":"","parentId":"520100"},
{"id":"520121","value":"","parentId":"520100"},
{"id":"520122","value":"","parentId":"520100"},
{"id":"520123","value":"","parentId":"520100"},
{"id":"520181","value":"","parentId":"520100"},
{"id":"520201","value":"","parentId":"520200"},
{"id":"520203","value":"","parentId":"520200"},
{"id":"520221","value":"","parentId":"520200"},
{"id":"520222","value":"","parentId":"520200"},
{"id":"520302","value":"","parentId":"520300"},
{"id":"520303","value":"","parentId":"520300"},
{"id":"520321","value":"","parentId":"520300"},
{"id":"520322","value":"","parentId":"520300"},
{"id":"520323","value":"","parentId":"520300"},
{"id":"520324","value":"","parentId":"520300"},
{"id":"520325","value":"","parentId":"520300"},
{"id":"520326","value":"","parentId":"520300"},
{"id":"520327","value":"","parentId":"520300"},
{"id":"520328","value":"","parentId":"520300"},
{"id":"520329","value":"","parentId":"520300"},
{"id":"520330","value":"","parentId":"520300"},
{"id":"520381","value":"","parentId":"520300"},
{"id":"520382","value":"","parentId":"520300"},
{"id":"520402","value":"","parentId":"520400"},
{"id":"520421","value":"","parentId":"520400"},
{"id":"520422","value":"","parentId":"520400"},
{"id":"520423","value":"","parentId":"520400"},
{"id":"520424","value":"","parentId":"520400"},
{"id":"520425","value":"","parentId":"520400"},
{"id":"522201","value":"","parentId":"522200"},
{"id":"522301","value":"","parentId":"522300"},
{"id":"522322","value":"","parentId":"522300"},
{"id":"522323","value":"","parentId":"522300"},
{"id":"522324","value":"","parentId":"522300"},
{"id":"522325","value":"","parentId":"522300"},
{"id":"522326","value":"","parentId":"522300"},
{"id":"522327","value":"","parentId":"522300"},
{"id":"522328","value":"","parentId":"522300"},
{"id":"522401","value":"","parentId":"522400"},
{"id":"522601","value":"","parentId":"522600"},
{"id":"522622","value":"","parentId":"522600"},
{"id":"522623","value":"","parentId":"522600"},
{"id":"522624","value":"","parentId":"522600"},
{"id":"522625","value":"","parentId":"522600"},
{"id":"522626","value":"","parentId":"522600"},
{"id":"522627","value":"","parentId":"522600"},
{"id":"522628","value":"","parentId":"522600"},
{"id":"522629","value":"","parentId":"522600"},
{"id":"522630","value":"","parentId":"522600"},
{"id":"522631","value":"","parentId":"522600"},
{"id":"522632","value":"","parentId":"522600"},
{"id":"522633","value":"","parentId":"522600"},
{"id":"522634","value":"","parentId":"522600"},
{"id":"522635","value":"","parentId":"522600"},
{"id":"522636","value":"","parentId":"522600"},
{"id":"522701","value":"","parentId":"522700"},
{"id":"522702","value":"","parentId":"522700"},
{"id":"522722","value":"","parentId":"522700"},
{"id":"522723","value":"","parentId":"522700"},
{"id":"522725","value":"","parentId":"522700"},
{"id":"522726","value":"","parentId":"522700"},
{"id":"522727","value":"","parentId":"522700"},
{"id":"522728","value":"","parentId":"522700"},
{"id":"522729","value":"","parentId":"522700"},
{"id":"522730","value":"","parentId":"522700"},
{"id":"522731","value":"","parentId":"522700"},
{"id":"522732","value":"","parentId":"522700"},
{"id":"530102","value":"","parentId":"530100"},
{"id":"530103","value":"","parentId":"530100"},
{"id":"530111","value":"","parentId":"530100"},
{"id":"530112","value":"","parentId":"530100"},
{"id":"530113","value":"","parentId":"530100"},
{"id":"530121","value":"","parentId":"530100"},
{"id":"530122","value":"","parentId":"530100"},
{"id":"530124","value":"","parentId":"530100"},
{"id":"530125","value":"","parentId":"530100"},
{"id":"530126","value":"","parentId":"530100"},
{"id":"530127","value":"","parentId":"530100"},
{"id":"530128","value":"","parentId":"530100"},
{"id":"530129","value":"","parentId":"530100"},
{"id":"530181","value":"","parentId":"530100"},
{"id":"530302","value":"","parentId":"530300"},
{"id":"530321","value":"","parentId":"530300"},
{"id":"530322","value":"","parentId":"530300"},
{"id":"530323","value":"","parentId":"530300"},
{"id":"530324","value":"","parentId":"530300"},
{"id":"530325","value":"","parentId":"530300"},
{"id":"530326","value":"","parentId":"530300"},
{"id":"530328","value":"","parentId":"530300"},
{"id":"530381","value":"","parentId":"530300"},
{"id":"530402","value":"","parentId":"530400"},
{"id":"530421","value":"","parentId":"530400"},
{"id":"530422","value":"","parentId":"530400"},
{"id":"530423","value":"","parentId":"530400"},
{"id":"530424","value":"","parentId":"530400"},
{"id":"530425","value":"","parentId":"530400"},
{"id":"530426","value":"","parentId":"530400"},
{"id":"530427","value":"","parentId":"530400"},
{"id":"530428","value":"","parentId":"530400"},
{"id":"530502","value":"","parentId":"530500"},
{"id":"530521","value":"","parentId":"530500"},
{"id":"530522","value":"","parentId":"530500"},
{"id":"530523","value":"","parentId":"530500"},
{"id":"530524","value":"","parentId":"530500"},
{"id":"530602","value":"","parentId":"530600"},
{"id":"530621","value":"","parentId":"530600"},
{"id":"530622","value":"","parentId":"530600"},
{"id":"530623","value":"","parentId":"530600"},
{"id":"530624","value":"","parentId":"530600"},
{"id":"530625","value":"","parentId":"530600"},
{"id":"530626","value":"","parentId":"530600"},
{"id":"530627","value":"","parentId":"530600"},
{"id":"530628","value":"","parentId":"530600"},
{"id":"530629","value":"","parentId":"530600"},
{"id":"530630","value":"","parentId":"530600"},
{"id":"530702","value":"","parentId":"530700"},
{"id":"530721","value":"","parentId":"530700"},
{"id":"530722","value":"","parentId":"530700"},
{"id":"530723","value":"","parentId":"530700"},
{"id":"530724","value":"","parentId":"530700"},
{"id":"530802","value":"","parentId":"530800"},
{"id":"530821","value":"","parentId":"530800"},
{"id":"530822","value":"","parentId":"530800"},
{"id":"530823","value":"","parentId":"530800"},
{"id":"530824","value":"","parentId":"530800"},
{"id":"530825","value":"","parentId":"530800"},
{"id":"530826","value":"","parentId":"530800"},
{"id":"530827","value":"","parentId":"530800"},
{"id":"530828","value":"","parentId":"530800"},
{"id":"530829","value":"","parentId":"530800"},
{"id":"530902","value":"","parentId":"530900"},
{"id":"530921","value":"","parentId":"530900"},
{"id":"530922","value":"","parentId":"530900"},
{"id":"530923","value":"","parentId":"530900"},
{"id":"530924","value":"","parentId":"530900"},
{"id":"530925","value":"","parentId":"530900"},
{"id":"530926","value":"","parentId":"530900"},
{"id":"530927","value":"","parentId":"530900"},
{"id":"532301","value":"","parentId":"532300"},
{"id":"532322","value":"","parentId":"532300"},
{"id":"532323","value":"","parentId":"532300"},
{"id":"532324","value":"","parentId":"532300"},
{"id":"532325","value":"","parentId":"532300"},
{"id":"532326","value":"","parentId":"532300"},
{"id":"532327","value":"","parentId":"532300"},
{"id":"532328","value":"","parentId":"532300"},
{"id":"532329","value":"","parentId":"532300"},
{"id":"532331","value":"","parentId":"532300"},
{"id":"532501","value":"","parentId":"532500"},
{"id":"532502","value":"","parentId":"532500"},
{"id":"532503","value":"","parentId":"532500"},
{"id":"532523","value":"","parentId":"532500"},
{"id":"532524","value":"","parentId":"532500"},
{"id":"532525","value":"","parentId":"532500"},
{"id":"532526","value":"","parentId":"532500"},
{"id":"532527","value":"","parentId":"532500"},
{"id":"532528","value":"","parentId":"532500"},
{"id":"532529","value":"","parentId":"532500"},
{"id":"532530","value":"","parentId":"532500"},
{"id":"532531","value":"","parentId":"532500"},
{"id":"532532","value":"","parentId":"532500"},
{"id":"532621","value":"","parentId":"532600"},
{"id":"532622","value":"","parentId":"532600"},
{"id":"532623","value":"","parentId":"532600"},
{"id":"532624","value":"","parentId":"532600"},
{"id":"532625","value":"","parentId":"532600"},
{"id":"532626","value":"","parentId":"532600"},
{"id":"532627","value":"","parentId":"532600"},
{"id":"532628","value":"","parentId":"532600"},
{"id":"532801","value":"","parentId":"532800"},
{"id":"532822","value":"","parentId":"532800"},
{"id":"532823","value":"","parentId":"532800"},
{"id":"532901","value":"","parentId":"532900"},
{"id":"532922","value":"","parentId":"532900"},
{"id":"532923","value":"","parentId":"532900"},
{"id":"532924","value":"","parentId":"532900"},
{"id":"532925","value":"","parentId":"532900"},
{"id":"532926","value":"","parentId":"532900"},
{"id":"532927","value":"","parentId":"532900"},
{"id":"532928","value":"","parentId":"532900"},
{"id":"532929","value":"","parentId":"532900"},
{"id":"532930","value":"","parentId":"532900"},
{"id":"532931","value":"","parentId":"532900"},
{"id":"532932","value":"","parentId":"532900"},
{"id":"533102","value":"","parentId":"533100"},
{"id":"533103","value":"","parentId":"533100"},
{"id":"533122","value":"","parentId":"533100"},
{"id":"533123","value":"","parentId":"533100"},
{"id":"533124","value":"","parentId":"533100"},
{"id":"533321","value":"","parentId":"533300"},
{"id":"533323","value":"","parentId":"533300"},
{"id":"533324","value":"","parentId":"533300"},
{"id":"533325","value":"","parentId":"533300"},
{"id":"533421","value":"","parentId":"533400"},
{"id":"533422","value":"","parentId":"533400"},
{"id":"533423","value":"","parentId":"533400"},
{"id":"540102","value":"","parentId":"540100"},
{"id":"540121","value":"","parentId":"540100"},
{"id":"540122","value":"","parentId":"540100"},
{"id":"540123","value":"","parentId":"540100"},
{"id":"540124","value":"","parentId":"540100"},
{"id":"540125","value":"","parentId":"540100"},
{"id":"540126","value":"","parentId":"540100"},
{"id":"540127","value":"","parentId":"540100"},
{"id":"542121","value":"","parentId":"542100"},
{"id":"542122","value":"","parentId":"542100"},
{"id":"542123","value":"","parentId":"542100"},
{"id":"542124","value":"","parentId":"542100"},
{"id":"542125","value":"","parentId":"542100"},
{"id":"542126","value":"","parentId":"542100"},
{"id":"542127","value":"","parentId":"542100"},
{"id":"542128","value":"","parentId":"542100"},
{"id":"542129","value":"","parentId":"542100"},
{"id":"542132","value":"","parentId":"542100"},
{"id":"542133","value":"","parentId":"542100"},
{"id":"542221","value":"","parentId":"542200"},
{"id":"542222","value":"","parentId":"542200"},
{"id":"542223","value":"","parentId":"542200"},
{"id":"542224","value":"","parentId":"542200"},
{"id":"542225","value":"","parentId":"542200"},
{"id":"542226","value":"","parentId":"542200"},
{"id":"542227","value":"","parentId":"542200"},
{"id":"542228","value":"","parentId":"542200"},
{"id":"542229","value":"","parentId":"542200"},
{"id":"542231","value":"","parentId":"542200"},
{"id":"542232","value":"","parentId":"542200"},
{"id":"542233","value":"","parentId":"542200"},
{"id":"542301","value":"","parentId":"542300"},
{"id":"542322","value":"","parentId":"542300"},
{"id":"542323","value":"","parentId":"542300"},
{"id":"542324","value":"","parentId":"542300"},
{"id":"542325","value":"","parentId":"542300"},
{"id":"542326","value":"","parentId":"542300"},
{"id":"542327","value":"","parentId":"542300"},
{"id":"542328","value":"","parentId":"542300"},
{"id":"542329","value":"","parentId":"542300"},
{"id":"542330","value":"","parentId":"542300"},
{"id":"542331","value":"","parentId":"542300"},
{"id":"542332","value":"","parentId":"542300"},
{"id":"542333","value":"","parentId":"542300"},
{"id":"542334","value":"","parentId":"542300"},
{"id":"542335","value":"","parentId":"542300"},
{"id":"542336","value":"","parentId":"542300"},
{"id":"542337","value":"","parentId":"542300"},
{"id":"542338","value":"","parentId":"542300"},
{"id":"542421","value":"","parentId":"542400"},
{"id":"542422","value":"","parentId":"542400"},
{"id":"542423","value":"","parentId":"542400"},
{"id":"542424","value":"","parentId":"542400"},
{"id":"542425","value":"","parentId":"542400"},
{"id":"542426","value":"","parentId":"542400"},
{"id":"542427","value":"","parentId":"542400"},
{"id":"542428","value":"","parentId":"542400"},
{"id":"542429","value":"","parentId":"542400"},
{"id":"542430","value":"","parentId":"542400"},
{"id":"542521","value":"","parentId":"542500"},
{"id":"542522","value":"","parentId":"542500"},
{"id":"542523","value":"","parentId":"542500"},
{"id":"542524","value":"","parentId":"542500"},
{"id":"542525","value":"","parentId":"542500"},
{"id":"542526","value":"","parentId":"542500"},
{"id":"542527","value":"","parentId":"542500"},
{"id":"542621","value":"","parentId":"542600"},
{"id":"542622","value":"","parentId":"542600"},
{"id":"542623","value":"","parentId":"542600"},
{"id":"542624","value":"","parentId":"542600"},
{"id":"542625","value":"","parentId":"542600"},
{"id":"542626","value":"","parentId":"542600"},
{"id":"542627","value":"","parentId":"542600"},
{"id":"610102","value":"","parentId":"610100"},
{"id":"610103","value":"","parentId":"610100"},
{"id":"610104","value":"","parentId":"610100"},
{"id":"610111","value":"","parentId":"610100"},
{"id":"610112","value":"","parentId":"610100"},
{"id":"610113","value":"","parentId":"610100"},
{"id":"610114","value":"","parentId":"610100"},
{"id":"610115","value":"","parentId":"610100"},
{"id":"610116","value":"","parentId":"610100"},
{"id":"610122","value":"","parentId":"610100"},
{"id":"610124","value":"","parentId":"610100"},
{"id":"610125","value":"","parentId":"610100"},
{"id":"610126","value":"","parentId":"610100"},
{"id":"610202","value":"","parentId":"610200"},
{"id":"610203","value":"","parentId":"610200"},
{"id":"610204","value":"","parentId":"610200"},
{"id":"610222","value":"","parentId":"610200"},
{"id":"610302","value":"","parentId":"610300"},
{"id":"610303","value":"","parentId":"610300"},
{"id":"610304","value":"","parentId":"610300"},
{"id":"610322","value":"","parentId":"610300"},
{"id":"610323","value":"","parentId":"610300"},
{"id":"610324","value":"","parentId":"610300"},
{"id":"610326","value":"","parentId":"610300"},
{"id":"610327","value":"","parentId":"610300"},
{"id":"610328","value":"","parentId":"610300"},
{"id":"610329","value":"","parentId":"610300"},
{"id":"610330","value":"","parentId":"610300"},
{"id":"610331","value":"","parentId":"610300"},
{"id":"610402","value":"","parentId":"610400"},
{"id":"610403","value":"","parentId":"610400"},
{"id":"610404","value":"","parentId":"610400"},
{"id":"610422","value":"","parentId":"610400"},
{"id":"610423","value":"","parentId":"610400"},
{"id":"610424","value":"","parentId":"610400"},
{"id":"610425","value":"","parentId":"610400"},
{"id":"610426","value":"","parentId":"610400"},
{"id":"610427","value":"","parentId":"610400"},
{"id":"610428","value":"","parentId":"610400"},
{"id":"610429","value":"","parentId":"610400"},
{"id":"610430","value":"","parentId":"610400"},
{"id":"610431","value":"","parentId":"610400"},
{"id":"610481","value":"","parentId":"610400"},
{"id":"610502","value":"","parentId":"610500"},
{"id":"610521","value":"","parentId":"610500"},
{"id":"610522","value":"","parentId":"610500"},
{"id":"610523","value":"","parentId":"610500"},
{"id":"610524","value":"","parentId":"610500"},
{"id":"610525","value":"","parentId":"610500"},
{"id":"610526","value":"","parentId":"610500"},
{"id":"610527","value":"","parentId":"610500"},
{"id":"610528","value":"","parentId":"610500"},
{"id":"610581","value":"","parentId":"610500"},
{"id":"610582","value":"","parentId":"610500"},
{"id":"610602","value":"","parentId":"610600"},
{"id":"610621","value":"","parentId":"610600"},
{"id":"610622","value":"","parentId":"610600"},
{"id":"610623","value":"","parentId":"610600"},
{"id":"610624","value":"","parentId":"610600"},
{"id":"610625","value":"","parentId":"610600"},
{"id":"610626","value":"","parentId":"610600"},
{"id":"610627","value":"","parentId":"610600"},
{"id":"610628","value":"","parentId":"610600"},
{"id":"610629","value":"","parentId":"610600"},
{"id":"610630","value":"","parentId":"610600"},
{"id":"610631","value":"","parentId":"610600"},
{"id":"610632","value":"","parentId":"610600"},
{"id":"610702","value":"","parentId":"610700"},
{"id":"610721","value":"","parentId":"610700"},
{"id":"610722","value":"","parentId":"610700"},
{"id":"610723","value":"","parentId":"610700"},
{"id":"610724","value":"","parentId":"610700"},
{"id":"610725","value":"","parentId":"610700"},
{"id":"610726","value":"","parentId":"610700"},
{"id":"610727","value":"","parentId":"610700"},
{"id":"610728","value":"","parentId":"610700"},
{"id":"610729","value":"","parentId":"610700"},
{"id":"610730","value":"","parentId":"610700"},
{"id":"610802","value":"","parentId":"610800"},
{"id":"610821","value":"","parentId":"610800"},
{"id":"610822","value":"","parentId":"610800"},
{"id":"610823","value":"","parentId":"610800"},
{"id":"610824","value":"","parentId":"610800"},
{"id":"610825","value":"","parentId":"610800"},
{"id":"610826","value":"","parentId":"610800"},
{"id":"610827","value":"","parentId":"610800"},
{"id":"610828","value":"","parentId":"610800"},
{"id":"610829","value":"","parentId":"610800"},
{"id":"610830","value":"","parentId":"610800"},
{"id":"610831","value":"","parentId":"610800"},
{"id":"610902","value":"","parentId":"610900"},
{"id":"610921","value":"","parentId":"610900"},
{"id":"610922","value":"","parentId":"610900"},
{"id":"610923","value":"","parentId":"610900"},
{"id":"610924","value":"","parentId":"610900"},
{"id":"610925","value":"","parentId":"610900"},
{"id":"610926","value":"","parentId":"610900"},
{"id":"610927","value":"","parentId":"610900"},
{"id":"610928","value":"","parentId":"610900"},
{"id":"610929","value":"","parentId":"610900"},
{"id":"611002","value":"","parentId":"611000"},
{"id":"611021","value":"","parentId":"611000"},
{"id":"611022","value":"","parentId":"611000"},
{"id":"611023","value":"","parentId":"611000"},
{"id":"611024","value":"","parentId":"611000"},
{"id":"611025","value":"","parentId":"611000"},
{"id":"611026","value":"","parentId":"611000"},
{"id":"620102","value":"","parentId":"620100"},
{"id":"620103","value":"","parentId":"620100"},
{"id":"620104","value":"","parentId":"620100"},
{"id":"620105","value":"","parentId":"620100"},
{"id":"620111","value":"","parentId":"620100"},
{"id":"620121","value":"","parentId":"620100"},
{"id":"620122","value":"","parentId":"620100"},
{"id":"620123","value":"","parentId":"620100"},
{"id":"620201","value":"","parentId":"620200"},
{"id":"620302","value":"","parentId":"620300"},
{"id":"620321","value":"","parentId":"620300"},
{"id":"620402","value":"","parentId":"620400"},
{"id":"620403","value":"","parentId":"620400"},
{"id":"620421","value":"","parentId":"620400"},
{"id":"620422","value":"","parentId":"620400"},
{"id":"620423","value":"","parentId":"620400"},
{"id":"620502","value":"","parentId":"620500"},
{"id":"620503","value":"","parentId":"620500"},
{"id":"620521","value":"","parentId":"620500"},
{"id":"620522","value":"","parentId":"620500"},
{"id":"620523","value":"","parentId":"620500"},
{"id":"620524","value":"","parentId":"620500"},
{"id":"620525","value":"","parentId":"620500"},
{"id":"620602","value":"","parentId":"620600"},
{"id":"620621","value":"","parentId":"620600"},
{"id":"620622","value":"","parentId":"620600"},
{"id":"620623","value":"","parentId":"620600"},
{"id":"620702","value":"","parentId":"620700"},
{"id":"620721","value":"","parentId":"620700"},
{"id":"620722","value":"","parentId":"620700"},
{"id":"620723","value":"","parentId":"620700"},
{"id":"620724","value":"","parentId":"620700"},
{"id":"620725","value":"","parentId":"620700"},
{"id":"620802","value":"","parentId":"620800"},
{"id":"620821","value":"","parentId":"620800"},
{"id":"620822","value":"","parentId":"620800"},
{"id":"620823","value":"","parentId":"620800"},
{"id":"620824","value":"","parentId":"620800"},
{"id":"620825","value":"","parentId":"620800"},
{"id":"620826","value":"","parentId":"620800"},
{"id":"620902","value":"","parentId":"620900"},
{"id":"620921","value":"","parentId":"620900"},
{"id":"620922","value":"","parentId":"620900"},
{"id":"620923","value":"","parentId":"620900"},
{"id":"620924","value":"","parentId":"620900"},
{"id":"620981","value":"","parentId":"620900"},
{"id":"620982","value":"","parentId":"620900"},
{"id":"621002","value":"","parentId":"621000"},
{"id":"621021","value":"","parentId":"621000"},
{"id":"621022","value":"","parentId":"621000"},
{"id":"621023","value":"","parentId":"621000"},
{"id":"621024","value":"","parentId":"621000"},
{"id":"621025","value":"","parentId":"621000"},
{"id":"621026","value":"","parentId":"621000"},
{"id":"621027","value":"","parentId":"621000"},
{"id":"621102","value":"","parentId":"621100"},
{"id":"621121","value":"","parentId":"621100"},
{"id":"621122","value":"","parentId":"621100"},
{"id":"621123","value":"","parentId":"621100"},
{"id":"621124","value":"","parentId":"621100"},
{"id":"621125","value":"","parentId":"621100"},
{"id":"621126","value":"","parentId":"621100"},
{"id":"621202","value":"","parentId":"621200"},
{"id":"621221","value":"","parentId":"621200"},
{"id":"621222","value":"","parentId":"621200"},
{"id":"621223","value":"","parentId":"621200"},
{"id":"621224","value":"","parentId":"621200"},
{"id":"621225","value":"","parentId":"621200"},
{"id":"621226","value":"","parentId":"621200"},
{"id":"621227","value":"","parentId":"621200"},
{"id":"621228","value":"","parentId":"621200"},
{"id":"622901","value":"","parentId":"622900"},
{"id":"622921","value":"","parentId":"622900"},
{"id":"622922","value":"","parentId":"622900"},
{"id":"622923","value":"","parentId":"622900"},
{"id":"622924","value":"","parentId":"622900"},
{"id":"622925","value":"","parentId":"622900"},
{"id":"622926","value":"","parentId":"622900"},
{"id":"622927","value":"","parentId":"622900"},
{"id":"623001","value":"","parentId":"623000"},
{"id":"623021","value":"","parentId":"623000"},
{"id":"623022","value":"","parentId":"623000"},
{"id":"623023","value":"","parentId":"623000"},
{"id":"623024","value":"","parentId":"623000"},
{"id":"623025","value":"","parentId":"623000"},
{"id":"623026","value":"","parentId":"623000"},
{"id":"623027","value":"","parentId":"623000"},
{"id":"630102","value":"","parentId":"630100"},
{"id":"630103","value":"","parentId":"630100"},
{"id":"630104","value":"","parentId":"630100"},
{"id":"630105","value":"","parentId":"630100"},
{"id":"630121","value":"","parentId":"630100"},
{"id":"630122","value":"","parentId":"630100"},
{"id":"630123","value":"","parentId":"630100"},
{"id":"632121","value":"","parentId":"632100"},
{"id":"632122","value":"","parentId":"632100"},
{"id":"632123","value":"","parentId":"632100"},
{"id":"632126","value":"","parentId":"632100"},
{"id":"632127","value":"","parentId":"632100"},
{"id":"632128","value":"","parentId":"632100"},
{"id":"632221","value":"","parentId":"632200"},
{"id":"632222","value":"","parentId":"632200"},
{"id":"632223","value":"","parentId":"632200"},
{"id":"632224","value":"","parentId":"632200"},
{"id":"632321","value":"","parentId":"632300"},
{"id":"632322","value":"","parentId":"632300"},
{"id":"632323","value":"","parentId":"632300"},
{"id":"632324","value":"","parentId":"632300"},
{"id":"632521","value":"","parentId":"632500"},
{"id":"632522","value":"","parentId":"632500"},
{"id":"632523","value":"","parentId":"632500"},
{"id":"632524","value":"","parentId":"632500"},
{"id":"632525","value":"","parentId":"632500"},
{"id":"632621","value":"","parentId":"632600"},
{"id":"632622","value":"","parentId":"632600"},
{"id":"632623","value":"","parentId":"632600"},
{"id":"632624","value":"","parentId":"632600"},
{"id":"632625","value":"","parentId":"632600"},
{"id":"632626","value":"","parentId":"632600"},
{"id":"632721","value":"","parentId":"632700"},
{"id":"632722","value":"","parentId":"632700"},
{"id":"632723","value":"","parentId":"632700"},
{"id":"632724","value":"","parentId":"632700"},
{"id":"632725","value":"","parentId":"632700"},
{"id":"632726","value":"","parentId":"632700"},
{"id":"632801","value":"","parentId":"632800"},
{"id":"632802","value":"","parentId":"632800"},
{"id":"632821","value":"","parentId":"632800"},
{"id":"632822","value":"","parentId":"632800"},
{"id":"632823","value":"","parentId":"632800"},
{"id":"640104","value":"","parentId":"640100"},
{"id":"640105","value":"","parentId":"640100"},
{"id":"640106","value":"","parentId":"640100"},
{"id":"640121","value":"","parentId":"640100"},
{"id":"640122","value":"","parentId":"640100"},
{"id":"640181","value":"","parentId":"640100"},
{"id":"640202","value":"","parentId":"640200"},
{"id":"640205","value":"","parentId":"640200"},
{"id":"640221","value":"","parentId":"640200"},
{"id":"640302","value":"","parentId":"640300"},
{"id":"640303","value":"","parentId":"640300"},
{"id":"640323","value":"","parentId":"640300"},
{"id":"640324","value":"","parentId":"640300"},
{"id":"640381","value":"","parentId":"640300"},
{"id":"640402","value":"","parentId":"640400"},
{"id":"640422","value":"","parentId":"640400"},
{"id":"640423","value":"","parentId":"640400"},
{"id":"640424","value":"","parentId":"640400"},
{"id":"640425","value":"","parentId":"640400"},
{"id":"640502","value":"","parentId":"640500"},
{"id":"640521","value":"","parentId":"640500"},
{"id":"640522","value":"","parentId":"640500"},
{"id":"650102","value":"","parentId":"650100"},
{"id":"650103","value":"","parentId":"650100"},
{"id":"650104","value":"","parentId":"650100"},
{"id":"650105","value":"","parentId":"650100"},
{"id":"650106","value":"","parentId":"650100"},
{"id":"650107","value":"","parentId":"650100"},
{"id":"650109","value":"","parentId":"650100"},
{"id":"650121","value":"","parentId":"650100"},
{"id":"650202","value":"","parentId":"650200"},
{"id":"650203","value":"","parentId":"650200"},
{"id":"650204","value":"","parentId":"650200"},
{"id":"650205","value":"","parentId":"650200"},
{"id":"652101","value":"","parentId":"652100"},
{"id":"652122","value":"","parentId":"652100"},
{"id":"652123","value":"","parentId":"652100"},
{"id":"652201","value":"","parentId":"652200"},
{"id":"652222","value":"","parentId":"652200"},
{"id":"652223","value":"","parentId":"652200"},
{"id":"652301","value":"","parentId":"652300"},
{"id":"652302","value":"","parentId":"652300"},
{"id":"652323","value":"","parentId":"652300"},
{"id":"652324","value":"","parentId":"652300"},
{"id":"652325","value":"","parentId":"652300"},
{"id":"652327","value":"","parentId":"652300"},
{"id":"652328","value":"","parentId":"652300"},
{"id":"652701","value":"","parentId":"652700"},
{"id":"652722","value":"","parentId":"652700"},
{"id":"652723","value":"","parentId":"652700"},
{"id":"652801","value":"","parentId":"652800"},
{"id":"652822","value":"","parentId":"652800"},
{"id":"652823","value":"","parentId":"652800"},
{"id":"652824","value":"","parentId":"652800"},
{"id":"652825","value":"","parentId":"652800"},
{"id":"652826","value":"","parentId":"652800"},
{"id":"652827","value":"","parentId":"652800"},
{"id":"652828","value":"","parentId":"652800"},
{"id":"652829","value":"","parentId":"652800"},
{"id":"652901","value":"","parentId":"652900"},
{"id":"652922","value":"","parentId":"652900"},
{"id":"652923","value":"","parentId":"652900"},
{"id":"652924","value":"","parentId":"652900"},
{"id":"652925","value":"","parentId":"652900"},
{"id":"652926","value":"","parentId":"652900"},
{"id":"652927","value":"","parentId":"652900"},
{"id":"652928","value":"","parentId":"652900"},
{"id":"652929","value":"","parentId":"652900"},
{"id":"653001","value":"","parentId":"653000"},
{"id":"653022","value":"","parentId":"653000"},
{"id":"653023","value":"","parentId":"653000"},
{"id":"653024","value":"","parentId":"653000"},
{"id":"653101","value":"","parentId":"653100"},
{"id":"653121","value":"","parentId":"653100"},
{"id":"653122","value":"","parentId":"653100"},
{"id":"653123","value":"","parentId":"653100"},
{"id":"653124","value":"","parentId":"653100"},
{"id":"653125","value":"","parentId":"653100"},
{"id":"653126","value":"","parentId":"653100"},
{"id":"653127","value":"","parentId":"653100"},
{"id":"653128","value":"","parentId":"653100"},
{"id":"653129","value":"","parentId":"653100"},
{"id":"653130","value":"","parentId":"653100"},
{"id":"653131","value":"","parentId":"653100"},
{"id":"653201","value":"","parentId":"653200"},
{"id":"653221","value":"","parentId":"653200"},
{"id":"653222","value":"","parentId":"653200"},
{"id":"653223","value":"","parentId":"653200"},
{"id":"653224","value":"","parentId":"653200"},
{"id":"653225","value":"","parentId":"653200"},
{"id":"653226","value":"","parentId":"653200"},
{"id":"653227","value":"","parentId":"653200"},
{"id":"654002","value":"","parentId":"654000"},
{"id":"654003","value":"","parentId":"654000"},
{"id":"654021","value":"","parentId":"654000"},
{"id":"654022","value":"","parentId":"654000"},
{"id":"654023","value":"","parentId":"654000"},
{"id":"654024","value":"","parentId":"654000"},
{"id":"654025","value":"","parentId":"654000"},
{"id":"654026","value":"","parentId":"654000"},
{"id":"654027","value":"","parentId":"654000"},
{"id":"654028","value":"","parentId":"654000"},
{"id":"654201","value":"","parentId":"654200"},
{"id":"654202","value":"","parentId":"654200"},
{"id":"654221","value":"","parentId":"654200"},
{"id":"654223","value":"","parentId":"654200"},
{"id":"654224","value":"","parentId":"654200"},
{"id":"654225","value":"","parentId":"654200"},
{"id":"654226","value":"","parentId":"654200"},
{"id":"654301","value":"","parentId":"654300"},
{"id":"654321","value":"","parentId":"654300"},
{"id":"654322","value":"","parentId":"654300"},
{"id":"654323","value":"","parentId":"654300"},
{"id":"654324","value":"","parentId":"654300"},
{"id":"654325","value":"","parentId":"654300"},
{"id":"654326","value":"","parentId":"654300"},
{"id":"659001","value":"","parentId":"659001"},
{"id":"659002","value":"","parentId":"659002"},
{"id":"659003","value":"","parentId":"659003"},
{"id":"659004","value":"","parentId":"659004"}
]';
$provinceStr=json_decode($provinceStr, true);
$cityStr=json_decode($cityStr, true);
$districtStr=json_decode($districtStr, true);
// ID
if (is_numeric($city)) {
foreach ($districtStr as $key => $value) {
if ($value['parentId']==$city) {
$arr[]=$value;
}
}
} elseif (is_numeric($province)) { // ID
foreach ($cityStr as $key => $value) {
if ($value['parentId']==$province) {
$arr[]=$value;
}
}
} else { //
$arr=$provinceStr;
}
echo json_encode($arr);
```
|
/content/code_sandbox/demo/ajax/area.php
|
php
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 45,384
|
```javascript
/** vim: et:ts=4:sw=4:sts=4
* Released under MIT license, path_to_url
*/
var requirejs,require,define;!function(global,setTimeout){function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){if(e){var i;for(i=0;i<e.length&&(!e[i]||!t(e[i],i,e));i+=1);}}function eachReverse(e,t){if(e){var i;for(i=e.length-1;i>-1&&(!e[i]||!t(e[i],i,e));i-=1);}}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var i;for(i in e)if(hasProp(e,i)&&t(e[i],i))break}function mixin(e,t,i,r){return t&&eachProp(t,function(t,n){!i&&hasProp(e,n)||(!r||"object"!=typeof t||!t||isArray(t)||isFunction(t)||t instanceof RegExp?e[n]=t:(e[n]||(e[n]={}),mixin(e[n],t,i,r)))}),e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),function(e){t=t[e]}),t}function makeError(e,t,i,r){var n=new Error(t+"\npath_to_url#"+e);return n.requireType=e,n.requireModules=r,i&&(n.originalError=i),n}function newContext(e){function t(e){var t,i;for(t=0;t<e.length;t++)if(i=e[t],"."===i)e.splice(t,1),t-=1;else if(".."===i){if(0===t||1===t&&".."===e[2]||".."===e[t-1])continue;t>0&&(e.splice(t-1,2),t-=2)}}function i(e,i,r){var n,o,a,s,u,c,d,p,f,l,h,m,g=i&&i.split("/"),v=y.map,x=v&&v["*"];if(e&&(e=e.split("/"),d=e.length-1,y.nodeIdCompat&&jsSuffixRegExp.test(e[d])&&(e[d]=e[d].replace(jsSuffixRegExp,"")),"."===e[0].charAt(0)&&g&&(m=g.slice(0,g.length-1),e=m.concat(e)),t(e),e=e.join("/")),r&&v&&(g||x)){a=e.split("/");e:for(s=a.length;s>0;s-=1){if(c=a.slice(0,s).join("/"),g)for(u=g.length;u>0;u-=1)if(o=getOwn(v,g.slice(0,u).join("/")),o&&(o=getOwn(o,c))){p=o,f=s;break e}!l&&x&&getOwn(x,c)&&(l=getOwn(x,c),h=s)}!p&&l&&(p=l,f=h),p&&(a.splice(0,f,p),e=a.join("/"))}return n=getOwn(y.pkgs,e),n?n:e}function r(e){isBrowser&&each(scripts(),function(t){if(t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===q.contextName)return t.parentNode.removeChild(t),!0})}function n(e){var t=getOwn(y.paths,e);if(t&&isArray(t)&&t.length>1)return t.shift(),q.require.undef(e),q.makeRequire(null,{skipMap:!0})([e]),!0}function o(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function a(e,t,r,n){var a,s,u,c,d=null,p=t?t.name:null,f=e,l=!0,h="";return e||(l=!1,e="_@r"+(T+=1)),c=o(e),d=c[0],e=c[1],d&&(d=i(d,p,n),s=getOwn(j,d)),e&&(d?h=r?e:s&&s.normalize?s.normalize(e,function(e){return i(e,p,n)}):e.indexOf("!")===-1?i(e,p,n):e:(h=i(e,p,n),c=o(h),d=c[0],h=c[1],r=!0,a=q.nameToUrl(h))),u=!d||s||r?"":"_unnormalized"+(A+=1),{prefix:d,name:h,parentMap:t,unnormalized:!!u,url:a,originalName:f,isDefine:l,id:(d?d+"!"+h:h)+u}}function s(e){var t=e.id,i=getOwn(S,t);return i||(i=S[t]=new q.Module(e)),i}function u(e,t,i){var r=e.id,n=getOwn(S,r);!hasProp(j,r)||n&&!n.defineEmitComplete?(n=s(e),n.error&&"error"===t?i(n.error):n.on(t,i)):"defined"===t&&i(j[r])}function c(e,t){var i=e.requireModules,r=!1;t?t(e):(each(i,function(t){var i=getOwn(S,t);i&&(i.error=e,i.events.error&&(r=!0,i.emit("error",e)))}),r||req.onError(e))}function d(){globalDefQueue.length&&(each(globalDefQueue,function(e){var t=e[0];"string"==typeof t&&(q.defQueueMap[t]=!0),O.push(e)}),globalDefQueue=[])}function p(e){delete S[e],delete k[e]}function f(e,t,i){var r=e.map.id;e.error?e.emit("error",e.error):(t[r]=!0,each(e.depMaps,function(r,n){var o=r.id,a=getOwn(S,o);!a||e.depMatched[n]||i[o]||(getOwn(t,o)?(e.defineDep(n,j[o]),e.check()):f(a,t,i))}),i[r]=!0)}function l(){var e,t,i=1e3*y.waitSeconds,o=i&&q.startTime+i<(new Date).getTime(),a=[],s=[],u=!1,d=!0;if(!x){if(x=!0,eachProp(k,function(e){var i=e.map,c=i.id;if(e.enabled&&(i.isDefine||s.push(e),!e.error))if(!e.inited&&o)n(c)?(t=!0,u=!0):(a.push(c),r(c));else if(!e.inited&&e.fetched&&i.isDefine&&(u=!0,!i.prefix))return d=!1}),o&&a.length)return e=makeError("timeout","Load timeout for modules: "+a,null,a),e.contextName=q.contextName,c(e);d&&each(s,function(e){f(e,{},{})}),o&&!t||!u||!isBrowser&&!isWebWorker||w||(w=setTimeout(function(){w=0,l()},50)),x=!1}}function h(e){hasProp(j,e[0])||s(a(e[0],null,!0)).init(e[1],e[2])}function m(e,t,i,r){e.detachEvent&&!isOpera?r&&e.detachEvent(r,t):e.removeEventListener(i,t,!1)}function g(e){var t=e.currentTarget||e.srcElement;return m(t,q.onScriptLoad,"load","onreadystatechange"),m(t,q.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function v(){var e;for(d();O.length;){if(e=O.shift(),null===e[0])return c(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));h(e)}q.defQueueMap={}}var x,b,q,E,w,y={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},S={},k={},M={},O=[],j={},P={},R={},T=1,A=1;return E={require:function(e){return e.require?e.require:e.require=q.makeRequire(e.map)},exports:function(e){if(e.usingExports=!0,e.map.isDefine)return e.exports?j[e.map.id]=e.exports:e.exports=j[e.map.id]={}},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(y.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}},b=function(e){this.events=getOwn(M,e.id)||{},this.map=e,this.shim=getOwn(y.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},b.prototype={init:function(e,t,i,r){r=r||{},this.inited||(this.factory=t,i?this.on("error",i):this.events.error&&(i=bind(this,function(e){this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=i,this.inited=!0,this.ignore=r.ignore,r.enabled||this.enabled?this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,q.startTime=(new Date).getTime();var e=this.map;return this.shim?void q.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()})):e.prefix?this.callPlugin():this.load()}},load:function(){var e=this.map.url;P[e]||(P[e]=!0,q.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var e,t,i=this.map.id,r=this.depExports,n=this.exports,o=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(o)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{n=q.execCb(i,o,r,n)}catch(t){e=t}else n=q.execCb(i,o,r,n);if(this.map.isDefine&&void 0===n&&(t=this.module,t?n=t.exports:this.usingExports&&(n=this.exports)),e)return e.requireMap=this.map,e.requireModules=this.map.isDefine?[this.map.id]:null,e.requireType=this.map.isDefine?"define":"require",c(this.error=e)}else n=o;if(this.exports=n,this.map.isDefine&&!this.ignore&&(j[i]=n,req.onResourceLoad)){var a=[];each(this.depMaps,function(e){a.push(e.normalizedMap||e)}),req.onResourceLoad(q,this.map,a)}p(i),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(q.defQueueMap,i)||this.fetch()}},callPlugin:function(){var e=this.map,t=e.id,r=a(e.prefix);this.depMaps.push(r),u(r,"defined",bind(this,function(r){var n,o,d,f=getOwn(R,this.map.id),l=this.map.name,h=this.map.parentMap?this.map.parentMap.name:null,m=q.makeRequire(e.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(r.normalize&&(l=r.normalize(l,function(e){return i(e,h,!0)})||""),o=a(e.prefix+"!"+l,this.map.parentMap,!0),u(o,"defined",bind(this,function(e){this.map.normalizedMap=o,this.init([],function(){return e},null,{enabled:!0,ignore:!0})})),d=getOwn(S,o.id),void(d&&(this.depMaps.push(o),this.events.error&&d.on("error",bind(this,function(e){this.emit("error",e)})),d.enable()))):f?(this.map.url=q.nameToUrl(f),void this.load()):(n=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})}),n.error=bind(this,function(e){this.inited=!0,this.error=e,e.requireModules=[t],eachProp(S,function(e){0===e.map.id.indexOf(t+"_unnormalized")&&p(e.map.id)}),c(e)}),n.fromText=bind(this,function(i,r){var o=e.name,u=a(o),d=useInteractive;r&&(i=r),d&&(useInteractive=!1),s(u),hasProp(y.config,t)&&(y.config[o]=y.config[t]);try{req.exec(i)}catch(e){return c(makeError("fromtexteval","fromText eval for "+t+" failed: "+e,e,[t]))}d&&(useInteractive=!0),this.depMaps.push(u),q.completeLoad(o),m([o],n)}),void r.load(e.name,m,n,y))})),q.enable(r,this),this.pluginMaps[r.id]=r},enable:function(){k[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(e,t){var i,r,n;if("string"==typeof e){if(e=a(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,n=getOwn(E,e.id))return void(this.depExports[t]=n(this));this.depCount+=1,u(e,"defined",bind(this,function(e){this.undefed||(this.defineDep(t,e),this.check())})),this.errback?u(e,"error",bind(this,this.errback)):this.events.error&&u(e,"error",bind(this,function(e){this.emit("error",e)}))}i=e.id,r=S[i],hasProp(E,i)||!r||r.enabled||q.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(S,e.id);t&&!t.enabled&&q.enable(e,this)})),this.enabling=!1,this.check()},on:function(e,t){var i=this.events[e];i||(i=this.events[e]=[]),i.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)}),"error"===e&&delete this.events[e]}},q={config:y,contextName:e,registry:S,defined:j,urlFetched:P,defQueue:O,defQueueMap:{},Module:b,makeModuleMap:a,nextTick:req.nextTick,onError:c,configure:function(e){if(e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/"),"string"==typeof e.urlArgs){var t=e.urlArgs;e.urlArgs=function(e,i){return(i.indexOf("?")===-1?"?":"&")+t}}var i=y.shim,r={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,function(e,t){r[t]?(y[t]||(y[t]={}),mixin(y[t],e,!0,!0)):y[t]=e}),e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!==t&&(R[e]=t)})}),e.shim&&(eachProp(e.shim,function(e,t){isArray(e)&&(e={deps:e}),!e.exports&&!e.init||e.exportsFn||(e.exportsFn=q.makeShimExports(e)),i[t]=e}),y.shim=i),e.packages&&each(e.packages,function(e){var t,i;e="string"==typeof e?{name:e}:e,i=e.name,t=e.location,t&&(y.paths[i]=e.location),y.pkgs[i]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(S,function(e,t){e.inited||e.map.unnormalized||(e.map=a(t,null,!0))}),(e.deps||e.callback)&&q.require(e.deps||[],e.callback)},makeShimExports:function(e){function t(){var t;return e.init&&(t=e.init.apply(global,arguments)),t||e.exports&&getGlobal(e.exports)}return t},makeRequire:function(t,n){function o(i,r,u){var d,p,f;return n.enableBuildCallback&&r&&isFunction(r)&&(r.__requireJsBuild=!0),"string"==typeof i?isFunction(r)?c(makeError("requireargs","Invalid require call"),u):t&&hasProp(E,i)?E[i](S[t.id]):req.get?req.get(q,i,t,o):(p=a(i,t,!1,!0),d=p.id,hasProp(j,d)?j[d]:c(makeError("notloaded",'Module name "'+d+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))):(v(),q.nextTick(function(){v(),f=s(a(null,t)),f.skipMap=n.skipMap,f.init(i,r,u,{enabled:!0}),l()}),o)}return n=n||{},mixin(o,{isBrowser:isBrowser,toUrl:function(e){var r,n=e.lastIndexOf("."),o=e.split("/")[0],a="."===o||".."===o;return n!==-1&&(!a||n>1)&&(r=e.substring(n,e.length),e=e.substring(0,n)),q.nameToUrl(i(e,t&&t.id,!0),r,!0)},defined:function(e){return hasProp(j,a(e,t,!1,!0).id)},specified:function(e){return e=a(e,t,!1,!0).id,hasProp(j,e)||hasProp(S,e)}}),t||(o.undef=function(e){d();var i=a(e,t,!0),n=getOwn(S,e);n.undefed=!0,r(e),delete j[e],delete P[i.url],delete M[e],eachReverse(O,function(t,i){t[0]===e&&O.splice(i,1)}),delete q.defQueueMap[e],n&&(n.events.defined&&(M[e]=n.events),p(e))}),o},enable:function(e){var t=getOwn(S,e.id);t&&s(e).enable()},completeLoad:function(e){var t,i,r,o=getOwn(y.shim,e)||{},a=o.exports;for(d();O.length;){if(i=O.shift(),null===i[0]){if(i[0]=e,t)break;t=!0}else i[0]===e&&(t=!0);h(i)}if(q.defQueueMap={},r=getOwn(S,e),!t&&!hasProp(j,e)&&r&&!r.inited){if(!(!y.enforceDefine||a&&getGlobal(a)))return n(e)?void 0:c(makeError("nodefine","No define call for "+e,null,[e]));h([e,o.deps||[],o.exportsFn])}l()},nameToUrl:function(e,t,i){var r,n,o,a,s,u,c,d=getOwn(y.pkgs,e);if(d&&(e=d),c=getOwn(R,e))return q.nameToUrl(c,t,i);if(req.jsExtRegExp.test(e))s=e+(t||"");else{for(r=y.paths,n=e.split("/"),o=n.length;o>0;o-=1)if(a=n.slice(0,o).join("/"),u=getOwn(r,a)){isArray(u)&&(u=u[0]),n.splice(0,o,u);break}s=n.join("/"),s+=t||(/^data\:|^blob\:|\?/.test(s)||i?"":".js"),s=("/"===s.charAt(0)||s.match(/^[\w\+\.\-]+:/)?"":y.baseUrl)+s}return y.urlArgs&&!/^blob\:/.test(s)?s+y.urlArgs(e,s):s},load:function(e,t){req.load(q,e,t)},execCb:function(e,t,i,r){return t.apply(r,i)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=g(e);q.completeLoad(t.id)}},onScriptError:function(e){var t=g(e);if(!n(t.id)){var i=[];return eachProp(S,function(e,r){0!==r.indexOf("_@r")&&each(e.depMaps,function(e){if(e.id===t.id)return i.push(r),!0})}),c(makeError("scripterror",'Script error for "'+t.id+(i.length?'", needed by: '+i.join(", "):'"'),e,[t.id]))}}},q.require=q.makeRequire(),q}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(e){if("interactive"===e.readyState)return interactiveScript=e}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.3",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if("undefined"==typeof define){if("undefined"!=typeof requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}"undefined"==typeof require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(e,t,i,r){var n,o,a=defContextName;return isArray(e)||"string"==typeof e||(o=e,isArray(t)?(e=t,t=i,i=r):e=[]),o&&o.context&&(a=o.context),n=getOwn(contexts,a),n||(n=contexts[a]=req.s.newContext(a)),o&&n.configure(o),n.require(e,t,i)},req.config=function(e){return req(e)},req.nextTick="undefined"!=typeof setTimeout?function(e){setTimeout(e,4)}:function(e){e()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,i){var r=e.xhtml?document.createElementNS("path_to_url","html:script"):document.createElement("script");return r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r},req.load=function(e,t,i){var r,n=e&&e.config||{};if(isBrowser)return r=req.createNode(n,t,i),r.setAttribute("data-requirecontext",e.contextName),r.setAttribute("data-requiremodule",t),!r.attachEvent||r.attachEvent.toString&&r.attachEvent.toString().indexOf("[native code")<0||isOpera?(r.addEventListener("load",e.onScriptLoad,!1),r.addEventListener("error",e.onScriptError,!1)):(useInteractive=!0,r.attachEvent("onreadystatechange",e.onScriptLoad)),r.src=i,n.onNodeCreated&&n.onNodeCreated(r,n,t,i),currentlyAddingScript=r,baseElement?head.insertBefore(r,baseElement):head.appendChild(r),currentlyAddingScript=null,r;if(isWebWorker)try{setTimeout(function(){},0),importScripts(i),e.completeLoad(t)}catch(r){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+i,r,[t]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){if(head||(head=e.parentNode),dataMain=e.getAttribute("data-main"))return mainScript=dataMain,cfg.baseUrl||mainScript.indexOf("!")!==-1||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(e,t,i){var r,n;"string"!=typeof e&&(i=t,t=e,e=null),isArray(t)||(i=t,t=null),!t&&isFunction(i)&&(t=[],i.length&&(i.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,function(e,i){t.push(i)}),t=(1===i.length?["require"]:["require","exports","module"]).concat(t))),useInteractive&&(r=currentlyAddingScript||getInteractiveScript(),r&&(e||(e=r.getAttribute("data-requiremodule")),n=contexts[r.getAttribute("data-requirecontext")])),n?(n.defQueue.push([e,t,i]),n.defQueueMap[e]=!0):globalDefQueue.push([e,t,i])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}}(this,"undefined"==typeof setTimeout?void 0:setTimeout);
```
|
/content/code_sandbox/demo/ajax/angular/assets/requirejs/require.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 5,595
|
```javascript
/*
AngularJS v1.2.0-rc.3
(c) 2010-2012 Google, Inc. path_to_url
*/
(function(Y,R,s){'use strict';function D(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] path_to_url"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function nb(b){if(null==b||ya(b))return!1;
var a=b.length;return 1===b.nodeType&&a?!0:F(b)||H(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function p(b,a,c){var d;if(b)if(E(b))for(d in b)"prototype"!=d&&("length"!=d&&"name"!=d&&b.hasOwnProperty(d))&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==p)b.forEach(a,c);else if(nb(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function Lb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function Gc(b,a,c){for(var d=
Lb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function Mb(b){return function(a,c){b(c,a)}}function Va(){for(var b=ia.length,a;b;){b--;a=ia[b].charCodeAt(0);if(57==a)return ia[b]="A",ia.join("");if(90==a)ia[b]="0";else return ia[b]=String.fromCharCode(a+1),ia.join("")}ia.unshift("0");return ia.join("")}function Nb(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function G(b){var a=b.$$hashKey;p(arguments,function(a){a!==b&&p(a,function(a,c){b[c]=a})});Nb(b,a);return b}function W(b){return parseInt(b,
10)}function Hc(b,a){return G(new (G(function(){},{prototype:b})),a)}function v(){}function za(b){return b}function aa(b){return function(){return b}}function z(b){return"undefined"==typeof b}function w(b){return"undefined"!=typeof b}function S(b){return null!=b&&"object"==typeof b}function F(b){return"string"==typeof b}function ob(b){return"number"==typeof b}function Ha(b){return"[object Date]"==Wa.apply(b)}function H(b){return"[object Array]"==Wa.apply(b)}function E(b){return"function"==typeof b}
function Xa(b){return"[object RegExp]"==Wa.apply(b)}function ya(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function Ic(b){return b&&(b.nodeName||b.on&&b.find)}function Jc(b,a,c){var d=[];p(b,function(b,f,g){d.push(a.call(c,b,f,g))});return d}function Ya(b,a){if(b.indexOf)return b.indexOf(a);for(var c=0;c<b.length;c++)if(a===b[c])return c;return-1}function Ia(b,a){var c=Ya(b,a);0<=c&&b.splice(c,1);return a}function fa(b,a){if(ya(b)||b&&b.$evalAsync&&b.$watch)throw Ja("cpws");if(a){if(b===
a)throw Ja("cpi");if(H(b))for(var c=a.length=0;c<b.length;c++)a.push(fa(b[c]));else{c=a.$$hashKey;p(a,function(b,c){delete a[c]});for(var d in b)a[d]=fa(b[d]);Nb(a,c)}}else(a=b)&&(H(b)?a=fa(b,[]):Ha(b)?a=new Date(b.getTime()):Xa(b)?a=RegExp(b.source):S(b)&&(a=fa(b,{})));return a}function Kc(b,a){a=a||{};for(var c in b)b.hasOwnProperty(c)&&"$$"!==c.substr(0,2)&&(a[c]=b[c]);return a}function Aa(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&
"object"==c)if(H(b)){if(!H(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!Aa(b[d],a[d]))return!1;return!0}}else{if(Ha(b))return Ha(a)&&b.getTime()==a.getTime();if(Xa(b)&&Xa(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||ya(b)||ya(a)||H(a))return!1;c={};for(d in b)if("$"!==d.charAt(0)&&!E(b[d])){if(!Aa(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==s&&!E(a[d]))return!1;return!0}return!1}function pb(b,
a){var c=2<arguments.length?ua.call(arguments,2):[];return!E(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,c.concat(ua.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}}function Lc(b,a){var c=a;"string"===typeof b&&"$"===b.charAt(0)?c=s:ya(a)?c="$WINDOW":a&&R===a?c="$DOCUMENT":a&&(a.$evalAsync&&a.$watch)&&(c="$SCOPE");return c}function oa(b,a){return"undefined"===typeof b?s:JSON.stringify(b,Lc,a?" ":null)}function Ob(b){return F(b)?
JSON.parse(b):b}function Ka(b){b&&0!==b.length?(b=B(""+b),b=!("f"==b||"0"==b||"false"==b||"no"==b||"n"==b||"[]"==b)):b=!1;return b}function ga(b){b=x(b).clone();try{b.html("")}catch(a){}var c=x("<div>").append(b).html();try{return 3===b[0].nodeType?B(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+B(b)})}catch(d){return B(c)}}function Pb(b){try{return decodeURIComponent(b)}catch(a){}}function Qb(b){var a={},c,d;p((b||"").split("&"),function(b){b&&(c=b.split("="),d=Pb(c[0]),
w(d)&&(b=w(c[1])?Pb(c[1]):!0,a[d]?H(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Rb(b){var a=[];p(b,function(b,d){H(b)?p(b,function(b){a.push(va(d,!0)+(!0===b?"":"="+va(b,!0)))}):a.push(va(d,!0)+(!0===b?"":"="+va(b,!0)))});return a.length?a.join("&"):""}function qb(b){return va(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function va(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,
a?"%20":"+")}function Mc(b,a){function c(a){a&&d.push(a)}var d=[b],e,f,g=["ng:app","ng-app","x-ng-app","data-ng-app"],h=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;p(g,function(a){g[a]=!0;c(R.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(p(b.querySelectorAll("."+a),c),p(b.querySelectorAll("."+a+"\\:"),c),p(b.querySelectorAll("["+a+"]"),c))});p(d,function(a){if(!e){var b=h.exec(" "+a.className+" ");b?(e=a,f=(b[2]||"").replace(/\s+/g,",")):p(a.attributes,function(b){!e&&g[b.name]&&(e=a,f=b.value)})}});
e&&a(e,f?[f]:[])}function Sb(b,a){var c=function(){b=x(b);if(b.injector()){var c=b[0]===R?"document":ga(b);throw Ja("btstrpd",c);}a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");c=Tb(a);c.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(a,b,c,d,e){a.$apply(function(){b.data("$injector",d);c(b)(a)});e.enabled(!0)}]);return c},d=/^NG_DEFER_BOOTSTRAP!/;if(Y&&!d.test(Y.name))return c();Y.name=Y.name.replace(d,"");Za.resumeBootstrap=
function(b){p(b,function(b){a.push(b)});c()}}function $a(b,a){a=a||"_";return b.replace(Nc,function(b,d){return(d?a:"")+b.toLowerCase()})}function rb(b,a,c){if(!b)throw Ja("areq",a||"?",c||"required");return b}function La(b,a,c){c&&H(b)&&(b=b[b.length-1]);rb(E(b),a,"not a function, got "+(b&&"object"==typeof b?b.constructor.name||"Object":typeof b));return b}function pa(b,a){if("hasOwnProperty"===b)throw Ja("badname",a);}function sb(b,a,c){if(!a)return b;a=a.split(".");for(var d,e=b,f=a.length,g=
0;g<f;g++)d=a[g],b&&(b=(e=b)[d]);return!c&&E(b)?pb(e,b):b}function Oc(b){function a(a,b,c){return a[b]||(a[b]=c())}var c=D("$injector");return a(a(b,"angular",Object),"module",function(){var b={};return function(e,f,g){pa(e,"module");f&&b.hasOwnProperty(e)&&(b[e]=null);return a(b,e,function(){function a(c,d,e){return function(){b[e||"push"]([c,d,arguments]);return r}}if(!f)throw c("nomod",e);var b=[],d=[],l=a("$injector","invoke"),r={_invokeQueue:b,_runBlocks:d,requires:f,name:e,provider:a("$provide",
"provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:l,run:function(a){d.push(a);return this}};g&&l(g);return r})}})}function Ma(b){return b.replace(Pc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(Qc,"Moz$1")}function tb(b,
a,c,d){function e(b){var e=c&&b?[this.filter(b)]:[this],m=a,k,l,r,q,n,y;if(!d||null!=b)for(;e.length;)for(k=e.shift(),l=0,r=k.length;l<r;l++)for(q=x(k[l]),m?q.triggerHandler("$destroy"):m=!m,n=0,q=(y=q.children()).length;n<q;n++)e.push(Ba(y[n]));return f.apply(this,arguments)}var f=Ba.fn[b],f=f.$original||f;e.$original=f;Ba.fn[b]=e}function J(b){if(b instanceof J)return b;if(!(this instanceof J)){if(F(b)&&"<"!=b.charAt(0))throw ub("nosel");return new J(b)}if(F(b)){var a=R.createElement("div");a.innerHTML=
"<div> </div>"+b;a.removeChild(a.firstChild);vb(this,a.childNodes);x(R.createDocumentFragment()).append(this)}else vb(this,b)}function wb(b){return b.cloneNode(!0)}function Na(b){Ub(b);var a=0;for(b=b.childNodes||[];a<b.length;a++)Na(b[a])}function Vb(b,a,c,d){if(w(d))throw ub("offargs");var e=ja(b,"events");ja(b,"handle")&&(z(a)?p(e,function(a,c){xb(b,c,a);delete e[c]}):p(a.split(" "),function(a){z(c)?(xb(b,a,e[a]),delete e[a]):Ia(e[a]||[],c)}))}function Ub(b,a){var c=b[ab],d=Oa[c];d&&(a?delete Oa[c].data[a]:
(d.handle&&(d.events.$destroy&&d.handle({},"$destroy"),Vb(b)),delete Oa[c],b[ab]=s))}function ja(b,a,c){var d=b[ab],d=Oa[d||-1];if(w(c))d||(b[ab]=d=++Rc,d=Oa[d]={}),d[a]=c;else return d&&d[a]}function Wb(b,a,c){var d=ja(b,"data"),e=w(c),f=!e&&w(a),g=f&&!S(a);d||g||ja(b,"data",d={});if(e)d[a]=c;else if(f){if(g)return d&&d[a];G(d,a)}else return d}function yb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" "):!1}function zb(b,a){a&&b.setAttribute&&
p(a.split(" "),function(a){b.setAttribute("class",ba((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+ba(a)+" "," ")))})}function Ab(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");p(a.split(" "),function(a){a=ba(a);-1===c.indexOf(" "+a+" ")&&(c+=a+" ")});b.setAttribute("class",ba(c))}}function vb(b,a){if(a){a=a.nodeName||!w(a.length)||ya(a)?[a]:a;for(var c=0;c<a.length;c++)b.push(a[c])}}function Xb(b,a){return bb(b,"$"+(a||
"ngController")+"Controller")}function bb(b,a,c){b=x(b);for(9==b[0].nodeType&&(b=b.find("html"));b.length;){if((c=b.data(a))!==s)return c;b=b.parent()}}function Yb(b,a){var c=cb[a.toLowerCase()];return c&&Zb[b.nodeName]&&c}function Sc(b,a){var c=function(c,e){c.preventDefault||(c.preventDefault=function(){c.returnValue=!1});c.stopPropagation||(c.stopPropagation=function(){c.cancelBubble=!0});c.target||(c.target=c.srcElement||R);if(z(c.defaultPrevented)){var f=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=
!0;f.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented||!1==c.returnValue};p(a[e||c.type],function(a){a.call(b,c)});8>=Q?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function Ca(b){var a=typeof b,c;"object"==a&&null!==b?"function"==typeof(c=b.$$hashKey)?c=b.$$hashKey():c===s&&(c=b.$$hashKey=Va()):c=b;return a+":"+c}function Pa(b){p(b,
this.put,this)}function $b(b){var a,c;"function"==typeof b?(a=b.$inject)||(a=[],b.length&&(c=b.toString().replace(Tc,""),c=c.match(Uc),p(c[1].split(Vc),function(b){b.replace(Wc,function(b,c,d){a.push(d)})})),b.$inject=a):H(b)?(c=b.length-1,La(b[c],"fn"),a=b.slice(0,c)):La(b,"fn",!0);return a}function Tb(b){function a(a){return function(b,c){if(S(b))p(b,Mb(a));else return a(b,c)}}function c(a,b){pa(a,"service");if(E(b)||H(b))b=r.instantiate(b);if(!b.$get)throw Qa("pget",a);return l[a+h]=b}function d(a,
b){return c(a,{$get:b})}function e(a){var b=[];p(a,function(a){if(!k.get(a)){k.put(a,!0);try{if(F(a)){var c=Ra(a);b=b.concat(e(c.requires)).concat(c._runBlocks);for(var d=c._invokeQueue,c=0,f=d.length;c<f;c++){var h=d[c],g=r.get(h[0]);g[h[1]].apply(g,h[2])}}else E(a)?b.push(r.invoke(a)):H(a)?b.push(r.invoke(a)):La(a,"module")}catch(m){throw H(a)&&(a=a[a.length-1]),m.message&&(m.stack&&-1==m.stack.indexOf(m.message))&&(m=m.message+"\n"+m.stack),Qa("modulerr",a,m.stack||m.message||m);}}});return b}
function f(a,b){function c(d){if(a.hasOwnProperty(d)){if(a[d]===g)throw Qa("cdep",m.join(" <- "));return a[d]}try{return m.unshift(d),a[d]=g,a[d]=b(d)}finally{m.shift()}}function d(a,b,e){var f=[],k=$b(a),h,g,m;g=0;for(h=k.length;g<h;g++){m=k[g];if("string"!==typeof m)throw Qa("itkn",m);f.push(e&&e.hasOwnProperty(m)?e[m]:c(m))}a.$inject||(a=a[h]);switch(b?-1:f.length){case 0:return a();case 1:return a(f[0]);case 2:return a(f[0],f[1]);case 3:return a(f[0],f[1],f[2]);case 4:return a(f[0],f[1],f[2],
f[3]);case 5:return a(f[0],f[1],f[2],f[3],f[4]);case 6:return a(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6]);case 8:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7]);case 9:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8]);case 10:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9]);default:return a.apply(b,f)}}return{invoke:d,instantiate:function(a,b){var c=function(){},e;c.prototype=(H(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return S(e)?
e:c},get:c,annotate:$b,has:function(b){return l.hasOwnProperty(b+h)||a.hasOwnProperty(b)}}}var g={},h="Provider",m=[],k=new Pa,l={$provide:{provider:a(c),factory:a(d),service:a(function(a,b){return d(a,["$injector",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,aa(b))}),constant:a(function(a,b){pa(a,"constant");l[a]=b;q[a]=b}),decorator:function(a,b){var c=r.get(a+h),d=c.$get;c.$get=function(){var a=n.invoke(d,c);return n.invoke(b,null,{$delegate:a})}}}},r=l.$injector=f(l,
function(){throw Qa("unpr",m.join(" <- "));}),q={},n=q.$injector=f(q,function(a){a=r.get(a+h);return n.invoke(a.$get,a)});p(e(b),function(a){n.invoke(a||v)});return n}function Xc(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;p(a,function(a){b||"a"!==B(a.nodeName)||(b=a)});return b}function f(){var b=c.hash(),d;b?(d=g.getElementById(b))?d.scrollIntoView():(d=e(g.getElementsByName(b)))?d.scrollIntoView():
"top"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var g=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(f)});return f}]}function Yc(b,a,c,d){function e(a){try{a.apply(null,ua.call(arguments,1))}finally{if(y--,0===y)for(;A.length;)try{A.pop()()}catch(b){c.error(b)}}}function f(a,b){(function Bb(){p(C,function(a){a()});u=b(Bb,a)})()}function g(){t=null;U!=h.url()&&(U=h.url(),p(T,function(a){a(h.url())}))}var h=this,m=a[0],k=b.location,l=b.history,r=b.setTimeout,q=b.clearTimeout,
n={};h.isMock=!1;var y=0,A=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){y++};h.notifyWhenNoOutstandingRequests=function(a){p(C,function(a){a()});0===y?a():A.push(a)};var C=[],u;h.addPollFn=function(a){z(u)&&f(100,r);C.push(a);return a};var U=k.href,M=a.find("base"),t=null;h.url=function(a,c){k!==b.location&&(k=b.location);if(a){if(U!=a)return U=a,d.history?c?l.replaceState(null,"",a):(l.pushState(null,"",a),M.attr("href",M.attr("href"))):(t=a,c?k.replace(a):k.href=
a),h}else return t||k.href.replace(/%27/g,"'")};var T=[],ca=!1;h.onUrlChange=function(a){if(!ca){if(d.history)x(b).on("popstate",g);if(d.hashchange)x(b).on("hashchange",g);else h.addPollFn(g);ca=!0}T.push(a);return a};h.baseHref=function(){var a=M.attr("href");return a?a.replace(/^https?\:\/\/[^\/]*/,""):""};var N={},da="",ka=h.baseHref();h.cookies=function(a,b){var d,e,f,k;if(a)b===s?m.cookie=escape(a)+"=;path="+ka+";expires=Thu, 01 Jan 1970 00:00:00 GMT":F(b)&&(d=(m.cookie=escape(a)+"="+escape(b)+
";path="+ka).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(m.cookie!==da)for(da=m.cookie,d=da.split("; "),N={},f=0;f<d.length;f++)e=d[f],k=e.indexOf("="),0<k&&(a=unescape(e.substring(0,k)),N[a]===s&&(N[a]=unescape(e.substring(k+1))));return N}};h.defer=function(a,b){var c;y++;c=r(function(){delete n[c];e(a)},b||0);n[c]=!0;return c};h.defer.cancel=function(a){return n[a]?(delete n[a],q(a),e(v),!0):!1}}function Zc(){this.$get=
["$window","$log","$sniffer","$document",function(b,a,c,d){return new Yc(b,d,a,c)}]}function $c(){this.$get=function(){function b(b,d){function e(a){a!=r&&(q?q==a&&(q=a.n):q=a,f(a.n,a.p),f(a,r),r=a,r.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw D("$cacheFactory")("iid",b);var g=0,h=G({},d,{id:b}),m={},k=d&&d.capacity||Number.MAX_VALUE,l={},r=null,q=null;return a[b]={put:function(a,b){var c=l[a]||(l[a]={key:a});e(c);if(!z(b))return a in m||g++,m[a]=b,g>k&&this.remove(q.key),
b},get:function(a){var b=l[a];if(b)return e(b),m[a]},remove:function(a){var b=l[a];b&&(b==r&&(r=b.p),b==q&&(q=b.n),f(b.n,b.p),delete l[a],delete m[a],g--)},removeAll:function(){m={};g=0;l={};r=q=null},destroy:function(){l=h=m=null;delete a[b]},info:function(){return G({},h,{size:g})}}}var a={};b.info=function(){var b={};p(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function ad(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function bc(b){var a=
{},c="Directive",d=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,e=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,f=/^\s*(https?|ftp|mailto|tel|file):/,g=/^\s*(https?|ftp|file):|data:image\//,h=/^(on[a-z]+|formaction)$/;this.directive=function k(d,e){pa(d,"directive");F(d)?(rb(e,"directiveFactory"),a.hasOwnProperty(d)||(a[d]=[],b.factory(d+c,["$injector","$exceptionHandler",function(b,c){var e=[];p(a[d],function(a,f){try{var k=b.invoke(a);E(k)?k={compile:aa(k)}:!k.compile&&k.link&&(k.compile=aa(k.link));k.priority=
k.priority||0;k.index=f;k.name=k.name||d;k.require=k.require||k.controller&&k.name;k.restrict=k.restrict||"A";e.push(k)}catch(g){c(g)}});return e}])),a[d].push(e)):p(d,Mb(k));return this};this.aHrefSanitizationWhitelist=function(a){return w(a)?(f=a,this):f};this.imgSrcSanitizationWhitelist=function(a){return w(a)?(g=a,this):g};this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate",function(b,l,r,q,n,y,A,
C,u,U,M){function t(a,b,c,d,e){a instanceof x||(a=x(a));p(a,function(b,c){3==b.nodeType&&b.nodeValue.match(/\S+/)&&(a[c]=x(b).wrap("<span></span>").parent()[0])});var f=ca(a,b,a,c,d,e);return function(b,c){rb(b,"scope");for(var d=c?Sa.clone.call(a):a,e=0,k=d.length;e<k;e++){var g=d[e];1!=g.nodeType&&9!=g.nodeType||d.eq(e).data("$scope",b)}T(d,"ng-scope");c&&c(d,b);f&&f(b,d,d);return d}}function T(a,b){try{a.addClass(b)}catch(c){}}function ca(a,b,c,d,e,f){function k(a,c,d,e){var f,h,l,r,n,q,y,$=[];
n=0;for(q=c.length;n<q;n++)$.push(c[n]);y=n=0;for(q=g.length;n<q;y++)h=$[y],c=g[n++],f=g[n++],c?(c.scope?(l=a.$new(S(c.scope)),x(h).data("$scope",l)):l=a,(r=c.transclude)||!e&&b?c(f,l,h,d,function(b){return function(c){var d=a.$new();d.$$transcluded=!0;return b(d,c).on("$destroy",pb(d,d.$destroy))}}(r||b)):c(f,l,h,s,e)):f&&f(a,h.childNodes,s,e)}for(var g=[],h,l,r,n=0;n<a.length;n++)l=new z,h=N(a[n],[],l,0==n?d:s,e),h=(f=h.length?L(h,a[n],l,b,c,null,[],[],f):null)&&f.terminal||!a[n].childNodes||!a[n].childNodes.length?
null:ca(a[n].childNodes,f?f.transclude:b),g.push(f),g.push(h),r=r||f||h,f=null;return r?k:null}function N(a,b,c,f,k){var g=c.$attr,h;switch(a.nodeType){case 1:Z(b,la(Da(a).toLowerCase()),"E",f,k);var l,r,n;h=a.attributes;for(var q=0,y=h&&h.length;q<y;q++){var A=!1,p=!1;l=h[q];if(!Q||8<=Q||l.specified){r=l.name;n=la(r);ma.test(n)&&(r=$a(n.substr(6),"-"));var t=n.replace(/(Start|End)$/,"");n===t+"Start"&&(A=r,p=r.substr(0,r.length-5)+"end",r=r.substr(0,r.length-6));n=la(r.toLowerCase());g[n]=r;c[n]=
l=ba(Q&&"href"==r?decodeURIComponent(a.getAttribute(r,2)):l.value);Yb(a,n)&&(c[n]=!0);B(a,b,l,n);Z(b,n,"A",f,k,A,p)}}a=a.className;if(F(a)&&""!==a)for(;h=e.exec(a);)n=la(h[2]),Z(b,n,"C",f,k)&&(c[n]=ba(h[3])),a=a.substr(h.index+h[0].length);break;case 3:w(b,a.nodeValue);break;case 8:try{if(h=d.exec(a.nodeValue))n=la(h[1]),Z(b,n,"M",f,k)&&(c[n]=ba(h[2]))}catch(U){}}b.sort(O);return b}function da(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ha("uterdir",b,c);1==a.nodeType&&
(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return x(d)}function ka(a,b,c){return function(d,e,f,k){e=da(e[0],b,c);return a(d,e,f,k)}}function L(a,b,c,d,e,f,k,h,g){function n(a,b,c,d){a&&(c&&(a=ka(a,c,d)),a.require=I.require,k.push(a));b&&(c&&(b=ka(b,c,d)),b.require=I.require,h.push(b))}function q(a,b){var c,d="data",e=!1;if(F(a)){for(;"^"==(c=a.charAt(0))||"?"==c;)a=a.substr(1),"^"==c&&(d="inheritedData"),e=e||"?"==c;c=b[d]("$"+a+"Controller");
8==b[0].nodeType&&b[0].$$controller&&(c=c||b[0].$$controller,b[0].$$controller=null);if(!c&&!e)throw ha("ctreq",a,Z);}else H(a)&&(c=[],p(a,function(a){c.push(q(a,b))}));return c}function U(a,d,e,f,g){var n,$,t,C,T;n=b===e?c:Kc(c,new z(x(e),c.$attr));$=n.$$element;if(u){var ca=/^\s*([@=&])(\??)\s*(\w*)\s*$/,N=d.$parent||d;p(u.scope,function(a,b){var c=a.match(ca)||[],e=c[3]||b,f="?"==c[2],c=c[1],k,g,h;d.$$isolateBindings[b]=c+e;switch(c){case "@":n.$observe(e,function(a){d[b]=a});n.$$observers[e].$$scope=
N;n[e]&&(d[b]=l(n[e])(N));break;case "=":if(f&&!n[e])break;g=y(n[e]);h=g.assign||function(){k=d[b]=g(N);throw ha("nonassign",n[e],u.name);};k=d[b]=g(N);d.$watch(function(){var a=g(N);a!==d[b]&&(a!==k?k=d[b]=a:h(N,a=k=d[b]));return a});break;case "&":g=y(n[e]);d[b]=function(a){return g(N,a)};break;default:throw ha("iscp",u.name,b,a);}})}v&&p(v,function(a){var b={$scope:d,$element:$,$attrs:n,$transclude:g},c;T=a.controller;"@"==T&&(T=n[a.name]);c=A(T,b);8==$[0].nodeType?$[0].$$controller=c:$.data("$"+
a.name+"Controller",c);a.controllerAs&&(b.$scope[a.controllerAs]=c)});f=0;for(t=k.length;f<t;f++)try{C=k[f],C(d,$,n,C.require&&q(C.require,$))}catch(L){r(L,ga($))}a&&a(d,e.childNodes,s,g);for(f=h.length-1;0<=f;f--)try{C=h[f],C(d,$,n,C.require&&q(C.require,$))}catch(ka){r(ka,ga($))}}g=g||{};var C=-Number.MAX_VALUE,ca,u=g.newIsolateScopeDirective,M=g.templateDirective,L=c.$$element=x(b),I,Z,w;g=g.transcludeDirective;for(var O=d,v,B,ma=0,K=a.length;ma<K;ma++){I=a[ma];var G=I.$$start,D=I.$$end;G&&(L=
da(b,G,D));w=s;if(C>I.priority)break;if(w=I.scope)ca=ca||I,I.templateUrl||(P("new/isolated scope",u,I,L),S(w)&&(T(L,"ng-isolate-scope"),u=I),T(L,"ng-scope"));Z=I.name;!I.templateUrl&&I.controller&&(w=I.controller,v=v||{},P("'"+Z+"' controller",v[Z],I,L),v[Z]=I);if(w=I.transclude)"ngRepeat"!==Z&&(P("transclusion",g,I,L),g=I),"element"==w?(C=I.priority,w=da(b,G,D),L=c.$$element=x(R.createComment(" "+Z+": "+c[Z]+" ")),b=L[0],db(e,x(ua.call(w,0)),b),O=t(w,d,C,f&&f.name,{newIsolateScopeDirective:u,transcludeDirective:g,
templateDirective:M})):(w=x(wb(b)).contents(),L.html(""),O=t(w,d));if(I.template)if(P("template",M,I,L),M=I,w=E(I.template)?I.template(L,c):I.template,w=cc(w),I.replace){f=I;w=x("<div>"+ba(w)+"</div>").contents();b=w[0];if(1!=w.length||1!==b.nodeType)throw ha("tplrt",Z,"");db(e,L,b);K={$attr:{}};a=a.concat(N(b,a.splice(ma+1,a.length-(ma+1)),K));ac(c,K);K=a.length}else L.html(w);if(I.templateUrl)P("template",M,I,L),M=I,I.replace&&(f=I),U=Bb(a.splice(ma,a.length-ma),L,c,e,O,k,h,{newIsolateScopeDirective:u,
transcludeDirective:g,templateDirective:M}),K=a.length;else if(I.compile)try{B=I.compile(L,c,O),E(B)?n(null,B,G,D):B&&n(B.pre,B.post,G,D)}catch(J){r(J,ga(L))}I.terminal&&(U.terminal=!0,C=Math.max(C,I.priority))}U.scope=ca&&ca.scope;U.transclude=g&&O;return U}function Z(d,e,f,g,h,l,n){if(e===h)return null;h=null;if(a.hasOwnProperty(e)){var q;e=b.get(e+c);for(var y=0,A=e.length;y<A;y++)try{q=e[y],(g===s||g>q.priority)&&-1!=q.restrict.indexOf(f)&&(l&&(q=Hc(q,{$$start:l,$$end:n})),d.push(q),h=q)}catch(C){r(C)}}return h}
function ac(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;p(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});p(b,function(b,f){"class"==f?(T(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):"style"==f?e.attr("style",e.attr("style")+";"+b):"$"==f.charAt(0)||a.hasOwnProperty(f)||(a[f]=b,d[f]=c[f])})}function Bb(a,b,c,d,e,f,k,g){var h=[],l,r,y=b[0],A=a.shift(),C=G({},A,{templateUrl:null,transclude:null,replace:null}),t=E(A.templateUrl)?A.templateUrl(b,c):
A.templateUrl;b.html("");q.get(U.getTrustedResourceUrl(t),{cache:n}).success(function(n){var q;n=cc(n);if(A.replace){n=x("<div>"+ba(n)+"</div>").contents();q=n[0];if(1!=n.length||1!==q.nodeType)throw ha("tplrt",A.name,t);n={$attr:{}};db(d,b,q);N(q,a,n);ac(c,n)}else q=y,b.html(n);a.unshift(C);l=L(a,q,c,e,b,A,f,k,g);p(d,function(a,c){a==q&&(d[c]=b[0])});for(r=ca(b[0].childNodes,e);h.length;){n=h.shift();var U=h.shift(),T=h.shift(),s=h.shift(),u=b[0];U!==y&&(u=wb(q),db(T,x(U),u));l(r,n,u,d,s)}h=null}).error(function(a,
b,c,d){throw ha("tpload",d.url);});return function(a,b,c,d,e){h?(h.push(b),h.push(c),h.push(d),h.push(e)):l(r,b,c,d,e)}}function O(a,b){var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index-b.index}function P(a,b,c,d){if(b)throw ha("multidir",b.name,c.name,a,ga(d));}function w(a,b){var c=l(b,!0);c&&a.push({priority:0,compile:aa(function(a,b){var d=b.parent(),e=d.data("$binding")||[];e.push(c);T(d.data("$binding",e),"ng-binding");a.$watch(c,function(a){b[0].nodeValue=
a})})})}function v(a,b){if("xlinkHref"==b||"IMG"!=Da(a)&&("src"==b||"ngSrc"==b))return U.RESOURCE_URL}function B(a,b,c,d){var e=l(c,!0);if(e){if("multiple"===d&&"SELECT"===Da(a))throw ha("selmulti",ga(a));b.push({priority:-100,compile:aa(function(b,c,f){c=f.$$observers||(f.$$observers={});if(h.test(d))throw ha("nodomevents");if(e=l(f[d],!0,v(a,d)))f[d]=e(b),(c[d]||(c[d]=[])).$$inter=!0,(f.$$observers&&f.$$observers[d].$$scope||b).$watch(e,function(a){f.$set(d,a)})})})}}function db(a,b,c){var d=b[0],
e=b.length,f=d.parentNode,h,k;if(a)for(h=0,k=a.length;h<k;h++)if(a[h]==d){a[h++]=c;k=h+e-1;for(var g=a.length;h<g;h++,k++)k<g?a[h]=a[k]:delete a[h];a.length-=e-1;break}f&&f.replaceChild(c,d);a=R.createDocumentFragment();a.appendChild(d);c[x.expando]=d[x.expando];d=1;for(e=b.length;d<e;d++)f=b[d],x(f).remove(),a.appendChild(f),delete b[d];b[0]=c;b.length=1}var z=function(a,b){this.$$element=a;this.$attr=b||{}};z.prototype={$normalize:la,$addClass:function(a){a&&0<a.length&&M.addClass(this.$$element,
a)},$removeClass:function(a){a&&0<a.length&&M.removeClass(this.$$element,a)},$set:function(a,b,c,d){function e(a,b){var c=[],d=a.split(/\s+/),f=b.split(/\s+/),h=0;a:for(;h<d.length;h++){for(var k=d[h],g=0;g<f.length;g++)if(k==f[g])continue a;c.push(k)}return c}if("class"==a)b=b||"",c=this.$$element.attr("class")||"",this.$removeClass(e(c,b).join(" ")),this.$addClass(e(b,c).join(" "));else{var h=Yb(this.$$element[0],a);h&&(this.$$element.prop(a,b),d=h);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||
(this.$attr[a]=d=$a(a,"-"));h=Da(this.$$element);if("A"===h&&"href"===a||"IMG"===h&&"src"===a)if(!Q||8<=Q)h=wa(b).href,""!==h&&("href"===a&&!h.match(f)||"src"===a&&!h.match(g))&&(this[a]=b="unsafe:"+h);!1!==c&&(null===b||b===s?this.$$element.removeAttr(d):this.$$element.attr(d,b))}(c=this.$$observers)&&p(c[a],function(a){try{a(b)}catch(c){r(c)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);e.push(b);C.$evalAsync(function(){e.$$inter||b(c[a])});return b}};
var D=l.startSymbol(),J=l.endSymbol(),cc="{{"==D||"}}"==J?za:function(a){return a.replace(/\{\{/g,D).replace(/}}/g,J)},ma=/^ngAttr[A-Z]/;return t}]}function la(b){return Ma(b.replace(bd,""))}function cd(){var b={},a=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(a,d){pa(a,"controller");S(a)?G(b,a):b[a]=d};this.$get=["$injector","$window",function(c,d){return function(e,f){var g,h,m;F(e)&&(g=e.match(a),h=g[1],m=g[3],e=b.hasOwnProperty(h)?b[h]:sb(f.$scope,h,!0)||sb(d,h,!0),La(e,h,!0));g=c.instantiate(e,
f);if(m){if(!f||"object"!=typeof f.$scope)throw D("$controller")("noscp",h||e.name,m);f.$scope[m]=g}return g}}]}function dd(){this.$get=["$window",function(b){return x(b.document)}]}function ed(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function dc(b){var a={},c,d,e;if(!b)return a;p(b.split("\n"),function(b){e=b.indexOf(":");c=B(ba(b.substr(0,e)));d=ba(b.substr(e+1));c&&(a[c]=a[c]?a[c]+(", "+d):d)});return a}function ec(b){var a=S(b)?b:s;return function(c){a||
(a=dc(b));return c?a[B(c)]||null:a}}function fc(b,a,c){if(E(c))return c(b,a);p(c,function(c){b=c(b,a)});return b}function fd(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d={"Content-Type":"application/json;charset=utf-8"},e=this.defaults={transformResponse:[function(d){F(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=Ob(d)));return d}],transformRequest:[function(a){return S(a)&&"[object File]"!==Wa.apply(a)?oa(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:d,
put:d,patch:d},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},f=this.interceptors=[],g=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,d,r,q){function n(a){function c(a){var b=G({},a,{data:fc(a.data,a.headers,d.transformResponse)});return 200<=a.status&&300>a.status?b:r.reject(b)}var d={transformRequest:e.transformRequest,transformResponse:e.transformResponse},f=function(a){function b(a){var c;p(a,function(b,
d){E(b)&&(c=b(),null!=c?a[d]=c:delete a[d])})}var c=e.headers,d=G({},a.headers),f,h,c=G({},c.common,c[B(a.method)]);b(c);b(d);a:for(f in c){a=B(f);for(h in d)if(B(h)===a)continue a;d[f]=c[f]}return d}(a);G(d,a);d.headers=f;d.method=Ea(d.method);(a=Cb(d.url)?b.cookies()[d.xsrfCookieName||e.xsrfCookieName]:s)&&(f[d.xsrfHeaderName||e.xsrfHeaderName]=a);var h=[function(a){f=a.headers;var b=fc(a.data,ec(f),a.transformRequest);z(a.data)&&p(f,function(a,b){"content-type"===B(b)&&delete f[b]});z(a.withCredentials)&&
!z(e.withCredentials)&&(a.withCredentials=e.withCredentials);return y(a,b,f).then(c,c)},s],k=r.when(d);for(p(u,function(a){(a.request||a.requestError)&&h.unshift(a.request,a.requestError);(a.response||a.responseError)&&h.push(a.response,a.responseError)});h.length;){a=h.shift();var g=h.shift(),k=k.then(a,g)}k.success=function(a){k.then(function(b){a(b.data,b.status,b.headers,d)});return k};k.error=function(a){k.then(null,function(b){a(b.data,b.status,b.headers,d)});return k};return k}function y(b,
c,f){function k(a,b,c){p&&(200<=a&&300>a?p.put(s,[a,b,dc(c)]):p.remove(s));g(b,a,c);d.$$phase||d.$apply()}function g(a,c,d){c=Math.max(c,0);(200<=c&&300>c?q.resolve:q.reject)({data:a,status:c,headers:ec(d),config:b})}function m(){var a=Ya(n.pendingRequests,b);-1!==a&&n.pendingRequests.splice(a,1)}var q=r.defer(),y=q.promise,p,u,s=A(b.url,b.params);n.pendingRequests.push(b);y.then(m,m);(b.cache||e.cache)&&(!1!==b.cache&&"GET"==b.method)&&(p=S(b.cache)?b.cache:S(e.cache)?e.cache:C);if(p)if(u=p.get(s),
w(u)){if(u.then)return u.then(m,m),u;H(u)?g(u[1],u[0],fa(u[2])):g(u,200,{})}else p.put(s,y);z(u)&&a(b.method,s,c,k,f,b.timeout,b.withCredentials,b.responseType);return y}function A(a,b){if(!b)return a;var c=[];Gc(b,function(a,b){null!=a&&a!=s&&(H(a)||(a=[a]),p(a,function(a){S(a)&&(a=oa(a));c.push(va(b)+"="+va(a))}))});return a+(-1==a.indexOf("?")?"?":"&")+c.join("&")}var C=c("$http"),u=[];p(f,function(a){u.unshift(F(a)?q.get(a):q.invoke(a))});p(g,function(a,b){var c=F(a)?q.get(a):q.invoke(a);u.splice(b,
0,{response:function(a){return c(r.when(a))},responseError:function(a){return c(r.reject(a))}})});n.pendingRequests=[];(function(a){p(arguments,function(a){n[a]=function(b,c){return n(G(c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){p(arguments,function(a){n[a]=function(b,c,d){return n(G(d||{},{method:a,url:b,data:c}))}})})("post","put");n.defaults=e;return n}]}function gd(){this.$get=["$browser","$window","$document",function(b,a,c){return hd(b,id,b.defer,a.angular.callbacks,
c[0],a.location.protocol.replace(":",""))}]}function hd(b,a,c,d,e,f){function g(a,b){var c=e.createElement("script"),d=function(){e.body.removeChild(c);b&&b()};c.type="text/javascript";c.src=a;Q?c.onreadystatechange=function(){/loaded|complete/.test(c.readyState)&&d()}:c.onload=c.onerror=d;e.body.appendChild(c);return d}return function(e,m,k,l,r,q,n,y){function A(){u=-1;M&&M();t&&t.abort()}function C(a,d,e,h){var g=f||wa(m).protocol;T&&c.cancel(T);M=t=null;d="file"==g?e?200:404:d;a(1223==d?204:d,
e,h);b.$$completeOutstandingRequest(v)}var u;b.$$incOutstandingRequestCount();m=m||b.url();if("jsonp"==B(e)){var s="_"+(d.counter++).toString(36);d[s]=function(a){d[s].data=a};var M=g(m.replace("JSON_CALLBACK","angular.callbacks."+s),function(){d[s].data?C(l,200,d[s].data):C(l,u||-2);delete d[s]})}else{var t=new a;t.open(e,m,!0);p(r,function(a,b){w(a)&&t.setRequestHeader(b,a)});t.onreadystatechange=function(){if(4==t.readyState){var a=t.getAllResponseHeaders();C(l,u||t.status,t.responseType?t.response:
t.responseText,a)}};n&&(t.withCredentials=!0);y&&(t.responseType=y);t.send(k||null)}if(0<q)var T=c(A,q);else q&&q.then&&q.then(A)}}function jd(){var b="{{",a="}}";this.startSymbol=function(a){return a?(b=a,this):b};this.endSymbol=function(b){return b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function f(f,k,l){for(var r,q,n=0,y=[],A=f.length,p=!1,u=[];n<A;)-1!=(r=f.indexOf(b,n))&&-1!=(q=f.indexOf(a,r+g))?(n!=r&&y.push(f.substring(n,r)),y.push(n=c(p=f.substring(r+
g,q))),n.exp=p,n=q+h,p=!0):(n!=A&&y.push(f.substring(n)),n=A);(A=y.length)||(y.push(""),A=1);if(l&&1<y.length)throw gc("noconcat",f);if(!k||p)return u.length=A,n=function(a){try{for(var b=0,c=A,h;b<c;b++)"function"==typeof(h=y[b])&&(h=h(a),h=l?e.getTrusted(l,h):e.valueOf(h),null==h||h==s?h="":"string"!=typeof h&&(h=oa(h))),u[b]=h;return u.join("")}catch(g){a=gc("interr",f,g.toString()),d(a)}},n.exp=f,n.parts=y,n}var g=b.length,h=a.length;f.startSymbol=function(){return b};f.endSymbol=function(){return a};
return f}]}function kd(){this.$get=["$rootScope","$window","$q",function(b,a,c){function d(d,g,h,m){var k=a.setInterval,l=a.clearInterval,r=c.defer(),q=r.promise;h=w(h)?h:0;var n=0,y=w(m)&&!m;q.then(null,null,d);q.$$intervalId=k(function(){r.notify(n++);0<h&&n>=h&&(r.resolve(n),l(q.$$intervalId),delete e[q.$$intervalId]);y||b.$apply()},g);e[q.$$intervalId]=r;return q}var e={};d.cancel=function(a){return a&&a.$$intervalId in e?(e[a.$$intervalId].reject("canceled"),clearInterval(a.$$intervalId),delete e[a.$$intervalId],
!0):!1};return d}]}function ld(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"\u00a4",posSuf:"",negPre:"(\u00a4",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(b){return 1===b?"one":"other"}}}}function hc(b){b=b.split("/");for(var a=b.length;a--;)b[a]=qb(b[a]);return b.join("/")}function ic(b,a){var c=wa(b);a.$$protocol=
c.protocol;a.$$host=c.hostname;a.$$port=W(c.port)||md[c.protocol]||null}function jc(b,a){var c="/"!==b.charAt(0);c&&(b="/"+b);var d=wa(b);a.$$path=decodeURIComponent(c&&"/"===d.pathname.charAt(0)?d.pathname.substring(1):d.pathname);a.$$search=Qb(d.search);a.$$hash=decodeURIComponent(d.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)}function na(b,a){if(0==a.indexOf(b))return a.substr(b.length)}function Ta(b){var a=b.indexOf("#");return-1==a?b:b.substr(0,a)}function Db(b){return b.substr(0,
Ta(b).lastIndexOf("/")+1)}function kc(b,a){this.$$html5=!0;a=a||"";var c=Db(b);ic(b,this);this.$$parse=function(a){var b=na(c,a);if(!F(b))throw Eb("ipthprfx",a,c);jc(b,this);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Rb(this.$$search),b=this.$$hash?"#"+qb(this.$$hash):"";this.$$url=hc(this.$$path)+(a?"?"+a:"")+b;this.$$absUrl=c+this.$$url.substr(1)};this.$$rewrite=function(d){var e;if((e=na(b,d))!==s)return d=e,(e=na(a,e))!==s?c+(na("/",e)||e):b+d;if((e=na(c,
d))!==s)return c+e;if(c==d+"/")return c}}function Fb(b,a){var c=Db(b);ic(b,this);this.$$parse=function(d){var e=na(b,d)||na(c,d),e="#"==e.charAt(0)?na(a,e):this.$$html5?e:"";if(!F(e))throw Eb("ihshprfx",d,a);jc(e,this);this.$$compose()};this.$$compose=function(){var c=Rb(this.$$search),e=this.$$hash?"#"+qb(this.$$hash):"";this.$$url=hc(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+(this.$$url?a+this.$$url:"")};this.$$rewrite=function(a){if(Ta(b)==Ta(a))return a}}function lc(b,a){this.$$html5=!0;Fb.apply(this,
arguments);var c=Db(b);this.$$rewrite=function(d){var e;if(b==Ta(d))return d;if(e=na(c,d))return b+a+e;if(c===d+"/")return c}}function eb(b){return function(){return this[b]}}function mc(b,a){return function(c){if(z(c))return this[b];this[b]=a(c);this.$$compose();return this}}function nd(){var b="",a=!1;this.hashPrefix=function(a){return w(a)?(b=a,this):b};this.html5Mode=function(b){return w(b)?(a=b,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,f){function g(a){c.$broadcast("$locationChangeSuccess",
h.absUrl(),a)}var h,m=d.baseHref(),k=d.url();a?(m=k.substring(0,k.indexOf("/",k.indexOf("//")+2))+(m||"/"),e=e.history?kc:lc):(m=Ta(k),e=Fb);h=new e(m,"#"+b);h.$$parse(h.$$rewrite(k));f.on("click",function(a){if(!a.ctrlKey&&!a.metaKey&&2!=a.which){for(var b=x(a.target);"a"!==B(b[0].nodeName);)if(b[0]===f[0]||!(b=b.parent())[0])return;var e=b.prop("href"),g=h.$$rewrite(e);e&&(!b.attr("target")&&g&&!a.isDefaultPrevented())&&(a.preventDefault(),g!=d.url()&&(h.$$parse(g),c.$apply(),Y.angular["ff-684208-preventDefault"]=
!0))}});h.absUrl()!=k&&d.url(h.absUrl(),!0);d.onUrlChange(function(a){h.absUrl()!=a&&(c.$broadcast("$locationChangeStart",a,h.absUrl()).defaultPrevented?d.url(h.absUrl()):(c.$evalAsync(function(){var b=h.absUrl();h.$$parse(a);g(b)}),c.$$phase||c.$digest()))});var l=0;c.$watch(function(){var a=d.url(),b=h.$$replace;l&&a==h.absUrl()||(l++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",h.absUrl(),a).defaultPrevented?h.$$parse(a):(d.url(h.absUrl(),b),g(a))}));h.$$replace=!1;return l});return h}]}
function od(){var b=!0,a=this;this.debugEnabled=function(a){return w(a)?(b=a,this):b};this.$get=["$window",function(c){function d(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function e(a){var b=c.console||{},e=b[a]||b.log||v;return e.apply?function(){var a=[];p(arguments,function(b){a.push(d(b))});return e.apply(b,a)}:function(a,b){e(a,null==b?"":b)}}return{log:e("log"),
info:e("info"),warn:e("warn"),error:e("error"),debug:function(){var c=e("debug");return function(){b&&c.apply(a,arguments)}}()}}]}function qa(b,a){if("constructor"===b)throw xa("isecfld",a);return b}function fb(b,a){if(b&&b.constructor===b)throw xa("isecfn",a);if(b&&b.document&&b.location&&b.alert&&b.setInterval)throw xa("isecwindow",a);if(b&&(b.nodeName||b.on&&b.find))throw xa("isecdom",a);return b}function gb(b,a,c,d,e){e=e||{};a=a.split(".");for(var f,g=0;1<a.length;g++){f=qa(a.shift(),d);var h=
b[f];h||(h={},b[f]=h);b=h;b.then&&e.unwrapPromises&&(ra(d),"$$v"in b||function(a){a.then(function(b){a.$$v=b})}(b),b.$$v===s&&(b.$$v={}),b=b.$$v)}f=qa(a.shift(),d);return b[f]=c}function nc(b,a,c,d,e,f,g){qa(b,f);qa(a,f);qa(c,f);qa(d,f);qa(e,f);return g.unwrapPromises?function(h,g){var k=g&&g.hasOwnProperty(b)?g:h,l;if(null===k||k===s)return k;(k=k[b])&&k.then&&(ra(f),"$$v"in k||(l=k,l.$$v=s,l.then(function(a){l.$$v=a})),k=k.$$v);if(!a||null===k||k===s)return k;(k=k[a])&&k.then&&(ra(f),"$$v"in k||
(l=k,l.$$v=s,l.then(function(a){l.$$v=a})),k=k.$$v);if(!c||null===k||k===s)return k;(k=k[c])&&k.then&&(ra(f),"$$v"in k||(l=k,l.$$v=s,l.then(function(a){l.$$v=a})),k=k.$$v);if(!d||null===k||k===s)return k;(k=k[d])&&k.then&&(ra(f),"$$v"in k||(l=k,l.$$v=s,l.then(function(a){l.$$v=a})),k=k.$$v);if(!e||null===k||k===s)return k;(k=k[e])&&k.then&&(ra(f),"$$v"in k||(l=k,l.$$v=s,l.then(function(a){l.$$v=a})),k=k.$$v);return k}:function(f,g){var k=g&&g.hasOwnProperty(b)?g:f;if(null===k||k===s)return k;k=k[b];
if(!a||null===k||k===s)return k;k=k[a];if(!c||null===k||k===s)return k;k=k[c];if(!d||null===k||k===s)return k;k=k[d];return e&&null!==k&&k!==s?k=k[e]:k}}function oc(b,a,c){if(Gb.hasOwnProperty(b))return Gb[b];var d=b.split("."),e=d.length,f;if(a.csp)f=6>e?nc(d[0],d[1],d[2],d[3],d[4],c,a):function(b,f){var h=0,g;do g=nc(d[h++],d[h++],d[h++],d[h++],d[h++],c,a)(b,f),f=s,b=g;while(h<e);return g};else{var g="var l, fn, p;\n";p(d,function(b,d){qa(b,c);g+="if(s === null || s === undefined) return s;\nl=s;\ns="+
(d?"s":'((k&&k.hasOwnProperty("'+b+'"))?k:s)')+'["'+b+'"];\n'+(a.unwrapPromises?'if (s && s.then) {\n pw("'+c.replace(/\"/g,'\\"')+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")});var g=g+"return s;",h=Function("s","k","pw",g);h.toString=function(){return g};f=function(a,b){return h(a,b,ra)}}"hasOwnProperty"!==b&&(Gb[b]=f);return f}function pd(){var b={},a={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(b){return w(b)?
(a.unwrapPromises=!!b,this):a.unwrapPromises};this.logPromiseWarnings=function(b){return w(b)?(a.logPromiseWarnings=b,this):a.logPromiseWarnings};this.$get=["$filter","$sniffer","$log",function(c,d,e){a.csp=d.csp;ra=function(b){a.logPromiseWarnings&&!pc.hasOwnProperty(b)&&(pc[b]=!0,e.warn("[$parse] Promise found in the expression `"+b+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))};return function(d){var e;switch(typeof d){case "string":if(b.hasOwnProperty(d))return b[d];
e=new Hb(a);e=(new Ua(e,c,a)).parse(d,!1);"hasOwnProperty"!==d&&(b[d]=e);return e;case "function":return d;default:return v}}}]}function qd(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return rd(function(a){b.$evalAsync(a)},a)}]}function rd(b,a){function c(a){return a}function d(a){return g(a)}var e=function(){var h=[],m,k;return k={resolve:function(a){if(h){var c=h;h=s;m=f(a);c.length&&b(function(){for(var a,b=0,d=c.length;b<d;b++)a=c[b],m.then(a[0],a[1],a[2])})}},reject:function(a){k.resolve(g(a))},
notify:function(a){if(h){var c=h;h.length&&b(function(){for(var b,d=0,e=c.length;d<e;d++)b=c[d],b[2](a)})}},promise:{then:function(b,f,g){var k=e(),y=function(d){try{k.resolve((E(b)?b:c)(d))}catch(e){k.reject(e),a(e)}},A=function(b){try{k.resolve((E(f)?f:d)(b))}catch(c){k.reject(c),a(c)}},p=function(b){try{k.notify((E(g)?g:c)(b))}catch(d){a(d)}};h?h.push([y,A,p]):m.then(y,A,p);return k.promise},"catch":function(a){return this.then(null,a)},"finally":function(a){function b(a,c){var d=e();c?d.resolve(a):
d.reject(a);return d.promise}function d(e,f){var h=null;try{h=(a||c)()}catch(g){return b(g,!1)}return h&&E(h.then)?h.then(function(){return b(e,f)},function(a){return b(a,!1)}):b(e,f)}return this.then(function(a){return d(a,!0)},function(a){return d(a,!1)})}}}},f=function(a){return a&&E(a.then)?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},g=function(c){return{then:function(f,g){var l=e();b(function(){try{l.resolve((E(g)?g:d)(c))}catch(b){l.reject(b),a(b)}});return l.promise}}};
return{defer:e,reject:g,when:function(h,m,k,l){var r=e(),q,n=function(b){try{return(E(m)?m:c)(b)}catch(d){return a(d),g(d)}},y=function(b){try{return(E(k)?k:d)(b)}catch(c){return a(c),g(c)}},p=function(b){try{return(E(l)?l:c)(b)}catch(d){a(d)}};b(function(){f(h).then(function(a){q||(q=!0,r.resolve(f(a).then(n,y,p)))},function(a){q||(q=!0,r.resolve(y(a)))},function(a){q||r.notify(p(a))})});return r.promise},all:function(a){var b=e(),c=0,d=H(a)?[]:{};p(a,function(a,e){c++;f(a).then(function(a){d.hasOwnProperty(e)||
(d[e]=a,--c||b.resolve(d))},function(a){d.hasOwnProperty(e)||b.reject(a)})});0===c&&b.resolve(d);return b.promise}}}function sd(){var b=10,a=D("$rootScope");this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse","$browser",function(c,d,e,f){function g(){this.$id=Va();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$destroyed=!1;this.$$asyncQueue=
[];this.$$postDigestQueue=[];this.$$listeners={};this.$$isolateBindings={}}function h(b){if(l.$$phase)throw a("inprog",l.$$phase);l.$$phase=b}function m(a,b){var c=e(a);La(c,b);return c}function k(){}g.prototype={constructor:g,$new:function(a){a?(a=new g,a.$root=this.$root,a.$$asyncQueue=this.$$asyncQueue,a.$$postDigestQueue=this.$$postDigestQueue):(a=function(){},a.prototype=this,a=new a,a.$id=Va());a["this"]=a;a.$$listeners={};a.$parent=this;a.$$watchers=a.$$nextSibling=a.$$childHead=a.$$childTail=
null;a.$$prevSibling=this.$$childTail;this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a;return a},$watch:function(a,b,c){var d=m(a,"watch"),e=this.$$watchers,f={fn:b,last:k,get:d,exp:a,eq:!!c};if(!E(b)){var g=m(b||v,"listener");f.fn=function(a,b,c){g(c)}}if("string"==typeof a&&d.constant){var h=f.fn;f.fn=function(a,b,c){h.call(this,a,b,c);Ia(e,f)}}e||(e=this.$$watchers=[]);e.unshift(f);return function(){Ia(e,f)}},$watchCollection:function(a,b){var c=
this,d,f,g=0,h=e(a),k=[],l={},m=0;return this.$watch(function(){f=h(c);var a,b;if(S(f))if(nb(f))for(d!==k&&(d=k,m=d.length=0,g++),a=f.length,m!==a&&(g++,d.length=m=a),b=0;b<a;b++)d[b]!==f[b]&&(g++,d[b]=f[b]);else{d!==l&&(d=l={},m=0,g++);a=0;for(b in f)f.hasOwnProperty(b)&&(a++,d.hasOwnProperty(b)?d[b]!==f[b]&&(g++,d[b]=f[b]):(m++,d[b]=f[b],g++));if(m>a)for(b in g++,d)d.hasOwnProperty(b)&&!f.hasOwnProperty(b)&&(m--,delete d[b])}else d!==f&&(d=f,g++);return g},function(){b(f,d,c)})},$digest:function(){var c,
e,f,g,m=this.$$asyncQueue,p=this.$$postDigestQueue,s,w,M=b,t,x=[],v,N,da;h("$digest");do{w=!1;for(t=this;m.length;)try{da=m.shift(),da.scope.$eval(da.expression)}catch(ka){d(ka)}do{if(g=t.$$watchers)for(s=g.length;s--;)try{(c=g[s])&&((e=c.get(t))!==(f=c.last)&&!(c.eq?Aa(e,f):"number"==typeof e&&"number"==typeof f&&isNaN(e)&&isNaN(f)))&&(w=!0,c.last=c.eq?fa(e):e,c.fn(e,f===k?e:f,t),5>M&&(v=4-M,x[v]||(x[v]=[]),N=E(c.exp)?"fn: "+(c.exp.name||c.exp.toString()):c.exp,N+="; newVal: "+oa(e)+"; oldVal: "+
oa(f),x[v].push(N)))}catch(L){d(L)}if(!(g=t.$$childHead||t!==this&&t.$$nextSibling))for(;t!==this&&!(g=t.$$nextSibling);)t=t.$parent}while(t=g);if(w&&!M--)throw l.$$phase=null,a("infdig",b,oa(x));}while(w||m.length);for(l.$$phase=null;p.length;)try{p.shift()()}catch(B){d(B)}},$destroy:function(){if(l!=this&&!this.$$destroyed){var a=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;a.$$childHead==this&&(a.$$childHead=this.$$nextSibling);a.$$childTail==this&&(a.$$childTail=this.$$prevSibling);
this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling);this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling);this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null}},$eval:function(a,b){return e(a)(this,b)},$evalAsync:function(a){l.$$phase||l.$$asyncQueue.length||f.defer(function(){l.$$asyncQueue.length&&l.$digest()});this.$$asyncQueue.push({scope:this,expression:a})},$$postDigest:function(a){this.$$postDigestQueue.push(a)},
$apply:function(a){try{return h("$apply"),this.$eval(a)}catch(b){d(b)}finally{l.$$phase=null;try{l.$digest()}catch(c){throw d(c),c;}}},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);return function(){c[Ya(c,b)]=null}},$emit:function(a,b){var c=[],e,f=this,g=!1,h={name:a,targetScope:f,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=!0},defaultPrevented:!1},k=[h].concat(ua.call(arguments,1)),l,m;do{e=f.$$listeners[a]||c;h.currentScope=
f;l=0;for(m=e.length;l<m;l++)if(e[l])try{e[l].apply(null,k)}catch(p){d(p)}else e.splice(l,1),l--,m--;if(g)break;f=f.$parent}while(f);return h},$broadcast:function(a,b){var c=this,e=this,f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},g=[f].concat(ua.call(arguments,1)),h,k;do{c=e;f.currentScope=c;e=c.$$listeners[a]||[];h=0;for(k=e.length;h<k;h++)if(e[h])try{e[h].apply(null,g)}catch(l){d(l)}else e.splice(h,1),h--,k--;if(!(e=c.$$childHead||c!==this&&c.$$nextSibling))for(;c!==
this&&!(e=c.$$nextSibling);)c=c.$parent}while(c=e);return f}};var l=new g;return l}]}function td(b){if("self"===b)return b;if(F(b)){if(-1<b.indexOf("***"))throw sa("iwcard",b);b=b.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*");return RegExp("^"+b+"$")}if(Xa(b))return RegExp("^"+b.source+"$");throw sa("imatcher");}function qc(b){var a=[];w(b)&&p(b,function(b){a.push(td(b))});return a}function ud(){this.SCE_CONTEXTS=ea;var b=
["self"],a=[];this.resourceUrlWhitelist=function(a){arguments.length&&(b=qc(a));return b};this.resourceUrlBlacklist=function(b){arguments.length&&(a=qc(b));return a};this.$get=["$log","$document","$injector",function(c,d,e){function f(a){var b=function(a){this.$$unwrapTrustedValue=function(){return a}};a&&(b.prototype=new a);b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()};b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()};return b}var g=function(a){throw sa("unsafe");
};e.has("$sanitize")&&(g=e.get("$sanitize"));var h=f(),m={};m[ea.HTML]=f(h);m[ea.CSS]=f(h);m[ea.URL]=f(h);m[ea.JS]=f(h);m[ea.RESOURCE_URL]=f(m[ea.URL]);return{trustAs:function(a,b){var c=m.hasOwnProperty(a)?m[a]:null;if(!c)throw sa("icontext",a,b);if(null===b||b===s||""===b)return b;if("string"!==typeof b)throw sa("itype",a);return new c(b)},getTrusted:function(c,d){if(null===d||d===s||""===d)return d;var e=m.hasOwnProperty(c)?m[c]:null;if(e&&d instanceof e)return d.$$unwrapTrustedValue();if(c===
ea.RESOURCE_URL){var e=wa(d.toString()),f,h,p=!1;f=0;for(h=b.length;f<h;f++)if("self"===b[f]?Cb(e):b[f].exec(e.href)){p=!0;break}if(p)for(f=0,h=a.length;f<h;f++)if("self"===a[f]?Cb(e):a[f].exec(e.href)){p=!1;break}if(p)return d;throw sa("insecurl",d.toString());}if(c===ea.HTML)return g(d);throw sa("unsafe");},valueOf:function(a){return a instanceof h?a.$$unwrapTrustedValue():a}}}]}function vd(){var b=!0;this.enabled=function(a){arguments.length&&(b=!!a);return b};this.$get=["$parse","$document","$sceDelegate",
function(a,c,d){if(b&&Q&&(c=c[0].documentMode,c!==s&&8>c))throw sa("iequirks");var e=fa(ea);e.isEnabled=function(){return b};e.trustAs=d.trustAs;e.getTrusted=d.getTrusted;e.valueOf=d.valueOf;b||(e.trustAs=e.getTrusted=function(a,b){return b},e.valueOf=za);e.parseAs=function(b,c){var d=a(c);return d.literal&&d.constant?d:function(a,c){return e.getTrusted(b,d(a,c))}};var f=e.parseAs,g=e.getTrusted,h=e.trustAs;p(ea,function(a,b){var c=B(b);e[Ma("parse_as_"+c)]=function(b){return f(a,b)};e[Ma("get_trusted_"+
c)]=function(b){return g(a,b)};e[Ma("trust_as_"+c)]=function(b){return h(a,b)}});return e}]}function wd(){this.$get=["$window","$document",function(b,a){var c={},d=W((/android (\d+)/.exec(B((b.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((b.navigator||{}).userAgent),f=a[0]||{},g,h=/^(Moz|webkit|O|ms)(?=[A-Z])/,m=f.body&&f.body.style,k=!1,l=!1;if(m){for(var r in m)if(k=h.exec(r)){g=k[0];g=g.substr(0,1).toUpperCase()+g.substr(1);break}g||(g="WebkitOpacity"in m&&"webkit");k=!!("transition"in m||
g+"Transition"in m);l=!!("animation"in m||g+"Animation"in m);!d||k&&l||(k=F(f.body.style.webkitTransition),l=F(f.body.style.webkitAnimation))}return{history:!(!b.history||!b.history.pushState||4>d||e),hashchange:"onhashchange"in b&&(!f.documentMode||7<f.documentMode),hasEvent:function(a){if("input"==a&&9==Q)return!1;if(z(c[a])){var b=f.createElement("div");c[a]="on"+a in b}return c[a]},csp:f.securityPolicy?f.securityPolicy.isActive:!1,vendorPrefix:g,transitions:k,animations:l}}]}function xd(){this.$get=
["$rootScope","$browser","$q","$exceptionHandler",function(b,a,c,d){function e(e,h,m){var k=c.defer(),l=k.promise,r=w(m)&&!m;h=a.defer(function(){try{k.resolve(e())}catch(a){k.reject(a),d(a)}finally{delete f[l.$$timeoutId]}r||b.$apply()},h);l.$$timeoutId=h;f[h]=k;return l}var f={};e.cancel=function(b){return b&&b.$$timeoutId in f?(f[b.$$timeoutId].reject("canceled"),delete f[b.$$timeoutId],a.defer.cancel(b.$$timeoutId)):!1};return e}]}function wa(b){Q&&(V.setAttribute("href",b),b=V.href);V.setAttribute("href",
b);return{href:V.href,protocol:V.protocol?V.protocol.replace(/:$/,""):"",host:V.host,search:V.search?V.search.replace(/^\?/,""):"",hash:V.hash?V.hash.replace(/^#/,""):"",hostname:V.hostname,port:V.port,pathname:V.pathname&&"/"===V.pathname.charAt(0)?V.pathname:"/"+V.pathname}}function Cb(b){b=F(b)?wa(b):b;return b.protocol===rc.protocol&&b.host===rc.host}function yd(){this.$get=aa(Y)}function sc(b){function a(d,e){if(S(d)){var f={};p(d,function(b,c){f[c]=a(c,b)});return f}return b.factory(d+c,e)}
var c="Filter";this.register=a;this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}];a("currency",tc);a("date",uc);a("filter",zd);a("json",Ad);a("limitTo",Bd);a("lowercase",Cd);a("number",vc);a("orderBy",wc);a("uppercase",Dd)}function zd(){return function(b,a,c){if(!H(b))return b;var d=[];d.check=function(a){for(var b=0;b<d.length;b++)if(!d[b](a))return!1;return!0};switch(typeof c){case "function":break;case "boolean":if(!0==c){c=function(a,b){return Za.equals(a,b)};break}default:c=
function(a,b){b=(""+b).toLowerCase();return-1<(""+a).toLowerCase().indexOf(b)}}var e=function(a,b){if("string"==typeof b&&"!"===b.charAt(0))return!e(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return c(a,b);case "object":switch(typeof b){case "object":return c(a,b);default:for(var d in a)if("$"!==d.charAt(0)&&e(a[d],b))return!0}return!1;case "array":for(d=0;d<a.length;d++)if(e(a[d],b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a=
{$:a};case "object":for(var f in a)"$"==f?function(){if(a[f]){var b=f;d.push(function(c){return e(c,a[b])})}}():function(){if("undefined"!=typeof a[f]){var b=f;d.push(function(c){return e(sb(c,b),a[b])})}}();break;case "function":d.push(a);break;default:return b}for(var g=[],h=0;h<b.length;h++){var m=b[h];d.check(m)&&g.push(m)}return g}}function tc(b){var a=b.NUMBER_FORMATS;return function(b,d){z(d)&&(d=a.CURRENCY_SYM);return xc(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function vc(b){var a=
b.NUMBER_FORMATS;return function(b,d){return xc(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function xc(b,a,c,d,e){if(isNaN(b)||!isFinite(b))return"";var f=0>b;b=Math.abs(b);var g=b+"",h="",m=[],k=!1;if(-1!==g.indexOf("e")){var l=g.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>e+1?g="0":(h=g,k=!0)}if(k)0<e&&(-1<b&&1>b)&&(h=b.toFixed(e));else{g=(g.split(yc)[1]||"").length;z(e)&&(e=Math.min(Math.max(a.minFrac,g),a.maxFrac));g=Math.pow(10,e);b=Math.round(b*g)/g;b=(""+b).split(yc);g=b[0];b=b[1]||
"";var k=0,l=a.lgSize,r=a.gSize;if(g.length>=l+r)for(var k=g.length-l,q=0;q<k;q++)0===(k-q)%r&&0!==q&&(h+=c),h+=g.charAt(q);for(q=k;q<g.length;q++)0===(g.length-q)%l&&0!==q&&(h+=c),h+=g.charAt(q);for(;b.length<e;)b+="0";e&&"0"!==e&&(h+=d+b.substr(0,e))}m.push(f?a.negPre:a.posPre);m.push(h);m.push(f?a.negSuf:a.posSuf);return m.join("")}function Ib(b,a,c){var d="";0>b&&(d="-",b=-b);for(b=""+b;b.length<a;)b="0"+b;c&&(b=b.substr(b.length-a));return d+b}function X(b,a,c,d){c=c||0;return function(e){e=
e["get"+b]();if(0<c||e>-c)e+=c;0===e&&-12==c&&(e=12);return Ib(e,a,d)}}function hb(b,a){return function(c,d){var e=c["get"+b](),f=Ea(a?"SHORT"+b:b);return d[f][e]}}function uc(b){function a(a){var b;if(b=a.match(c)){a=new Date(0);var f=0,g=0,h=b[8]?a.setUTCFullYear:a.setFullYear,m=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=W(b[9]+b[10]),g=W(b[9]+b[11]));h.call(a,W(b[1]),W(b[2])-1,W(b[3]));f=W(b[4]||0)-f;g=W(b[5]||0)-g;h=W(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));m.call(a,f,g,h,b)}return a}
var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(c,e){var f="",g=[],h,m;e=e||"mediumDate";e=b.DATETIME_FORMATS[e]||e;F(c)&&(c=Ed.test(c)?W(c):a(c));ob(c)&&(c=new Date(c));if(!Ha(c))return c;for(;e;)(m=Fd.exec(e))?(g=g.concat(ua.call(m,1)),e=g.pop()):(g.push(e),e=null);p(g,function(a){h=Gd[a];f+=h?h(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return f}}function Ad(){return function(b){return oa(b,!0)}}
function Bd(){return function(b,a){if(!H(b)&&!F(b))return b;a=W(a);if(F(b))return a?0<=a?b.slice(0,a):b.slice(a,b.length):"";var c=[],d,e;a>b.length?a=b.length:a<-b.length&&(a=-b.length);0<a?(d=0,e=a):(d=b.length+a,e=b.length);for(;d<e;d++)c.push(b[d]);return c}}function wc(b){return function(a,c,d){function e(a,b){return Ka(b)?function(b,c){return a(c,b)}:a}if(!H(a)||!c)return a;c=H(c)?c:[c];c=Jc(c,function(a){var c=!1,d=a||za;if(F(a)){if("+"==a.charAt(0)||"-"==a.charAt(0))c="-"==a.charAt(0),a=a.substring(1);
d=b(a)}return e(function(a,b){var c;c=d(a);var e=d(b),f=typeof c,g=typeof e;f==g?("string"==f&&(c=c.toLowerCase(),e=e.toLowerCase()),c=c===e?0:c<e?-1:1):c=f<g?-1:1;return c},c)});for(var f=[],g=0;g<a.length;g++)f.push(a[g]);return f.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(0!==e)return e}return 0},d))}}function ta(b){E(b)&&(b={link:b});b.restrict=b.restrict||"AC";return aa(b)}function zc(b,a){function c(a,c){c=c?"-"+$a(c,"-"):"";b.removeClass((a?ib:jb)+c).addClass((a?jb:
ib)+c)}var d=this,e=b.parent().controller("form")||kb,f=0,g=d.$error={},h=[];d.$name=a.name||a.ngForm;d.$dirty=!1;d.$pristine=!0;d.$valid=!0;d.$invalid=!1;e.$addControl(d);b.addClass(Fa);c(!0);d.$addControl=function(a){pa(a.$name,"input");h.push(a);a.$name&&(d[a.$name]=a)};d.$removeControl=function(a){a.$name&&d[a.$name]===a&&delete d[a.$name];p(g,function(b,c){d.$setValidity(c,!0,a)});Ia(h,a)};d.$setValidity=function(a,b,h){var r=g[a];if(b)r&&(Ia(r,h),r.length||(f--,f||(c(b),d.$valid=!0,d.$invalid=
!1),g[a]=!1,c(!0,a),e.$setValidity(a,!0,d)));else{f||c(b);if(r){if(-1!=Ya(r,h))return}else g[a]=r=[],f++,c(!1,a),e.$setValidity(a,!1,d);r.push(h);d.$valid=!1;d.$invalid=!0}};d.$setDirty=function(){b.removeClass(Fa).addClass(lb);d.$dirty=!0;d.$pristine=!1;e.$setDirty()};d.$setPristine=function(){b.removeClass(lb).addClass(Fa);d.$dirty=!1;d.$pristine=!0;p(h,function(a){a.$setPristine()})}}function mb(b,a,c,d,e,f){var g=function(){var e=a.val();Ka(c.ngTrim||"T")&&(e=ba(e));d.$viewValue!==e&&b.$apply(function(){d.$setViewValue(e)})};
if(e.hasEvent("input"))a.on("input",g);else{var h,m=function(){h||(h=f.defer(function(){g();h=null}))};a.on("keydown",function(a){a=a.keyCode;91===a||(15<a&&19>a||37<=a&&40>=a)||m()});a.on("change",g);if(e.hasEvent("paste"))a.on("paste cut",m)}d.$render=function(){a.val(d.$isEmpty(d.$viewValue)?"":d.$viewValue)};var k=c.ngPattern,l=function(a,b){if(d.$isEmpty(b)||a.test(b))return d.$setValidity("pattern",!0),b;d.$setValidity("pattern",!1);return s};k&&((e=k.match(/^\/(.*)\/([gim]*)$/))?(k=RegExp(e[1],
e[2]),e=function(a){return l(k,a)}):e=function(c){var d=b.$eval(k);if(!d||!d.test)throw D("ngPattern")("noregexp",k,d,ga(a));return l(d,c)},d.$formatters.push(e),d.$parsers.push(e));if(c.ngMinlength){var r=W(c.ngMinlength);e=function(a){if(!d.$isEmpty(a)&&a.length<r)return d.$setValidity("minlength",!1),s;d.$setValidity("minlength",!0);return a};d.$parsers.push(e);d.$formatters.push(e)}if(c.ngMaxlength){var q=W(c.ngMaxlength);e=function(a){if(!d.$isEmpty(a)&&a.length>q)return d.$setValidity("maxlength",
!1),s;d.$setValidity("maxlength",!0);return a};d.$parsers.push(e);d.$formatters.push(e)}}function Jb(b,a){b="ngClass"+b;return function(){return{restrict:"AC",link:function(c,d,e){function f(b){if(!0===a||c.$index%2===a)h&&!Aa(b,h)&&e.$removeClass(g(h)),e.$addClass(g(b));h=fa(b)}function g(a){if(H(a))return a.join(" ");if(S(a)){var b=[];p(a,function(a,c){a&&b.push(c)});return b.join(" ")}return a}var h=s;c.$watch(e[b],f,!0);e.$observe("class",function(a){f(c.$eval(e[b]))});"ngClass"!==b&&c.$watch("$index",
function(d,f){var h=d&1;h!==f&1&&(h===a?(h=c.$eval(e[b]),e.$addClass(g(h))):(h=c.$eval(e[b]),e.$removeClass(g(h))))})}}}}var B=function(b){return F(b)?b.toLowerCase():b},Ea=function(b){return F(b)?b.toUpperCase():b},Q,x,Ba,ua=[].slice,Hd=[].push,Wa=Object.prototype.toString,Ja=D("ng"),Za=Y.angular||(Y.angular={}),Ra,Da,ia=["0","0","0"];Q=W((/msie (\d+)/.exec(B(navigator.userAgent))||[])[1]);isNaN(Q)&&(Q=W((/trident\/.*; rv:(\d+)/.exec(B(navigator.userAgent))||[])[1]));v.$inject=[];za.$inject=[];var ba=
function(){return String.prototype.trim?function(b){return F(b)?b.trim():b}:function(b){return F(b)?b.replace(/^\s*/,"").replace(/\s*$/,""):b}}();Da=9>Q?function(b){b=b.nodeName?b:b[0];return b.scopeName&&"HTML"!=b.scopeName?Ea(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var Nc=/[A-Z]/g,Id={full:"1.2.0-rc.3",major:1,minor:2,dot:0,codeName:"ferocious-twitch"},Oa=J.cache={},ab=J.expando="ng-"+(new Date).getTime(),Rc=1,Ac=Y.document.addEventListener?
function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},xb=Y.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)},Pc=/([\:\-\_]+(.))/g,Qc=/^moz([A-Z])/,ub=D("jqLite"),Sa=J.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;"complete"===R.readyState?setTimeout(a):(this.on("DOMContentLoaded",a),J(Y).on("load",a))},toString:function(){var b=[];p(this,function(a){b.push(""+a)});return"["+b.join(", ")+
"]"},eq:function(b){return 0<=b?x(this[b]):x(this[this.length+b])},length:0,push:Hd,sort:[].sort,splice:[].splice},cb={};p("multiple selected checked disabled readOnly required open".split(" "),function(b){cb[B(b)]=b});var Zb={};p("input select option textarea button form details".split(" "),function(b){Zb[Ea(b)]=!0});p({data:Wb,inheritedData:bb,scope:function(b){return bb(b,"$scope")},controller:Xb,injector:function(b){return bb(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:yb,
css:function(b,a,c){a=Ma(a);if(w(c))b.style[a]=c;else{var d;8>=Q&&(d=b.currentStyle&&b.currentStyle[a],""===d&&(d="auto"));d=d||b.style[a];8>=Q&&(d=""===d?s:d);return d}},attr:function(b,a,c){var d=B(a);if(cb[d])if(w(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||v).specified?d:s;else if(w(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),null===b?s:b},prop:function(b,a,c){if(w(c))b[a]=c;else return b[a]},
text:function(){function b(b,d){var e=a[b.nodeType];if(z(d))return e?b[e]:"";b[e]=d}var a=[];9>Q?(a[1]="innerText",a[3]="nodeValue"):a[1]=a[3]="textContent";b.$dv="";return b}(),val:function(b,a){if(z(a)){if("SELECT"===Da(b)&&b.multiple){var c=[];p(b.options,function(a){a.selected&&c.push(a.value||a.text)});return 0===c.length?null:c}return b.value}b.value=a},html:function(b,a){if(z(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)Na(d[c]);b.innerHTML=a}},function(b,a){J.prototype[a]=
function(a,d){var e,f;if((2==b.length&&b!==yb&&b!==Xb?a:d)===s){if(S(a)){for(e=0;e<this.length;e++)if(b===Wb)b(this[e],a);else for(f in a)b(this[e],f,a[f]);return this}e=b.$dv;f=e==s?Math.min(this.length,1):this.length;for(var g=0;g<f;g++){var h=b(this[g],a,d);e=e?e+h:h}return e}for(e=0;e<this.length;e++)b(this[e],a,d);return this}});p({removeData:Ub,dealoc:Na,on:function a(c,d,e,f){if(w(f))throw ub("onargs");var g=ja(c,"events"),h=ja(c,"handle");g||ja(c,"events",g={});h||ja(c,"handle",h=Sc(c,g));
p(d.split(" "),function(d){var f=g[d];if(!f){if("mouseenter"==d||"mouseleave"==d){var l=R.body.contains||R.body.compareDocumentPosition?function(a,c){var d=9===a.nodeType?a.documentElement:a,e=c&&c.parentNode;return a===e||!!(e&&1===e.nodeType&&(d.contains?d.contains(e):a.compareDocumentPosition&&a.compareDocumentPosition(e)&16))}:function(a,c){if(c)for(;c=c.parentNode;)if(c===a)return!0;return!1};g[d]=[];a(c,{mouseleave:"mouseout",mouseenter:"mouseover"}[d],function(a){var c=a.relatedTarget;c&&(c===
this||l(this,c))||h(a,d)})}else Ac(c,d,h),g[d]=[];f=g[d]}f.push(e)})},off:Vb,replaceWith:function(a,c){var d,e=a.parentNode;Na(a);p(new J(c),function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];p(a.childNodes,function(a){1===a.nodeType&&c.push(a)});return c},contents:function(a){return a.childNodes||[]},append:function(a,c){p(new J(c),function(c){1!==a.nodeType&&11!==a.nodeType||a.appendChild(c)})},prepend:function(a,c){if(1===a.nodeType){var d=a.firstChild;
p(new J(c),function(c){a.insertBefore(c,d)})}},wrap:function(a,c){c=x(c)[0];var d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:function(a){Na(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;p(new J(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:Ab,removeClass:zb,toggleClass:function(a,c,d){z(d)&&(d=!yb(a,c));(d?Ab:zb)(a,c)},parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},next:function(a){if(a.nextElementSibling)return a.nextElementSibling;
for(a=a.nextSibling;null!=a&&1!==a.nodeType;)a=a.nextSibling;return a},find:function(a,c){return a.getElementsByTagName(c)},clone:wb,triggerHandler:function(a,c,d){c=(ja(a,"events")||{})[c];d=d||[];var e=[{preventDefault:v,stopPropagation:v}];p(c,function(c){c.apply(a,e.concat(d))})}},function(a,c){J.prototype[c]=function(c,e,f){for(var g,h=0;h<this.length;h++)g==s?(g=a(this[h],c,e,f),g!==s&&(g=x(g))):vb(g,a(this[h],c,e,f));return g==s?this:g};J.prototype.bind=J.prototype.on;J.prototype.unbind=J.prototype.off});
Pa.prototype={put:function(a,c){this[Ca(a)]=c},get:function(a){return this[Ca(a)]},remove:function(a){var c=this[a=Ca(a)];delete this[a];return c}};var Uc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Vc=/,/,Wc=/^\s*(_?)(\S+?)\1\s*$/,Tc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Qa=D("$injector"),Jd=D("$animate"),Kd=["$provide",function(a){this.$$selectors={};this.register=function(c,d){var e=c+"-animation";if(c&&"."!=c.charAt(0))throw Jd("notcsel",c);this.$$selectors[c.substr(1)]=e;a.factory(e,d)};this.$get=["$timeout",
function(a){return{enter:function(d,e,f,g){f=f&&f[f.length-1];var h=e&&e[0]||f&&f.parentNode,m=f&&f.nextSibling||null;p(d,function(a){h.insertBefore(a,m)});g&&a(g,0,!1)},leave:function(d,e){d.remove();e&&a(e,0,!1)},move:function(a,c,f,g){this.enter(a,c,f,g)},addClass:function(d,e,f){e=F(e)?e:H(e)?e.join(" "):"";p(d,function(a){Ab(a,e)});f&&a(f,0,!1)},removeClass:function(d,e,f){e=F(e)?e:H(e)?e.join(" "):"";p(d,function(a){zb(a,e)});f&&a(f,0,!1)},enabled:v}}]}],ha=D("$compile");bc.$inject=["$provide"];
var bd=/^(x[\:\-_]|data[\:\-_])/i,id=Y.XMLHttpRequest||function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw D("$httpBackend")("noxhr");},gc=D("$interpolate"),Ld=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,md={http:80,https:443,ftp:21},Eb=D("$location");lc.prototype=Fb.prototype=kc.prototype={$$html5:!1,$$replace:!1,absUrl:eb("$$absUrl"),url:function(a,c){if(z(a))return this.$$url;
var d=Ld.exec(a);d[1]&&this.path(decodeURIComponent(d[1]));(d[2]||d[1])&&this.search(d[3]||"");this.hash(d[5]||"",c);return this},protocol:eb("$$protocol"),host:eb("$$host"),port:eb("$$port"),path:mc("$$path",function(a){return"/"==a.charAt(0)?a:"/"+a}),search:function(a,c){switch(arguments.length){case 0:return this.$$search;case 1:if(F(a))this.$$search=Qb(a);else if(S(a))this.$$search=a;else throw Eb("isrcharg");break;default:c==s||null==c?delete this.$$search[a]:this.$$search[a]=c}this.$$compose();
return this},hash:mc("$$hash",za),replace:function(){this.$$replace=!0;return this}};var xa=D("$parse"),pc={},ra,Ga={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:v,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return w(d)?w(e)?d+e:d:w(e)?e:s},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(w(d)?d:0)-(w(e)?e:0)},"*":function(a,c,d,e){return d(a,c)*e(a,c)},"/":function(a,c,d,e){return d(a,c)/e(a,c)},"%":function(a,c,d,e){return d(a,c)%e(a,c)},"^":function(a,
c,d,e){return d(a,c)^e(a,c)},"=":v,"===":function(a,c,d,e){return d(a,c)===e(a,c)},"!==":function(a,c,d,e){return d(a,c)!==e(a,c)},"==":function(a,c,d,e){return d(a,c)==e(a,c)},"!=":function(a,c,d,e){return d(a,c)!=e(a,c)},"<":function(a,c,d,e){return d(a,c)<e(a,c)},">":function(a,c,d,e){return d(a,c)>e(a,c)},"<=":function(a,c,d,e){return d(a,c)<=e(a,c)},">=":function(a,c,d,e){return d(a,c)>=e(a,c)},"&&":function(a,c,d,e){return d(a,c)&&e(a,c)},"||":function(a,c,d,e){return d(a,c)||e(a,c)},"&":function(a,
c,d,e){return d(a,c)&e(a,c)},"|":function(a,c,d,e){return e(a,c)(a,c,d(a,c))},"!":function(a,c,d){return!d(a,c)}},Md={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Hb=function(a){this.options=a};Hb.prototype={constructor:Hb,lex:function(a){this.text=a;this.index=0;this.ch=s;this.lastCh=":";this.tokens=[];var c;for(a=[];this.index<this.text.length;){this.ch=this.text.charAt(this.index);if(this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();
else if(this.isIdent(this.ch))this.readIdent(),this.was("{,")&&("{"===a[0]&&(c=this.tokens[this.tokens.length-1]))&&(c.json=-1===c.text.indexOf("."));else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch,json:this.was(":[,")&&this.is("{[")||this.is("}]:,")}),this.is("{[")&&a.unshift(this.ch),this.is("}]")&&a.shift(),this.index++;else if(this.isWhitespace(this.ch)){this.index++;continue}else{var d=this.ch+this.peek(),e=d+this.peek(2),f=Ga[this.ch],g=Ga[d],h=Ga[e];h?(this.tokens.push({index:this.index,
text:e,fn:h}),this.index+=3):g?(this.tokens.push({index:this.index,text:d,fn:g}),this.index+=2):f?(this.tokens.push({index:this.index,text:this.ch,fn:f,json:this.was("[,:")&&this.is("+-")}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(a){return-1!==a.indexOf(this.ch)},was:function(a){return-1!==a.indexOf(this.lastCh)},peek:function(a){a=a||1;return this.index+a<this.text.length?this.text.charAt(this.index+
a):!1},isNumber:function(a){return"0"<=a&&"9">=a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdent:function(a){return"a"<=a&&"z">=a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isExpOperator:function(a){return"-"===a||"+"===a||this.isNumber(a)},throwError:function(a,c,d){d=d||this.index;c=w(c)?"s "+c+"-"+this.index+" ["+this.text.substring(c,d)+"]":" "+d;throw xa("lexerr",a,c,this.text);},readNumber:function(){for(var a="",c=this.index;this.index<this.text.length;){var d=
B(this.text.charAt(this.index));if("."==d||this.isNumber(d))a+=d;else{var e=this.peek();if("e"==d&&this.isExpOperator(e))a+=d;else if(this.isExpOperator(d)&&e&&this.isNumber(e)&&"e"==a.charAt(a.length-1))a+=d;else if(!this.isExpOperator(d)||e&&this.isNumber(e)||"e"!=a.charAt(a.length-1))break;else this.throwError("Invalid exponent")}this.index++}a*=1;this.tokens.push({index:c,text:a,json:!0,fn:function(){return a}})},readIdent:function(){for(var a=this,c="",d=this.index,e,f,g,h;this.index<this.text.length;){h=
this.text.charAt(this.index);if("."===h||this.isIdent(h)||this.isNumber(h))"."===h&&(e=this.index),c+=h;else break;this.index++}if(e)for(f=this.index;f<this.text.length;){h=this.text.charAt(f);if("("===h){g=c.substr(e-d+1);c=c.substr(0,e-d);this.index=f;break}if(this.isWhitespace(h))f++;else break}d={index:d,text:c};if(Ga.hasOwnProperty(c))d.fn=Ga[c],d.json=Ga[c];else{var m=oc(c,this.options,this.text);d.fn=G(function(a,c){return m(a,c)},{assign:function(d,e){return gb(d,c,e,a.text,a.options)}})}this.tokens.push(d);
g&&(this.tokens.push({index:e,text:".",json:!1}),this.tokens.push({index:e+1,text:g,json:!1}))},readString:function(a){var c=this.index;this.index++;for(var d="",e=a,f=!1;this.index<this.text.length;){var g=this.text.charAt(this.index),e=e+g;if(f)"u"===g?(g=this.text.substring(this.index+1,this.index+5),g.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+g+"]"),this.index+=4,d+=String.fromCharCode(parseInt(g,16))):d=(f=Md[g])?d+f:d+g,f=!1;else if("\\"===g)f=!0;else{if(g===a){this.index++;
this.tokens.push({index:c,text:e,string:d,json:!0,fn:function(){return d}});return}d+=g}this.index++}this.throwError("Unterminated quote",c)}};var Ua=function(a,c,d){this.lexer=a;this.$filter=c;this.options=d};Ua.ZERO=function(){return 0};Ua.prototype={constructor:Ua,parse:function(a,c){this.text=a;this.json=c;this.tokens=this.lexer.lex(a);c&&(this.assignment=this.logicalOR,this.functionCall=this.fieldAccess=this.objectIndex=this.filterChain=function(){this.throwError("is not valid json",{text:a,
index:0})});var d=c?this.primary():this.statements();0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]);d.literal=!!d.literal;d.constant=!!d.constant;return d},primary:function(){var a;if(this.expect("("))a=this.filterChain(),this.consume(")");else if(this.expect("["))a=this.arrayDeclaration();else if(this.expect("{"))a=this.object();else{var c=this.expect();(a=c.fn)||this.throwError("not a primary expression",c);c.json&&(a.constant=!0,a.literal=!0)}for(var d;c=this.expect("(",
"[",".");)"("===c.text?(a=this.functionCall(a,d),d=null):"["===c.text?(d=a,a=this.objectIndex(a)):"."===c.text?(d=a,a=this.fieldAccess(a)):this.throwError("IMPOSSIBLE");return a},throwError:function(a,c){throw xa("syntax",c.text,a,c.index+1,this.text,this.text.substring(c.index));},peekToken:function(){if(0===this.tokens.length)throw xa("ueoe",this.text);return this.tokens[0]},peek:function(a,c,d,e){if(0<this.tokens.length){var f=this.tokens[0],g=f.text;if(g===a||g===c||g===d||g===e||!(a||c||d||e))return f}return!1},
expect:function(a,c,d,e){return(a=this.peek(a,c,d,e))?(this.json&&!a.json&&this.throwError("is not valid json",a),this.tokens.shift(),a):!1},consume:function(a){this.expect(a)||this.throwError("is unexpected, expecting ["+a+"]",this.peek())},unaryFn:function(a,c){return G(function(d,e){return a(d,e,c)},{constant:c.constant})},ternaryFn:function(a,c,d){return G(function(e,f){return a(e,f)?c(e,f):d(e,f)},{constant:a.constant&&c.constant&&d.constant})},binaryFn:function(a,c,d){return G(function(e,f){return c(e,
f,a,d)},{constant:a.constant&&d.constant})},statements:function(){for(var a=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&a.push(this.filterChain()),!this.expect(";"))return 1===a.length?a[0]:function(c,d){for(var e,f=0;f<a.length;f++){var g=a[f];g&&(e=g(c,d))}return e}},filterChain:function(){for(var a=this.expression(),c;;)if(c=this.expect("|"))a=this.binaryFn(a,c.fn,this.filter());else return a},filter:function(){for(var a=this.expect(),c=this.$filter(a.text),d=[];;)if(a=this.expect(":"))d.push(this.expression());
else{var e=function(a,e,h){h=[h];for(var m=0;m<d.length;m++)h.push(d[m](a,e));return c.apply(a,h)};return function(){return e}}},expression:function(){return this.assignment()},assignment:function(){var a=this.ternary(),c,d;return(d=this.expect("="))?(a.assign||this.throwError("implies assignment but ["+this.text.substring(0,d.index)+"] can not be assigned to",d),c=this.ternary(),function(d,f){return a.assign(d,c(d,f),f)}):a},ternary:function(){var a=this.logicalOR(),c,d;if(this.expect("?")){c=this.ternary();
if(d=this.expect(":"))return this.ternaryFn(a,c,this.ternary());this.throwError("expected :",d)}else return a},logicalOR:function(){for(var a=this.logicalAND(),c;;)if(c=this.expect("||"))a=this.binaryFn(a,c.fn,this.logicalAND());else return a},logicalAND:function(){var a=this.equality(),c;if(c=this.expect("&&"))a=this.binaryFn(a,c.fn,this.logicalAND());return a},equality:function(){var a=this.relational(),c;if(c=this.expect("==","!=","===","!=="))a=this.binaryFn(a,c.fn,this.equality());return a},
relational:function(){var a=this.additive(),c;if(c=this.expect("<",">","<=",">="))a=this.binaryFn(a,c.fn,this.relational());return a},additive:function(){for(var a=this.multiplicative(),c;c=this.expect("+","-");)a=this.binaryFn(a,c.fn,this.multiplicative());return a},multiplicative:function(){for(var a=this.unary(),c;c=this.expect("*","/","%");)a=this.binaryFn(a,c.fn,this.unary());return a},unary:function(){var a;return this.expect("+")?this.primary():(a=this.expect("-"))?this.binaryFn(Ua.ZERO,a.fn,
this.unary()):(a=this.expect("!"))?this.unaryFn(a.fn,this.unary()):this.primary()},fieldAccess:function(a){var c=this,d=this.expect().text,e=oc(d,this.options,this.text);return G(function(c,d,h){return e(h||a(c,d),d)},{assign:function(e,g,h){return gb(a(e,h),d,g,c.text,c.options)}})},objectIndex:function(a){var c=this,d=this.expression();this.consume("]");return G(function(e,f){var g=a(e,f),h=d(e,f),m;if(!g)return s;(g=fb(g[h],c.text))&&(g.then&&c.options.unwrapPromises)&&(m=g,"$$v"in g||(m.$$v=s,
m.then(function(a){m.$$v=a})),g=g.$$v);return g},{assign:function(e,f,g){var h=d(e,g);return fb(a(e,g),c.text)[h]=f}})},functionCall:function(a,c){var d=[];if(")"!==this.peekToken().text){do d.push(this.expression());while(this.expect(","))}this.consume(")");var e=this;return function(f,g){for(var h=[],m=c?c(f,g):f,k=0;k<d.length;k++)h.push(d[k](f,g));k=a(f,g,m)||v;fb(k,e.text);h=k.apply?k.apply(m,h):k(h[0],h[1],h[2],h[3],h[4]);return fb(h,e.text)}},arrayDeclaration:function(){var a=[],c=!0;if("]"!==
this.peekToken().text){do{var d=this.expression();a.push(d);d.constant||(c=!1)}while(this.expect(","))}this.consume("]");return G(function(c,d){for(var g=[],h=0;h<a.length;h++)g.push(a[h](c,d));return g},{literal:!0,constant:c})},object:function(){var a=[],c=!0;if("}"!==this.peekToken().text){do{var d=this.expect(),d=d.string||d.text;this.consume(":");var e=this.expression();a.push({key:d,value:e});e.constant||(c=!1)}while(this.expect(","))}this.consume("}");return G(function(c,d){for(var e={},m=
0;m<a.length;m++){var k=a[m];e[k.key]=k.value(c,d)}return e},{literal:!0,constant:c})}};var Gb={},sa=D("$sce"),ea={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},V=R.createElement("a"),rc=wa(Y.location.href,!0);sc.$inject=["$provide"];tc.$inject=["$locale"];vc.$inject=["$locale"];var yc=".",Gd={yyyy:X("FullYear",4),yy:X("FullYear",2,0,!0),y:X("FullYear",1),MMMM:hb("Month"),MMM:hb("Month",!0),MM:X("Month",2,1),M:X("Month",1,1),dd:X("Date",2),d:X("Date",1),HH:X("Hours",2),H:X("Hours",
1),hh:X("Hours",2,-12),h:X("Hours",1,-12),mm:X("Minutes",2),m:X("Minutes",1),ss:X("Seconds",2),s:X("Seconds",1),sss:X("Milliseconds",3),EEEE:hb("Day"),EEE:hb("Day",!0),a:function(a,c){return 12>a.getHours()?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=-1*a.getTimezoneOffset();return a=(0<=a?"+":"")+(Ib(Math[0<a?"floor":"ceil"](a/60),2)+Ib(Math.abs(a%60),2))}},Fd=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,Ed=/^\-?\d+$/;uc.$inject=["$locale"];var Cd=aa(B),Dd=aa(Ea);wc.$inject=
["$parse"];var Nd=aa({restrict:"E",compile:function(a,c){8>=Q&&(c.href||c.name||c.$set("href",""),a.append(R.createComment("IE fix")));return function(a,c){c.on("click",function(a){c.attr("href")||a.preventDefault()})}}}),Kb={};p(cb,function(a,c){if("multiple"!=a){var d=la("ng-"+c);Kb[d]=function(){return{priority:100,compile:function(){return function(a,f,g){a.$watch(g[d],function(a){g.$set(c,!!a)})}}}}}});p(["src","srcset","href"],function(a){var c=la("ng-"+a);Kb[c]=function(){return{priority:99,
link:function(d,e,f){f.$observe(c,function(c){c&&(f.$set(a,c),Q&&e.prop(a,f[a]))})}}}});var kb={$addControl:v,$removeControl:v,$setValidity:v,$setDirty:v,$setPristine:v};zc.$inject=["$element","$attrs","$scope"];var Bc=function(a){return["$timeout",function(c){return{name:"form",restrict:a?"EAC":"E",controller:zc,compile:function(){return{pre:function(a,e,f,g){if(!f.action){var h=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1};Ac(e[0],"submit",h);e.on("$destroy",function(){c(function(){xb(e[0],
"submit",h)},0,!1)})}var m=e.parent().controller("form"),k=f.name||f.ngForm;k&&gb(a,k,g,k);if(m)e.on("$destroy",function(){m.$removeControl(g);k&&gb(a,k,s,k);G(g,kb)})}}}}}]},Od=Bc(),Pd=Bc(!0),Qd=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Rd=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$/,Sd=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Cc={text:mb,number:function(a,c,d,e,f,g){mb(a,c,d,e,f,g);e.$parsers.push(function(a){var c=e.$isEmpty(a);if(c||Sd.test(a))return e.$setValidity("number",
!0),""===a?null:c?a:parseFloat(a);e.$setValidity("number",!1);return s});e.$formatters.push(function(a){return e.$isEmpty(a)?"":""+a});if(d.min){var h=parseFloat(d.min);a=function(a){if(!e.$isEmpty(a)&&a<h)return e.$setValidity("min",!1),s;e.$setValidity("min",!0);return a};e.$parsers.push(a);e.$formatters.push(a)}if(d.max){var m=parseFloat(d.max);d=function(a){if(!e.$isEmpty(a)&&a>m)return e.$setValidity("max",!1),s;e.$setValidity("max",!0);return a};e.$parsers.push(d);e.$formatters.push(d)}e.$formatters.push(function(a){if(e.$isEmpty(a)||
ob(a))return e.$setValidity("number",!0),a;e.$setValidity("number",!1);return s})},url:function(a,c,d,e,f,g){mb(a,c,d,e,f,g);a=function(a){if(e.$isEmpty(a)||Qd.test(a))return e.$setValidity("url",!0),a;e.$setValidity("url",!1);return s};e.$formatters.push(a);e.$parsers.push(a)},email:function(a,c,d,e,f,g){mb(a,c,d,e,f,g);a=function(a){if(e.$isEmpty(a)||Rd.test(a))return e.$setValidity("email",!0),a;e.$setValidity("email",!1);return s};e.$formatters.push(a);e.$parsers.push(a)},radio:function(a,c,d,
e){z(d.name)&&c.attr("name",Va());c.on("click",function(){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value)})});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e){var f=d.ngTrueValue,g=d.ngFalseValue;F(f)||(f=!0);F(g)||(g=!1);c.on("click",function(){a.$apply(function(){e.$setViewValue(c[0].checked)})});e.$render=function(){c[0].checked=e.$viewValue};e.$isEmpty=function(a){return a!==f};e.$formatters.push(function(a){return a===
f});e.$parsers.push(function(a){return a?f:g})},hidden:v,button:v,submit:v,reset:v},Dc=["$browser","$sniffer",function(a,c){return{restrict:"E",require:"?ngModel",link:function(d,e,f,g){g&&(Cc[B(f.type)]||Cc.text)(d,e,f,g,c,a)}}}],jb="ng-valid",ib="ng-invalid",Fa="ng-pristine",lb="ng-dirty",Td=["$scope","$exceptionHandler","$attrs","$element","$parse",function(a,c,d,e,f){function g(a,c){c=c?"-"+$a(c,"-"):"";e.removeClass((a?ib:jb)+c).addClass((a?jb:ib)+c)}this.$modelValue=this.$viewValue=Number.NaN;
this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$name=d.name;var h=f(d.ngModel),m=h.assign;if(!m)throw D("ngModel")("nonassign",d.ngModel,ga(e));this.$render=v;this.$isEmpty=function(a){return z(a)||""===a||null===a||a!==a};var k=e.inheritedData("$formController")||kb,l=0,r=this.$error={};e.addClass(Fa);g(!0);this.$setValidity=function(a,c){r[a]!==!c&&(c?(r[a]&&l--,l||(g(!0),this.$valid=!0,this.$invalid=!1)):(g(!1),
this.$invalid=!0,this.$valid=!1,l++),r[a]=!c,g(c,a),k.$setValidity(a,c,this))};this.$setPristine=function(){this.$dirty=!1;this.$pristine=!0;e.removeClass(lb).addClass(Fa)};this.$setViewValue=function(d){this.$viewValue=d;this.$pristine&&(this.$dirty=!0,this.$pristine=!1,e.removeClass(Fa).addClass(lb),k.$setDirty());p(this.$parsers,function(a){d=a(d)});this.$modelValue!==d&&(this.$modelValue=d,m(a,d),p(this.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}}))};var q=this;a.$watch(function(){var c=
h(a);if(q.$modelValue!==c){var d=q.$formatters,e=d.length;for(q.$modelValue=c;e--;)c=d[e](c);q.$viewValue!==c&&(q.$viewValue=c,q.$render())}})}],Ud=function(){return{require:["ngModel","^?form"],controller:Td,link:function(a,c,d,e){var f=e[0],g=e[1]||kb;g.$addControl(f);c.on("$destroy",function(){g.$removeControl(f)})}}},Vd=aa({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),Ec=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){d.required=
!0;var f=function(a){if(d.required&&e.$isEmpty(a))e.$setValidity("required",!1);else return e.$setValidity("required",!0),a};e.$formatters.push(f);e.$parsers.unshift(f);d.$observe("required",function(){f(e.$viewValue)})}}}},Wd=function(){return{require:"ngModel",link:function(a,c,d,e){var f=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){if(!z(a)){var c=[];a&&p(a.split(f),function(a){a&&c.push(ba(a))});return c}});e.$formatters.push(function(a){return H(a)?a.join(", "):
s});e.$isEmpty=function(a){return!a||!a.length}}}},Xd=/^(true|false|\d+)$/,Yd=function(){return{priority:100,compile:function(a,c){return Xd.test(c.ngValue)?function(a,c,f){f.$set("value",a.$eval(f.ngValue))}:function(a,c,f){a.$watch(f.ngValue,function(a){f.$set("value",a)})}}}},Zd=ta(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);a.$watch(d.ngBind,function(a){c.text(a==s?"":a)})}),$d=["$interpolate",function(a){return function(c,d,e){c=a(d.attr(e.$attr.ngBindTemplate));d.addClass("ng-binding").data("$binding",
c);e.$observe("ngBindTemplate",function(a){d.text(a)})}}],ae=["$sce","$parse",function(a,c){return function(d,e,f){e.addClass("ng-binding").data("$binding",f.ngBindHtml);var g=c(f.ngBindHtml);d.$watch(function(){return(g(d)||"").toString()},function(c){e.html(a.getTrustedHtml(g(d))||"")})}}],be=Jb("",!0),ce=Jb("Odd",0),de=Jb("Even",1),ee=ta({compile:function(a,c){c.$set("ngCloak",s);a.removeClass("ng-cloak")}}),fe=[function(){return{scope:!0,controller:"@"}}],ge=["$sniffer",function(a){return{priority:1E3,
compile:function(){a.csp=!0}}}],Fc={};p("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var c=la("ng-"+a);Fc[c]=["$parse",function(d){return function(e,f,g){var h=d(g[c]);f.on(B(a),function(a){e.$apply(function(){h(e,{$event:a})})})}}]});var he=["$animate",function(a){return{transclude:"element",priority:600,terminal:!0,restrict:"A",compile:function(c,d,e){return function(c,d,h){var m,
k;c.$watch(h.ngIf,function(h){m&&(a.leave(m),m=s);k&&(k.$destroy(),k=s);Ka(h)&&(k=c.$new(),e(k,function(c){m=c;a.enter(c,d.parent(),d)}))})}}}}],ie=["$http","$templateCache","$anchorScroll","$compile","$animate","$sce",function(a,c,d,e,f,g){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",compile:function(h,m,k){var l=m.ngInclude||m.src,p=m.onload||"",q=m.autoscroll;return function(h,m){var s=0,C,u,x=function(){C&&(C.$destroy(),C=null);u&&(f.leave(u),u=null)};h.$watch(g.parseAsResourceUrl(l),
function(g){var l=++s;g?(a.get(g,{cache:c}).success(function(a){if(l===s){var c=h.$new();k(c,function(g){x();C=c;u=g;u.html(a);f.enter(u,null,m);e(u.contents())(C);!w(q)||q&&!h.$eval(q)||d();C.$emit("$includeContentLoaded");h.$eval(p)})}}).error(function(){l===s&&x()}),h.$emit("$includeContentRequested")):x()})}}}}],je=ta({compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}),ke=ta({terminal:!0,priority:1E3}),le=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",
link:function(e,f,g){var h=g.count,m=g.$attr.when&&f.attr(g.$attr.when),k=g.offset||0,l=e.$eval(m)||{},r={},q=c.startSymbol(),n=c.endSymbol(),s=/^when(Minus)?(.+)$/;p(g,function(a,c){s.test(c)&&(l[B(c.replace("when","").replace("Minus","-"))]=f.attr(g.$attr[c]))});p(l,function(a,e){r[e]=c(a.replace(d,q+h+"-"+k+n))});e.$watch(function(){var c=parseFloat(e.$eval(h));if(isNaN(c))return"";c in l||(c=a.pluralCat(c-k));return r[c](e,f,!0)},function(a){f.text(a)})}}}],me=["$parse","$animate",function(a,
c){function d(a){if(a.startNode===a.endNode)return x(a.startNode);var c=a.startNode,d=[c];do{c=c.nextSibling;if(!c)break;d.push(c)}while(c!==a.endNode);return x(d)}var e=D("ngRepeat");return{transclude:"element",priority:1E3,terminal:!0,compile:function(f,g,h){return function(f,g,l){var r=l.ngRepeat,q=r.match(/^\s*(.+)\s+in\s+(.*?)\s*(\s+track\s+by\s+(.+)\s*)?$/),n,s,w,C,u,v,B,t={$id:Ca};if(!q)throw e("iexp",r);l=q[1];u=q[2];(q=q[4])?(n=a(q),s=function(a,c,d){B&&(t[B]=a);t[v]=c;t.$index=d;return n(f,
t)}):(w=function(a,c){return Ca(c)},C=function(a){return a});q=l.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!q)throw e("iidexp",l);v=q[3]||q[1];B=q[2];var F={};f.$watchCollection(u,function(a){var l,q,n=g[0],u,t={},G,D,O,P,H,K,z=[];if(nb(a))H=a,u=s||w;else{u=s||C;H=[];for(O in a)a.hasOwnProperty(O)&&"$"!=O.charAt(0)&&H.push(O);H.sort()}G=H.length;q=z.length=H.length;for(l=0;l<q;l++)if(O=a===H?l:H[l],P=a[O],P=u(O,P,l),pa(P,"`track by` id"),F.hasOwnProperty(P))K=F[P],delete F[P],t[P]=
K,z[l]=K;else{if(t.hasOwnProperty(P))throw p(z,function(a){a&&a.startNode&&(F[a.id]=a)}),e("dupes",r,P);z[l]={id:P};t[P]=!1}for(O in F)F.hasOwnProperty(O)&&(K=F[O],l=d(K),c.leave(l),p(l,function(a){a.$$NG_REMOVED=!0}),K.scope.$destroy());l=0;for(q=H.length;l<q;l++){O=a===H?l:H[l];P=a[O];K=z[l];z[l-1]&&(n=z[l-1].endNode);if(K.startNode){D=K.scope;u=n;do u=u.nextSibling;while(u&&u.$$NG_REMOVED);K.startNode!=u&&c.move(d(K),null,x(n));n=K.endNode}else D=f.$new();D[v]=P;B&&(D[B]=O);D.$index=l;D.$first=
0===l;D.$last=l===G-1;D.$middle=!(D.$first||D.$last);D.$odd=!(D.$even=0==l%2);K.startNode||h(D,function(a){a[a.length++]=R.createComment(" end ngRepeat: "+r+" ");c.enter(a,null,x(n));n=a;K.scope=D;K.startNode=n&&n.endNode?n.endNode:a[0];K.endNode=a[a.length-1];t[K.id]=K})}F=t})}}}}],ne=["$animate",function(a){return function(c,d,e){c.$watch(e.ngShow,function(c){a[Ka(c)?"removeClass":"addClass"](d,"ng-hide")})}}],oe=["$animate",function(a){return function(c,d,e){c.$watch(e.ngHide,function(c){a[Ka(c)?
"addClass":"removeClass"](d,"ng-hide")})}}],pe=ta(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&p(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),qe=["$animate",function(a){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(c,d,e,f){var g,h,m=[];c.$watch(e.ngSwitch||e.on,function(d){for(var l=0,r=m.length;l<r;l++)m[l].$destroy(),a.leave(h[l]);h=[];m=[];if(g=f.cases["!"+d]||f.cases["?"])c.$eval(e.change),p(g,function(d){var e=c.$new();
m.push(e);d.transclude(e,function(c){var e=d.element;h.push(c);a.enter(c,e.parent(),e)})})})}}}],re=ta({transclude:"element",priority:800,require:"^ngSwitch",compile:function(a,c,d){return function(a,f,g,h){h.cases["!"+c.ngSwitchWhen]=h.cases["!"+c.ngSwitchWhen]||[];h.cases["!"+c.ngSwitchWhen].push({transclude:d,element:f})}}}),se=ta({transclude:"element",priority:800,require:"^ngSwitch",compile:function(a,c,d){return function(a,c,g,h){h.cases["?"]=h.cases["?"]||[];h.cases["?"].push({transclude:d,
element:c})}}}),te=ta({controller:["$element","$transclude",function(a,c){if(!c)throw D("ngTransclude")("orphan",ga(a));this.$transclude=c}],link:function(a,c,d,e){e.$transclude(function(a){c.html("");c.append(a)})}}),ue=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){"text/ng-template"==d.type&&a.put(d.id,c[0].text)}}}],ve=D("ngOptions"),we=aa({terminal:!0}),xe=["$compile","$parse",function(a,c){var d=/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\s+track\s+by\s+(.*?))?$/,
e={$setViewValue:v};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,c,d){var m=this,k={},l=e,p;m.databound=d.ngModel;m.init=function(a,c,d){l=a;p=d};m.addOption=function(c){pa(c,'"option value"');k[c]=!0;l.$viewValue==c&&(a.val(c),p.parent()&&p.remove())};m.removeOption=function(a){this.hasOption(a)&&(delete k[a],l.$viewValue==a&&this.renderUnknownOption(a))};m.renderUnknownOption=function(c){c="? "+Ca(c)+" ?";p.val(c);a.prepend(p);a.val(c);p.prop("selected",
!0)};m.hasOption=function(a){return k.hasOwnProperty(a)};c.$on("$destroy",function(){m.renderUnknownOption=v})}],link:function(e,g,h,m){function k(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(t.parent()&&t.remove(),c.val(a),""===a&&u.prop("selected",!0)):z(a)&&u?c.val(""):e.renderUnknownOption(a)};c.on("change",function(){a.$apply(function(){t.parent()&&t.remove();d.$setViewValue(c.val())})})}function l(a,c,d){var e;d.$render=function(){var a=new Pa(d.$viewValue);p(c.find("option"),
function(c){c.selected=w(a.get(c.value))})};a.$watch(function(){Aa(e,d.$viewValue)||(e=fa(d.$viewValue),d.$render())});c.on("change",function(){a.$apply(function(){var a=[];p(c.find("option"),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}function r(e,f,h){function g(){var a={"":[]},c=[""],d,k,t,v,x;v=h.$modelValue;x=r(e)||[];var B=n?Lb(x):x,G,z,A;z={};t=!1;var E,J;if(y)if(u&&H(v))for(t=new Pa([]),A=0;A<v.length;A++)z[m]=v[A],t.put(u(e,z),v[A]);else t=new Pa(v);for(A=0;G=B.length,
A<G;A++){k=A;if(n){k=B[A];if("$"===k.charAt(0))continue;z[n]=k}z[m]=x[k];d=q(e,z)||"";(k=a[d])||(k=a[d]=[],c.push(d));y?d=t.remove(u?u(e,z):p(e,z))!==s:(u?(d={},d[m]=v,d=u(e,d)===u(e,z)):d=v===p(e,z),t=t||d);E=l(e,z);E=E===s?"":E;k.push({id:u?u(e,z):n?B[A]:A,label:E,selected:d})}y||(C||null===v?a[""].unshift({id:"",label:"",selected:!t}):t||a[""].unshift({id:"?",label:"",selected:!0}));z=0;for(B=c.length;z<B;z++){d=c[z];k=a[d];w.length<=z?(v={element:F.clone().attr("label",d),label:k.label},x=[v],
w.push(x),f.append(v.element)):(x=w[z],v=x[0],v.label!=d&&v.element.attr("label",v.label=d));E=null;A=0;for(G=k.length;A<G;A++)t=k[A],(d=x[A+1])?(E=d.element,d.label!==t.label&&E.text(d.label=t.label),d.id!==t.id&&E.val(d.id=t.id),E[0].selected!==t.selected&&E.prop("selected",d.selected=t.selected)):(""===t.id&&C?J=C:(J=D.clone()).val(t.id).attr("selected",t.selected).text(t.label),x.push({element:J,label:t.label,id:t.id,selected:t.selected}),E?E.after(J):v.element.append(J),E=J);for(A++;x.length>
A;)x.pop().element.remove()}for(;w.length>z;)w.pop()[0].element.remove()}var k;if(!(k=v.match(d)))throw ve("iexp",v,ga(f));var l=c(k[2]||k[1]),m=k[4]||k[6],n=k[5],q=c(k[3]||""),p=c(k[2]?k[1]:m),r=c(k[7]),u=k[8]?c(k[8]):null,w=[[{element:f,label:""}]];C&&(a(C)(e),C.removeClass("ng-scope"),C.remove());f.html("");f.on("change",function(){e.$apply(function(){var a,c=r(e)||[],d={},g,k,l,q,t,v,x;if(y)for(k=[],q=0,v=w.length;q<v;q++)for(a=w[q],l=1,t=a.length;l<t;l++){if((g=a[l].element)[0].selected){g=g.val();
n&&(d[n]=g);if(u)for(x=0;x<c.length&&(d[m]=c[x],u(e,d)!=g);x++);else d[m]=c[g];k.push(p(e,d))}}else if(g=f.val(),"?"==g)k=s;else if(""==g)k=null;else if(u)for(x=0;x<c.length;x++){if(d[m]=c[x],u(e,d)==g){k=p(e,d);break}}else d[m]=c[g],n&&(d[n]=g),k=p(e,d);h.$setViewValue(k)})});h.$render=g;e.$watch(g)}if(m[1]){var q=m[0],n=m[1],y=h.multiple,v=h.ngOptions,C=!1,u,D=x(R.createElement("option")),F=x(R.createElement("optgroup")),t=D.clone();m=0;for(var B=g.children(),G=B.length;m<G;m++)if(""==B[m].value){u=
C=B.eq(m);break}q.init(n,C,t);if(y&&(h.required||h.ngRequired)){var E=function(a){n.$setValidity("required",!h.required||a&&a.length);return a};n.$parsers.push(E);n.$formatters.unshift(E);h.$observe("required",function(){E(n.$viewValue)})}v?r(e,g,n):y?l(e,g,n):k(e,g,n,q)}}}}],ye=["$interpolate",function(a){var c={addOption:v,removeOption:v};return{restrict:"E",priority:100,compile:function(d,e){if(z(e.value)){var f=a(d.text(),!0);f||e.$set("value",d.text())}return function(a,d,e){var k=d.parent(),
l=k.data("$selectController")||k.parent().data("$selectController");l&&l.databound?d.prop("selected",!1):l=c;f?a.$watch(f,function(a,c){e.$set("value",a);a!==c&&l.removeOption(c);l.addOption(a)}):l.addOption(e.value);d.on("$destroy",function(){l.removeOption(e.value)})}}}}],ze=aa({restrict:"E",terminal:!0});(Ba=Y.jQuery)?(x=Ba,G(Ba.fn,{scope:Sa.scope,controller:Sa.controller,injector:Sa.injector,inheritedData:Sa.inheritedData}),tb("remove",!0,!0,!1),tb("empty",!1,!1,!1),tb("html",!1,!1,!0)):x=J;Za.element=
x;(function(a){G(a,{bootstrap:Sb,copy:fa,extend:G,equals:Aa,element:x,forEach:p,injector:Tb,noop:v,bind:pb,toJson:oa,fromJson:Ob,identity:za,isUndefined:z,isDefined:w,isString:F,isFunction:E,isObject:S,isNumber:ob,isElement:Ic,isArray:H,$$minErr:D,version:Id,isDate:Ha,lowercase:B,uppercase:Ea,callbacks:{counter:0}});Ra=Oc(Y);try{Ra("ngLocale")}catch(c){Ra("ngLocale",[]).provider("$locale",ld)}Ra("ng",["ngLocale"],["$provide",function(a){a.provider("$compile",bc).directive({a:Nd,input:Dc,textarea:Dc,
form:Od,script:ue,select:xe,style:ze,option:ye,ngBind:Zd,ngBindHtml:ae,ngBindTemplate:$d,ngClass:be,ngClassEven:de,ngClassOdd:ce,ngCsp:ge,ngCloak:ee,ngController:fe,ngForm:Pd,ngHide:oe,ngIf:he,ngInclude:ie,ngInit:je,ngNonBindable:ke,ngPluralize:le,ngRepeat:me,ngShow:ne,ngStyle:pe,ngSwitch:qe,ngSwitchWhen:re,ngSwitchDefault:se,ngOptions:we,ngTransclude:te,ngModel:Ud,ngList:Wd,ngChange:Vd,required:Ec,ngRequired:Ec,ngValue:Yd}).directive(Kb).directive(Fc);a.provider({$anchorScroll:Xc,$animate:Kd,$browser:Zc,
$cacheFactory:$c,$controller:cd,$document:dd,$exceptionHandler:ed,$filter:sc,$interpolate:jd,$interval:kd,$http:fd,$httpBackend:gd,$location:nd,$log:od,$parse:pd,$rootScope:sd,$q:qd,$sce:vd,$sceDelegate:ud,$sniffer:wd,$templateCache:ad,$timeout:xd,$window:yd})}])})(Za);x(R).ready(function(){Mc(R,Sb)})})(window,document);angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}</style>');
```
|
/content/code_sandbox/demo/ajax/angular/assets/angular/angular.min.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 34,567
|
```javascript
/**
* State-based routing for AngularJS
* @version v0.4.2
* @link path_to_url
*/
"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(a,b,c){"use strict";function d(a,b){return T(new(T(function(){},{prototype:a})),b)}function e(a){return S(arguments,function(b){b!==a&&S(b,function(b,c){a.hasOwnProperty(c)||(a[c]=b)})}),a}function f(a,b){var c=[];for(var d in a.path){if(a.path[d]!==b.path[d])break;c.push(a.path[d])}return c}function g(a){if(Object.keys)return Object.keys(a);var b=[];return S(a,function(a,c){b.push(c)}),b}function h(a,b){if(Array.prototype.indexOf)return a.indexOf(b,Number(arguments[2])||0);var c=a.length>>>0,d=Number(arguments[2])||0;for(d=d<0?Math.ceil(d):Math.floor(d),d<0&&(d+=c);d<c;d++)if(d in a&&a[d]===b)return d;return-1}function i(a,b,c,d){var e,i=f(c,d),j={},k=[];for(var l in i)if(i[l]&&i[l].params&&(e=g(i[l].params),e.length))for(var m in e)h(k,e[m])>=0||(k.push(e[m]),j[e[m]]=a[e[m]]);return T({},j,b)}function j(a,b,c){if(!c){c=[];for(var d in a)c.push(d)}for(var e=0;e<c.length;e++){var f=c[e];if(a[f]!=b[f])return!1}return!0}function k(a,b){var c={};return S(a,function(a){c[a]=b[a]}),c}function l(a){var b={},c=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));return S(c,function(c){c in a&&(b[c]=a[c])}),b}function m(a){var b={},c=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(var d in a)h(c,d)==-1&&(b[d]=a[d]);return b}function n(a,b){var c=R(a),d=c?[]:{};return S(a,function(a,e){b(a,e)&&(d[c?d.length:e]=a)}),d}function o(a,b){var c=R(a)?[]:{};return S(a,function(a,d){c[d]=b(a,d)}),c}function p(a){return a.then(c,function(){})&&a}function q(a,b){var d=1,f=2,i={},j=[],k=i,l=T(a.when(i),{$$promises:i,$$values:i});this.study=function(i){function n(a,c){if(t[c]!==f){if(s.push(c),t[c]===d)throw s.splice(0,h(s,c)),new Error("Cyclic dependency: "+s.join(" -> "));if(t[c]=d,P(a))r.push(c,[function(){return b.get(a)}],j);else{var e=b.annotate(a);S(e,function(a){a!==c&&i.hasOwnProperty(a)&&n(i[a],a)}),r.push(c,a,e)}s.pop(),t[c]=f}}function o(a){return Q(a)&&a.then&&a.$$promises}if(!Q(i))throw new Error("'invocables' must be an object");var q=g(i||{}),r=[],s=[],t={};return S(i,n),i=s=t=null,function(d,f,g){function h(){--v||(w||e(u,f.$$values),s.$$values=u,s.$$promises=s.$$promises||!0,delete s.$$inheritedValues,n.resolve(u))}function i(a){s.$$failure=a,n.reject(a)}function j(c,e,f){function j(a){l.reject(a),i(a)}function k(){if(!N(s.$$failure))try{l.resolve(b.invoke(e,g,u)),l.promise.then(function(a){u[c]=a,h()},j)}catch(a){j(a)}}var l=a.defer(),m=0;S(f,function(a){t.hasOwnProperty(a)&&!d.hasOwnProperty(a)&&(m++,t[a].then(function(b){u[a]=b,--m||k()},j))}),m||k(),t[c]=p(l.promise)}if(o(d)&&g===c&&(g=f,f=d,d=null),d){if(!Q(d))throw new Error("'locals' must be an object")}else d=k;if(f){if(!o(f))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else f=l;var n=a.defer(),s=p(n.promise),t=s.$$promises={},u=T({},d),v=1+r.length/3,w=!1;if(p(s),N(f.$$failure))return i(f.$$failure),s;f.$$inheritedValues&&e(u,m(f.$$inheritedValues,q)),T(t,f.$$promises),f.$$values?(w=e(u,m(f.$$values,q)),s.$$inheritedValues=m(f.$$values,q),h()):(f.$$inheritedValues&&(s.$$inheritedValues=m(f.$$inheritedValues,q)),f.then(h,i));for(var x=0,y=r.length;x<y;x+=3)d.hasOwnProperty(r[x])?h():j(r[x],r[x+1],r[x+2]);return s}},this.resolve=function(a,b,c,d){return this.study(a)(b,c,d)}}function r(){var a=b.version.minor<3;this.shouldUnsafelyUseHttp=function(b){a=!!b},this.$get=["$http","$templateCache","$injector",function(b,c,d){return new s(b,c,d,a)}]}function s(a,b,c,d){this.fromConfig=function(a,b,c){return N(a.template)?this.fromString(a.template,b):N(a.templateUrl)?this.fromUrl(a.templateUrl,b):N(a.templateProvider)?this.fromProvider(a.templateProvider,b,c):null},this.fromString=function(a,b){return O(a)?a(b):a},this.fromUrl=function(e,f){return O(e)&&(e=e(f)),null==e?null:d?a.get(e,{cache:b,headers:{Accept:"text/html"}}).then(function(a){return a.data}):c.get("$templateRequest")(e)},this.fromProvider=function(a,b,d){return c.invoke(a,null,d||{params:b})}}function t(a,b,e){function f(b,c,d,e){if(q.push(b),o[b])return o[b];if(!/^\w+([-.]+\w+)*(?:\[\])?$/.test(b))throw new Error("Invalid parameter name '"+b+"' in pattern '"+a+"'");if(p[b])throw new Error("Duplicate parameter name '"+b+"' in pattern '"+a+"'");return p[b]=new W.Param(b,c,d,e),p[b]}function g(a,b,c,d){var e=["",""],f=a.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!b)return f;switch(c){case!1:e=["(",")"+(d?"?":"")];break;case!0:f=f.replace(/\/$/,""),e=["(?:/(",")|/)?"];break;default:e=["("+c+"|",")?"]}return f+e[0]+b+e[1]}function h(e,f){var g,h,i,j,k;return g=e[2]||e[3],k=b.params[g],i=a.substring(m,e.index),h=f?e[4]:e[4]||("*"==e[1]?".*":null),h&&(j=W.type(h)||d(W.type("string"),{pattern:new RegExp(h,b.caseInsensitive?"i":c)})),{id:g,regexp:h,segment:i,type:j,cfg:k}}b=T({params:{}},Q(b)?b:{});var i,j=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,k=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,l="^",m=0,n=this.segments=[],o=e?e.params:{},p=this.params=e?e.params.$$new():new W.ParamSet,q=[];this.source=a;for(var r,s,t;(i=j.exec(a))&&(r=h(i,!1),!(r.segment.indexOf("?")>=0));)s=f(r.id,r.type,r.cfg,"path"),l+=g(r.segment,s.type.pattern.source,s.squash,s.isOptional),n.push(r.segment),m=j.lastIndex;t=a.substring(m);var u=t.indexOf("?");if(u>=0){var v=this.sourceSearch=t.substring(u);if(t=t.substring(0,u),this.sourcePath=a.substring(0,m+u),v.length>0)for(m=0;i=k.exec(v);)r=h(i,!0),s=f(r.id,r.type,r.cfg,"search"),m=j.lastIndex}else this.sourcePath=a,this.sourceSearch="";l+=g(t)+(b.strict===!1?"/?":"")+"$",n.push(t),this.regexp=new RegExp(l,b.caseInsensitive?"i":c),this.prefix=n[0],this.$$paramNames=q}function u(a){T(this,a)}function v(){function a(a){return null!=a?a.toString().replace(/(~|\/)/g,function(a){return{"~":"~~","/":"~2F"}[a]}):a}function e(a){return null!=a?a.toString().replace(/(~~|~2F)/g,function(a){return{"~~":"~","~2F":"/"}[a]}):a}function f(){return{strict:p,caseInsensitive:m}}function i(a){return O(a)||R(a)&&O(a[a.length-1])}function j(){for(;w.length;){var a=w.shift();if(a.pattern)throw new Error("You cannot override a type's .pattern at runtime.");b.extend(r[a.name],l.invoke(a.def))}}function k(a){T(this,a||{})}W=this;var l,m=!1,p=!0,q=!1,r={},s=!0,w=[],x={string:{encode:a,decode:e,is:function(a){return null==a||!N(a)||"string"==typeof a},pattern:/[^\/]*/},int:{encode:a,decode:function(a){return parseInt(a,10)},is:function(a){return a!==c&&null!==a&&this.decode(a.toString())===a},pattern:/\d+/},bool:{encode:function(a){return a?1:0},decode:function(a){return 0!==parseInt(a,10)},is:function(a){return a===!0||a===!1},pattern:/0|1/},date:{encode:function(a){return this.is(a)?[a.getFullYear(),("0"+(a.getMonth()+1)).slice(-2),("0"+a.getDate()).slice(-2)].join("-"):c},decode:function(a){if(this.is(a))return a;var b=this.capture.exec(a);return b?new Date(b[1],b[2]-1,b[3]):c},is:function(a){return a instanceof Date&&!isNaN(a.valueOf())},equals:function(a,b){return this.is(a)&&this.is(b)&&a.toISOString()===b.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:b.toJson,decode:b.fromJson,is:b.isObject,equals:b.equals,pattern:/[^\/]*/},any:{encode:b.identity,decode:b.identity,equals:b.equals,pattern:/.*/}};v.$$getDefaultValue=function(a){if(!i(a.value))return a.value;if(!l)throw new Error("Injectable functions cannot be called at configuration time");return l.invoke(a.value)},this.caseInsensitive=function(a){return N(a)&&(m=a),m},this.strictMode=function(a){return N(a)&&(p=a),p},this.defaultSquashPolicy=function(a){if(!N(a))return q;if(a!==!0&&a!==!1&&!P(a))throw new Error("Invalid squash policy: "+a+". Valid policies: false, true, arbitrary-string");return q=a,a},this.compile=function(a,b){return new t(a,T(f(),b))},this.isMatcher=function(a){if(!Q(a))return!1;var b=!0;return S(t.prototype,function(c,d){O(c)&&(b=b&&N(a[d])&&O(a[d]))}),b},this.type=function(a,b,c){if(!N(b))return r[a];if(r.hasOwnProperty(a))throw new Error("A type named '"+a+"' has already been defined.");return r[a]=new u(T({name:a},b)),c&&(w.push({name:a,def:c}),s||j()),this},S(x,function(a,b){r[b]=new u(T({name:b},a))}),r=d(r,{}),this.$get=["$injector",function(a){return l=a,s=!1,j(),S(x,function(a,b){r[b]||(r[b]=new u(a))}),this}],this.Param=function(a,d,e,f){function j(a){var b=Q(a)?g(a):[],c=h(b,"value")===-1&&h(b,"type")===-1&&h(b,"squash")===-1&&h(b,"array")===-1;return c&&(a={value:a}),a.$$fn=i(a.value)?a.value:function(){return a.value},a}function k(c,d,e){if(c.type&&d)throw new Error("Param '"+a+"' has two type configurations.");return d?d:c.type?b.isString(c.type)?r[c.type]:c.type instanceof u?c.type:new u(c.type):"config"===e?r.any:r.string}function m(){var b={array:"search"===f&&"auto"},c=a.match(/\[\]$/)?{array:!0}:{};return T(b,c,e).array}function p(a,b){var c=a.squash;if(!b||c===!1)return!1;if(!N(c)||null==c)return q;if(c===!0||P(c))return c;throw new Error("Invalid squash policy: '"+c+"'. Valid policies: false, true, or arbitrary string")}function s(a,b,d,e){var f,g,i=[{from:"",to:d||b?c:""},{from:null,to:d||b?c:""}];return f=R(a.replace)?a.replace:[],P(e)&&f.push({from:e,to:c}),g=o(f,function(a){return a.from}),n(i,function(a){return h(g,a.from)===-1}).concat(f)}function t(){if(!l)throw new Error("Injectable functions cannot be called at configuration time");var a=l.invoke(e.$$fn);if(null!==a&&a!==c&&!x.type.is(a))throw new Error("Default value ("+a+") for parameter '"+x.id+"' is not an instance of Type ("+x.type.name+")");return a}function v(a){function b(a){return function(b){return b.from===a}}function c(a){var c=o(n(x.replace,b(a)),function(a){return a.to});return c.length?c[0]:a}return a=c(a),N(a)?x.type.$normalize(a):t()}function w(){return"{Param:"+a+" "+d+" squash: '"+A+"' optional: "+z+"}"}var x=this;e=j(e),d=k(e,d,f);var y=m();d=y?d.$asArray(y,"search"===f):d,"string"!==d.name||y||"path"!==f||e.value!==c||(e.value="");var z=e.value!==c,A=p(e,z),B=s(e,y,z,A);T(this,{id:a,type:d,location:f,array:y,squash:A,replace:B,isOptional:z,value:v,dynamic:c,config:e,toString:w})},k.prototype={$$new:function(){return d(this,T(new k,{$$parent:this}))},$$keys:function(){for(var a=[],b=[],c=this,d=g(k.prototype);c;)b.push(c),c=c.$$parent;return b.reverse(),S(b,function(b){S(g(b),function(b){h(a,b)===-1&&h(d,b)===-1&&a.push(b)})}),a},$$values:function(a){var b={},c=this;return S(c.$$keys(),function(d){b[d]=c[d].value(a&&a[d])}),b},$$equals:function(a,b){var c=!0,d=this;return S(d.$$keys(),function(e){var f=a&&a[e],g=b&&b[e];d[e].type.equals(f,g)||(c=!1)}),c},$$validates:function(a){var d,e,f,g,h,i=this.$$keys();for(d=0;d<i.length&&(e=this[i[d]],f=a[i[d]],f!==c&&null!==f||!e.isOptional);d++){if(g=e.type.$normalize(f),!e.type.is(g))return!1;if(h=e.type.encode(g),b.isString(h)&&!e.type.pattern.exec(h))return!1}return!0},$$parent:c},this.ParamSet=k}function w(a,d){function e(a){var b=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec(a.source);return null!=b?b[1].replace(/\\(.)/g,"$1"):""}function f(a,b){return a.replace(/\$(\$|\d{1,2})/,function(a,c){return b["$"===c?0:Number(c)]})}function g(a,b,c){if(!c)return!1;var d=a.invoke(b,b,{$match:c});return!N(d)||d}function h(d,e,f,g,h){function m(a,b,c){return"/"===q?a:b?q.slice(0,-1)+a:c?q.slice(1)+a:a}function n(a){function b(a){var b=a(f,d);return!!b&&(P(b)&&d.replace().url(b),!0)}if(!a||!a.defaultPrevented){p&&d.url()===p;p=c;var e,g=j.length;for(e=0;e<g;e++)if(b(j[e]))return;k&&b(k)}}function o(){return i=i||e.$on("$locationChangeSuccess",n)}var p,q=g.baseHref(),r=d.url();return l||o(),{sync:function(){n()},listen:function(){return o()},update:function(a){return a?void(r=d.url()):void(d.url()!==r&&(d.url(r),d.replace()))},push:function(a,b,e){var f=a.format(b||{});null!==f&&b&&b["#"]&&(f+="#"+b["#"]),d.url(f),p=e&&e.$$avoidResync?d.url():c,e&&e.replace&&d.replace()},href:function(c,e,f){if(!c.validates(e))return null;var g=a.html5Mode();b.isObject(g)&&(g=g.enabled),g=g&&h.history;var i=c.format(e);if(f=f||{},g||null===i||(i="#"+a.hashPrefix()+i),null!==i&&e&&e["#"]&&(i+="#"+e["#"]),i=m(i,g,f.absolute),!f.absolute||!i)return i;var j=!g&&i?"/":"",k=d.port();return k=80===k||443===k?"":":"+k,[d.protocol(),"://",d.host(),k,j,i].join("")}}}var i,j=[],k=null,l=!1;this.rule=function(a){if(!O(a))throw new Error("'rule' must be a function");return j.push(a),this},this.otherwise=function(a){if(P(a)){var b=a;a=function(){return b}}else if(!O(a))throw new Error("'rule' must be a function");return k=a,this},this.when=function(a,b){var c,h=P(b);if(P(a)&&(a=d.compile(a)),!h&&!O(b)&&!R(b))throw new Error("invalid 'handler' in when()");var i={matcher:function(a,b){return h&&(c=d.compile(b),b=["$match",function(a){return c.format(a)}]),T(function(c,d){return g(c,b,a.exec(d.path(),d.search()))},{prefix:P(a.prefix)?a.prefix:""})},regex:function(a,b){if(a.global||a.sticky)throw new Error("when() RegExp must not be global or sticky");return h&&(c=b,b=["$match",function(a){return f(c,a)}]),T(function(c,d){return g(c,b,a.exec(d.path()))},{prefix:e(a)})}},j={matcher:d.isMatcher(a),regex:a instanceof RegExp};for(var k in j)if(j[k])return this.rule(i[k](a,b));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(a){a===c&&(a=!0),l=a},this.$get=h,h.$inject=["$location","$rootScope","$injector","$browser","$sniffer"]}function x(a,e){function f(a){return 0===a.indexOf(".")||0===a.indexOf("^")}function m(a,b){if(!a)return c;var d=P(a),e=d?a:a.name,g=f(e);if(g){if(!b)throw new Error("No reference point given for path '"+e+"'");b=m(b);for(var h=e.split("."),i=0,j=h.length,k=b;i<j;i++)if(""!==h[i]||0!==i){if("^"!==h[i])break;if(!k.parent)throw new Error("Path '"+e+"' not valid for state '"+b.name+"'");k=k.parent}else k=b;h=h.slice(i).join("."),e=k.name+(k.name&&h?".":"")+h}var l=A[e];return!l||!d&&(d||l!==a&&l.self!==a)?c:l}function n(a,b){B[a]||(B[a]=[]),B[a].push(b)}function q(a){for(var b=B[a]||[];b.length;)r(b.shift())}function r(b){b=d(b,{self:b,resolve:b.resolve||{},toString:function(){return this.name}});var c=b.name;if(!P(c)||c.indexOf("@")>=0)throw new Error("State must have a valid name");if(A.hasOwnProperty(c))throw new Error("State '"+c+"' is already defined");var e=c.indexOf(".")!==-1?c.substring(0,c.lastIndexOf(".")):P(b.parent)?b.parent:Q(b.parent)&&P(b.parent.name)?b.parent.name:"";if(e&&!A[e])return n(e,b.self);for(var f in D)O(D[f])&&(b[f]=D[f](b,D.$delegates[f]));return A[c]=b,!b[C]&&b.url&&a.when(b.url,["$match","$stateParams",function(a,c){z.$current.navigable==b&&j(a,c)||z.transitionTo(b,a,{inherit:!0,location:!1})}]),q(c),b}function s(a){return a.indexOf("*")>-1}function t(a){for(var b=a.split("."),c=z.$current.name.split("."),d=0,e=b.length;d<e;d++)"*"===b[d]&&(c[d]="*");return"**"===b[0]&&(c=c.slice(h(c,b[1])),c.unshift("**")),"**"===b[b.length-1]&&(c.splice(h(c,b[b.length-2])+1,Number.MAX_VALUE),c.push("**")),b.length==c.length&&c.join("")===b.join("")}function u(a,b){return P(a)&&!N(b)?D[a]:O(b)&&P(a)?(D[a]&&!D.$delegates[a]&&(D.$delegates[a]=D[a]),D[a]=b,this):this}function v(a,b){return Q(a)?b=a:b.name=a,r(b),this}function w(a,e,f,h,j,l,n,q,r){function u(b,c,d,f){var g=a.$broadcast("$stateNotFound",b,c,d);if(g.defaultPrevented)return n.update(),E;if(!g.retry)return null;if(f.$retry)return n.update(),F;var h=z.transition=e.when(g.retry);return h.then(function(){return h!==z.transition?(a.$broadcast("$stateChangeCancel",b.to,b.toParams,c,d),B):(b.options.$retry=!0,z.transitionTo(b.to,b.toParams,b.options))},function(){return E}),n.update(),h}function v(a,c,d,g,i,l){function m(){var c=[];return S(a.views,function(d,e){var g=d.resolve&&d.resolve!==a.resolve?d.resolve:{};g.$template=[function(){return f.load(e,{view:d,locals:i.globals,params:n,notify:l.notify})||""}],c.push(j.resolve(g,i.globals,i.resolve,a).then(function(c){if(O(d.controllerProvider)||R(d.controllerProvider)){var f=b.extend({},g,i.globals);c.$$controller=h.invoke(d.controllerProvider,null,f)}else c.$$controller=d.controller;c.$$state=a,c.$$controllerAs=d.controllerAs,c.$$resolveAs=d.resolveAs,i[e]=c}))}),e.all(c).then(function(){return i.globals})}var n=d?c:k(a.params.$$keys(),c),o={$stateParams:n};i.resolve=j.resolve(a.resolve,o,i.resolve,a);var p=[i.resolve.then(function(a){i.globals=a})];return g&&p.push(g),e.all(p).then(m).then(function(a){return i})}var w=new Error("transition superseded"),B=p(e.reject(w)),D=p(e.reject(new Error("transition prevented"))),E=p(e.reject(new Error("transition aborted"))),F=p(e.reject(new Error("transition failed")));return y.locals={resolve:null,globals:{$stateParams:{}}},z={params:{},current:y.self,$current:y,transition:null},z.reload=function(a){return z.transitionTo(z.current,l,{reload:a||!0,inherit:!1,notify:!0})},z.go=function(a,b,c){return z.transitionTo(a,b,T({inherit:!0,relative:z.$current},c))},z.transitionTo=function(b,c,f){c=c||{},f=T({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},f||{});var g,j=z.$current,o=z.params,q=j.path,r=m(b,f.relative),s=c["#"];if(!N(r)){var t={to:b,toParams:c,options:f},A=u(t,j.self,o,f);if(A)return A;if(b=t.to,c=t.toParams,f=t.options,r=m(b,f.relative),!N(r)){if(!f.relative)throw new Error("No such state '"+b+"'");throw new Error("Could not resolve '"+b+"' from state '"+f.relative+"'")}}if(r[C])throw new Error("Cannot transition to abstract state '"+b+"'");if(f.inherit&&(c=i(l,c||{},z.$current,r)),!r.params.$$validates(c))return F;c=r.params.$$values(c),b=r;var E=b.path,G=0,H=E[G],I=y.locals,J=[];if(f.reload){if(P(f.reload)||Q(f.reload)){if(Q(f.reload)&&!f.reload.name)throw new Error("Invalid reload state object");var K=f.reload===!0?q[0]:m(f.reload);if(f.reload&&!K)throw new Error("No such reload state '"+(P(f.reload)?f.reload:f.reload.name)+"'");for(;H&&H===q[G]&&H!==K;)I=J[G]=H.locals,G++,H=E[G]}}else for(;H&&H===q[G]&&H.ownParams.$$equals(c,o);)I=J[G]=H.locals,G++,H=E[G];if(x(b,c,j,o,I,f))return s&&(c["#"]=s),z.params=c,U(z.params,l),U(k(b.params.$$keys(),l),b.locals.globals.$stateParams),f.location&&b.navigable&&b.navigable.url&&(n.push(b.navigable.url,c,{$$avoidResync:!0,replace:"replace"===f.location}),n.update(!0)),z.transition=null,e.when(z.current);if(c=k(b.params.$$keys(),c||{}),s&&(c["#"]=s),f.notify&&a.$broadcast("$stateChangeStart",b.self,c,j.self,o,f).defaultPrevented)return a.$broadcast("$stateChangeCancel",b.self,c,j.self,o),null==z.transition&&n.update(),D;for(var L=e.when(I),M=G;M<E.length;M++,H=E[M])I=J[M]=d(I),L=v(H,c,H===b,L,I,f);var O=z.transition=L.then(function(){var d,e,g;if(z.transition!==O)return a.$broadcast("$stateChangeCancel",b.self,c,j.self,o),B;for(d=q.length-1;d>=G;d--)g=q[d],g.self.onExit&&h.invoke(g.self.onExit,g.self,g.locals.globals),g.locals=null;for(d=G;d<E.length;d++)e=E[d],e.locals=J[d],e.self.onEnter&&h.invoke(e.self.onEnter,e.self,e.locals.globals);return z.transition!==O?(a.$broadcast("$stateChangeCancel",b.self,c,j.self,o),B):(z.$current=b,z.current=b.self,z.params=c,U(z.params,l),z.transition=null,f.location&&b.navigable&&n.push(b.navigable.url,b.navigable.locals.globals.$stateParams,{$$avoidResync:!0,replace:"replace"===f.location}),f.notify&&a.$broadcast("$stateChangeSuccess",b.self,c,j.self,o),n.update(!0),z.current)}).then(null,function(d){return d===w?B:z.transition!==O?(a.$broadcast("$stateChangeCancel",b.self,c,j.self,o),B):(z.transition=null,g=a.$broadcast("$stateChangeError",b.self,c,j.self,o,d),g.defaultPrevented||n.update(),e.reject(d))});return p(O),O},z.is=function(a,b,d){d=T({relative:z.$current},d||{});var e=m(a,d.relative);return N(e)?z.$current===e&&(!b||g(b).reduce(function(a,c){var d=e.params[c];return a&&!d||d.type.equals(l[c],b[c])},!0)):c},z.includes=function(a,b,d){if(d=T({relative:z.$current},d||{}),P(a)&&s(a)){if(!t(a))return!1;a=z.$current.name}var e=m(a,d.relative);if(!N(e))return c;if(!N(z.$current.includes[e.name]))return!1;if(!b)return!0;for(var f=g(b),h=0;h<f.length;h++){var i=f[h],j=e.params[i];if(j&&!j.type.equals(l[i],b[i]))return!1}return g(b).reduce(function(a,c){var d=e.params[c];return a&&!d||d.type.equals(l[c],b[c])},!0)},z.href=function(a,b,d){d=T({lossy:!0,inherit:!0,absolute:!1,relative:z.$current},d||{});var e=m(a,d.relative);if(!N(e))return null;d.inherit&&(b=i(l,b||{},z.$current,e));var f=e&&d.lossy?e.navigable:e;return f&&f.url!==c&&null!==f.url?n.href(f.url,k(e.params.$$keys().concat("#"),b||{}),{absolute:d.absolute}):null},z.get=function(a,b){if(0===arguments.length)return o(g(A),function(a){return A[a].self});var c=m(a,b||z.$current);return c&&c.self?c.self:null},z}function x(a,b,c,d,e,f){function g(a,b,c){function d(b){return"search"!=a.params[b].location}var e=a.params.$$keys().filter(d),f=l.apply({},[a.params].concat(e)),g=new W.ParamSet(f);return g.$$equals(b,c)}if(!f.reload&&a===c&&(e===c.locals||a.self.reloadOnSearch===!1&&g(c,d,b)))return!0}var y,z,A={},B={},C="abstract",D={parent:function(a){if(N(a.parent)&&a.parent)return m(a.parent);var b=/^(.+)\.[^.]+$/.exec(a.name);return b?m(b[1]):y},data:function(a){return a.parent&&a.parent.data&&(a.data=a.self.data=d(a.parent.data,a.data)),a.data},url:function(a){var b=a.url,c={params:a.params||{}};if(P(b))return"^"==b.charAt(0)?e.compile(b.substring(1),c):(a.parent.navigable||y).url.concat(b,c);if(!b||e.isMatcher(b))return b;throw new Error("Invalid url '"+b+"' in state '"+a+"'")},navigable:function(a){return a.url?a:a.parent?a.parent.navigable:null},ownParams:function(a){var b=a.url&&a.url.params||new W.ParamSet;return S(a.params||{},function(a,c){b[c]||(b[c]=new W.Param(c,null,a,"config"))}),b},params:function(a){var b=l(a.ownParams,a.ownParams.$$keys());return a.parent&&a.parent.params?T(a.parent.params.$$new(),b):new W.ParamSet},views:function(a){var b={};return S(N(a.views)?a.views:{"":a},function(c,d){d.indexOf("@")<0&&(d+="@"+a.parent.name),c.resolveAs=c.resolveAs||a.resolveAs||"$resolve",b[d]=c}),b},path:function(a){return a.parent?a.parent.path.concat(a):[]},includes:function(a){var b=a.parent?T({},a.parent.includes):{};return b[a.name]=!0,b},$delegates:{}};y=r({name:"",url:"^",views:null,abstract:!0}),y.navigable=null,this.decorator=u,this.state=v,this.$get=w,w.$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter","$location","$urlMatcherFactory"]}function y(){function a(a,b){return{load:function(a,c){var d,e={template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}};return c=T(e,c),c.view&&(d=b.fromConfig(c.view,c.params,c.locals)),d}}}this.$get=a,a.$inject=["$rootScope","$templateFactory"]}function z(){var a=!1;this.useAnchorScroll=function(){a=!0},this.$get=["$anchorScroll","$timeout",function(b,c){return a?b:function(a){return c(function(){a[0].scrollIntoView()},0,!1)}}]}function A(a,c,d,e,f){function g(){return c.has?function(a){return c.has(a)?c.get(a):null}:function(a){try{return c.get(a)}catch(a){return null}}}function h(a,c){var d=function(){return{enter:function(a,b,c){b.after(a),c()},leave:function(a,b){a.remove(),b()}}};if(k)return{enter:function(a,c,d){b.version.minor>2?k.enter(a,null,c).then(d):k.enter(a,null,c,d)},leave:function(a,c){b.version.minor>2?k.leave(a).then(c):k.leave(a,c)}};if(j){var e=j&&j(c,a);return{enter:function(a,b,c){e.enter(a,null,b),c()},leave:function(a,b){e.leave(a),b()}}}return d()}var i=g(),j=i("$animator"),k=i("$animate"),l={restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(c,g,i){return function(c,g,j){function k(){if(m&&(m.remove(),m=null),o&&(o.$destroy(),o=null),n){var a=n.data("$uiViewAnim");s.leave(n,function(){a.$$animLeave.resolve(),m=null}),m=n,n=null}}function l(h){var l,m=C(c,j,g,e),t=m&&a.$current&&a.$current.locals[m];if(h||t!==p){l=c.$new(),p=a.$current.locals[m],l.$emit("$viewContentLoading",m);var u=i(l,function(a){var e=f.defer(),h=f.defer(),i={$animEnter:e.promise,$animLeave:h.promise,$$animLeave:h};a.data("$uiViewAnim",i),s.enter(a,g,function(){e.resolve(),o&&o.$emit("$viewContentAnimationEnded"),(b.isDefined(r)&&!r||c.$eval(r))&&d(a)}),k()});n=u,o=l,o.$emit("$viewContentLoaded",m),o.$eval(q)}}var m,n,o,p,q=j.onload||"",r=j.autoscroll,s=h(j,c);g.inheritedData("$uiView");c.$on("$stateChangeSuccess",function(){l(!1)}),l(!0)}}};return l}function B(a,c,d,e){return{restrict:"ECA",priority:-400,compile:function(f){var g=f.html();return f.empty?f.empty():f[0].innerHTML=null,function(f,h,i){var j=d.$current,k=C(f,i,h,e),l=j&&j.locals[k];if(!l)return h.html(g),void a(h.contents())(f);h.data("$uiView",{name:k,state:l.$$state}),h.html(l.$template?l.$template:g);var m=b.extend({},l);f[l.$$resolveAs]=m;var n=a(h.contents());if(l.$$controller){l.$scope=f,l.$element=h;var o=c(l.$$controller,l);l.$$controllerAs&&(f[l.$$controllerAs]=o,f[l.$$controllerAs][l.$$resolveAs]=m),O(o.$onInit)&&o.$onInit(),h.data("$ngControllerController",o),h.children().data("$ngControllerController",o)}n(f)}}}}function C(a,b,c,d){var e=d(b.uiView||b.name||"")(a),f=c.inheritedData("$uiView");return e.indexOf("@")>=0?e:e+"@"+(f?f.state.name:"")}function D(a,b){var c,d=a.match(/^\s*({[^}]*})\s*$/);if(d&&(a=b+"("+d[1]+")"),c=a.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/),!c||4!==c.length)throw new Error("Invalid state ref '"+a+"'");return{state:c[1],paramExpr:c[3]||null}}function E(a){var b=a.parent().inheritedData("$uiView");if(b&&b.state&&b.state.name)return b.state}function F(a){var b="[object SVGAnimatedString]"===Object.prototype.toString.call(a.prop("href")),c="FORM"===a[0].nodeName;return{attr:c?"action":b?"xlink:href":"href",isAnchor:"A"===a.prop("tagName").toUpperCase(),clickable:!c}}function G(a,b,c,d,e){return function(f){var g=f.which||f.button,h=e();if(!(g>1||f.ctrlKey||f.metaKey||f.shiftKey||a.attr("target"))){var i=c(function(){b.go(h.state,h.params,h.options)});f.preventDefault();var j=d.isAnchor&&!h.href?1:0;f.preventDefault=function(){j--<=0&&c.cancel(i)}}}}function H(a,b){return{relative:E(a)||b.$current,inherit:!0}}function I(a,c){return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(d,e,f,g){var h,i=D(f.uiSref,a.current.name),j={state:i.state,href:null,params:null},k=F(e),l=g[1]||g[0],m=null;j.options=T(H(e,a),f.uiSrefOpts?d.$eval(f.uiSrefOpts):{});var n=function(c){c&&(j.params=b.copy(c)),j.href=a.href(i.state,j.params,j.options),m&&m(),l&&(m=l.$$addStateInfo(i.state,j.params)),null!==j.href&&f.$set(k.attr,j.href)};i.paramExpr&&(d.$watch(i.paramExpr,function(a){a!==j.params&&n(a)},!0),j.params=b.copy(d.$eval(i.paramExpr))),n(),k.clickable&&(h=G(e,a,c,k,function(){return j}),e[e.on?"on":"bind"]("click",h),d.$on("$destroy",function(){e[e.off?"off":"unbind"]("click",h)}))}}}function J(a,b){return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(c,d,e,f){function g(b){m.state=b[0],m.params=b[1],m.options=b[2],m.href=a.href(m.state,m.params,m.options),n&&n(),j&&(n=j.$$addStateInfo(m.state,m.params)),m.href&&e.$set(i.attr,m.href)}var h,i=F(d),j=f[1]||f[0],k=[e.uiState,e.uiStateParams||null,e.uiStateOpts||null],l="["+k.map(function(a){return a||"null"}).join(", ")+"]",m={state:null,params:null,options:null,href:null},n=null;c.$watch(l,g,!0),g(c.$eval(l)),i.clickable&&(h=G(d,a,b,i,function(){return m}),d[d.on?"on":"bind"]("click",h),c.$on("$destroy",function(){d[d.off?"off":"unbind"]("click",h)}))}}}function K(a,b,c){return{restrict:"A",controller:["$scope","$element","$attrs","$timeout",function(b,d,e,f){function g(b,c,e){var f=a.get(b,E(d)),g=h(b,c),i={state:f||{name:b},params:c,hash:g};return p.push(i),q[g]=e,function(){var a=p.indexOf(i);a!==-1&&p.splice(a,1)}}function h(a,c){if(!P(a))throw new Error("state should be a string");return Q(c)?a+V(c):(c=b.$eval(c),Q(c)?a+V(c):a)}function i(){for(var a=0;a<p.length;a++)l(p[a].state,p[a].params)?j(d,q[p[a].hash]):k(d,q[p[a].hash]),m(p[a].state,p[a].params)?j(d,n):k(d,n)}function j(a,b){f(function(){a.addClass(b)})}function k(a,b){a.removeClass(b)}function l(b,c){return a.includes(b.name,c)}function m(b,c){return a.is(b.name,c)}var n,o,p=[],q={};n=c(e.uiSrefActiveEq||"",!1)(b);try{o=b.$eval(e.uiSrefActive)}catch(a){}o=o||c(e.uiSrefActive||"",!1)(b),Q(o)&&S(o,function(c,d){if(P(c)){var e=D(c,a.current.name);g(e.state,b.$eval(e.paramExpr),d)}}),this.$$addStateInfo=function(a,b){if(!(Q(o)&&p.length>0)){var c=g(a,b,o);return i(),c}},b.$on("$stateChangeSuccess",i),i()}]}}function L(a){var b=function(b,c){return a.is(b,c)};return b.$stateful=!0,b}function M(a){var b=function(b,c,d){return a.includes(b,c,d)};return b.$stateful=!0,b}var N=b.isDefined,O=b.isFunction,P=b.isString,Q=b.isObject,R=b.isArray,S=b.forEach,T=b.extend,U=b.copy,V=b.toJson;b.module("ui.router.util",["ng"]),b.module("ui.router.router",["ui.router.util"]),b.module("ui.router.state",["ui.router.router","ui.router.util"]),b.module("ui.router",["ui.router.state"]),b.module("ui.router.compat",["ui.router"]),q.$inject=["$q","$injector"],b.module("ui.router.util").service("$resolve",q),b.module("ui.router.util").provider("$templateFactory",r);var W;t.prototype.concat=function(a,b){var c={caseInsensitive:W.caseInsensitive(),strict:W.strictMode(),squash:W.defaultSquashPolicy()};return new t(this.sourcePath+a+this.sourceSearch,T(c,b),this)},t.prototype.toString=function(){return this.source},t.prototype.exec=function(a,b){function c(a){function b(a){return a.split("").reverse().join("")}function c(a){return a.replace(/\\-/g,"-")}var d=b(a).split(/-(?!\\)/),e=o(d,b);return o(e,c).reverse()}var d=this.regexp.exec(a);if(!d)return null;b=b||{};var e,f,g,h=this.parameters(),i=h.length,j=this.segments.length-1,k={};if(j!==d.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");var l,m;for(e=0;e<j;e++){for(g=h[e],l=this.params[g],m=d[e+1],f=0;f<l.replace.length;f++)l.replace[f].from===m&&(m=l.replace[f].to);m&&l.array===!0&&(m=c(m)),N(m)&&(m=l.type.decode(m)),k[g]=l.value(m)}for(;e<i;e++){for(g=h[e],k[g]=this.params[g].value(b[g]),l=this.params[g],m=b[g],f=0;f<l.replace.length;f++)l.replace[f].from===m&&(m=l.replace[f].to);N(m)&&(m=l.type.decode(m)),k[g]=l.value(m)}return k},t.prototype.parameters=function(a){return N(a)?this.params[a]||null:this.$$paramNames},t.prototype.validates=function(a){return this.params.$$validates(a)},t.prototype.format=function(a){function b(a){return encodeURIComponent(a).replace(/-/g,function(a){return"%5C%"+a.charCodeAt(0).toString(16).toUpperCase()})}a=a||{};var c=this.segments,d=this.parameters(),e=this.params;if(!this.validates(a))return null;var f,g=!1,h=c.length-1,i=d.length,j=c[0];for(f=0;f<i;f++){var k=f<h,l=d[f],m=e[l],n=m.value(a[l]),p=m.isOptional&&m.type.equals(m.value(),n),q=!!p&&m.squash,r=m.type.encode(n);if(k){var s=c[f+1],t=f+1===h;if(q===!1)null!=r&&(j+=R(r)?o(r,b).join("-"):encodeURIComponent(r)),j+=s;else if(q===!0){var u=j.match(/\/$/)?/\/?(.*)/:/(.*)/;j+=s.match(u)[1]}else P(q)&&(j+=q+s);t&&m.squash===!0&&"/"===j.slice(-1)&&(j=j.slice(0,-1))}else{if(null==r||p&&q!==!1)continue;if(R(r)||(r=[r]),0===r.length)continue;r=o(r,encodeURIComponent).join("&"+l+"="),j+=(g?"&":"?")+(l+"="+r),g=!0}}return j},u.prototype.is=function(a,b){return!0},u.prototype.encode=function(a,b){return a},u.prototype.decode=function(a,b){return a},u.prototype.equals=function(a,b){return a==b},u.prototype.$subPattern=function(){var a=this.pattern.toString();return a.substr(1,a.length-2)},u.prototype.pattern=/.*/,u.prototype.toString=function(){return"{Type:"+this.name+"}"},u.prototype.$normalize=function(a){return this.is(a)?a:this.decode(a)},u.prototype.$asArray=function(a,b){function d(a,b){function d(a,b){return function(){return a[b].apply(a,arguments)}}function e(a){return R(a)?a:N(a)?[a]:[]}function f(a){switch(a.length){case 0:return c;case 1:return"auto"===b?a[0]:a;default:return a}}function g(a){return!a}function h(a,b){return function(c){if(R(c)&&0===c.length)return c;c=e(c);var d=o(c,a);return b===!0?0===n(d,g).length:f(d)}}function i(a){return function(b,c){var d=e(b),f=e(c);if(d.length!==f.length)return!1;
for(var g=0;g<d.length;g++)if(!a(d[g],f[g]))return!1;return!0}}this.encode=h(d(a,"encode")),this.decode=h(d(a,"decode")),this.is=h(d(a,"is"),!0),this.equals=i(d(a,"equals")),this.pattern=a.pattern,this.$normalize=h(d(a,"$normalize")),this.name=a.name,this.$arrayMode=b}if(!a)return this;if("auto"===a&&!b)throw new Error("'auto' array mode is for query parameters only");return new d(this,a)},b.module("ui.router.util").provider("$urlMatcherFactory",v),b.module("ui.router.util").run(["$urlMatcherFactory",function(a){}]),w.$inject=["$locationProvider","$urlMatcherFactoryProvider"],b.module("ui.router.router").provider("$urlRouter",w),x.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],b.module("ui.router.state").factory("$stateParams",function(){return{}}).constant("$state.runtime",{autoinject:!0}).provider("$state",x).run(["$injector",function(a){a.get("$state.runtime").autoinject&&a.get("$state")}]),y.$inject=[],b.module("ui.router.state").provider("$view",y),b.module("ui.router.state").provider("$uiViewScroll",z),A.$inject=["$state","$injector","$uiViewScroll","$interpolate","$q"],B.$inject=["$compile","$controller","$state","$interpolate"],b.module("ui.router.state").directive("uiView",A),b.module("ui.router.state").directive("uiView",B),I.$inject=["$state","$timeout"],J.$inject=["$state","$timeout"],K.$inject=["$state","$stateParams","$interpolate"],b.module("ui.router.state").directive("uiSref",I).directive("uiSrefActive",K).directive("uiSrefActiveEq",K).directive("uiState",J),L.$inject=["$state"],M.$inject=["$state"],b.module("ui.router.state").filter("isState",L).filter("includedByState",M)}(window,window.angular);
```
|
/content/code_sandbox/demo/ajax/angular/assets/angular-ui-router/angular-ui-router.min.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 11,222
|
```css
div, ul, li {
margin: 0;
padding: 0;
}
ul, li {
list-style: none outside none;
}
/* layer begin */
.ios-select-widget-box.olay {
position: absolute;
z-index: 500;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.75);
}
.ios-select-widget-box.olay > div {
position: fixed;
z-index: 1000;
width: 100%;
height: 100%;
background-color: #f2f2f2;
bottom: 0;
left: 0;
visibility: visible;
animation: fadeInUp 0.3s;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
transform: none;
}
}
.ios-select-widget-box header.iosselect-header {
height: 44px;
line-height: 44px;
background-color: #eee;
width: 100%;
z-index: 9999;
text-align: center;
}
.ios-select-widget-box header.iosselect-header a {
font-size: 16px;
color: #e94643;
text-decoration: none;
}
.ios-select-widget-box header.iosselect-header a.close {
float: left;
padding-left: 15px;
height: 44px;
line-height: 44px;
}
.ios-select-widget-box header.iosselect-header a.sure {
float: right;
padding-right: 15px;
height: 44px;
line-height: 44px;
}
.ios-select-widget-box {
padding-top: 44px;
}
.ios-select-widget-box .one-level-contain,
.ios-select-widget-box .two-level-contain,
.ios-select-widget-box .three-level-contain,
.ios-select-widget-box .four-level-contain,
.ios-select-widget-box .five-level-contain {
height: 100%;
overflow: hidden;
}
.ios-select-widget-box .iosselect-box {
overflow: hidden;
}
.ios-select-widget-box .iosselect-box > div {
display: block;
float: left;
}
.ios-select-widget-box ul {
background-color: #fff;
}
.ios-select-widget-box ul li {
font-size: 13px;
height: 35px;
line-height: 35px;
background-color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
color: #111;
opacity: .3;
}
.ios-select-widget-box ul li.at {
font-size: 16px;
opacity: 1;
}
.ios-select-widget-box ul li.side1 {
font-size: 15px;
opacity: .7;
}
.ios-select-widget-box ul li.side2 {
font-size: 14px;
opacity: .5;
}
.ios-select-widget-box.one-level-box .one-level-contain {
width: 100%;
}
.ios-select-widget-box.one-level-box .two-level-contain,
.ios-select-widget-box.one-level-box .three-level-contain,
.ios-select-widget-box.one-level-box .four-level-contain,
.ios-select-widget-box.one-level-box .five-level-contain,
{
width: 0;
}
.ios-select-widget-box.two-level-box .one-level-contain,
.ios-select-widget-box.two-level-box .two-level-contain {
width: 50%;
}
.ios-select-widget-box.two-level-box .three-level-contain,
.ios-select-widget-box.two-level-box .four-level-contain,
.ios-select-widget-box.two-level-box .five-level-contain,
{
width: 0;
}
.ios-select-widget-box.three-level-box .one-level-contain,
.ios-select-widget-box.three-level-box .two-level-contain {
width: 30%;
}
.ios-select-widget-box.three-level-box .three-level-contain {
width: 40%;
}
.ios-select-widget-box.three-level-box .four-level-contain
.ios-select-widget-box.three-level-box .five-level-contain {
width: 0%;
}
.ios-select-widget-box.four-level-box .one-level-contain,
.ios-select-widget-box.four-level-box .two-level-contain,
.ios-select-widget-box.four-level-box .three-level-contain,
.ios-select-widget-box.four-level-box .four-level-contain {
width: 25%;
}
.ios-select-widget-box.four-level-box .five-level-contain {
width: 0%;
}
.ios-select-widget-box.five-level-box .one-level-contain,
.ios-select-widget-box.five-level-box .two-level-contain,
.ios-select-widget-box.five-level-box .three-level-contain,
.ios-select-widget-box.five-level-box .four-level-contain,
.ios-select-widget-box.five-level-box .five-level-contain {
width: 20%;
}
.ios-select-widget-box .cover-area1 {
width: 100%;
border: none;
border-top: 1px solid #d9d9d9;
position: absolute;
top: 149px;
margin: 0;
height: 0;
}
.ios-select-widget-box .cover-area2 {
width: 100%;
border: none;
border-top: 1px solid #d9d9d9;
position: absolute;
top: 183px;
margin: 0;
height: 0;
}
.ios-select-widget-box #iosSelectTitle {
margin: 0;
padding: 0;
display: inline-block;
font-size: 16px;
font-weight: normal;
color: #333;
}
.ios-select-body-class {
overflow: hidden;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding:0;
margin:0;
}
.ios-select-widget-box.olay > div > .ios-select-loading-box {
width: 100%;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0,0,0,.5);
display: none;
}
.ios-select-widget-box.olay > div > .ios-select-loading-box > .ios-select-loading {
width: 50px;
height: 50px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -25px;
margin-left: -25px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/your_sha256_hashE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hasheG1wLmRpZDo1OEMxMEI3NTI3MEIxMUU2ODVGMzhFNjYyMDIyOUFCMCI+your_sha256_hashyour_sha256_hashPSJ4bXAuZGlkOjU4QzEwQjczMjcwQjExRTY4NUYzOEU2NjIwMjI5QUIwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+GeWqMwAAA+BJREFUeNrMmVlsTGEUxyour_sha512_hashR/ycnn5l27rQz10l+mWlyl/+your_sha512_hash/eFaXFelwv286WZfKG2WL9SX5cFCuntBvAc/OoPD64HJ8EI5Q3tmW7whl4pAl/your_sha256_hashyour_sha256_hashoVf389+CW7Uk3ygNk/azghYIHDoCN/SDO4W6+your_sha256_hashkXO5DP4RuI8iPYqr4YmQbJN8+E4JlA1abAuUBbtZeU526O4khDWW3QdhK9TZWmAZd6/x3inw0UmdSZJ/pgSKlilGoMvTwoiTw/20k3p7yTyovRgScTNAvgrvFSbkVJuE+LU6GiXEefJHqfKefF5zgrMGVRnJZ4HEerryXjdzU1DWbB2BI10mRuPBej+1WhKsi8vLeDDXZRllwtvoBG8davNmS4gHUZyTQIWSrM1iQpyZptafo4QGabp9+JNmOijMY9MTtGWpEHe5PDHMGsz/DwQOUwI7XVYUZheP1ZVEAJbOFsGswTYR+your_sha256_hashaparUPpZTcEILCEjjGniCy9iMk3F9hImzCXcZqQKhOnLFShjbBX/your_sha512_hash/kXq0M1ZffF2F2uMNe+nJUD+your_sha256_hashUWEz6iyPedngLkY7ARDrQeb72GOz5roVY/eylMHvxflXjkpLoKHfZ2wmhJIkvcylUi9BAnTa9U9DD59CzQm/csaZv0cn0JbOeK4ye/xbfcE/your_sha256_hashmCC) no-repeat 0 0;
background-size: contain;
-webkit-animation: loading-keyframe 1s infinite linear;
animation: loading-keyframe 1s infinite linear;
}
.fadeInUp .layer{
-webkit-animation: fadeInUp .5s;
animation: fadeInUp .5s;
}
.fadeOutDown .layer{
-webkit-animation: fadeOutDown .5s!important;
animation: fadeOutDown .5s!important;
}
@-webkit-keyframes loading-keyframe {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@keyframes loading-keyframe {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0,100%,0);
}
to {
opacity: 1;
-webkit-transform: none;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0,100%,0);
}
to {
opacity: 1;
transform: none;
}
}
@-webkit-keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
}
}
@keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(0, 100%, 0);
}
}
```
|
/content/code_sandbox/demo/ajax/angular/assets/IosSelect/iosSelect.css
|
css
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 2,582
|
```html
<p>Welcome to <b>{{name}}</b> Page.</p>
<h2>Load 'IosSelect' module</h2>
<div>
<input type="text" ng-model="phonenumber" readonly ng-iosselect />
<input type="text" ng-model="phonenumber1" readonly ng-iosselect />
</div>
```
|
/content/code_sandbox/demo/ajax/angular/components/components.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 71
|
```javascript
/*
* @Author: william
* @Date: 2017-07-19 16:26:58
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-19 23:53:08
*/
define(function(require) {
var app = require('../app');
// dynamic load angular-ui-mask plugins for UI
// require('angular-ui-mask');
// app.useModule('ui.mask');
var IosSelect=require('IosSelect');
app.directive('ngIosselect', function() {
return {
restrict: 'A',
link: function($scope, $element, $attrs) {
$element.on('click', function(e) {
var $element=e.target;
var bankId = $element.dataset['id'];
var bankName = $element.dataset['value'];
var data = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', 'value': ''},
{'id': '10010', 'value': ''},
{'id': '10011', 'value': ''},
{'id': '10012', 'value': ''},
{'id': '10013', 'value': ''},
{'id': '10014', 'value': ''},
{'id': '10015', 'value': ''},
{'id': '10016', 'value': ''}
];
var bankSelect = new IosSelect(1, [data], {
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function(selectOneObj) {
$element.value = selectOneObj.value;
$element.dataset['id'] = selectOneObj.id;
$element.dataset['value'] = selectOneObj.value;
}
});
});
},
};
});
app.controller('componentsCtrl', ['$scope', function($scope) {
$scope.name = 'UI Components';
}]);
});
```
|
/content/code_sandbox/demo/ajax/angular/components/componentsCtrl.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 535
|
```javascript
/*
* @Author: william
* @Date: 2017-07-19 16:26:58
* @Last Modified by: pengweifu
* @Last Modified time: 2017-07-19 16:44:19
*/
define(function (require) {
var app = require('../app');
app.controller('homeCtrl', ['$scope', function($scope) {
$scope.name = 'Home';
}]);
});
```
|
/content/code_sandbox/demo/ajax/angular/home/homeCtrl.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 100
|
```html
<p>Welcome to <b>{{name}}</b> Page.</p>
<p>You can switch menu to load others.</p>
```
|
/content/code_sandbox/demo/ajax/angular/home/home.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 26
|
```javascript
/**
* IosSelect
* @param {number} level 1 2 3 4 5 5
* @param {...Array} data [oneLevelArray[, twoLevelArray[, threeLevelArray]]]
* @param {Object} options
* @param {string=} options.container
* @param {Function} options.callback
* @param {Function} options.fallback
* @param {string=} options.title title
* @param {number=} options.itemHeight 35
* @param {number=} options.itemShowCount 73,5,7,93,5,7,97
* @param {number=} options.headerHeight 44
* @param {css=} options.cssUnit pxrem px
* @param {string=} options.addClassName
* @param {...Array=} options.relation [oneTwoRelation, twoThreeRelation, threeFourRelation, fourFiveRelation] [0, 0, 0, 0]
* @param {number=} options.relation.oneTwoRelation parentId
* @param {number=} options.relation.twoThreeRelation parentId
* @param {number=} options.relation.threeFourRelation parentId
* @param {number=} options.relation.fourFiveRelation parentId
* @param {string=} options.oneLevelId id
* @param {string=} options.twoLevelId id
* @param {string=} options.threeLevelId id
* @param {string=} options.fourLevelId id
* @param {string=} options.fiveLevelId id
* @param {boolean=} options.showLoading true
* @param {boolean=} options.showAnimate css
*/
(function() {
/* modify by zhoushengmufc,based on iScroll v5.2.0 */
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (callback) { window.setTimeout(callback, 1000 / 60); };
var utils = (function () {
var me = {};
var _elementStyle = document.createElement('div').style;
var _vendor = (function () {
var vendors = ['t', 'webkitT', 'MozT', 'msT', 'OT'],
transform,
i = 0,
l = vendors.length;
for ( ; i < l; i++ ) {
transform = vendors[i] + 'ransform';
if ( transform in _elementStyle ) return vendors[i].substr(0, vendors[i].length-1);
}
return false;
})();
function _prefixStyle (style) {
if ( _vendor === false ) return false;
if ( _vendor === '' ) return style;
return _vendor + style.charAt(0).toUpperCase() + style.substr(1);
}
me.getTime = Date.now || function getTime () { return new Date().getTime(); };
me.extend = function (target, obj) {
for ( var i in obj ) {
target[i] = obj[i];
}
};
me.addEvent = function (el, type, fn, capture) {
el.addEventListener(type, fn, !!capture);
};
me.removeEvent = function (el, type, fn, capture) {
el.removeEventListener(type, fn, !!capture);
};
me.prefixPointerEvent = function (pointerEvent) {
return window.MSPointerEvent ?
'MSPointer' + pointerEvent.charAt(7).toUpperCase() + pointerEvent.substr(8):
pointerEvent;
};
me.momentum = function (current, start, time, lowerMargin, wrapperSize, deceleration) {
var distance = current - start,
speed = Math.abs(distance) / time,
destination,
duration;
deceleration = deceleration === undefined ? 0.0006 : deceleration;
destination = current + ( speed * speed ) / ( 2 * deceleration ) * ( distance < 0 ? -1 : 1 );
duration = speed / deceleration;
if ( destination < lowerMargin ) {
destination = wrapperSize ? lowerMargin - ( wrapperSize / 2.5 * ( speed / 8 ) ) : lowerMargin;
distance = Math.abs(destination - current);
duration = distance / speed;
} else if ( destination > 0 ) {
destination = wrapperSize ? wrapperSize / 2.5 * ( speed / 8 ) : 0;
distance = Math.abs(current) + destination;
duration = distance / speed;
}
return {
destination: Math.round(destination),
duration: duration
};
};
var _transform = _prefixStyle('transform');
me.extend(me, {
hasTransform: _transform !== false,
hasPerspective: _prefixStyle('perspective') in _elementStyle,
hasTouch: 'ontouchstart' in window,
hasPointer: !!(window.PointerEvent || window.MSPointerEvent), // IE10 is prefixed
hasTransition: _prefixStyle('transition') in _elementStyle
});
/*
This should find all Android browsers lower than build 535.19 (both stock browser and webview)
- galaxy S2 is ok
- 2.3.6 : `AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1`
- 4.0.4 : `AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30`
- galaxy S3 is badAndroid (stock brower, webview)
`AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30`
- galaxy S4 is badAndroid (stock brower, webview)
`AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30`
- galaxy S5 is OK
`AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36 (Chrome/)`
- galaxy S6 is OK
`AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36 (Chrome/)`
*/
me.isBadAndroid = (function() {
var appVersion = window.navigator.appVersion;
// Android browser is not a chrome browser.
if (/Android/.test(appVersion) && !(/Chrome\/\d/.test(appVersion))) {
var safariVersion = appVersion.match(/Safari\/(\d+.\d)/);
if(safariVersion && typeof safariVersion === "object" && safariVersion.length >= 2) {
return parseFloat(safariVersion[1]) < 535.19;
} else {
return true;
}
} else {
return false;
}
})();
me.extend(me.style = {}, {
transform: _transform,
transitionTimingFunction: _prefixStyle('transitionTimingFunction'),
transitionDuration: _prefixStyle('transitionDuration'),
transitionDelay: _prefixStyle('transitionDelay'),
transformOrigin: _prefixStyle('transformOrigin')
});
me.hasClass = function (e, c) {
var re = new RegExp("(^|\\s)" + c + "(\\s|$)");
return re.test(e.className);
};
me.addClass = function (e, c) {
if ( me.hasClass(e, c) ) {
return;
}
var newclass = e.className.split(' ');
newclass.push(c);
e.className = newclass.join(' ');
};
me.removeClass = function (e, c) {
if ( !me.hasClass(e, c) ) {
return;
}
var re = new RegExp("(^|\\s)" + c + "(\\s|$)", 'g');
e.className = e.className.replace(re, ' ');
};
me.offset = function (el) {
var left = -el.offsetLeft,
top = -el.offsetTop;
// jshint -W084
while (el = el.offsetParent) {
left -= el.offsetLeft;
top -= el.offsetTop;
}
// jshint +W084
return {
left: left,
top: top
};
};
me.preventDefaultException = function (el, exceptions) {
for ( var i in exceptions ) {
if ( exceptions[i].test(el[i]) ) {
return true;
}
}
return false;
};
me.extend(me.eventType = {}, {
touchstart: 1,
touchmove: 1,
touchend: 1,
mousedown: 2,
mousemove: 2,
mouseup: 2,
pointerdown: 3,
pointermove: 3,
pointerup: 3,
MSPointerDown: 3,
MSPointerMove: 3,
MSPointerUp: 3
});
me.extend(me.ease = {}, {
quadratic: {
style: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
fn: function (k) {
return k * ( 2 - k );
}
},
circular: {
style: 'cubic-bezier(0.1, 0.57, 0.1, 1)', // Not properly "circular" but this looks better, it should be (0.075, 0.82, 0.165, 1)
fn: function (k) {
return Math.sqrt( 1 - ( --k * k ) );
}
},
back: {
style: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
fn: function (k) {
var b = 4;
return ( k = k - 1 ) * k * ( ( b + 1 ) * k + b ) + 1;
}
},
bounce: {
style: '',
fn: function (k) {
if ( ( k /= 1 ) < ( 1 / 2.75 ) ) {
return 7.5625 * k * k;
} else if ( k < ( 2 / 2.75 ) ) {
return 7.5625 * ( k -= ( 1.5 / 2.75 ) ) * k + 0.75;
} else if ( k < ( 2.5 / 2.75 ) ) {
return 7.5625 * ( k -= ( 2.25 / 2.75 ) ) * k + 0.9375;
} else {
return 7.5625 * ( k -= ( 2.625 / 2.75 ) ) * k + 0.984375;
}
}
},
elastic: {
style: '',
fn: function (k) {
var f = 0.22,
e = 0.4;
if ( k === 0 ) { return 0; }
if ( k == 1 ) { return 1; }
return ( e * Math.pow( 2, - 10 * k ) * Math.sin( ( k - f / 4 ) * ( 2 * Math.PI ) / f ) + 1 );
}
}
});
me.tap = function (e, eventName) {
var ev = document.createEvent('Event');
ev.initEvent(eventName, true, true);
ev.pageX = e.pageX;
ev.pageY = e.pageY;
e.target.dispatchEvent(ev);
};
me.click = function (e) {
var target = e.target,
ev;
if ( !(/(SELECT|INPUT|TEXTAREA)/i).test(target.tagName) ) {
// path_to_url
// initMouseEvent is deprecated.
ev = document.createEvent(window.MouseEvent ? 'MouseEvents' : 'Event');
ev.initEvent('click', true, true);
ev.view = e.view || window;
ev.detail = 1;
ev.screenX = target.screenX || 0;
ev.screenY = target.screenY || 0;
ev.clientX = target.clientX || 0;
ev.clientY = target.clientY || 0;
ev.ctrlKey = !!e.ctrlKey;
ev.altKey = !!e.altKey;
ev.shiftKey = !!e.shiftKey;
ev.metaKey = !!e.metaKey;
ev.button = 0;
ev.relatedTarget = null;
ev._constructed = true;
target.dispatchEvent(ev);
}
};
return me;
})();
function IScrollForIosSelect (el, options) {
this.wrapper = typeof el == 'string' ? document.querySelector(el) : el;
this.scroller = this.wrapper.children[0];
this.scrollerStyle = this.scroller.style; // cache style for better performance
this.options = {
// INSERT POINT: OPTIONS
disablePointer: true,
disableTouch: !utils.hasTouch,
disableMouse: utils.hasTouch,
startX: 0,
startY: 0,
scrollY: true,
directionLockThreshold: 5,
momentum: true,
bounce: true,
bounceTime: 600,
bounceEasing: '',
preventDefault: true,
preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/ },
HWCompositing: true,
useTransition: true,
useTransform: true,
bindToWrapper: typeof window.onmousedown === "undefined"
};
for ( var i in options ) {
this.options[i] = options[i];
}
// Normalize options
this.translateZ = this.options.HWCompositing && utils.hasPerspective ? ' translateZ(0)' : '';
this.options.useTransition = utils.hasTransition && this.options.useTransition;
this.options.useTransform = utils.hasTransform && this.options.useTransform;
this.options.eventPassthrough = this.options.eventPassthrough === true ? 'vertical' : this.options.eventPassthrough;
this.options.preventDefault = !this.options.eventPassthrough && this.options.preventDefault;
// If you want eventPassthrough I have to lock one of the axes
this.options.scrollY = this.options.eventPassthrough == 'vertical' ? false : this.options.scrollY;
this.options.scrollX = this.options.eventPassthrough == 'horizontal' ? false : this.options.scrollX;
// With eventPassthrough we also need lockDirection mechanism
this.options.freeScroll = this.options.freeScroll && !this.options.eventPassthrough;
this.options.directionLockThreshold = this.options.eventPassthrough ? 0 : this.options.directionLockThreshold;
this.options.bounceEasing = typeof this.options.bounceEasing == 'string' ? utils.ease[this.options.bounceEasing] || utils.ease.circular : this.options.bounceEasing;
this.options.resizePolling = this.options.resizePolling === undefined ? 60 : this.options.resizePolling;
if ( this.options.tap === true ) {
this.options.tap = 'tap';
}
// path_to_url
if (!this.options.useTransition && !this.options.useTransform) {
if(!(/relative|absolute/i).test(this.scrollerStyle.position)) {
this.scrollerStyle.position = "relative";
}
}
if ( this.options.shrinkScrollbars == 'scale' ) {
this.options.useTransition = false;
}
this.options.invertWheelDirection = this.options.invertWheelDirection ? -1 : 1;
if ( this.options.probeType == 3 ) {
this.options.useTransition = false; }
// INSERT POINT: NORMALIZATION
// Some defaults
this.x = 0;
this.y = 0;
this.directionX = 0;
this.directionY = 0;
this._events = {};
// INSERT POINT: DEFAULTS
this._init();
this.refresh();
this.scrollTo(this.options.startX, this.options.startY);
this.enable();
}
IScrollForIosSelect.prototype = {
version: '1.0.0',
_init: function () {
this._initEvents();
// INSERT POINT: _init
},
destroy: function () {
this._initEvents(true);
clearTimeout(this.resizeTimeout);
this.resizeTimeout = null;
this._execEvent('destroy');
},
_transitionEnd: function (e) {
if ( e.target != this.scroller || !this.isInTransition ) {
return;
}
this._transitionTime();
if ( !this.resetPosition(this.options.bounceTime) ) {
this.isInTransition = false;
this._execEvent('scrollEnd');
}
},
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
// for button property
// path_to_url
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
if ( !this.enabled || (this.initiated && utils.eventType[e.type] !== this.initiated) ) {
return;
}
if ( this.options.preventDefault && !utils.isBadAndroid && !utils.preventDefaultException(e.target, this.options.preventDefaultException) ) {
e.preventDefault();
}
var point = e.touches ? e.touches[0] : e,
pos;
this.initiated = utils.eventType[e.type];
this.moved = false;
this.distX = 0;
this.distY = 0;
this.directionX = 0;
this.directionY = 0;
this.directionLocked = 0;
this.startTime = utils.getTime();
if ( this.options.useTransition && this.isInTransition ) {
this._transitionTime();
this.isInTransition = false;
pos = this.getComputedPosition();
this._translate(Math.round(pos.x), Math.round(pos.y));
this._execEvent('scrollEnd');
} else if ( !this.options.useTransition && this.isAnimating ) {
this.isAnimating = false;
this._execEvent('scrollEnd');
}
this.startX = this.x;
this.startY = this.y;
this.absStartX = this.x;
this.absStartY = this.y;
this.pointX = point.pageX;
this.pointY = point.pageY;
this._execEvent('beforeScrollStart');
},
_move: function (e) {
if ( !this.enabled || utils.eventType[e.type] !== this.initiated ) {
return;
}
if ( this.options.preventDefault ) { // increases performance on Android? TODO: check!
e.preventDefault();
}
var point = e.touches ? e.touches[0] : e,
deltaX = point.pageX - this.pointX,
deltaY = point.pageY - this.pointY,
timestamp = utils.getTime(),
newX, newY,
absDistX, absDistY;
this.pointX = point.pageX;
this.pointY = point.pageY;
this.distX += deltaX;
this.distY += deltaY;
absDistX = Math.abs(this.distX);
absDistY = Math.abs(this.distY);
// We need to move at least 10 pixels for the scrolling to initiate
if ( timestamp - this.endTime > 300 && (absDistX < 10 && absDistY < 10) ) {
return;
}
// If you are scrolling in one direction lock the other
if ( !this.directionLocked && !this.options.freeScroll ) {
if ( absDistX > absDistY + this.options.directionLockThreshold ) {
this.directionLocked = 'h'; // lock horizontally
} else if ( absDistY >= absDistX + this.options.directionLockThreshold ) {
this.directionLocked = 'v'; // lock vertically
} else {
this.directionLocked = 'n'; // no lock
}
}
if ( this.directionLocked == 'h' ) {
if ( this.options.eventPassthrough == 'vertical' ) {
e.preventDefault();
} else if ( this.options.eventPassthrough == 'horizontal' ) {
this.initiated = false;
return;
}
deltaY = 0;
} else if ( this.directionLocked == 'v' ) {
if ( this.options.eventPassthrough == 'horizontal' ) {
e.preventDefault();
} else if ( this.options.eventPassthrough == 'vertical' ) {
this.initiated = false;
return;
}
deltaX = 0;
}
deltaX = this.hasHorizontalScroll ? deltaX : 0;
deltaY = this.hasVerticalScroll ? deltaY : 0;
newX = this.x + deltaX;
newY = this.y + deltaY;
// Slow down if outside of the boundaries
if ( newX > 0 || newX < this.maxScrollX ) {
newX = this.options.bounce ? this.x + deltaX / 3 : newX > 0 ? 0 : this.maxScrollX;
}
if ( newY > 0 || newY < this.maxScrollY ) {
newY = this.options.bounce ? this.y + deltaY / 3 : newY > 0 ? 0 : this.maxScrollY;
}
this.directionX = deltaX > 0 ? -1 : deltaX < 0 ? 1 : 0;
this.directionY = deltaY > 0 ? -1 : deltaY < 0 ? 1 : 0;
if ( !this.moved ) {
this._execEvent('scrollStart');
}
this.moved = true;
this._translate(newX, newY);
/* REPLACE START: _move */
if ( timestamp - this.startTime > 300 ) {
this.startTime = timestamp;
this.startX = this.x;
this.startY = this.y;
if ( this.options.probeType == 1 ) {
this._execEvent('scroll');
}
}
if ( this.options.probeType > 1 ) {
this._execEvent('scroll');
}
/* REPLACE END: _move */
},
_end: function (e) {
if ( !this.enabled || utils.eventType[e.type] !== this.initiated ) {
return;
}
if ( this.options.preventDefault && !utils.preventDefaultException(e.target, this.options.preventDefaultException) ) {
e.preventDefault();
}
var point = e.changedTouches ? e.changedTouches[0] : e,
momentumX,
momentumY,
duration = utils.getTime() - this.startTime,
newX = Math.round(this.x),
newY = Math.round(this.y),
distanceX = Math.abs(newX - this.startX),
distanceY = Math.abs(newY - this.startY),
time = 0,
easing = '';
this.isInTransition = 0;
this.initiated = 0;
this.endTime = utils.getTime();
// reset if we are outside of the boundaries
if ( this.resetPosition(this.options.bounceTime) ) {
return;
}
this.scrollTo(newX, newY); // ensures that the last position is rounded
// we scrolled less than 10 pixels
if ( !this.moved ) {
if ( this.options.tap ) {
utils.tap(e, this.options.tap);
}
if ( this.options.click ) {
utils.click(e);
}
this._execEvent('scrollCancel');
return;
}
if ( this._events.flick && duration < 200 && distanceX < 100 && distanceY < 100 ) {
this._execEvent('flick');
return;
}
// start momentum animation if needed
if ( this.options.momentum && duration < 300 ) {
momentumX = this.hasHorizontalScroll ? utils.momentum(this.x, this.startX, duration, this.maxScrollX, this.options.bounce ? this.wrapperWidth : 0, this.options.deceleration) : { destination: newX, duration: 0 };
momentumY = this.hasVerticalScroll ? utils.momentum(this.y, this.startY, duration, this.maxScrollY, this.options.bounce ? this.wrapperHeight : 0, this.options.deceleration) : { destination: newY, duration: 0 };
newX = momentumX.destination;
newY = momentumY.destination;
time = Math.max(momentumX.duration, momentumY.duration);
this.isInTransition = 1;
}
if ( this.options.snap ) {
var snap = this._nearestSnap(newX, newY);
this.currentPage = snap;
time = this.options.snapSpeed || Math.max(
Math.max(
Math.min(Math.abs(newX - snap.x), 1000),
Math.min(Math.abs(newY - snap.y), 1000)
), 300);
newX = snap.x;
newY = snap.y;
this.directionX = 0;
this.directionY = 0;
easing = this.options.bounceEasing;
}
// INSERT POINT: _end
if ( newX != this.x || newY != this.y ) {
// change easing function when scroller goes out of the boundaries
if ( newX > 0 || newX < this.maxScrollX || newY > 0 || newY < this.maxScrollY ) {
easing = utils.ease.quadratic;
}
this.scrollTo(newX, newY, time, easing);
return;
}
this._execEvent('scrollEnd');
},
_resize: function () {
var that = this;
clearTimeout(this.resizeTimeout);
this.resizeTimeout = setTimeout(function () {
that.refresh();
}, this.options.resizePolling);
},
resetPosition: function (time) {
var x = this.x,
y = this.y;
time = time || 0;
if ( !this.hasHorizontalScroll || this.x > 0 ) {
x = 0;
} else if ( this.x < this.maxScrollX ) {
x = this.maxScrollX;
}
if ( !this.hasVerticalScroll || this.y > 0 ) {
y = 0;
} else if ( this.y < this.maxScrollY ) {
y = this.maxScrollY;
}
if ( x == this.x && y == this.y ) {
return false;
}
this.scrollTo(x, y, time, this.options.bounceEasing);
return true;
},
disable: function () {
this.enabled = false;
},
enable: function () {
this.enabled = true;
},
refresh: function () {
var rf = this.wrapper.offsetHeight; // Force reflow
this.wrapperWidth = this.wrapper.clientWidth;
this.wrapperHeight = this.wrapper.clientHeight;
/* REPLACE START: refresh */
this.scrollerWidth = this.scroller.offsetWidth;
this.scrollerHeight = this.scroller.offsetHeight;
this.maxScrollX = this.wrapperWidth - this.scrollerWidth;
this.maxScrollY = this.wrapperHeight - this.scrollerHeight;
/* REPLACE END: refresh */
this.hasHorizontalScroll = this.options.scrollX && this.maxScrollX < 0;
this.hasVerticalScroll = this.options.scrollY && this.maxScrollY < 0;
if ( !this.hasHorizontalScroll ) {
this.maxScrollX = 0;
this.scrollerWidth = this.wrapperWidth;
}
if ( !this.hasVerticalScroll ) {
this.maxScrollY = 0;
this.scrollerHeight = this.wrapperHeight;
}
this.endTime = 0;
this.directionX = 0;
this.directionY = 0;
this.wrapperOffset = utils.offset(this.wrapper);
this._execEvent('refresh');
this.resetPosition();
// INSERT POINT: _refresh
},
on: function (type, fn) {
if ( !this._events[type] ) {
this._events[type] = [];
}
this._events[type].push(fn);
},
off: function (type, fn) {
if ( !this._events[type] ) {
return;
}
var index = this._events[type].indexOf(fn);
if ( index > -1 ) {
this._events[type].splice(index, 1);
}
},
_execEvent: function (type) {
if ( !this._events[type] ) {
return;
}
var i = 0,
l = this._events[type].length;
if ( !l ) {
return;
}
for ( ; i < l; i++ ) {
this._events[type][i].apply(this, [].slice.call(arguments, 1));
}
},
scrollTo: function (x, y, time, easing) {
easing = easing || utils.ease.circular;
this.isInTransition = this.options.useTransition && time > 0;
var transitionType = this.options.useTransition && easing.style;
if ( !time || transitionType ) {
if(transitionType) {
this._transitionTimingFunction(easing.style);
this._transitionTime(time);
}
this._translate(x, y);
} else {
this._animate(x, y, time, easing.fn);
}
},
scrollToElement: function (el, time, offsetX, offsetY, easing) {
el = el.nodeType ? el : this.scroller.querySelector(el);
if ( !el ) {
return;
}
var pos = utils.offset(el);
pos.left -= this.wrapperOffset.left;
pos.top -= this.wrapperOffset.top;
// if offsetX/Y are true we center the element to the screen
if ( offsetX === true ) {
offsetX = Math.round(el.offsetWidth / 2 - this.wrapper.offsetWidth / 2);
}
if ( offsetY === true ) {
offsetY = Math.round(el.offsetHeight / 2 - this.wrapper.offsetHeight / 2);
}
pos.left -= offsetX || 0;
pos.top -= offsetY || 0;
pos.left = pos.left > 0 ? 0 : pos.left < this.maxScrollX ? this.maxScrollX : pos.left;
pos.top = pos.top > 0 ? 0 : pos.top < this.maxScrollY ? this.maxScrollY : pos.top;
time = time === undefined || time === null || time === 'auto' ? Math.max(Math.abs(this.x-pos.left), Math.abs(this.y-pos.top)) : time;
this.scrollTo(pos.left, pos.top, time, easing);
},
_transitionTime: function (time) {
if (!this.options.useTransition) {
return;
}
time = time || 0;
var durationProp = utils.style.transitionDuration;
if(!durationProp) {
return;
}
this.scrollerStyle[durationProp] = time + 'ms';
if ( !time && utils.isBadAndroid ) {
this.scrollerStyle[durationProp] = '0.0001ms';
// remove 0.0001ms
var self = this;
rAF(function() {
if(self.scrollerStyle[durationProp] === '0.0001ms') {
self.scrollerStyle[durationProp] = '0s';
}
});
}
// INSERT POINT: _transitionTime
},
_transitionTimingFunction: function (easing) {
this.scrollerStyle[utils.style.transitionTimingFunction] = easing;
// INSERT POINT: _transitionTimingFunction
},
_translate: function (x, y) {
if ( this.options.useTransform ) {
/* REPLACE START: _translate */
this.scrollerStyle[utils.style.transform] = 'translate(' + x + 'px,' + y + 'px)' + this.translateZ;
/* REPLACE END: _translate */
} else {
x = Math.round(x);
y = Math.round(y);
this.scrollerStyle.left = x + 'px';
this.scrollerStyle.top = y + 'px';
}
this.x = x;
this.y = y;
// INSERT POINT: _translate
},
_initEvents: function (remove) {
var eventType = remove ? utils.removeEvent : utils.addEvent,
target = this.options.bindToWrapper ? this.wrapper : window;
eventType(window, 'orientationchange', this);
eventType(window, 'resize', this);
if ( this.options.click ) {
eventType(this.wrapper, 'click', this, true);
}
if ( !this.options.disableMouse ) {
eventType(this.wrapper, 'mousedown', this);
eventType(target, 'mousemove', this);
eventType(target, 'mousecancel', this);
eventType(target, 'mouseup', this);
}
if ( utils.hasPointer && !this.options.disablePointer ) {
eventType(this.wrapper, utils.prefixPointerEvent('pointerdown'), this);
eventType(target, utils.prefixPointerEvent('pointermove'), this);
eventType(target, utils.prefixPointerEvent('pointercancel'), this);
eventType(target, utils.prefixPointerEvent('pointerup'), this);
}
if ( utils.hasTouch && !this.options.disableTouch ) {
eventType(this.wrapper, 'touchstart', this);
eventType(target, 'touchmove', this);
eventType(target, 'touchcancel', this);
eventType(target, 'touchend', this);
}
eventType(this.scroller, 'transitionend', this);
eventType(this.scroller, 'webkitTransitionEnd', this);
eventType(this.scroller, 'oTransitionEnd', this);
eventType(this.scroller, 'MSTransitionEnd', this);
},
getComputedPosition: function () {
var matrix = window.getComputedStyle(this.scroller, null),
x, y;
if ( this.options.useTransform ) {
matrix = matrix[utils.style.transform].split(')')[0].split(', ');
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}
return { x: x, y: y };
},
_animate: function (destX, destY, duration, easingFn) {
var that = this,
startX = this.x,
startY = this.y,
startTime = utils.getTime(),
destTime = startTime + duration;
function step () {
var now = utils.getTime(),
newX, newY,
easing;
if ( now >= destTime ) {
that.isAnimating = false;
that._translate(destX, destY);
if ( !that.resetPosition(that.options.bounceTime) ) {
that._execEvent('scrollEnd');
}
return;
}
now = ( now - startTime ) / duration;
easing = easingFn(now);
newX = ( destX - startX ) * easing + startX;
newY = ( destY - startY ) * easing + startY;
that._translate(newX, newY);
if ( that.isAnimating ) {
rAF(step);
}
if ( that.options.probeType == 3 ) {
that._execEvent('scroll');
}
}
this.isAnimating = true;
step();
},
handleEvent: function (e) {
switch ( e.type ) {
case 'touchstart':
case 'pointerdown':
case 'MSPointerDown':
case 'mousedown':
this._start(e);
break;
case 'touchmove':
case 'pointermove':
case 'MSPointerMove':
case 'mousemove':
this._move(e);
break;
case 'touchend':
case 'pointerup':
case 'MSPointerUp':
case 'mouseup':
case 'touchcancel':
case 'pointercancel':
case 'MSPointerCancel':
case 'mousecancel':
this._end(e);
break;
case 'orientationchange':
case 'resize':
this._resize();
break;
case 'transitionend':
case 'webkitTransitionEnd':
case 'oTransitionEnd':
case 'MSTransitionEnd':
this._transitionEnd(e);
break;
case 'click':
if ( this.enabled && !e._constructed ) {
e.preventDefault();
e.stopPropagation();
}
break;
}
}
};
IScrollForIosSelect.utils = utils;
var iosSelectUtil = {
isArray: function(arg1) {
return Object.prototype.toString.call(arg1) === '[object Array]';
},
isFunction: function(arg1) {
return typeof arg1 === 'function';
},
attrToData: function(dom, index) {
var obj = {};
for (var p in dom.dataset) {
obj[p] = dom.dataset[p];
}
obj['dom'] = dom;
obj['atindex'] = index;
return obj;
},
attrToHtml: function(obj) {
var html = '';
for (var p in obj) {
html += 'data-' + p + '="' + obj[p] + '"';
}
return html;
}
};
// Layer
function Layer(html, opts) {
if (!(this instanceof Layer)) {
return new Layer(html, opts);
}
this.html = html;
this.opts = opts;
var el = document.createElement('div');
el.className = 'olay';
// var layer_el = $('<div class="layer"></div>');
var layer_el = document.createElement('div');
layer_el.className = 'layer';
this.el = el;
this.layer_el = layer_el;
this.init();
}
Layer.prototype = {
init: function() {
this.layer_el.innerHTML = this.html;
if (this.opts.container && document.querySelector(this.opts.container)) {
document.querySelector(this.opts.container).appendChild(this.el);
}
else {
document.body.appendChild(this.el);
}
this.el.appendChild(this.layer_el);
this.el.style.height = Math.max(document.documentElement.getBoundingClientRect().height, window.innerHeight);
if (this.opts.className) {
this.el.className += ' ' + this.opts.className;
}
this.bindEvent();
},
bindEvent: function() {
var sureDom = this.el.querySelectorAll('.sure');
var closeDom = this.el.querySelectorAll('.close');
var self = this;
this.el.addEventListener('click', function(e) {
self.close();
self.opts.fallback && self.opts.fallback();
});
this.layer_el.addEventListener('click', function(e) {
e.stopPropagation();
});
for (var i = 0, len = sureDom.length; i < len; i++) {
sureDom[i].addEventListener('click', function(e) {
self.close();
});
}
for (var i = 0, len = closeDom.length; i < len; i++) {
closeDom[i].addEventListener('click', function(e) {
self.close();
self.opts.fallback && self.opts.fallback();
});
}
},
close: function() {
var self=this;
if (self.el) {
if (self.opts.showAnimate) {
self.el.className += ' fadeOutDown';
setTimeout(function(){
self.removeDom();
},500);
}else{
self.removeDom();
}
}
},
removeDom:function(){
this.el.parentNode.removeChild(this.el);
this.el=null;
if (document.body.classList.contains('ios-select-body-class')) {
document.body.classList.remove('ios-select-body-class');
}
document.body.style.top ="";
if (this.opts.offsetTop) {
window.scrollTo(0,this.opts.offsetTop);
}
}
}
function IosSelect(level, data, options) {
if (!iosSelectUtil.isArray(data) || data.length === 0) {
return;
}
this.data = data;
this.level = level || 1;
this.options = options;
this.typeBox = 'one-level-box';
if (this.level === 1) {
this.typeBox = 'one-level-box';
}
else if (this.level === 2) {
this.typeBox = 'two-level-box';
}
else if (this.level === 3) {
this.typeBox = 'three-level-box';
}
else if (this.level === 4) {
this.typeBox = 'four-level-box';
}
else if (this.level === 5) {
this.typeBox = 'five-level-box';
}
this.callback = options.callback;
this.fallback = options.fallback;
this.title = options.title || '';
this.options.itemHeight = options.itemHeight || 35;
this.options.itemShowCount = [3, 5, 7, 9].indexOf(options.itemShowCount) !== -1? options.itemShowCount: 7;
this.options.coverArea1Top = Math.floor(this.options.itemShowCount / 2);
this.options.coverArea2Top = Math.ceil(this.options.itemShowCount / 2);
this.options.headerHeight = options.headerHeight || 44;
this.options.relation = iosSelectUtil.isArray(this.options.relation)? this.options.relation: [];
this.options.oneTwoRelation = this.options.relation[0];
this.options.twoThreeRelation = this.options.relation[1];
this.options.threeFourRelation = this.options.relation[2];
this.options.fourFiveRelation = this.options.relation[3];
if (this.options.cssUnit !== 'px' && this.options.cssUnit !== 'rem') {
this.options.cssUnit = 'px';
}
this.setBase();
this.init();
};
IosSelect.prototype = {
init: function() {
this.initLayer();
//
this.selectOneObj = {};
this.selectTwoObj = {};
this.selectThreeObj = {};
this.selectFourObj = {};
this.selectFiveObj = {};
this.setOneLevel(this.options.oneLevelId, this.options.twoLevelId, this.options.threeLevelId, this.options.fourLevelId, this.options.fiveLevelId);
},
initLayer: function() {
var self = this;
var sureText = this.options.sureText || '';
var closeText = this.options.closeText || '';
var all_html = [
'<header style="height: ' + this.options.headerHeight + this.options.cssUnit + '; line-height: ' + this.options.headerHeight + this.options.cssUnit + '" class="iosselect-header">',
'<a style="height: ' + this.options.headerHeight + this.options.cssUnit + '; line-height: ' + this.options.headerHeight + this.options.cssUnit + '" href="javascript:void(0)" class="close">' + closeText + '</a>',
'<a style="height: ' + this.options.headerHeight + this.options.cssUnit + '; line-height: ' + this.options.headerHeight + this.options.cssUnit + '" href="javascript:void(0)" class="sure">' + sureText + '</a>',
'<h2 id="iosSelectTitle"></h2>',
'</header>',
'<section class="iosselect-box">',
'<div class="one-level-contain" id="oneLevelContain">',
'<ul class="select-one-level">',
'</ul>',
'</div>',
'<div class="two-level-contain" id="twoLevelContain">',
'<ul class="select-two-level">',
'</ul>',
'</div>',
'<div class="three-level-contain" id="threeLevelContain">',
'<ul class="select-three-level">',
'</ul>',
'</div>',
'<div class="four-level-contain" id="fourLevelContain">',
'<ul class="select-four-level">',
'</ul>',
'</div>',
'<div class="five-level-contain" id="fiveLevelContain">',
'<ul class="select-five-level">',
'</ul>',
'</div>',
'</section>',
'<hr class="cover-area1"/>',
'<hr class="cover-area2"/>',
'<div class="ios-select-loading-box" id="iosSelectLoadingBox">',
'<div class="ios-select-loading"></div>',
'</div>'
].join('\r\n');
this.offsetTop = document.body.scrollTop;
this.iosSelectLayer = new Layer(all_html, {
className: 'ios-select-widget-box ' + this.typeBox + (this.options.addClassName? ' ' + this.options.addClassName: '') + (this.options.showAnimate? ' fadeInUp': ''),
container: this.options.container || '',
showAnimate:this.options.showAnimate,
fallback:this.options.fallback,
offsetTop:this.offsetTop
});
this.iosSelectTitleDom = this.iosSelectLayer.el.querySelector('#iosSelectTitle');
this.iosSelectLoadingBoxDom = this.iosSelectLayer.el.querySelector('#iosSelectLoadingBox');
if (this.options.title) {
this.iosSelectTitleDom.innerHTML = this.options.title;
}
if (this.options.headerHeight && this.options.itemHeight) {
this.coverArea1Dom = this.iosSelectLayer.el.querySelector('.cover-area1');
this.coverArea1Dom.style.top = this.options.headerHeight + this.options.itemHeight * this.options.coverArea1Top + this.options.cssUnit;
this.coverArea2Dom = this.iosSelectLayer.el.querySelector('.cover-area2');
this.coverArea2Dom.style.top = this.options.headerHeight + this.options.itemHeight * this.options.coverArea2Top + this.options.cssUnit;
}
this.oneLevelContainDom = this.iosSelectLayer.el.querySelector('#oneLevelContain');
this.twoLevelContainDom = this.iosSelectLayer.el.querySelector('#twoLevelContain');
this.threeLevelContainDom = this.iosSelectLayer.el.querySelector('#threeLevelContain');
this.fourLevelContainDom = this.iosSelectLayer.el.querySelector('#fourLevelContain');
this.fiveLevelContainDom = this.iosSelectLayer.el.querySelector('#fiveLevelContain');
this.oneLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-one-level');
this.twoLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-two-level');
this.threeLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-three-level');
this.fourLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-four-level');
this.fiveLevelUlContainDom = this.iosSelectLayer.el.querySelector('.select-five-level');
this.iosSelectLayer.el.querySelector('.layer').style.height = this.options.itemHeight * this.options.itemShowCount + this.options.headerHeight + this.options.cssUnit;
this.oneLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
document.body.classList.add('ios-select-body-class');
document.body.style.top = "-" + this.offsetTop + "px";
this.scrollOne = new IScrollForIosSelect('#oneLevelContain', {
probeType: 3,
bounce: false
});
this.scrollOne.on('scrollStart', function() {
self.toggleClassList(self.oneLevelContainDom);
});
this.scrollOne.on('scroll', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
plast = Math.round(pa) + 1;
self.toggleClassList(self.oneLevelContainDom);
self.changeClassName(self.oneLevelContainDom, plast);
});
this.scrollOne.on('scrollEnd', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollOne.scrollTo(0, -to, 0);
self.toggleClassList(self.oneLevelContainDom);
var pdom = self.changeClassName(self.oneLevelContainDom, plast);
self.selectOneObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level > 1 && self.options.oneTwoRelation === 1) {
self.setTwoLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
this.scrollOne.on('scrollCancel', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollOne.scrollTo(0, -to, 0);
self.toggleClassList(self.oneLevelContainDom);
var pdom = self.changeClassName(self.oneLevelContainDom, plast);
self.selectOneObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level > 1 && self.options.oneTwoRelation === 1) {
self.setTwoLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
if (this.level >= 2) {
this.twoLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollTwo = new IScrollForIosSelect('#twoLevelContain', {
probeType: 3,
bounce: false
});
this.scrollTwo.on('scrollStart', function() {
self.toggleClassList(self.twoLevelContainDom);
});
this.scrollTwo.on('scroll', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 0;
plast = Math.round(pa) + 1;
self.toggleClassList(self.twoLevelContainDom);
self.changeClassName(self.twoLevelContainDom, plast);
});
this.scrollTwo.on('scrollEnd', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollTwo.scrollTo(0, -to, 0);
self.toggleClassList(self.twoLevelContainDom);
var pdom = self.changeClassName(self.twoLevelContainDom, plast);
self.selectTwoObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level > 2 && self.options.twoThreeRelation === 1) {
self.setThreeLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
this.scrollTwo.on('scrollCancel', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollTwo.scrollTo(0, -to, 0);
self.toggleClassList(self.twoLevelContainDom);
var pdom = self.changeClassName(self.twoLevelContainDom, plast);
self.selectTwoObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level > 2 && self.options.twoThreeRelation === 1) {
self.setThreeLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
}
if (this.level >= 3) {
this.threeLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollThree = new IScrollForIosSelect('#threeLevelContain', {
probeType: 3,
bounce: false
});
this.scrollThree.on('scrollStart', function() {
self.toggleClassList(self.threeLevelContainDom);
});
this.scrollThree.on('scroll', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 0;
plast = Math.round(pa) + 1;
self.toggleClassList(self.threeLevelContainDom);
self.changeClassName(self.threeLevelContainDom, plast);
});
this.scrollThree.on('scrollEnd', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollThree.scrollTo(0, -to, 0);
self.toggleClassList(self.threeLevelContainDom);
var pdom = self.changeClassName(self.threeLevelContainDom, plast);
self.selectThreeObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level >= 4 && self.options.threeFourRelation === 1) {
self.setFourLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
this.scrollThree.on('scrollCancel', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollThree.scrollTo(0, -to, 0);
self.toggleClassList(self.threeLevelContainDom);
var pdom = self.changeClassName(self.threeLevelContainDom, plast);
self.selectThreeObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level >= 4 && self.options.threeFourRelation === 1) {
self.setFourLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
}
if (this.level >= 4) {
this.fourLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollFour = new IScrollForIosSelect('#fourLevelContain', {
probeType: 3,
bounce: false
});
this.scrollFour.on('scrollStart', function() {
self.toggleClassList(self.fourLevelContainDom);
});
this.scrollFour.on('scroll', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 0;
plast = Math.round(pa) + 1;
self.toggleClassList(self.fourLevelContainDom);
self.changeClassName(self.fourLevelContainDom, plast);
});
this.scrollFour.on('scrollEnd', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollFour.scrollTo(0, -to, 0);
self.toggleClassList(self.fourLevelContainDom);
var pdom = self.changeClassName(self.fourLevelContainDom, plast);
self.selectFourObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level >= 5 && self.options.fourFiveRelation === 1) {
self.setFiveLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
this.scrollFour.on('scrollCancel', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollFour.scrollTo(0, -to, 0);
self.toggleClassList(self.fourLevelContainDom);
var pdom = self.changeClassName(self.fourLevelContainDom, plast);
self.selectFourObj = iosSelectUtil.attrToData(pdom, plast);
if (self.level >= 5 && self.options.fourFiveRelation === 1) {
self.setFiveLevel(self.selectOneObj.id, self.selectTwoObj.id, self.selectThreeObj.id, self.selectFourObj.id, self.selectFiveObj.id);
}
});
}
if (this.level >= 5) {
this.fiveLevelContainDom.style.height = this.options.itemHeight * this.options.itemShowCount + this.options.cssUnit;
this.scrollFive = new IScrollForIosSelect('#fiveLevelContain', {
probeType: 3,
bounce: false
});
this.scrollFive.on('scrollStart', function() {
self.toggleClassList(self.fiveLevelContainDom);
});
this.scrollFive.on('scroll', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 0;
plast = Math.round(pa) + 1;
self.toggleClassList(self.fiveLevelContainDom);
self.changeClassName(self.fiveLevelContainDom, plast);
});
this.scrollFive.on('scrollEnd', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollFive.scrollTo(0, -to, 0);
self.toggleClassList(self.fiveLevelContainDom);
var pdom = self.changeClassName(self.fiveLevelContainDom, plast);
self.selectFiveObj = iosSelectUtil.attrToData(pdom, plast);
});
this.scrollFive.on('scrollCancel', function() {
var pa = Math.abs(this.y / self.baseSize) / self.options.itemHeight;
var plast = 1;
var to = 0;
if (Math.ceil(pa) === Math.round(pa)) {
to = Math.ceil(pa) * self.options.itemHeight * self.baseSize;
plast = Math.ceil(pa) + 1;
} else {
to = Math.floor(pa) * self.options.itemHeight * self.baseSize;
plast = Math.floor(pa) + 1;
}
self.scrollFive.scrollTo(0, -to, 0);
self.toggleClassList(self.fiveLevelContainDom);
var pdom = self.changeClassName(self.fiveLevelContainDom, plast);
self.selectFiveObj = iosSelectUtil.attrToData(pdom, plast);
});
}
//
this.closeBtnDom = this.iosSelectLayer.el.querySelector('.close');
this.closeBtnDom.addEventListener('click', function(e) {
});
this.selectBtnDom = this.iosSelectLayer.el.querySelector('.sure');
this.selectBtnDom.addEventListener('click', function(e) {
self.callback && self.callback(self.selectOneObj, self.selectTwoObj, self.selectThreeObj, self.selectFourObj, self.selectFiveObj);
});
},
loadingShow: function() {
this.options.showLoading && (this.iosSelectLoadingBoxDom.style.display = 'block');
},
loadingHide: function() {
this.iosSelectLoadingBoxDom.style.display = 'none';
},
getOneLevel: function() {
return this.data[0];
},
setOneLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId) {
if (iosSelectUtil.isArray(this.data[0])){
var oneLevelData = this.getOneLevel();
this.renderOneLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, oneLevelData);
}
else if (iosSelectUtil.isFunction(this.data[0])) {
this.loadingShow();
this.data[0](function(oneLevelData) {
this.loadingHide();
this.renderOneLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, oneLevelData);
}.bind(this));
}
else {
throw new Error('data format error');
}
},
renderOneLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, oneLevelData) {
var hasAtId = oneLevelData.some(function(v, i, o) {
return v.id == oneLevelId;
});
if (!hasAtId) {
oneLevelId = oneLevelData[0]['id'];
}
var oneHtml = '';
var self = this;
var plast = 0;
oneHtml += this.getWhiteItem();
oneLevelData.forEach(function(v, i, o) {
if (v.id == oneLevelId) {
oneHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';" ' + iosSelectUtil.attrToHtml(v) + ' class="at">' + v.value + '</li>';
plast = i + 1;
} else {
oneHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + '>' + v.value + '</li>';
}
}.bind(this));
oneHtml += this.getWhiteItem();
this.oneLevelUlContainDom.innerHTML = oneHtml;
this.scrollOne.refresh();
this.scrollOne.scrollToElement('li:nth-child(' + plast + ')', 0);
if (this.level >= 2) {
this.setTwoLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId);
}
var pdom = this.changeClassName(this.oneLevelContainDom, plast);
this.selectOneObj = iosSelectUtil.attrToData(pdom, this.getAtIndexByPlast(plast));
},
getTwoLevel: function(oneLevelId) {
var twoLevelData = [];
if (this.options.oneTwoRelation === 1) {
this.data[1].forEach(function(v, i, o) {
if (v['parentId'] == oneLevelId) {
twoLevelData.push(v);
}
});
} else {
twoLevelData = this.data[1];
}
return twoLevelData;
},
setTwoLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId) {
if (iosSelectUtil.isArray(this.data[1])) {
var twoLevelData = this.getTwoLevel(oneLevelId);
this.renderTwoLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, twoLevelData);
}
else if (iosSelectUtil.isFunction(this.data[1])) {
this.loadingShow();
this.data[1](oneLevelId, function(twoLevelData) {
this.loadingHide();
this.renderTwoLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, twoLevelData);
}.bind(this));
}
else {
throw new Error('data format error');
}
},
renderTwoLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, twoLevelData) {
var plast = 0;
var hasAtId = twoLevelData.some(function(v, i, o) {
return v.id == twoLevelId;
});
if (!hasAtId) {
twoLevelId = twoLevelData[0]['id'];
}
var twoHtml = '';
var self = this;
twoHtml += this.getWhiteItem();
twoLevelData.forEach(function(v, i, o) {
if (v.id == twoLevelId) {
twoHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + ' class="at">' + v.value + '</li>';
plast = i + 1;
} else {
twoHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + '>' + v.value + '</li>';
}
}.bind(this));
twoHtml += this.getWhiteItem();
this.twoLevelUlContainDom.innerHTML = twoHtml;
this.scrollTwo.refresh();
this.scrollTwo.scrollToElement(':nth-child(' + plast + ')', 0);
if (this.level >= 3) {
this.setThreeLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId);
}
var pdom = this.changeClassName(this.twoLevelContainDom, plast);
this.selectTwoObj = iosSelectUtil.attrToData(pdom, this.getAtIndexByPlast(plast));
},
getThreeLevel: function(oneLevelId, twoLevelId) {
var threeLevelData = [];
if (this.options.twoThreeRelation === 1) {
this.data[2].forEach(function(v, i, o) {
if (v['parentId'] == twoLevelId) {
threeLevelData.push(v);
}
});
} else {
threeLevelData = this.data[2];
}
return threeLevelData;
},
setThreeLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId) {
if (iosSelectUtil.isArray(this.data[2])) {
var threeLevelData = this.getThreeLevel(oneLevelId, twoLevelId);
this.renderThreeLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, threeLevelData);
}
else if (iosSelectUtil.isFunction(this.data[2])) {
this.loadingShow();
this.data[2](oneLevelId, twoLevelId, function(threeLevelData) {
this.loadingHide();
this.renderThreeLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, threeLevelData);
}.bind(this));
}
else {
throw new Error('data format error');
}
},
renderThreeLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, threeLevelData) {
var plast = 0;
var hasAtId = threeLevelData.some(function(v, i, o) {
return v.id == threeLevelId;
});
if (!hasAtId) {
threeLevelId = threeLevelData[0]['id'];
}
var threeHtml = '';
var self = this;
threeHtml += this.getWhiteItem();
threeLevelData.forEach(function(v, i, o) {
if (v.id == threeLevelId) {
threeHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + ' class="at">' + v.value + '</li>';
plast = i + 1;
} else {
threeHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + '>' + v.value + '</li>';
}
}.bind(this));
threeHtml += this.getWhiteItem();
this.threeLevelUlContainDom.innerHTML = threeHtml;
this.scrollThree.refresh();
this.scrollThree.scrollToElement(':nth-child(' + plast + ')', 0);
if (this.level >= 4) {
this.setFourLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId);
}
var pdom = this.changeClassName(this.threeLevelContainDom, plast);
this.selectThreeObj = iosSelectUtil.attrToData(pdom, this.getAtIndexByPlast(plast));
},
getFourLevel: function(oneLevelId, twoLevelId, threeLevelId) {
var fourLevelData = [];
if (this.options.threeFourRelation === 1) {
this.data[3].forEach(function(v, i, o) {
if (v['parentId'] == threeLevelId) {
fourLevelData.push(v);
}
});
} else {
fourLevelData = this.data[3];
}
return fourLevelData;
},
setFourLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId) {
if (iosSelectUtil.isArray(this.data[3])) {
var fourLevelData = this.getFourLevel(oneLevelId, twoLevelId, threeLevelId);
this.renderFourLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, fourLevelData);
}
else if (iosSelectUtil.isFunction(this.data[3])) {
this.loadingShow();
this.data[3](oneLevelId, twoLevelId, threeLevelId, function(fourLevelData) {
this.loadingHide();
this.renderFourLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, fourLevelData);
}.bind(this));
}
else {
throw new Error('data format error');
}
},
renderFourLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, fourLevelData) {
var plast = 0;
var hasAtId = fourLevelData.some(function(v, i, o) {
return v.id == fourLevelId;
});
if (!hasAtId) {
fourLevelId = fourLevelData[0]['id'];
}
var fourHtml = '';
var self = this;
fourHtml += this.getWhiteItem();
fourLevelData.forEach(function(v, i, o) {
if (v.id == fourLevelId) {
fourHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + ' class="at">' + v.value + '</li>';
plast = i + 1;
} else {
fourHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + '>' + v.value + '</li>';
}
}.bind(this));
fourHtml += this.getWhiteItem();
this.fourLevelUlContainDom.innerHTML = fourHtml;
this.scrollFour.refresh();
this.scrollFour.scrollToElement(':nth-child(' + plast + ')', 0);
if (this.level >= 5) {
this.setFiveLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId);
}
var pdom = this.changeClassName(this.fourLevelContainDom, plast);
this.selectFourObj = iosSelectUtil.attrToData(pdom, this.getAtIndexByPlast(plast));
},
getFiveLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId) {
var fiveLevelData = [];
if (this.options.fourFiveRelation === 1) {
this.data[4].forEach(function(v, i, o) {
if (v['parentId'] == fourLevelId) {
fiveLevelData.push(v);
}
});
} else {
fiveLevelData = this.data[4];
}
return fiveLevelData;
},
setFiveLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId) {
if (iosSelectUtil.isArray(this.data[4])) {
var fiveLevelData = this.getFiveLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId);
this.renderFiveLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, fiveLevelData);
}
else if (iosSelectUtil.isFunction(this.data[4])) {
this.loadingShow();
this.data[4](oneLevelId, twoLevelId, threeLevelId, fourLevelId, function(fiveLevelData) {
this.loadingHide();
this.renderFiveLevel(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, fiveLevelData);
}.bind(this));
}
else {
throw new Error('data format error');
}
},
renderFiveLevel: function(oneLevelId, twoLevelId, threeLevelId, fourLevelId, fiveLevelId, fiveLevelData) {
var plast = 0;
var hasAtId = fiveLevelData.some(function(v, i, o) {
return v.id == fiveLevelId;
});
if (!hasAtId) {
fiveLevelId = fiveLevelData[0]['id'];
}
var fiveHtml = '';
var self = this;
fiveHtml += this.getWhiteItem();
fiveLevelData.forEach(function(v, i, o) {
if (v.id == fiveLevelId) {
fiveHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + ' class="at">' + v.value + '</li>';
plast = i + 1;
} else {
fiveHtml += '<li style="height: ' + this.options.itemHeight + this.options.cssUnit + '; line-height: ' + this.options.itemHeight + this.options.cssUnit +';"' + iosSelectUtil.attrToHtml(v) + '>' + v.value + '</li>';
}
}.bind(this));
fiveHtml += this.getWhiteItem();
this.fiveLevelUlContainDom.innerHTML = fiveHtml;
this.scrollFive.refresh();
this.scrollFive.scrollToElement(':nth-child(' + plast + ')', 0);
var pdom = this.changeClassName(this.fiveLevelContainDom, plast);
this.selectFiveObj = iosSelectUtil.attrToData(pdom, this.getAtIndexByPlast(plast));
},
getWhiteItem: function() {
var whiteItemHtml = '';
whiteItemHtml += '<li style="height: ' + this.options.itemHeight +this.options.cssUnit + '; line-height: ' + this.options.itemHeight +this.options.cssUnit + '"></li>';
if (this.options.itemShowCount > 3) {
whiteItemHtml += '<li style="height: ' + this.options.itemHeight +this.options.cssUnit + '; line-height: ' + this.options.itemHeight +this.options.cssUnit + '"></li>';
}
if (this.options.itemShowCount > 5) {
whiteItemHtml += '<li style="height: ' + this.options.itemHeight +this.options.cssUnit + '; line-height: ' + this.options.itemHeight +this.options.cssUnit + '"></li>';
}
if (this.options.itemShowCount > 7) {
whiteItemHtml += '<li style="height: ' + this.options.itemHeight +this.options.cssUnit + '; line-height: ' + this.options.itemHeight +this.options.cssUnit + '"></li>';
}
return whiteItemHtml;
},
changeClassName: function(levelContainDom, plast) {
var pdom;
if (this.options.itemShowCount === 3) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 1) + ')');
pdom.classList.add('at');
}
else if (this.options.itemShowCount === 5) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 2) + ')');
pdom.classList.add('at');
levelContainDom.querySelector('li:nth-child(' + (plast + 1) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 3) + ')').classList.add('side1');
}
else if (this.options.itemShowCount === 7) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 3) + ')');
pdom.classList.add('at');
levelContainDom.querySelector('li:nth-child(' + (plast + 2) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 1) + ')').classList.add('side2');
levelContainDom.querySelector('li:nth-child(' + (plast + 4) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 5) + ')').classList.add('side2');
}
else if (this.options.itemShowCount === 9) {
pdom = levelContainDom.querySelector('li:nth-child(' + (plast + 4) + ')');
pdom.classList.add('at');
levelContainDom.querySelector('li:nth-child(' + (plast + 3) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 2) + ')').classList.add('side2');
levelContainDom.querySelector('li:nth-child(' + (plast + 5) + ')').classList.add('side1');
levelContainDom.querySelector('li:nth-child(' + (plast + 6) + ')').classList.add('side2');
}
return pdom;
},
getAtIndexByPlast: function(plast) {
return plast + Math.ceil(this.options.itemShowCount / 2);
},
setBase: function() {
if (this.options.cssUnit === 'rem') {
var dltDom = document.documentElement;
var dltStyle = window.getComputedStyle(dltDom, null);
var dltFontSize = dltStyle.fontSize;
try {
this.baseSize = /\d+(?:\.\d+)?/.exec(dltFontSize)[0];
}
catch(e) {
this.baseSize = 1;
}
}
else {
this.baseSize = 1;
}
},
toggleClassList: function (dom) {
Array.prototype.slice.call(dom.querySelectorAll('li')).forEach(function (v) {
if (v.classList.contains('at')) {
v.classList.remove('at');
} else if (v.classList.contains('side1')) {
v.classList.remove('side1');
} else if (v.classList.contains('side2')) {
v.classList.remove('side2');
}
})
}
}
if (typeof module != 'undefined' && module.exports) {
module.exports = IosSelect;
} else if (typeof define == 'function' && define.amd) {
define(function() {
return IosSelect;
});
} else {
window.IosSelect = IosSelect;
}
})();
```
|
/content/code_sandbox/demo/ajax/angular/assets/IosSelect/iosSelect.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 18,049
|
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="selectDate">
<label></label>
<div class="pc-box">
<span data-year="" data-month="" data-date="" id="showDate"></span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var selectDateDom = $('#selectDate');
var showDateDom = $('#showDate');
//
var now = new Date();
var nowYear = now.getFullYear();
var nowMonth = now.getMonth() + 1;
var nowDate = now.getDate();
showDateDom.attr('data-year', nowYear);
showDateDom.attr('data-month', nowMonth);
showDateDom.attr('data-date', nowDate);
//
function formatYear (nowYear) {
var arr = [];
for (var i = nowYear - 5; i <= nowYear + 5; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
function formatMonth () {
var arr = [];
for (var i = 1; i <= 12; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
function formatDate (count) {
var arr = [];
for (var i = 1; i <= count; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
var yearData = function(callback) {
callback(formatYear(nowYear))
}
var monthData = function (year, callback) {
callback(formatMonth());
};
var dateData = function (year, month, callback) {
if (/^(1|3|5|7|8|10|12)$/.test(month)) {
callback(formatDate(31));
}
else if (/^(4|6|9|11)$/.test(month)) {
callback(formatDate(30));
}
else if (/^2$/.test(month)) {
if (year % 4 === 0 && year % 100 !==0 || year % 400 === 0) {
callback(formatDate(29));
}
else {
callback(formatDate(28));
}
}
else {
throw new Error('month is illegal');
}
};
var hourData = function(one, two, three, callback) {
var hours = [];
for (var i = 0,len = 24; i < len; i++) {
hours.push({
id: i,
value: i + ''
});
}
callback(hours);
};
var minuteData = function(one, two, three, four, callback) {
var minutes = [];
for (var i = 0, len = 60; i < len; i++) {
minutes.push({
id: i,
value: i + ''
});
}
callback(minutes);
};
var secondsData = function(one, two, three, four, five, callback) {
var seconds = [];
for (var i = 0, len = 60; i < len; i++) {
seconds.push({
id: i,
value: i + ''
});
}
callback(seconds);
};
selectDateDom.bind('click', function () {
var oneLevelId = showDateDom.attr('data-year');
var twoLevelId = showDateDom.attr('data-month');
var threeLevelId = showDateDom.attr('data-date');
var fourLevelId = showDateDom.attr('data-hour');
var fiveLevelId = showDateDom.attr('data-minute');
var sixLevelId = showDateDom.attr('data-second');
var iosSelect = new IosSelect(6,
[yearData, monthData, dateData, hourData, minuteData, secondsData],
{
title: '',
itemHeight: 35,
itemShowCount: 9,
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
fourLevelId: fourLevelId,
fiveLevelId: fiveLevelId,
sixLevelId: sixLevelId,
callback: function (selectOneObj, selectTwoObj, selectThreeObj, selectFourObj, selectFiveObj, selectSixObj) {
showDateDom.attr('data-year', selectOneObj.id);
showDateDom.attr('data-month', selectTwoObj.id);
showDateDom.attr('data-date', selectThreeObj.id);
showDateDom.attr('data-hour', selectFourObj.id);
showDateDom.attr('data-minute', selectFiveObj.id);
showDateDom.attr('data-second', selectSixObj.id);
showDateDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value + ' ' + selectFourObj.value + ' ' + selectFiveObj.value + ' ' + selectSixObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/six/time.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 1,296
|
```javascript
var data = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', 'value': ''},
{'id': '10010', 'value': ''},
{'id': '10011', 'value': ''},
{'id': '10012', 'value': ''},
{'id': '10013', 'value': ''},
{'id': '10014', 'value': ''},
{'id': '10015', 'value': ''},
{'id': '10016', 'value': ''},
{'id': '10017', 'value': ''},
{'id': '10018', 'value': ''},
{'id': '10019', 'value': ''},
{'id': '10020', 'value': ''},
{'id': '10021', 'value': ''},
{'id': '10022', 'value': ''},
{'id': '10023', 'value': ''},
{'id': '10024', 'value': ''}
];
```
|
/content/code_sandbox/demo/rem/bank.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 317
|
```javascript
(function (win, lib) {
var doc = win.document;
var docEl = doc.documentElement;
//
var devicePixelRatio = win.devicePixelRatio;
//
var dpr = 1;
// viewport
var scale = 1;
// viewport
function setViewport() {
// IOS
var isIPhone = /iphone/gi.test(win.navigator.appVersion);
//
dpr = devicePixelRatio;
// hack
if (/coolpad\u0020*8720L|scl-tl00|vivo\u0020x3t/i.test(window.navigator.userAgent)) {
dpr = 1;
}
// window
win.devicePixelRatioValue = dpr;
// viewport
scale = 1 / dpr;
// viewport
var hasMetaEl = doc.querySelector('meta[name="viewport"]');
//
if (hasMetaEl) {
// ios9 maximum-scale minimum-scaleIOS9bug
if (isIPhone) {
hasMetaEl.setAttribute('content', 'initial-scale=' + scale + ', user-scalable=no');
}
// target-densitydpi medium-dpicss1px1pxtarget-densitydpi=device-dpi
else {
hasMetaEl.setAttribute('content', 'initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no,target-densitydpi=device-dpi');
}
}
//
else {
var metaEl = doc.createElement('meta');
metaEl.setAttribute('name', 'viewport');
if (isIPhone) {
metaEl.setAttribute('content', 'initial-scale=' + scale + ', user-scalable=no');
}
else {
metaEl.setAttribute('content', 'initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no,target-densitydpi=device-dpi');
}
if (docEl.firstElementChild) {
docEl.firstElementChild.appendChild(metaEl);
}
else {
var wrap = doc.createElement('div');
wrap.appendChild(metaEl);
doc.write(wrap.innerHTML);
}
}
}
setViewport();
var newBase = 100;
function setRem() {
//
// var layoutView = docEl.clientWidth;
var layoutView;
if (lib.maxWidth) {
layoutView = Math.min(docEl.getBoundingClientRect().width, lib.maxWidth * dpr);
}
else {
layoutView = docEl.getBoundingClientRect().width;
}
// 1rem === 100px
// 1rem === 1px
// 640750px
// 3201440
// layout (desinWidth/100) rem
// layoutView / newBase = desinWidth / 100
// newBase = 100 * layoutView / desinWidth
// newBase = 50200
// 1rem === 1px newBase0.5212px
newBase = 100 * layoutView / lib.desinWidth;
docEl.style.fontSize = newBase + 'px';
// remreflow
doc.body&&(doc.body.style.fontSize = lib.baseFont / 100 + 'rem');
// rem
lib.setRemCallback&&lib.setRemCallback();
lib.newBase = newBase;
}
var tid;
lib.desinWidth = 640;
lib.baseFont = 24;
// chrome
lib.reflow = function() {
docEl.clientWidth;
};
lib.init = function () {
// resizerem
// orientationchange resize
win.addEventListener('resize', function () {
clearTimeout(tid);
tid = setTimeout(setRem, 300);
}, false);
// rem
win.addEventListener('pageshow', function (e) {
if (e.persisted) {
clearTimeout(tid);
tid = setTimeout(setRem, 300);
}
}, false);
// body
if (doc.readyState === 'complete') {
doc.body.style.fontSize = lib.baseFont / 100 + 'rem';
}
else {
doc.addEventListener('DOMContentLoaded', function (e) {
doc.body.style.fontSize = lib.baseFont / 100 + 'rem';
}, false);
}
// rem
setRem();
// html
docEl.setAttribute('data-dpr', dpr);
};
// htmlpxrempx
lib.remToPx = function (remValue) {
return remValue * newBase;
};
})(window, window['adaptive'] || (window['adaptive'] = {}));
```
|
/content/code_sandbox/demo/rem/adaptive.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 1,002
|
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDisplay = {};
var classCache = {};
var cssNumber = {
'column-count': 1,
'columns': 1,
'font-weight': 1,
'line-height': 1,
'opacity': 1,
'z-index': 1,
'zoom': 1
};
var fragmentRE = /^\s*<(\w+|!)[^>]*>/;
var singleTagRE = /^<(\w+)\s*\/?>(?:<\/\1>|)$/;
var tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig;
var rootNodeRE = /^(?:body|html)$/i;
var capitalRE = /([A-Z])/g;
// special attributes that should be get/set via method calls
var methodAttributes = [
'val',
'css',
'html',
'text',
'data',
'width',
'height',
'offset'
];
var adjacencyOperators = [
'after',
'prepend',
'before',
'append'
];
var table = document.createElement('table');
var tableRow = document.createElement('tr');
var containers = {
'tr': document.createElement('tbody'),
'tbody': table,
'thead': table,
'tfoot': table,
'td': tableRow,
'th': tableRow,
'*': document.createElement('div')
};
var readyRE = /complete|loaded|interactive/;
var simpleSelectorRE = /^[\w-]*$/;
var class2type = {};
var toString = class2type.toString;
var zepto = {};
var camelize;
var uniq;
var tempParent = document.createElement('div');
var propMap = {
'tabindex': 'tabIndex',
'readonly': 'readOnly',
'for': 'htmlFor',
'class': 'className',
'maxlength': 'maxLength',
'cellspacing': 'cellSpacing',
'cellpadding': 'cellPadding',
'rowspan': 'rowSpan',
'colspan': 'colSpan',
'usemap': 'useMap',
'frameborder': 'frameBorder',
'contenteditable': 'contentEditable'
};
var isArray = Array.isArray || function (object) {
return object instanceof Array;
};
zepto.matches = function (element, selector) {
if (!selector || !element || element.nodeType !== 1)
return false;
var matchesSelector = element.webkitMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.matchesSelector;
if (matchesSelector)
return matchesSelector.call(element, selector);
// fall back to performing a selector:
var match;
var parent = element.parentNode;
var temp = !parent;
if (temp)
(parent = tempParent).appendChild(element);
match = ~zepto.qsa(parent, selector).indexOf(element);
temp && tempParent.removeChild(element);
return match;
};
function type(obj) {
return obj == null ? String(obj) : class2type[toString.call(obj)] || "object";
}
function isFunction(value) {
return type(value) == "function";
}
function isWindow(obj) {
return obj != null && obj == obj.window;
}
function isDocument(obj) {
return obj != null && obj.nodeType == obj.DOCUMENT_NODE;
}
function isObject(obj) {
return type(obj) == "object";
}
function isPlainObject(obj) {
return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype;
}
function likeArray(obj) {
return typeof obj.length == 'number';
}
function compact(array) {
return filter.call(array, function (item) {
return item != null;
});
}
function flatten(array) {
return array.length > 0 ? $.fn.concat.apply([], array) : array;
}
camelize = function (str) {
return str.replace(/-+(.)?/g, function (match, chr) {
return chr ? chr.toUpperCase() : '';
});
};
function dasherize(str) {
return str.replace(/::/g, '/').replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2').replace(/([a-z\d])([A-Z])/g, '$1_$2').replace(/_/g, '-').toLowerCase();
}
uniq = function (array) {
return filter.call(array, function (item, idx) {
return array.indexOf(item) == idx;
});
};
function classRE(name) {
return name in classCache ? classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)'));
}
function maybeAddPx(name, value) {
return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value;
}
function defaultDisplay(nodeName) {
var element;
var display;
if (!elementDisplay[nodeName]) {
element = document.createElement(nodeName);
document.body.appendChild(element);
display = getComputedStyle(element, '').getPropertyValue("display");
element.parentNode.removeChild(element);
display == "none" && (display = "block");
elementDisplay[nodeName] = display;
}
return elementDisplay[nodeName];
}
function children(element) {
return 'children' in element ? slice.call(element.children) : $.map(element.childNodes, function (node) {
if (node.nodeType == 1)
return node;
});
}
// `$.zepto.fragment` takes a html string and an optional tag name
// to generate DOM nodes nodes from the given html string.
// The generated DOM nodes are returned as an array.
// This function can be overriden in plugins for example to make
// it compatible with browsers that don't support the DOM fully.
zepto.fragment = function (html, name, properties) {
var dom;
var nodes;
var container;
// A special case optimization for a single tag
if (singleTagRE.test(html))
dom = $(document.createElement(RegExp.$1));
if (!dom) {
if (html.replace)
html = html.replace(tagExpanderRE, "<$1></$2>");
if (name === undefined)
name = fragmentRE.test(html) && RegExp.$1;
if (!(name in containers))
name = '*';
container = containers[name];
container.innerHTML = '' + html;
dom = $.each(slice.call(container.childNodes), function () {
container.removeChild(this);
});
}
if (isPlainObject(properties)) {
nodes = $(dom);
$.each(properties, function (key, value) {
if (methodAttributes.indexOf(key) > -1)
nodes[key](value);
else
nodes.attr(key, value);
});
}
return dom;
};
// `$.zepto.Z` swaps out the prototype of the given `dom` array
// of nodes with `$.fn` and thus supplying all the Zepto functions
// to the array. Note that `__proto__` is not supported on Internet
// Explorer. This method can be overriden in plugins.
zepto.Z = function (dom, selector) {
dom = dom || [];
dom.__proto__ = $.fn;
dom.selector = selector || '';
return dom;
};
// `$.zepto.isZ` should return `true` if the given object is a Zepto
// collection. This method can be overriden in plugins.
zepto.isZ = function (object) {
return object instanceof zepto.Z;
};
// `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
// takes a CSS selector and an optional context (and handles various
// special cases).
// This method can be overriden in plugins.
zepto.init = function (selector, context) {
var dom;
// If nothing given, return an empty Zepto collection
if (!selector)
return zepto.Z();
// Optimize for string selectors
else if (typeof selector == 'string') {
selector = selector.trim();
// If it's a html fragment, create nodes from it
// Note: In both Chrome 21 and Firefox 15, DOM error 12
// is thrown if the fragment doesn't begin with <
if (selector[0] == '<' && fragmentRE.test(selector))
dom = zepto.fragment(selector, RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// If it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// If a function is given, call it when the DOM is ready
else if (isFunction(selector))
return $(document).ready(selector);
// If a Zepto collection is given, just return it
else if (zepto.isZ(selector))
return selector;
else {
// normalize array if an array of nodes is given
if (isArray(selector))
dom = compact(selector);
// Wrap DOM nodes.
else if (isObject(selector))
dom = [
selector
], selector = null;
// If it's a html fragment, create nodes from it
else if (fragmentRE.test(selector))
dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// And last but no least, if it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// create a new Zepto collection from the nodes found
return zepto.Z(dom, selector);
};
// `$` will be the base `Zepto` object. When calling this
// function just call `$.zepto.init, which makes the implementation
// details of selecting nodes and creating Zepto collections
// patchable in plugins.
$ = function (selector, context) {
return zepto.init(selector, context);
};
function extend(target, source, deep) {
for (key in source)
if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {
if (isPlainObject(source[key]) && !isPlainObject(target[key]))
target[key] = {};
if (isArray(source[key]) && !isArray(target[key]))
target[key] = [];
extend(target[key], source[key], deep);
}
else if (source[key] !== undefined)
target[key] = source[key];
}
// Copy all but undefined properties from one or more
// objects to the `target` object.
$.extend = function (target) {
var deep;
var args = slice.call(arguments, 1);
if (typeof target == 'boolean') {
deep = target;
target = args.shift();
}
args.forEach(function (arg) {
extend(target, arg, deep);
});
return target;
};
// `$.zepto.qsa` is Zepto's CSS selector implementation which
// uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
// This method can be overriden in plugins.
zepto.qsa = function (element, selector) {
var found;
var maybeID = selector[0] == '#';
var maybeClass = !maybeID && selector[0] == '.';
var nameOnly = maybeID || maybeClass ? selector.slice(1) : selector; // Ensure that a 1 char tag name still gets checked
var isSimple = simpleSelectorRE.test(nameOnly);
return (isDocument(element) && isSimple && maybeID) ? ((found = element.getElementById(nameOnly)) ? [
found
] : []) : (element.nodeType !== 1 && element.nodeType !== 9) ? [] : slice.call(isSimple && !maybeID ? maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
element.getElementsByTagName(selector) : // Or a tag
element.querySelectorAll(selector) // Or it's not simple, and we need to query all
);
};
function filtered(nodes, selector) {
return selector == null ? $(nodes) : $(nodes).filter(selector);
}
$.contains = document.documentElement.contains ? function (parent, node) {
return parent !== node && parent.contains(node);
} : function (parent, node) {
while (node && (node = node.parentNode))
if (node === parent)
return true;
return false;
};
function funcArg(context, arg, idx, payload) {
return isFunction(arg) ? arg.call(context, idx, payload) : arg;
}
function setAttribute(node, name, value) {
value == null ? node.removeAttribute(name) : node.setAttribute(name, value);
}
// access className property while respecting SVGAnimatedString
function className(node, value) {
var klass = node.className || '';
var svg = klass && klass.baseVal !== undefined;
if (value === undefined)
return svg ? klass.baseVal : klass;
svg ? (klass.baseVal = value) : (node.className = value);
}
// "true" => true
// "false" => false
// "null" => null
// "42" => 42
// "42.5" => 42.5
// "08" => "08"
// JSON => parse if valid
// String => self
function deserializeValue(value) {
try {
return value ? value == "true" || (value == "false" ? false : value == "null" ? null : +value + "" == value ? +value : /^[\[\{]/.test(value) ? $.parseJSON(value) : value) : value;
}
catch (e) {
return value;
}
}
$.type = type;
$.isFunction = isFunction;
$.isWindow = isWindow;
$.isArray = isArray;
$.isPlainObject = isPlainObject;
$.isEmptyObject = function (obj) {
var name;
for (name in obj)
return false;
return true;
};
$.inArray = function (elem, array, i) {
return emptyArray.indexOf.call(array, elem, i);
};
$.camelCase = camelize;
$.trim = function (str) {
return str == null ? "" : String.prototype.trim.call(str);
};
// plugin compatibility
$.uuid = 0;
$.support = {};
$.expr = {};
$.map = function (elements, callback) {
var value;
var values = [];
var i;
var key;
if (likeArray(elements))
for (i = 0; i < elements.length; i++) {
value = callback(elements[i], i);
if (value != null)
values.push(value);
}
else
for (key in elements) {
value = callback(elements[key], key);
if (value != null)
values.push(value);
}
return flatten(values);
};
$.each = function (elements, callback) {
var i;
var key;
if (likeArray(elements)) {
for (i = 0; i < elements.length; i++)
if (callback.call(elements[i], i, elements[i]) === false)
return elements;
}
else {
for (key in elements)
if (callback.call(elements[key], key, elements[key]) === false)
return elements;
}
return elements;
};
$.grep = function (elements, callback) {
return filter.call(elements, callback);
};
if (window.JSON)
$.parseJSON = JSON.parse;
// Populate the class2type map
$.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
class2type["[object " + name + "]"] = name.toLowerCase();
});
// Define methods that will be available on all
// Zepto collections
$.fn = {
// Because a collection acts like an array
// copy over these useful array functions.
forEach: emptyArray.forEach,
reduce: emptyArray.reduce,
push: emptyArray.push,
sort: emptyArray.sort,
indexOf: emptyArray.indexOf,
concat: emptyArray.concat,
// `map` and `slice` in the jQuery API work differently
// from their array counterparts
map: function (fn) {
return $($.map(this, function (el, i) {
return fn.call(el, i, el);
}));
},
slice: function () {
return $(slice.apply(this, arguments));
},
ready: function (callback) {
// need to check if document.body exists for IE as that browser reports
// document ready when it hasn't yet created the body element
if (readyRE.test(document.readyState) && document.body)
callback($);
else
document.addEventListener('DOMContentLoaded', function () {
callback($);
}, false);
return this;
},
get: function (idx) {
return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length];
},
toArray: function () {
return this.get();
},
size: function () {
return this.length;
},
remove: function () {
return this.each(function () {
if (this.parentNode != null)
this.parentNode.removeChild(this);
});
},
each: function (callback) {
emptyArray.every.call(this, function (el, idx) {
return callback.call(el, idx, el) !== false;
});
return this;
},
filter: function (selector) {
if (isFunction(selector))
return this.not(this.not(selector));
return $(filter.call(this, function (element) {
return zepto.matches(element, selector);
}));
},
add: function (selector, context) {
return $(uniq(this.concat($(selector, context))));
},
is: function (selector) {
return this.length > 0 && zepto.matches(this[0], selector);
},
not: function (selector) {
var nodes = [];
if (isFunction(selector) && selector.call !== undefined)
this.each(function (idx) {
if (!selector.call(this, idx))
nodes.push(this);
});
else {
var excludes = typeof selector == 'string' ? this.filter(selector) : (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector);
this.forEach(function (el) {
if (excludes.indexOf(el) < 0)
nodes.push(el);
});
}
return $(nodes);
},
has: function (selector) {
return this.filter(function () {
return isObject(selector) ? $.contains(this, selector) : $(this).find(selector).size();
});
},
eq: function (idx) {
return idx === -1 ? this.slice(idx) : this.slice(idx, +idx + 1);
},
first: function () {
var el = this[0];
return el && !isObject(el) ? el : $(el);
},
last: function () {
var el = this[this.length - 1];
return el && !isObject(el) ? el : $(el);
},
find: function (selector) {
var result;
var $this = this;
if (!selector)
result = $();
else if (typeof selector == 'object')
result = $(selector).filter(function () {
var node = this;
return emptyArray.some.call($this, function (parent) {
return $.contains(parent, node);
});
});
else if (this.length == 1)
result = $(zepto.qsa(this[0], selector));
else
result = this.map(function () {
return zepto.qsa(this, selector);
});
return result;
},
closest: function (selector, context) {
var node = this[0];
var collection = false;
if (typeof selector == 'object')
collection = $(selector);
while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))
node = node !== context && !isDocument(node) && node.parentNode;
return $(node);
},
parents: function (selector) {
var ancestors = [];
var nodes = this;
while (nodes.length > 0)
nodes = $.map(nodes, function (node) {
if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {
ancestors.push(node);
return node;
}
});
return filtered(ancestors, selector);
},
parent: function (selector) {
return filtered(uniq(this.pluck('parentNode')), selector);
},
children: function (selector) {
return filtered(this.map(function () {
return children(this);
}), selector);
},
contents: function () {
return this.map(function () {
return slice.call(this.childNodes);
});
},
siblings: function (selector) {
return filtered(this.map(function (i, el) {
return filter.call(children(el.parentNode), function (child) {
return child !== el;
});
}), selector);
},
empty: function () {
return this.each(function () {
this.innerHTML = '';
});
},
// `pluck` is borrowed from Prototype.js
pluck: function (property) {
return $.map(this, function (el) {
return el[property];
});
},
show: function () {
return this.each(function () {
this.style.display == "none" && (this.style.display = '');
if (getComputedStyle(this, '').getPropertyValue("display") == "none")
this.style.display = defaultDisplay(this.nodeName);
});
},
replaceWith: function (newContent) {
return this.before(newContent).remove();
},
wrap: function (structure) {
var func = isFunction(structure);
if (this[0] && !func)
var dom = $(structure).get(0);
var clone = dom.parentNode || this.length > 1;
return this.each(function (index) {
$(this).wrapAll(func ? structure.call(this, index) : clone ? dom.cloneNode(true) : dom);
});
},
wrapAll: function (structure) {
if (this[0]) {
$(this[0]).before(structure = $(structure));
var children;
// drill down to the inmost element
while ((children = structure.children()).length)
structure = children.first();
$(structure).append(this);
}
return this;
},
wrapInner: function (structure) {
var func = isFunction(structure);
return this.each(function (index) {
var self = $(this);
var contents = self.contents();
var dom = func ? structure.call(this, index) : structure;
contents.length ? contents.wrapAll(dom) : self.append(dom);
});
},
unwrap: function () {
this.parent().each(function () {
$(this).replaceWith($(this).children());
});
return this;
},
clone: function () {
return this.map(function () {
return this.cloneNode(true);
});
},
hide: function () {
return this.css("display", "none");
},
toggle: function (setting) {
return this.each(function () {
var el = $(this)
;
(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide();
});
},
prev: function (selector) {
return $(this.pluck('previousElementSibling')).filter(selector || '*');
},
next: function (selector) {
return $(this.pluck('nextElementSibling')).filter(selector || '*');
},
html: function (html) {
return 0 in arguments ? this.each(function (idx) {
var originHtml = this.innerHTML;
$(this).empty().append(funcArg(this, html, idx, originHtml));
}) : (0 in this ? this[0].innerHTML : null);
},
text: function (text) {
return 0 in arguments ? this.each(function (idx) {
var newText = funcArg(this, text, idx, this.textContent);
this.textContent = newText == null ? '' : '' + newText;
}) : (0 in this ? this[0].textContent : null);
},
attr: function (name, value) {
var result;
return (typeof name == 'string' && !(1 in arguments)) ? (!this.length || this[0].nodeType !== 1 ? undefined : (!(result = this[0].getAttribute(name)) && name in this[0]) ? this[0][name] : result) : this.each(function (idx) {
if (this.nodeType !== 1)
return;
if (isObject(name))
for (key in name)
setAttribute(this, key, name[key]);
else
setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)));
});
},
removeAttr: function (name) {
return this.each(function () {
this.nodeType === 1 && name.split(' ').forEach(function (attribute) {
setAttribute(this, attribute);
}, this);
});
},
prop: function (name, value) {
name = propMap[name] || name;
return (1 in arguments) ? this.each(function (idx) {
this[name] = funcArg(this, value, idx, this[name]);
}) : (this[0] && this[0][name]);
},
data: function (name, value) {
var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase();
var data = (1 in arguments) ? this.attr(attrName, value) : this.attr(attrName);
return data !== null ? deserializeValue(data) : undefined;
},
val: function (value) {
return 0 in arguments ? this.each(function (idx) {
this.value = funcArg(this, value, idx, this.value);
}) : (this[0] && (this[0].multiple ? $(this[0]).find('option').filter(function () {
return this.selected;
}).pluck('value') : this[0].value));
},
offset: function (coordinates) {
if (coordinates)
return this.each(function (index) {
var $this = $(this);
var coords = funcArg(this, coordinates, index, $this.offset());
var parentOffset = $this.offsetParent().offset();
var props = {
top: coords.top - parentOffset.top,
left: coords.left - parentOffset.left
};
if ($this.css('position') == 'static')
props['position'] = 'relative';
$this.css(props);
});
if (!this.length)
return null;
var obj = this[0].getBoundingClientRect();
return {
left: obj.left + window.pageXOffset,
top: obj.top + window.pageYOffset,
width: Math.round(obj.width),
height: Math.round(obj.height)
};
},
css: function (property, value) {
if (arguments.length < 2) {
var computedStyle;
var element = this[0];
if (!element)
return;
computedStyle = getComputedStyle(element, '');
if (typeof property == 'string')
return element.style[camelize(property)] || computedStyle.getPropertyValue(property);
else if (isArray(property)) {
var props = {};
$.each(property, function (_, prop) {
props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop));
});
return props;
}
}
var css = '';
if (type(property) == 'string') {
if (!value && value !== 0)
this.each(function () {
this.style.removeProperty(dasherize(property));
});
else
css = dasherize(property) + ":" + maybeAddPx(property, value);
}
else {
for (key in property)
if (!property[key] && property[key] !== 0)
this.each(function () {
this.style.removeProperty(dasherize(key));
});
else
css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';';
}
return this.each(function () {
this.style.cssText += ';' + css;
});
},
index: function (element) {
return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0]);
},
hasClass: function (name) {
if (!name)
return false;
return emptyArray.some.call(this, function (el) {
return this.test(className(el));
}, classRE(name));
},
addClass: function (name) {
if (!name)
return this;
return this.each(function (idx) {
if (!('className' in this))
return;
classList = [];
var cls = className(this);
var newName = funcArg(this, name, idx, cls);
newName.split(/\s+/g).forEach(function (klass) {
if (!$(this).hasClass(klass))
classList.push(klass);
}, this);
classList.length && className(this, cls + (cls ? " " : "") + classList.join(" "));
});
},
removeClass: function (name) {
return this.each(function (idx) {
if (!('className' in this))
return;
if (name === undefined)
return className(this, '');
classList = className(this);
funcArg(this, name, idx, classList).split(/\s+/g).forEach(function (klass) {
classList = classList.replace(classRE(klass), " ");
});
className(this, classList.trim());
});
},
toggleClass: function (name, when) {
if (!name)
return this;
return this.each(function (idx) {
var $this = $(this);
var names = funcArg(this, name, idx, className(this));
names.split(/\s+/g).forEach(function (klass) {
(when === undefined ? !$this.hasClass(klass) : when) ? $this.addClass(klass) : $this.removeClass(klass);
});
});
},
scrollTop: function (value) {
if (!this.length)
return;
var hasScrollTop = 'scrollTop' in this[0];
if (value === undefined)
return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset;
return this.each(hasScrollTop ? function () {
this.scrollTop = value;
} : function () {
this.scrollTo(this.scrollX, value);
});
},
scrollLeft: function (value) {
if (!this.length)
return;
var hasScrollLeft = 'scrollLeft' in this[0];
if (value === undefined)
return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset;
return this.each(hasScrollLeft ? function () {
this.scrollLeft = value;
} : function () {
this.scrollTo(value, this.scrollY);
});
},
position: function () {
if (!this.length)
return;
var elem = this[0];
// Get *real* offsetParent
var offsetParent = this.offsetParent();
// Get correct offsets
var offset = this.offset();
var parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? {
top: 0,
left: 0
} : offsetParent.offset();
// Subtract element margins
// note: when an element has margin: auto the offsetLeft and marginLeft
// are the same in Safari causing offset.left to incorrectly be 0
offset.top -= parseFloat($(elem).css('margin-top')) || 0;
offset.left -= parseFloat($(elem).css('margin-left')) || 0;
// Add offsetParent borders
parentOffset.top += parseFloat($(offsetParent[0]).css('border-top-width')) || 0;
parentOffset.left += parseFloat($(offsetParent[0]).css('border-left-width')) || 0;
// Subtract the two offsets
return {
top: offset.top - parentOffset.top,
left: offset.left - parentOffset.left
};
},
offsetParent: function () {
return this.map(function () {
var parent = this.offsetParent || document.body;
while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
parent = parent.offsetParent;
return parent;
});
}
};
// for now
$.fn.detach = $.fn.remove
// Generate the `width` and `height` functions
;
[
'width',
'height'
].forEach(function (dimension) {
var dimensionProperty = dimension.replace(/./, function (m) {
return m[0].toUpperCase();
});
$.fn[dimension] = function (value) {
var offset;
var el = this[0];
if (value === undefined)
return isWindow(el) ? el['inner' + dimensionProperty] : isDocument(el) ? el.documentElement['scroll' + dimensionProperty] : (offset = this.offset()) && offset[dimension];
else
return this.each(function (idx) {
el = $(this);
el.css(dimension, funcArg(this, value, idx, el[dimension]()));
});
};
});
function traverseNode(node, fun) {
fun(node);
for (var i = 0, len = node.childNodes.length; i < len; i++)
traverseNode(node.childNodes[i], fun);
}
// Generate the `after`, `prepend`, `before`, `append`,
// `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.
adjacencyOperators.forEach(function (operator, operatorIndex) {
var inside = operatorIndex % 2; // => prepend, append
$.fn[operator] = function () {
// arguments can be nodes, arrays of nodes, Zepto objects and HTML strings
var argType;
var nodes = $.map(arguments, function (arg) {
argType = type(arg);
return argType == "object" || argType == "array" || arg == null ? arg : zepto.fragment(arg);
});
var parent;
var copyByClone = this.length > 1;
if (nodes.length < 1)
return this;
return this.each(function (_, target) {
parent = inside ? target : target.parentNode;
// convert all methods to a "before" operation
target = operatorIndex == 0 ? target.nextSibling : operatorIndex == 1 ? target.firstChild : operatorIndex == 2 ? target : null;
var parentInDocument = $.contains(document.documentElement, parent);
nodes.forEach(function (node) {
if (copyByClone)
node = node.cloneNode(true);
else if (!parent)
return $(node).remove();
parent.insertBefore(node, target);
if (parentInDocument)
traverseNode(node, function (el) {
if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' && (!el.type || el.type === 'text/javascript') && !el.src)
window['eval'].call(window, el.innerHTML);
});
});
});
};
// after => insertAfter
// prepend => prependTo
// before => insertBefore
// append => appendTo
$.fn[inside ? operator + 'To' : 'insert' + (operatorIndex ? 'Before' : 'After')] = function (html) {
$(html)[operator](this);
return this;
};
});
zepto.Z.prototype = $.fn;
// Export internal API functions in the `$.zepto` namespace
zepto.uniq = uniq;
zepto.deserializeValue = deserializeValue;
$.zepto = zepto;
return $;
})();
window.Zepto = Zepto;
window.$ === undefined && (window.$ = Zepto)
;
(function ($) {
var _zid = 1;
var undefined;
var slice = Array.prototype.slice;
var isFunction = $.isFunction;
var isString = function (obj) {
return typeof obj == 'string';
};
var handlers = {};
var specialEvents = {};
var focusinSupported = 'onfocusin' in window;
var focus = {
focus: 'focusin',
blur: 'focusout'
};
var hover = {
mouseenter: 'mouseover',
mouseleave: 'mouseout'
};
specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents';
function zid(element) {
return element._zid || (element._zid = _zid++);
}
function findHandlers(element, event, fn, selector) {
event = parse(event);
if (event.ns)
var matcher = matcherFor(event.ns);
return (handlers[zid(element)] || []).filter(function (handler) {
return handler && (!event.e || handler.e == event.e) && (!event.ns || matcher.test(handler.ns)) && (!fn || zid(handler.fn) === zid(fn)) && (!selector || handler.sel == selector);
});
}
function parse(event) {
var parts = ('' + event).split('.');
return {
e: parts[0],
ns: parts.slice(1).sort().join(' ')
};
}
function matcherFor(ns) {
return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)');
}
function eventCapture(handler, captureSetting) {
return handler.del && (!focusinSupported && (handler.e in focus)) || !!captureSetting;
}
function realEvent(type) {
return hover[type] || (focusinSupported && focus[type]) || type;
}
function add(element, events, fn, data, selector, delegator, capture) {
var id = zid(element);
var set = (handlers[id] || (handlers[id] = []));
events.split(/\s/).forEach(function (event) {
if (event == 'ready')
return $(document).ready(fn);
var handler = parse(event);
handler.fn = fn;
handler.sel = selector;
// emulate mouseenter, mouseleave
if (handler.e in hover)
fn = function (e) {
var related = e.relatedTarget;
if (!related || (related !== this && !$.contains(this, related)))
return handler.fn.apply(this, arguments);
};
handler.del = delegator;
var callback = delegator || fn;
handler.proxy = function (e) {
e = compatible(e);
if (e.isImmediatePropagationStopped())
return;
e.data = data;
var result = callback.apply(element, e._args == undefined ? [
e
] : [
e
].concat(e._args));
if (result === false)
e.preventDefault(), e.stopPropagation();
return result;
};
handler.i = set.length;
set.push(handler);
if ('addEventListener' in element)
element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
}
function remove(element, events, fn, selector, capture) {
var id = zid(element)
;
(events || '').split(/\s/).forEach(function (event) {
findHandlers(element, event, fn, selector).forEach(function (handler) {
delete handlers[id][handler.i];
if ('removeEventListener' in element)
element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
});
}
$.event = {
add: add,
remove: remove
};
$.proxy = function (fn, context) {
var args = (2 in arguments) && slice.call(arguments, 2);
if (isFunction(fn)) {
var proxyFn = function () {
return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments);
};
proxyFn._zid = zid(fn);
return proxyFn;
}
else if (isString(context)) {
if (args) {
args.unshift(fn[context], fn);
return $.proxy.apply(null, args);
}
else {
return $.proxy(fn[context], fn);
}
}
else {
throw new TypeError("expected function");
}
};
$.fn.bind = function (event, data, callback) {
return this.on(event, data, callback);
};
$.fn.unbind = function (event, callback) {
return this.off(event, callback);
};
$.fn.one = function (event, selector, data, callback) {
return this.on(event, selector, data, callback, 1);
};
var returnTrue = function () {
return true;
};
var returnFalse = function () {
return false;
};
var ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$)/;
var eventMethods = {
preventDefault: 'isDefaultPrevented',
stopImmediatePropagation: 'isImmediatePropagationStopped',
stopPropagation: 'isPropagationStopped'
};
function compatible(event, source) {
if (source || !event.isDefaultPrevented) {
source || (source = event);
$.each(eventMethods, function (name, predicate) {
var sourceMethod = source[name];
event[name] = function () {
this[predicate] = returnTrue;
return sourceMethod && sourceMethod.apply(source, arguments);
};
event[predicate] = returnFalse;
});
if (source.defaultPrevented !== undefined ? source.defaultPrevented : 'returnValue' in source ? source.returnValue === false : source.getPreventDefault && source.getPreventDefault())
event.isDefaultPrevented = returnTrue;
}
return event;
}
function createProxy(event) {
var key;
var proxy = {
originalEvent: event
};
for (key in event)
if (!ignoreProperties.test(key) && event[key] !== undefined)
proxy[key] = event[key];
return compatible(proxy, event);
}
$.fn.delegate = function (selector, event, callback) {
return this.on(event, selector, callback);
};
$.fn.undelegate = function (selector, event, callback) {
return this.off(event, selector, callback);
};
$.fn.live = function (event, callback) {
$(document.body).delegate(this.selector, event, callback);
return this;
};
$.fn.die = function (event, callback) {
$(document.body).undelegate(this.selector, event, callback);
return this;
};
$.fn.on = function (event, selector, data, callback, one) {
var autoRemove;
var delegator;
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.on(type, selector, data, fn, one);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = data, data = selector, selector = undefined;
if (isFunction(data) || data === false)
callback = data, data = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function (_, element) {
if (one)
autoRemove = function (e) {
remove(element, e.type, callback);
return callback.apply(this, arguments);
};
if (selector)
delegator = function (e) {
var evt;
var match = $(e.target).closest(selector, element).get(0);
if (match && match !== element) {
evt = $.extend(createProxy(e), {
currentTarget: match,
liveFired: element
});
return (autoRemove || callback).apply(match, [
evt
].concat(slice.call(arguments, 1)));
}
};
add(element, event, callback, data, selector, delegator || autoRemove);
});
};
$.fn.off = function (event, selector, callback) {
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.off(type, selector, fn);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = selector, selector = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function () {
remove(this, event, callback, selector);
});
};
$.fn.trigger = function (event, args) {
event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event);
event._args = args;
return this.each(function () {
// handle focus(), blur() by calling them directly
if (event.type in focus && typeof this[event.type] == "function")
this[event.type]();
// items in the collection might not be DOM elements
else if ('dispatchEvent' in this)
this.dispatchEvent(event);
else
$(this).triggerHandler(event, args);
});
};
// triggers event handlers on current element just as if an event occurred,
// doesn't trigger an actual event, doesn't bubble
$.fn.triggerHandler = function (event, args) {
var e;
var result;
this.each(function (i, element) {
e = createProxy(isString(event) ? $.Event(event) : event);
e._args = args;
e.target = element;
$.each(findHandlers(element, event.type || event), function (i, handler) {
result = handler.proxy(e);
if (e.isImmediatePropagationStopped())
return false;
});
});
return result;
}
// shortcut methods for `.bind(event, fn)` for each event type
;
('focusin focusout focus blur load resize scroll unload click dblclick ' + 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave ' + 'change select keydown keypress keyup error').split(' ').forEach(function (event) {
$.fn[event] = function (callback) {
return (0 in arguments) ? this.bind(event, callback) : this.trigger(event);
};
});
$.Event = function (type, props) {
if (!isString(type))
props = type, type = props.type;
var event = document.createEvent(specialEvents[type] || 'Events');
var bubbles = true;
if (props)
for (var name in props)
(name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]);
event.initEvent(type, bubbles, true);
return compatible(event);
};
})(Zepto)
;
(function ($) {
var jsonpID = 0;
var document = window.document;
var key;
var name;
var rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;
var scriptTypeRE = /^(?:text|application)\/javascript/i;
var xmlTypeRE = /^(?:text|application)\/xml/i;
var jsonType = 'application/json';
var htmlType = 'text/html';
var blankRE = /^\s*$/;
var originAnchor = document.createElement('a');
originAnchor.href = window.location.href;
// trigger a custom event and return false if it was cancelled
function triggerAndReturn(context, eventName, data) {
var event = $.Event(eventName);
$(context).trigger(event, data);
return !event.isDefaultPrevented();
}
// trigger an Ajax "global" event
function triggerGlobal(settings, context, eventName, data) {
if (settings.global)
return triggerAndReturn(context || document, eventName, data);
}
// Number of active Ajax requests
$.active = 0;
function ajaxStart(settings) {
if (settings.global && $.active++ === 0)
triggerGlobal(settings, null, 'ajaxStart');
}
function ajaxStop(settings) {
if (settings.global && !(--$.active))
triggerGlobal(settings, null, 'ajaxStop');
}
// triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable
function ajaxBeforeSend(xhr, settings) {
var context = settings.context;
if (settings.beforeSend.call(context, xhr, settings) === false || triggerGlobal(settings, context, 'ajaxBeforeSend', [
xhr,
settings
]) === false)
return false;
triggerGlobal(settings, context, 'ajaxSend', [
xhr,
settings
]);
}
function ajaxSuccess(data, xhr, settings, deferred) {
var context = settings.context;
var status = 'success';
settings.success.call(context, data, status, xhr);
if (deferred)
deferred.resolveWith(context, [
data,
status,
xhr
]);
triggerGlobal(settings, context, 'ajaxSuccess', [
xhr,
settings,
data
]);
ajaxComplete(status, xhr, settings);
}
// type: "timeout", "error", "abort", "parsererror"
function ajaxError(error, type, xhr, settings, deferred) {
var context = settings.context;
settings.error.call(context, xhr, type, error);
if (deferred)
deferred.rejectWith(context, [
xhr,
type,
error
]);
triggerGlobal(settings, context, 'ajaxError', [
xhr,
settings,
error || type
]);
ajaxComplete(type, xhr, settings);
}
// status: "success", "notmodified", "error", "timeout", "abort", "parsererror"
function ajaxComplete(status, xhr, settings) {
var context = settings.context;
settings.complete.call(context, xhr, status);
triggerGlobal(settings, context, 'ajaxComplete', [
xhr,
settings
]);
ajaxStop(settings);
}
// Empty function, used as default callback
function empty() {
}
$.ajaxJSONP = function (options, deferred) {
if (!('type' in options))
return $.ajax(options);
var _callbackName = options.jsonpCallback;
var callbackName = ($.isFunction(_callbackName) ? _callbackName() : _callbackName) || ('jsonp' + (++jsonpID));
var script = document.createElement('script');
var originalCallback = window[callbackName];
var responseData;
var abort = function (errorType) {
$(script).triggerHandler('error', errorType || 'abort');
};
var xhr = {
abort: abort
};
var abortTimeout;
if (deferred)
deferred.promise(xhr);
$(script).on('load error', function (e, errorType) {
clearTimeout(abortTimeout);
$(script).off().remove();
if (e.type == 'error' || !responseData) {
ajaxError(null, errorType || 'error', xhr, options, deferred);
}
else {
ajaxSuccess(responseData[0], xhr, options, deferred);
}
window[callbackName] = originalCallback;
if (responseData && $.isFunction(originalCallback))
originalCallback(responseData[0]);
originalCallback = responseData = undefined;
});
if (ajaxBeforeSend(xhr, options) === false) {
abort('abort');
return xhr;
}
window[callbackName] = function () {
responseData = arguments;
};
script.src = options.url.replace(/\?(.+)=\?/, '?$1=' + callbackName);
document.head.appendChild(script);
if (options.timeout > 0)
abortTimeout = setTimeout(function () {
abort('timeout');
}, options.timeout);
return xhr;
};
$.ajaxSettings = {
// Default type of request
type: 'GET',
// Callback that is executed before request
beforeSend: empty,
// Callback that is executed if the request succeeds
success: empty,
// Callback that is executed the the server drops error
error: empty,
// Callback that is executed on request complete (both: error and success)
complete: empty,
// The context for the callbacks
context: null,
// Whether to trigger "global" Ajax events
global: true,
// Transport
xhr: function () {
return new window.XMLHttpRequest();
},
// MIME types mapping
// IIS returns Javascript as "application/x-javascript"
accepts: {
script: 'text/javascript, application/javascript, application/x-javascript',
json: jsonType,
xml: 'application/xml, text/xml',
html: htmlType,
text: 'text/plain'
},
// Whether the request is to another domain
crossDomain: false,
// Default timeout
timeout: 0,
// Whether data should be serialized to string
processData: true,
// Whether the browser should be allowed to cache GET responses
cache: true
};
function mimeToDataType(mime) {
if (mime)
mime = mime.split(';', 2)[0];
return mime && (mime == htmlType ? 'html' : mime == jsonType ? 'json' : scriptTypeRE.test(mime) ? 'script' : xmlTypeRE.test(mime) && 'xml') || 'text';
}
function appendQuery(url, query) {
if (query == '')
return url;
return (url + '&' + query).replace(/[&?]{1,2}/, '?');
}
// serialize payload and append it to the URL for GET requests
function serializeData(options) {
if (options.processData && options.data && $.type(options.data) != "string")
options.data = $.param(options.data, options.traditional);
if (options.data && (!options.type || options.type.toUpperCase() == 'GET'))
options.url = appendQuery(options.url, options.data), options.data = undefined;
}
$.ajax = function (options) {
var settings = $.extend({}, options || {});
var deferred = $.Deferred && $.Deferred();
var urlAnchor;
for (key in $.ajaxSettings)
if (settings[key] === undefined)
settings[key] = $.ajaxSettings[key];
ajaxStart(settings);
if (!settings.crossDomain) {
urlAnchor = document.createElement('a');
urlAnchor.href = settings.url;
urlAnchor.href = urlAnchor.href;
settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host);
}
if (!settings.url)
settings.url = window.location.toString();
serializeData(settings);
var dataType = settings.dataType;
var hasPlaceholder = /\?.+=\?/.test(settings.url);
if (hasPlaceholder)
dataType = 'jsonp';
if (settings.cache === false || ((!options || options.cache !== true) && ('script' == dataType || 'jsonp' == dataType)))
settings.url = appendQuery(settings.url, '_=' + Date.now());
if ('jsonp' == dataType) {
if (!hasPlaceholder)
settings.url = appendQuery(settings.url, settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?');
return $.ajaxJSONP(settings, deferred);
}
var mime = settings.accepts[dataType];
var headers = {};
var setHeader = function (name, value) {
headers[name.toLowerCase()] = [
name,
value
];
};
var protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol;
var xhr = settings.xhr();
var nativeSetHeader = xhr.setRequestHeader;
var abortTimeout;
if (deferred)
deferred.promise(xhr);
if (!settings.crossDomain)
setHeader('X-Requested-With', 'XMLHttpRequest');
setHeader('Accept', mime || '*/*');
if (mime = settings.mimeType || mime) {
if (mime.indexOf(',') > -1)
mime = mime.split(',', 2)[0];
xhr.overrideMimeType && xhr.overrideMimeType(mime);
}
if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))
setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded');
if (settings.headers)
for (name in settings.headers)
setHeader(name, settings.headers[name]);
xhr.setRequestHeader = setHeader;
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
xhr.onreadystatechange = empty;
clearTimeout(abortTimeout);
var result;
var error = false;
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'));
result = xhr.responseText;
try {
// path_to_url
if (dataType == 'script')
(1, eval)(result);
else if (dataType == 'xml')
result = xhr.responseXML;
else if (dataType == 'json')
result = blankRE.test(result) ? null : $.parseJSON(result);
}
catch (e) {
error = e;
}
if (error)
ajaxError(error, 'parsererror', xhr, settings, deferred);
else
ajaxSuccess(result, xhr, settings, deferred);
}
else {
ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred);
}
}
};
if (ajaxBeforeSend(xhr, settings) === false) {
xhr.abort();
ajaxError(null, 'abort', xhr, settings, deferred);
return xhr;
}
if (settings.xhrFields)
for (name in settings.xhrFields)
xhr[name] = settings.xhrFields[name];
var async = 'async' in settings ? settings.async : true;
xhr.open(settings.type, settings.url, async, settings.username, settings.password);
for (name in headers)
nativeSetHeader.apply(xhr, headers[name]);
if (settings.timeout > 0)
abortTimeout = setTimeout(function () {
xhr.onreadystatechange = empty;
xhr.abort();
ajaxError(null, 'timeout', xhr, settings, deferred);
}, settings.timeout);
// avoid sending empty string (#319)
xhr.send(settings.data ? settings.data : null);
return xhr;
};
// handle optional data/success arguments
function parseArguments(url, data, success, dataType) {
if ($.isFunction(data))
dataType = success, success = data, data = undefined;
if (!$.isFunction(success))
dataType = success, success = undefined;
return {
url: url,
data: data,
success: success,
dataType: dataType
};
}
$.get = function (
/* url, data, success, dataType */ ) {
return $.ajax(parseArguments.apply(null, arguments));
};
$.post = function (
/* url, data, success, dataType */ ) {
var options = parseArguments.apply(null, arguments);
options.type = 'POST';
return $.ajax(options);
};
$.getJSON = function (
/* url, data, success */ ) {
var options = parseArguments.apply(null, arguments);
options.dataType = 'json';
return $.ajax(options);
};
$.fn.load = function (url, data, success) {
if (!this.length)
return this;
var self = this;
var parts = url.split(/\s/);
var selector;
var options = parseArguments(url, data, success);
var callback = options.success;
if (parts.length > 1)
options.url = parts[0], selector = parts[1];
options.success = function (response) {
self.html(selector ? $('<div>').html(response.replace(rscript, "")).find(selector) : response);
callback && callback.apply(self, arguments);
};
$.ajax(options);
return this;
};
var escape = encodeURIComponent;
function serialize(params, obj, traditional, scope) {
var type;
var array = $.isArray(obj);
var hash = $.isPlainObject(obj);
$.each(obj, function (key, value) {
type = $.type(value);
if (scope)
key = traditional ? scope : scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']';
// handle data in serializeArray() format
if (!scope && array)
params.add(value.name, value.value);
// recurse into nested objects
else if (type == "array" || (!traditional && type == "object"))
serialize(params, value, traditional, key);
else
params.add(key, value);
});
}
$.param = function (obj, traditional) {
var params = [];
params.add = function (key, value) {
if ($.isFunction(value))
value = value();
if (value == null)
value = "";
this.push(escape(key) + '=' + escape(value));
};
serialize(params, obj, traditional);
return params.join('&').replace(/%20/g, '+');
};
})(Zepto)
;
(function ($) {
$.fn.serializeArray = function () {
var name;
var type;
var result = [];
var add = function (value) {
if (value.forEach)
return value.forEach(add);
result.push({
name: name,
value: value
});
};
if (this[0])
$.each(this[0].elements, function (_, field) {
type = field.type, name = field.name;
if (name && field.nodeName.toLowerCase() != 'fieldset' && !field.disabled && type != 'submit' && type != 'reset' && type != 'button' && type != 'file' && ((type != 'radio' && type != 'checkbox') || field.checked))
add($(field).val());
});
return result;
};
$.fn.serialize = function () {
var result = [];
this.serializeArray().forEach(function (elm) {
result.push(encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value));
});
return result.join('&');
};
$.fn.submit = function (callback) {
if (0 in arguments)
this.bind('submit', callback);
else if (this.length) {
var event = $.Event('submit');
this.eq(0).trigger(event);
if (!event.isDefaultPrevented())
this.get(0).submit();
}
return this;
};
})(Zepto)
;
(function ($) {
// __proto__ doesn't exist on IE<11, so redefine
// the Z function to use object extension instead
if (!('__proto__' in {})) {
$.extend($.zepto, {
Z: function (dom, selector) {
dom = dom || [];
$.extend(dom, $.fn);
dom.selector = selector || '';
dom.__Z = true;
return dom;
},
// this is a kludge but works
isZ: function (object) {
return $.type(object) === 'array' && '__Z' in object;
}
});
}
// getComputedStyle shouldn't freak out when called
// without a valid element as argument
try {
getComputedStyle(undefined);
}
catch (e) {
var nativeGetComputedStyle = getComputedStyle;
window.getComputedStyle = function (element) {
try {
return nativeGetComputedStyle(element);
}
catch (e) {
return null;
}
};
}
})(Zepto);
```
|
/content/code_sandbox/demo/six/zepto.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 14,120
|
```html
<!DOCTYPE html>
<head>
<title>rem-bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,target-densitydpi=device-dpi">
<script src="adaptive.js"></script>
<script>
window['adaptive'].desinWidth = 750;
window['adaptive'].baseFont = 28;
window['adaptive'].init();
</script>
<link rel="stylesheet" href="iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id" id="bankId" value="">
<span id="showBank"></span>
</div>
</div>
</body>
<script src="bank.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var showBankDom = document.querySelector('#showBank');
var bankIdDom = document.querySelector('#bankId');
showBankDom.addEventListener('click', function () {
var bankId = showBankDom.dataset['id'];
var bankName = showBankDom.dataset['value'];
var bankSelect = new IosSelect(1,
[data],
{
title: '',
oneLevelId: bankId,
itemHeight: 0.7,
headerHeight: 0.88,
itemShowCount: 3,
cssUnit: 'rem',
callback: function (selectOneObj) {
bankIdDom.value = selectOneObj.id;
showBankDom.innerHTML = selectOneObj.value;
showBankDom.dataset['id'] = selectOneObj.id;
showBankDom.dataset['value'] = selectOneObj.value;
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/rem/bank.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 516
|
```javascript
var data = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', 'value': ''},
{'id': '10010', 'value': ''},
{'id': '10011', 'value': ''},
{'id': '10012', 'value': ''},
{'id': '10013', 'value': ''},
{'id': '10014', 'value': ''},
{'id': '10015', 'value': ''},
{'id': '10016', 'value': ''}
];
```
|
/content/code_sandbox/demo/one/bank.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 213
|
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id" id="bankId" value="">
<span id="showBank"></span>
</div>
</div>
<div class="container"></div>
</body>
<script src="html.js"></script>
<script src="../../src/iosSelect.js"></script>
<!-- <script src="../../src/iosSelect.js"></script> -->
<script type="text/javascript">
var showBankDom = document.querySelector('#showBank');
var bankIdDom = document.querySelector('#bankId');
showBankDom.addEventListener('click', function () {
var bankId = showBankDom.dataset['id'];
var bankName = showBankDom.dataset['value'];
var bankSelect = new IosSelect(1,
[data],
{
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function (selectOneObj) {
bankIdDom.value = selectOneObj.id;
showBankDom.innerHTML = selectOneObj.value;
showBankDom.dataset['id'] = selectOneObj.id;
showBankDom.dataset['value'] = selectOneObj.value;
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/one/html.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 471
|
```css
div, ul, li {
margin: 0;
padding: 0;
}
ul, li {
list-style: none outside none;
}
/* layer begin */
.ios-select-widget-box.olay {
position: absolute;
z-index: 500;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.75);
}
.ios-select-widget-box.olay > div {
position: fixed;
z-index: 1000;
left: 0;
width: 100%;
height: 100%;
background-color: #f2f2f2;
bottom: 0;
left: 0;
}
.ios-select-widget-box header.iosselect-header {
height: .88rem;
line-height: .88rem;
background-color: #eee;
width: 100%;
z-index: 9999;
text-align: center;
}
.ios-select-widget-box header.iosselect-header a {
font-size: .32rem;
color: #e94643;
text-decoration: none;
}
.ios-select-widget-box header.iosselect-header a.close {
float: left;
padding-left: .3rem;
height: .88rem;
line-height: .88rem;
}
.ios-select-widget-box header.iosselect-header a.sure {
float: right;
padding-right: .3rem;
height: .88rem;
line-height: .88rem;
}
.ios-select-widget-box {
padding-top: .88rem;
}
.ios-select-widget-box .one-level-contain,
.ios-select-widget-box .two-level-contain,
.ios-select-widget-box .three-level-contain {
height: 100%;
overflow: hidden;
}
.ios-select-widget-box .iosselect-box {
overflow: hidden;
}
.ios-select-widget-box .iosselect-box > div {
display: block;
float: left;
}
.ios-select-widget-box ul {
background-color: #fff;
}
.ios-select-widget-box ul li {
font-size: .26rem;
height: .7rem;
line-height: .7rem;
background-color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
color: #111;
opacity: .3;
}
.ios-select-widget-box ul li.at {
font-size: .32rem;
opacity: 1;
}
.ios-select-widget-box ul li.side1 {
font-size: .3rem;
opacity: .7;
}
.ios-select-widget-box ul li.side2 {
font-size: .28rem;
opacity: .5;
}
.ios-select-widget-box.one-level-box .one-level-contain {
width: 100%;
}
.ios-select-widget-box.one-level-box .two-level-contain,
.ios-select-widget-box.one-level-box .three-level-contain,
.ios-select-widget-box.one-level-box .four-level-contain,
.ios-select-widget-box.one-level-box .five-level-contain,
.ios-select-widget-box.one-level-box .six-level-contain {
width: 0;
}
.ios-select-widget-box.two-level-box .one-level-contain,
.ios-select-widget-box.two-level-box .two-level-contain {
width: 50%;
}
.ios-select-widget-box.two-level-box .three-level-contain,
.ios-select-widget-box.two-level-box .four-level-contain,
.ios-select-widget-box.two-level-box .five-level-contain,
.ios-select-widget-box.two-level-box .six-level-contain {
width: 0;
}
.ios-select-widget-box.three-level-box .one-level-contain,
.ios-select-widget-box.three-level-box .two-level-contain {
width: 30%;
}
.ios-select-widget-box.three-level-box .three-level-contain {
width: 40%;
}
.ios-select-widget-box.three-level-box .four-level-contain
.ios-select-widget-box.three-level-box .five-level-contain,
.ios-select-widget-box.three-level-box .six-level-contain {
width: 0%;
}
.ios-select-widget-box.four-level-box .one-level-contain,
.ios-select-widget-box.four-level-box .two-level-contain,
.ios-select-widget-box.four-level-box .three-level-contain,
.ios-select-widget-box.four-level-box .four-level-contain {
width: 25%;
}
.ios-select-widget-box.four-level-box .five-level-contain,
.ios-select-widget-box.four-level-box .six-level-contain {
width: 0%;
}
.ios-select-widget-box.five-level-box .one-level-contain,
.ios-select-widget-box.five-level-box .two-level-contain,
.ios-select-widget-box.five-level-box .three-level-contain,
.ios-select-widget-box.five-level-box .four-level-contain,
.ios-select-widget-box.five-level-box .five-level-contain {
width: 20%;
}
.ios-select-widget-box.five-level-box .six-level-contain {
width: 0%;
}
.ios-select-widget-box .cover-area1 {
width: 100%;
border: none;
border-top: 1px solid #d9d9d9;
position: absolute;
top: 2.98rem;
margin: 0;
height: 0;
}
.ios-select-widget-box .cover-area2 {
width: 100%;
border: none;
border-top: 1px solid #d9d9d9;
position: absolute;
top: 3.66rem;
margin: 0;
height: 0;
}
.ios-select-widget-box #iosSelectTitle {
margin: 0;
padding: 0;
display: inline-block;
font-size: .32rem;
font-weight: normal;
color: #333;
}
```
|
/content/code_sandbox/demo/rem/iosSelect.css
|
css
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 1,242
|
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id" id="bankId" value="">
<span id="showBank"></span>
</div>
</div>
<div class="container"></div>
</body>
<script src="bank.js"></script>
<script src="../../src/iosSelect.js"></script>
<!-- <script src="../../src/iosSelect.js"></script> -->
<script type="text/javascript">
var showBankDom = document.querySelector('#showBank');
var bankIdDom = document.querySelector('#bankId');
var bankSelect;
showBankDom.addEventListener('click', function () {
var bankId = showBankDom.dataset['id'];
var bankName = showBankDom.dataset['value'];
bankSelect = new IosSelect(1,
[data],
{
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function (selectOneObj) {
bankIdDom.value = selectOneObj.id;
showBankDom.innerHTML = selectOneObj.value;
showBankDom.dataset['id'] = selectOneObj.id;
showBankDom.dataset['value'] = selectOneObj.value;
},
fallback: function (e) {
console.log(e);
},
maskCallback: function (e) {
console.log(e);
}
}
);
});
window.addEventListener('IosSelectCreated', function(e) {
console.log(e);
setTimeout(function() {
if (!bankSelect) {
return;
}
bankSelect.close();
}, 10000);
});
window.addEventListener('IosSelectDestroyed', function(e) {
console.log(e);
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/one/bank.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 577
|
```javascript
var data = [
{'id': '10001', 'value': '<b></b><i>ICBC</i>'},
{'id': '10002', 'value': '<b></b><i>ABC</i>'},
];
```
|
/content/code_sandbox/demo/one/html.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 53
|
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id" id="bankId" value="">
<span id="showBank"></span>
</div>
</div>
<div class="container"></div>
</body>
<script src="bank.js"></script>
<script src="../../src/iosSelect.js"></script>
<!-- <script src="../../src/iosSelect.js"></script> -->
<script type="text/javascript">
var showBankDom = document.querySelector('#showBank');
var bankIdDom = document.querySelector('#bankId');
showBankDom.addEventListener('click', function () {
var bankId = showBankDom.dataset['id'];
var bankName = showBankDom.dataset['value'];
var bankSelect = new IosSelect(1,
[data],
{
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
showAnimate:true,
callback: function (selectOneObj) {
bankIdDom.value = selectOneObj.id;
showBankDom.innerHTML = selectOneObj.value;
showBankDom.dataset['id'] = selectOneObj.id;
showBankDom.dataset['value'] = selectOneObj.value;
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/one/animate.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 476
|
```html
<!DOCTYPE html>
<head>
<title>bank</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<!-- -->
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id">
<span class="showBank"></span>
</div>
</div>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id">
<span class="showBank"></span>
</div>
</div>
<!-- -->
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id">
<span class="showParent"></span>
</div>
</div>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="bank_id">
<span class="showChild"></span>
</div>
</div>
<div class="container"></div>
</body>
<script src="bank.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
//
var showBankDom = document.querySelectorAll('.showBank');
for (var i = 0; i < showBankDom.length; i++) {
showBankDom[i].addEventListener('click', function(e) {
var bankId = e.target.dataset['id'];
var bankIdDom = e.target.previousElementSibling;
var bankSelect = new IosSelect(1, [data], {
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function(selectOneObj) {
bankIdDom.value = selectOneObj.id;
e.target.innerHTML = selectOneObj.value;
e.target.dataset['id'] = selectOneObj.id;
//
var event = document.createEvent("MouseEvents");
event.initEvent("click", true, true);
branchDom.dispatchEvent(event);
}
});
});
}
var bankChild = [
{ 'parendtId': '10001', 'value': '', 'id': '1000101' },
{ 'parendtId': '10001', 'value': '', 'id': '1000102' },
{ 'parendtId': '10002', 'value': '', 'id': '1000201' },
{ 'parendtId': '10003', 'value': '', 'id': '1000301' },
{ 'parendtId': '10004', 'value': '', 'id': '1000401' },
{ 'parendtId': '10005', 'value': '', 'id': '1000501' },
{ 'parendtId': '10006', 'value': '', 'id': '1000601' },
{ 'parendtId': '10007', 'value': '', 'id': '1000701' },
{ 'parendtId': '10008', 'value': '', 'id': '1000801' },
{ 'parendtId': '10009', 'value': '', 'id': '1000901' },
{ 'parendtId': '10010', 'value': '', 'id': '1001001' },
{ 'parendtId': '10011', 'value': '', 'id': '1001101' },
{ 'parendtId': '10012', 'value': '', 'id': '1001201' },
{ 'parendtId': '10013', 'value': '', 'id': '1001301' },
{ 'parendtId': '10014', 'value': '', 'id': '1001401' },
{ 'parendtId': '10015', 'value': '', 'id': '1001501' },
{ 'parendtId': '10016', 'value': '', 'id': '1001601' }
];
var showParentDom = document.querySelector('.showParent');
var showChildDom = document.querySelector('.showChild');
var getBranch = function(callback) {
var oneLevelId = showParentDom.dataset['id'];
var data = [];
for (var i = 0; i < bankChild.length; i++) {
if (bankChild[i].parendtId == oneLevelId) {
data.push(bankChild[i]);
}
}
callback(data);
}
showParentDom.addEventListener('click', function(e) {
var bankId = e.target.dataset['id'];
var bankIdDom = e.target.previousElementSibling;
var bankSelect = new IosSelect(1, [data], {
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function(selectOneObj) {
bankIdDom.value = selectOneObj.id;
e.target.innerHTML = selectOneObj.value;
e.target.dataset['id'] = selectOneObj.id;
//
var event = document.createEvent("MouseEvents");
event.initEvent("click", true, true);
showChildDom.dispatchEvent(event);
}
});
});
showChildDom.addEventListener('click', function(e) {
var oneLevelId = showParentDom.dataset['id'];
if (/^\d+$/.test(oneLevelId) === false) {
//
var event = document.createEvent("MouseEvents");
event.initEvent("click", true, true);
showParentDom.dispatchEvent(event);
e.preventDefault();
return;
}
var bankId = e.target.dataset['id'];
var bankIdDom = e.target.previousElementSibling;
var bankSelect = new IosSelect(1, [getBranch], {
container: '.container',
title: '',
itemHeight: 50,
itemShowCount: 3,
oneLevelId: bankId,
callback: function(selectOneObj) {
bankIdDom.value = selectOneObj.id;
e.target.innerHTML = selectOneObj.value;
e.target.dataset['id'] = selectOneObj.id;
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/one/multi.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 1,532
|
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDisplay = {};
var classCache = {};
var cssNumber = {
'column-count': 1,
'columns': 1,
'font-weight': 1,
'line-height': 1,
'opacity': 1,
'z-index': 1,
'zoom': 1
};
var fragmentRE = /^\s*<(\w+|!)[^>]*>/;
var singleTagRE = /^<(\w+)\s*\/?>(?:<\/\1>|)$/;
var tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig;
var rootNodeRE = /^(?:body|html)$/i;
var capitalRE = /([A-Z])/g;
// special attributes that should be get/set via method calls
var methodAttributes = [
'val',
'css',
'html',
'text',
'data',
'width',
'height',
'offset'
];
var adjacencyOperators = [
'after',
'prepend',
'before',
'append'
];
var table = document.createElement('table');
var tableRow = document.createElement('tr');
var containers = {
'tr': document.createElement('tbody'),
'tbody': table,
'thead': table,
'tfoot': table,
'td': tableRow,
'th': tableRow,
'*': document.createElement('div')
};
var readyRE = /complete|loaded|interactive/;
var simpleSelectorRE = /^[\w-]*$/;
var class2type = {};
var toString = class2type.toString;
var zepto = {};
var camelize;
var uniq;
var tempParent = document.createElement('div');
var propMap = {
'tabindex': 'tabIndex',
'readonly': 'readOnly',
'for': 'htmlFor',
'class': 'className',
'maxlength': 'maxLength',
'cellspacing': 'cellSpacing',
'cellpadding': 'cellPadding',
'rowspan': 'rowSpan',
'colspan': 'colSpan',
'usemap': 'useMap',
'frameborder': 'frameBorder',
'contenteditable': 'contentEditable'
};
var isArray = Array.isArray || function (object) {
return object instanceof Array;
};
zepto.matches = function (element, selector) {
if (!selector || !element || element.nodeType !== 1)
return false;
var matchesSelector = element.webkitMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.matchesSelector;
if (matchesSelector)
return matchesSelector.call(element, selector);
// fall back to performing a selector:
var match;
var parent = element.parentNode;
var temp = !parent;
if (temp)
(parent = tempParent).appendChild(element);
match = ~zepto.qsa(parent, selector).indexOf(element);
temp && tempParent.removeChild(element);
return match;
};
function type(obj) {
return obj == null ? String(obj) : class2type[toString.call(obj)] || "object";
}
function isFunction(value) {
return type(value) == "function";
}
function isWindow(obj) {
return obj != null && obj == obj.window;
}
function isDocument(obj) {
return obj != null && obj.nodeType == obj.DOCUMENT_NODE;
}
function isObject(obj) {
return type(obj) == "object";
}
function isPlainObject(obj) {
return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype;
}
function likeArray(obj) {
return typeof obj.length == 'number';
}
function compact(array) {
return filter.call(array, function (item) {
return item != null;
});
}
function flatten(array) {
return array.length > 0 ? $.fn.concat.apply([], array) : array;
}
camelize = function (str) {
return str.replace(/-+(.)?/g, function (match, chr) {
return chr ? chr.toUpperCase() : '';
});
};
function dasherize(str) {
return str.replace(/::/g, '/').replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2').replace(/([a-z\d])([A-Z])/g, '$1_$2').replace(/_/g, '-').toLowerCase();
}
uniq = function (array) {
return filter.call(array, function (item, idx) {
return array.indexOf(item) == idx;
});
};
function classRE(name) {
return name in classCache ? classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)'));
}
function maybeAddPx(name, value) {
return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value;
}
function defaultDisplay(nodeName) {
var element;
var display;
if (!elementDisplay[nodeName]) {
element = document.createElement(nodeName);
document.body.appendChild(element);
display = getComputedStyle(element, '').getPropertyValue("display");
element.parentNode.removeChild(element);
display == "none" && (display = "block");
elementDisplay[nodeName] = display;
}
return elementDisplay[nodeName];
}
function children(element) {
return 'children' in element ? slice.call(element.children) : $.map(element.childNodes, function (node) {
if (node.nodeType == 1)
return node;
});
}
// `$.zepto.fragment` takes a html string and an optional tag name
// to generate DOM nodes nodes from the given html string.
// The generated DOM nodes are returned as an array.
// This function can be overriden in plugins for example to make
// it compatible with browsers that don't support the DOM fully.
zepto.fragment = function (html, name, properties) {
var dom;
var nodes;
var container;
// A special case optimization for a single tag
if (singleTagRE.test(html))
dom = $(document.createElement(RegExp.$1));
if (!dom) {
if (html.replace)
html = html.replace(tagExpanderRE, "<$1></$2>");
if (name === undefined)
name = fragmentRE.test(html) && RegExp.$1;
if (!(name in containers))
name = '*';
container = containers[name];
container.innerHTML = '' + html;
dom = $.each(slice.call(container.childNodes), function () {
container.removeChild(this);
});
}
if (isPlainObject(properties)) {
nodes = $(dom);
$.each(properties, function (key, value) {
if (methodAttributes.indexOf(key) > -1)
nodes[key](value);
else
nodes.attr(key, value);
});
}
return dom;
};
// `$.zepto.Z` swaps out the prototype of the given `dom` array
// of nodes with `$.fn` and thus supplying all the Zepto functions
// to the array. Note that `__proto__` is not supported on Internet
// Explorer. This method can be overriden in plugins.
zepto.Z = function (dom, selector) {
dom = dom || [];
dom.__proto__ = $.fn;
dom.selector = selector || '';
return dom;
};
// `$.zepto.isZ` should return `true` if the given object is a Zepto
// collection. This method can be overriden in plugins.
zepto.isZ = function (object) {
return object instanceof zepto.Z;
};
// `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
// takes a CSS selector and an optional context (and handles various
// special cases).
// This method can be overriden in plugins.
zepto.init = function (selector, context) {
var dom;
// If nothing given, return an empty Zepto collection
if (!selector)
return zepto.Z();
// Optimize for string selectors
else if (typeof selector == 'string') {
selector = selector.trim();
// If it's a html fragment, create nodes from it
// Note: In both Chrome 21 and Firefox 15, DOM error 12
// is thrown if the fragment doesn't begin with <
if (selector[0] == '<' && fragmentRE.test(selector))
dom = zepto.fragment(selector, RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// If it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// If a function is given, call it when the DOM is ready
else if (isFunction(selector))
return $(document).ready(selector);
// If a Zepto collection is given, just return it
else if (zepto.isZ(selector))
return selector;
else {
// normalize array if an array of nodes is given
if (isArray(selector))
dom = compact(selector);
// Wrap DOM nodes.
else if (isObject(selector))
dom = [
selector
], selector = null;
// If it's a html fragment, create nodes from it
else if (fragmentRE.test(selector))
dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// And last but no least, if it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// create a new Zepto collection from the nodes found
return zepto.Z(dom, selector);
};
// `$` will be the base `Zepto` object. When calling this
// function just call `$.zepto.init, which makes the implementation
// details of selecting nodes and creating Zepto collections
// patchable in plugins.
$ = function (selector, context) {
return zepto.init(selector, context);
};
function extend(target, source, deep) {
for (key in source)
if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {
if (isPlainObject(source[key]) && !isPlainObject(target[key]))
target[key] = {};
if (isArray(source[key]) && !isArray(target[key]))
target[key] = [];
extend(target[key], source[key], deep);
}
else if (source[key] !== undefined)
target[key] = source[key];
}
// Copy all but undefined properties from one or more
// objects to the `target` object.
$.extend = function (target) {
var deep;
var args = slice.call(arguments, 1);
if (typeof target == 'boolean') {
deep = target;
target = args.shift();
}
args.forEach(function (arg) {
extend(target, arg, deep);
});
return target;
};
// `$.zepto.qsa` is Zepto's CSS selector implementation which
// uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
// This method can be overriden in plugins.
zepto.qsa = function (element, selector) {
var found;
var maybeID = selector[0] == '#';
var maybeClass = !maybeID && selector[0] == '.';
var nameOnly = maybeID || maybeClass ? selector.slice(1) : selector; // Ensure that a 1 char tag name still gets checked
var isSimple = simpleSelectorRE.test(nameOnly);
return (isDocument(element) && isSimple && maybeID) ? ((found = element.getElementById(nameOnly)) ? [
found
] : []) : (element.nodeType !== 1 && element.nodeType !== 9) ? [] : slice.call(isSimple && !maybeID ? maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
element.getElementsByTagName(selector) : // Or a tag
element.querySelectorAll(selector) // Or it's not simple, and we need to query all
);
};
function filtered(nodes, selector) {
return selector == null ? $(nodes) : $(nodes).filter(selector);
}
$.contains = document.documentElement.contains ? function (parent, node) {
return parent !== node && parent.contains(node);
} : function (parent, node) {
while (node && (node = node.parentNode))
if (node === parent)
return true;
return false;
};
function funcArg(context, arg, idx, payload) {
return isFunction(arg) ? arg.call(context, idx, payload) : arg;
}
function setAttribute(node, name, value) {
value == null ? node.removeAttribute(name) : node.setAttribute(name, value);
}
// access className property while respecting SVGAnimatedString
function className(node, value) {
var klass = node.className || '';
var svg = klass && klass.baseVal !== undefined;
if (value === undefined)
return svg ? klass.baseVal : klass;
svg ? (klass.baseVal = value) : (node.className = value);
}
// "true" => true
// "false" => false
// "null" => null
// "42" => 42
// "42.5" => 42.5
// "08" => "08"
// JSON => parse if valid
// String => self
function deserializeValue(value) {
try {
return value ? value == "true" || (value == "false" ? false : value == "null" ? null : +value + "" == value ? +value : /^[\[\{]/.test(value) ? $.parseJSON(value) : value) : value;
}
catch (e) {
return value;
}
}
$.type = type;
$.isFunction = isFunction;
$.isWindow = isWindow;
$.isArray = isArray;
$.isPlainObject = isPlainObject;
$.isEmptyObject = function (obj) {
var name;
for (name in obj)
return false;
return true;
};
$.inArray = function (elem, array, i) {
return emptyArray.indexOf.call(array, elem, i);
};
$.camelCase = camelize;
$.trim = function (str) {
return str == null ? "" : String.prototype.trim.call(str);
};
// plugin compatibility
$.uuid = 0;
$.support = {};
$.expr = {};
$.map = function (elements, callback) {
var value;
var values = [];
var i;
var key;
if (likeArray(elements))
for (i = 0; i < elements.length; i++) {
value = callback(elements[i], i);
if (value != null)
values.push(value);
}
else
for (key in elements) {
value = callback(elements[key], key);
if (value != null)
values.push(value);
}
return flatten(values);
};
$.each = function (elements, callback) {
var i;
var key;
if (likeArray(elements)) {
for (i = 0; i < elements.length; i++)
if (callback.call(elements[i], i, elements[i]) === false)
return elements;
}
else {
for (key in elements)
if (callback.call(elements[key], key, elements[key]) === false)
return elements;
}
return elements;
};
$.grep = function (elements, callback) {
return filter.call(elements, callback);
};
if (window.JSON)
$.parseJSON = JSON.parse;
// Populate the class2type map
$.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
class2type["[object " + name + "]"] = name.toLowerCase();
});
// Define methods that will be available on all
// Zepto collections
$.fn = {
// Because a collection acts like an array
// copy over these useful array functions.
forEach: emptyArray.forEach,
reduce: emptyArray.reduce,
push: emptyArray.push,
sort: emptyArray.sort,
indexOf: emptyArray.indexOf,
concat: emptyArray.concat,
// `map` and `slice` in the jQuery API work differently
// from their array counterparts
map: function (fn) {
return $($.map(this, function (el, i) {
return fn.call(el, i, el);
}));
},
slice: function () {
return $(slice.apply(this, arguments));
},
ready: function (callback) {
// need to check if document.body exists for IE as that browser reports
// document ready when it hasn't yet created the body element
if (readyRE.test(document.readyState) && document.body)
callback($);
else
document.addEventListener('DOMContentLoaded', function () {
callback($);
}, false);
return this;
},
get: function (idx) {
return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length];
},
toArray: function () {
return this.get();
},
size: function () {
return this.length;
},
remove: function () {
return this.each(function () {
if (this.parentNode != null)
this.parentNode.removeChild(this);
});
},
each: function (callback) {
emptyArray.every.call(this, function (el, idx) {
return callback.call(el, idx, el) !== false;
});
return this;
},
filter: function (selector) {
if (isFunction(selector))
return this.not(this.not(selector));
return $(filter.call(this, function (element) {
return zepto.matches(element, selector);
}));
},
add: function (selector, context) {
return $(uniq(this.concat($(selector, context))));
},
is: function (selector) {
return this.length > 0 && zepto.matches(this[0], selector);
},
not: function (selector) {
var nodes = [];
if (isFunction(selector) && selector.call !== undefined)
this.each(function (idx) {
if (!selector.call(this, idx))
nodes.push(this);
});
else {
var excludes = typeof selector == 'string' ? this.filter(selector) : (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector);
this.forEach(function (el) {
if (excludes.indexOf(el) < 0)
nodes.push(el);
});
}
return $(nodes);
},
has: function (selector) {
return this.filter(function () {
return isObject(selector) ? $.contains(this, selector) : $(this).find(selector).size();
});
},
eq: function (idx) {
return idx === -1 ? this.slice(idx) : this.slice(idx, +idx + 1);
},
first: function () {
var el = this[0];
return el && !isObject(el) ? el : $(el);
},
last: function () {
var el = this[this.length - 1];
return el && !isObject(el) ? el : $(el);
},
find: function (selector) {
var result;
var $this = this;
if (!selector)
result = $();
else if (typeof selector == 'object')
result = $(selector).filter(function () {
var node = this;
return emptyArray.some.call($this, function (parent) {
return $.contains(parent, node);
});
});
else if (this.length == 1)
result = $(zepto.qsa(this[0], selector));
else
result = this.map(function () {
return zepto.qsa(this, selector);
});
return result;
},
closest: function (selector, context) {
var node = this[0];
var collection = false;
if (typeof selector == 'object')
collection = $(selector);
while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))
node = node !== context && !isDocument(node) && node.parentNode;
return $(node);
},
parents: function (selector) {
var ancestors = [];
var nodes = this;
while (nodes.length > 0)
nodes = $.map(nodes, function (node) {
if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {
ancestors.push(node);
return node;
}
});
return filtered(ancestors, selector);
},
parent: function (selector) {
return filtered(uniq(this.pluck('parentNode')), selector);
},
children: function (selector) {
return filtered(this.map(function () {
return children(this);
}), selector);
},
contents: function () {
return this.map(function () {
return slice.call(this.childNodes);
});
},
siblings: function (selector) {
return filtered(this.map(function (i, el) {
return filter.call(children(el.parentNode), function (child) {
return child !== el;
});
}), selector);
},
empty: function () {
return this.each(function () {
this.innerHTML = '';
});
},
// `pluck` is borrowed from Prototype.js
pluck: function (property) {
return $.map(this, function (el) {
return el[property];
});
},
show: function () {
return this.each(function () {
this.style.display == "none" && (this.style.display = '');
if (getComputedStyle(this, '').getPropertyValue("display") == "none")
this.style.display = defaultDisplay(this.nodeName);
});
},
replaceWith: function (newContent) {
return this.before(newContent).remove();
},
wrap: function (structure) {
var func = isFunction(structure);
if (this[0] && !func)
var dom = $(structure).get(0);
var clone = dom.parentNode || this.length > 1;
return this.each(function (index) {
$(this).wrapAll(func ? structure.call(this, index) : clone ? dom.cloneNode(true) : dom);
});
},
wrapAll: function (structure) {
if (this[0]) {
$(this[0]).before(structure = $(structure));
var children;
// drill down to the inmost element
while ((children = structure.children()).length)
structure = children.first();
$(structure).append(this);
}
return this;
},
wrapInner: function (structure) {
var func = isFunction(structure);
return this.each(function (index) {
var self = $(this);
var contents = self.contents();
var dom = func ? structure.call(this, index) : structure;
contents.length ? contents.wrapAll(dom) : self.append(dom);
});
},
unwrap: function () {
this.parent().each(function () {
$(this).replaceWith($(this).children());
});
return this;
},
clone: function () {
return this.map(function () {
return this.cloneNode(true);
});
},
hide: function () {
return this.css("display", "none");
},
toggle: function (setting) {
return this.each(function () {
var el = $(this)
;
(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide();
});
},
prev: function (selector) {
return $(this.pluck('previousElementSibling')).filter(selector || '*');
},
next: function (selector) {
return $(this.pluck('nextElementSibling')).filter(selector || '*');
},
html: function (html) {
return 0 in arguments ? this.each(function (idx) {
var originHtml = this.innerHTML;
$(this).empty().append(funcArg(this, html, idx, originHtml));
}) : (0 in this ? this[0].innerHTML : null);
},
text: function (text) {
return 0 in arguments ? this.each(function (idx) {
var newText = funcArg(this, text, idx, this.textContent);
this.textContent = newText == null ? '' : '' + newText;
}) : (0 in this ? this[0].textContent : null);
},
attr: function (name, value) {
var result;
return (typeof name == 'string' && !(1 in arguments)) ? (!this.length || this[0].nodeType !== 1 ? undefined : (!(result = this[0].getAttribute(name)) && name in this[0]) ? this[0][name] : result) : this.each(function (idx) {
if (this.nodeType !== 1)
return;
if (isObject(name))
for (key in name)
setAttribute(this, key, name[key]);
else
setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)));
});
},
removeAttr: function (name) {
return this.each(function () {
this.nodeType === 1 && name.split(' ').forEach(function (attribute) {
setAttribute(this, attribute);
}, this);
});
},
prop: function (name, value) {
name = propMap[name] || name;
return (1 in arguments) ? this.each(function (idx) {
this[name] = funcArg(this, value, idx, this[name]);
}) : (this[0] && this[0][name]);
},
data: function (name, value) {
var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase();
var data = (1 in arguments) ? this.attr(attrName, value) : this.attr(attrName);
return data !== null ? deserializeValue(data) : undefined;
},
val: function (value) {
return 0 in arguments ? this.each(function (idx) {
this.value = funcArg(this, value, idx, this.value);
}) : (this[0] && (this[0].multiple ? $(this[0]).find('option').filter(function () {
return this.selected;
}).pluck('value') : this[0].value));
},
offset: function (coordinates) {
if (coordinates)
return this.each(function (index) {
var $this = $(this);
var coords = funcArg(this, coordinates, index, $this.offset());
var parentOffset = $this.offsetParent().offset();
var props = {
top: coords.top - parentOffset.top,
left: coords.left - parentOffset.left
};
if ($this.css('position') == 'static')
props['position'] = 'relative';
$this.css(props);
});
if (!this.length)
return null;
var obj = this[0].getBoundingClientRect();
return {
left: obj.left + window.pageXOffset,
top: obj.top + window.pageYOffset,
width: Math.round(obj.width),
height: Math.round(obj.height)
};
},
css: function (property, value) {
if (arguments.length < 2) {
var computedStyle;
var element = this[0];
if (!element)
return;
computedStyle = getComputedStyle(element, '');
if (typeof property == 'string')
return element.style[camelize(property)] || computedStyle.getPropertyValue(property);
else if (isArray(property)) {
var props = {};
$.each(property, function (_, prop) {
props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop));
});
return props;
}
}
var css = '';
if (type(property) == 'string') {
if (!value && value !== 0)
this.each(function () {
this.style.removeProperty(dasherize(property));
});
else
css = dasherize(property) + ":" + maybeAddPx(property, value);
}
else {
for (key in property)
if (!property[key] && property[key] !== 0)
this.each(function () {
this.style.removeProperty(dasherize(key));
});
else
css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';';
}
return this.each(function () {
this.style.cssText += ';' + css;
});
},
index: function (element) {
return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0]);
},
hasClass: function (name) {
if (!name)
return false;
return emptyArray.some.call(this, function (el) {
return this.test(className(el));
}, classRE(name));
},
addClass: function (name) {
if (!name)
return this;
return this.each(function (idx) {
if (!('className' in this))
return;
classList = [];
var cls = className(this);
var newName = funcArg(this, name, idx, cls);
newName.split(/\s+/g).forEach(function (klass) {
if (!$(this).hasClass(klass))
classList.push(klass);
}, this);
classList.length && className(this, cls + (cls ? " " : "") + classList.join(" "));
});
},
removeClass: function (name) {
return this.each(function (idx) {
if (!('className' in this))
return;
if (name === undefined)
return className(this, '');
classList = className(this);
funcArg(this, name, idx, classList).split(/\s+/g).forEach(function (klass) {
classList = classList.replace(classRE(klass), " ");
});
className(this, classList.trim());
});
},
toggleClass: function (name, when) {
if (!name)
return this;
return this.each(function (idx) {
var $this = $(this);
var names = funcArg(this, name, idx, className(this));
names.split(/\s+/g).forEach(function (klass) {
(when === undefined ? !$this.hasClass(klass) : when) ? $this.addClass(klass) : $this.removeClass(klass);
});
});
},
scrollTop: function (value) {
if (!this.length)
return;
var hasScrollTop = 'scrollTop' in this[0];
if (value === undefined)
return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset;
return this.each(hasScrollTop ? function () {
this.scrollTop = value;
} : function () {
this.scrollTo(this.scrollX, value);
});
},
scrollLeft: function (value) {
if (!this.length)
return;
var hasScrollLeft = 'scrollLeft' in this[0];
if (value === undefined)
return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset;
return this.each(hasScrollLeft ? function () {
this.scrollLeft = value;
} : function () {
this.scrollTo(value, this.scrollY);
});
},
position: function () {
if (!this.length)
return;
var elem = this[0];
// Get *real* offsetParent
var offsetParent = this.offsetParent();
// Get correct offsets
var offset = this.offset();
var parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? {
top: 0,
left: 0
} : offsetParent.offset();
// Subtract element margins
// note: when an element has margin: auto the offsetLeft and marginLeft
// are the same in Safari causing offset.left to incorrectly be 0
offset.top -= parseFloat($(elem).css('margin-top')) || 0;
offset.left -= parseFloat($(elem).css('margin-left')) || 0;
// Add offsetParent borders
parentOffset.top += parseFloat($(offsetParent[0]).css('border-top-width')) || 0;
parentOffset.left += parseFloat($(offsetParent[0]).css('border-left-width')) || 0;
// Subtract the two offsets
return {
top: offset.top - parentOffset.top,
left: offset.left - parentOffset.left
};
},
offsetParent: function () {
return this.map(function () {
var parent = this.offsetParent || document.body;
while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
parent = parent.offsetParent;
return parent;
});
}
};
// for now
$.fn.detach = $.fn.remove
// Generate the `width` and `height` functions
;
[
'width',
'height'
].forEach(function (dimension) {
var dimensionProperty = dimension.replace(/./, function (m) {
return m[0].toUpperCase();
});
$.fn[dimension] = function (value) {
var offset;
var el = this[0];
if (value === undefined)
return isWindow(el) ? el['inner' + dimensionProperty] : isDocument(el) ? el.documentElement['scroll' + dimensionProperty] : (offset = this.offset()) && offset[dimension];
else
return this.each(function (idx) {
el = $(this);
el.css(dimension, funcArg(this, value, idx, el[dimension]()));
});
};
});
function traverseNode(node, fun) {
fun(node);
for (var i = 0, len = node.childNodes.length; i < len; i++)
traverseNode(node.childNodes[i], fun);
}
// Generate the `after`, `prepend`, `before`, `append`,
// `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.
adjacencyOperators.forEach(function (operator, operatorIndex) {
var inside = operatorIndex % 2; // => prepend, append
$.fn[operator] = function () {
// arguments can be nodes, arrays of nodes, Zepto objects and HTML strings
var argType;
var nodes = $.map(arguments, function (arg) {
argType = type(arg);
return argType == "object" || argType == "array" || arg == null ? arg : zepto.fragment(arg);
});
var parent;
var copyByClone = this.length > 1;
if (nodes.length < 1)
return this;
return this.each(function (_, target) {
parent = inside ? target : target.parentNode;
// convert all methods to a "before" operation
target = operatorIndex == 0 ? target.nextSibling : operatorIndex == 1 ? target.firstChild : operatorIndex == 2 ? target : null;
var parentInDocument = $.contains(document.documentElement, parent);
nodes.forEach(function (node) {
if (copyByClone)
node = node.cloneNode(true);
else if (!parent)
return $(node).remove();
parent.insertBefore(node, target);
if (parentInDocument)
traverseNode(node, function (el) {
if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' && (!el.type || el.type === 'text/javascript') && !el.src)
window['eval'].call(window, el.innerHTML);
});
});
});
};
// after => insertAfter
// prepend => prependTo
// before => insertBefore
// append => appendTo
$.fn[inside ? operator + 'To' : 'insert' + (operatorIndex ? 'Before' : 'After')] = function (html) {
$(html)[operator](this);
return this;
};
});
zepto.Z.prototype = $.fn;
// Export internal API functions in the `$.zepto` namespace
zepto.uniq = uniq;
zepto.deserializeValue = deserializeValue;
$.zepto = zepto;
return $;
})();
window.Zepto = Zepto;
window.$ === undefined && (window.$ = Zepto)
;
(function ($) {
var _zid = 1;
var undefined;
var slice = Array.prototype.slice;
var isFunction = $.isFunction;
var isString = function (obj) {
return typeof obj == 'string';
};
var handlers = {};
var specialEvents = {};
var focusinSupported = 'onfocusin' in window;
var focus = {
focus: 'focusin',
blur: 'focusout'
};
var hover = {
mouseenter: 'mouseover',
mouseleave: 'mouseout'
};
specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents';
function zid(element) {
return element._zid || (element._zid = _zid++);
}
function findHandlers(element, event, fn, selector) {
event = parse(event);
if (event.ns)
var matcher = matcherFor(event.ns);
return (handlers[zid(element)] || []).filter(function (handler) {
return handler && (!event.e || handler.e == event.e) && (!event.ns || matcher.test(handler.ns)) && (!fn || zid(handler.fn) === zid(fn)) && (!selector || handler.sel == selector);
});
}
function parse(event) {
var parts = ('' + event).split('.');
return {
e: parts[0],
ns: parts.slice(1).sort().join(' ')
};
}
function matcherFor(ns) {
return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)');
}
function eventCapture(handler, captureSetting) {
return handler.del && (!focusinSupported && (handler.e in focus)) || !!captureSetting;
}
function realEvent(type) {
return hover[type] || (focusinSupported && focus[type]) || type;
}
function add(element, events, fn, data, selector, delegator, capture) {
var id = zid(element);
var set = (handlers[id] || (handlers[id] = []));
events.split(/\s/).forEach(function (event) {
if (event == 'ready')
return $(document).ready(fn);
var handler = parse(event);
handler.fn = fn;
handler.sel = selector;
// emulate mouseenter, mouseleave
if (handler.e in hover)
fn = function (e) {
var related = e.relatedTarget;
if (!related || (related !== this && !$.contains(this, related)))
return handler.fn.apply(this, arguments);
};
handler.del = delegator;
var callback = delegator || fn;
handler.proxy = function (e) {
e = compatible(e);
if (e.isImmediatePropagationStopped())
return;
e.data = data;
var result = callback.apply(element, e._args == undefined ? [
e
] : [
e
].concat(e._args));
if (result === false)
e.preventDefault(), e.stopPropagation();
return result;
};
handler.i = set.length;
set.push(handler);
if ('addEventListener' in element)
element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
}
function remove(element, events, fn, selector, capture) {
var id = zid(element)
;
(events || '').split(/\s/).forEach(function (event) {
findHandlers(element, event, fn, selector).forEach(function (handler) {
delete handlers[id][handler.i];
if ('removeEventListener' in element)
element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
});
}
$.event = {
add: add,
remove: remove
};
$.proxy = function (fn, context) {
var args = (2 in arguments) && slice.call(arguments, 2);
if (isFunction(fn)) {
var proxyFn = function () {
return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments);
};
proxyFn._zid = zid(fn);
return proxyFn;
}
else if (isString(context)) {
if (args) {
args.unshift(fn[context], fn);
return $.proxy.apply(null, args);
}
else {
return $.proxy(fn[context], fn);
}
}
else {
throw new TypeError("expected function");
}
};
$.fn.bind = function (event, data, callback) {
return this.on(event, data, callback);
};
$.fn.unbind = function (event, callback) {
return this.off(event, callback);
};
$.fn.one = function (event, selector, data, callback) {
return this.on(event, selector, data, callback, 1);
};
var returnTrue = function () {
return true;
};
var returnFalse = function () {
return false;
};
var ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$)/;
var eventMethods = {
preventDefault: 'isDefaultPrevented',
stopImmediatePropagation: 'isImmediatePropagationStopped',
stopPropagation: 'isPropagationStopped'
};
function compatible(event, source) {
if (source || !event.isDefaultPrevented) {
source || (source = event);
$.each(eventMethods, function (name, predicate) {
var sourceMethod = source[name];
event[name] = function () {
this[predicate] = returnTrue;
return sourceMethod && sourceMethod.apply(source, arguments);
};
event[predicate] = returnFalse;
});
if (source.defaultPrevented !== undefined ? source.defaultPrevented : 'returnValue' in source ? source.returnValue === false : source.getPreventDefault && source.getPreventDefault())
event.isDefaultPrevented = returnTrue;
}
return event;
}
function createProxy(event) {
var key;
var proxy = {
originalEvent: event
};
for (key in event)
if (!ignoreProperties.test(key) && event[key] !== undefined)
proxy[key] = event[key];
return compatible(proxy, event);
}
$.fn.delegate = function (selector, event, callback) {
return this.on(event, selector, callback);
};
$.fn.undelegate = function (selector, event, callback) {
return this.off(event, selector, callback);
};
$.fn.live = function (event, callback) {
$(document.body).delegate(this.selector, event, callback);
return this;
};
$.fn.die = function (event, callback) {
$(document.body).undelegate(this.selector, event, callback);
return this;
};
$.fn.on = function (event, selector, data, callback, one) {
var autoRemove;
var delegator;
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.on(type, selector, data, fn, one);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = data, data = selector, selector = undefined;
if (isFunction(data) || data === false)
callback = data, data = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function (_, element) {
if (one)
autoRemove = function (e) {
remove(element, e.type, callback);
return callback.apply(this, arguments);
};
if (selector)
delegator = function (e) {
var evt;
var match = $(e.target).closest(selector, element).get(0);
if (match && match !== element) {
evt = $.extend(createProxy(e), {
currentTarget: match,
liveFired: element
});
return (autoRemove || callback).apply(match, [
evt
].concat(slice.call(arguments, 1)));
}
};
add(element, event, callback, data, selector, delegator || autoRemove);
});
};
$.fn.off = function (event, selector, callback) {
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.off(type, selector, fn);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = selector, selector = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function () {
remove(this, event, callback, selector);
});
};
$.fn.trigger = function (event, args) {
event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event);
event._args = args;
return this.each(function () {
// handle focus(), blur() by calling them directly
if (event.type in focus && typeof this[event.type] == "function")
this[event.type]();
// items in the collection might not be DOM elements
else if ('dispatchEvent' in this)
this.dispatchEvent(event);
else
$(this).triggerHandler(event, args);
});
};
// triggers event handlers on current element just as if an event occurred,
// doesn't trigger an actual event, doesn't bubble
$.fn.triggerHandler = function (event, args) {
var e;
var result;
this.each(function (i, element) {
e = createProxy(isString(event) ? $.Event(event) : event);
e._args = args;
e.target = element;
$.each(findHandlers(element, event.type || event), function (i, handler) {
result = handler.proxy(e);
if (e.isImmediatePropagationStopped())
return false;
});
});
return result;
}
// shortcut methods for `.bind(event, fn)` for each event type
;
('focusin focusout focus blur load resize scroll unload click dblclick ' + 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave ' + 'change select keydown keypress keyup error').split(' ').forEach(function (event) {
$.fn[event] = function (callback) {
return (0 in arguments) ? this.bind(event, callback) : this.trigger(event);
};
});
$.Event = function (type, props) {
if (!isString(type))
props = type, type = props.type;
var event = document.createEvent(specialEvents[type] || 'Events');
var bubbles = true;
if (props)
for (var name in props)
(name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]);
event.initEvent(type, bubbles, true);
return compatible(event);
};
})(Zepto)
;
(function ($) {
var jsonpID = 0;
var document = window.document;
var key;
var name;
var rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;
var scriptTypeRE = /^(?:text|application)\/javascript/i;
var xmlTypeRE = /^(?:text|application)\/xml/i;
var jsonType = 'application/json';
var htmlType = 'text/html';
var blankRE = /^\s*$/;
var originAnchor = document.createElement('a');
originAnchor.href = window.location.href;
// trigger a custom event and return false if it was cancelled
function triggerAndReturn(context, eventName, data) {
var event = $.Event(eventName);
$(context).trigger(event, data);
return !event.isDefaultPrevented();
}
// trigger an Ajax "global" event
function triggerGlobal(settings, context, eventName, data) {
if (settings.global)
return triggerAndReturn(context || document, eventName, data);
}
// Number of active Ajax requests
$.active = 0;
function ajaxStart(settings) {
if (settings.global && $.active++ === 0)
triggerGlobal(settings, null, 'ajaxStart');
}
function ajaxStop(settings) {
if (settings.global && !(--$.active))
triggerGlobal(settings, null, 'ajaxStop');
}
// triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable
function ajaxBeforeSend(xhr, settings) {
var context = settings.context;
if (settings.beforeSend.call(context, xhr, settings) === false || triggerGlobal(settings, context, 'ajaxBeforeSend', [
xhr,
settings
]) === false)
return false;
triggerGlobal(settings, context, 'ajaxSend', [
xhr,
settings
]);
}
function ajaxSuccess(data, xhr, settings, deferred) {
var context = settings.context;
var status = 'success';
settings.success.call(context, data, status, xhr);
if (deferred)
deferred.resolveWith(context, [
data,
status,
xhr
]);
triggerGlobal(settings, context, 'ajaxSuccess', [
xhr,
settings,
data
]);
ajaxComplete(status, xhr, settings);
}
// type: "timeout", "error", "abort", "parsererror"
function ajaxError(error, type, xhr, settings, deferred) {
var context = settings.context;
settings.error.call(context, xhr, type, error);
if (deferred)
deferred.rejectWith(context, [
xhr,
type,
error
]);
triggerGlobal(settings, context, 'ajaxError', [
xhr,
settings,
error || type
]);
ajaxComplete(type, xhr, settings);
}
// status: "success", "notmodified", "error", "timeout", "abort", "parsererror"
function ajaxComplete(status, xhr, settings) {
var context = settings.context;
settings.complete.call(context, xhr, status);
triggerGlobal(settings, context, 'ajaxComplete', [
xhr,
settings
]);
ajaxStop(settings);
}
// Empty function, used as default callback
function empty() {
}
$.ajaxJSONP = function (options, deferred) {
if (!('type' in options))
return $.ajax(options);
var _callbackName = options.jsonpCallback;
var callbackName = ($.isFunction(_callbackName) ? _callbackName() : _callbackName) || ('jsonp' + (++jsonpID));
var script = document.createElement('script');
var originalCallback = window[callbackName];
var responseData;
var abort = function (errorType) {
$(script).triggerHandler('error', errorType || 'abort');
};
var xhr = {
abort: abort
};
var abortTimeout;
if (deferred)
deferred.promise(xhr);
$(script).on('load error', function (e, errorType) {
clearTimeout(abortTimeout);
$(script).off().remove();
if (e.type == 'error' || !responseData) {
ajaxError(null, errorType || 'error', xhr, options, deferred);
}
else {
ajaxSuccess(responseData[0], xhr, options, deferred);
}
window[callbackName] = originalCallback;
if (responseData && $.isFunction(originalCallback))
originalCallback(responseData[0]);
originalCallback = responseData = undefined;
});
if (ajaxBeforeSend(xhr, options) === false) {
abort('abort');
return xhr;
}
window[callbackName] = function () {
responseData = arguments;
};
script.src = options.url.replace(/\?(.+)=\?/, '?$1=' + callbackName);
document.head.appendChild(script);
if (options.timeout > 0)
abortTimeout = setTimeout(function () {
abort('timeout');
}, options.timeout);
return xhr;
};
$.ajaxSettings = {
// Default type of request
type: 'GET',
// Callback that is executed before request
beforeSend: empty,
// Callback that is executed if the request succeeds
success: empty,
// Callback that is executed the the server drops error
error: empty,
// Callback that is executed on request complete (both: error and success)
complete: empty,
// The context for the callbacks
context: null,
// Whether to trigger "global" Ajax events
global: true,
// Transport
xhr: function () {
return new window.XMLHttpRequest();
},
// MIME types mapping
// IIS returns Javascript as "application/x-javascript"
accepts: {
script: 'text/javascript, application/javascript, application/x-javascript',
json: jsonType,
xml: 'application/xml, text/xml',
html: htmlType,
text: 'text/plain'
},
// Whether the request is to another domain
crossDomain: false,
// Default timeout
timeout: 0,
// Whether data should be serialized to string
processData: true,
// Whether the browser should be allowed to cache GET responses
cache: true
};
function mimeToDataType(mime) {
if (mime)
mime = mime.split(';', 2)[0];
return mime && (mime == htmlType ? 'html' : mime == jsonType ? 'json' : scriptTypeRE.test(mime) ? 'script' : xmlTypeRE.test(mime) && 'xml') || 'text';
}
function appendQuery(url, query) {
if (query == '')
return url;
return (url + '&' + query).replace(/[&?]{1,2}/, '?');
}
// serialize payload and append it to the URL for GET requests
function serializeData(options) {
if (options.processData && options.data && $.type(options.data) != "string")
options.data = $.param(options.data, options.traditional);
if (options.data && (!options.type || options.type.toUpperCase() == 'GET'))
options.url = appendQuery(options.url, options.data), options.data = undefined;
}
$.ajax = function (options) {
var settings = $.extend({}, options || {});
var deferred = $.Deferred && $.Deferred();
var urlAnchor;
for (key in $.ajaxSettings)
if (settings[key] === undefined)
settings[key] = $.ajaxSettings[key];
ajaxStart(settings);
if (!settings.crossDomain) {
urlAnchor = document.createElement('a');
urlAnchor.href = settings.url;
urlAnchor.href = urlAnchor.href;
settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host);
}
if (!settings.url)
settings.url = window.location.toString();
serializeData(settings);
var dataType = settings.dataType;
var hasPlaceholder = /\?.+=\?/.test(settings.url);
if (hasPlaceholder)
dataType = 'jsonp';
if (settings.cache === false || ((!options || options.cache !== true) && ('script' == dataType || 'jsonp' == dataType)))
settings.url = appendQuery(settings.url, '_=' + Date.now());
if ('jsonp' == dataType) {
if (!hasPlaceholder)
settings.url = appendQuery(settings.url, settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?');
return $.ajaxJSONP(settings, deferred);
}
var mime = settings.accepts[dataType];
var headers = {};
var setHeader = function (name, value) {
headers[name.toLowerCase()] = [
name,
value
];
};
var protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol;
var xhr = settings.xhr();
var nativeSetHeader = xhr.setRequestHeader;
var abortTimeout;
if (deferred)
deferred.promise(xhr);
if (!settings.crossDomain)
setHeader('X-Requested-With', 'XMLHttpRequest');
setHeader('Accept', mime || '*/*');
if (mime = settings.mimeType || mime) {
if (mime.indexOf(',') > -1)
mime = mime.split(',', 2)[0];
xhr.overrideMimeType && xhr.overrideMimeType(mime);
}
if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))
setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded');
if (settings.headers)
for (name in settings.headers)
setHeader(name, settings.headers[name]);
xhr.setRequestHeader = setHeader;
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
xhr.onreadystatechange = empty;
clearTimeout(abortTimeout);
var result;
var error = false;
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'));
result = xhr.responseText;
try {
// path_to_url
if (dataType == 'script')
(1, eval)(result);
else if (dataType == 'xml')
result = xhr.responseXML;
else if (dataType == 'json')
result = blankRE.test(result) ? null : $.parseJSON(result);
}
catch (e) {
error = e;
}
if (error)
ajaxError(error, 'parsererror', xhr, settings, deferred);
else
ajaxSuccess(result, xhr, settings, deferred);
}
else {
ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred);
}
}
};
if (ajaxBeforeSend(xhr, settings) === false) {
xhr.abort();
ajaxError(null, 'abort', xhr, settings, deferred);
return xhr;
}
if (settings.xhrFields)
for (name in settings.xhrFields)
xhr[name] = settings.xhrFields[name];
var async = 'async' in settings ? settings.async : true;
xhr.open(settings.type, settings.url, async, settings.username, settings.password);
for (name in headers)
nativeSetHeader.apply(xhr, headers[name]);
if (settings.timeout > 0)
abortTimeout = setTimeout(function () {
xhr.onreadystatechange = empty;
xhr.abort();
ajaxError(null, 'timeout', xhr, settings, deferred);
}, settings.timeout);
// avoid sending empty string (#319)
xhr.send(settings.data ? settings.data : null);
return xhr;
};
// handle optional data/success arguments
function parseArguments(url, data, success, dataType) {
if ($.isFunction(data))
dataType = success, success = data, data = undefined;
if (!$.isFunction(success))
dataType = success, success = undefined;
return {
url: url,
data: data,
success: success,
dataType: dataType
};
}
$.get = function (
/* url, data, success, dataType */ ) {
return $.ajax(parseArguments.apply(null, arguments));
};
$.post = function (
/* url, data, success, dataType */ ) {
var options = parseArguments.apply(null, arguments);
options.type = 'POST';
return $.ajax(options);
};
$.getJSON = function (
/* url, data, success */ ) {
var options = parseArguments.apply(null, arguments);
options.dataType = 'json';
return $.ajax(options);
};
$.fn.load = function (url, data, success) {
if (!this.length)
return this;
var self = this;
var parts = url.split(/\s/);
var selector;
var options = parseArguments(url, data, success);
var callback = options.success;
if (parts.length > 1)
options.url = parts[0], selector = parts[1];
options.success = function (response) {
self.html(selector ? $('<div>').html(response.replace(rscript, "")).find(selector) : response);
callback && callback.apply(self, arguments);
};
$.ajax(options);
return this;
};
var escape = encodeURIComponent;
function serialize(params, obj, traditional, scope) {
var type;
var array = $.isArray(obj);
var hash = $.isPlainObject(obj);
$.each(obj, function (key, value) {
type = $.type(value);
if (scope)
key = traditional ? scope : scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']';
// handle data in serializeArray() format
if (!scope && array)
params.add(value.name, value.value);
// recurse into nested objects
else if (type == "array" || (!traditional && type == "object"))
serialize(params, value, traditional, key);
else
params.add(key, value);
});
}
$.param = function (obj, traditional) {
var params = [];
params.add = function (key, value) {
if ($.isFunction(value))
value = value();
if (value == null)
value = "";
this.push(escape(key) + '=' + escape(value));
};
serialize(params, obj, traditional);
return params.join('&').replace(/%20/g, '+');
};
})(Zepto)
;
(function ($) {
$.fn.serializeArray = function () {
var name;
var type;
var result = [];
var add = function (value) {
if (value.forEach)
return value.forEach(add);
result.push({
name: name,
value: value
});
};
if (this[0])
$.each(this[0].elements, function (_, field) {
type = field.type, name = field.name;
if (name && field.nodeName.toLowerCase() != 'fieldset' && !field.disabled && type != 'submit' && type != 'reset' && type != 'button' && type != 'file' && ((type != 'radio' && type != 'checkbox') || field.checked))
add($(field).val());
});
return result;
};
$.fn.serialize = function () {
var result = [];
this.serializeArray().forEach(function (elm) {
result.push(encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value));
});
return result.join('&');
};
$.fn.submit = function (callback) {
if (0 in arguments)
this.bind('submit', callback);
else if (this.length) {
var event = $.Event('submit');
this.eq(0).trigger(event);
if (!event.isDefaultPrevented())
this.get(0).submit();
}
return this;
};
})(Zepto)
;
(function ($) {
// __proto__ doesn't exist on IE<11, so redefine
// the Z function to use object extension instead
if (!('__proto__' in {})) {
$.extend($.zepto, {
Z: function (dom, selector) {
dom = dom || [];
$.extend(dom, $.fn);
dom.selector = selector || '';
dom.__Z = true;
return dom;
},
// this is a kludge but works
isZ: function (object) {
return $.type(object) === 'array' && '__Z' in object;
}
});
}
// getComputedStyle shouldn't freak out when called
// without a valid element as argument
try {
getComputedStyle(undefined);
}
catch (e) {
var nativeGetComputedStyle = getComputedStyle;
window.getComputedStyle = function (element) {
try {
return nativeGetComputedStyle(element);
}
catch (e) {
return null;
}
};
}
})(Zepto);
```
|
/content/code_sandbox/demo/three/zepto.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 14,120
|
```html
<!DOCTYPE html>
<head>
<title>address</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="select_contact">
<label></label>
<div class="pc-box">
<input type="hidden" name="contact_province_code" data-id="0001" id="contact_province_code" value="" data-province-name="">
<input type="hidden" name="contact_city_code" id="contact_city_code" value="" data-city-name=""><span data-city-code="510100" data-province-code="510000" data-district-code="510105" id="show_contact"> </span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="areaData_v2.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var selectContactDom = $('#select_contact');
var showContactDom = $('#show_contact');
var contactProvinceCodeDom = $('#contact_province_code');
var contactCityCodeDom = $('#contact_city_code');
selectContactDom.bind('click', function () {
var sccode = showContactDom.attr('data-city-code');
var scname = showContactDom.attr('data-city-name');
var oneLevelId = showContactDom.attr('data-province-code');
var twoLevelId = showContactDom.attr('data-city-code');
var threeLevelId = showContactDom.attr('data-district-code');
var iosSelect = new IosSelect(3,
[iosProvinces, iosCitys, iosCountys],
{
title: '',
itemHeight: 35,
relation: [1, 1],
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
callback: function (selectOneObj, selectTwoObj, selectThreeObj) {
contactProvinceCodeDom.val(selectOneObj.id);
contactProvinceCodeDom.attr('data-province-name', selectOneObj.value);
contactCityCodeDom.val(selectTwoObj.id);
contactCityCodeDom.attr('data-city-name', selectTwoObj.value);
showContactDom.attr('data-province-code', selectOneObj.id);
showContactDom.attr('data-city-code', selectTwoObj.id);
showContactDom.attr('data-district-code', selectThreeObj.id);
showContactDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/three/area.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 709
|
```javascript
var suData = [
{'id': '10001', 'value': ''},
{'id': '10002', 'value': ''},
{'id': '10003', 'value': ''},
{'id': '10004', 'value': ''},
{'id': '10005', 'value': ''},
{'id': '10006', 'value': ''},
{'id': '10007', 'value': ''},
{'id': '10008', 'value': ''},
{'id': '10009', 'value': ''},
{'id': '10010', 'value': ''},
{'id': '10011', 'value': ''},
{'id': '10012', 'value': ''},
{'id': '10013', 'value': ''},
{'id': '10014', 'value': ''},
{'id': '10015', 'value': ''},
{'id': '10016', 'value': ''}
];
var weiData = [
{'id': '20001', 'value': ''},
{'id': '20002', 'value': ''},
{'id': '20003', 'value': ''},
{'id': '20004', 'value': ''},
{'id': '20005', 'value': ''},
{'id': '20006', 'value': ''},
{'id': '20007', 'value': ''},
{'id': '20008', 'value': ''},
{'id': '20009', 'value': ''},
{'id': '20010', 'value': ''},
{'id': '20011', 'value': ''},
{'id': '20012', 'value': ''},
{'id': '20013', 'value': ''},
{'id': '20014', 'value': ''},
{'id': '20015', 'value': ''},
{'id': '20016', 'value': ''}
];
```
|
/content/code_sandbox/demo/two/data.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 427
|
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line">
<label></label>
<div class="pc-box">
<input type="hidden" name="su_id" id="suId" value="">
<input type="hidden" name="wei_id" id="weiId" value="">
<span id="showGeneral"></span>
</div>
</div>
</body>
<script src="data.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var showGeneralDom = document.querySelector('#showGeneral');
var suIdDom = document.querySelector('#suId');
var weiIdDom = document.querySelector('#weiId');
showGeneralDom.addEventListener('click', function () {
var suId = showGeneralDom.dataset['su_id'];
var suValue = showGeneralDom.dataset['su_value'];
var weiId = showGeneralDom.dataset['wei_id'];
var weiValue = showGeneralDom.dataset['wei_value'];
var sanguoSelect = new IosSelect(2,
[suData, weiData],
{
title: '',
itemHeight: 35,
oneLevelId: suId,
twoLevelId: weiId,
callback: function (selectOneObj, selectTwoObj) {
suIdDom.value = selectOneObj.id;
weiIdDom.value = selectTwoObj.id;
showGeneralDom.innerHTML = '' + selectOneObj.value + ' ' + selectTwoObj.value;
showGeneralDom.dataset['su_id'] = selectOneObj.id;
showGeneralDom.dataset['su_value'] = selectOneObj.value;
showGeneralDom.dataset['wei_id'] = selectTwoObj.id;
showGeneralDom.dataset['wei_value'] = selectTwoObj.value;
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/two/sanguokill.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 563
|
```javascript
/* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function () {
var undefined;
var key;
var $;
var classList;
var emptyArray = [];
var slice = emptyArray.slice;
var filter = emptyArray.filter;
var document = window.document;
var elementDisplay = {};
var classCache = {};
var cssNumber = {
'column-count': 1,
'columns': 1,
'font-weight': 1,
'line-height': 1,
'opacity': 1,
'z-index': 1,
'zoom': 1
};
var fragmentRE = /^\s*<(\w+|!)[^>]*>/;
var singleTagRE = /^<(\w+)\s*\/?>(?:<\/\1>|)$/;
var tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig;
var rootNodeRE = /^(?:body|html)$/i;
var capitalRE = /([A-Z])/g;
// special attributes that should be get/set via method calls
var methodAttributes = [
'val',
'css',
'html',
'text',
'data',
'width',
'height',
'offset'
];
var adjacencyOperators = [
'after',
'prepend',
'before',
'append'
];
var table = document.createElement('table');
var tableRow = document.createElement('tr');
var containers = {
'tr': document.createElement('tbody'),
'tbody': table,
'thead': table,
'tfoot': table,
'td': tableRow,
'th': tableRow,
'*': document.createElement('div')
};
var readyRE = /complete|loaded|interactive/;
var simpleSelectorRE = /^[\w-]*$/;
var class2type = {};
var toString = class2type.toString;
var zepto = {};
var camelize;
var uniq;
var tempParent = document.createElement('div');
var propMap = {
'tabindex': 'tabIndex',
'readonly': 'readOnly',
'for': 'htmlFor',
'class': 'className',
'maxlength': 'maxLength',
'cellspacing': 'cellSpacing',
'cellpadding': 'cellPadding',
'rowspan': 'rowSpan',
'colspan': 'colSpan',
'usemap': 'useMap',
'frameborder': 'frameBorder',
'contenteditable': 'contentEditable'
};
var isArray = Array.isArray || function (object) {
return object instanceof Array;
};
zepto.matches = function (element, selector) {
if (!selector || !element || element.nodeType !== 1)
return false;
var matchesSelector = element.webkitMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.matchesSelector;
if (matchesSelector)
return matchesSelector.call(element, selector);
// fall back to performing a selector:
var match;
var parent = element.parentNode;
var temp = !parent;
if (temp)
(parent = tempParent).appendChild(element);
match = ~zepto.qsa(parent, selector).indexOf(element);
temp && tempParent.removeChild(element);
return match;
};
function type(obj) {
return obj == null ? String(obj) : class2type[toString.call(obj)] || "object";
}
function isFunction(value) {
return type(value) == "function";
}
function isWindow(obj) {
return obj != null && obj == obj.window;
}
function isDocument(obj) {
return obj != null && obj.nodeType == obj.DOCUMENT_NODE;
}
function isObject(obj) {
return type(obj) == "object";
}
function isPlainObject(obj) {
return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype;
}
function likeArray(obj) {
return typeof obj.length == 'number';
}
function compact(array) {
return filter.call(array, function (item) {
return item != null;
});
}
function flatten(array) {
return array.length > 0 ? $.fn.concat.apply([], array) : array;
}
camelize = function (str) {
return str.replace(/-+(.)?/g, function (match, chr) {
return chr ? chr.toUpperCase() : '';
});
};
function dasherize(str) {
return str.replace(/::/g, '/').replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2').replace(/([a-z\d])([A-Z])/g, '$1_$2').replace(/_/g, '-').toLowerCase();
}
uniq = function (array) {
return filter.call(array, function (item, idx) {
return array.indexOf(item) == idx;
});
};
function classRE(name) {
return name in classCache ? classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)'));
}
function maybeAddPx(name, value) {
return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value;
}
function defaultDisplay(nodeName) {
var element;
var display;
if (!elementDisplay[nodeName]) {
element = document.createElement(nodeName);
document.body.appendChild(element);
display = getComputedStyle(element, '').getPropertyValue("display");
element.parentNode.removeChild(element);
display == "none" && (display = "block");
elementDisplay[nodeName] = display;
}
return elementDisplay[nodeName];
}
function children(element) {
return 'children' in element ? slice.call(element.children) : $.map(element.childNodes, function (node) {
if (node.nodeType == 1)
return node;
});
}
// `$.zepto.fragment` takes a html string and an optional tag name
// to generate DOM nodes nodes from the given html string.
// The generated DOM nodes are returned as an array.
// This function can be overriden in plugins for example to make
// it compatible with browsers that don't support the DOM fully.
zepto.fragment = function (html, name, properties) {
var dom;
var nodes;
var container;
// A special case optimization for a single tag
if (singleTagRE.test(html))
dom = $(document.createElement(RegExp.$1));
if (!dom) {
if (html.replace)
html = html.replace(tagExpanderRE, "<$1></$2>");
if (name === undefined)
name = fragmentRE.test(html) && RegExp.$1;
if (!(name in containers))
name = '*';
container = containers[name];
container.innerHTML = '' + html;
dom = $.each(slice.call(container.childNodes), function () {
container.removeChild(this);
});
}
if (isPlainObject(properties)) {
nodes = $(dom);
$.each(properties, function (key, value) {
if (methodAttributes.indexOf(key) > -1)
nodes[key](value);
else
nodes.attr(key, value);
});
}
return dom;
};
// `$.zepto.Z` swaps out the prototype of the given `dom` array
// of nodes with `$.fn` and thus supplying all the Zepto functions
// to the array. Note that `__proto__` is not supported on Internet
// Explorer. This method can be overriden in plugins.
zepto.Z = function (dom, selector) {
dom = dom || [];
dom.__proto__ = $.fn;
dom.selector = selector || '';
return dom;
};
// `$.zepto.isZ` should return `true` if the given object is a Zepto
// collection. This method can be overriden in plugins.
zepto.isZ = function (object) {
return object instanceof zepto.Z;
};
// `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
// takes a CSS selector and an optional context (and handles various
// special cases).
// This method can be overriden in plugins.
zepto.init = function (selector, context) {
var dom;
// If nothing given, return an empty Zepto collection
if (!selector)
return zepto.Z();
// Optimize for string selectors
else if (typeof selector == 'string') {
selector = selector.trim();
// If it's a html fragment, create nodes from it
// Note: In both Chrome 21 and Firefox 15, DOM error 12
// is thrown if the fragment doesn't begin with <
if (selector[0] == '<' && fragmentRE.test(selector))
dom = zepto.fragment(selector, RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// If it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// If a function is given, call it when the DOM is ready
else if (isFunction(selector))
return $(document).ready(selector);
// If a Zepto collection is given, just return it
else if (zepto.isZ(selector))
return selector;
else {
// normalize array if an array of nodes is given
if (isArray(selector))
dom = compact(selector);
// Wrap DOM nodes.
else if (isObject(selector))
dom = [
selector
], selector = null;
// If it's a html fragment, create nodes from it
else if (fragmentRE.test(selector))
dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null;
// If there's a context, create a collection on that context first, and select
// nodes from there
else if (context !== undefined)
return $(context).find(selector);
// And last but no least, if it's a CSS selector, use it to select nodes.
else
dom = zepto.qsa(document, selector);
}
// create a new Zepto collection from the nodes found
return zepto.Z(dom, selector);
};
// `$` will be the base `Zepto` object. When calling this
// function just call `$.zepto.init, which makes the implementation
// details of selecting nodes and creating Zepto collections
// patchable in plugins.
$ = function (selector, context) {
return zepto.init(selector, context);
};
function extend(target, source, deep) {
for (key in source)
if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {
if (isPlainObject(source[key]) && !isPlainObject(target[key]))
target[key] = {};
if (isArray(source[key]) && !isArray(target[key]))
target[key] = [];
extend(target[key], source[key], deep);
}
else if (source[key] !== undefined)
target[key] = source[key];
}
// Copy all but undefined properties from one or more
// objects to the `target` object.
$.extend = function (target) {
var deep;
var args = slice.call(arguments, 1);
if (typeof target == 'boolean') {
deep = target;
target = args.shift();
}
args.forEach(function (arg) {
extend(target, arg, deep);
});
return target;
};
// `$.zepto.qsa` is Zepto's CSS selector implementation which
// uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
// This method can be overriden in plugins.
zepto.qsa = function (element, selector) {
var found;
var maybeID = selector[0] == '#';
var maybeClass = !maybeID && selector[0] == '.';
var nameOnly = maybeID || maybeClass ? selector.slice(1) : selector; // Ensure that a 1 char tag name still gets checked
var isSimple = simpleSelectorRE.test(nameOnly);
return (isDocument(element) && isSimple && maybeID) ? ((found = element.getElementById(nameOnly)) ? [
found
] : []) : (element.nodeType !== 1 && element.nodeType !== 9) ? [] : slice.call(isSimple && !maybeID ? maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
element.getElementsByTagName(selector) : // Or a tag
element.querySelectorAll(selector) // Or it's not simple, and we need to query all
);
};
function filtered(nodes, selector) {
return selector == null ? $(nodes) : $(nodes).filter(selector);
}
$.contains = document.documentElement.contains ? function (parent, node) {
return parent !== node && parent.contains(node);
} : function (parent, node) {
while (node && (node = node.parentNode))
if (node === parent)
return true;
return false;
};
function funcArg(context, arg, idx, payload) {
return isFunction(arg) ? arg.call(context, idx, payload) : arg;
}
function setAttribute(node, name, value) {
value == null ? node.removeAttribute(name) : node.setAttribute(name, value);
}
// access className property while respecting SVGAnimatedString
function className(node, value) {
var klass = node.className || '';
var svg = klass && klass.baseVal !== undefined;
if (value === undefined)
return svg ? klass.baseVal : klass;
svg ? (klass.baseVal = value) : (node.className = value);
}
// "true" => true
// "false" => false
// "null" => null
// "42" => 42
// "42.5" => 42.5
// "08" => "08"
// JSON => parse if valid
// String => self
function deserializeValue(value) {
try {
return value ? value == "true" || (value == "false" ? false : value == "null" ? null : +value + "" == value ? +value : /^[\[\{]/.test(value) ? $.parseJSON(value) : value) : value;
}
catch (e) {
return value;
}
}
$.type = type;
$.isFunction = isFunction;
$.isWindow = isWindow;
$.isArray = isArray;
$.isPlainObject = isPlainObject;
$.isEmptyObject = function (obj) {
var name;
for (name in obj)
return false;
return true;
};
$.inArray = function (elem, array, i) {
return emptyArray.indexOf.call(array, elem, i);
};
$.camelCase = camelize;
$.trim = function (str) {
return str == null ? "" : String.prototype.trim.call(str);
};
// plugin compatibility
$.uuid = 0;
$.support = {};
$.expr = {};
$.map = function (elements, callback) {
var value;
var values = [];
var i;
var key;
if (likeArray(elements))
for (i = 0; i < elements.length; i++) {
value = callback(elements[i], i);
if (value != null)
values.push(value);
}
else
for (key in elements) {
value = callback(elements[key], key);
if (value != null)
values.push(value);
}
return flatten(values);
};
$.each = function (elements, callback) {
var i;
var key;
if (likeArray(elements)) {
for (i = 0; i < elements.length; i++)
if (callback.call(elements[i], i, elements[i]) === false)
return elements;
}
else {
for (key in elements)
if (callback.call(elements[key], key, elements[key]) === false)
return elements;
}
return elements;
};
$.grep = function (elements, callback) {
return filter.call(elements, callback);
};
if (window.JSON)
$.parseJSON = JSON.parse;
// Populate the class2type map
$.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (i, name) {
class2type["[object " + name + "]"] = name.toLowerCase();
});
// Define methods that will be available on all
// Zepto collections
$.fn = {
// Because a collection acts like an array
// copy over these useful array functions.
forEach: emptyArray.forEach,
reduce: emptyArray.reduce,
push: emptyArray.push,
sort: emptyArray.sort,
indexOf: emptyArray.indexOf,
concat: emptyArray.concat,
// `map` and `slice` in the jQuery API work differently
// from their array counterparts
map: function (fn) {
return $($.map(this, function (el, i) {
return fn.call(el, i, el);
}));
},
slice: function () {
return $(slice.apply(this, arguments));
},
ready: function (callback) {
// need to check if document.body exists for IE as that browser reports
// document ready when it hasn't yet created the body element
if (readyRE.test(document.readyState) && document.body)
callback($);
else
document.addEventListener('DOMContentLoaded', function () {
callback($);
}, false);
return this;
},
get: function (idx) {
return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length];
},
toArray: function () {
return this.get();
},
size: function () {
return this.length;
},
remove: function () {
return this.each(function () {
if (this.parentNode != null)
this.parentNode.removeChild(this);
});
},
each: function (callback) {
emptyArray.every.call(this, function (el, idx) {
return callback.call(el, idx, el) !== false;
});
return this;
},
filter: function (selector) {
if (isFunction(selector))
return this.not(this.not(selector));
return $(filter.call(this, function (element) {
return zepto.matches(element, selector);
}));
},
add: function (selector, context) {
return $(uniq(this.concat($(selector, context))));
},
is: function (selector) {
return this.length > 0 && zepto.matches(this[0], selector);
},
not: function (selector) {
var nodes = [];
if (isFunction(selector) && selector.call !== undefined)
this.each(function (idx) {
if (!selector.call(this, idx))
nodes.push(this);
});
else {
var excludes = typeof selector == 'string' ? this.filter(selector) : (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector);
this.forEach(function (el) {
if (excludes.indexOf(el) < 0)
nodes.push(el);
});
}
return $(nodes);
},
has: function (selector) {
return this.filter(function () {
return isObject(selector) ? $.contains(this, selector) : $(this).find(selector).size();
});
},
eq: function (idx) {
return idx === -1 ? this.slice(idx) : this.slice(idx, +idx + 1);
},
first: function () {
var el = this[0];
return el && !isObject(el) ? el : $(el);
},
last: function () {
var el = this[this.length - 1];
return el && !isObject(el) ? el : $(el);
},
find: function (selector) {
var result;
var $this = this;
if (!selector)
result = $();
else if (typeof selector == 'object')
result = $(selector).filter(function () {
var node = this;
return emptyArray.some.call($this, function (parent) {
return $.contains(parent, node);
});
});
else if (this.length == 1)
result = $(zepto.qsa(this[0], selector));
else
result = this.map(function () {
return zepto.qsa(this, selector);
});
return result;
},
closest: function (selector, context) {
var node = this[0];
var collection = false;
if (typeof selector == 'object')
collection = $(selector);
while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))
node = node !== context && !isDocument(node) && node.parentNode;
return $(node);
},
parents: function (selector) {
var ancestors = [];
var nodes = this;
while (nodes.length > 0)
nodes = $.map(nodes, function (node) {
if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {
ancestors.push(node);
return node;
}
});
return filtered(ancestors, selector);
},
parent: function (selector) {
return filtered(uniq(this.pluck('parentNode')), selector);
},
children: function (selector) {
return filtered(this.map(function () {
return children(this);
}), selector);
},
contents: function () {
return this.map(function () {
return slice.call(this.childNodes);
});
},
siblings: function (selector) {
return filtered(this.map(function (i, el) {
return filter.call(children(el.parentNode), function (child) {
return child !== el;
});
}), selector);
},
empty: function () {
return this.each(function () {
this.innerHTML = '';
});
},
// `pluck` is borrowed from Prototype.js
pluck: function (property) {
return $.map(this, function (el) {
return el[property];
});
},
show: function () {
return this.each(function () {
this.style.display == "none" && (this.style.display = '');
if (getComputedStyle(this, '').getPropertyValue("display") == "none")
this.style.display = defaultDisplay(this.nodeName);
});
},
replaceWith: function (newContent) {
return this.before(newContent).remove();
},
wrap: function (structure) {
var func = isFunction(structure);
if (this[0] && !func)
var dom = $(structure).get(0);
var clone = dom.parentNode || this.length > 1;
return this.each(function (index) {
$(this).wrapAll(func ? structure.call(this, index) : clone ? dom.cloneNode(true) : dom);
});
},
wrapAll: function (structure) {
if (this[0]) {
$(this[0]).before(structure = $(structure));
var children;
// drill down to the inmost element
while ((children = structure.children()).length)
structure = children.first();
$(structure).append(this);
}
return this;
},
wrapInner: function (structure) {
var func = isFunction(structure);
return this.each(function (index) {
var self = $(this);
var contents = self.contents();
var dom = func ? structure.call(this, index) : structure;
contents.length ? contents.wrapAll(dom) : self.append(dom);
});
},
unwrap: function () {
this.parent().each(function () {
$(this).replaceWith($(this).children());
});
return this;
},
clone: function () {
return this.map(function () {
return this.cloneNode(true);
});
},
hide: function () {
return this.css("display", "none");
},
toggle: function (setting) {
return this.each(function () {
var el = $(this)
;
(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide();
});
},
prev: function (selector) {
return $(this.pluck('previousElementSibling')).filter(selector || '*');
},
next: function (selector) {
return $(this.pluck('nextElementSibling')).filter(selector || '*');
},
html: function (html) {
return 0 in arguments ? this.each(function (idx) {
var originHtml = this.innerHTML;
$(this).empty().append(funcArg(this, html, idx, originHtml));
}) : (0 in this ? this[0].innerHTML : null);
},
text: function (text) {
return 0 in arguments ? this.each(function (idx) {
var newText = funcArg(this, text, idx, this.textContent);
this.textContent = newText == null ? '' : '' + newText;
}) : (0 in this ? this[0].textContent : null);
},
attr: function (name, value) {
var result;
return (typeof name == 'string' && !(1 in arguments)) ? (!this.length || this[0].nodeType !== 1 ? undefined : (!(result = this[0].getAttribute(name)) && name in this[0]) ? this[0][name] : result) : this.each(function (idx) {
if (this.nodeType !== 1)
return;
if (isObject(name))
for (key in name)
setAttribute(this, key, name[key]);
else
setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)));
});
},
removeAttr: function (name) {
return this.each(function () {
this.nodeType === 1 && name.split(' ').forEach(function (attribute) {
setAttribute(this, attribute);
}, this);
});
},
prop: function (name, value) {
name = propMap[name] || name;
return (1 in arguments) ? this.each(function (idx) {
this[name] = funcArg(this, value, idx, this[name]);
}) : (this[0] && this[0][name]);
},
data: function (name, value) {
var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase();
var data = (1 in arguments) ? this.attr(attrName, value) : this.attr(attrName);
return data !== null ? deserializeValue(data) : undefined;
},
val: function (value) {
return 0 in arguments ? this.each(function (idx) {
this.value = funcArg(this, value, idx, this.value);
}) : (this[0] && (this[0].multiple ? $(this[0]).find('option').filter(function () {
return this.selected;
}).pluck('value') : this[0].value));
},
offset: function (coordinates) {
if (coordinates)
return this.each(function (index) {
var $this = $(this);
var coords = funcArg(this, coordinates, index, $this.offset());
var parentOffset = $this.offsetParent().offset();
var props = {
top: coords.top - parentOffset.top,
left: coords.left - parentOffset.left
};
if ($this.css('position') == 'static')
props['position'] = 'relative';
$this.css(props);
});
if (!this.length)
return null;
var obj = this[0].getBoundingClientRect();
return {
left: obj.left + window.pageXOffset,
top: obj.top + window.pageYOffset,
width: Math.round(obj.width),
height: Math.round(obj.height)
};
},
css: function (property, value) {
if (arguments.length < 2) {
var computedStyle;
var element = this[0];
if (!element)
return;
computedStyle = getComputedStyle(element, '');
if (typeof property == 'string')
return element.style[camelize(property)] || computedStyle.getPropertyValue(property);
else if (isArray(property)) {
var props = {};
$.each(property, function (_, prop) {
props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop));
});
return props;
}
}
var css = '';
if (type(property) == 'string') {
if (!value && value !== 0)
this.each(function () {
this.style.removeProperty(dasherize(property));
});
else
css = dasherize(property) + ":" + maybeAddPx(property, value);
}
else {
for (key in property)
if (!property[key] && property[key] !== 0)
this.each(function () {
this.style.removeProperty(dasherize(key));
});
else
css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';';
}
return this.each(function () {
this.style.cssText += ';' + css;
});
},
index: function (element) {
return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0]);
},
hasClass: function (name) {
if (!name)
return false;
return emptyArray.some.call(this, function (el) {
return this.test(className(el));
}, classRE(name));
},
addClass: function (name) {
if (!name)
return this;
return this.each(function (idx) {
if (!('className' in this))
return;
classList = [];
var cls = className(this);
var newName = funcArg(this, name, idx, cls);
newName.split(/\s+/g).forEach(function (klass) {
if (!$(this).hasClass(klass))
classList.push(klass);
}, this);
classList.length && className(this, cls + (cls ? " " : "") + classList.join(" "));
});
},
removeClass: function (name) {
return this.each(function (idx) {
if (!('className' in this))
return;
if (name === undefined)
return className(this, '');
classList = className(this);
funcArg(this, name, idx, classList).split(/\s+/g).forEach(function (klass) {
classList = classList.replace(classRE(klass), " ");
});
className(this, classList.trim());
});
},
toggleClass: function (name, when) {
if (!name)
return this;
return this.each(function (idx) {
var $this = $(this);
var names = funcArg(this, name, idx, className(this));
names.split(/\s+/g).forEach(function (klass) {
(when === undefined ? !$this.hasClass(klass) : when) ? $this.addClass(klass) : $this.removeClass(klass);
});
});
},
scrollTop: function (value) {
if (!this.length)
return;
var hasScrollTop = 'scrollTop' in this[0];
if (value === undefined)
return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset;
return this.each(hasScrollTop ? function () {
this.scrollTop = value;
} : function () {
this.scrollTo(this.scrollX, value);
});
},
scrollLeft: function (value) {
if (!this.length)
return;
var hasScrollLeft = 'scrollLeft' in this[0];
if (value === undefined)
return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset;
return this.each(hasScrollLeft ? function () {
this.scrollLeft = value;
} : function () {
this.scrollTo(value, this.scrollY);
});
},
position: function () {
if (!this.length)
return;
var elem = this[0];
// Get *real* offsetParent
var offsetParent = this.offsetParent();
// Get correct offsets
var offset = this.offset();
var parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? {
top: 0,
left: 0
} : offsetParent.offset();
// Subtract element margins
// note: when an element has margin: auto the offsetLeft and marginLeft
// are the same in Safari causing offset.left to incorrectly be 0
offset.top -= parseFloat($(elem).css('margin-top')) || 0;
offset.left -= parseFloat($(elem).css('margin-left')) || 0;
// Add offsetParent borders
parentOffset.top += parseFloat($(offsetParent[0]).css('border-top-width')) || 0;
parentOffset.left += parseFloat($(offsetParent[0]).css('border-left-width')) || 0;
// Subtract the two offsets
return {
top: offset.top - parentOffset.top,
left: offset.left - parentOffset.left
};
},
offsetParent: function () {
return this.map(function () {
var parent = this.offsetParent || document.body;
while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
parent = parent.offsetParent;
return parent;
});
}
};
// for now
$.fn.detach = $.fn.remove
// Generate the `width` and `height` functions
;
[
'width',
'height'
].forEach(function (dimension) {
var dimensionProperty = dimension.replace(/./, function (m) {
return m[0].toUpperCase();
});
$.fn[dimension] = function (value) {
var offset;
var el = this[0];
if (value === undefined)
return isWindow(el) ? el['inner' + dimensionProperty] : isDocument(el) ? el.documentElement['scroll' + dimensionProperty] : (offset = this.offset()) && offset[dimension];
else
return this.each(function (idx) {
el = $(this);
el.css(dimension, funcArg(this, value, idx, el[dimension]()));
});
};
});
function traverseNode(node, fun) {
fun(node);
for (var i = 0, len = node.childNodes.length; i < len; i++)
traverseNode(node.childNodes[i], fun);
}
// Generate the `after`, `prepend`, `before`, `append`,
// `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.
adjacencyOperators.forEach(function (operator, operatorIndex) {
var inside = operatorIndex % 2; // => prepend, append
$.fn[operator] = function () {
// arguments can be nodes, arrays of nodes, Zepto objects and HTML strings
var argType;
var nodes = $.map(arguments, function (arg) {
argType = type(arg);
return argType == "object" || argType == "array" || arg == null ? arg : zepto.fragment(arg);
});
var parent;
var copyByClone = this.length > 1;
if (nodes.length < 1)
return this;
return this.each(function (_, target) {
parent = inside ? target : target.parentNode;
// convert all methods to a "before" operation
target = operatorIndex == 0 ? target.nextSibling : operatorIndex == 1 ? target.firstChild : operatorIndex == 2 ? target : null;
var parentInDocument = $.contains(document.documentElement, parent);
nodes.forEach(function (node) {
if (copyByClone)
node = node.cloneNode(true);
else if (!parent)
return $(node).remove();
parent.insertBefore(node, target);
if (parentInDocument)
traverseNode(node, function (el) {
if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' && (!el.type || el.type === 'text/javascript') && !el.src)
window['eval'].call(window, el.innerHTML);
});
});
});
};
// after => insertAfter
// prepend => prependTo
// before => insertBefore
// append => appendTo
$.fn[inside ? operator + 'To' : 'insert' + (operatorIndex ? 'Before' : 'After')] = function (html) {
$(html)[operator](this);
return this;
};
});
zepto.Z.prototype = $.fn;
// Export internal API functions in the `$.zepto` namespace
zepto.uniq = uniq;
zepto.deserializeValue = deserializeValue;
$.zepto = zepto;
return $;
})();
window.Zepto = Zepto;
window.$ === undefined && (window.$ = Zepto)
;
(function ($) {
var _zid = 1;
var undefined;
var slice = Array.prototype.slice;
var isFunction = $.isFunction;
var isString = function (obj) {
return typeof obj == 'string';
};
var handlers = {};
var specialEvents = {};
var focusinSupported = 'onfocusin' in window;
var focus = {
focus: 'focusin',
blur: 'focusout'
};
var hover = {
mouseenter: 'mouseover',
mouseleave: 'mouseout'
};
specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents';
function zid(element) {
return element._zid || (element._zid = _zid++);
}
function findHandlers(element, event, fn, selector) {
event = parse(event);
if (event.ns)
var matcher = matcherFor(event.ns);
return (handlers[zid(element)] || []).filter(function (handler) {
return handler && (!event.e || handler.e == event.e) && (!event.ns || matcher.test(handler.ns)) && (!fn || zid(handler.fn) === zid(fn)) && (!selector || handler.sel == selector);
});
}
function parse(event) {
var parts = ('' + event).split('.');
return {
e: parts[0],
ns: parts.slice(1).sort().join(' ')
};
}
function matcherFor(ns) {
return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)');
}
function eventCapture(handler, captureSetting) {
return handler.del && (!focusinSupported && (handler.e in focus)) || !!captureSetting;
}
function realEvent(type) {
return hover[type] || (focusinSupported && focus[type]) || type;
}
function add(element, events, fn, data, selector, delegator, capture) {
var id = zid(element);
var set = (handlers[id] || (handlers[id] = []));
events.split(/\s/).forEach(function (event) {
if (event == 'ready')
return $(document).ready(fn);
var handler = parse(event);
handler.fn = fn;
handler.sel = selector;
// emulate mouseenter, mouseleave
if (handler.e in hover)
fn = function (e) {
var related = e.relatedTarget;
if (!related || (related !== this && !$.contains(this, related)))
return handler.fn.apply(this, arguments);
};
handler.del = delegator;
var callback = delegator || fn;
handler.proxy = function (e) {
e = compatible(e);
if (e.isImmediatePropagationStopped())
return;
e.data = data;
var result = callback.apply(element, e._args == undefined ? [
e
] : [
e
].concat(e._args));
if (result === false)
e.preventDefault(), e.stopPropagation();
return result;
};
handler.i = set.length;
set.push(handler);
if ('addEventListener' in element)
element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
}
function remove(element, events, fn, selector, capture) {
var id = zid(element)
;
(events || '').split(/\s/).forEach(function (event) {
findHandlers(element, event, fn, selector).forEach(function (handler) {
delete handlers[id][handler.i];
if ('removeEventListener' in element)
element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture));
});
});
}
$.event = {
add: add,
remove: remove
};
$.proxy = function (fn, context) {
var args = (2 in arguments) && slice.call(arguments, 2);
if (isFunction(fn)) {
var proxyFn = function () {
return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments);
};
proxyFn._zid = zid(fn);
return proxyFn;
}
else if (isString(context)) {
if (args) {
args.unshift(fn[context], fn);
return $.proxy.apply(null, args);
}
else {
return $.proxy(fn[context], fn);
}
}
else {
throw new TypeError("expected function");
}
};
$.fn.bind = function (event, data, callback) {
return this.on(event, data, callback);
};
$.fn.unbind = function (event, callback) {
return this.off(event, callback);
};
$.fn.one = function (event, selector, data, callback) {
return this.on(event, selector, data, callback, 1);
};
var returnTrue = function () {
return true;
};
var returnFalse = function () {
return false;
};
var ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$)/;
var eventMethods = {
preventDefault: 'isDefaultPrevented',
stopImmediatePropagation: 'isImmediatePropagationStopped',
stopPropagation: 'isPropagationStopped'
};
function compatible(event, source) {
if (source || !event.isDefaultPrevented) {
source || (source = event);
$.each(eventMethods, function (name, predicate) {
var sourceMethod = source[name];
event[name] = function () {
this[predicate] = returnTrue;
return sourceMethod && sourceMethod.apply(source, arguments);
};
event[predicate] = returnFalse;
});
if (source.defaultPrevented !== undefined ? source.defaultPrevented : 'returnValue' in source ? source.returnValue === false : source.getPreventDefault && source.getPreventDefault())
event.isDefaultPrevented = returnTrue;
}
return event;
}
function createProxy(event) {
var key;
var proxy = {
originalEvent: event
};
for (key in event)
if (!ignoreProperties.test(key) && event[key] !== undefined)
proxy[key] = event[key];
return compatible(proxy, event);
}
$.fn.delegate = function (selector, event, callback) {
return this.on(event, selector, callback);
};
$.fn.undelegate = function (selector, event, callback) {
return this.off(event, selector, callback);
};
$.fn.live = function (event, callback) {
$(document.body).delegate(this.selector, event, callback);
return this;
};
$.fn.die = function (event, callback) {
$(document.body).undelegate(this.selector, event, callback);
return this;
};
$.fn.on = function (event, selector, data, callback, one) {
var autoRemove;
var delegator;
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.on(type, selector, data, fn, one);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = data, data = selector, selector = undefined;
if (isFunction(data) || data === false)
callback = data, data = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function (_, element) {
if (one)
autoRemove = function (e) {
remove(element, e.type, callback);
return callback.apply(this, arguments);
};
if (selector)
delegator = function (e) {
var evt;
var match = $(e.target).closest(selector, element).get(0);
if (match && match !== element) {
evt = $.extend(createProxy(e), {
currentTarget: match,
liveFired: element
});
return (autoRemove || callback).apply(match, [
evt
].concat(slice.call(arguments, 1)));
}
};
add(element, event, callback, data, selector, delegator || autoRemove);
});
};
$.fn.off = function (event, selector, callback) {
var $this = this;
if (event && !isString(event)) {
$.each(event, function (type, fn) {
$this.off(type, selector, fn);
});
return $this;
}
if (!isString(selector) && !isFunction(callback) && callback !== false)
callback = selector, selector = undefined;
if (callback === false)
callback = returnFalse;
return $this.each(function () {
remove(this, event, callback, selector);
});
};
$.fn.trigger = function (event, args) {
event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event);
event._args = args;
return this.each(function () {
// handle focus(), blur() by calling them directly
if (event.type in focus && typeof this[event.type] == "function")
this[event.type]();
// items in the collection might not be DOM elements
else if ('dispatchEvent' in this)
this.dispatchEvent(event);
else
$(this).triggerHandler(event, args);
});
};
// triggers event handlers on current element just as if an event occurred,
// doesn't trigger an actual event, doesn't bubble
$.fn.triggerHandler = function (event, args) {
var e;
var result;
this.each(function (i, element) {
e = createProxy(isString(event) ? $.Event(event) : event);
e._args = args;
e.target = element;
$.each(findHandlers(element, event.type || event), function (i, handler) {
result = handler.proxy(e);
if (e.isImmediatePropagationStopped())
return false;
});
});
return result;
}
// shortcut methods for `.bind(event, fn)` for each event type
;
('focusin focusout focus blur load resize scroll unload click dblclick ' + 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave ' + 'change select keydown keypress keyup error').split(' ').forEach(function (event) {
$.fn[event] = function (callback) {
return (0 in arguments) ? this.bind(event, callback) : this.trigger(event);
};
});
$.Event = function (type, props) {
if (!isString(type))
props = type, type = props.type;
var event = document.createEvent(specialEvents[type] || 'Events');
var bubbles = true;
if (props)
for (var name in props)
(name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]);
event.initEvent(type, bubbles, true);
return compatible(event);
};
})(Zepto)
;
(function ($) {
var jsonpID = 0;
var document = window.document;
var key;
var name;
var rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;
var scriptTypeRE = /^(?:text|application)\/javascript/i;
var xmlTypeRE = /^(?:text|application)\/xml/i;
var jsonType = 'application/json';
var htmlType = 'text/html';
var blankRE = /^\s*$/;
var originAnchor = document.createElement('a');
originAnchor.href = window.location.href;
// trigger a custom event and return false if it was cancelled
function triggerAndReturn(context, eventName, data) {
var event = $.Event(eventName);
$(context).trigger(event, data);
return !event.isDefaultPrevented();
}
// trigger an Ajax "global" event
function triggerGlobal(settings, context, eventName, data) {
if (settings.global)
return triggerAndReturn(context || document, eventName, data);
}
// Number of active Ajax requests
$.active = 0;
function ajaxStart(settings) {
if (settings.global && $.active++ === 0)
triggerGlobal(settings, null, 'ajaxStart');
}
function ajaxStop(settings) {
if (settings.global && !(--$.active))
triggerGlobal(settings, null, 'ajaxStop');
}
// triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable
function ajaxBeforeSend(xhr, settings) {
var context = settings.context;
if (settings.beforeSend.call(context, xhr, settings) === false || triggerGlobal(settings, context, 'ajaxBeforeSend', [
xhr,
settings
]) === false)
return false;
triggerGlobal(settings, context, 'ajaxSend', [
xhr,
settings
]);
}
function ajaxSuccess(data, xhr, settings, deferred) {
var context = settings.context;
var status = 'success';
settings.success.call(context, data, status, xhr);
if (deferred)
deferred.resolveWith(context, [
data,
status,
xhr
]);
triggerGlobal(settings, context, 'ajaxSuccess', [
xhr,
settings,
data
]);
ajaxComplete(status, xhr, settings);
}
// type: "timeout", "error", "abort", "parsererror"
function ajaxError(error, type, xhr, settings, deferred) {
var context = settings.context;
settings.error.call(context, xhr, type, error);
if (deferred)
deferred.rejectWith(context, [
xhr,
type,
error
]);
triggerGlobal(settings, context, 'ajaxError', [
xhr,
settings,
error || type
]);
ajaxComplete(type, xhr, settings);
}
// status: "success", "notmodified", "error", "timeout", "abort", "parsererror"
function ajaxComplete(status, xhr, settings) {
var context = settings.context;
settings.complete.call(context, xhr, status);
triggerGlobal(settings, context, 'ajaxComplete', [
xhr,
settings
]);
ajaxStop(settings);
}
// Empty function, used as default callback
function empty() {
}
$.ajaxJSONP = function (options, deferred) {
if (!('type' in options))
return $.ajax(options);
var _callbackName = options.jsonpCallback;
var callbackName = ($.isFunction(_callbackName) ? _callbackName() : _callbackName) || ('jsonp' + (++jsonpID));
var script = document.createElement('script');
var originalCallback = window[callbackName];
var responseData;
var abort = function (errorType) {
$(script).triggerHandler('error', errorType || 'abort');
};
var xhr = {
abort: abort
};
var abortTimeout;
if (deferred)
deferred.promise(xhr);
$(script).on('load error', function (e, errorType) {
clearTimeout(abortTimeout);
$(script).off().remove();
if (e.type == 'error' || !responseData) {
ajaxError(null, errorType || 'error', xhr, options, deferred);
}
else {
ajaxSuccess(responseData[0], xhr, options, deferred);
}
window[callbackName] = originalCallback;
if (responseData && $.isFunction(originalCallback))
originalCallback(responseData[0]);
originalCallback = responseData = undefined;
});
if (ajaxBeforeSend(xhr, options) === false) {
abort('abort');
return xhr;
}
window[callbackName] = function () {
responseData = arguments;
};
script.src = options.url.replace(/\?(.+)=\?/, '?$1=' + callbackName);
document.head.appendChild(script);
if (options.timeout > 0)
abortTimeout = setTimeout(function () {
abort('timeout');
}, options.timeout);
return xhr;
};
$.ajaxSettings = {
// Default type of request
type: 'GET',
// Callback that is executed before request
beforeSend: empty,
// Callback that is executed if the request succeeds
success: empty,
// Callback that is executed the the server drops error
error: empty,
// Callback that is executed on request complete (both: error and success)
complete: empty,
// The context for the callbacks
context: null,
// Whether to trigger "global" Ajax events
global: true,
// Transport
xhr: function () {
return new window.XMLHttpRequest();
},
// MIME types mapping
// IIS returns Javascript as "application/x-javascript"
accepts: {
script: 'text/javascript, application/javascript, application/x-javascript',
json: jsonType,
xml: 'application/xml, text/xml',
html: htmlType,
text: 'text/plain'
},
// Whether the request is to another domain
crossDomain: false,
// Default timeout
timeout: 0,
// Whether data should be serialized to string
processData: true,
// Whether the browser should be allowed to cache GET responses
cache: true
};
function mimeToDataType(mime) {
if (mime)
mime = mime.split(';', 2)[0];
return mime && (mime == htmlType ? 'html' : mime == jsonType ? 'json' : scriptTypeRE.test(mime) ? 'script' : xmlTypeRE.test(mime) && 'xml') || 'text';
}
function appendQuery(url, query) {
if (query == '')
return url;
return (url + '&' + query).replace(/[&?]{1,2}/, '?');
}
// serialize payload and append it to the URL for GET requests
function serializeData(options) {
if (options.processData && options.data && $.type(options.data) != "string")
options.data = $.param(options.data, options.traditional);
if (options.data && (!options.type || options.type.toUpperCase() == 'GET'))
options.url = appendQuery(options.url, options.data), options.data = undefined;
}
$.ajax = function (options) {
var settings = $.extend({}, options || {});
var deferred = $.Deferred && $.Deferred();
var urlAnchor;
for (key in $.ajaxSettings)
if (settings[key] === undefined)
settings[key] = $.ajaxSettings[key];
ajaxStart(settings);
if (!settings.crossDomain) {
urlAnchor = document.createElement('a');
urlAnchor.href = settings.url;
urlAnchor.href = urlAnchor.href;
settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host);
}
if (!settings.url)
settings.url = window.location.toString();
serializeData(settings);
var dataType = settings.dataType;
var hasPlaceholder = /\?.+=\?/.test(settings.url);
if (hasPlaceholder)
dataType = 'jsonp';
if (settings.cache === false || ((!options || options.cache !== true) && ('script' == dataType || 'jsonp' == dataType)))
settings.url = appendQuery(settings.url, '_=' + Date.now());
if ('jsonp' == dataType) {
if (!hasPlaceholder)
settings.url = appendQuery(settings.url, settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?');
return $.ajaxJSONP(settings, deferred);
}
var mime = settings.accepts[dataType];
var headers = {};
var setHeader = function (name, value) {
headers[name.toLowerCase()] = [
name,
value
];
};
var protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol;
var xhr = settings.xhr();
var nativeSetHeader = xhr.setRequestHeader;
var abortTimeout;
if (deferred)
deferred.promise(xhr);
if (!settings.crossDomain)
setHeader('X-Requested-With', 'XMLHttpRequest');
setHeader('Accept', mime || '*/*');
if (mime = settings.mimeType || mime) {
if (mime.indexOf(',') > -1)
mime = mime.split(',', 2)[0];
xhr.overrideMimeType && xhr.overrideMimeType(mime);
}
if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))
setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded');
if (settings.headers)
for (name in settings.headers)
setHeader(name, settings.headers[name]);
xhr.setRequestHeader = setHeader;
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
xhr.onreadystatechange = empty;
clearTimeout(abortTimeout);
var result;
var error = false;
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'));
result = xhr.responseText;
try {
// path_to_url
if (dataType == 'script')
(1, eval)(result);
else if (dataType == 'xml')
result = xhr.responseXML;
else if (dataType == 'json')
result = blankRE.test(result) ? null : $.parseJSON(result);
}
catch (e) {
error = e;
}
if (error)
ajaxError(error, 'parsererror', xhr, settings, deferred);
else
ajaxSuccess(result, xhr, settings, deferred);
}
else {
ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred);
}
}
};
if (ajaxBeforeSend(xhr, settings) === false) {
xhr.abort();
ajaxError(null, 'abort', xhr, settings, deferred);
return xhr;
}
if (settings.xhrFields)
for (name in settings.xhrFields)
xhr[name] = settings.xhrFields[name];
var async = 'async' in settings ? settings.async : true;
xhr.open(settings.type, settings.url, async, settings.username, settings.password);
for (name in headers)
nativeSetHeader.apply(xhr, headers[name]);
if (settings.timeout > 0)
abortTimeout = setTimeout(function () {
xhr.onreadystatechange = empty;
xhr.abort();
ajaxError(null, 'timeout', xhr, settings, deferred);
}, settings.timeout);
// avoid sending empty string (#319)
xhr.send(settings.data ? settings.data : null);
return xhr;
};
// handle optional data/success arguments
function parseArguments(url, data, success, dataType) {
if ($.isFunction(data))
dataType = success, success = data, data = undefined;
if (!$.isFunction(success))
dataType = success, success = undefined;
return {
url: url,
data: data,
success: success,
dataType: dataType
};
}
$.get = function (
/* url, data, success, dataType */ ) {
return $.ajax(parseArguments.apply(null, arguments));
};
$.post = function (
/* url, data, success, dataType */ ) {
var options = parseArguments.apply(null, arguments);
options.type = 'POST';
return $.ajax(options);
};
$.getJSON = function (
/* url, data, success */ ) {
var options = parseArguments.apply(null, arguments);
options.dataType = 'json';
return $.ajax(options);
};
$.fn.load = function (url, data, success) {
if (!this.length)
return this;
var self = this;
var parts = url.split(/\s/);
var selector;
var options = parseArguments(url, data, success);
var callback = options.success;
if (parts.length > 1)
options.url = parts[0], selector = parts[1];
options.success = function (response) {
self.html(selector ? $('<div>').html(response.replace(rscript, "")).find(selector) : response);
callback && callback.apply(self, arguments);
};
$.ajax(options);
return this;
};
var escape = encodeURIComponent;
function serialize(params, obj, traditional, scope) {
var type;
var array = $.isArray(obj);
var hash = $.isPlainObject(obj);
$.each(obj, function (key, value) {
type = $.type(value);
if (scope)
key = traditional ? scope : scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']';
// handle data in serializeArray() format
if (!scope && array)
params.add(value.name, value.value);
// recurse into nested objects
else if (type == "array" || (!traditional && type == "object"))
serialize(params, value, traditional, key);
else
params.add(key, value);
});
}
$.param = function (obj, traditional) {
var params = [];
params.add = function (key, value) {
if ($.isFunction(value))
value = value();
if (value == null)
value = "";
this.push(escape(key) + '=' + escape(value));
};
serialize(params, obj, traditional);
return params.join('&').replace(/%20/g, '+');
};
})(Zepto)
;
(function ($) {
$.fn.serializeArray = function () {
var name;
var type;
var result = [];
var add = function (value) {
if (value.forEach)
return value.forEach(add);
result.push({
name: name,
value: value
});
};
if (this[0])
$.each(this[0].elements, function (_, field) {
type = field.type, name = field.name;
if (name && field.nodeName.toLowerCase() != 'fieldset' && !field.disabled && type != 'submit' && type != 'reset' && type != 'button' && type != 'file' && ((type != 'radio' && type != 'checkbox') || field.checked))
add($(field).val());
});
return result;
};
$.fn.serialize = function () {
var result = [];
this.serializeArray().forEach(function (elm) {
result.push(encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value));
});
return result.join('&');
};
$.fn.submit = function (callback) {
if (0 in arguments)
this.bind('submit', callback);
else if (this.length) {
var event = $.Event('submit');
this.eq(0).trigger(event);
if (!event.isDefaultPrevented())
this.get(0).submit();
}
return this;
};
})(Zepto)
;
(function ($) {
// __proto__ doesn't exist on IE<11, so redefine
// the Z function to use object extension instead
if (!('__proto__' in {})) {
$.extend($.zepto, {
Z: function (dom, selector) {
dom = dom || [];
$.extend(dom, $.fn);
dom.selector = selector || '';
dom.__Z = true;
return dom;
},
// this is a kludge but works
isZ: function (object) {
return $.type(object) === 'array' && '__Z' in object;
}
});
}
// getComputedStyle shouldn't freak out when called
// without a valid element as argument
try {
getComputedStyle(undefined);
}
catch (e) {
var nativeGetComputedStyle = getComputedStyle;
window.getComputedStyle = function (element) {
try {
return nativeGetComputedStyle(element);
}
catch (e) {
return null;
}
};
}
})(Zepto);
```
|
/content/code_sandbox/demo/datepicker/zepto.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 14,120
|
```html
<!DOCTYPE html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../src/iosSelect.css">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?b25bf95dd99f58452db28b1e99a1a46f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<a href="path_to_url"></a>
<div class="form-item item-line" id="selectDate">
<label></label>
<div class="pc-box">
<span data-year="" data-month="" data-date="" id="showDate"></span>
</div>
</div>
</body>
<script src="zepto.js"></script>
<script src="../../src/iosSelect.js"></script>
<script type="text/javascript">
var selectDateDom = $('#selectDate');
var showDateDom = $('#showDate');
//
var now = new Date();
var nowYear = now.getFullYear();
var nowMonth = now.getMonth() + 1;
var nowDate = now.getDate();
showDateDom.attr('data-year', nowYear);
showDateDom.attr('data-month', nowMonth);
showDateDom.attr('data-date', nowDate);
//
function formatYear (nowYear) {
var arr = [];
for (var i = nowYear - 5; i <= nowYear + 5; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
function formatMonth () {
var arr = [];
for (var i = 1; i <= 12; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
function formatDate (count) {
var arr = [];
for (var i = 1; i <= count; i++) {
arr.push({
id: i + '',
value: i + ''
});
}
return arr;
}
var yearData = function(callback) {
// settimeout
// setTimeout(function() {
callback(formatYear(nowYear))
// }, 2000)
}
var monthData = function (year, callback) {
// settimeout
// setTimeout(function() {
callback(formatMonth());
// }, 2000);
};
var dateData = function (year, month, callback) {
// settimeout
// setTimeout(function() {
if (/^(1|3|5|7|8|10|12)$/.test(month)) {
callback(formatDate(31));
}
else if (/^(4|6|9|11)$/.test(month)) {
callback(formatDate(30));
}
else if (/^2$/.test(month)) {
if (year % 4 === 0 && year % 100 !==0 || year % 400 === 0) {
callback(formatDate(29));
}
else {
callback(formatDate(28));
}
}
else {
throw new Error('month is illegal');
}
// }, 2000);
// ajax
/*
$.ajax({
type: 'get',
url: '/example',
success: function(data) {
callback(data);
}
});
*/
};
selectDateDom.bind('click', function () {
var oneLevelId = showDateDom.attr('data-year');
var twoLevelId = showDateDom.attr('data-month');
var threeLevelId = showDateDom.attr('data-date');
var iosSelect = new IosSelect(3,
[yearData, monthData, dateData],
{
title: '',
itemHeight: 35,
oneLevelId: oneLevelId,
twoLevelId: twoLevelId,
threeLevelId: threeLevelId,
showLoading: true,
callback: function (selectOneObj, selectTwoObj, selectThreeObj) {
showDateDom.attr('data-year', selectOneObj.id);
showDateDom.attr('data-month', selectTwoObj.id);
showDateDom.attr('data-date', selectThreeObj.id);
showDateDom.html(selectOneObj.value + ' ' + selectTwoObj.value + ' ' + selectThreeObj.value);
}
});
});
</script>
</body>
</html>
```
|
/content/code_sandbox/demo/datepicker/date.html
|
html
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 1,028
|
```javascript
//
var iosProvinces = [
/***************/
{'id': '110000', 'value': '', 'parentId': '0'},
{'id': '120000', 'value': '', 'parentId': '0'},
{'id': '130000', 'value': '', 'parentId': '0'},
{'id': '140000', 'value': '', 'parentId': '0'},
{'id': '150000', 'value': '', 'parentId': '0'},
/***************/
{'id': '210000', 'value': '', 'parentId': '0'},
{'id': '220000', 'value': '', 'parentId': '0'},
{'id': '230000', 'value': '', 'parentId': '0'},
/***************/
{'id': '310000', 'value': '', 'parentId': '0'},
{'id': '320000', 'value': '', 'parentId': '0'},
{'id': '330000', 'value': '', 'parentId': '0'},
{'id': '340000', 'value': '', 'parentId': '0'},
{'id': '350000', 'value': '', 'parentId': '0'},
{'id': '360000', 'value': '', 'parentId': '0'},
{'id': '370000', 'value': '', 'parentId': '0'},
/**********/
{'id': '410000', 'value': '', 'parentId': '0'},
{'id': '420000', 'value': '', 'parentId': '0'},
{'id': '430000', 'value': '', 'parentId': '0'},
{'id': '440000', 'value': '', 'parentId': '0'},
{'id': '450000', 'value': '', 'parentId': '0'},
{'id': '460000', 'value': '', 'parentId': '0'},
/**********/
{'id': '500000', 'value': '', 'parentId': '0'},
{'id': '510000', 'value': '', 'parentId': '0'},
{'id': '520000', 'value': '', 'parentId': '0'},
{'id': '530000', 'value': '', 'parentId': '0'},
{'id': '540000', 'value': '', 'parentId': '0'},
/**********/
{'id': '610000', 'value': '', 'parentId': '0'},
{'id': '620000', 'value': '', 'parentId': '0'},
{'id': '630000', 'value': '', 'parentId': '0'},
{'id': '640000', 'value': '', 'parentId': '0'},
{'id': '650000', 'value': '', 'parentId': '0'}
];
//
var iosCitys = [
/******************/
{"id":"110100","value":"","parentId":"110000"},
/******************/
{"id":"120100","value":"","parentId":"120000"},
/******************/
{"id":"130100","value":"","parentId":"130000"},
{"id":"130200","value":"","parentId":"130000"},
{"id":"130300","value":"","parentId":"130000"},
{"id":"130400","value":"","parentId":"130000"},
{"id":"130500","value":"","parentId":"130000"},
{"id":"130600","value":"","parentId":"130000"},
{"id":"130700","value":"","parentId":"130000"},
{"id":"130800","value":"","parentId":"130000"},
{"id":"130900","value":"","parentId":"130000"},
{"id":"131000","value":"","parentId":"130000"},
{"id":"131100","value":"","parentId":"130000"},
/******************/
{"id":"140100","value":"","parentId":"140000"},
{"id":"140200","value":"","parentId":"140000"},
{"id":"140300","value":"","parentId":"140000"},
{"id":"140400","value":"","parentId":"140000"},
{"id":"140500","value":"","parentId":"140000"},
{"id":"140600","value":"","parentId":"140000"},
{"id":"140700","value":"","parentId":"140000"},
{"id":"140800","value":"","parentId":"140000"},
{"id":"140900","value":"","parentId":"140000"},
{"id":"141000","value":"","parentId":"140000"},
{"id":"141100","value":"","parentId":"140000"},
/******************/
{"id":"150100","value":"","parentId":"150000"},
{"id":"150200","value":"","parentId":"150000"},
{"id":"150300","value":"","parentId":"150000"},
{"id":"150400","value":"","parentId":"150000"},
{"id":"150500","value":"","parentId":"150000"},
{"id":"150600","value":"","parentId":"150000"},
{"id":"150700","value":"","parentId":"150000"},
{"id":"150800","value":"","parentId":"150000"},
{"id":"150900","value":"","parentId":"150000"},
{"id":"152200","value":"","parentId":"150000"},
{"id":"152500","value":"","parentId":"150000"},
{"id":"152900","value":"","parentId":"150000"},
/******************/
{"id":"210100","value":"","parentId":"210000"},
{"id":"210200","value":"","parentId":"210000"},
{"id":"210300","value":"","parentId":"210000"},
{"id":"210400","value":"","parentId":"210000"},
{"id":"210500","value":"","parentId":"210000"},
{"id":"210600","value":"","parentId":"210000"},
{"id":"210700","value":"","parentId":"210000"},
{"id":"210800","value":"","parentId":"210000"},
{"id":"210900","value":"","parentId":"210000"},
{"id":"211000","value":"","parentId":"210000"},
{"id":"211100","value":"","parentId":"210000"},
{"id":"211200","value":"","parentId":"210000"},
{"id":"211300","value":"","parentId":"210000"},
{"id":"211400","value":"","parentId":"210000"},
/******************/
{"id":"220100","value":"","parentId":"220000"},
{"id":"220200","value":"","parentId":"220000"},
{"id":"220300","value":"","parentId":"220000"},
{"id":"220400","value":"","parentId":"220000"},
{"id":"220500","value":"","parentId":"220000"},
{"id":"220600","value":"","parentId":"220000"},
{"id":"220700","value":"","parentId":"220000"},
{"id":"220800","value":"","parentId":"220000"},
{"id":"222400","value":"","parentId":"220000"},
/******************/
{"id":"230100","value":"","parentId":"230000"},
{"id":"230200","value":"","parentId":"230000"},
{"id":"230300","value":"","parentId":"230000"},
{"id":"230400","value":"","parentId":"230000"},
{"id":"230500","value":"","parentId":"230000"},
{"id":"230600","value":"","parentId":"230000"},
{"id":"230700","value":"","parentId":"230000"},
{"id":"230800","value":"","parentId":"230000"},
{"id":"230900","value":"","parentId":"230000"},
{"id":"231000","value":"","parentId":"230000"},
{"id":"231100","value":"","parentId":"230000"},
{"id":"231200","value":"","parentId":"230000"},
{"id":"232700","value":"","parentId":"230000"},
/******************/
{"id":"310100","value":"","parentId":"310000"},
/******************/
{"id":"320100","value":"","parentId":"320000"},
{"id":"320200","value":"","parentId":"320000"},
{"id":"320300","value":"","parentId":"320000"},
{"id":"320400","value":"","parentId":"320000"},
{"id":"320500","value":"","parentId":"320000"},
{"id":"320600","value":"","parentId":"320000"},
{"id":"320700","value":"","parentId":"320000"},
{"id":"320800","value":"","parentId":"320000"},
{"id":"320900","value":"","parentId":"320000"},
{"id":"321000","value":"","parentId":"320000"},
{"id":"321100","value":"","parentId":"320000"},
{"id":"321200","value":"","parentId":"320000"},
{"id":"321300","value":"","parentId":"320000"},
/******************/
{"id":"330100","value":"","parentId":"330000"},
{"id":"330200","value":"","parentId":"330000"},
{"id":"330300","value":"","parentId":"330000"},
{"id":"330400","value":"","parentId":"330000"},
{"id":"330500","value":"","parentId":"330000"},
{"id":"330600","value":"","parentId":"330000"},
{"id":"330700","value":"","parentId":"330000"},
{"id":"330800","value":"","parentId":"330000"},
{"id":"330900","value":"","parentId":"330000"},
{"id":"331000","value":"","parentId":"330000"},
{"id":"331100","value":"","parentId":"330000"},
/******************/
{"id":"340100","value":"","parentId":"340000"},
{"id":"340200","value":"","parentId":"340000"},
{"id":"340300","value":"","parentId":"340000"},
{"id":"340400","value":"","parentId":"340000"},
{"id":"340500","value":"","parentId":"340000"},
{"id":"340600","value":"","parentId":"340000"},
{"id":"340700","value":"","parentId":"340000"},
{"id":"340800","value":"","parentId":"340000"},
{"id":"341000","value":"","parentId":"340000"},
{"id":"341100","value":"","parentId":"340000"},
{"id":"341200","value":"","parentId":"340000"},
{"id":"341300","value":"","parentId":"340000"},
{"id":"341500","value":"","parentId":"340000"},
{"id":"341600","value":"","parentId":"340000"},
{"id":"341700","value":"","parentId":"340000"},
{"id":"341800","value":"","parentId":"340000"},
/******************/
{"id":"350100","value":"","parentId":"350000"},
{"id":"350200","value":"","parentId":"350000"},
{"id":"350300","value":"","parentId":"350000"},
{"id":"350400","value":"","parentId":"350000"},
{"id":"350500","value":"","parentId":"350000"},
{"id":"350600","value":"","parentId":"350000"},
{"id":"350700","value":"","parentId":"350000"},
{"id":"350800","value":"","parentId":"350000"},
{"id":"350900","value":"","parentId":"350000"},
/******************/
{"id":"360100","value":"","parentId":"360000"},
{"id":"360200","value":"","parentId":"360000"},
{"id":"360300","value":"","parentId":"360000"},
{"id":"360400","value":"","parentId":"360000"},
{"id":"360500","value":"","parentId":"360000"},
{"id":"360600","value":"","parentId":"360000"},
{"id":"360700","value":"","parentId":"360000"},
{"id":"360800","value":"","parentId":"360000"},
{"id":"360900","value":"","parentId":"360000"},
{"id":"361000","value":"","parentId":"360000"},
{"id":"361100","value":"","parentId":"360000"},
/******************/
{"id":"370100","value":"","parentId":"370000"},
{"id":"370200","value":"","parentId":"370000"},
{"id":"370300","value":"","parentId":"370000"},
{"id":"370400","value":"","parentId":"370000"},
{"id":"370500","value":"","parentId":"370000"},
{"id":"370600","value":"","parentId":"370000"},
{"id":"370700","value":"","parentId":"370000"},
{"id":"370800","value":"","parentId":"370000"},
{"id":"370900","value":"","parentId":"370000"},
{"id":"371000","value":"","parentId":"370000"},
{"id":"371100","value":"","parentId":"370000"},
{"id":"371200","value":"","parentId":"370000"},
{"id":"371300","value":"","parentId":"370000"},
{"id":"371400","value":"","parentId":"370000"},
{"id":"371500","value":"","parentId":"370000"},
{"id":"371600","value":"","parentId":"370000"},
{"id":"371700","value":"","parentId":"370000"},
/******************/
{"id":"410100","value":"","parentId":"410000"},
{"id":"410200","value":"","parentId":"410000"},
{"id":"410300","value":"","parentId":"410000"},
{"id":"410400","value":"","parentId":"410000"},
{"id":"410500","value":"","parentId":"410000"},
{"id":"410600","value":"","parentId":"410000"},
{"id":"410700","value":"","parentId":"410000"},
{"id":"410800","value":"","parentId":"410000"},
{"id":"410900","value":"","parentId":"410000"},
{"id":"411000","value":"","parentId":"410000"},
{"id":"411100","value":"","parentId":"410000"},
{"id":"411200","value":"","parentId":"410000"},
{"id":"411300","value":"","parentId":"410000"},
{"id":"411400","value":"","parentId":"410000"},
{"id":"411500","value":"","parentId":"410000"},
{"id":"411600","value":"","parentId":"410000"},
{"id":"411700","value":"","parentId":"410000"},
/****/
{"id":"419001","value":"","parentId":"410000"},
/******************/
{"id":"420100","value":"","parentId":"420000"},
{"id":"420200","value":"","parentId":"420000"},
{"id":"420300","value":"","parentId":"420000"},
{"id":"420500","value":"","parentId":"420000"},
{"id":"420600","value":"","parentId":"420000"},
{"id":"420700","value":"","parentId":"420000"},
{"id":"420800","value":"","parentId":"420000"},
{"id":"420900","value":"","parentId":"420000"},
{"id":"421000","value":"","parentId":"420000"},
{"id":"421100","value":"","parentId":"420000"},
{"id":"421200","value":"","parentId":"420000"},
{"id":"421300","value":"","parentId":"420000"},
{"id":"422800","value":"","parentId":"420000"},
/****/
{"id":"429004","value":"","parentId":"420000"},
{"id":"429005","value":"","parentId":"420000"},
{"id":"429006","value":"","parentId":"420000"},
{"id":"429021","value":"","parentId":"420000"},
/******************/
{"id":"430100","value":"","parentId":"430000"},
{"id":"430200","value":"","parentId":"430000"},
{"id":"430300","value":"","parentId":"430000"},
{"id":"430400","value":"","parentId":"430000"},
{"id":"430500","value":"","parentId":"430000"},
{"id":"430600","value":"","parentId":"430000"},
{"id":"430700","value":"","parentId":"430000"},
{"id":"430800","value":"","parentId":"430000"},
{"id":"430900","value":"","parentId":"430000"},
{"id":"431000","value":"","parentId":"430000"},
{"id":"431100","value":"","parentId":"430000"},
{"id":"431200","value":"","parentId":"430000"},
{"id":"431300","value":"","parentId":"430000"},
{"id":"433100","value":"","parentId":"430000"},
/******************/
{"id":"440100","value":"","parentId":"440000"},
{"id":"440200","value":"","parentId":"440000"},
{"id":"440300","value":"","parentId":"440000"},
{"id":"440400","value":"","parentId":"440000"},
{"id":"440500","value":"","parentId":"440000"},
{"id":"440600","value":"","parentId":"440000"},
{"id":"440700","value":"","parentId":"440000"},
{"id":"440800","value":"","parentId":"440000"},
{"id":"440900","value":"","parentId":"440000"},
{"id":"441200","value":"","parentId":"440000"},
{"id":"441300","value":"","parentId":"440000"},
{"id":"441400","value":"","parentId":"440000"},
{"id":"441500","value":"","parentId":"440000"},
{"id":"441600","value":"","parentId":"440000"},
{"id":"441700","value":"","parentId":"440000"},
{"id":"441800","value":"","parentId":"440000"},
{"id":"441900","value":"","parentId":"440000"},
{"id":"442000","value":"","parentId":"440000"},
{"id":"445100","value":"","parentId":"440000"},
{"id":"445200","value":"","parentId":"440000"},
{"id":"445300","value":"","parentId":"440000"},
/******************/
{"id":"450100","value":"","parentId":"450000"},
{"id":"450200","value":"","parentId":"450000"},
{"id":"450300","value":"","parentId":"450000"},
{"id":"450400","value":"","parentId":"450000"},
{"id":"450500","value":"","parentId":"450000"},
{"id":"450600","value":"","parentId":"450000"},
{"id":"450700","value":"","parentId":"450000"},
{"id":"450800","value":"","parentId":"450000"},
{"id":"450900","value":"","parentId":"450000"},
{"id":"451000","value":"","parentId":"450000"},
{"id":"451100","value":"","parentId":"450000"},
{"id":"451200","value":"","parentId":"450000"},
{"id":"451300","value":"","parentId":"450000"},
{"id":"451400","value":"","parentId":"450000"},
/******************/
{"id":"460100","value":"","parentId":"460000"},
{"id":"460200","value":"","parentId":"460000"},
{"id":"460300","value":"","parentId":"460000"},
/****/
{"id":"469001","value":"","parentId":"460000"},
{"id":"469002","value":"","parentId":"460000"},
{"id":"469003","value":"","parentId":"460000"},
{"id":"469005","value":"","parentId":"460000"},
{"id":"469006","value":"","parentId":"460000"},
{"id":"469007","value":"","parentId":"460000"},
{"id":"469021","value":"","parentId":"460000"},
{"id":"469022","value":"","parentId":"460000"},
{"id":"469023","value":"","parentId":"460000"},
{"id":"469024","value":"","parentId":"460000"},
{"id":"469025","value":"","parentId":"460000"},
{"id":"469026","value":"","parentId":"460000"},
{"id":"469027","value":"","parentId":"460000"},
{"id":"469028","value":"","parentId":"460000"},
{"id":"469029","value":"","parentId":"460000"},
{"id":"469030","value":"","parentId":"460000"},
/******************/
{"id":"500100","value":"","parentId":"500000"},
/******************/
{"id":"510100","value":"","parentId":"510000"},
{"id":"510300","value":"","parentId":"510000"},
{"id":"510400","value":"","parentId":"510000"},
{"id":"510500","value":"","parentId":"510000"},
{"id":"510600","value":"","parentId":"510000"},
{"id":"510700","value":"","parentId":"510000"},
{"id":"510800","value":"","parentId":"510000"},
{"id":"510900","value":"","parentId":"510000"},
{"id":"511000","value":"","parentId":"510000"},
{"id":"511100","value":"","parentId":"510000"},
{"id":"511300","value":"","parentId":"510000"},
{"id":"511400","value":"","parentId":"510000"},
{"id":"511500","value":"","parentId":"510000"},
{"id":"511600","value":"","parentId":"510000"},
{"id":"511700","value":"","parentId":"510000"},
{"id":"511800","value":"","parentId":"510000"},
{"id":"511900","value":"","parentId":"510000"},
{"id":"512000","value":"","parentId":"510000"},
{"id":"513200","value":"","parentId":"510000"},
{"id":"513300","value":"","parentId":"510000"},
{"id":"513400","value":"","parentId":"510000"},
/******************/
{"id":"520100","value":"","parentId":"520000"},
{"id":"520200","value":"","parentId":"520000"},
{"id":"520300","value":"","parentId":"520000"},
{"id":"520400","value":"","parentId":"520000"},
{"id":"522200","value":"","parentId":"520000"},
{"id":"522300","value":"","parentId":"520000"},
{"id":"522400","value":"","parentId":"520000"},
{"id":"522600","value":"","parentId":"520000"},
{"id":"522700","value":"","parentId":"520000"},
/******************/
{"id":"530100","value":"","parentId":"530000"},
{"id":"530300","value":"","parentId":"530000"},
{"id":"530400","value":"","parentId":"530000"},
{"id":"530500","value":"","parentId":"530000"},
{"id":"530600","value":"","parentId":"530000"},
{"id":"530700","value":"","parentId":"530000"},
{"id":"530800","value":"","parentId":"530000"},
{"id":"530900","value":"","parentId":"530000"},
{"id":"532300","value":"","parentId":"530000"},
{"id":"532500","value":"","parentId":"530000"},
{"id":"532600","value":"","parentId":"530000"},
{"id":"532800","value":"","parentId":"530000"},
{"id":"532900","value":"","parentId":"530000"},
{"id":"533100","value":"","parentId":"530000"},
{"id":"533300","value":"","parentId":"530000"},
{"id":"533400","value":"","parentId":"530000"},
/******************/
{"id":"540100","value":"","parentId":"540000"},
{"id":"542100","value":"","parentId":"540000"},
{"id":"542200","value":"","parentId":"540000"},
{"id":"542300","value":"","parentId":"540000"},
{"id":"542400","value":"","parentId":"540000"},
{"id":"542500","value":"","parentId":"540000"},
{"id":"542600","value":"","parentId":"540000"},
/******************/
{"id":"610100","value":"","parentId":"610000"},
{"id":"610200","value":"","parentId":"610000"},
{"id":"610300","value":"","parentId":"610000"},
{"id":"610400","value":"","parentId":"610000"},
{"id":"610500","value":"","parentId":"610000"},
{"id":"610600","value":"","parentId":"610000"},
{"id":"610700","value":"","parentId":"610000"},
{"id":"610800","value":"","parentId":"610000"},
{"id":"610900","value":"","parentId":"610000"},
{"id":"611000","value":"","parentId":"610000"},
/******************/
{"id":"620100","value":"","parentId":"620000"},
{"id":"620200","value":"","parentId":"620000"},
{"id":"620300","value":"","parentId":"620000"},
{"id":"620400","value":"","parentId":"620000"},
{"id":"620500","value":"","parentId":"620000"},
{"id":"620600","value":"","parentId":"620000"},
{"id":"620700","value":"","parentId":"620000"},
{"id":"620800","value":"","parentId":"620000"},
{"id":"620900","value":"","parentId":"620000"},
{"id":"621000","value":"","parentId":"620000"},
{"id":"621100","value":"","parentId":"620000"},
{"id":"621200","value":"","parentId":"620000"},
{"id":"622900","value":"","parentId":"620000"},
{"id":"623000","value":"","parentId":"620000"},
/******************/
{"id":"630100","value":"","parentId":"630000"},
{"id":"632100","value":"","parentId":"630000"},
{"id":"632200","value":"","parentId":"630000"},
{"id":"632300","value":"","parentId":"630000"},
{"id":"632500","value":"","parentId":"630000"},
{"id":"632600","value":"","parentId":"630000"},
{"id":"632700","value":"","parentId":"630000"},
{"id":"632800","value":"","parentId":"630000"},
/******************/
{"id":"640100","value":"","parentId":"640000"},
{"id":"640200","value":"","parentId":"640000"},
{"id":"640300","value":"","parentId":"640000"},
{"id":"640400","value":"","parentId":"640000"},
{"id":"640500","value":"","parentId":"640000"},
/******************/
{"id":"650100","value":"","parentId":"650000"},
{"id":"650200","value":"","parentId":"650000"},
{"id":"652100","value":"","parentId":"650000"},
{"id":"652200","value":"","parentId":"650000"},
{"id":"652300","value":"","parentId":"650000"},
{"id":"652700","value":"","parentId":"650000"},
{"id":"652800","value":"","parentId":"650000"},
{"id":"652900","value":"","parentId":"650000"},
{"id":"653000","value":"","parentId":"650000"},
{"id":"653100","value":"","parentId":"650000"},
{"id":"653200","value":"","parentId":"650000"},
{"id":"654000","value":"","parentId":"650000"},
{"id":"654200","value":"","parentId":"650000"},
{"id":"654300","value":"","parentId":"650000"},
/******************/
{"id":"659001","value":"","parentId":"650000"},
{"id":"659002","value":"","parentId":"650000"},
{"id":"659003","value":"","parentId":"650000"},
{"id":"659004","value":"","parentId":"650000"}
];
//
var iosCountys = [
/******************/
{"id":"110101","value":"","parentId":"110100"},
{"id":"110102","value":"","parentId":"110100"},
{"id":"110105","value":"","parentId":"110100"},
{"id":"110106","value":"","parentId":"110100"},
{"id":"110107","value":"","parentId":"110100"},
{"id":"110108","value":"","parentId":"110100"},
{"id":"110109","value":"","parentId":"110100"},
{"id":"110111","value":"","parentId":"110100"},
{"id":"110112","value":"","parentId":"110100"},
{"id":"110113","value":"","parentId":"110100"},
{"id":"110114","value":"","parentId":"110100"},
{"id":"110115","value":"","parentId":"110100"},
{"id":"110116","value":"","parentId":"110100"},
{"id":"110117","value":"","parentId":"110100"},
{"id":"110228","value":"","parentId":"110100"},
{"id":"110229","value":"","parentId":"110100"},
/******************/
{"id":"120101","value":"","parentId":"120100"},
{"id":"120102","value":"","parentId":"120100"},
{"id":"120103","value":"","parentId":"120100"},
{"id":"120104","value":"","parentId":"120100"},
{"id":"120105","value":"","parentId":"120100"},
{"id":"120106","value":"","parentId":"120100"},
{"id":"120110","value":"","parentId":"120100"},
{"id":"120111","value":"","parentId":"120100"},
{"id":"120112","value":"","parentId":"120100"},
{"id":"120113","value":"","parentId":"120100"},
{"id":"120114","value":"","parentId":"120100"},
{"id":"120115","value":"","parentId":"120100"},
{"id":"120116","value":"","parentId":"120100"},
/******************/
{"id":"130102","value":"","parentId":"130100"},
{"id":"130103","value":"","parentId":"130100"},
{"id":"130104","value":"","parentId":"130100"},
{"id":"130105","value":"","parentId":"130100"},
{"id":"130107","value":"","parentId":"130100"},
{"id":"130108","value":"","parentId":"130100"},
{"id":"130121","value":"","parentId":"130100"},
{"id":"130123","value":"","parentId":"130100"},
{"id":"130124","value":"","parentId":"130100"},
{"id":"130125","value":"","parentId":"130100"},
{"id":"130126","value":"","parentId":"130100"},
{"id":"130127","value":"","parentId":"130100"},
{"id":"130128","value":"","parentId":"130100"},
{"id":"130129","value":"","parentId":"130100"},
{"id":"130130","value":"","parentId":"130100"},
{"id":"130131","value":"","parentId":"130100"},
{"id":"130132","value":"","parentId":"130100"},
{"id":"130133","value":"","parentId":"130100"},
{"id":"130181","value":"","parentId":"130100"},
{"id":"130182","value":"","parentId":"130100"},
{"id":"130183","value":"","parentId":"130100"},
{"id":"130184","value":"","parentId":"130100"},
{"id":"130185","value":"","parentId":"130100"},
/******************/
{"id":"130202","value":"","parentId":"130200"},
{"id":"130203","value":"","parentId":"130200"},
{"id":"130204","value":"","parentId":"130200"},
{"id":"130205","value":"","parentId":"130200"},
{"id":"130207","value":"","parentId":"130200"},
{"id":"130208","value":"","parentId":"130200"},
{"id":"130223","value":"","parentId":"130200"},
{"id":"130224","value":"","parentId":"130200"},
{"id":"130225","value":"","parentId":"130200"},
{"id":"130227","value":"","parentId":"130200"},
{"id":"130229","value":"","parentId":"130200"},
{"id":"130230","value":"","parentId":"130200"},
{"id":"130281","value":"","parentId":"130200"},
{"id":"130283","value":"","parentId":"130200"},
/******************/
{"id":"130302","value":"","parentId":"130300"},
{"id":"130303","value":"","parentId":"130300"},
{"id":"130304","value":"","parentId":"130300"},
{"id":"130321","value":"","parentId":"130300"},
{"id":"130322","value":"","parentId":"130300"},
{"id":"130323","value":"","parentId":"130300"},
{"id":"130324","value":"","parentId":"130300"},
/******************/
{"id":"130402","value":"","parentId":"130400"},
{"id":"130403","value":"","parentId":"130400"},
{"id":"130404","value":"","parentId":"130400"},
{"id":"130406","value":"","parentId":"130400"},
{"id":"130421","value":"","parentId":"130400"},
{"id":"130423","value":"","parentId":"130400"},
{"id":"130424","value":"","parentId":"130400"},
{"id":"130425","value":"","parentId":"130400"},
{"id":"130426","value":"","parentId":"130400"},
{"id":"130427","value":"","parentId":"130400"},
{"id":"130428","value":"","parentId":"130400"},
{"id":"130429","value":"","parentId":"130400"},
{"id":"130430","value":"","parentId":"130400"},
{"id":"130431","value":"","parentId":"130400"},
{"id":"130432","value":"","parentId":"130400"},
{"id":"130433","value":"","parentId":"130400"},
{"id":"130434","value":"","parentId":"130400"},
{"id":"130435","value":"","parentId":"130400"},
{"id":"130481","value":"","parentId":"130400"},
/******************/
{"id":"130502","value":"","parentId":"130500"},
{"id":"130503","value":"","parentId":"130500"},
{"id":"130521","value":"","parentId":"130500"},
{"id":"130522","value":"","parentId":"130500"},
{"id":"130523","value":"","parentId":"130500"},
{"id":"130524","value":"","parentId":"130500"},
{"id":"130525","value":"","parentId":"130500"},
{"id":"130526","value":"","parentId":"130500"},
{"id":"130527","value":"","parentId":"130500"},
{"id":"130528","value":"","parentId":"130500"},
{"id":"130529","value":"","parentId":"130500"},
{"id":"130530","value":"","parentId":"130500"},
{"id":"130531","value":"","parentId":"130500"},
{"id":"130532","value":"","parentId":"130500"},
{"id":"130533","value":"","parentId":"130500"},
{"id":"130534","value":"","parentId":"130500"},
{"id":"130535","value":"","parentId":"130500"},
{"id":"130581","value":"","parentId":"130500"},
{"id":"130582","value":"","parentId":"130500"},
/******************/
{"id":"130602","value":"","parentId":"130600"},
{"id":"130603","value":"","parentId":"130600"},
{"id":"130604","value":"","parentId":"130600"},
{"id":"130621","value":"","parentId":"130600"},
{"id":"130622","value":"","parentId":"130600"},
{"id":"130623","value":"","parentId":"130600"},
{"id":"130624","value":"","parentId":"130600"},
{"id":"130625","value":"","parentId":"130600"},
{"id":"130626","value":"","parentId":"130600"},
{"id":"130627","value":"","parentId":"130600"},
{"id":"130628","value":"","parentId":"130600"},
{"id":"130629","value":"","parentId":"130600"},
{"id":"130630","value":"","parentId":"130600"},
{"id":"130631","value":"","parentId":"130600"},
{"id":"130632","value":"","parentId":"130600"},
{"id":"130633","value":"","parentId":"130600"},
{"id":"130634","value":"","parentId":"130600"},
{"id":"130635","value":"","parentId":"130600"},
{"id":"130636","value":"","parentId":"130600"},
{"id":"130637","value":"","parentId":"130600"},
{"id":"130638","value":"","parentId":"130600"},
{"id":"130681","value":"","parentId":"130600"},
{"id":"130682","value":"","parentId":"130600"},
{"id":"130683","value":"","parentId":"130600"},
{"id":"130684","value":"","parentId":"130600"},
/******************/
{"id":"130702","value":"","parentId":"130700"},
{"id":"130703","value":"","parentId":"130700"},
{"id":"130705","value":"","parentId":"130700"},
{"id":"130706","value":"","parentId":"130700"},
{"id":"130721","value":"","parentId":"130700"},
{"id":"130722","value":"","parentId":"130700"},
{"id":"130723","value":"","parentId":"130700"},
{"id":"130724","value":"","parentId":"130700"},
{"id":"130725","value":"","parentId":"130700"},
{"id":"130726","value":"","parentId":"130700"},
{"id":"130727","value":"","parentId":"130700"},
{"id":"130728","value":"","parentId":"130700"},
{"id":"130729","value":"","parentId":"130700"},
{"id":"130730","value":"","parentId":"130700"},
{"id":"130731","value":"","parentId":"130700"},
{"id":"130732","value":"","parentId":"130700"},
{"id":"130733","value":"","parentId":"130700"},
/******************/
{"id":"130802","value":"","parentId":"130800"},
{"id":"130803","value":"","parentId":"130800"},
{"id":"130804","value":"","parentId":"130800"},
{"id":"130821","value":"","parentId":"130800"},
{"id":"130822","value":"","parentId":"130800"},
{"id":"130823","value":"","parentId":"130800"},
{"id":"130824","value":"","parentId":"130800"},
{"id":"130825","value":"","parentId":"130800"},
{"id":"130826","value":"","parentId":"130800"},
{"id":"130827","value":"","parentId":"130800"},
{"id":"130828","value":"","parentId":"130800"},
/******************/
{"id":"130902","value":"","parentId":"130900"},
{"id":"130903","value":"","parentId":"130900"},
{"id":"130921","value":"","parentId":"130900"},
{"id":"130922","value":"","parentId":"130900"},
{"id":"130923","value":"","parentId":"130900"},
{"id":"130924","value":"","parentId":"130900"},
{"id":"130925","value":"","parentId":"130900"},
{"id":"130926","value":"","parentId":"130900"},
{"id":"130927","value":"","parentId":"130900"},
{"id":"130928","value":"","parentId":"130900"},
{"id":"130929","value":"","parentId":"130900"},
{"id":"130930","value":"","parentId":"130900"},
{"id":"130981","value":"","parentId":"130900"},
{"id":"130982","value":"","parentId":"130900"},
{"id":"130983","value":"","parentId":"130900"},
{"id":"130984","value":"","parentId":"130900"},
/******************/
{"id":"131002","value":"","parentId":"131000"},
{"id":"131003","value":"","parentId":"131000"},
{"id":"131022","value":"","parentId":"131000"},
{"id":"131023","value":"","parentId":"131000"},
{"id":"131024","value":"","parentId":"131000"},
{"id":"131025","value":"","parentId":"131000"},
{"id":"131026","value":"","parentId":"131000"},
{"id":"131028","value":"","parentId":"131000"},
{"id":"131081","value":"","parentId":"131000"},
{"id":"131082","value":"","parentId":"131000"},
/******************/
{"id":"131102","value":"","parentId":"131100"},
{"id":"131121","value":"","parentId":"131100"},
{"id":"131122","value":"","parentId":"131100"},
{"id":"131123","value":"","parentId":"131100"},
{"id":"131124","value":"","parentId":"131100"},
{"id":"131125","value":"","parentId":"131100"},
{"id":"131126","value":"","parentId":"131100"},
{"id":"131127","value":"","parentId":"131100"},
{"id":"131128","value":"","parentId":"131100"},
{"id":"131181","value":"","parentId":"131100"},
{"id":"131182","value":"","parentId":"131100"},
/******************/
{"id":"140105","value":"","parentId":"140100"},
{"id":"140106","value":"","parentId":"140100"},
{"id":"140107","value":"","parentId":"140100"},
{"id":"140108","value":"","parentId":"140100"},
{"id":"140109","value":"","parentId":"140100"},
{"id":"140110","value":"","parentId":"140100"},
{"id":"140121","value":"","parentId":"140100"},
{"id":"140122","value":"","parentId":"140100"},
{"id":"140123","value":"","parentId":"140100"},
{"id":"140181","value":"","parentId":"140100"},
/******************/
{"id":"140202","value":"","parentId":"140200"},
{"id":"140203","value":"","parentId":"140200"},
{"id":"140211","value":"","parentId":"140200"},
{"id":"140212","value":"","parentId":"140200"},
{"id":"140221","value":"","parentId":"140200"},
{"id":"140222","value":"","parentId":"140200"},
{"id":"140223","value":"","parentId":"140200"},
{"id":"140224","value":"","parentId":"140200"},
{"id":"140225","value":"","parentId":"140200"},
{"id":"140226","value":"","parentId":"140200"},
{"id":"140227","value":"","parentId":"140200"},
/******************/
{"id":"140302","value":"","parentId":"140300"},
{"id":"140303","value":"","parentId":"140300"},
{"id":"140311","value":"","parentId":"140300"},
{"id":"140321","value":"","parentId":"140300"},
{"id":"140322","value":"","parentId":"140300"},
/******************/
{"id":"140402","value":"","parentId":"140400"},
{"id":"140411","value":"","parentId":"140400"},
{"id":"140421","value":"","parentId":"140400"},
{"id":"140423","value":"","parentId":"140400"},
{"id":"140424","value":"","parentId":"140400"},
{"id":"140425","value":"","parentId":"140400"},
{"id":"140426","value":"","parentId":"140400"},
{"id":"140427","value":"","parentId":"140400"},
{"id":"140428","value":"","parentId":"140400"},
{"id":"140429","value":"","parentId":"140400"},
{"id":"140430","value":"","parentId":"140400"},
{"id":"140431","value":"","parentId":"140400"},
{"id":"140481","value":"","parentId":"140400"},
/******************/
{"id":"140502","value":"","parentId":"140500"},
{"id":"140521","value":"","parentId":"140500"},
{"id":"140522","value":"","parentId":"140500"},
{"id":"140524","value":"","parentId":"140500"},
{"id":"140525","value":"","parentId":"140500"},
{"id":"140581","value":"","parentId":"140500"},
/******************/
{"id":"140602","value":"","parentId":"140600"},
{"id":"140603","value":"","parentId":"140600"},
{"id":"140621","value":"","parentId":"140600"},
{"id":"140622","value":"","parentId":"140600"},
{"id":"140623","value":"","parentId":"140600"},
{"id":"140624","value":"","parentId":"140600"},
/******************/
{"id":"140702","value":"","parentId":"140700"},
{"id":"140721","value":"","parentId":"140700"},
{"id":"140722","value":"","parentId":"140700"},
{"id":"140723","value":"","parentId":"140700"},
{"id":"140724","value":"","parentId":"140700"},
{"id":"140725","value":"","parentId":"140700"},
{"id":"140726","value":"","parentId":"140700"},
{"id":"140727","value":"","parentId":"140700"},
{"id":"140728","value":"","parentId":"140700"},
{"id":"140729","value":"","parentId":"140700"},
{"id":"140781","value":"","parentId":"140700"},
/******************/
{"id":"140802","value":"","parentId":"140800"},
{"id":"140821","value":"","parentId":"140800"},
{"id":"140822","value":"","parentId":"140800"},
{"id":"140823","value":"","parentId":"140800"},
{"id":"140824","value":"","parentId":"140800"},
{"id":"140825","value":"","parentId":"140800"},
{"id":"140826","value":"","parentId":"140800"},
{"id":"140827","value":"","parentId":"140800"},
{"id":"140828","value":"","parentId":"140800"},
{"id":"140829","value":"","parentId":"140800"},
{"id":"140830","value":"","parentId":"140800"},
{"id":"140881","value":"","parentId":"140800"},
{"id":"140882","value":"","parentId":"140800"},
/******************/
{"id":"140902","value":"","parentId":"140900"},
{"id":"140921","value":"","parentId":"140900"},
{"id":"140922","value":"","parentId":"140900"},
{"id":"140923","value":"","parentId":"140900"},
{"id":"140924","value":"","parentId":"140900"},
{"id":"140925","value":"","parentId":"140900"},
{"id":"140926","value":"","parentId":"140900"},
{"id":"140927","value":"","parentId":"140900"},
{"id":"140928","value":"","parentId":"140900"},
{"id":"140929","value":"","parentId":"140900"},
{"id":"140930","value":"","parentId":"140900"},
{"id":"140931","value":"","parentId":"140900"},
{"id":"140932","value":"","parentId":"140900"},
{"id":"140981","value":"","parentId":"140900"},
/******************/
{"id":"141002","value":"","parentId":"141000"},
{"id":"141021","value":"","parentId":"141000"},
{"id":"141022","value":"","parentId":"141000"},
{"id":"141023","value":"","parentId":"141000"},
{"id":"141024","value":"","parentId":"141000"},
{"id":"141025","value":"","parentId":"141000"},
{"id":"141026","value":"","parentId":"141000"},
{"id":"141027","value":"","parentId":"141000"},
{"id":"141028","value":"","parentId":"141000"},
{"id":"141029","value":"","parentId":"141000"},
{"id":"141030","value":"","parentId":"141000"},
{"id":"141031","value":"","parentId":"141000"},
{"id":"141032","value":"","parentId":"141000"},
{"id":"141033","value":"","parentId":"141000"},
{"id":"141034","value":"","parentId":"141000"},
{"id":"141081","value":"","parentId":"141000"},
{"id":"141082","value":"","parentId":"141000"},
/******************/
{"id":"141102","value":"","parentId":"141100"},
{"id":"141121","value":"","parentId":"141100"},
{"id":"141122","value":"","parentId":"141100"},
{"id":"141123","value":"","parentId":"141100"},
{"id":"141124","value":"","parentId":"141100"},
{"id":"141125","value":"","parentId":"141100"},
{"id":"141126","value":"","parentId":"141100"},
{"id":"141127","value":"","parentId":"141100"},
{"id":"141128","value":"","parentId":"141100"},
{"id":"141129","value":"","parentId":"141100"},
{"id":"141130","value":"","parentId":"141100"},
{"id":"141181","value":"","parentId":"141100"},
{"id":"141182","value":"","parentId":"141100"},
/******************/
{"id":"150102","value":"","parentId":"150100"},
{"id":"150103","value":"","parentId":"150100"},
{"id":"150104","value":"","parentId":"150100"},
{"id":"150105","value":"","parentId":"150100"},
{"id":"150121","value":"","parentId":"150100"},
{"id":"150122","value":"","parentId":"150100"},
{"id":"150123","value":"","parentId":"150100"},
{"id":"150124","value":"","parentId":"150100"},
{"id":"150125","value":"","parentId":"150100"},
/******************/
{"id":"150202","value":"","parentId":"150200"},
{"id":"150203","value":"","parentId":"150200"},
{"id":"150204","value":"","parentId":"150200"},
{"id":"150205","value":"","parentId":"150200"},
{"id":"150206","value":"","parentId":"150200"},
{"id":"150207","value":"","parentId":"150200"},
{"id":"150221","value":"","parentId":"150200"},
{"id":"150222","value":"","parentId":"150200"},
{"id":"150223","value":"","parentId":"150200"},
/******************/
{"id":"150302","value":"","parentId":"150300"},
{"id":"150303","value":"","parentId":"150300"},
{"id":"150304","value":"","parentId":"150300"},
/******************/
{"id":"150402","value":"","parentId":"150400"},
{"id":"150403","value":"","parentId":"150400"},
{"id":"150404","value":"","parentId":"150400"},
{"id":"150421","value":"","parentId":"150400"},
{"id":"150422","value":"","parentId":"150400"},
{"id":"150423","value":"","parentId":"150400"},
{"id":"150424","value":"","parentId":"150400"},
{"id":"150425","value":"","parentId":"150400"},
{"id":"150426","value":"","parentId":"150400"},
{"id":"150428","value":"","parentId":"150400"},
{"id":"150429","value":"","parentId":"150400"},
{"id":"150430","value":"","parentId":"150400"},
/******************/
{"id":"150502","value":"","parentId":"150500"},
{"id":"150521","value":"","parentId":"150500"},
{"id":"150522","value":"","parentId":"150500"},
{"id":"150523","value":"","parentId":"150500"},
{"id":"150524","value":"","parentId":"150500"},
{"id":"150525","value":"","parentId":"150500"},
{"id":"150526","value":"","parentId":"150500"},
{"id":"150581","value":"","parentId":"150500"},
/******************/
{"id":"150602","value":"","parentId":"150600"},
{"id":"150621","value":"","parentId":"150600"},
{"id":"150622","value":"","parentId":"150600"},
{"id":"150623","value":"","parentId":"150600"},
{"id":"150624","value":"","parentId":"150600"},
{"id":"150625","value":"","parentId":"150600"},
{"id":"150626","value":"","parentId":"150600"},
{"id":"150627","value":"","parentId":"150600"},
/******************/
{"id":"150702","value":"","parentId":"150700"},
{"id":"150721","value":"","parentId":"150700"},
{"id":"150722","value":"","parentId":"150700"},
{"id":"150723","value":"","parentId":"150700"},
{"id":"150724","value":"","parentId":"150700"},
{"id":"150725","value":"","parentId":"150700"},
{"id":"150726","value":"","parentId":"150700"},
{"id":"150727","value":"","parentId":"150700"},
{"id":"150781","value":"","parentId":"150700"},
{"id":"150782","value":"","parentId":"150700"},
{"id":"150783","value":"","parentId":"150700"},
{"id":"150784","value":"","parentId":"150700"},
{"id":"150785","value":"","parentId":"150700"},
/******************/
{"id":"150802","value":"","parentId":"150800"},
{"id":"150821","value":"","parentId":"150800"},
{"id":"150822","value":"","parentId":"150800"},
{"id":"150823","value":"","parentId":"150800"},
{"id":"150824","value":"","parentId":"150800"},
{"id":"150825","value":"","parentId":"150800"},
{"id":"150826","value":"","parentId":"150800"},
/******************/
{"id":"150902","value":"","parentId":"150900"},
{"id":"150921","value":"","parentId":"150900"},
{"id":"150922","value":"","parentId":"150900"},
{"id":"150923","value":"","parentId":"150900"},
{"id":"150924","value":"","parentId":"150900"},
{"id":"150925","value":"","parentId":"150900"},
{"id":"150926","value":"","parentId":"150900"},
{"id":"150927","value":"","parentId":"150900"},
{"id":"150928","value":"","parentId":"150900"},
{"id":"150929","value":"","parentId":"150900"},
{"id":"150981","value":"","parentId":"150900"},
/******************/
{"id":"152201","value":"","parentId":"152200"},
{"id":"152202","value":"","parentId":"152200"},
{"id":"152221","value":"","parentId":"152200"},
{"id":"152222","value":"","parentId":"152200"},
{"id":"152223","value":"","parentId":"152200"},
{"id":"152224","value":"","parentId":"152200"},
/******************/
{"id":"152501","value":"","parentId":"152500"},
{"id":"152502","value":"","parentId":"152500"},
{"id":"152522","value":"","parentId":"152500"},
{"id":"152523","value":"","parentId":"152500"},
{"id":"152524","value":"","parentId":"152500"},
{"id":"152525","value":"","parentId":"152500"},
{"id":"152526","value":"","parentId":"152500"},
{"id":"152527","value":"","parentId":"152500"},
{"id":"152528","value":"","parentId":"152500"},
{"id":"152529","value":"","parentId":"152500"},
{"id":"152530","value":"","parentId":"152500"},
{"id":"152531","value":"","parentId":"152500"},
/******************/
{"id":"152921","value":"","parentId":"152900"},
{"id":"152922","value":"","parentId":"152900"},
{"id":"152923","value":"","parentId":"152900"},
/******************/
{"id":"210102","value":"","parentId":"210100"},
{"id":"210103","value":"","parentId":"210100"},
{"id":"210104","value":"","parentId":"210100"},
{"id":"210105","value":"","parentId":"210100"},
{"id":"210106","value":"","parentId":"210100"},
{"id":"210111","value":"","parentId":"210100"},
{"id":"210112","value":"","parentId":"210100"},
{"id":"210113","value":"","parentId":"210100"},
{"id":"210114","value":"","parentId":"210100"},
{"id":"210122","value":"","parentId":"210100"},
{"id":"210123","value":"","parentId":"210100"},
{"id":"210124","value":"","parentId":"210100"},
{"id":"210181","value":"","parentId":"210100"},
/******************/
{"id":"210202","value":"","parentId":"210200"},
{"id":"210203","value":"","parentId":"210200"},
{"id":"210204","value":"","parentId":"210200"},
{"id":"210211","value":"","parentId":"210200"},
{"id":"210212","value":"","parentId":"210200"},
{"id":"210213","value":"","parentId":"210200"},
{"id":"210224","value":"","parentId":"210200"},
{"id":"210281","value":"","parentId":"210200"},
{"id":"210282","value":"","parentId":"210200"},
{"id":"210283","value":"","parentId":"210200"},
/******************/
{"id":"210302","value":"","parentId":"210300"},
{"id":"210303","value":"","parentId":"210300"},
{"id":"210304","value":"","parentId":"210300"},
{"id":"210311","value":"","parentId":"210300"},
{"id":"210321","value":"","parentId":"210300"},
{"id":"210323","value":"","parentId":"210300"},
{"id":"210381","value":"","parentId":"210300"},
/******************/
{"id":"210402","value":"","parentId":"210400"},
{"id":"210403","value":"","parentId":"210400"},
{"id":"210404","value":"","parentId":"210400"},
{"id":"210411","value":"","parentId":"210400"},
{"id":"210421","value":"","parentId":"210400"},
{"id":"210422","value":"","parentId":"210400"},
{"id":"210423","value":"","parentId":"210400"},
/******************/
{"id":"210502","value":"","parentId":"210500"},
{"id":"210503","value":"","parentId":"210500"},
{"id":"210504","value":"","parentId":"210500"},
{"id":"210505","value":"","parentId":"210500"},
{"id":"210521","value":"","parentId":"210500"},
{"id":"210522","value":"","parentId":"210500"},
/******************/
{"id":"210602","value":"","parentId":"210600"},
{"id":"210603","value":"","parentId":"210600"},
{"id":"210604","value":"","parentId":"210600"},
{"id":"210624","value":"","parentId":"210600"},
{"id":"210681","value":"","parentId":"210600"},
{"id":"210682","value":"","parentId":"210600"},
/******************/
{"id":"210702","value":"","parentId":"210700"},
{"id":"210703","value":"","parentId":"210700"},
{"id":"210711","value":"","parentId":"210700"},
{"id":"210726","value":"","parentId":"210700"},
{"id":"210727","value":"","parentId":"210700"},
{"id":"210781","value":"","parentId":"210700"},
{"id":"210782","value":"","parentId":"210700"},
/******************/
{"id":"210802","value":"","parentId":"210800"},
{"id":"210803","value":"","parentId":"210800"},
{"id":"210804","value":"","parentId":"210800"},
{"id":"210811","value":"","parentId":"210800"},
{"id":"210881","value":"","parentId":"210800"},
{"id":"210882","value":"","parentId":"210800"},
/******************/
{"id":"210902","value":"","parentId":"210900"},
{"id":"210903","value":"","parentId":"210900"},
{"id":"210904","value":"","parentId":"210900"},
{"id":"210905","value":"","parentId":"210900"},
{"id":"210911","value":"","parentId":"210900"},
{"id":"210921","value":"","parentId":"210900"},
{"id":"210922","value":"","parentId":"210900"},
/******************/
{"id":"211002","value":"","parentId":"211000"},
{"id":"211003","value":"","parentId":"211000"},
{"id":"211004","value":"","parentId":"211000"},
{"id":"211005","value":"","parentId":"211000"},
{"id":"211011","value":"","parentId":"211000"},
{"id":"211021","value":"","parentId":"211000"},
{"id":"211081","value":"","parentId":"211000"},
/******************/
{"id":"211102","value":"","parentId":"211100"},
{"id":"211103","value":"","parentId":"211100"},
{"id":"211121","value":"","parentId":"211100"},
{"id":"211122","value":"","parentId":"211100"},
/******************/
{"id":"211202","value":"","parentId":"211200"},
{"id":"211204","value":"","parentId":"211200"},
{"id":"211221","value":"","parentId":"211200"},
{"id":"211223","value":"","parentId":"211200"},
{"id":"211224","value":"","parentId":"211200"},
{"id":"211281","value":"","parentId":"211200"},
{"id":"211282","value":"","parentId":"211200"},
/******************/
{"id":"211302","value":"","parentId":"211300"},
{"id":"211303","value":"","parentId":"211300"},
{"id":"211321","value":"","parentId":"211300"},
{"id":"211322","value":"","parentId":"211300"},
{"id":"211324","value":"","parentId":"211300"},
{"id":"211381","value":"","parentId":"211300"},
{"id":"211382","value":"","parentId":"211300"},
/******************/
{"id":"211402","value":"","parentId":"211400"},
{"id":"211403","value":"","parentId":"211400"},
{"id":"211404","value":"","parentId":"211400"},
{"id":"211421","value":"","parentId":"211400"},
{"id":"211422","value":"","parentId":"211400"},
{"id":"211481","value":"","parentId":"211400"},
/******************/
{"id":"220102","value":"","parentId":"220100"},
{"id":"220103","value":"","parentId":"220100"},
{"id":"220104","value":"","parentId":"220100"},
{"id":"220105","value":"","parentId":"220100"},
{"id":"220106","value":"","parentId":"220100"},
{"id":"220112","value":"","parentId":"220100"},
{"id":"220122","value":"","parentId":"220100"},
{"id":"220181","value":"","parentId":"220100"},
{"id":"220182","value":"","parentId":"220100"},
{"id":"220183","value":"","parentId":"220100"},
/******************/
{"id":"220202","value":"","parentId":"220200"},
{"id":"220203","value":"","parentId":"220200"},
{"id":"220204","value":"","parentId":"220200"},
{"id":"220211","value":"","parentId":"220200"},
{"id":"220221","value":"","parentId":"220200"},
{"id":"220281","value":"","parentId":"220200"},
{"id":"220282","value":"","parentId":"220200"},
{"id":"220283","value":"","parentId":"220200"},
{"id":"220284","value":"","parentId":"220200"},
/******************/
{"id":"220302","value":"","parentId":"220300"},
{"id":"220303","value":"","parentId":"220300"},
{"id":"220322","value":"","parentId":"220300"},
{"id":"220323","value":"","parentId":"220300"},
{"id":"220381","value":"","parentId":"220300"},
{"id":"220382","value":"","parentId":"220300"},
/******************/
{"id":"220402","value":"","parentId":"220400"},
{"id":"220403","value":"","parentId":"220400"},
{"id":"220421","value":"","parentId":"220400"},
{"id":"220422","value":"","parentId":"220400"},
/******************/
{"id":"220502","value":"","parentId":"220500"},
{"id":"220503","value":"","parentId":"220500"},
{"id":"220521","value":"","parentId":"220500"},
{"id":"220523","value":"","parentId":"220500"},
{"id":"220524","value":"","parentId":"220500"},
{"id":"220581","value":"","parentId":"220500"},
{"id":"220582","value":"","parentId":"220500"},
/******************/
{"id":"220602","value":"","parentId":"220600"},
{"id":"220605","value":"","parentId":"220600"},
{"id":"220621","value":"","parentId":"220600"},
{"id":"220622","value":"","parentId":"220600"},
{"id":"220623","value":"","parentId":"220600"},
{"id":"220681","value":"","parentId":"220600"},
/******************/
{"id":"220702","value":"","parentId":"220700"},
{"id":"220721","value":"","parentId":"220700"},
{"id":"220722","value":"","parentId":"220700"},
{"id":"220723","value":"","parentId":"220700"},
{"id":"220724","value":"","parentId":"220700"},
/******************/
{"id":"220802","value":"","parentId":"220800"},
{"id":"220821","value":"","parentId":"220800"},
{"id":"220822","value":"","parentId":"220800"},
{"id":"220881","value":"","parentId":"220800"},
{"id":"220882","value":"","parentId":"220800"},
/******************/
{"id":"222401","value":"","parentId":"222400"},
{"id":"222402","value":"","parentId":"222400"},
{"id":"222403","value":"","parentId":"222400"},
{"id":"222404","value":"","parentId":"222400"},
{"id":"222405","value":"","parentId":"222400"},
{"id":"222406","value":"","parentId":"222400"},
{"id":"222424","value":"","parentId":"222400"},
{"id":"222426","value":"","parentId":"222400"},
/******************/
{"id":"230102","value":"","parentId":"230100"},
{"id":"230103","value":"","parentId":"230100"},
{"id":"230104","value":"","parentId":"230100"},
{"id":"230108","value":"","parentId":"230100"},
{"id":"230109","value":"","parentId":"230100"},
{"id":"230110","value":"","parentId":"230100"},
{"id":"230111","value":"","parentId":"230100"},
{"id":"230112","value":"","parentId":"230100"},
{"id":"230123","value":"","parentId":"230100"},
{"id":"230124","value":"","parentId":"230100"},
{"id":"230125","value":"","parentId":"230100"},
{"id":"230126","value":"","parentId":"230100"},
{"id":"230127","value":"","parentId":"230100"},
{"id":"230128","value":"","parentId":"230100"},
{"id":"230129","value":"","parentId":"230100"},
{"id":"230182","value":"","parentId":"230100"},
{"id":"230183","value":"","parentId":"230100"},
{"id":"230184","value":"","parentId":"230100"},
/******************/
{"id":"230202","value":"","parentId":"230200"},
{"id":"230203","value":"","parentId":"230200"},
{"id":"230204","value":"","parentId":"230200"},
{"id":"230205","value":"","parentId":"230200"},
{"id":"230206","value":"","parentId":"230200"},
{"id":"230207","value":"","parentId":"230200"},
{"id":"230208","value":"","parentId":"230200"},
{"id":"230221","value":"","parentId":"230200"},
{"id":"230223","value":"","parentId":"230200"},
{"id":"230224","value":"","parentId":"230200"},
{"id":"230225","value":"","parentId":"230200"},
{"id":"230227","value":"","parentId":"230200"},
{"id":"230229","value":"","parentId":"230200"},
{"id":"230230","value":"","parentId":"230200"},
{"id":"230231","value":"","parentId":"230200"},
{"id":"230281","value":"","parentId":"230200"},
/******************/
{"id":"230302","value":"","parentId":"230300"},
{"id":"230303","value":"","parentId":"230300"},
{"id":"230304","value":"","parentId":"230300"},
{"id":"230305","value":"","parentId":"230300"},
{"id":"230306","value":"","parentId":"230300"},
{"id":"230307","value":"","parentId":"230300"},
{"id":"230321","value":"","parentId":"230300"},
{"id":"230381","value":"","parentId":"230300"},
{"id":"230382","value":"","parentId":"230300"},
/******************/
{"id":"230402","value":"","parentId":"230400"},
{"id":"230403","value":"","parentId":"230400"},
{"id":"230404","value":"","parentId":"230400"},
{"id":"230405","value":"","parentId":"230400"},
{"id":"230406","value":"","parentId":"230400"},
{"id":"230407","value":"","parentId":"230400"},
{"id":"230421","value":"","parentId":"230400"},
{"id":"230422","value":"","parentId":"230400"},
/******************/
{"id":"230502","value":"","parentId":"230500"},
{"id":"230503","value":"","parentId":"230500"},
{"id":"230505","value":"","parentId":"230500"},
{"id":"230506","value":"","parentId":"230500"},
{"id":"230521","value":"","parentId":"230500"},
{"id":"230522","value":"","parentId":"230500"},
{"id":"230523","value":"","parentId":"230500"},
{"id":"230524","value":"","parentId":"230500"},
/******************/
{"id":"230602","value":"","parentId":"230600"},
{"id":"230603","value":"","parentId":"230600"},
{"id":"230604","value":"","parentId":"230600"},
{"id":"230605","value":"","parentId":"230600"},
{"id":"230606","value":"","parentId":"230600"},
{"id":"230621","value":"","parentId":"230600"},
{"id":"230622","value":"","parentId":"230600"},
{"id":"230623","value":"","parentId":"230600"},
{"id":"230624","value":"","parentId":"230600"},
/******************/
{"id":"230702","value":"","parentId":"230700"},
{"id":"230703","value":"","parentId":"230700"},
{"id":"230704","value":"","parentId":"230700"},
{"id":"230705","value":"","parentId":"230700"},
{"id":"230706","value":"","parentId":"230700"},
{"id":"230707","value":"","parentId":"230700"},
{"id":"230708","value":"","parentId":"230700"},
{"id":"230709","value":"","parentId":"230700"},
{"id":"230710","value":"","parentId":"230700"},
{"id":"230711","value":"","parentId":"230700"},
{"id":"230712","value":"","parentId":"230700"},
{"id":"230713","value":"","parentId":"230700"},
{"id":"230714","value":"","parentId":"230700"},
{"id":"230715","value":"","parentId":"230700"},
{"id":"230716","value":"","parentId":"230700"},
{"id":"230722","value":"","parentId":"230700"},
{"id":"230781","value":"","parentId":"230700"},
/******************/
{"id":"230803","value":"","parentId":"230800"},
{"id":"230804","value":"","parentId":"230800"},
{"id":"230805","value":"","parentId":"230800"},
{"id":"230811","value":"","parentId":"230800"},
{"id":"230822","value":"","parentId":"230800"},
{"id":"230826","value":"","parentId":"230800"},
{"id":"230828","value":"","parentId":"230800"},
{"id":"230833","value":"","parentId":"230800"},
{"id":"230881","value":"","parentId":"230800"},
{"id":"230882","value":"","parentId":"230800"},
/******************/
{"id":"230902","value":"","parentId":"230900"},
{"id":"230903","value":"","parentId":"230900"},
{"id":"230904","value":"","parentId":"230900"},
{"id":"230921","value":"","parentId":"230900"},
/******************/
{"id":"231002","value":"","parentId":"231000"},
{"id":"231003","value":"","parentId":"231000"},
{"id":"231004","value":"","parentId":"231000"},
{"id":"231005","value":"","parentId":"231000"},
{"id":"231024","value":"","parentId":"231000"},
{"id":"231025","value":"","parentId":"231000"},
{"id":"231081","value":"","parentId":"231000"},
{"id":"231083","value":"","parentId":"231000"},
{"id":"231084","value":"","parentId":"231000"},
{"id":"231085","value":"","parentId":"231000"},
/******************/
{"id":"231102","value":"","parentId":"231100"},
{"id":"231121","value":"","parentId":"231100"},
{"id":"231123","value":"","parentId":"231100"},
{"id":"231124","value":"","parentId":"231100"},
{"id":"231181","value":"","parentId":"231100"},
{"id":"231182","value":"","parentId":"231100"},
/******************/
{"id":"231202","value":"","parentId":"231200"},
{"id":"231221","value":"","parentId":"231200"},
{"id":"231222","value":"","parentId":"231200"},
{"id":"231223","value":"","parentId":"231200"},
{"id":"231224","value":"","parentId":"231200"},
{"id":"231225","value":"","parentId":"231200"},
{"id":"231226","value":"","parentId":"231200"},
{"id":"231281","value":"","parentId":"231200"},
{"id":"231282","value":"","parentId":"231200"},
{"id":"231283","value":"","parentId":"231200"},
/******************/
{"id":"232701","value":"","parentId":"232700"},
{"id":"232702","value":"","parentId":"232700"},
{"id":"232703","value":"","parentId":"232700"},
{"id":"232704","value":"","parentId":"232700"},
{"id":"232721","value":"","parentId":"232700"},
{"id":"232722","value":"","parentId":"232700"},
{"id":"232723","value":"","parentId":"232700"},
/******************/
{"id":"310101","value":"","parentId":"310100"},
{"id":"310104","value":"","parentId":"310100"},
{"id":"310105","value":"","parentId":"310100"},
{"id":"310106","value":"","parentId":"310100"},
{"id":"310107","value":"","parentId":"310100"},
{"id":"310108","value":"","parentId":"310100"},
{"id":"310109","value":"","parentId":"310100"},
{"id":"310110","value":"","parentId":"310100"},
{"id":"310112","value":"","parentId":"310100"},
{"id":"310113","value":"","parentId":"310100"},
{"id":"310114","value":"","parentId":"310100"},
{"id":"310115","value":"","parentId":"310100"},
{"id":"310116","value":"","parentId":"310100"},
{"id":"310117","value":"","parentId":"310100"},
{"id":"310118","value":"","parentId":"310100"},
{"id":"310120","value":"","parentId":"310100"},
{"id":"310230","value":"","parentId":"310100"},
/******************/
{"id":"320102","value":"","parentId":"320100"},
{"id":"320103","value":"","parentId":"320100"},
{"id":"320104","value":"","parentId":"320100"},
{"id":"320105","value":"","parentId":"320100"},
{"id":"320106","value":"","parentId":"320100"},
{"id":"320107","value":"","parentId":"320100"},
{"id":"320111","value":"","parentId":"320100"},
{"id":"320113","value":"","parentId":"320100"},
{"id":"320114","value":"","parentId":"320100"},
{"id":"320115","value":"","parentId":"320100"},
{"id":"320116","value":"","parentId":"320100"},
{"id":"320124","value":"","parentId":"320100"},
{"id":"320125","value":"","parentId":"320100"},
/******************/
{"id":"320202","value":"","parentId":"320200"},
{"id":"320203","value":"","parentId":"320200"},
{"id":"320204","value":"","parentId":"320200"},
{"id":"320205","value":"","parentId":"320200"},
{"id":"320206","value":"","parentId":"320200"},
{"id":"320211","value":"","parentId":"320200"},
{"id":"320281","value":"","parentId":"320200"},
{"id":"320282","value":"","parentId":"320200"},
/******************/
{"id":"320302","value":"","parentId":"320300"},
{"id":"320303","value":"","parentId":"320300"},
{"id":"320305","value":"","parentId":"320300"},
{"id":"320311","value":"","parentId":"320300"},
{"id":"320312","value":"","parentId":"320300"},
{"id":"320321","value":"","parentId":"320300"},
{"id":"320322","value":"","parentId":"320300"},
{"id":"320324","value":"","parentId":"320300"},
{"id":"320381","value":"","parentId":"320300"},
{"id":"320382","value":"","parentId":"320300"},
/******************/
{"id":"320402","value":"","parentId":"320400"},
{"id":"320404","value":"","parentId":"320400"},
{"id":"320405","value":"","parentId":"320400"},
{"id":"320411","value":"","parentId":"320400"},
{"id":"320412","value":"","parentId":"320400"},
{"id":"320481","value":"","parentId":"320400"},
{"id":"320482","value":"","parentId":"320400"},
/******************/
{"id":"320503","value":"","parentId":"320500"},
{"id":"320505","value":"","parentId":"320500"},
{"id":"320506","value":"","parentId":"320500"},
{"id":"320507","value":"","parentId":"320500"},
{"id":"320581","value":"","parentId":"320500"},
{"id":"320582","value":"","parentId":"320500"},
{"id":"320583","value":"","parentId":"320500"},
{"id":"320584","value":"","parentId":"320500"},
{"id":"320585","value":"","parentId":"320500"},
/******************/
{"id":"320602","value":"","parentId":"320600"},
{"id":"320611","value":"","parentId":"320600"},
{"id":"320612","value":"","parentId":"320600"},
{"id":"320621","value":"","parentId":"320600"},
{"id":"320623","value":"","parentId":"320600"},
{"id":"320681","value":"","parentId":"320600"},
{"id":"320682","value":"","parentId":"320600"},
{"id":"320684","value":"","parentId":"320600"},
/******************/
{"id":"320703","value":"","parentId":"320700"},
{"id":"320705","value":"","parentId":"320700"},
{"id":"320706","value":"","parentId":"320700"},
{"id":"320721","value":"","parentId":"320700"},
{"id":"320722","value":"","parentId":"320700"},
{"id":"320723","value":"","parentId":"320700"},
{"id":"320724","value":"","parentId":"320700"},
/******************/
{"id":"320802","value":"","parentId":"320800"},
{"id":"320803","value":"","parentId":"320800"},
{"id":"320804","value":"","parentId":"320800"},
{"id":"320811","value":"","parentId":"320800"},
{"id":"320826","value":"","parentId":"320800"},
{"id":"320829","value":"","parentId":"320800"},
{"id":"320830","value":"","parentId":"320800"},
{"id":"320831","value":"","parentId":"320800"},
/******************/
{"id":"320902","value":"","parentId":"320900"},
{"id":"320903","value":"","parentId":"320900"},
{"id":"320921","value":"","parentId":"320900"},
{"id":"320922","value":"","parentId":"320900"},
{"id":"320923","value":"","parentId":"320900"},
{"id":"320924","value":"","parentId":"320900"},
{"id":"320925","value":"","parentId":"320900"},
{"id":"320981","value":"","parentId":"320900"},
{"id":"320982","value":"","parentId":"320900"},
/******************/
{"id":"321002","value":"","parentId":"321000"},
{"id":"321003","value":"","parentId":"321000"},
{"id":"321023","value":"","parentId":"321000"},
{"id":"321081","value":"","parentId":"321000"},
{"id":"321084","value":"","parentId":"321000"},
{"id":"321088","value":"","parentId":"321000"},
/******************/
{"id":"321102","value":"","parentId":"321100"},
{"id":"321111","value":"","parentId":"321100"},
{"id":"321112","value":"","parentId":"321100"},
{"id":"321181","value":"","parentId":"321100"},
{"id":"321182","value":"","parentId":"321100"},
{"id":"321183","value":"","parentId":"321100"},
/******************/
{"id":"321202","value":"","parentId":"321200"},
{"id":"321203","value":"","parentId":"321200"},
{"id":"321281","value":"","parentId":"321200"},
{"id":"321282","value":"","parentId":"321200"},
{"id":"321283","value":"","parentId":"321200"},
{"id":"321284","value":"","parentId":"321200"},
/******************/
{"id":"321302","value":"","parentId":"321300"},
{"id":"321311","value":"","parentId":"321300"},
{"id":"321322","value":"","parentId":"321300"},
{"id":"321323","value":"","parentId":"321300"},
{"id":"321324","value":"","parentId":"321300"},
/******************/
{"id":"330102","value":"","parentId":"330100"},
{"id":"330103","value":"","parentId":"330100"},
{"id":"330104","value":"","parentId":"330100"},
{"id":"330105","value":"","parentId":"330100"},
{"id":"330106","value":"","parentId":"330100"},
{"id":"330108","value":"","parentId":"330100"},
{"id":"330109","value":"","parentId":"330100"},
{"id":"330110","value":"","parentId":"330100"},
{"id":"330122","value":"","parentId":"330100"},
{"id":"330127","value":"","parentId":"330100"},
{"id":"330182","value":"","parentId":"330100"},
{"id":"330183","value":"","parentId":"330100"},
{"id":"330185","value":"","parentId":"330100"},
/******************/
{"id":"330203","value":"","parentId":"330200"},
{"id":"330204","value":"","parentId":"330200"},
{"id":"330205","value":"","parentId":"330200"},
{"id":"330206","value":"","parentId":"330200"},
{"id":"330211","value":"","parentId":"330200"},
{"id":"330212","value":"","parentId":"330200"},
{"id":"330225","value":"","parentId":"330200"},
{"id":"330226","value":"","parentId":"330200"},
{"id":"330281","value":"","parentId":"330200"},
{"id":"330282","value":"","parentId":"330200"},
{"id":"330283","value":"","parentId":"330200"},
/******************/
{"id":"330302","value":"","parentId":"330300"},
{"id":"330303","value":"","parentId":"330300"},
{"id":"330304","value":"","parentId":"330300"},
{"id":"330322","value":"","parentId":"330300"},
{"id":"330324","value":"","parentId":"330300"},
{"id":"330326","value":"","parentId":"330300"},
{"id":"330327","value":"","parentId":"330300"},
{"id":"330328","value":"","parentId":"330300"},
{"id":"330329","value":"","parentId":"330300"},
{"id":"330381","value":"","parentId":"330300"},
{"id":"330382","value":"","parentId":"330300"},
/******************/
{"id":"330402","value":"","parentId":"330400"},
{"id":"330411","value":"","parentId":"330400"},
{"id":"330421","value":"","parentId":"330400"},
{"id":"330424","value":"","parentId":"330400"},
{"id":"330481","value":"","parentId":"330400"},
{"id":"330482","value":"","parentId":"330400"},
{"id":"330483","value":"","parentId":"330400"},
/******************/
{"id":"330502","value":"","parentId":"330500"},
{"id":"330503","value":"","parentId":"330500"},
{"id":"330521","value":"","parentId":"330500"},
{"id":"330522","value":"","parentId":"330500"},
{"id":"330523","value":"","parentId":"330500"},
/******************/
{"id":"330602","value":"","parentId":"330600"},
{"id":"330621","value":"","parentId":"330600"},
{"id":"330624","value":"","parentId":"330600"},
{"id":"330681","value":"","parentId":"330600"},
{"id":"330682","value":"","parentId":"330600"},
{"id":"330683","value":"","parentId":"330600"},
/******************/
{"id":"330702","value":"","parentId":"330700"},
{"id":"330703","value":"","parentId":"330700"},
{"id":"330723","value":"","parentId":"330700"},
{"id":"330726","value":"","parentId":"330700"},
{"id":"330727","value":"","parentId":"330700"},
{"id":"330781","value":"","parentId":"330700"},
{"id":"330782","value":"","parentId":"330700"},
{"id":"330783","value":"","parentId":"330700"},
{"id":"330784","value":"","parentId":"330700"},
/******************/
{"id":"330802","value":"","parentId":"330800"},
{"id":"330803","value":"","parentId":"330800"},
{"id":"330822","value":"","parentId":"330800"},
{"id":"330824","value":"","parentId":"330800"},
{"id":"330825","value":"","parentId":"330800"},
{"id":"330881","value":"","parentId":"330800"},
/******************/
{"id":"330902","value":"","parentId":"330900"},
{"id":"330903","value":"","parentId":"330900"},
{"id":"330921","value":"","parentId":"330900"},
{"id":"330922","value":"","parentId":"330900"},
/******************/
{"id":"331002","value":"","parentId":"331000"},
{"id":"331003","value":"","parentId":"331000"},
{"id":"331004","value":"","parentId":"331000"},
{"id":"331021","value":"","parentId":"331000"},
{"id":"331022","value":"","parentId":"331000"},
{"id":"331023","value":"","parentId":"331000"},
{"id":"331024","value":"","parentId":"331000"},
{"id":"331081","value":"","parentId":"331000"},
{"id":"331082","value":"","parentId":"331000"},
/******************/
{"id":"331102","value":"","parentId":"331100"},
{"id":"331121","value":"","parentId":"331100"},
{"id":"331122","value":"","parentId":"331100"},
{"id":"331123","value":"","parentId":"331100"},
{"id":"331124","value":"","parentId":"331100"},
{"id":"331125","value":"","parentId":"331100"},
{"id":"331126","value":"","parentId":"331100"},
{"id":"331127","value":"","parentId":"331100"},
{"id":"331181","value":"","parentId":"331100"},
/******************/
{"id":"340102","value":"","parentId":"340100"},
{"id":"340103","value":"","parentId":"340100"},
{"id":"340104","value":"","parentId":"340100"},
{"id":"340111","value":"","parentId":"340100"},
{"id":"340121","value":"","parentId":"340100"},
{"id":"340122","value":"","parentId":"340100"},
{"id":"340123","value":"","parentId":"340100"},
{"id":"340124","value":"","parentId":"340100"},
{"id":"340181","value":"","parentId":"340100"},
/******************/
{"id":"340202","value":"","parentId":"340200"},
{"id":"340203","value":"","parentId":"340200"},
{"id":"340207","value":"","parentId":"340200"},
{"id":"340208","value":"","parentId":"340200"},
{"id":"340221","value":"","parentId":"340200"},
{"id":"340222","value":"","parentId":"340200"},
{"id":"340223","value":"","parentId":"340200"},
{"id":"340225","value":"","parentId":"340200"},
/******************/
{"id":"340302","value":"","parentId":"340300"},
{"id":"340303","value":"","parentId":"340300"},
{"id":"340304","value":"","parentId":"340300"},
{"id":"340311","value":"","parentId":"340300"},
{"id":"340321","value":"","parentId":"340300"},
{"id":"340322","value":"","parentId":"340300"},
{"id":"340323","value":"","parentId":"340300"},
/******************/
{"id":"340402","value":"","parentId":"340400"},
{"id":"340403","value":"","parentId":"340400"},
{"id":"340404","value":"","parentId":"340400"},
{"id":"340405","value":"","parentId":"340400"},
{"id":"340406","value":"","parentId":"340400"},
{"id":"340421","value":"","parentId":"340400"},
/******************/
{"id":"340503","value":"","parentId":"340500"},
{"id":"340504","value":"","parentId":"340500"},
{"id":"340521","value":"","parentId":"340500"},
{"id":"340522","value":"","parentId":"340500"},
{"id":"340523","value":"","parentId":"340500"},
{"id":"340596","value":"","parentId":"340500"},
/******************/
{"id":"340602","value":"","parentId":"340600"},
{"id":"340603","value":"","parentId":"340600"},
{"id":"340604","value":"","parentId":"340600"},
{"id":"340621","value":"","parentId":"340600"},
/******************/
{"id":"340702","value":"","parentId":"340700"},
{"id":"340703","value":"","parentId":"340700"},
{"id":"340711","value":"","parentId":"340700"},
{"id":"340721","value":"","parentId":"340700"},
/******************/
{"id":"340802","value":"","parentId":"340800"},
{"id":"340803","value":"","parentId":"340800"},
{"id":"340811","value":"","parentId":"340800"},
{"id":"340822","value":"","parentId":"340800"},
{"id":"340823","value":"","parentId":"340800"},
{"id":"340824","value":"","parentId":"340800"},
{"id":"340825","value":"","parentId":"340800"},
{"id":"340826","value":"","parentId":"340800"},
{"id":"340827","value":"","parentId":"340800"},
{"id":"340828","value":"","parentId":"340800"},
{"id":"340881","value":"","parentId":"340800"},
/******************/
{"id":"341002","value":"","parentId":"341000"},
{"id":"341003","value":"","parentId":"341000"},
{"id":"341004","value":"","parentId":"341000"},
{"id":"341021","value":"","parentId":"341000"},
{"id":"341022","value":"","parentId":"341000"},
{"id":"341023","value":"","parentId":"341000"},
{"id":"341024","value":"","parentId":"341000"},
/******************/
{"id":"341102","value":"","parentId":"341100"},
{"id":"341103","value":"","parentId":"341100"},
{"id":"341122","value":"","parentId":"341100"},
{"id":"341124","value":"","parentId":"341100"},
{"id":"341125","value":"","parentId":"341100"},
{"id":"341126","value":"","parentId":"341100"},
{"id":"341181","value":"","parentId":"341100"},
{"id":"341182","value":"","parentId":"341100"},
/******************/
{"id":"341202","value":"","parentId":"341200"},
{"id":"341203","value":"","parentId":"341200"},
{"id":"341204","value":"","parentId":"341200"},
{"id":"341221","value":"","parentId":"341200"},
{"id":"341222","value":"","parentId":"341200"},
{"id":"341225","value":"","parentId":"341200"},
{"id":"341226","value":"","parentId":"341200"},
{"id":"341282","value":"","parentId":"341200"},
/******************/
{"id":"341302","value":"","parentId":"341300"},
{"id":"341321","value":"","parentId":"341300"},
{"id":"341322","value":"","parentId":"341300"},
{"id":"341323","value":"","parentId":"341300"},
{"id":"341324","value":"","parentId":"341300"},
/******************/
{"id":"341502","value":"","parentId":"341500"},
{"id":"341503","value":"","parentId":"341500"},
{"id":"341521","value":"","parentId":"341500"},
{"id":"341522","value":"","parentId":"341500"},
{"id":"341523","value":"","parentId":"341500"},
{"id":"341524","value":"","parentId":"341500"},
{"id":"341525","value":"","parentId":"341500"},
/******************/
{"id":"341602","value":"","parentId":"341600"},
{"id":"341621","value":"","parentId":"341600"},
{"id":"341622","value":"","parentId":"341600"},
{"id":"341623","value":"","parentId":"341600"},
/******************/
{"id":"341702","value":"","parentId":"341700"},
{"id":"341721","value":"","parentId":"341700"},
{"id":"341722","value":"","parentId":"341700"},
{"id":"341723","value":"","parentId":"341700"},
/******************/
{"id":"341802","value":"","parentId":"341800"},
{"id":"341821","value":"","parentId":"341800"},
{"id":"341822","value":"","parentId":"341800"},
{"id":"341823","value":"","parentId":"341800"},
{"id":"341824","value":"","parentId":"341800"},
{"id":"341825","value":"","parentId":"341800"},
{"id":"341881","value":"","parentId":"341800"},
/******************/
{"id":"350102","value":"","parentId":"350100"},
{"id":"350103","value":"","parentId":"350100"},
{"id":"350104","value":"","parentId":"350100"},
{"id":"350105","value":"","parentId":"350100"},
{"id":"350111","value":"","parentId":"350100"},
{"id":"350121","value":"","parentId":"350100"},
{"id":"350122","value":"","parentId":"350100"},
{"id":"350123","value":"","parentId":"350100"},
{"id":"350124","value":"","parentId":"350100"},
{"id":"350125","value":"","parentId":"350100"},
{"id":"350128","value":"","parentId":"350100"},
{"id":"350181","value":"","parentId":"350100"},
{"id":"350182","value":"","parentId":"350100"},
/******************/
{"id":"350203","value":"","parentId":"350200"},
{"id":"350205","value":"","parentId":"350200"},
{"id":"350206","value":"","parentId":"350200"},
{"id":"350211","value":"","parentId":"350200"},
{"id":"350212","value":"","parentId":"350200"},
{"id":"350213","value":"","parentId":"350200"},
/******************/
{"id":"350302","value":"","parentId":"350300"},
{"id":"350303","value":"","parentId":"350300"},
{"id":"350304","value":"","parentId":"350300"},
{"id":"350305","value":"","parentId":"350300"},
{"id":"350322","value":"","parentId":"350300"},
/******************/
{"id":"350402","value":"","parentId":"350400"},
{"id":"350403","value":"","parentId":"350400"},
{"id":"350421","value":"","parentId":"350400"},
{"id":"350423","value":"","parentId":"350400"},
{"id":"350424","value":"","parentId":"350400"},
{"id":"350425","value":"","parentId":"350400"},
{"id":"350426","value":"","parentId":"350400"},
{"id":"350427","value":"","parentId":"350400"},
{"id":"350428","value":"","parentId":"350400"},
{"id":"350429","value":"","parentId":"350400"},
{"id":"350430","value":"","parentId":"350400"},
{"id":"350481","value":"","parentId":"350400"},
/******************/
{"id":"350502","value":"","parentId":"350500"},
{"id":"350503","value":"","parentId":"350500"},
{"id":"350504","value":"","parentId":"350500"},
{"id":"350505","value":"","parentId":"350500"},
{"id":"350521","value":"","parentId":"350500"},
{"id":"350524","value":"","parentId":"350500"},
{"id":"350525","value":"","parentId":"350500"},
{"id":"350526","value":"","parentId":"350500"},
{"id":"350527","value":"","parentId":"350500"},
{"id":"350581","value":"","parentId":"350500"},
{"id":"350582","value":"","parentId":"350500"},
{"id":"350583","value":"","parentId":"350500"},
/******************/
{"id":"350602","value":"","parentId":"350600"},
{"id":"350603","value":"","parentId":"350600"},
{"id":"350622","value":"","parentId":"350600"},
{"id":"350623","value":"","parentId":"350600"},
{"id":"350624","value":"","parentId":"350600"},
{"id":"350625","value":"","parentId":"350600"},
{"id":"350626","value":"","parentId":"350600"},
{"id":"350627","value":"","parentId":"350600"},
{"id":"350628","value":"","parentId":"350600"},
{"id":"350629","value":"","parentId":"350600"},
{"id":"350681","value":"","parentId":"350600"},
/******************/
{"id":"350702","value":"","parentId":"350700"},
{"id":"350721","value":"","parentId":"350700"},
{"id":"350722","value":"","parentId":"350700"},
{"id":"350723","value":"","parentId":"350700"},
{"id":"350724","value":"","parentId":"350700"},
{"id":"350725","value":"","parentId":"350700"},
{"id":"350781","value":"","parentId":"350700"},
{"id":"350782","value":"","parentId":"350700"},
{"id":"350783","value":"","parentId":"350700"},
{"id":"350784","value":"","parentId":"350700"},
/******************/
{"id":"350802","value":"","parentId":"350800"},
{"id":"350821","value":"","parentId":"350800"},
{"id":"350822","value":"","parentId":"350800"},
{"id":"350823","value":"","parentId":"350800"},
{"id":"350824","value":"","parentId":"350800"},
{"id":"350825","value":"","parentId":"350800"},
{"id":"350881","value":"","parentId":"350800"},
/******************/
{"id":"350902","value":"","parentId":"350900"},
{"id":"350921","value":"","parentId":"350900"},
{"id":"350922","value":"","parentId":"350900"},
{"id":"350923","value":"","parentId":"350900"},
{"id":"350924","value":"","parentId":"350900"},
{"id":"350925","value":"","parentId":"350900"},
{"id":"350926","value":"","parentId":"350900"},
{"id":"350981","value":"","parentId":"350900"},
{"id":"350982","value":"","parentId":"350900"},
/******************/
{"id":"360102","value":"","parentId":"360100"},
{"id":"360103","value":"","parentId":"360100"},
{"id":"360104","value":"","parentId":"360100"},
{"id":"360105","value":"","parentId":"360100"},
{"id":"360111","value":"","parentId":"360100"},
{"id":"360121","value":"","parentId":"360100"},
{"id":"360122","value":"","parentId":"360100"},
{"id":"360123","value":"","parentId":"360100"},
{"id":"360124","value":"","parentId":"360100"},
/******************/
{"id":"360202","value":"","parentId":"360200"},
{"id":"360203","value":"","parentId":"360200"},
{"id":"360222","value":"","parentId":"360200"},
{"id":"360281","value":"","parentId":"360200"},
/******************/
{"id":"360302","value":"","parentId":"360300"},
{"id":"360313","value":"","parentId":"360300"},
{"id":"360321","value":"","parentId":"360300"},
{"id":"360322","value":"","parentId":"360300"},
{"id":"360323","value":"","parentId":"360300"},
/******************/
{"id":"360402","value":"","parentId":"360400"},
{"id":"360403","value":"","parentId":"360400"},
{"id":"360421","value":"","parentId":"360400"},
{"id":"360423","value":"","parentId":"360400"},
{"id":"360424","value":"","parentId":"360400"},
{"id":"360425","value":"","parentId":"360400"},
{"id":"360426","value":"","parentId":"360400"},
{"id":"360427","value":"","parentId":"360400"},
{"id":"360428","value":"","parentId":"360400"},
{"id":"360429","value":"","parentId":"360400"},
{"id":"360430","value":"","parentId":"360400"},
{"id":"360481","value":"","parentId":"360400"},
{"id":"360482","value":"","parentId":"360400"},
/******************/
{"id":"360502","value":"","parentId":"360500"},
{"id":"360521","value":"","parentId":"360500"},
/******************/
{"id":"360602","value":"","parentId":"360600"},
{"id":"360622","value":"","parentId":"360600"},
{"id":"360681","value":"","parentId":"360600"},
/******************/
{"id":"360702","value":"","parentId":"360700"},
{"id":"360721","value":"","parentId":"360700"},
{"id":"360722","value":"","parentId":"360700"},
{"id":"360723","value":"","parentId":"360700"},
{"id":"360724","value":"","parentId":"360700"},
{"id":"360725","value":"","parentId":"360700"},
{"id":"360726","value":"","parentId":"360700"},
{"id":"360727","value":"","parentId":"360700"},
{"id":"360728","value":"","parentId":"360700"},
{"id":"360729","value":"","parentId":"360700"},
{"id":"360730","value":"","parentId":"360700"},
{"id":"360731","value":"","parentId":"360700"},
{"id":"360732","value":"","parentId":"360700"},
{"id":"360733","value":"","parentId":"360700"},
{"id":"360734","value":"","parentId":"360700"},
{"id":"360735","value":"","parentId":"360700"},
{"id":"360781","value":"","parentId":"360700"},
{"id":"360782","value":"","parentId":"360700"},
/******************/
{"id":"360802","value":"","parentId":"360800"},
{"id":"360803","value":"","parentId":"360800"},
{"id":"360821","value":"","parentId":"360800"},
{"id":"360822","value":"","parentId":"360800"},
{"id":"360823","value":"","parentId":"360800"},
{"id":"360824","value":"","parentId":"360800"},
{"id":"360825","value":"","parentId":"360800"},
{"id":"360826","value":"","parentId":"360800"},
{"id":"360827","value":"","parentId":"360800"},
{"id":"360828","value":"","parentId":"360800"},
{"id":"360829","value":"","parentId":"360800"},
{"id":"360830","value":"","parentId":"360800"},
{"id":"360881","value":"","parentId":"360800"},
/******************/
{"id":"360902","value":"","parentId":"360900"},
{"id":"360921","value":"","parentId":"360900"},
{"id":"360922","value":"","parentId":"360900"},
{"id":"360923","value":"","parentId":"360900"},
{"id":"360924","value":"","parentId":"360900"},
{"id":"360925","value":"","parentId":"360900"},
{"id":"360926","value":"","parentId":"360900"},
{"id":"360981","value":"","parentId":"360900"},
{"id":"360982","value":"","parentId":"360900"},
{"id":"360983","value":"","parentId":"360900"},
/******************/
{"id":"361002","value":"","parentId":"361000"},
{"id":"361021","value":"","parentId":"361000"},
{"id":"361022","value":"","parentId":"361000"},
{"id":"361023","value":"","parentId":"361000"},
{"id":"361024","value":"","parentId":"361000"},
{"id":"361025","value":"","parentId":"361000"},
{"id":"361026","value":"","parentId":"361000"},
{"id":"361027","value":"","parentId":"361000"},
{"id":"361028","value":"","parentId":"361000"},
{"id":"361029","value":"","parentId":"361000"},
{"id":"361030","value":"","parentId":"361000"},
/******************/
{"id":"361102","value":"","parentId":"361100"},
{"id":"361121","value":"","parentId":"361100"},
{"id":"361122","value":"","parentId":"361100"},
{"id":"361123","value":"","parentId":"361100"},
{"id":"361124","value":"","parentId":"361100"},
{"id":"361125","value":"","parentId":"361100"},
{"id":"361126","value":"","parentId":"361100"},
{"id":"361127","value":"","parentId":"361100"},
{"id":"361128","value":"","parentId":"361100"},
{"id":"361129","value":"","parentId":"361100"},
{"id":"361130","value":"","parentId":"361100"},
{"id":"361181","value":"","parentId":"361100"},
/******************/
{"id":"370102","value":"","parentId":"370100"},
{"id":"370103","value":"","parentId":"370100"},
{"id":"370104","value":"","parentId":"370100"},
{"id":"370105","value":"","parentId":"370100"},
{"id":"370112","value":"","parentId":"370100"},
{"id":"370113","value":"","parentId":"370100"},
{"id":"370124","value":"","parentId":"370100"},
{"id":"370125","value":"","parentId":"370100"},
{"id":"370126","value":"","parentId":"370100"},
{"id":"370181","value":"","parentId":"370100"},
/******************/
{"id":"370202","value":"","parentId":"370200"},
{"id":"370203","value":"","parentId":"370200"},
{"id":"370205","value":"","parentId":"370200"},
{"id":"370211","value":"","parentId":"370200"},
{"id":"370212","value":"","parentId":"370200"},
{"id":"370213","value":"","parentId":"370200"},
{"id":"370214","value":"","parentId":"370200"},
{"id":"370281","value":"","parentId":"370200"},
{"id":"370282","value":"","parentId":"370200"},
{"id":"370283","value":"","parentId":"370200"},
{"id":"370284","value":"","parentId":"370200"},
{"id":"370285","value":"","parentId":"370200"},
/******************/
{"id":"370302","value":"","parentId":"370300"},
{"id":"370303","value":"","parentId":"370300"},
{"id":"370304","value":"","parentId":"370300"},
{"id":"370305","value":"","parentId":"370300"},
{"id":"370306","value":"","parentId":"370300"},
{"id":"370321","value":"","parentId":"370300"},
{"id":"370322","value":"","parentId":"370300"},
{"id":"370323","value":"","parentId":"370300"},
/******************/
{"id":"370402","value":"","parentId":"370400"},
{"id":"370403","value":"","parentId":"370400"},
{"id":"370404","value":"","parentId":"370400"},
{"id":"370405","value":"","parentId":"370400"},
{"id":"370406","value":"","parentId":"370400"},
{"id":"370481","value":"","parentId":"370400"},
/******************/
{"id":"370502","value":"","parentId":"370500"},
{"id":"370503","value":"","parentId":"370500"},
{"id":"370521","value":"","parentId":"370500"},
{"id":"370522","value":"","parentId":"370500"},
{"id":"370523","value":"","parentId":"370500"},
/******************/
{"id":"370602","value":"","parentId":"370600"},
{"id":"370611","value":"","parentId":"370600"},
{"id":"370612","value":"","parentId":"370600"},
{"id":"370613","value":"","parentId":"370600"},
{"id":"370634","value":"","parentId":"370600"},
{"id":"370681","value":"","parentId":"370600"},
{"id":"370682","value":"","parentId":"370600"},
{"id":"370683","value":"","parentId":"370600"},
{"id":"370684","value":"","parentId":"370600"},
{"id":"370685","value":"","parentId":"370600"},
{"id":"370686","value":"","parentId":"370600"},
{"id":"370687","value":"","parentId":"370600"},
/******************/
{"id":"370702","value":"","parentId":"370700"},
{"id":"370703","value":"","parentId":"370700"},
{"id":"370704","value":"","parentId":"370700"},
{"id":"370705","value":"","parentId":"370700"},
{"id":"370724","value":"","parentId":"370700"},
{"id":"370725","value":"","parentId":"370700"},
{"id":"370781","value":"","parentId":"370700"},
{"id":"370782","value":"","parentId":"370700"},
{"id":"370783","value":"","parentId":"370700"},
{"id":"370784","value":"","parentId":"370700"},
{"id":"370785","value":"","parentId":"370700"},
{"id":"370786","value":"","parentId":"370700"},
/******************/
{"id":"370802","value":"","parentId":"370800"},
{"id":"370811","value":"","parentId":"370800"},
{"id":"370826","value":"","parentId":"370800"},
{"id":"370827","value":"","parentId":"370800"},
{"id":"370828","value":"","parentId":"370800"},
{"id":"370829","value":"","parentId":"370800"},
{"id":"370830","value":"","parentId":"370800"},
{"id":"370831","value":"","parentId":"370800"},
{"id":"370832","value":"","parentId":"370800"},
{"id":"370881","value":"","parentId":"370800"},
{"id":"370882","value":"","parentId":"370800"},
{"id":"370883","value":"","parentId":"370800"},
/******************/
{"id":"370902","value":"","parentId":"370900"},
{"id":"370911","value":"","parentId":"370900"},
{"id":"370921","value":"","parentId":"370900"},
{"id":"370923","value":"","parentId":"370900"},
{"id":"370982","value":"","parentId":"370900"},
{"id":"370983","value":"","parentId":"370900"},
/******************/
{"id":"371002","value":"","parentId":"371000"},
{"id":"371081","value":"","parentId":"371000"},
{"id":"371082","value":"","parentId":"371000"},
{"id":"371083","value":"","parentId":"371000"},
/******************/
{"id":"371102","value":"","parentId":"371100"},
{"id":"371103","value":"","parentId":"371100"},
{"id":"371121","value":"","parentId":"371100"},
{"id":"371122","value":"","parentId":"371100"},
/******************/
{"id":"371202","value":"","parentId":"371200"},
{"id":"371203","value":"","parentId":"371200"},
/******************/
{"id":"371302","value":"","parentId":"371300"},
{"id":"371311","value":"","parentId":"371300"},
{"id":"371312","value":"","parentId":"371300"},
{"id":"371321","value":"","parentId":"371300"},
{"id":"371322","value":"","parentId":"371300"},
{"id":"371323","value":"","parentId":"371300"},
{"id":"371324","value":"","parentId":"371300"},
{"id":"371325","value":"","parentId":"371300"},
{"id":"371326","value":"","parentId":"371300"},
{"id":"371327","value":"","parentId":"371300"},
{"id":"371328","value":"","parentId":"371300"},
{"id":"371329","value":"","parentId":"371300"},
/******************/
{"id":"371402","value":"","parentId":"371400"},
{"id":"371421","value":"","parentId":"371400"},
{"id":"371422","value":"","parentId":"371400"},
{"id":"371423","value":"","parentId":"371400"},
{"id":"371424","value":"","parentId":"371400"},
{"id":"371425","value":"","parentId":"371400"},
{"id":"371426","value":"","parentId":"371400"},
{"id":"371427","value":"","parentId":"371400"},
{"id":"371428","value":"","parentId":"371400"},
{"id":"371481","value":"","parentId":"371400"},
{"id":"371482","value":"","parentId":"371400"},
/******************/
{"id":"371502","value":"","parentId":"371500"},
{"id":"371521","value":"","parentId":"371500"},
{"id":"371522","value":"","parentId":"371500"},
{"id":"371523","value":"","parentId":"371500"},
{"id":"371524","value":"","parentId":"371500"},
{"id":"371525","value":"","parentId":"371500"},
{"id":"371526","value":"","parentId":"371500"},
{"id":"371581","value":"","parentId":"371500"},
/******************/
{"id":"371602","value":"","parentId":"371600"},
{"id":"371621","value":"","parentId":"371600"},
{"id":"371622","value":"","parentId":"371600"},
{"id":"371623","value":"","parentId":"371600"},
{"id":"371624","value":"","parentId":"371600"},
{"id":"371625","value":"","parentId":"371600"},
{"id":"371626","value":"","parentId":"371600"},
/******************/
{"id":"371702","value":"","parentId":"371700"},
{"id":"371721","value":"","parentId":"371700"},
{"id":"371722","value":"","parentId":"371700"},
{"id":"371723","value":"","parentId":"371700"},
{"id":"371724","value":"","parentId":"371700"},
{"id":"371725","value":"","parentId":"371700"},
{"id":"371726","value":"","parentId":"371700"},
{"id":"371727","value":"","parentId":"371700"},
{"id":"371728","value":"","parentId":"371700"},
/******************/
{"id":"410102","value":"","parentId":"410100"},
{"id":"410103","value":"","parentId":"410100"},
{"id":"410104","value":"","parentId":"410100"},
{"id":"410105","value":"","parentId":"410100"},
{"id":"410106","value":"","parentId":"410100"},
{"id":"410108","value":"","parentId":"410100"},
{"id":"410122","value":"","parentId":"410100"},
{"id":"410181","value":"","parentId":"410100"},
{"id":"410182","value":"","parentId":"410100"},
{"id":"410183","value":"","parentId":"410100"},
{"id":"410184","value":"","parentId":"410100"},
{"id":"410185","value":"","parentId":"410100"},
/******************/
{"id":"410202","value":"","parentId":"410200"},
{"id":"410203","value":"","parentId":"410200"},
{"id":"410204","value":"","parentId":"410200"},
{"id":"410205","value":"","parentId":"410200"},
{"id":"410211","value":"","parentId":"410200"},
{"id":"410221","value":"","parentId":"410200"},
{"id":"410222","value":"","parentId":"410200"},
{"id":"410223","value":"","parentId":"410200"},
{"id":"410224","value":"","parentId":"410200"},
{"id":"410225","value":"","parentId":"410200"},
/******************/
{"id":"410302","value":"","parentId":"410300"},
{"id":"410303","value":"","parentId":"410300"},
{"id":"410304","value":"","parentId":"410300"},
{"id":"410305","value":"","parentId":"410300"},
{"id":"410306","value":"","parentId":"410300"},
{"id":"410311","value":"","parentId":"410300"},
{"id":"410322","value":"","parentId":"410300"},
{"id":"410323","value":"","parentId":"410300"},
{"id":"410324","value":"","parentId":"410300"},
{"id":"410325","value":"","parentId":"410300"},
{"id":"410326","value":"","parentId":"410300"},
{"id":"410327","value":"","parentId":"410300"},
{"id":"410328","value":"","parentId":"410300"},
{"id":"410329","value":"","parentId":"410300"},
{"id":"410381","value":"","parentId":"410300"},
/******************/
{"id":"410402","value":"","parentId":"410400"},
{"id":"410403","value":"","parentId":"410400"},
{"id":"410404","value":"","parentId":"410400"},
{"id":"410411","value":"","parentId":"410400"},
{"id":"410421","value":"","parentId":"410400"},
{"id":"410422","value":"","parentId":"410400"},
{"id":"410423","value":"","parentId":"410400"},
{"id":"410425","value":"","parentId":"410400"},
{"id":"410481","value":"","parentId":"410400"},
{"id":"410482","value":"","parentId":"410400"},
/******************/
{"id":"410502","value":"","parentId":"410500"},
{"id":"410503","value":"","parentId":"410500"},
{"id":"410505","value":"","parentId":"410500"},
{"id":"410506","value":"","parentId":"410500"},
{"id":"410522","value":"","parentId":"410500"},
{"id":"410523","value":"","parentId":"410500"},
{"id":"410526","value":"","parentId":"410500"},
{"id":"410527","value":"","parentId":"410500"},
{"id":"410581","value":"","parentId":"410500"},
/******************/
{"id":"410602","value":"","parentId":"410600"},
{"id":"410603","value":"","parentId":"410600"},
{"id":"410611","value":"","parentId":"410600"},
{"id":"410621","value":"","parentId":"410600"},
{"id":"410622","value":"","parentId":"410600"},
/******************/
{"id":"410702","value":"","parentId":"410700"},
{"id":"410703","value":"","parentId":"410700"},
{"id":"410704","value":"","parentId":"410700"},
{"id":"410711","value":"","parentId":"410700"},
{"id":"410721","value":"","parentId":"410700"},
{"id":"410724","value":"","parentId":"410700"},
{"id":"410725","value":"","parentId":"410700"},
{"id":"410726","value":"","parentId":"410700"},
{"id":"410727","value":"","parentId":"410700"},
{"id":"410728","value":"","parentId":"410700"},
{"id":"410781","value":"","parentId":"410700"},
{"id":"410782","value":"","parentId":"410700"},
/******************/
{"id":"410802","value":"","parentId":"410800"},
{"id":"410803","value":"","parentId":"410800"},
{"id":"410804","value":"","parentId":"410800"},
{"id":"410811","value":"","parentId":"410800"},
{"id":"410821","value":"","parentId":"410800"},
{"id":"410822","value":"","parentId":"410800"},
{"id":"410823","value":"","parentId":"410800"},
{"id":"410825","value":"","parentId":"410800"},
{"id":"410882","value":"","parentId":"410800"},
{"id":"410883","value":"","parentId":"410800"},
/******************/
{"id":"410902","value":"","parentId":"410900"},
{"id":"410922","value":"","parentId":"410900"},
{"id":"410923","value":"","parentId":"410900"},
{"id":"410926","value":"","parentId":"410900"},
{"id":"410927","value":"","parentId":"410900"},
{"id":"410928","value":"","parentId":"410900"},
/******************/
{"id":"411002","value":"","parentId":"411000"},
{"id":"411023","value":"","parentId":"411000"},
{"id":"411024","value":"","parentId":"411000"},
{"id":"411025","value":"","parentId":"411000"},
{"id":"411081","value":"","parentId":"411000"},
{"id":"411082","value":"","parentId":"411000"},
/******************/
{"id":"411102","value":"","parentId":"411100"},
{"id":"411103","value":"","parentId":"411100"},
{"id":"411104","value":"","parentId":"411100"},
{"id":"411121","value":"","parentId":"411100"},
{"id":"411122","value":"","parentId":"411100"},
/******************/
{"id":"411202","value":"","parentId":"411200"},
{"id":"411221","value":"","parentId":"411200"},
{"id":"411222","value":"","parentId":"411200"},
{"id":"411224","value":"","parentId":"411200"},
{"id":"411281","value":"","parentId":"411200"},
{"id":"411282","value":"","parentId":"411200"},
/******************/
{"id":"411302","value":"","parentId":"411300"},
{"id":"411303","value":"","parentId":"411300"},
{"id":"411321","value":"","parentId":"411300"},
{"id":"411322","value":"","parentId":"411300"},
{"id":"411323","value":"","parentId":"411300"},
{"id":"411324","value":"","parentId":"411300"},
{"id":"411325","value":"","parentId":"411300"},
{"id":"411326","value":"","parentId":"411300"},
{"id":"411327","value":"","parentId":"411300"},
{"id":"411328","value":"","parentId":"411300"},
{"id":"411329","value":"","parentId":"411300"},
{"id":"411330","value":"","parentId":"411300"},
{"id":"411381","value":"","parentId":"411300"},
/******************/
{"id":"411402","value":"","parentId":"411400"},
{"id":"411403","value":"","parentId":"411400"},
{"id":"411421","value":"","parentId":"411400"},
{"id":"411422","value":"","parentId":"411400"},
{"id":"411423","value":"","parentId":"411400"},
{"id":"411424","value":"","parentId":"411400"},
{"id":"411425","value":"","parentId":"411400"},
{"id":"411426","value":"","parentId":"411400"},
{"id":"411481","value":"","parentId":"411400"},
/******************/
{"id":"411502","value":"","parentId":"411500"},
{"id":"411503","value":"","parentId":"411500"},
{"id":"411521","value":"","parentId":"411500"},
{"id":"411522","value":"","parentId":"411500"},
{"id":"411523","value":"","parentId":"411500"},
{"id":"411524","value":"","parentId":"411500"},
{"id":"411525","value":"","parentId":"411500"},
{"id":"411526","value":"","parentId":"411500"},
{"id":"411527","value":"","parentId":"411500"},
{"id":"411528","value":"","parentId":"411500"},
/******************/
{"id":"411602","value":"","parentId":"411600"},
{"id":"411621","value":"","parentId":"411600"},
{"id":"411622","value":"","parentId":"411600"},
{"id":"411623","value":"","parentId":"411600"},
{"id":"411624","value":"","parentId":"411600"},
{"id":"411625","value":"","parentId":"411600"},
{"id":"411626","value":"","parentId":"411600"},
{"id":"411627","value":"","parentId":"411600"},
{"id":"411628","value":"","parentId":"411600"},
{"id":"411681","value":"","parentId":"411600"},
/******************/
{"id":"411702","value":"","parentId":"411700"},
{"id":"411721","value":"","parentId":"411700"},
{"id":"411722","value":"","parentId":"411700"},
{"id":"411723","value":"","parentId":"411700"},
{"id":"411724","value":"","parentId":"411700"},
{"id":"411725","value":"","parentId":"411700"},
{"id":"411726","value":"","parentId":"411700"},
{"id":"411727","value":"","parentId":"411700"},
{"id":"411728","value":"","parentId":"411700"},
{"id":"411729","value":"","parentId":"411700"},
/******************/
{"id":"419001","value":"","parentId":"419001"},
/******************/
{"id":"420102","value":"","parentId":"420100"},
{"id":"420103","value":"","parentId":"420100"},
{"id":"420104","value":"","parentId":"420100"},
{"id":"420105","value":"","parentId":"420100"},
{"id":"420106","value":"","parentId":"420100"},
{"id":"420107","value":"","parentId":"420100"},
{"id":"420111","value":"","parentId":"420100"},
{"id":"420112","value":"","parentId":"420100"},
{"id":"420113","value":"","parentId":"420100"},
{"id":"420114","value":"","parentId":"420100"},
{"id":"420115","value":"","parentId":"420100"},
{"id":"420116","value":"","parentId":"420100"},
{"id":"420117","value":"","parentId":"420100"},
/******************/
{"id":"420202","value":"","parentId":"420200"},
{"id":"420203","value":"","parentId":"420200"},
{"id":"420204","value":"","parentId":"420200"},
{"id":"420205","value":"","parentId":"420200"},
{"id":"420222","value":"","parentId":"420200"},
{"id":"420281","value":"","parentId":"420200"},
/******************/
{"id":"420302","value":"","parentId":"420300"},
{"id":"420303","value":"","parentId":"420300"},
{"id":"420321","value":"","parentId":"420300"},
{"id":"420322","value":"","parentId":"420300"},
{"id":"420323","value":"","parentId":"420300"},
{"id":"420324","value":"","parentId":"420300"},
{"id":"420325","value":"","parentId":"420300"},
{"id":"420381","value":"","parentId":"420300"},
/******************/
{"id":"420502","value":"","parentId":"420500"},
{"id":"420503","value":"","parentId":"420500"},
{"id":"420504","value":"","parentId":"420500"},
{"id":"420505","value":"","parentId":"420500"},
{"id":"420506","value":"","parentId":"420500"},
{"id":"420525","value":"","parentId":"420500"},
{"id":"420526","value":"","parentId":"420500"},
{"id":"420527","value":"","parentId":"420500"},
{"id":"420528","value":"","parentId":"420500"},
{"id":"420529","value":"","parentId":"420500"},
{"id":"420581","value":"","parentId":"420500"},
{"id":"420582","value":"","parentId":"420500"},
{"id":"420583","value":"","parentId":"420500"},
/******************/
{"id":"420602","value":"","parentId":"420600"},
{"id":"420606","value":"","parentId":"420600"},
{"id":"420607","value":"","parentId":"420600"},
{"id":"420624","value":"","parentId":"420600"},
{"id":"420625","value":"","parentId":"420600"},
{"id":"420626","value":"","parentId":"420600"},
{"id":"420682","value":"","parentId":"420600"},
{"id":"420683","value":"","parentId":"420600"},
{"id":"420684","value":"","parentId":"420600"},
/******************/
{"id":"420702","value":"","parentId":"420700"},
{"id":"420703","value":"","parentId":"420700"},
{"id":"420704","value":"","parentId":"420700"},
/******************/
{"id":"420802","value":"","parentId":"420800"},
{"id":"420804","value":"","parentId":"420800"},
{"id":"420821","value":"","parentId":"420800"},
{"id":"420822","value":"","parentId":"420800"},
{"id":"420881","value":"","parentId":"420800"},
/******************/
{"id":"420902","value":"","parentId":"420900"},
{"id":"420921","value":"","parentId":"420900"},
{"id":"420922","value":"","parentId":"420900"},
{"id":"420923","value":"","parentId":"420900"},
{"id":"420981","value":"","parentId":"420900"},
{"id":"420982","value":"","parentId":"420900"},
{"id":"420984","value":"","parentId":"420900"},
/******************/
{"id":"421002","value":"","parentId":"421000"},
{"id":"421003","value":"","parentId":"421000"},
{"id":"421022","value":"","parentId":"421000"},
{"id":"421023","value":"","parentId":"421000"},
{"id":"421024","value":"","parentId":"421000"},
{"id":"421081","value":"","parentId":"421000"},
{"id":"421083","value":"","parentId":"421000"},
{"id":"421087","value":"","parentId":"421000"},
/******************/
{"id":"421102","value":"","parentId":"421100"},
{"id":"421121","value":"","parentId":"421100"},
{"id":"421122","value":"","parentId":"421100"},
{"id":"421123","value":"","parentId":"421100"},
{"id":"421124","value":"","parentId":"421100"},
{"id":"421125","value":"","parentId":"421100"},
{"id":"421126","value":"","parentId":"421100"},
{"id":"421127","value":"","parentId":"421100"},
{"id":"421181","value":"","parentId":"421100"},
{"id":"421182","value":"","parentId":"421100"},
/******************/
{"id":"421202","value":"","parentId":"421200"},
{"id":"421221","value":"","parentId":"421200"},
{"id":"421222","value":"","parentId":"421200"},
{"id":"421223","value":"","parentId":"421200"},
{"id":"421224","value":"","parentId":"421200"},
{"id":"421281","value":"","parentId":"421200"},
/******************/
{"id":"421303","value":"","parentId":"421300"},
{"id":"421321","value":"","parentId":"421300"},
{"id":"421381","value":"","parentId":"421300"},
/******************/
{"id":"422801","value":"","parentId":"422800"},
{"id":"422802","value":"","parentId":"422800"},
{"id":"422822","value":"","parentId":"422800"},
{"id":"422823","value":"","parentId":"422800"},
{"id":"422825","value":"","parentId":"422800"},
{"id":"422826","value":"","parentId":"422800"},
{"id":"422827","value":"","parentId":"422800"},
{"id":"422828","value":"","parentId":"422800"},
/******************/
{"id":"429004","value":"","parentId":"429004"},
{"id":"429005","value":"","parentId":"429005"},
{"id":"429006","value":"","parentId":"429006"},
{"id":"429021","value":"","parentId":"429021"},
/******************/
{"id":"430102","value":"","parentId":"430100"},
{"id":"430103","value":"","parentId":"430100"},
{"id":"430104","value":"","parentId":"430100"},
{"id":"430105","value":"","parentId":"430100"},
{"id":"430111","value":"","parentId":"430100"},
{"id":"430112","value":"","parentId":"430100"},
{"id":"430121","value":"","parentId":"430100"},
{"id":"430124","value":"","parentId":"430100"},
{"id":"430181","value":"","parentId":"430100"},
/******************/
{"id":"430202","value":"","parentId":"430200"},
{"id":"430203","value":"","parentId":"430200"},
{"id":"430204","value":"","parentId":"430200"},
{"id":"430211","value":"","parentId":"430200"},
{"id":"430221","value":"","parentId":"430200"},
{"id":"430223","value":"","parentId":"430200"},
{"id":"430224","value":"","parentId":"430200"},
{"id":"430225","value":"","parentId":"430200"},
{"id":"430281","value":"","parentId":"430200"},
/******************/
{"id":"430302","value":"","parentId":"430300"},
{"id":"430304","value":"","parentId":"430300"},
{"id":"430321","value":"","parentId":"430300"},
{"id":"430381","value":"","parentId":"430300"},
{"id":"430382","value":"","parentId":"430300"},
/******************/
{"id":"430405","value":"","parentId":"430400"},
{"id":"430406","value":"","parentId":"430400"},
{"id":"430407","value":"","parentId":"430400"},
{"id":"430408","value":"","parentId":"430400"},
{"id":"430412","value":"","parentId":"430400"},
{"id":"430421","value":"","parentId":"430400"},
{"id":"430422","value":"","parentId":"430400"},
{"id":"430423","value":"","parentId":"430400"},
{"id":"430424","value":"","parentId":"430400"},
{"id":"430426","value":"","parentId":"430400"},
{"id":"430481","value":"","parentId":"430400"},
{"id":"430482","value":"","parentId":"430400"},
/******************/
{"id":"430502","value":"","parentId":"430500"},
{"id":"430503","value":"","parentId":"430500"},
{"id":"430511","value":"","parentId":"430500"},
{"id":"430521","value":"","parentId":"430500"},
{"id":"430522","value":"","parentId":"430500"},
{"id":"430523","value":"","parentId":"430500"},
{"id":"430524","value":"","parentId":"430500"},
{"id":"430525","value":"","parentId":"430500"},
{"id":"430527","value":"","parentId":"430500"},
{"id":"430528","value":"","parentId":"430500"},
{"id":"430529","value":"","parentId":"430500"},
{"id":"430581","value":"","parentId":"430500"},
/******************/
{"id":"430602","value":"","parentId":"430600"},
{"id":"430603","value":"","parentId":"430600"},
{"id":"430611","value":"","parentId":"430600"},
{"id":"430621","value":"","parentId":"430600"},
{"id":"430623","value":"","parentId":"430600"},
{"id":"430624","value":"","parentId":"430600"},
{"id":"430626","value":"","parentId":"430600"},
{"id":"430681","value":"","parentId":"430600"},
{"id":"430682","value":"","parentId":"430600"},
/******************/
{"id":"430702","value":"","parentId":"430700"},
{"id":"430703","value":"","parentId":"430700"},
{"id":"430721","value":"","parentId":"430700"},
{"id":"430722","value":"","parentId":"430700"},
{"id":"430723","value":"","parentId":"430700"},
{"id":"430724","value":"","parentId":"430700"},
{"id":"430725","value":"","parentId":"430700"},
{"id":"430726","value":"","parentId":"430700"},
{"id":"430781","value":"","parentId":"430700"},
/******************/
{"id":"430802","value":"","parentId":"430800"},
{"id":"430811","value":"","parentId":"430800"},
{"id":"430821","value":"","parentId":"430800"},
{"id":"430822","value":"","parentId":"430800"},
/******************/
{"id":"430902","value":"","parentId":"430900"},
{"id":"430903","value":"","parentId":"430900"},
{"id":"430921","value":"","parentId":"430900"},
{"id":"430922","value":"","parentId":"430900"},
{"id":"430923","value":"","parentId":"430900"},
{"id":"430981","value":"","parentId":"430900"},
/******************/
{"id":"431002","value":"","parentId":"431000"},
{"id":"431003","value":"","parentId":"431000"},
{"id":"431021","value":"","parentId":"431000"},
{"id":"431022","value":"","parentId":"431000"},
{"id":"431023","value":"","parentId":"431000"},
{"id":"431024","value":"","parentId":"431000"},
{"id":"431025","value":"","parentId":"431000"},
{"id":"431026","value":"","parentId":"431000"},
{"id":"431027","value":"","parentId":"431000"},
{"id":"431028","value":"","parentId":"431000"},
{"id":"431081","value":"","parentId":"431000"},
/******************/
{"id":"431102","value":"","parentId":"431100"},
{"id":"431103","value":"","parentId":"431100"},
{"id":"431121","value":"","parentId":"431100"},
{"id":"431122","value":"","parentId":"431100"},
{"id":"431123","value":"","parentId":"431100"},
{"id":"431124","value":"","parentId":"431100"},
{"id":"431125","value":"","parentId":"431100"},
{"id":"431126","value":"","parentId":"431100"},
{"id":"431127","value":"","parentId":"431100"},
{"id":"431128","value":"","parentId":"431100"},
{"id":"431129","value":"","parentId":"431100"},
/******************/
{"id":"431202","value":"","parentId":"431200"},
{"id":"431221","value":"","parentId":"431200"},
{"id":"431222","value":"","parentId":"431200"},
{"id":"431223","value":"","parentId":"431200"},
{"id":"431224","value":"","parentId":"431200"},
{"id":"431225","value":"","parentId":"431200"},
{"id":"431226","value":"","parentId":"431200"},
{"id":"431227","value":"","parentId":"431200"},
{"id":"431228","value":"","parentId":"431200"},
{"id":"431229","value":"","parentId":"431200"},
{"id":"431230","value":"","parentId":"431200"},
{"id":"431281","value":"","parentId":"431200"},
/******************/
{"id":"431302","value":"","parentId":"431300"},
{"id":"431321","value":"","parentId":"431300"},
{"id":"431322","value":"","parentId":"431300"},
{"id":"431381","value":"","parentId":"431300"},
{"id":"431382","value":"","parentId":"431300"},
/******************/
{"id":"433101","value":"","parentId":"433100"},
{"id":"433122","value":"","parentId":"433100"},
{"id":"433123","value":"","parentId":"433100"},
{"id":"433124","value":"","parentId":"433100"},
{"id":"433125","value":"","parentId":"433100"},
{"id":"433126","value":"","parentId":"433100"},
{"id":"433127","value":"","parentId":"433100"},
{"id":"433130","value":"","parentId":"433100"},
/******************/
{"id":"440103","value":"","parentId":"440100"},
{"id":"440104","value":"","parentId":"440100"},
{"id":"440105","value":"","parentId":"440100"},
{"id":"440106","value":"","parentId":"440100"},
{"id":"440111","value":"","parentId":"440100"},
{"id":"440112","value":"","parentId":"440100"},
{"id":"440113","value":"","parentId":"440100"},
{"id":"440114","value":"","parentId":"440100"},
{"id":"440115","value":"","parentId":"440100"},
{"id":"440116","value":"","parentId":"440100"},
{"id":"440183","value":"","parentId":"440100"},
{"id":"440184","value":"","parentId":"440100"},
/******************/
{"id":"440203","value":"","parentId":"440200"},
{"id":"440204","value":"","parentId":"440200"},
{"id":"440205","value":"","parentId":"440200"},
{"id":"440222","value":"","parentId":"440200"},
{"id":"440224","value":"","parentId":"440200"},
{"id":"440229","value":"","parentId":"440200"},
{"id":"440232","value":"","parentId":"440200"},
{"id":"440233","value":"","parentId":"440200"},
{"id":"440281","value":"","parentId":"440200"},
{"id":"440282","value":"","parentId":"440200"},
/******************/
{"id":"440303","value":"","parentId":"440300"},
{"id":"440304","value":"","parentId":"440300"},
{"id":"440305","value":"","parentId":"440300"},
{"id":"440306","value":"","parentId":"440300"},
{"id":"440307","value":"","parentId":"440300"},
{"id":"440308","value":"","parentId":"440300"},
/******************/
{"id":"440402","value":"","parentId":"440400"},
{"id":"440403","value":"","parentId":"440400"},
{"id":"440404","value":"","parentId":"440400"},
/******************/
{"id":"440507","value":"","parentId":"440500"},
{"id":"440511","value":"","parentId":"440500"},
{"id":"440512","value":"","parentId":"440500"},
{"id":"440513","value":"","parentId":"440500"},
{"id":"440514","value":"","parentId":"440500"},
{"id":"440515","value":"","parentId":"440500"},
{"id":"440523","value":"","parentId":"440500"},
/******************/
{"id":"440604","value":"","parentId":"440600"},
{"id":"440605","value":"","parentId":"440600"},
{"id":"440606","value":"","parentId":"440600"},
{"id":"440607","value":"","parentId":"440600"},
{"id":"440608","value":"","parentId":"440600"},
/******************/
{"id":"440703","value":"","parentId":"440700"},
{"id":"440704","value":"","parentId":"440700"},
{"id":"440705","value":"","parentId":"440700"},
{"id":"440781","value":"","parentId":"440700"},
{"id":"440783","value":"","parentId":"440700"},
{"id":"440784","value":"","parentId":"440700"},
{"id":"440785","value":"","parentId":"440700"},
/******************/
{"id":"440802","value":"","parentId":"440800"},
{"id":"440803","value":"","parentId":"440800"},
{"id":"440804","value":"","parentId":"440800"},
{"id":"440811","value":"","parentId":"440800"},
{"id":"440823","value":"","parentId":"440800"},
{"id":"440825","value":"","parentId":"440800"},
{"id":"440881","value":"","parentId":"440800"},
{"id":"440882","value":"","parentId":"440800"},
{"id":"440883","value":"","parentId":"440800"},
/******************/
{"id":"440902","value":"","parentId":"440900"},
{"id":"440903","value":"","parentId":"440900"},
{"id":"440923","value":"","parentId":"440900"},
{"id":"440981","value":"","parentId":"440900"},
{"id":"440982","value":"","parentId":"440900"},
{"id":"440983","value":"","parentId":"440900"},
/******************/
{"id":"441202","value":"","parentId":"441200"},
{"id":"441203","value":"","parentId":"441200"},
{"id":"441223","value":"","parentId":"441200"},
{"id":"441224","value":"","parentId":"441200"},
{"id":"441225","value":"","parentId":"441200"},
{"id":"441226","value":"","parentId":"441200"},
{"id":"441283","value":"","parentId":"441200"},
{"id":"441284","value":"","parentId":"441200"},
/******************/
{"id":"441302","value":"","parentId":"441300"},
{"id":"441303","value":"","parentId":"441300"},
{"id":"441322","value":"","parentId":"441300"},
{"id":"441323","value":"","parentId":"441300"},
{"id":"441324","value":"","parentId":"441300"},
/******************/
{"id":"441402","value":"","parentId":"441400"},
{"id":"441421","value":"","parentId":"441400"},
{"id":"441422","value":"","parentId":"441400"},
{"id":"441423","value":"","parentId":"441400"},
{"id":"441424","value":"","parentId":"441400"},
{"id":"441426","value":"","parentId":"441400"},
{"id":"441427","value":"","parentId":"441400"},
{"id":"441481","value":"","parentId":"441400"},
/******************/
{"id":"441502","value":"","parentId":"441500"},
{"id":"441521","value":"","parentId":"441500"},
{"id":"441523","value":"","parentId":"441500"},
{"id":"441581","value":"","parentId":"441500"},
/******************/
{"id":"441602","value":"","parentId":"441600"},
{"id":"441621","value":"","parentId":"441600"},
{"id":"441622","value":"","parentId":"441600"},
{"id":"441623","value":"","parentId":"441600"},
{"id":"441624","value":"","parentId":"441600"},
{"id":"441625","value":"","parentId":"441600"},
/******************/
{"id":"441702","value":"","parentId":"441700"},
{"id":"441721","value":"","parentId":"441700"},
{"id":"441723","value":"","parentId":"441700"},
{"id":"441781","value":"","parentId":"441700"},
/******************/
{"id":"441802","value":"","parentId":"441800"},
{"id":"441821","value":"","parentId":"441800"},
{"id":"441823","value":"","parentId":"441800"},
{"id":"441825","value":"","parentId":"441800"},
{"id":"441826","value":"","parentId":"441800"},
{"id":"441827","value":"","parentId":"441800"},
{"id":"441881","value":"","parentId":"441800"},
{"id":"441882","value":"","parentId":"441800"},
/******************/
{"id":"441901","value":"","parentId":"441900"},
/******************/
{"id":"442001","value":"","parentId":"442000"},
/******************/
{"id":"445102","value":"","parentId":"445100"},
{"id":"445121","value":"","parentId":"445100"},
{"id":"445122","value":"","parentId":"445100"},
/******************/
{"id":"445202","value":"","parentId":"445200"},
{"id":"445221","value":"","parentId":"445200"},
{"id":"445222","value":"","parentId":"445200"},
{"id":"445224","value":"","parentId":"445200"},
{"id":"445281","value":"","parentId":"445200"},
/******************/
{"id":"445302","value":"","parentId":"445300"},
{"id":"445321","value":"","parentId":"445300"},
{"id":"445322","value":"","parentId":"445300"},
{"id":"445323","value":"","parentId":"445300"},
{"id":"445381","value":"","parentId":"445300"},
/******************/
{"id":"450102","value":"","parentId":"450100"},
{"id":"450103","value":"","parentId":"450100"},
{"id":"450105","value":"","parentId":"450100"},
{"id":"450107","value":"","parentId":"450100"},
{"id":"450108","value":"","parentId":"450100"},
{"id":"450109","value":"","parentId":"450100"},
{"id":"450122","value":"","parentId":"450100"},
{"id":"450123","value":"","parentId":"450100"},
{"id":"450124","value":"","parentId":"450100"},
{"id":"450125","value":"","parentId":"450100"},
{"id":"450126","value":"","parentId":"450100"},
{"id":"450127","value":"","parentId":"450100"},
/******************/
{"id":"450202","value":"","parentId":"450200"},
{"id":"450203","value":"","parentId":"450200"},
{"id":"450204","value":"","parentId":"450200"},
{"id":"450205","value":"","parentId":"450200"},
{"id":"450221","value":"","parentId":"450200"},
{"id":"450222","value":"","parentId":"450200"},
{"id":"450223","value":"","parentId":"450200"},
{"id":"450224","value":"","parentId":"450200"},
{"id":"450225","value":"","parentId":"450200"},
{"id":"450226","value":"","parentId":"450200"},
/******************/
{"id":"450302","value":"","parentId":"450300"},
{"id":"450303","value":"","parentId":"450300"},
{"id":"450304","value":"","parentId":"450300"},
{"id":"450305","value":"","parentId":"450300"},
{"id":"450311","value":"","parentId":"450300"},
{"id":"450321","value":"","parentId":"450300"},
{"id":"450322","value":"","parentId":"450300"},
{"id":"450323","value":"","parentId":"450300"},
{"id":"450324","value":"","parentId":"450300"},
{"id":"450325","value":"","parentId":"450300"},
{"id":"450326","value":"","parentId":"450300"},
{"id":"450327","value":"","parentId":"450300"},
{"id":"450328","value":"","parentId":"450300"},
{"id":"450329","value":"","parentId":"450300"},
{"id":"450330","value":"","parentId":"450300"},
{"id":"450331","value":"","parentId":"450300"},
{"id":"450332","value":"","parentId":"450300"},
/******************/
{"id":"450403","value":"","parentId":"450400"},
{"id":"450404","value":"","parentId":"450400"},
{"id":"450405","value":"","parentId":"450400"},
{"id":"450421","value":"","parentId":"450400"},
{"id":"450422","value":"","parentId":"450400"},
{"id":"450423","value":"","parentId":"450400"},
{"id":"450481","value":"","parentId":"450400"},
/******************/
{"id":"450502","value":"","parentId":"450500"},
{"id":"450503","value":"","parentId":"450500"},
{"id":"450512","value":"","parentId":"450500"},
{"id":"450521","value":"","parentId":"450500"},
/******************/
{"id":"450602","value":"","parentId":"450600"},
{"id":"450603","value":"","parentId":"450600"},
{"id":"450621","value":"","parentId":"450600"},
{"id":"450681","value":"","parentId":"450600"},
/******************/
{"id":"450702","value":"","parentId":"450700"},
{"id":"450703","value":"","parentId":"450700"},
{"id":"450721","value":"","parentId":"450700"},
{"id":"450722","value":"","parentId":"450700"},
/******************/
{"id":"450802","value":"","parentId":"450800"},
{"id":"450803","value":"","parentId":"450800"},
{"id":"450804","value":"","parentId":"450800"},
{"id":"450821","value":"","parentId":"450800"},
{"id":"450881","value":"","parentId":"450800"},
/******************/
{"id":"450902","value":"","parentId":"450900"},
{"id":"450921","value":"","parentId":"450900"},
{"id":"450922","value":"","parentId":"450900"},
{"id":"450923","value":"","parentId":"450900"},
{"id":"450924","value":"","parentId":"450900"},
{"id":"450981","value":"","parentId":"450900"},
/******************/
{"id":"451002","value":"","parentId":"451000"},
{"id":"451021","value":"","parentId":"451000"},
{"id":"451022","value":"","parentId":"451000"},
{"id":"451023","value":"","parentId":"451000"},
{"id":"451024","value":"","parentId":"451000"},
{"id":"451025","value":"","parentId":"451000"},
{"id":"451026","value":"","parentId":"451000"},
{"id":"451027","value":"","parentId":"451000"},
{"id":"451028","value":"","parentId":"451000"},
{"id":"451029","value":"","parentId":"451000"},
{"id":"451030","value":"","parentId":"451000"},
{"id":"451031","value":"","parentId":"451000"},
/******************/
{"id":"451102","value":"","parentId":"451100"},
{"id":"451119","value":"","parentId":"451100"},
{"id":"451121","value":"","parentId":"451100"},
{"id":"451122","value":"","parentId":"451100"},
{"id":"451123","value":"","parentId":"451100"},
/******************/
{"id":"451202","value":"","parentId":"451200"},
{"id":"451221","value":"","parentId":"451200"},
{"id":"451222","value":"","parentId":"451200"},
{"id":"451223","value":"","parentId":"451200"},
{"id":"451224","value":"","parentId":"451200"},
{"id":"451225","value":"","parentId":"451200"},
{"id":"451226","value":"","parentId":"451200"},
{"id":"451227","value":"","parentId":"451200"},
{"id":"451228","value":"","parentId":"451200"},
{"id":"451229","value":"","parentId":"451200"},
{"id":"451281","value":"","parentId":"451200"},
/******************/
{"id":"451302","value":"","parentId":"451300"},
{"id":"451321","value":"","parentId":"451300"},
{"id":"451322","value":"","parentId":"451300"},
{"id":"451323","value":"","parentId":"451300"},
{"id":"451324","value":"","parentId":"451300"},
{"id":"451381","value":"","parentId":"451300"},
/******************/
{"id":"451402","value":"","parentId":"451400"},
{"id":"451421","value":"","parentId":"451400"},
{"id":"451422","value":"","parentId":"451400"},
{"id":"451423","value":"","parentId":"451400"},
{"id":"451424","value":"","parentId":"451400"},
{"id":"451425","value":"","parentId":"451400"},
{"id":"451481","value":"","parentId":"451400"},
/******************/
{"id":"460105","value":"","parentId":"460100"},
{"id":"460106","value":"","parentId":"460100"},
{"id":"460107","value":"","parentId":"460100"},
{"id":"460108","value":"","parentId":"460100"},
/******************/
{"id":"460201","value":"","parentId":"460200"},
/******************/
{"id":"460301","value":"","parentId":"460300"},
/******************/
{"id":"469001","value":"","parentId":"469001"},
{"id":"469002","value":"","parentId":"469002"},
{"id":"469003","value":"","parentId":"469003"},
{"id":"469005","value":"","parentId":"469005"},
{"id":"469006","value":"","parentId":"469006"},
{"id":"469007","value":"","parentId":"469007"},
{"id":"469021","value":"","parentId":"469021"},
{"id":"469022","value":"","parentId":"469022"},
{"id":"469023","value":"","parentId":"469023"},
{"id":"469024","value":"","parentId":"469024"},
{"id":"469025","value":"","parentId":"469025"},
{"id":"469026","value":"","parentId":"469026"},
{"id":"469027","value":"","parentId":"469027"},
{"id":"469028","value":"","parentId":"469028"},
{"id":"469029","value":"","parentId":"469029"},
{"id":"469030","value":"","parentId":"469030"},
/******************/
{"id":"500101","value":"","parentId":"500100"},
{"id":"500102","value":"","parentId":"500100"},
{"id":"500103","value":"","parentId":"500100"},
{"id":"500104","value":"","parentId":"500100"},
{"id":"500105","value":"","parentId":"500100"},
{"id":"500106","value":"","parentId":"500100"},
{"id":"500107","value":"","parentId":"500100"},
{"id":"500108","value":"","parentId":"500100"},
{"id":"500109","value":"","parentId":"500100"},
{"id":"500110","value":"","parentId":"500100"},
{"id":"500111","value":"","parentId":"500100"},
{"id":"500112","value":"","parentId":"500100"},
{"id":"500113","value":"","parentId":"500100"},
{"id":"500114","value":"","parentId":"500100"},
{"id":"500115","value":"","parentId":"500100"},
{"id":"500116","value":"","parentId":"500100"},
{"id":"500117","value":"","parentId":"500100"},
{"id":"500118","value":"","parentId":"500100"},
{"id":"500119","value":"","parentId":"500100"},
/******************/
{"id":"510104","value":"","parentId":"510100"},
{"id":"510105","value":"","parentId":"510100"},
{"id":"510106","value":"","parentId":"510100"},
{"id":"510107","value":"","parentId":"510100"},
{"id":"510108","value":"","parentId":"510100"},
{"id":"510112","value":"","parentId":"510100"},
{"id":"510113","value":"","parentId":"510100"},
{"id":"510114","value":"","parentId":"510100"},
{"id":"510115","value":"","parentId":"510100"},
{"id":"510121","value":"","parentId":"510100"},
{"id":"510122","value":"","parentId":"510100"},
{"id":"510124","value":"","parentId":"510100"},
{"id":"510129","value":"","parentId":"510100"},
{"id":"510131","value":"","parentId":"510100"},
{"id":"510132","value":"","parentId":"510100"},
{"id":"510181","value":"","parentId":"510100"},
{"id":"510182","value":"","parentId":"510100"},
{"id":"510183","value":"","parentId":"510100"},
{"id":"510184","value":"","parentId":"510100"},
/******************/
{"id":"510302","value":"","parentId":"510300"},
{"id":"510303","value":"","parentId":"510300"},
{"id":"510304","value":"","parentId":"510300"},
{"id":"510311","value":"","parentId":"510300"},
{"id":"510321","value":"","parentId":"510300"},
{"id":"510322","value":"","parentId":"510300"},
/******************/
{"id":"510402","value":"","parentId":"510400"},
{"id":"510403","value":"","parentId":"510400"},
{"id":"510411","value":"","parentId":"510400"},
{"id":"510421","value":"","parentId":"510400"},
{"id":"510422","value":"","parentId":"510400"},
/******************/
{"id":"510502","value":"","parentId":"510500"},
{"id":"510503","value":"","parentId":"510500"},
{"id":"510504","value":"","parentId":"510500"},
{"id":"510521","value":"","parentId":"510500"},
{"id":"510522","value":"","parentId":"510500"},
{"id":"510524","value":"","parentId":"510500"},
{"id":"510525","value":"","parentId":"510500"},
/******************/
{"id":"510603","value":"","parentId":"510600"},
{"id":"510623","value":"","parentId":"510600"},
{"id":"510626","value":"","parentId":"510600"},
{"id":"510681","value":"","parentId":"510600"},
{"id":"510682","value":"","parentId":"510600"},
{"id":"510683","value":"","parentId":"510600"},
/******************/
{"id":"510703","value":"","parentId":"510700"},
{"id":"510704","value":"","parentId":"510700"},
{"id":"510722","value":"","parentId":"510700"},
{"id":"510723","value":"","parentId":"510700"},
{"id":"510724","value":"","parentId":"510700"},
{"id":"510725","value":"","parentId":"510700"},
{"id":"510726","value":"","parentId":"510700"},
{"id":"510727","value":"","parentId":"510700"},
{"id":"510781","value":"","parentId":"510700"},
/******************/
{"id":"510802","value":"","parentId":"510800"},
{"id":"510811","value":"","parentId":"510800"},
{"id":"510812","value":"","parentId":"510800"},
{"id":"510821","value":"","parentId":"510800"},
{"id":"510822","value":"","parentId":"510800"},
{"id":"510823","value":"","parentId":"510800"},
{"id":"510824","value":"","parentId":"510800"},
/******************/
{"id":"510903","value":"","parentId":"510900"},
{"id":"510904","value":"","parentId":"510900"},
{"id":"510921","value":"","parentId":"510900"},
{"id":"510922","value":"","parentId":"510900"},
{"id":"510923","value":"","parentId":"510900"},
/******************/
{"id":"511002","value":"","parentId":"511000"},
{"id":"511011","value":"","parentId":"511000"},
{"id":"511024","value":"","parentId":"511000"},
{"id":"511025","value":"","parentId":"511000"},
{"id":"511028","value":"","parentId":"511000"},
/******************/
{"id":"511102","value":"","parentId":"511100"},
{"id":"511111","value":"","parentId":"511100"},
{"id":"511112","value":"","parentId":"511100"},
{"id":"511113","value":"","parentId":"511100"},
{"id":"511123","value":"","parentId":"511100"},
{"id":"511124","value":"","parentId":"511100"},
{"id":"511126","value":"","parentId":"511100"},
{"id":"511129","value":"","parentId":"511100"},
{"id":"511132","value":"","parentId":"511100"},
{"id":"511133","value":"","parentId":"511100"},
{"id":"511181","value":"","parentId":"511100"},
/******************/
{"id":"511302","value":"","parentId":"511300"},
{"id":"511303","value":"","parentId":"511300"},
{"id":"511304","value":"","parentId":"511300"},
{"id":"511321","value":"","parentId":"511300"},
{"id":"511322","value":"","parentId":"511300"},
{"id":"511323","value":"","parentId":"511300"},
{"id":"511324","value":"","parentId":"511300"},
{"id":"511325","value":"","parentId":"511300"},
{"id":"511381","value":"","parentId":"511300"},
/******************/
{"id":"511402","value":"","parentId":"511400"},
{"id":"511421","value":"","parentId":"511400"},
{"id":"511422","value":"","parentId":"511400"},
{"id":"511423","value":"","parentId":"511400"},
{"id":"511424","value":"","parentId":"511400"},
{"id":"511425","value":"","parentId":"511400"},
/******************/
{"id":"511502","value":"","parentId":"511500"},
{"id":"511521","value":"","parentId":"511500"},
{"id":"511522","value":"","parentId":"511500"},
{"id":"511523","value":"","parentId":"511500"},
{"id":"511524","value":"","parentId":"511500"},
{"id":"511525","value":"","parentId":"511500"},
{"id":"511526","value":"","parentId":"511500"},
{"id":"511527","value":"","parentId":"511500"},
{"id":"511528","value":"","parentId":"511500"},
{"id":"511529","value":"","parentId":"511500"},
/******************/
{"id":"511602","value":"","parentId":"511600"},
{"id":"511621","value":"","parentId":"511600"},
{"id":"511622","value":"","parentId":"511600"},
{"id":"511623","value":"","parentId":"511600"},
{"id":"511681","value":"","parentId":"511600"},
/******************/
{"id":"511702","value":"","parentId":"511700"},
{"id":"511721","value":"","parentId":"511700"},
{"id":"511722","value":"","parentId":"511700"},
{"id":"511723","value":"","parentId":"511700"},
{"id":"511724","value":"","parentId":"511700"},
{"id":"511725","value":"","parentId":"511700"},
{"id":"511781","value":"","parentId":"511700"},
/******************/
{"id":"511802","value":"","parentId":"511800"},
{"id":"511821","value":"","parentId":"511800"},
{"id":"511822","value":"","parentId":"511800"},
{"id":"511823","value":"","parentId":"511800"},
{"id":"511824","value":"","parentId":"511800"},
{"id":"511825","value":"","parentId":"511800"},
{"id":"511826","value":"","parentId":"511800"},
{"id":"511827","value":"","parentId":"511800"},
/******************/
{"id":"511902","value":"","parentId":"511900"},
{"id":"511921","value":"","parentId":"511900"},
{"id":"511922","value":"","parentId":"511900"},
{"id":"511923","value":"","parentId":"511900"},
/******************/
{"id":"512002","value":"","parentId":"512000"},
{"id":"512021","value":"","parentId":"512000"},
{"id":"512022","value":"","parentId":"512000"},
{"id":"512081","value":"","parentId":"512000"},
/******************/
{"id":"513221","value":"","parentId":"513200"},
{"id":"513222","value":"","parentId":"513200"},
{"id":"513223","value":"","parentId":"513200"},
{"id":"513224","value":"","parentId":"513200"},
{"id":"513225","value":"","parentId":"513200"},
{"id":"513226","value":"","parentId":"513200"},
{"id":"513227","value":"","parentId":"513200"},
{"id":"513228","value":"","parentId":"513200"},
{"id":"513229","value":"","parentId":"513200"},
{"id":"513230","value":"","parentId":"513200"},
{"id":"513231","value":"","parentId":"513200"},
{"id":"513232","value":"","parentId":"513200"},
{"id":"513233","value":"","parentId":"513200"},
/******************/
{"id":"513321","value":"","parentId":"513300"},
{"id":"513322","value":"","parentId":"513300"},
{"id":"513323","value":"","parentId":"513300"},
{"id":"513324","value":"","parentId":"513300"},
{"id":"513325","value":"","parentId":"513300"},
{"id":"513326","value":"","parentId":"513300"},
{"id":"513327","value":"","parentId":"513300"},
{"id":"513328","value":"","parentId":"513300"},
{"id":"513329","value":"","parentId":"513300"},
{"id":"513330","value":"","parentId":"513300"},
{"id":"513331","value":"","parentId":"513300"},
{"id":"513332","value":"","parentId":"513300"},
{"id":"513333","value":"","parentId":"513300"},
{"id":"513334","value":"","parentId":"513300"},
{"id":"513335","value":"","parentId":"513300"},
{"id":"513336","value":"","parentId":"513300"},
{"id":"513337","value":"","parentId":"513300"},
{"id":"513338","value":"","parentId":"513300"},
/******************/
{"id":"513401","value":"","parentId":"513400"},
{"id":"513422","value":"","parentId":"513400"},
{"id":"513423","value":"","parentId":"513400"},
{"id":"513424","value":"","parentId":"513400"},
{"id":"513425","value":"","parentId":"513400"},
{"id":"513426","value":"","parentId":"513400"},
{"id":"513427","value":"","parentId":"513400"},
{"id":"513428","value":"","parentId":"513400"},
{"id":"513429","value":"","parentId":"513400"},
{"id":"513430","value":"","parentId":"513400"},
{"id":"513431","value":"","parentId":"513400"},
{"id":"513432","value":"","parentId":"513400"},
{"id":"513433","value":"","parentId":"513400"},
{"id":"513434","value":"","parentId":"513400"},
{"id":"513435","value":"","parentId":"513400"},
{"id":"513436","value":"","parentId":"513400"},
{"id":"513437","value":"","parentId":"513400"},
/******************/
{"id":"520102","value":"","parentId":"520100"},
{"id":"520103","value":"","parentId":"520100"},
{"id":"520111","value":"","parentId":"520100"},
{"id":"520112","value":"","parentId":"520100"},
{"id":"520113","value":"","parentId":"520100"},
{"id":"520114","value":"","parentId":"520100"},
{"id":"520121","value":"","parentId":"520100"},
{"id":"520122","value":"","parentId":"520100"},
{"id":"520123","value":"","parentId":"520100"},
{"id":"520181","value":"","parentId":"520100"},
/******************/
{"id":"520201","value":"","parentId":"520200"},
{"id":"520203","value":"","parentId":"520200"},
{"id":"520221","value":"","parentId":"520200"},
{"id":"520222","value":"","parentId":"520200"},
/******************/
{"id":"520302","value":"","parentId":"520300"},
{"id":"520303","value":"","parentId":"520300"},
{"id":"520321","value":"","parentId":"520300"},
{"id":"520322","value":"","parentId":"520300"},
{"id":"520323","value":"","parentId":"520300"},
{"id":"520324","value":"","parentId":"520300"},
{"id":"520325","value":"","parentId":"520300"},
{"id":"520326","value":"","parentId":"520300"},
{"id":"520327","value":"","parentId":"520300"},
{"id":"520328","value":"","parentId":"520300"},
{"id":"520329","value":"","parentId":"520300"},
{"id":"520330","value":"","parentId":"520300"},
{"id":"520381","value":"","parentId":"520300"},
{"id":"520382","value":"","parentId":"520300"},
/******************/
{"id":"520402","value":"","parentId":"520400"},
{"id":"520421","value":"","parentId":"520400"},
{"id":"520422","value":"","parentId":"520400"},
{"id":"520423","value":"","parentId":"520400"},
{"id":"520424","value":"","parentId":"520400"},
{"id":"520425","value":"","parentId":"520400"},
/******************/
{"id":"522201","value":"","parentId":"522200"},
/******************/
{"id":"522301","value":"","parentId":"522300"},
{"id":"522322","value":"","parentId":"522300"},
{"id":"522323","value":"","parentId":"522300"},
{"id":"522324","value":"","parentId":"522300"},
{"id":"522325","value":"","parentId":"522300"},
{"id":"522326","value":"","parentId":"522300"},
{"id":"522327","value":"","parentId":"522300"},
{"id":"522328","value":"","parentId":"522300"},
/******************/
{"id":"522401","value":"","parentId":"522400"},
/******************/
{"id":"522601","value":"","parentId":"522600"},
{"id":"522622","value":"","parentId":"522600"},
{"id":"522623","value":"","parentId":"522600"},
{"id":"522624","value":"","parentId":"522600"},
{"id":"522625","value":"","parentId":"522600"},
{"id":"522626","value":"","parentId":"522600"},
{"id":"522627","value":"","parentId":"522600"},
{"id":"522628","value":"","parentId":"522600"},
{"id":"522629","value":"","parentId":"522600"},
{"id":"522630","value":"","parentId":"522600"},
{"id":"522631","value":"","parentId":"522600"},
{"id":"522632","value":"","parentId":"522600"},
{"id":"522633","value":"","parentId":"522600"},
{"id":"522634","value":"","parentId":"522600"},
{"id":"522635","value":"","parentId":"522600"},
{"id":"522636","value":"","parentId":"522600"},
/******************/
{"id":"522701","value":"","parentId":"522700"},
{"id":"522702","value":"","parentId":"522700"},
{"id":"522722","value":"","parentId":"522700"},
{"id":"522723","value":"","parentId":"522700"},
{"id":"522725","value":"","parentId":"522700"},
{"id":"522726","value":"","parentId":"522700"},
{"id":"522727","value":"","parentId":"522700"},
{"id":"522728","value":"","parentId":"522700"},
{"id":"522729","value":"","parentId":"522700"},
{"id":"522730","value":"","parentId":"522700"},
{"id":"522731","value":"","parentId":"522700"},
{"id":"522732","value":"","parentId":"522700"},
/******************/
{"id":"530102","value":"","parentId":"530100"},
{"id":"530103","value":"","parentId":"530100"},
{"id":"530111","value":"","parentId":"530100"},
{"id":"530112","value":"","parentId":"530100"},
{"id":"530113","value":"","parentId":"530100"},
{"id":"530121","value":"","parentId":"530100"},
{"id":"530122","value":"","parentId":"530100"},
{"id":"530124","value":"","parentId":"530100"},
{"id":"530125","value":"","parentId":"530100"},
{"id":"530126","value":"","parentId":"530100"},
{"id":"530127","value":"","parentId":"530100"},
{"id":"530128","value":"","parentId":"530100"},
{"id":"530129","value":"","parentId":"530100"},
{"id":"530181","value":"","parentId":"530100"},
/******************/
{"id":"530302","value":"","parentId":"530300"},
{"id":"530321","value":"","parentId":"530300"},
{"id":"530322","value":"","parentId":"530300"},
{"id":"530323","value":"","parentId":"530300"},
{"id":"530324","value":"","parentId":"530300"},
{"id":"530325","value":"","parentId":"530300"},
{"id":"530326","value":"","parentId":"530300"},
{"id":"530328","value":"","parentId":"530300"},
{"id":"530381","value":"","parentId":"530300"},
/******************/
{"id":"530402","value":"","parentId":"530400"},
{"id":"530421","value":"","parentId":"530400"},
{"id":"530422","value":"","parentId":"530400"},
{"id":"530423","value":"","parentId":"530400"},
{"id":"530424","value":"","parentId":"530400"},
{"id":"530425","value":"","parentId":"530400"},
{"id":"530426","value":"","parentId":"530400"},
{"id":"530427","value":"","parentId":"530400"},
{"id":"530428","value":"","parentId":"530400"},
/******************/
{"id":"530502","value":"","parentId":"530500"},
{"id":"530521","value":"","parentId":"530500"},
{"id":"530522","value":"","parentId":"530500"},
{"id":"530523","value":"","parentId":"530500"},
{"id":"530524","value":"","parentId":"530500"},
/******************/
{"id":"530602","value":"","parentId":"530600"},
{"id":"530621","value":"","parentId":"530600"},
{"id":"530622","value":"","parentId":"530600"},
{"id":"530623","value":"","parentId":"530600"},
{"id":"530624","value":"","parentId":"530600"},
{"id":"530625","value":"","parentId":"530600"},
{"id":"530626","value":"","parentId":"530600"},
{"id":"530627","value":"","parentId":"530600"},
{"id":"530628","value":"","parentId":"530600"},
{"id":"530629","value":"","parentId":"530600"},
{"id":"530630","value":"","parentId":"530600"},
/******************/
{"id":"530702","value":"","parentId":"530700"},
{"id":"530721","value":"","parentId":"530700"},
{"id":"530722","value":"","parentId":"530700"},
{"id":"530723","value":"","parentId":"530700"},
{"id":"530724","value":"","parentId":"530700"},
/******************/
{"id":"530802","value":"","parentId":"530800"},
{"id":"530821","value":"","parentId":"530800"},
{"id":"530822","value":"","parentId":"530800"},
{"id":"530823","value":"","parentId":"530800"},
{"id":"530824","value":"","parentId":"530800"},
{"id":"530825","value":"","parentId":"530800"},
{"id":"530826","value":"","parentId":"530800"},
{"id":"530827","value":"","parentId":"530800"},
{"id":"530828","value":"","parentId":"530800"},
{"id":"530829","value":"","parentId":"530800"},
/******************/
{"id":"530902","value":"","parentId":"530900"},
{"id":"530921","value":"","parentId":"530900"},
{"id":"530922","value":"","parentId":"530900"},
{"id":"530923","value":"","parentId":"530900"},
{"id":"530924","value":"","parentId":"530900"},
{"id":"530925","value":"","parentId":"530900"},
{"id":"530926","value":"","parentId":"530900"},
{"id":"530927","value":"","parentId":"530900"},
/******************/
{"id":"532301","value":"","parentId":"532300"},
{"id":"532322","value":"","parentId":"532300"},
{"id":"532323","value":"","parentId":"532300"},
{"id":"532324","value":"","parentId":"532300"},
{"id":"532325","value":"","parentId":"532300"},
{"id":"532326","value":"","parentId":"532300"},
{"id":"532327","value":"","parentId":"532300"},
{"id":"532328","value":"","parentId":"532300"},
{"id":"532329","value":"","parentId":"532300"},
{"id":"532331","value":"","parentId":"532300"},
/******************/
{"id":"532501","value":"","parentId":"532500"},
{"id":"532502","value":"","parentId":"532500"},
{"id":"532503","value":"","parentId":"532500"},
{"id":"532523","value":"","parentId":"532500"},
{"id":"532524","value":"","parentId":"532500"},
{"id":"532525","value":"","parentId":"532500"},
{"id":"532526","value":"","parentId":"532500"},
{"id":"532527","value":"","parentId":"532500"},
{"id":"532528","value":"","parentId":"532500"},
{"id":"532529","value":"","parentId":"532500"},
{"id":"532530","value":"","parentId":"532500"},
{"id":"532531","value":"","parentId":"532500"},
{"id":"532532","value":"","parentId":"532500"},
/******************/
{"id":"532621","value":"","parentId":"532600"},
{"id":"532622","value":"","parentId":"532600"},
{"id":"532623","value":"","parentId":"532600"},
{"id":"532624","value":"","parentId":"532600"},
{"id":"532625","value":"","parentId":"532600"},
{"id":"532626","value":"","parentId":"532600"},
{"id":"532627","value":"","parentId":"532600"},
{"id":"532628","value":"","parentId":"532600"},
/******************/
{"id":"532801","value":"","parentId":"532800"},
{"id":"532822","value":"","parentId":"532800"},
{"id":"532823","value":"","parentId":"532800"},
/******************/
{"id":"532901","value":"","parentId":"532900"},
{"id":"532922","value":"","parentId":"532900"},
{"id":"532923","value":"","parentId":"532900"},
{"id":"532924","value":"","parentId":"532900"},
{"id":"532925","value":"","parentId":"532900"},
{"id":"532926","value":"","parentId":"532900"},
{"id":"532927","value":"","parentId":"532900"},
{"id":"532928","value":"","parentId":"532900"},
{"id":"532929","value":"","parentId":"532900"},
{"id":"532930","value":"","parentId":"532900"},
{"id":"532931","value":"","parentId":"532900"},
{"id":"532932","value":"","parentId":"532900"},
/******************/
{"id":"533102","value":"","parentId":"533100"},
{"id":"533103","value":"","parentId":"533100"},
{"id":"533122","value":"","parentId":"533100"},
{"id":"533123","value":"","parentId":"533100"},
{"id":"533124","value":"","parentId":"533100"},
/******************/
{"id":"533321","value":"","parentId":"533300"},
{"id":"533323","value":"","parentId":"533300"},
{"id":"533324","value":"","parentId":"533300"},
{"id":"533325","value":"","parentId":"533300"},
/******************/
{"id":"533421","value":"","parentId":"533400"},
{"id":"533422","value":"","parentId":"533400"},
{"id":"533423","value":"","parentId":"533400"},
/******************/
{"id":"540102","value":"","parentId":"540100"},
{"id":"540121","value":"","parentId":"540100"},
{"id":"540122","value":"","parentId":"540100"},
{"id":"540123","value":"","parentId":"540100"},
{"id":"540124","value":"","parentId":"540100"},
{"id":"540125","value":"","parentId":"540100"},
{"id":"540126","value":"","parentId":"540100"},
{"id":"540127","value":"","parentId":"540100"},
/******************/
{"id":"542121","value":"","parentId":"542100"},
{"id":"542122","value":"","parentId":"542100"},
{"id":"542123","value":"","parentId":"542100"},
{"id":"542124","value":"","parentId":"542100"},
{"id":"542125","value":"","parentId":"542100"},
{"id":"542126","value":"","parentId":"542100"},
{"id":"542127","value":"","parentId":"542100"},
{"id":"542128","value":"","parentId":"542100"},
{"id":"542129","value":"","parentId":"542100"},
{"id":"542132","value":"","parentId":"542100"},
{"id":"542133","value":"","parentId":"542100"},
/******************/
{"id":"542221","value":"","parentId":"542200"},
{"id":"542222","value":"","parentId":"542200"},
{"id":"542223","value":"","parentId":"542200"},
{"id":"542224","value":"","parentId":"542200"},
{"id":"542225","value":"","parentId":"542200"},
{"id":"542226","value":"","parentId":"542200"},
{"id":"542227","value":"","parentId":"542200"},
{"id":"542228","value":"","parentId":"542200"},
{"id":"542229","value":"","parentId":"542200"},
{"id":"542231","value":"","parentId":"542200"},
{"id":"542232","value":"","parentId":"542200"},
{"id":"542233","value":"","parentId":"542200"},
/******************/
{"id":"542301","value":"","parentId":"542300"},
{"id":"542322","value":"","parentId":"542300"},
{"id":"542323","value":"","parentId":"542300"},
{"id":"542324","value":"","parentId":"542300"},
{"id":"542325","value":"","parentId":"542300"},
{"id":"542326","value":"","parentId":"542300"},
{"id":"542327","value":"","parentId":"542300"},
{"id":"542328","value":"","parentId":"542300"},
{"id":"542329","value":"","parentId":"542300"},
{"id":"542330","value":"","parentId":"542300"},
{"id":"542331","value":"","parentId":"542300"},
{"id":"542332","value":"","parentId":"542300"},
{"id":"542333","value":"","parentId":"542300"},
{"id":"542334","value":"","parentId":"542300"},
{"id":"542335","value":"","parentId":"542300"},
{"id":"542336","value":"","parentId":"542300"},
{"id":"542337","value":"","parentId":"542300"},
{"id":"542338","value":"","parentId":"542300"},
/******************/
{"id":"542421","value":"","parentId":"542400"},
{"id":"542422","value":"","parentId":"542400"},
{"id":"542423","value":"","parentId":"542400"},
{"id":"542424","value":"","parentId":"542400"},
{"id":"542425","value":"","parentId":"542400"},
{"id":"542426","value":"","parentId":"542400"},
{"id":"542427","value":"","parentId":"542400"},
{"id":"542428","value":"","parentId":"542400"},
{"id":"542429","value":"","parentId":"542400"},
{"id":"542430","value":"","parentId":"542400"},
/******************/
{"id":"542521","value":"","parentId":"542500"},
{"id":"542522","value":"","parentId":"542500"},
{"id":"542523","value":"","parentId":"542500"},
{"id":"542524","value":"","parentId":"542500"},
{"id":"542525","value":"","parentId":"542500"},
{"id":"542526","value":"","parentId":"542500"},
{"id":"542527","value":"","parentId":"542500"},
/******************/
{"id":"542621","value":"","parentId":"542600"},
{"id":"542622","value":"","parentId":"542600"},
{"id":"542623","value":"","parentId":"542600"},
{"id":"542624","value":"","parentId":"542600"},
{"id":"542625","value":"","parentId":"542600"},
{"id":"542626","value":"","parentId":"542600"},
{"id":"542627","value":"","parentId":"542600"},
/******************/
{"id":"610102","value":"","parentId":"610100"},
{"id":"610103","value":"","parentId":"610100"},
{"id":"610104","value":"","parentId":"610100"},
{"id":"610111","value":"","parentId":"610100"},
{"id":"610112","value":"","parentId":"610100"},
{"id":"610113","value":"","parentId":"610100"},
{"id":"610114","value":"","parentId":"610100"},
{"id":"610115","value":"","parentId":"610100"},
{"id":"610116","value":"","parentId":"610100"},
{"id":"610122","value":"","parentId":"610100"},
{"id":"610124","value":"","parentId":"610100"},
{"id":"610125","value":"","parentId":"610100"},
{"id":"610126","value":"","parentId":"610100"},
/******************/
{"id":"610202","value":"","parentId":"610200"},
{"id":"610203","value":"","parentId":"610200"},
{"id":"610204","value":"","parentId":"610200"},
{"id":"610222","value":"","parentId":"610200"},
/******************/
{"id":"610302","value":"","parentId":"610300"},
{"id":"610303","value":"","parentId":"610300"},
{"id":"610304","value":"","parentId":"610300"},
{"id":"610322","value":"","parentId":"610300"},
{"id":"610323","value":"","parentId":"610300"},
{"id":"610324","value":"","parentId":"610300"},
{"id":"610326","value":"","parentId":"610300"},
{"id":"610327","value":"","parentId":"610300"},
{"id":"610328","value":"","parentId":"610300"},
{"id":"610329","value":"","parentId":"610300"},
{"id":"610330","value":"","parentId":"610300"},
{"id":"610331","value":"","parentId":"610300"},
/******************/
{"id":"610402","value":"","parentId":"610400"},
{"id":"610403","value":"","parentId":"610400"},
{"id":"610404","value":"","parentId":"610400"},
{"id":"610422","value":"","parentId":"610400"},
{"id":"610423","value":"","parentId":"610400"},
{"id":"610424","value":"","parentId":"610400"},
{"id":"610425","value":"","parentId":"610400"},
{"id":"610426","value":"","parentId":"610400"},
{"id":"610427","value":"","parentId":"610400"},
{"id":"610428","value":"","parentId":"610400"},
{"id":"610429","value":"","parentId":"610400"},
{"id":"610430","value":"","parentId":"610400"},
{"id":"610431","value":"","parentId":"610400"},
{"id":"610481","value":"","parentId":"610400"},
/******************/
{"id":"610502","value":"","parentId":"610500"},
{"id":"610521","value":"","parentId":"610500"},
{"id":"610522","value":"","parentId":"610500"},
{"id":"610523","value":"","parentId":"610500"},
{"id":"610524","value":"","parentId":"610500"},
{"id":"610525","value":"","parentId":"610500"},
{"id":"610526","value":"","parentId":"610500"},
{"id":"610527","value":"","parentId":"610500"},
{"id":"610528","value":"","parentId":"610500"},
{"id":"610581","value":"","parentId":"610500"},
{"id":"610582","value":"","parentId":"610500"},
/******************/
{"id":"610602","value":"","parentId":"610600"},
{"id":"610621","value":"","parentId":"610600"},
{"id":"610622","value":"","parentId":"610600"},
{"id":"610623","value":"","parentId":"610600"},
{"id":"610624","value":"","parentId":"610600"},
{"id":"610625","value":"","parentId":"610600"},
{"id":"610626","value":"","parentId":"610600"},
{"id":"610627","value":"","parentId":"610600"},
{"id":"610628","value":"","parentId":"610600"},
{"id":"610629","value":"","parentId":"610600"},
{"id":"610630","value":"","parentId":"610600"},
{"id":"610631","value":"","parentId":"610600"},
{"id":"610632","value":"","parentId":"610600"},
/******************/
{"id":"610702","value":"","parentId":"610700"},
{"id":"610721","value":"","parentId":"610700"},
{"id":"610722","value":"","parentId":"610700"},
{"id":"610723","value":"","parentId":"610700"},
{"id":"610724","value":"","parentId":"610700"},
{"id":"610725","value":"","parentId":"610700"},
{"id":"610726","value":"","parentId":"610700"},
{"id":"610727","value":"","parentId":"610700"},
{"id":"610728","value":"","parentId":"610700"},
{"id":"610729","value":"","parentId":"610700"},
{"id":"610730","value":"","parentId":"610700"},
/******************/
{"id":"610802","value":"","parentId":"610800"},
{"id":"610821","value":"","parentId":"610800"},
{"id":"610822","value":"","parentId":"610800"},
{"id":"610823","value":"","parentId":"610800"},
{"id":"610824","value":"","parentId":"610800"},
{"id":"610825","value":"","parentId":"610800"},
{"id":"610826","value":"","parentId":"610800"},
{"id":"610827","value":"","parentId":"610800"},
{"id":"610828","value":"","parentId":"610800"},
{"id":"610829","value":"","parentId":"610800"},
{"id":"610830","value":"","parentId":"610800"},
{"id":"610831","value":"","parentId":"610800"},
/******************/
{"id":"610902","value":"","parentId":"610900"},
{"id":"610921","value":"","parentId":"610900"},
{"id":"610922","value":"","parentId":"610900"},
{"id":"610923","value":"","parentId":"610900"},
{"id":"610924","value":"","parentId":"610900"},
{"id":"610925","value":"","parentId":"610900"},
{"id":"610926","value":"","parentId":"610900"},
{"id":"610927","value":"","parentId":"610900"},
{"id":"610928","value":"","parentId":"610900"},
{"id":"610929","value":"","parentId":"610900"},
/******************/
{"id":"611002","value":"","parentId":"611000"},
{"id":"611021","value":"","parentId":"611000"},
{"id":"611022","value":"","parentId":"611000"},
{"id":"611023","value":"","parentId":"611000"},
{"id":"611024","value":"","parentId":"611000"},
{"id":"611025","value":"","parentId":"611000"},
{"id":"611026","value":"","parentId":"611000"},
/******************/
{"id":"620102","value":"","parentId":"620100"},
{"id":"620103","value":"","parentId":"620100"},
{"id":"620104","value":"","parentId":"620100"},
{"id":"620105","value":"","parentId":"620100"},
{"id":"620111","value":"","parentId":"620100"},
{"id":"620121","value":"","parentId":"620100"},
{"id":"620122","value":"","parentId":"620100"},
{"id":"620123","value":"","parentId":"620100"},
/******************/
{"id":"620201","value":"","parentId":"620200"},
/******************/
{"id":"620302","value":"","parentId":"620300"},
{"id":"620321","value":"","parentId":"620300"},
/******************/
{"id":"620402","value":"","parentId":"620400"},
{"id":"620403","value":"","parentId":"620400"},
{"id":"620421","value":"","parentId":"620400"},
{"id":"620422","value":"","parentId":"620400"},
{"id":"620423","value":"","parentId":"620400"},
/******************/
{"id":"620502","value":"","parentId":"620500"},
{"id":"620503","value":"","parentId":"620500"},
{"id":"620521","value":"","parentId":"620500"},
{"id":"620522","value":"","parentId":"620500"},
{"id":"620523","value":"","parentId":"620500"},
{"id":"620524","value":"","parentId":"620500"},
{"id":"620525","value":"","parentId":"620500"},
/******************/
{"id":"620602","value":"","parentId":"620600"},
{"id":"620621","value":"","parentId":"620600"},
{"id":"620622","value":"","parentId":"620600"},
{"id":"620623","value":"","parentId":"620600"},
/******************/
{"id":"620702","value":"","parentId":"620700"},
{"id":"620721","value":"","parentId":"620700"},
{"id":"620722","value":"","parentId":"620700"},
{"id":"620723","value":"","parentId":"620700"},
{"id":"620724","value":"","parentId":"620700"},
{"id":"620725","value":"","parentId":"620700"},
/******************/
{"id":"620802","value":"","parentId":"620800"},
{"id":"620821","value":"","parentId":"620800"},
{"id":"620822","value":"","parentId":"620800"},
{"id":"620823","value":"","parentId":"620800"},
{"id":"620824","value":"","parentId":"620800"},
{"id":"620825","value":"","parentId":"620800"},
{"id":"620826","value":"","parentId":"620800"},
/******************/
{"id":"620902","value":"","parentId":"620900"},
{"id":"620921","value":"","parentId":"620900"},
{"id":"620922","value":"","parentId":"620900"},
{"id":"620923","value":"","parentId":"620900"},
{"id":"620924","value":"","parentId":"620900"},
{"id":"620981","value":"","parentId":"620900"},
{"id":"620982","value":"","parentId":"620900"},
/******************/
{"id":"621002","value":"","parentId":"621000"},
{"id":"621021","value":"","parentId":"621000"},
{"id":"621022","value":"","parentId":"621000"},
{"id":"621023","value":"","parentId":"621000"},
{"id":"621024","value":"","parentId":"621000"},
{"id":"621025","value":"","parentId":"621000"},
{"id":"621026","value":"","parentId":"621000"},
{"id":"621027","value":"","parentId":"621000"},
/******************/
{"id":"621102","value":"","parentId":"621100"},
{"id":"621121","value":"","parentId":"621100"},
{"id":"621122","value":"","parentId":"621100"},
{"id":"621123","value":"","parentId":"621100"},
{"id":"621124","value":"","parentId":"621100"},
{"id":"621125","value":"","parentId":"621100"},
{"id":"621126","value":"","parentId":"621100"},
/******************/
{"id":"621202","value":"","parentId":"621200"},
{"id":"621221","value":"","parentId":"621200"},
{"id":"621222","value":"","parentId":"621200"},
{"id":"621223","value":"","parentId":"621200"},
{"id":"621224","value":"","parentId":"621200"},
{"id":"621225","value":"","parentId":"621200"},
{"id":"621226","value":"","parentId":"621200"},
{"id":"621227","value":"","parentId":"621200"},
{"id":"621228","value":"","parentId":"621200"},
/******************/
{"id":"622901","value":"","parentId":"622900"},
{"id":"622921","value":"","parentId":"622900"},
{"id":"622922","value":"","parentId":"622900"},
{"id":"622923","value":"","parentId":"622900"},
{"id":"622924","value":"","parentId":"622900"},
{"id":"622925","value":"","parentId":"622900"},
{"id":"622926","value":"","parentId":"622900"},
{"id":"622927","value":"","parentId":"622900"},
/******************/
{"id":"623001","value":"","parentId":"623000"},
{"id":"623021","value":"","parentId":"623000"},
{"id":"623022","value":"","parentId":"623000"},
{"id":"623023","value":"","parentId":"623000"},
{"id":"623024","value":"","parentId":"623000"},
{"id":"623025","value":"","parentId":"623000"},
{"id":"623026","value":"","parentId":"623000"},
{"id":"623027","value":"","parentId":"623000"},
/******************/
{"id":"630102","value":"","parentId":"630100"},
{"id":"630103","value":"","parentId":"630100"},
{"id":"630104","value":"","parentId":"630100"},
{"id":"630105","value":"","parentId":"630100"},
{"id":"630121","value":"","parentId":"630100"},
{"id":"630122","value":"","parentId":"630100"},
{"id":"630123","value":"","parentId":"630100"},
/******************/
{"id":"632121","value":"","parentId":"632100"},
{"id":"632122","value":"","parentId":"632100"},
{"id":"632123","value":"","parentId":"632100"},
{"id":"632126","value":"","parentId":"632100"},
{"id":"632127","value":"","parentId":"632100"},
{"id":"632128","value":"","parentId":"632100"},
/******************/
{"id":"632221","value":"","parentId":"632200"},
{"id":"632222","value":"","parentId":"632200"},
{"id":"632223","value":"","parentId":"632200"},
{"id":"632224","value":"","parentId":"632200"},
/******************/
{"id":"632321","value":"","parentId":"632300"},
{"id":"632322","value":"","parentId":"632300"},
{"id":"632323","value":"","parentId":"632300"},
{"id":"632324","value":"","parentId":"632300"},
/******************/
{"id":"632521","value":"","parentId":"632500"},
{"id":"632522","value":"","parentId":"632500"},
{"id":"632523","value":"","parentId":"632500"},
{"id":"632524","value":"","parentId":"632500"},
{"id":"632525","value":"","parentId":"632500"},
/******************/
{"id":"632621","value":"","parentId":"632600"},
{"id":"632622","value":"","parentId":"632600"},
{"id":"632623","value":"","parentId":"632600"},
{"id":"632624","value":"","parentId":"632600"},
{"id":"632625","value":"","parentId":"632600"},
{"id":"632626","value":"","parentId":"632600"},
/******************/
{"id":"632721","value":"","parentId":"632700"},
{"id":"632722","value":"","parentId":"632700"},
{"id":"632723","value":"","parentId":"632700"},
{"id":"632724","value":"","parentId":"632700"},
{"id":"632725","value":"","parentId":"632700"},
{"id":"632726","value":"","parentId":"632700"},
/******************/
{"id":"632801","value":"","parentId":"632800"},
{"id":"632802","value":"","parentId":"632800"},
{"id":"632821","value":"","parentId":"632800"},
{"id":"632822","value":"","parentId":"632800"},
{"id":"632823","value":"","parentId":"632800"},
/******************/
{"id":"640104","value":"","parentId":"640100"},
{"id":"640105","value":"","parentId":"640100"},
{"id":"640106","value":"","parentId":"640100"},
{"id":"640121","value":"","parentId":"640100"},
{"id":"640122","value":"","parentId":"640100"},
{"id":"640181","value":"","parentId":"640100"},
/******************/
{"id":"640202","value":"","parentId":"640200"},
{"id":"640205","value":"","parentId":"640200"},
{"id":"640221","value":"","parentId":"640200"},
/******************/
{"id":"640302","value":"","parentId":"640300"},
{"id":"640303","value":"","parentId":"640300"},
{"id":"640323","value":"","parentId":"640300"},
{"id":"640324","value":"","parentId":"640300"},
{"id":"640381","value":"","parentId":"640300"},
/******************/
{"id":"640402","value":"","parentId":"640400"},
{"id":"640422","value":"","parentId":"640400"},
{"id":"640423","value":"","parentId":"640400"},
{"id":"640424","value":"","parentId":"640400"},
{"id":"640425","value":"","parentId":"640400"},
/******************/
{"id":"640502","value":"","parentId":"640500"},
{"id":"640521","value":"","parentId":"640500"},
{"id":"640522","value":"","parentId":"640500"},
/******************/
{"id":"650102","value":"","parentId":"650100"},
{"id":"650103","value":"","parentId":"650100"},
{"id":"650104","value":"","parentId":"650100"},
{"id":"650105","value":"","parentId":"650100"},
{"id":"650106","value":"","parentId":"650100"},
{"id":"650107","value":"","parentId":"650100"},
{"id":"650109","value":"","parentId":"650100"},
{"id":"650121","value":"","parentId":"650100"},
/******************/
{"id":"650202","value":"","parentId":"650200"},
{"id":"650203","value":"","parentId":"650200"},
{"id":"650204","value":"","parentId":"650200"},
{"id":"650205","value":"","parentId":"650200"},
/******************/
{"id":"652101","value":"","parentId":"652100"},
{"id":"652122","value":"","parentId":"652100"},
{"id":"652123","value":"","parentId":"652100"},
/******************/
{"id":"652201","value":"","parentId":"652200"},
{"id":"652222","value":"","parentId":"652200"},
{"id":"652223","value":"","parentId":"652200"},
/******************/
{"id":"652301","value":"","parentId":"652300"},
{"id":"652302","value":"","parentId":"652300"},
{"id":"652323","value":"","parentId":"652300"},
{"id":"652324","value":"","parentId":"652300"},
{"id":"652325","value":"","parentId":"652300"},
{"id":"652327","value":"","parentId":"652300"},
{"id":"652328","value":"","parentId":"652300"},
/******************/
{"id":"652701","value":"","parentId":"652700"},
{"id":"652722","value":"","parentId":"652700"},
{"id":"652723","value":"","parentId":"652700"},
/******************/
{"id":"652801","value":"","parentId":"652800"},
{"id":"652822","value":"","parentId":"652800"},
{"id":"652823","value":"","parentId":"652800"},
{"id":"652824","value":"","parentId":"652800"},
{"id":"652825","value":"","parentId":"652800"},
{"id":"652826","value":"","parentId":"652800"},
{"id":"652827","value":"","parentId":"652800"},
{"id":"652828","value":"","parentId":"652800"},
{"id":"652829","value":"","parentId":"652800"},
/******************/
{"id":"652901","value":"","parentId":"652900"},
{"id":"652922","value":"","parentId":"652900"},
{"id":"652923","value":"","parentId":"652900"},
{"id":"652924","value":"","parentId":"652900"},
{"id":"652925","value":"","parentId":"652900"},
{"id":"652926","value":"","parentId":"652900"},
{"id":"652927","value":"","parentId":"652900"},
{"id":"652928","value":"","parentId":"652900"},
{"id":"652929","value":"","parentId":"652900"},
/******************/
{"id":"653001","value":"","parentId":"653000"},
{"id":"653022","value":"","parentId":"653000"},
{"id":"653023","value":"","parentId":"653000"},
{"id":"653024","value":"","parentId":"653000"},
/******************/
{"id":"653101","value":"","parentId":"653100"},
{"id":"653121","value":"","parentId":"653100"},
{"id":"653122","value":"","parentId":"653100"},
{"id":"653123","value":"","parentId":"653100"},
{"id":"653124","value":"","parentId":"653100"},
{"id":"653125","value":"","parentId":"653100"},
{"id":"653126","value":"","parentId":"653100"},
{"id":"653127","value":"","parentId":"653100"},
{"id":"653128","value":"","parentId":"653100"},
{"id":"653129","value":"","parentId":"653100"},
{"id":"653130","value":"","parentId":"653100"},
{"id":"653131","value":"","parentId":"653100"},
/******************/
{"id":"653201","value":"","parentId":"653200"},
{"id":"653221","value":"","parentId":"653200"},
{"id":"653222","value":"","parentId":"653200"},
{"id":"653223","value":"","parentId":"653200"},
{"id":"653224","value":"","parentId":"653200"},
{"id":"653225","value":"","parentId":"653200"},
{"id":"653226","value":"","parentId":"653200"},
{"id":"653227","value":"","parentId":"653200"},
/******************/
{"id":"654002","value":"","parentId":"654000"},
{"id":"654003","value":"","parentId":"654000"},
{"id":"654021","value":"","parentId":"654000"},
{"id":"654022","value":"","parentId":"654000"},
{"id":"654023","value":"","parentId":"654000"},
{"id":"654024","value":"","parentId":"654000"},
{"id":"654025","value":"","parentId":"654000"},
{"id":"654026","value":"","parentId":"654000"},
{"id":"654027","value":"","parentId":"654000"},
{"id":"654028","value":"","parentId":"654000"},
/******************/
{"id":"654201","value":"","parentId":"654200"},
{"id":"654202","value":"","parentId":"654200"},
{"id":"654221","value":"","parentId":"654200"},
{"id":"654223","value":"","parentId":"654200"},
{"id":"654224","value":"","parentId":"654200"},
{"id":"654225","value":"","parentId":"654200"},
{"id":"654226","value":"","parentId":"654200"},
/******************/
{"id":"654301","value":"","parentId":"654300"},
{"id":"654321","value":"","parentId":"654300"},
{"id":"654322","value":"","parentId":"654300"},
{"id":"654323","value":"","parentId":"654300"},
{"id":"654324","value":"","parentId":"654300"},
{"id":"654325","value":"","parentId":"654300"},
{"id":"654326","value":"","parentId":"654300"},
/******************/
{"id":"659001","value":"","parentId":"659001"},
{"id":"659002","value":"","parentId":"659002"},
{"id":"659003","value":"","parentId":"659003"},
{"id":"659004","value":"","parentId":"659004"}
];
```
|
/content/code_sandbox/demo/three/areaData_v2.js
|
javascript
| 2016-04-29T06:05:07
| 2024-06-11T13:27:51
|
iosselect
|
zhoushengmufc/iosselect
| 1,174
| 46,689
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.